From 7d1ce1d56c87df24436807e2a891478b1f68215d Mon Sep 17 00:00:00 2001 From: Etienne Famery <etienne.famery@maarch.org> Date: Tue, 12 Apr 2022 17:53:40 +0200 Subject: [PATCH] #20474 : ajout de la fonction du contact dans l'envoi de mail #2 --- dist/index.html | 2 +- dist/main.638396aa931397fd4bea.js | 1 + .../sent-resource-page/sent-resource-page.component.ts | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 dist/main.638396aa931397fd4bea.js diff --git a/dist/index.html b/dist/index.html index 3bb3821386a..dded6c9f8eb 100644 --- a/dist/index.html +++ b/dist/index.html @@ -9,5 +9,5 @@ </head> <body> <app-root></app-root> -<script src="runtime.ab8a82d9fa1776b0f9a2.js" defer></script><script src="polyfills-es5.edc5de4d1140a2eeda65.js" nomodule defer></script><script src="scripts.60c39912a218172ee4ca.js" defer></script><script src="main.8a2300633e46ebcb643a.js" defer></script></body> +<script src="runtime.ab8a82d9fa1776b0f9a2.js" defer></script><script src="polyfills-es5.edc5de4d1140a2eeda65.js" nomodule defer></script><script src="scripts.60c39912a218172ee4ca.js" defer></script><script src="main.638396aa931397fd4bea.js" defer></script></body> </html> diff --git a/dist/main.638396aa931397fd4bea.js b/dist/main.638396aa931397fd4bea.js new file mode 100644 index 00000000000..76fe7bf7cf8 --- /dev/null +++ b/dist/main.638396aa931397fd4bea.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"/JYr":function(n,l,e){var t=e("mrSG").__extends,i=e("Y4kR"),a=e("Vi6O"),o=e("cSoz"),r=e("q3Kh"),u=e("gTqA");l.exhaustMap=function n(l,e){return e?function(t){return t.pipe(n((function(n,t){return u.from(l(n,t)).pipe(r.map((function(l,i){return e(n,l,t,i)})))})))}:function(n){return n.lift(new s(l))}};var s=function(){function n(n){this.project=n}return n.prototype.call=function(n,l){return l.subscribe(new c(n,this.project))},n}(),c=function(n){function l(l,e){var t=n.call(this,l)||this;return t.project=e,t.hasSubscription=!1,t.hasCompleted=!1,t.index=0,t}return t(l,n),l.prototype._next=function(n){this.hasSubscription||this.tryNext(n)},l.prototype.tryNext=function(n){var l,e=this.index++;try{l=this.project(n,e)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(l,n,e)},l.prototype._innerSub=function(n,l,e){var t=new a.InnerSubscriber(this,void 0,void 0);this.destination.add(t),o.subscribeToResult(this,n,l,e,t)},l.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l.prototype.notifyError=function(n){this.destination.error(n)},l.prototype.notifyComplete=function(n){this.destination.remove(n),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},l}(i.OuterSubscriber)},0:function(n,l,e){n.exports=e("jj9e")},"0alx":function(n,l,e){"use strict";var t=e("VKeD");l.isIterable=function(n){return n&&"function"==typeof n[t.iterator]}},1:function(n,l){},2:function(n,l){},"2KeD":function(n,l,e){"use strict";var t=e("Q1FS"),i=e("zB/H"),a=e("zfKp");l.scheduleObservable=function(n,l){return new t.Observable((function(e){var t=new i.Subscription;return t.add(l.schedule((function(){var i=n[a.observable]();t.add(i.subscribe({next:function(n){t.add(l.schedule((function(){return e.next(n)})))},error:function(n){t.add(l.schedule((function(){return e.error(n)})))},complete:function(){t.add(l.schedule((function(){return e.complete()})))}}))}))),t}))}},"2qMH":function(n,l,e){"use strict";var t=e("Q1FS"),i=e("zB/H");l.scheduleArray=function(n,l){return new t.Observable((function(e){var t=new i.Subscription,a=0;return t.add(l.schedule((function(){a!==n.length?(e.next(n[a++]),e.closed||t.add(this.schedule())):e.complete()}))),t}))}},3:function(n,l){},4:function(n,l){},"4ik+":function(n,l,e){var t=e("mrSG").__extends,i=e("FWf1");l.filter=function(n,l){return function(e){return e.lift(new a(n,l))}};var a=function(){function n(n,l){this.predicate=n,this.thisArg=l}return n.prototype.call=function(n,l){return l.subscribe(new o(n,this.predicate,this.thisArg))},n}(),o=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.predicate=e,i.thisArg=t,i.count=0,i}return t(l,n),l.prototype._next=function(n){var l;try{l=this.predicate.call(this.thisArg,n,this.count++)}catch(e){return void this.destination.error(e)}l&&this.destination.next(n)},l}(i.Subscriber)},"6MUB":function(n,l,e){"use strict";var t=function(n){switch(typeof n){case"string":return n;case"boolean":return n?"true":"false";case"number":return isFinite(n)?n:"";default:return""}};n.exports=function(n,l,e,i){return l=l||"&",e=e||"=",null===n&&(n=void 0),"object"==typeof n?Object.keys(n).map((function(i){var a=encodeURIComponent(t(i))+e;return Array.isArray(n[i])?n[i].map((function(n){return a+encodeURIComponent(t(n))})).join(l):a+encodeURIComponent(t(n[i]))})).join(l):i?encodeURIComponent(t(i))+e+encodeURIComponent(t(n)):""}},"6qA3":function(n,l,e){"use strict";var t=e("OAkW"),i=e("Z5tI"),a=e("poJ0"),o=e("ozli"),r=e("yRPT"),u=e("90cg"),s=e("GMZp"),c=e("VKeD"),d=e("zfKp");l.subscribeTo=function(n){if(n&&"function"==typeof n[d.observable])return o.subscribeToObservable(n);if(r.isArrayLike(n))return t.subscribeToArray(n);if(u.isPromise(n))return i.subscribeToPromise(n);if(n&&"function"==typeof n[c.iterator])return a.subscribeToIterable(n);var l=s.isObject(n)?"an invalid object":"'"+n+"'";throw new TypeError("You provided "+l+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")}},"90cg":function(n,l,e){"use strict";l.isPromise=function(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}},"9AGB":function(n,l,e){"use strict";var t=e("w5QO");function i(n){return n?1===n.length?n[0]:function(l){return n.reduce((function(n,l){return l(n)}),l)}:t.noop}l.pipe=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return i(n)},l.pipeFromArray=i},CxY0:function(n,l,e){"use strict";var t=e("rWzI"),i=e("Nehr");function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}l.parse=_,l.resolve=function(n,l){return _(n,!1,!0).resolve(l)},l.resolveObject=function(n,l){return n?_(n,!1,!0).resolveObject(l):l},l.format=function(n){return i.isString(n)&&(n=_(n)),n instanceof a?n.format():a.prototype.format.call(n)},l.Url=a;var o=/^([a-z0-9.+-]+:)/i,r=/:[0-9]*$/,u=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),c=["'"].concat(s),d=["%","/","?",";","#"].concat(c),p=["/","?","#"],m=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,h={javascript:!0,"javascript:":!0},g={javascript:!0,"javascript:":!0},b={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},v=e("r8II");function _(n,l,e){if(n&&i.isObject(n)&&n instanceof a)return n;var t=new a;return t.parse(n,l,e),t}a.prototype.parse=function(n,l,e){if(!i.isString(n))throw new TypeError("Parameter 'url' must be a string, not "+typeof n);var a=n.indexOf("?"),r=-1!==a&&a<n.indexOf("#")?"?":"#",s=n.split(r);s[0]=s[0].replace(/\\/g,"/");var _=n=s.join(r);if(_=_.trim(),!e&&1===n.split("#").length){var y=u.exec(_);if(y)return this.path=_,this.href=_,this.pathname=y[1],y[2]?(this.search=y[2],this.query=l?v.parse(this.search.substr(1)):this.search.substr(1)):l&&(this.search="",this.query={}),this}var w=o.exec(_);if(w){var x=(w=w[0]).toLowerCase();this.protocol=x,_=_.substr(w.length)}if(e||w||_.match(/^\/\/[^@\/]+@[^@\/]+/)){var C="//"===_.substr(0,2);!C||w&&g[w]||(_=_.substr(2),this.slashes=!0)}if(!g[w]&&(C||w&&!b[w])){for(var k,S,I=-1,A=0;A<p.length;A++)-1!==(M=_.indexOf(p[A]))&&(-1===I||M<I)&&(I=M);for(-1!==(S=-1===I?_.lastIndexOf("@"):_.lastIndexOf("@",I))&&(k=_.slice(0,S),_=_.slice(S+1),this.auth=decodeURIComponent(k)),I=-1,A=0;A<d.length;A++){var M;-1!==(M=_.indexOf(d[A]))&&(-1===I||M<I)&&(I=M)}-1===I&&(I=_.length),this.host=_.slice(0,I),_=_.slice(I),this.parseHost(),this.hostname=this.hostname||"";var P="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!P)for(var D=this.hostname.split(/\./),F=(A=0,D.length);A<F;A++){var E=D[A];if(E&&!E.match(m)){for(var O="",T=0,L=E.length;T<L;T++)E.charCodeAt(T)>127?O+="x":O+=E[T];if(!O.match(m)){var R=D.slice(0,A),N=D.slice(A+1),j=E.match(f);j&&(R.push(j[1]),N.unshift(j[2])),N.length&&(_="/"+N.join(".")+_),this.hostname=R.join(".");break}}}this.hostname=this.hostname.length>255?"":this.hostname.toLowerCase(),P||(this.hostname=t.toASCII(this.hostname)),this.host=(this.hostname||"")+(this.port?":"+this.port:""),this.href+=this.host,P&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==_[0]&&(_="/"+_))}if(!h[x])for(A=0,F=c.length;A<F;A++){var V=c[A];if(-1!==_.indexOf(V)){var q=encodeURIComponent(V);q===V&&(q=escape(V)),_=_.split(V).join(q)}}var z=_.indexOf("#");-1!==z&&(this.hash=_.substr(z),_=_.slice(0,z));var U=_.indexOf("?");return-1!==U?(this.search=_.substr(U),this.query=_.substr(U+1),l&&(this.query=v.parse(this.query)),_=_.slice(0,U)):l&&(this.search="",this.query={}),_&&(this.pathname=_),b[x]&&this.hostname&&!this.pathname&&(this.pathname="/"),(this.pathname||this.search)&&(this.path=(this.pathname||"")+(this.search||"")),this.href=this.format(),this},a.prototype.format=function(){var n=this.auth||"";n&&(n=(n=encodeURIComponent(n)).replace(/%3A/i,":"),n+="@");var l=this.protocol||"",e=this.pathname||"",t=this.hash||"",a=!1,o="";this.host?a=n+this.host:this.hostname&&(a=n+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(a+=":"+this.port)),this.query&&i.isObject(this.query)&&Object.keys(this.query).length&&(o=v.stringify(this.query));var r=this.search||o&&"?"+o||"";return l&&":"!==l.substr(-1)&&(l+=":"),this.slashes||(!l||b[l])&&!1!==a?(a="//"+(a||""),e&&"/"!==e.charAt(0)&&(e="/"+e)):a||(a=""),t&&"#"!==t.charAt(0)&&(t="#"+t),r&&"?"!==r.charAt(0)&&(r="?"+r),l+a+(e=e.replace(/[?#]/g,(function(n){return encodeURIComponent(n)})))+(r=r.replace("#","%23"))+t},a.prototype.resolve=function(n){return this.resolveObject(_(n,!1,!0)).format()},a.prototype.resolveObject=function(n){if(i.isString(n)){var l=new a;l.parse(n,!1,!0),n=l}for(var e=new a,t=Object.keys(this),o=0;o<t.length;o++){var r=t[o];e[r]=this[r]}if(e.hash=n.hash,""===n.href)return e.href=e.format(),e;if(n.slashes&&!n.protocol){for(var u=Object.keys(n),s=0;s<u.length;s++){var c=u[s];"protocol"!==c&&(e[c]=n[c])}return b[e.protocol]&&e.hostname&&!e.pathname&&(e.path=e.pathname="/"),e.href=e.format(),e}if(n.protocol&&n.protocol!==e.protocol){if(!b[n.protocol]){for(var d=Object.keys(n),p=0;p<d.length;p++){var m=d[p];e[m]=n[m]}return e.href=e.format(),e}if(e.protocol=n.protocol,n.host||g[n.protocol])e.pathname=n.pathname;else{for(var f=(n.pathname||"").split("/");f.length&&!(n.host=f.shift()););n.host||(n.host=""),n.hostname||(n.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),e.pathname=f.join("/")}return e.search=n.search,e.query=n.query,e.host=n.host||"",e.auth=n.auth,e.hostname=n.hostname||n.host,e.port=n.port,(e.pathname||e.search)&&(e.path=(e.pathname||"")+(e.search||"")),e.slashes=e.slashes||n.slashes,e.href=e.format(),e}var h=e.pathname&&"/"===e.pathname.charAt(0),v=n.host||n.pathname&&"/"===n.pathname.charAt(0),_=v||h||e.host&&n.pathname,y=_,w=e.pathname&&e.pathname.split("/")||[],x=(f=n.pathname&&n.pathname.split("/")||[],e.protocol&&!b[e.protocol]);if(x&&(e.hostname="",e.port=null,e.host&&(""===w[0]?w[0]=e.host:w.unshift(e.host)),e.host="",n.protocol&&(n.hostname=null,n.port=null,n.host&&(""===f[0]?f[0]=n.host:f.unshift(n.host)),n.host=null),_=_&&(""===f[0]||""===w[0])),v)e.host=n.host||""===n.host?n.host:e.host,e.hostname=n.hostname||""===n.hostname?n.hostname:e.hostname,e.search=n.search,e.query=n.query,w=f;else if(f.length)w||(w=[]),w.pop(),w=w.concat(f),e.search=n.search,e.query=n.query;else if(!i.isNullOrUndefined(n.search))return x&&(e.hostname=e.host=w.shift(),(A=!!(e.host&&e.host.indexOf("@")>0)&&e.host.split("@"))&&(e.auth=A.shift(),e.host=e.hostname=A.shift())),e.search=n.search,e.query=n.query,i.isNull(e.pathname)&&i.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.href=e.format(),e;if(!w.length)return e.pathname=null,e.path=e.search?"/"+e.search:null,e.href=e.format(),e;for(var C=w.slice(-1)[0],k=(e.host||n.host||w.length>1)&&("."===C||".."===C)||""===C,S=0,I=w.length;I>=0;I--)"."===(C=w[I])?w.splice(I,1):".."===C?(w.splice(I,1),S++):S&&(w.splice(I,1),S--);if(!_&&!y)for(;S--;S)w.unshift("..");!_||""===w[0]||w[0]&&"/"===w[0].charAt(0)||w.unshift(""),k&&"/"!==w.join("/").substr(-1)&&w.push("");var A,M=""===w[0]||w[0]&&"/"===w[0].charAt(0);return x&&(e.hostname=e.host=M?"":w.length?w.shift():"",(A=!!(e.host&&e.host.indexOf("@")>0)&&e.host.split("@"))&&(e.auth=A.shift(),e.host=e.hostname=A.shift())),(_=_||e.host&&w.length)&&!M&&w.unshift(""),w.length?e.pathname=w.join("/"):(e.pathname=null,e.path=null),i.isNull(e.pathname)&&i.isNull(e.search)||(e.path=(e.pathname?e.pathname:"")+(e.search?e.search:"")),e.auth=n.auth||e.auth,e.slashes=e.slashes||n.slashes,e.href=e.format(),e},a.prototype.parseHost=function(){var n=this.host,l=r.exec(n);l&&(":"!==(l=l[0])&&(this.port=l.substr(1)),n=n.substr(0,n.length-l.length)),n&&(this.hostname=n)}},Dxa7:function(n,l,e){var t=e("mrSG").__extends,i=e("FWf1"),a=e("IKal"),o=e("aJGj");l.take=function(n){return function(l){return 0===n?o.empty():l.lift(new r(n))}};var r=function(){function n(n){if(this.total=n,this.total<0)throw new a.ArgumentOutOfRangeError}return n.prototype.call=function(n,l){return l.subscribe(new u(n,this.total))},n}(),u=function(n){function l(l,e){var t=n.call(this,l)||this;return t.total=e,t.count=0,t}return t(l,n),l.prototype._next=function(n){var l=this.total,e=++this.count;e<=l&&(this.destination.next(n),e===l&&(this.destination.complete(),this.unsubscribe()))},l}(i.Subscriber)},EBtg:function(n,l,e){"use strict";var t=e("2KeD"),i=e("n73p"),a=e("2qMH"),o=e("LJ/p"),r=e("HZF8"),u=e("90cg"),s=e("yRPT"),c=e("0alx");l.scheduled=function(n,l){if(null!=n){if(r.isInteropObservable(n))return t.scheduleObservable(n,l);if(u.isPromise(n))return i.schedulePromise(n,l);if(s.isArrayLike(n))return a.scheduleArray(n,l);if(c.isIterable(n)||"string"==typeof n)return o.scheduleIterable(n,l)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}},FWf1:function(n,l,e){var t=e("mrSG").__extends,i=e("pshJ"),a=e("GiSu"),o=e("zB/H"),r=e("p//D"),u=e("n3uD"),s=e("MkmW"),c=function(n){function l(e,t,i){var o=n.call(this)||this;switch(o.syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=a.empty;break;case 1:if(!e){o.destination=a.empty;break}if("object"==typeof e){e instanceof l?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(o)):(o.syncErrorThrowable=!0,o.destination=new d(o,e));break}default:o.syncErrorThrowable=!0,o.destination=new d(o,e,t,i)}return o}return t(l,n),l.prototype[r.rxSubscriber]=function(){return this},l.create=function(n,e,t){var i=new l(n,e,t);return i.syncErrorThrowable=!1,i},l.prototype.next=function(n){this.isStopped||this._next(n)},l.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},l.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},l.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this))},l.prototype._next=function(n){this.destination.next(n)},l.prototype._error=function(n){this.destination.error(n),this.unsubscribe()},l.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},l.prototype._unsubscribeAndRecycle=function(){var n=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this},l}(o.Subscription);l.Subscriber=c;var d=function(n){function l(l,e,t,o){var r,u=n.call(this)||this;u._parentSubscriber=l;var s=u;return i.isFunction(e)?r=e:e&&(r=e.next,t=e.error,o=e.complete,e!==a.empty&&(s=Object.create(e),i.isFunction(s.unsubscribe)&&u.add(s.unsubscribe.bind(s)),s.unsubscribe=u.unsubscribe.bind(u))),u._context=s,u._next=r,u._error=t,u._complete=o,u}return t(l,n),l.prototype.next=function(n){if(!this.isStopped&&this._next){var l=this._parentSubscriber;u.config.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable?this.__tryOrSetError(l,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}},l.prototype.error=function(n){if(!this.isStopped){var l=this._parentSubscriber,e=u.config.useDeprecatedSynchronousErrorHandling;if(this._error)e&&l.syncErrorThrowable?(this.__tryOrSetError(l,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(l.syncErrorThrowable)e?(l.syncErrorValue=n,l.syncErrorThrown=!0):s.hostReportError(n),this.unsubscribe();else{if(this.unsubscribe(),e)throw n;s.hostReportError(n)}}},l.prototype.complete=function(){var n=this;if(!this.isStopped){var l=this._parentSubscriber;if(this._complete){var e=function(){return n._complete.call(n._context)};u.config.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable?(this.__tryOrSetError(l,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}},l.prototype.__tryOrUnsub=function(n,l){try{n.call(this._context,l)}catch(e){if(this.unsubscribe(),u.config.useDeprecatedSynchronousErrorHandling)throw e;s.hostReportError(e)}},l.prototype.__tryOrSetError=function(n,l,e){if(!u.config.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{l.call(this._context,e)}catch(t){return u.config.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=t,n.syncErrorThrown=!0,!0):(s.hostReportError(t),!0)}return!1},l.prototype._unsubscribe=function(){var n=this._parentSubscriber;this._context=null,this._parentSubscriber=null,n.unsubscribe()},l}(c);l.SafeSubscriber=d},FiyT:function(n,l,e){var t=e("mrSG").__extends;l.SubjectSubscription=function(n){function l(l,e){var t=n.call(this)||this;return t.subject=l,t.subscriber=e,t.closed=!1,t}return t(l,n),l.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var n=this.subject,l=n.observers;if(this.subject=null,l&&0!==l.length&&!n.isStopped&&!n.closed){var e=l.indexOf(this.subscriber);-1!==e&&l.splice(e,1)}}},l}(e("zB/H").Subscription)},GMZp:function(n,l,e){"use strict";l.isObject=function(n){return null!==n&&"object"==typeof n}},GiSu:function(n,l,e){"use strict";var t=e("n3uD"),i=e("MkmW");l.empty={closed:!0,next:function(n){},error:function(n){if(t.config.useDeprecatedSynchronousErrorHandling)throw n;i.hostReportError(n)},complete:function(){}}},HZF8:function(n,l,e){"use strict";var t=e("zfKp");l.isInteropObservable=function(n){return n&&"function"==typeof n[t.observable]}},I65S:function(n,l,e){"use strict";var t=e("nzqU"),i=e("zzsZ"),a=e("2qMH");l.of=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];var e=n[n.length-1];return t.isScheduler(e)?(n.pop(),a.scheduleArray(n,e)):i.fromArray(n)}},IKMM:function(n,l,e){"use strict";var t=e("I65S"),i=e("c4Wt");l.concat=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return i.concatAll()(t.of.apply(void 0,n))}},IKal:function(n,l,e){"use strict";function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}t.prototype=Object.create(Error.prototype),l.ArgumentOutOfRangeError=t},LBXl:function(n,l,e){"use strict";function t(n){return Error.call(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map((function(n,l){return l+1+") "+n.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=n,this}t.prototype=Object.create(Error.prototype),l.UnsubscriptionError=t},"LJ/p":function(n,l,e){"use strict";var t=e("Q1FS"),i=e("zB/H"),a=e("VKeD");l.scheduleIterable=function(n,l){if(!n)throw new Error("Iterable cannot be null");return new t.Observable((function(e){var t,o=new i.Subscription;return o.add((function(){t&&"function"==typeof t.return&&t.return()})),o.add(l.schedule((function(){t=n[a.iterator](),o.add(l.schedule((function(){if(!e.closed){var n,l;try{var i=t.next();n=i.value,l=i.done}catch(a){return void e.error(a)}l?e.complete():(e.next(n),this.schedule())}})))}))),o}))}},MkmW:function(n,l,e){"use strict";l.hostReportError=function(n){setTimeout((function(){throw n}),0)}},Mxlh:function(n,l,e){"use strict";function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}t.prototype=Object.create(Error.prototype),l.ObjectUnsubscribedError=t},Nehr:function(n,l,e){"use strict";n.exports={isString:function(n){return"string"==typeof n},isObject:function(n){return"object"==typeof n&&null!==n},isNull:function(n){return null===n},isNullOrUndefined:function(n){return null==n}}},OAkW:function(n,l,e){"use strict";l.subscribeToArray=function(n){return function(l){for(var e=0,t=n.length;e<t&&!l.closed;e++)l.next(n[e]);l.complete()}}},Q1FS:function(n,l,e){"use strict";var t=e("yx2s"),i=e("Xwq/"),a=e("zfKp"),o=e("9AGB"),r=e("n3uD");function u(n){if(n||(n=r.config.Promise||Promise),!n)throw new Error("no Promise impl found");return n}l.Observable=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(l){var e=new n;return e.source=this,e.operator=l,e},n.prototype.subscribe=function(n,l,e){var t=this.operator,a=i.toSubscriber(n,l,e);if(a.add(t?t.call(a,this.source):this.source||r.config.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),r.config.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(l){r.config.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=l),t.canReportError(n)?n.error(l):console.warn(l)}},n.prototype.forEach=function(n,l){var e=this;return new(l=u(l))((function(l,t){var i;i=e.subscribe((function(l){try{n(l)}catch(e){t(e),i&&i.unsubscribe()}}),t,l)}))},n.prototype._subscribe=function(n){var l=this.source;return l&&l.subscribe(n)},n.prototype[a.observable]=function(){return this},n.prototype.pipe=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return 0===n.length?this:o.pipeFromArray(n)(this)},n.prototype.toPromise=function(n){var l=this;return new(n=u(n))((function(n,e){var t;l.subscribe((function(n){return t=n}),(function(n){return e(n)}),(function(){return n(t)}))}))},n.create=function(l){return new n(l)},n}()},QtHX:function(n,l,e){"use strict";var t=e("UNqx"),i=e("yoF8");l.mergeAll=function(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),t.mergeMap(i.identity,n)}},RmLz:function(n,l,e){"use strict";var t=e("IKMM"),i=e("nzqU");l.startWith=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];var e=n[n.length-1];return i.isScheduler(e)?(n.pop(),function(l){return t.concat(n,l,e)}):function(l){return t.concat(n,l)}}},TCaw:function(n,l){function e(n){return Promise.resolve().then((function(){var l=new Error("Cannot find module '"+n+"'");throw l.code="MODULE_NOT_FOUND",l}))}e.keys=function(){return[]},e.resolve=e,n.exports=e,e.id="TCaw"},UNqx:function(n,l,e){var t=e("mrSG").__extends,i=e("cSoz"),a=e("Y4kR"),o=e("Vi6O"),r=e("q3Kh"),u=e("gTqA");l.mergeMap=function n(l,e,t){return void 0===t&&(t=Number.POSITIVE_INFINITY),"function"==typeof e?function(i){return i.pipe(n((function(n,t){return u.from(l(n,t)).pipe(r.map((function(l,i){return e(n,l,t,i)})))}),t))}:("number"==typeof e&&(t=e),function(n){return n.lift(new s(l,t))})};var s=function(){function n(n,l){void 0===l&&(l=Number.POSITIVE_INFINITY),this.project=n,this.concurrent=l}return n.prototype.call=function(n,l){return l.subscribe(new c(n,this.project,this.concurrent))},n}();l.MergeMapOperator=s;var c=function(n){function l(l,e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var i=n.call(this,l)||this;return i.project=e,i.concurrent=t,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return t(l,n),l.prototype._next=function(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)},l.prototype._tryNext=function(n){var l,e=this.index++;try{l=this.project(n,e)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(l,n,e)},l.prototype._innerSub=function(n,l,e){var t=new o.InnerSubscriber(this,void 0,void 0);this.destination.add(t),i.subscribeToResult(this,n,l,e,t)},l.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l.prototype.notifyComplete=function(n){var l=this.buffer;this.remove(n),this.active--,l.length>0?this._next(l.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},l}(a.OuterSubscriber);l.MergeMapSubscriber=c},VKeD:function(n,l,e){"use strict";function t(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}l.getSymbolIterator=t,l.iterator=t(),l.$$iterator=l.iterator},Vi6O:function(n,l,e){var t=e("mrSG").__extends;l.InnerSubscriber=function(n){function l(l,e,t){var i=n.call(this)||this;return i.parent=l,i.outerValue=e,i.outerIndex=t,i.index=0,i}return t(l,n),l.prototype._next=function(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)},l.prototype._error=function(n){this.parent.notifyError(n,this),this.unsubscribe()},l.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},l}(e("FWf1").Subscriber)},"Xwq/":function(n,l,e){"use strict";var t=e("FWf1"),i=e("p//D"),a=e("GiSu");l.toSubscriber=function(n,l,e){if(n){if(n instanceof t.Subscriber)return n;if(n[i.rxSubscriber])return n[i.rxSubscriber]()}return n||l||e?new t.Subscriber(n,l,e):new t.Subscriber(a.empty)}},XxY3:function(n,l){!function(n,l,e,t){n.DocEditor=function(t,i,a){var o=this,r=i||{};!function n(l,e){for(var t in e)e.hasOwnProperty(t)&&(void 0===l[t]?l[t]=e[t]:"object"==typeof l[t]&&"object"==typeof e[t]&&n(l[t],e[t]));return l}(r,n.DocEditor.defaultConfig),r.editorConfig.canUseHistory=r.events&&!!r.events.onRequestHistory,r.editorConfig.canHistoryClose=r.events&&!!r.events.onRequestHistoryClose,r.editorConfig.canHistoryRestore=r.events&&!!r.events.onRequestRestore,r.editorConfig.canSendEmailAddresses=r.events&&!!r.events.onRequestEmailAddresses,r.editorConfig.canRequestEditRights=r.events&&!!r.events.onRequestEditRights,r.editorConfig.canRequestClose=r.events&&!!r.events.onRequestClose,r.editorConfig.canRename=r.events&&!!r.events.onRequestRename,r.editorConfig.canMakeActionLink=r.events&&!!r.events.onMakeActionLink,r.editorConfig.canRequestUsers=r.events&&!!r.events.onRequestUsers,r.editorConfig.canRequestSendNotify=r.events&&!!r.events.onRequestSendNotify,r.editorConfig.mergeFolderUrl=r.editorConfig.mergeFolderUrl||r.editorConfig.saveAsUrl,r.editorConfig.canRequestSaveAs=r.events&&!!r.events.onRequestSaveAs,r.editorConfig.canRequestInsertImage=r.events&&!!r.events.onRequestInsertImage,r.editorConfig.canRequestMailMergeRecipients=r.events&&!!r.events.onRequestMailMergeRecipients,r.frameEditorId=t,r.onlyOfficeIp=a;var u,s=function(n){_(n)},c=function(){l.addEventListener?l.addEventListener("mouseup",s,!1):l.attachEvent&&l.attachEvent("onmouseup",s)},d=function(){l.removeEventListener?l.removeEventListener("mouseup",s,!1):l.detachEvent&&l.detachEvent("onmouseup",s)};(u=/[\?\&]placement=(\w+)&?/.exec(l.location.search))&&u.length&&"desktop"==u[1]&&(r.editorConfig.targetApp=u[1],r.editorConfig.customization||(r.editorConfig.customization={}),r.editorConfig.customization.about=!1,r.editorConfig.customization.compactHeader=!1,l.AscDesktopEditor&&l.AscDesktopEditor.execCommand("webapps:events","loading"));var p,m=e.getElementById(t);if(m&&function(){if(r.document){if(!r.document.url||("string"!=typeof r.document.fileType||""==r.document.fileType)&&("string"!=typeof r.documentType||""==r.documentType))return l.alert("One or more required parameter for the config object is not set"),!1;var n;if("string"==typeof r.documentType&&""!=r.documentType){if(!(n={text:"docx","text-pdf":"pdf",spreadsheet:"xlsx",presentation:"pptx"}[r.documentType.toLowerCase()]))return l.alert('The "documentType" parameter for the config object is invalid. Please correct it.'),!1;"string"==typeof r.document.fileType&&""!=r.document.fileType||(r.document.fileType=n)}if("string"==typeof r.document.fileType&&""!=r.document.fileType){var e;if(!(e=/^(?:(xls|xlsx|ods|csv|xlst|xlsy|gsheet|xlsm|xlt|xltm|xltx|fods|ots)|(pps|ppsx|ppt|pptx|odp|pptt|ppty|gslides|pot|potm|potx|ppsm|pptm|fodp|otp)|(doc|docx|doct|odt|gdoc|txt|rtf|pdf|mht|htm|html|epub|djvu|xps|docm|dot|dotm|dotx|fodt|ott))$/.exec(r.document.fileType)))return l.alert('The "document.fileType" parameter for the config object is invalid. Please correct it.'),!1;"string"==typeof r.documentType&&""!=r.documentType||("string"==typeof e[1]?r.documentType="spreadsheet":"string"==typeof e[2]?r.documentType="presentation":"string"==typeof e[3]&&(r.documentType="text"))}if((e=/^(?:(pdf|djvu|xps))$/.exec(r.document.fileType))&&"string"==typeof e[1]&&(r.editorConfig.canUseHistory=!1),r.document.title&&""!=r.document.title||(r.document.title="Unnamed."+r.document.fileType),r.document.key){if("string"!=typeof r.document.key)return l.alert('The "document.key" parameter for the config object must be string. Please correct it.'),!1}else r.document.key="xxxxxxxxxxxxxxxxxxxx".replace(/[x]/g,(function(n){return(16*Math.random()|0).toString(16)}));r.document.token=r.token}return!0}()){p=function(n){var l=e.createElement("iframe");return l.src=function(n){var l=("undefined"==typeof extensionParams||null==extensionParams.url?null:extensionParams.url+"apps/")||function(n){return`${n.onlyOfficeIp}/web-apps/apps/`}(n),e={text:"documenteditor","text-pdf":"documenteditor",spreadsheet:"spreadsheeteditor",presentation:"presentationeditor"},t=e.text;if("string"==typeof n.documentType)t=e[n.documentType.toLowerCase()];else if(n.document&&"string"==typeof n.document.fileType){var i=/^(?:(xls|xlsx|ods|csv|xlst|xlsy|gsheet|xlsm|xlt|xltm|xltx|fods|ots)|(pps|ppsx|ppt|pptx|odp|pptt|ppty|gslides|pot|potm|potx|ppsm|pptm|fodp|otp))$/.exec(n.document.fileType);i&&("string"==typeof i[1]?t=e.spreadsheet:"string"==typeof i[2]&&(t=e.presentation))}return l+=t+"/",(l+="mobile"===n.type?"mobile":"embedded"===n.type?"embed":"main")+"/index.html"}(n)+function(n){var l="?_dc=5.4.2-46";return n.editorConfig&&n.editorConfig.lang&&(l+="&lang="+n.editorConfig.lang),n.editorConfig&&"desktop"!==n.editorConfig.targetApp&&("object"==typeof n.editorConfig.customization&&n.editorConfig.customization.loaderName?"none"!==n.editorConfig.customization.loaderName&&(l+="&customer="+n.editorConfig.customization.loaderName):l+="&customer=ONLYOFFICE","object"==typeof n.editorConfig.customization&&n.editorConfig.customization.loaderLogo&&""!==n.editorConfig.customization.loaderLogo&&(l+="&logo="+n.editorConfig.customization.loaderLogo)),n.frameEditorId&&(l+="&frameEditorId="+n.frameEditorId),l}(n),l.width=n.width,l.height=n.height,l.align="top",l.frameBorder=0,l.name="frameEditor",l.allowFullscreen=!0,l.setAttribute("allowfullscreen",""),l.setAttribute("onmousewheel",""),"mobile"==n.type&&(l.style.position="fixed",l.style.overflow="hidden",e.body.style.overscrollBehaviorY="contain"),l}(r),m.parentNode&&m.parentNode.replaceChild(p,m);var f=new MessageDispatcher((function(n){if(n)if("onExternalPluginMessage"===n.type)h(n);else if(n.frameEditorId==t){var l=(r.events||{})[n.event];"onRequestEditRights"!==n.event||l?"onInternalMessage"===n.event&&n.data&&"localstorage"==n.data.type?function(n){if("get"==n.cmd){if(n.keys&&n.keys.length){var l=n.keys.split(","),e=l[0];for(t=0;++t<l.length;)e+="|"+l[t];for(t in e=new RegExp(e),i={},localStorage)e.test(t)&&(i[t]=localStorage[t])}else i=localStorage;h({command:"internalCommand",data:{type:"localstorage",keys:i}})}else if("set"==n.cmd){var t,i=n.keys;for(t in i)localStorage.setItem(t,i[t])}}(n.data.data):("onAppReady"===n.event&&("mobile"===r.type&&(e.body.onfocus=function(n){setTimeout((function(){p.contentWindow.focus(),h({command:"resetFocus",data:{}})}),10)}),c(),r.editorConfig&&g(r.editorConfig),r.document&&b(r.document)),l&&"function"==typeof l&&l.call(o,{target:o,data:n.data})):v(!1,"handler isn't defined")}}),this)}var h=function(n){var e;p&&p.contentWindow&&(e=p.contentWindow)&&e.postMessage&&l.JSON&&e.postMessage(l.JSON.stringify(n),"*")},g=function(n){h({command:"init",data:{config:n}})},b=function(n){h({command:"openDocument",data:{doc:n}})},v=function(n,l){h({command:"applyEditRights",data:{allowed:n,message:l}})},_=function(n){var l=p.getBoundingClientRect();h({command:"processMouse",data:{type:n.type,x:n.x-l.left,y:n.y-l.top,event:n}})};return{showMessage:function(n,l){h({command:"showMessage",data:{msg:l=l||n}})},processSaveResult:function(n,l){h({command:"processSaveResult",data:{result:n,message:l}})},processRightsChange:function(n,l){h({command:"processRightsChange",data:{enabled:n,message:l}})},denyEditingRights:function(n){h({command:"processRightsChange",data:{enabled:!1,message:n}})},refreshHistory:function(n,l){h({command:"refreshHistory",data:{data:n,message:l}})},setHistoryData:function(n,l){h({command:"setHistoryData",data:{data:n,message:l}})},setEmailAddresses:function(n){h({command:"setEmailAddresses",data:{data:n}})},setActionLink:function(n){h({command:"setActionLink",data:{url:n}})},processMailMerge:function(n,l){h({command:"processMailMerge",data:{enabled:n,message:l}})},downloadAs:function(n){h({command:"downloadAs",data:n})},serviceCommand:function(n,l){h({command:"internalCommand",data:{command:n,data:l}})},attachMouseEvents:c,detachMouseEvents:d,destroyEditor:function(n){var l=e.createElement("div");l.setAttribute("id",t),p&&(f&&f.unbindEvents(),d(),p.parentNode&&p.parentNode.replaceChild(l,p))},setUsers:function(n){h({command:"setUsers",data:n})},showSharingSettings:function(n){h({command:"showSharingSettings",data:n})},setSharingSettings:function(n){h({command:"setSharingSettings",data:n})},insertImage:function(n){h({command:"insertImage",data:n})},setMailMergeRecipients:function(n){h({command:"setMailMergeRecipients",data:n})}}},n.DocEditor.defaultConfig={type:"desktop",width:"100%",height:"100%",editorConfig:{lang:"en",canCoAuthoring:!0,customization:{about:!0,feedback:!1}}},n.DocEditor.version=function(){return"5.4.2"},MessageDispatcher=function(n,e){var t=n,i=e||l,a=function(n){o(n)},o=function(n){if(n&&l.JSON)try{n=l.JSON.parse(n.data),t&&t.call(i,n)}catch(e){}};return(function(){l.addEventListener?l.addEventListener("message",a,!1):l.attachEvent&&l.attachEvent("onmessage",a)}).call(this),{unbindEvents:function(){l.removeEventListener?l.removeEventListener("message",a,!1):l.detachEvent&&l.detachEvent("onmessage",a)}}}}(window.DocsAPI=window.DocsAPI||{},window,document)},Y4kR:function(n,l,e){var t=e("mrSG").__extends;l.OuterSubscriber=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return t(l,n),l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l.prototype.notifyError=function(n,l){this.destination.error(n)},l.prototype.notifyComplete=function(n){this.destination.complete()},l}(e("FWf1").Subscriber)},YcCt:function(n,l,e){"use strict";function t(n,l){return Object.prototype.hasOwnProperty.call(n,l)}n.exports=function(n,l,e,i){e=e||"=";var a={};if("string"!=typeof n||0===n.length)return a;var o=/\+/g;n=n.split(l=l||"&");var r=1e3;i&&"number"==typeof i.maxKeys&&(r=i.maxKeys);var u=n.length;r>0&&u>r&&(u=r);for(var s=0;s<u;++s){var c,d,p,m,f=n[s].replace(o,"%20"),h=f.indexOf(e);h>=0?(c=f.substr(0,h),d=f.substr(h+1)):(c=f,d=""),p=decodeURIComponent(c),m=decodeURIComponent(d),t(a,p)?Array.isArray(a[p])?a[p].push(m):a[p]=[a[p],m]:a[p]=m}return a}},YuTi:function(n,l){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},Z5tI:function(n,l,e){"use strict";var t=e("MkmW");l.subscribeToPromise=function(n){return function(l){return n.then((function(n){l.closed||(l.next(n),l.complete())}),(function(n){return l.error(n)})).then(null,t.hostReportError),l}}},aJGj:function(n,l,e){"use strict";var t=e("Q1FS");l.EMPTY=new t.Observable((function(n){return n.complete()})),l.empty=function(n){return n?function(n){return new t.Observable((function(l){return n.schedule((function(){return l.complete()}))}))}(n):l.EMPTY}},c4Wt:function(n,l,e){"use strict";var t=e("QtHX");l.concatAll=function(){return t.mergeAll(1)}},cSoz:function(n,l,e){"use strict";var t=e("Vi6O"),i=e("6qA3"),a=e("Q1FS");l.subscribeToResult=function(n,l,e,o,r){if(void 0===r&&(r=new t.InnerSubscriber(n,e,o)),!r.closed)return l instanceof a.Observable?l.subscribe(r):i.subscribeTo(l)(r)}},ds6q:function(n,l,e){var t=e("mrSG").__extends,i=e("Q1FS"),a=e("FWf1"),o=e("zB/H"),r=e("Mxlh"),u=e("FiyT"),s=e("p//D"),c=function(n){function l(l){var e=n.call(this,l)||this;return e.destination=l,e}return t(l,n),l}(a.Subscriber);l.SubjectSubscriber=c;var d=function(n){function l(){var l=n.call(this)||this;return l.observers=[],l.closed=!1,l.isStopped=!1,l.hasError=!1,l.thrownError=null,l}return t(l,n),l.prototype[s.rxSubscriber]=function(){return new c(this)},l.prototype.lift=function(n){var l=new p(this,this);return l.operator=n,l},l.prototype.next=function(n){if(this.closed)throw new r.ObjectUnsubscribedError;if(!this.isStopped)for(var l=this.observers,e=l.length,t=l.slice(),i=0;i<e;i++)t[i].next(n)},l.prototype.error=function(n){if(this.closed)throw new r.ObjectUnsubscribedError;this.hasError=!0,this.thrownError=n,this.isStopped=!0;for(var l=this.observers,e=l.length,t=l.slice(),i=0;i<e;i++)t[i].error(n);this.observers.length=0},l.prototype.complete=function(){if(this.closed)throw new r.ObjectUnsubscribedError;this.isStopped=!0;for(var n=this.observers,l=n.length,e=n.slice(),t=0;t<l;t++)e[t].complete();this.observers.length=0},l.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},l.prototype._trySubscribe=function(l){if(this.closed)throw new r.ObjectUnsubscribedError;return n.prototype._trySubscribe.call(this,l)},l.prototype._subscribe=function(n){if(this.closed)throw new r.ObjectUnsubscribedError;return this.hasError?(n.error(this.thrownError),o.Subscription.EMPTY):this.isStopped?(n.complete(),o.Subscription.EMPTY):(this.observers.push(n),new u.SubjectSubscription(this,n))},l.prototype.asObservable=function(){var n=new i.Observable;return n.source=this,n},l.create=function(n,l){return new p(n,l)},l}(i.Observable);l.Subject=d;var p=function(n){function l(l,e){var t=n.call(this)||this;return t.destination=l,t.source=e,t}return t(l,n),l.prototype.next=function(n){var l=this.destination;l&&l.next&&l.next(n)},l.prototype.error=function(n){var l=this.destination;l&&l.error&&this.destination.error(n)},l.prototype.complete=function(){var n=this.destination;n&&n.complete&&this.destination.complete()},l.prototype._subscribe=function(n){return this.source?this.source.subscribe(n):o.Subscription.EMPTY},l}(d);l.AnonymousSubject=p},gTqA:function(n,l,e){"use strict";var t=e("Q1FS"),i=e("6qA3"),a=e("EBtg");l.from=function(n,l){return l?a.scheduled(n,l):n instanceof t.Observable?n:new t.Observable(i.subscribeTo(n))}},jj9e:function(n,l,e){"use strict";e.r(l);var t=e("mrSG"),i=Array.isArray||function(n){return n&&"number"==typeof n.length};function a(n){return null!==n&&"object"==typeof n}function o(n){return"function"==typeof n}function r(n){return Error.call(this),this.message=n?n.length+" errors occurred during unsubscription:\n"+n.map((function(n,l){return l+1+") "+n.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=n,this}r.prototype=Object.create(Error.prototype);var u=r,s=function(){function n(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}var l;return n.prototype.unsubscribe=function(){var l;if(!this.closed){var e=this._parentOrParents,t=this._unsubscribe,r=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof n)e.remove(this);else if(null!==e)for(var s=0;s<e.length;++s)e[s].remove(this);if(o(t))try{t.call(this)}catch(m){l=m instanceof u?c(m.errors):[m]}if(i(r)){s=-1;for(var d=r.length;++s<d;){var p=r[s];if(a(p))try{p.unsubscribe()}catch(m){l=l||[],m instanceof u?l=l.concat(c(m.errors)):l.push(m)}}}if(l)throw new u(l)}},n.prototype.add=function(l){var e=l;if(!l)return n.EMPTY;switch(typeof l){case"function":e=new n(l);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof n)){var t=e;(e=new n)._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+l+" added to Subscription.")}var i=e._parentOrParents;if(null===i)e._parentOrParents=this;else if(i instanceof n){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[e]:a.push(e),e},n.prototype.remove=function(n){var l=this._subscriptions;if(l){var e=l.indexOf(n);-1!==e&&l.splice(e,1)}},n.EMPTY=((l=new n).closed=!0,l),n}();function c(n){return n.reduce((function(n,l){return n.concat(l instanceof u?l.errors:l)}),[])}var d=!1,p={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){d=n},get useDeprecatedSynchronousErrorHandling(){return d}};function m(n){setTimeout((function(){throw n}),0)}var f={closed:!0,next:function(n){},error:function(n){if(p.useDeprecatedSynchronousErrorHandling)throw n;m(n)},complete:function(){}},h="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),g=function(n){function l(e,t,i){var a=n.call(this)||this;switch(a.syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=f;break;case 1:if(!e){a.destination=f;break}if("object"==typeof e){e instanceof l?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(a)):(a.syncErrorThrowable=!0,a.destination=new b(a,e));break}default:a.syncErrorThrowable=!0,a.destination=new b(a,e,t,i)}return a}return t.__extends(l,n),l.prototype[h]=function(){return this},l.create=function(n,e,t){var i=new l(n,e,t);return i.syncErrorThrowable=!1,i},l.prototype.next=function(n){this.isStopped||this._next(n)},l.prototype.error=function(n){this.isStopped||(this.isStopped=!0,this._error(n))},l.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},l.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this))},l.prototype._next=function(n){this.destination.next(n)},l.prototype._error=function(n){this.destination.error(n),this.unsubscribe()},l.prototype._complete=function(){this.destination.complete(),this.unsubscribe()},l.prototype._unsubscribeAndRecycle=function(){var n=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=n,this},l}(s),b=function(n){function l(l,e,t,i){var a,r=n.call(this)||this;r._parentSubscriber=l;var u=r;return o(e)?a=e:e&&(a=e.next,t=e.error,i=e.complete,e!==f&&(o((u=Object.create(e)).unsubscribe)&&r.add(u.unsubscribe.bind(u)),u.unsubscribe=r.unsubscribe.bind(r))),r._context=u,r._next=a,r._error=t,r._complete=i,r}return t.__extends(l,n),l.prototype.next=function(n){if(!this.isStopped&&this._next){var l=this._parentSubscriber;p.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable?this.__tryOrSetError(l,this._next,n)&&this.unsubscribe():this.__tryOrUnsub(this._next,n)}},l.prototype.error=function(n){if(!this.isStopped){var l=this._parentSubscriber,e=p.useDeprecatedSynchronousErrorHandling;if(this._error)e&&l.syncErrorThrowable?(this.__tryOrSetError(l,this._error,n),this.unsubscribe()):(this.__tryOrUnsub(this._error,n),this.unsubscribe());else if(l.syncErrorThrowable)e?(l.syncErrorValue=n,l.syncErrorThrown=!0):m(n),this.unsubscribe();else{if(this.unsubscribe(),e)throw n;m(n)}}},l.prototype.complete=function(){var n=this;if(!this.isStopped){var l=this._parentSubscriber;if(this._complete){var e=function(){return n._complete.call(n._context)};p.useDeprecatedSynchronousErrorHandling&&l.syncErrorThrowable?(this.__tryOrSetError(l,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}},l.prototype.__tryOrUnsub=function(n,l){try{n.call(this._context,l)}catch(e){if(this.unsubscribe(),p.useDeprecatedSynchronousErrorHandling)throw e;m(e)}},l.prototype.__tryOrSetError=function(n,l,e){if(!p.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{l.call(this._context,e)}catch(t){return p.useDeprecatedSynchronousErrorHandling?(n.syncErrorValue=t,n.syncErrorThrown=!0,!0):(m(t),!0)}return!1},l.prototype._unsubscribe=function(){var n=this._parentSubscriber;this._context=null,this._parentSubscriber=null,n.unsubscribe()},l}(g),v="function"==typeof Symbol&&Symbol.observable||"@@observable";function _(){}function y(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return w(n)}function w(n){return n?1===n.length?n[0]:function(l){return n.reduce((function(n,l){return l(n)}),l)}:_}var x=function(){function n(n){this._isScalar=!1,n&&(this._subscribe=n)}return n.prototype.lift=function(l){var e=new n;return e.source=this,e.operator=l,e},n.prototype.subscribe=function(n,l,e){var t=this.operator,i=function(n,l,e){if(n){if(n instanceof g)return n;if(n[h])return n[h]()}return n||l||e?new g(n,l,e):new g(f)}(n,l,e);if(i.add(t?t.call(i,this.source):this.source||p.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),p.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i},n.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(l){p.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=l),function(n){for(;n;){var l=n.destination;if(n.closed||n.isStopped)return!1;n=l&&l instanceof g?l:null}return!0}(n)?n.error(l):console.warn(l)}},n.prototype.forEach=function(n,l){var e=this;return new(l=C(l))((function(l,t){var i;i=e.subscribe((function(l){try{n(l)}catch(e){t(e),i&&i.unsubscribe()}}),t,l)}))},n.prototype._subscribe=function(n){var l=this.source;return l&&l.subscribe(n)},n.prototype[v]=function(){return this},n.prototype.pipe=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return 0===n.length?this:w(n)(this)},n.prototype.toPromise=function(n){var l=this;return new(n=C(n))((function(n,e){var t;l.subscribe((function(n){return t=n}),(function(n){return e(n)}),(function(){return n(t)}))}))},n.create=function(l){return new n(l)},n}();function C(n){if(n||(n=p.Promise||Promise),!n)throw new Error("no Promise impl found");return n}function k(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}k.prototype=Object.create(Error.prototype);var S=k,I=function(n){function l(l,e){var t=n.call(this)||this;return t.subject=l,t.subscriber=e,t.closed=!1,t}return t.__extends(l,n),l.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var n=this.subject,l=n.observers;if(this.subject=null,l&&0!==l.length&&!n.isStopped&&!n.closed){var e=l.indexOf(this.subscriber);-1!==e&&l.splice(e,1)}}},l}(s),A=function(n){function l(l){var e=n.call(this,l)||this;return e.destination=l,e}return t.__extends(l,n),l}(g),M=function(n){function l(){var l=n.call(this)||this;return l.observers=[],l.closed=!1,l.isStopped=!1,l.hasError=!1,l.thrownError=null,l}return t.__extends(l,n),l.prototype[h]=function(){return new A(this)},l.prototype.lift=function(n){var l=new P(this,this);return l.operator=n,l},l.prototype.next=function(n){if(this.closed)throw new S;if(!this.isStopped)for(var l=this.observers,e=l.length,t=l.slice(),i=0;i<e;i++)t[i].next(n)},l.prototype.error=function(n){if(this.closed)throw new S;this.hasError=!0,this.thrownError=n,this.isStopped=!0;for(var l=this.observers,e=l.length,t=l.slice(),i=0;i<e;i++)t[i].error(n);this.observers.length=0},l.prototype.complete=function(){if(this.closed)throw new S;this.isStopped=!0;for(var n=this.observers,l=n.length,e=n.slice(),t=0;t<l;t++)e[t].complete();this.observers.length=0},l.prototype.unsubscribe=function(){this.isStopped=!0,this.closed=!0,this.observers=null},l.prototype._trySubscribe=function(l){if(this.closed)throw new S;return n.prototype._trySubscribe.call(this,l)},l.prototype._subscribe=function(n){if(this.closed)throw new S;return this.hasError?(n.error(this.thrownError),s.EMPTY):this.isStopped?(n.complete(),s.EMPTY):(this.observers.push(n),new I(this,n))},l.prototype.asObservable=function(){var n=new x;return n.source=this,n},l.create=function(n,l){return new P(n,l)},l}(x),P=function(n){function l(l,e){var t=n.call(this)||this;return t.destination=l,t.source=e,t}return t.__extends(l,n),l.prototype.next=function(n){var l=this.destination;l&&l.next&&l.next(n)},l.prototype.error=function(n){var l=this.destination;l&&l.error&&this.destination.error(n)},l.prototype.complete=function(){var n=this.destination;n&&n.complete&&this.destination.complete()},l.prototype._subscribe=function(n){return this.source?this.source.subscribe(n):s.EMPTY},l}(M);function D(n){return n&&"function"==typeof n.schedule}var F=function(n){function l(l,e,t){var i=n.call(this)||this;return i.parent=l,i.outerValue=e,i.outerIndex=t,i.index=0,i}return t.__extends(l,n),l.prototype._next=function(n){this.parent.notifyNext(this.outerValue,n,this.outerIndex,this.index++,this)},l.prototype._error=function(n){this.parent.notifyError(n,this),this.unsubscribe()},l.prototype._complete=function(){this.parent.notifyComplete(this),this.unsubscribe()},l}(g),E=function(n){return function(l){for(var e=0,t=n.length;e<t&&!l.closed;e++)l.next(n[e]);l.complete()}};function O(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}var T=O(),L=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n};function R(n){return!!n&&"function"!=typeof n.subscribe&&"function"==typeof n.then}var N=function(n){if(n&&"function"==typeof n[v])return t=n,function(n){var l=t[v]();if("function"!=typeof l.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return l.subscribe(n)};if(L(n))return E(n);if(R(n))return e=n,function(n){return e.then((function(l){n.closed||(n.next(l),n.complete())}),(function(l){return n.error(l)})).then(null,m),n};if(n&&"function"==typeof n[T])return l=n,function(n){for(var e=l[T]();;){var t=e.next();if(t.done){n.complete();break}if(n.next(t.value),n.closed)break}return"function"==typeof e.return&&n.add((function(){e.return&&e.return()})),n};var l,e,t,i=a(n)?"an invalid object":"'"+n+"'";throw new TypeError("You provided "+i+" where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.")};function j(n,l,e,t,i){if(void 0===i&&(i=new F(n,e,t)),!i.closed)return l instanceof x?l.subscribe(i):N(l)(i)}var V=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return t.__extends(l,n),l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l.prototype.notifyError=function(n,l){this.destination.error(n)},l.prototype.notifyComplete=function(n){this.destination.complete()},l}(g);function q(n,l){return function(e){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new z(n,l))}}var z=function(){function n(n,l){this.project=n,this.thisArg=l}return n.prototype.call=function(n,l){return l.subscribe(new U(n,this.project,this.thisArg))},n}(),U=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.project=e,i.count=0,i.thisArg=t||i,i}return t.__extends(l,n),l.prototype._next=function(n){var l;try{l=this.project.call(this.thisArg,n,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(l)},l}(g);function B(n,l){return new x((function(e){var t=new s,i=0;return t.add(l.schedule((function(){i!==n.length?(e.next(n[i++]),e.closed||t.add(this.schedule())):e.complete()}))),t}))}function $(n,l){return l?function(n,l){if(null!=n){if(function(n){return n&&"function"==typeof n[v]}(n))return function(n,l){return new x((function(e){var t=new s;return t.add(l.schedule((function(){var i=n[v]();t.add(i.subscribe({next:function(n){t.add(l.schedule((function(){return e.next(n)})))},error:function(n){t.add(l.schedule((function(){return e.error(n)})))},complete:function(){t.add(l.schedule((function(){return e.complete()})))}}))}))),t}))}(n,l);if(R(n))return function(n,l){return new x((function(e){var t=new s;return t.add(l.schedule((function(){return n.then((function(n){t.add(l.schedule((function(){e.next(n),t.add(l.schedule((function(){return e.complete()})))})))}),(function(n){t.add(l.schedule((function(){return e.error(n)})))}))}))),t}))}(n,l);if(L(n))return B(n,l);if(function(n){return n&&"function"==typeof n[T]}(n)||"string"==typeof n)return function(n,l){if(!n)throw new Error("Iterable cannot be null");return new x((function(e){var t,i=new s;return i.add((function(){t&&"function"==typeof t.return&&t.return()})),i.add(l.schedule((function(){t=n[T](),i.add(l.schedule((function(){if(!e.closed){var n,l;try{var i=t.next();n=i.value,l=i.done}catch(a){return void e.error(a)}l?e.complete():(e.next(n),this.schedule())}})))}))),i}))}(n,l)}throw new TypeError((null!==n&&typeof n||n)+" is not observable")}(n,l):n instanceof x?n:new x(N(n))}function H(n,l,e){return void 0===e&&(e=Number.POSITIVE_INFINITY),"function"==typeof l?function(t){return t.pipe(H((function(e,t){return $(n(e,t)).pipe(q((function(n,i){return l(e,n,t,i)})))}),e))}:("number"==typeof l&&(e=l),function(l){return l.lift(new G(n,e))})}var G=function(){function n(n,l){void 0===l&&(l=Number.POSITIVE_INFINITY),this.project=n,this.concurrent=l}return n.prototype.call=function(n,l){return l.subscribe(new W(n,this.project,this.concurrent))},n}(),W=function(n){function l(l,e,t){void 0===t&&(t=Number.POSITIVE_INFINITY);var i=n.call(this,l)||this;return i.project=e,i.concurrent=t,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return t.__extends(l,n),l.prototype._next=function(n){this.active<this.concurrent?this._tryNext(n):this.buffer.push(n)},l.prototype._tryNext=function(n){var l,e=this.index++;try{l=this.project(n,e)}catch(t){return void this.destination.error(t)}this.active++,this._innerSub(l,n,e)},l.prototype._innerSub=function(n,l,e){var t=new F(this,void 0,void 0);this.destination.add(t),j(this,n,l,e,t)},l.prototype._complete=function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()},l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l.prototype.notifyComplete=function(n){var l=this.buffer;this.remove(n),this.active--,l.length>0?this._next(l.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()},l}(V);function K(n){return n}function Y(n){return void 0===n&&(n=Number.POSITIVE_INFINITY),H(K,n)}function J(n,l){return l?B(n,l):new x(E(n))}function Z(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];var e=Number.POSITIVE_INFINITY,t=null,i=n[n.length-1];return D(i)?(t=n.pop(),n.length>1&&"number"==typeof n[n.length-1]&&(e=n.pop())):"number"==typeof i&&(e=n.pop()),null===t&&1===n.length&&n[0]instanceof x?n[0]:Y(e)(J(n,t))}function Q(){return function(n){return n.lift(new X(n))}}var X=function(){function n(n){this.connectable=n}return n.prototype.call=function(n,l){var e=this.connectable;e._refCount++;var t=new nn(n,e),i=l.subscribe(t);return t.closed||(t.connection=e.connect()),i},n}(),nn=function(n){function l(l,e){var t=n.call(this,l)||this;return t.connectable=e,t}return t.__extends(l,n),l.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var l=n._refCount;if(l<=0)this.connection=null;else if(n._refCount=l-1,l>1)this.connection=null;else{var e=this.connection,t=n._connection;this.connection=null,!t||e&&t!==e||t.unsubscribe()}}else this.connection=null},l}(g),ln=function(n){function l(l,e){var t=n.call(this)||this;return t.source=l,t.subjectFactory=e,t._refCount=0,t._isComplete=!1,t}return t.__extends(l,n),l.prototype._subscribe=function(n){return this.getSubject().subscribe(n)},l.prototype.getSubject=function(){var n=this._subject;return n&&!n.isStopped||(this._subject=this.subjectFactory()),this._subject},l.prototype.connect=function(){var n=this._connection;return n||(this._isComplete=!1,(n=this._connection=new s).add(this.source.subscribe(new tn(this.getSubject(),this))),n.closed&&(this._connection=null,n=s.EMPTY)),n},l.prototype.refCount=function(){return Q()(this)},l}(x).prototype,en={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:ln._subscribe},_isComplete:{value:ln._isComplete,writable:!0},getSubject:{value:ln.getSubject},connect:{value:ln.connect},refCount:{value:ln.refCount}},tn=function(n){function l(l,e){var t=n.call(this,l)||this;return t.connectable=e,t}return t.__extends(l,n),l.prototype._error=function(l){this._unsubscribe(),n.prototype._error.call(this,l)},l.prototype._complete=function(){this.connectable._isComplete=!0,this._unsubscribe(),n.prototype._complete.call(this)},l.prototype._unsubscribe=function(){var n=this.connectable;if(n){this.connectable=null;var l=n._connection;n._refCount=0,n._subject=null,n._connection=null,l&&l.unsubscribe()}},l}(A);function an(){return new M}function on(){return function(n){return Q()((l=an,function(n){var e;e="function"==typeof l?l:function(){return l};var t=Object.create(n,en);return t.source=n,t.subjectFactory=e,t})(n));var l}}var rn="__annotations__",un="__parameters__",sn="__prop__metadata__";function cn(n,l,e,i,a){var o=dn(l);function r(){for(var n,l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];if(this instanceof r)return o.call.apply(o,Object(t.__spread)([this],l)),this;var u=new((n=r).bind.apply(n,Object(t.__spread)([void 0],l)));return function(n){return a&&a.apply(void 0,Object(t.__spread)([n],l)),(n.hasOwnProperty(rn)?n[rn]:Object.defineProperty(n,rn,{value:[]})[rn]).push(u),i&&i(n),n}}return e&&(r.prototype=Object.create(e.prototype)),r.prototype.ngMetadataName=n,r.annotationCls=r,r}function dn(n){return function(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];if(n){var i=n.apply(void 0,Object(t.__spread)(l));for(var a in i)this[a]=i[a]}}}function pn(n,l,e){var i=dn(l);function a(){for(var n,l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];if(this instanceof a)return i.apply(this,l),this;var o=new((n=a).bind.apply(n,Object(t.__spread)([void 0],l)));return r.annotation=o,r;function r(n,l,e){for(var t=n.hasOwnProperty(un)?n[un]:Object.defineProperty(n,un,{value:[]})[un];t.length<=e;)t.push(null);return(t[e]=t[e]||[]).push(o),n}}return e&&(a.prototype=Object.create(e.prototype)),a.prototype.ngMetadataName=n,a.annotationCls=a,a}function mn(n,l,e,i){var a=dn(l);function o(){for(var n,l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];if(this instanceof o)return a.apply(this,l),this;var r=new((n=o).bind.apply(n,Object(t.__spread)([void 0],l)));return function(n,e){var a=n.constructor,o=a.hasOwnProperty(sn)?a[sn]:Object.defineProperty(a,sn,{value:{}})[sn];o[e]=o.hasOwnProperty(e)&&o[e]||[],o[e].unshift(r),i&&i.apply(void 0,Object(t.__spread)([n,e],l))}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=n,o.annotationCls=o,o}var fn=pn("Inject",(function(n){return{token:n}})),hn=pn("Optional"),gn=pn("Self"),bn=pn("SkipSelf"),vn=function(n){return n[n.Default=0]="Default",n[n.Host=1]="Host",n[n.Self=2]="Self",n[n.SkipSelf=4]="SkipSelf",n[n.Optional=8]="Optional",n}({});function _n(n){for(var l in n)if(n[l]===_n)return l;throw Error("Could not find renamed property on target object.")}function yn(n){return{token:n.token,providedIn:n.providedIn||null,factory:n.factory,value:void 0}}function wn(n){var l=n[xn];return l&&l.token===n?l:null}var xn=_n({ngInjectableDef:_n});function Cn(n){if("string"==typeof n)return n;if(n instanceof Array)return"["+n.map(Cn).join(", ")+"]";if(null==n)return""+n;if(n.overriddenName)return""+n.overriddenName;if(n.name)return""+n.name;var l=n.toString();if(null==l)return""+l;var e=l.indexOf("\n");return-1===e?l:l.substring(0,e)}var kn=_n({__forward_ref__:_n});function Sn(n){return n.__forward_ref__=Sn,n.toString=function(){return Cn(this())},n}function In(n){var l=n;return"function"==typeof l&&l.hasOwnProperty(kn)&&l.__forward_ref__===Sn?l():n}var An,Mn="undefined"!=typeof globalThis&&globalThis,Pn="undefined"!=typeof window&&window,Dn="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Fn="undefined"!=typeof global&&global,En=Mn||Fn||Pn||Dn,On=function(){function n(n,l){this._desc=n,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof l?this.__NG_ELEMENT_ID__=l:void 0!==l&&(this.ngInjectableDef=yn({token:this,providedIn:l.providedIn||"root",factory:l.factory}))}return n.prototype.toString=function(){return"InjectionToken "+this._desc},n}(),Tn=new On("INJECTOR",-1),Ln=new Object,Rn=/\n/gm,Nn="ɵ",jn="__source",Vn=_n({provide:String,useValue:_n}),qn=void 0;function zn(n){var l=qn;return qn=n,l}function Un(n,l){if(void 0===l&&(l=vn.Default),void 0===qn)throw new Error("inject() must be called from an injection context");return null===qn?function(n,l,e){var t=wn(n);if(t&&"root"==t.providedIn)return void 0===t.value?t.value=t.factory():t.value;if(e&vn.Optional)return null;throw new Error("Injector: NOT_FOUND ["+Cn(n)+"]")}(n,0,l):qn.get(n,l&vn.Optional?null:void 0,l)}function Bn(n,l){return void 0===l&&(l=vn.Default),(An||Un)(n,l)}var $n=Bn;function Hn(n){for(var l=[],e=0;e<n.length;e++){var t=In(n[e]);if(Array.isArray(t)){if(0===t.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=vn.Default,o=0;o<t.length;o++){var r=t[o];r instanceof hn||"Optional"===r.ngMetadataName||r===hn?a|=vn.Optional:r instanceof bn||"SkipSelf"===r.ngMetadataName||r===bn?a|=vn.SkipSelf:r instanceof gn||"Self"===r.ngMetadataName||r===gn?a|=vn.Self:i=r instanceof fn||r===fn?r.token:r}l.push(Bn(i,a))}else l.push(Bn(t))}return l}var Gn=function(){function n(){}return n.prototype.get=function(n,l){if(void 0===l&&(l=Ln),l===Ln){var e=new Error("NullInjectorError: No provider for "+Cn(n)+"!");throw e.name="NullInjectorError",e}return l},n}();function Wn(n,l,e,t){void 0===t&&(t=null),n=n&&"\n"===n.charAt(0)&&n.charAt(1)==Nn?n.substr(2):n;var i=Cn(l);if(l instanceof Array)i=l.map(Cn).join(" -> ");else if("object"==typeof l){var a=[];for(var o in l)if(l.hasOwnProperty(o)){var r=l[o];a.push(o+":"+("string"==typeof r?JSON.stringify(r):Cn(r)))}i="{"+a.join(", ")+"}"}return e+(t?"("+t+")":"")+"["+i+"]: "+n.replace(Rn,"\n ")}var Kn=function(){return function(){}}(),Yn=function(){return function(){}}();function Jn(n,l,e){l>=n.length?n.push(e):n.splice(l,0,e)}function Zn(n,l){return l>=n.length-1?n.pop():n.splice(l,1)[0]}var Qn=function(n){return n[n.Emulated=0]="Emulated",n[n.Native=1]="Native",n[n.None=2]="None",n[n.ShadowDom=3]="ShadowDom",n}({}),Xn=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(En)}(),nl="ngDebugContext",ll="ngOriginalError",el="ngErrorLogger";function tl(n){return n[nl]}function il(n){return n[ll]}function al(n){for(var l=[],e=1;e<arguments.length;e++)l[e-1]=arguments[e];n.error.apply(n,Object(t.__spread)(l))}var ol=function(){function n(){this._console=console}return n.prototype.handleError=function(n){var l=this._findOriginalError(n),e=this._findContext(n),t=function(n){return n[el]||al}(n);t(this._console,"ERROR",n),l&&t(this._console,"ORIGINAL ERROR",l),e&&t(this._console,"ERROR CONTEXT",e)},n.prototype._findContext=function(n){return n?tl(n)?tl(n):this._findContext(il(n)):null},n.prototype._findOriginalError=function(n){for(var l=il(n);l&&il(l);)l=il(l);return l},n}(),rl=!0,ul=!1;function sl(){return ul=!0,rl}var cl=function(){function n(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){var l=this.inertDocument.createElement("html");this.inertDocument.appendChild(l),this.inertBodyElement=this.inertDocument.createElement("body"),l.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(n){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return n.prototype.getInertBodyElement_XHR=function(n){n="<body><remove></remove>"+n+"</body>";try{n=encodeURI(n)}catch(t){return null}var l=new XMLHttpRequest;l.responseType="document",l.open("GET","data:text/html;charset=utf-8,"+n,!1),l.send(void 0);var e=l.response.body;return e.removeChild(e.firstChild),e},n.prototype.getInertBodyElement_DOMParser=function(n){n="<body><remove></remove>"+n+"</body>";try{var l=(new window.DOMParser).parseFromString(n,"text/html").body;return l.removeChild(l.firstChild),l}catch(e){return null}},n.prototype.getInertBodyElement_InertDocument=function(n){var l=this.inertDocument.createElement("template");return"content"in l?(l.innerHTML=n,l):(this.inertBodyElement.innerHTML=n,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)},n.prototype.stripCustomNsAttrs=function(n){for(var l=n.attributes,e=l.length-1;0<e;e--){var t=l.item(e).name;"xmlns:ns1"!==t&&0!==t.indexOf("ns1:")||n.removeAttribute(t)}for(var i=n.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling},n}(),dl=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,pl=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function ml(n){return(n=String(n)).match(dl)||n.match(pl)?n:(sl()&&console.warn("WARNING: sanitizing unsafe URL value "+n+" (see http://g.co/ng/security#xss)"),"unsafe:"+n)}function fl(n){var l,e,i={};try{for(var a=Object(t.__values)(n.split(",")),o=a.next();!o.done;o=a.next())i[o.value]=!0}catch(r){l={error:r}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(l)throw l.error}}return i}function hl(){for(var n,l,e=[],i=0;i<arguments.length;i++)e[i]=arguments[i];var a={};try{for(var o=Object(t.__values)(e),r=o.next();!r.done;r=o.next()){var u=r.value;for(var s in u)u.hasOwnProperty(s)&&(a[s]=!0)}}catch(c){n={error:c}}finally{try{r&&!r.done&&(l=o.return)&&l.call(o)}finally{if(n)throw n.error}}return a}var gl,bl=fl("area,br,col,hr,img,wbr"),vl=fl("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),_l=fl("rp,rt"),yl=hl(_l,vl),wl=hl(bl,hl(vl,fl("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")),hl(_l,fl("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")),yl),xl=fl("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cl=fl("srcset"),kl=hl(xl,Cl,fl("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,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),fl("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")),Sl=fl("script,style,template"),Il=function(){function n(){this.sanitizedSomething=!1,this.buf=[]}return n.prototype.sanitizeChildren=function(n){for(var l=n.firstChild,e=!0;l;)if(l.nodeType===Node.ELEMENT_NODE?e=this.startElement(l):l.nodeType===Node.TEXT_NODE?this.chars(l.nodeValue):this.sanitizedSomething=!0,e&&l.firstChild)l=l.firstChild;else for(;l;){l.nodeType===Node.ELEMENT_NODE&&this.endElement(l);var t=this.checkClobberedElement(l,l.nextSibling);if(t){l=t;break}l=this.checkClobberedElement(l,l.parentNode)}return this.buf.join("")},n.prototype.startElement=function(n){var l,e=n.nodeName.toLowerCase();if(!wl.hasOwnProperty(e))return this.sanitizedSomething=!0,!Sl.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);for(var t=n.attributes,i=0;i<t.length;i++){var a=t.item(i),o=a.name,r=o.toLowerCase();if(kl.hasOwnProperty(r)){var u=a.value;xl[r]&&(u=ml(u)),Cl[r]&&(l=u,u=(l=String(l)).split(",").map((function(n){return ml(n.trim())})).join(", ")),this.buf.push(" ",o,'="',Pl(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},n.prototype.endElement=function(n){var l=n.nodeName.toLowerCase();wl.hasOwnProperty(l)&&!bl.hasOwnProperty(l)&&(this.buf.push("</"),this.buf.push(l),this.buf.push(">"))},n.prototype.chars=function(n){this.buf.push(Pl(n))},n.prototype.checkClobberedElement=function(n,l){if(l&&(n.compareDocumentPosition(l)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+n.outerHTML);return l},n}(),Al=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ml=/([^\#-~ |!])/g;function Pl(n){return n.replace(/&/g,"&").replace(Al,(function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"})).replace(Ml,(function(n){return"&#"+n.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function Dl(n){return"content"in n&&function(n){return n.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===n.nodeName}(n)?n.content:null}var Fl=function(n){return n[n.NONE=0]="NONE",n[n.HTML=1]="HTML",n[n.STYLE=2]="STYLE",n[n.SCRIPT=3]="SCRIPT",n[n.URL=4]="URL",n[n.RESOURCE_URL=5]="RESOURCE_URL",n}({}),El=function(){return function(){}}(),Ol=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Tl=/^url\(([^)]+)\)$/,Ll=/([A-Z])/g;function Rl(n){try{return null!=n?n.toString().slice(0,30):n}catch(l){return"[ERROR] Exception while trying to serialize the value"}}var Nl=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return jl()},n}(),jl=function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l]},Vl=Function;function ql(n){return"function"==typeof n}var zl=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Ul=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Bl=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,$l=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/,Hl=function(){function n(n){this._reflect=n||En.Reflect}return n.prototype.isReflectionEnabled=function(){return!0},n.prototype.factory=function(n){return function(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];return new(n.bind.apply(n,Object(t.__spread)([void 0],l)))}},n.prototype._zipTypesAndAnnotations=function(n,l){var e;e=void 0===n?new Array(l.length):new Array(n.length);for(var t=0;t<e.length;t++)e[t]=void 0===n?[]:n[t]&&n[t]!=Object?[n[t]]:[],l&&null!=l[t]&&(e[t]=e[t].concat(l[t]));return e},n.prototype._ownParameters=function(n,l){if(e=n.toString(),zl.test(e)||$l.test(e)||Ul.test(e)&&!Bl.test(e))return null;var e;if(n.parameters&&n.parameters!==l.parameters)return n.parameters;var t=n.ctorParameters;if(t&&t!==l.ctorParameters){var i="function"==typeof t?t():t,a=i.map((function(n){return n&&n.type})),o=i.map((function(n){return n&&Gl(n.decorators)}));return this._zipTypesAndAnnotations(a,o)}var r=n.hasOwnProperty(un)&&n[un],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",n);return u||r?this._zipTypesAndAnnotations(u,r):new Array(n.length).fill(void 0)},n.prototype.parameters=function(n){if(!ql(n))return[];var l=Wl(n),e=this._ownParameters(n,l);return e||l===Object||(e=this.parameters(l)),e||[]},n.prototype._ownAnnotations=function(n,l){if(n.annotations&&n.annotations!==l.annotations){var e=n.annotations;return"function"==typeof e&&e.annotations&&(e=e.annotations),e}return n.decorators&&n.decorators!==l.decorators?Gl(n.decorators):n.hasOwnProperty(rn)?n[rn]:null},n.prototype.annotations=function(n){if(!ql(n))return[];var l=Wl(n),e=this._ownAnnotations(n,l)||[];return(l!==Object?this.annotations(l):[]).concat(e)},n.prototype._ownPropMetadata=function(n,l){if(n.propMetadata&&n.propMetadata!==l.propMetadata){var e=n.propMetadata;return"function"==typeof e&&e.propMetadata&&(e=e.propMetadata),e}if(n.propDecorators&&n.propDecorators!==l.propDecorators){var t=n.propDecorators,i={};return Object.keys(t).forEach((function(n){i[n]=Gl(t[n])})),i}return n.hasOwnProperty(sn)?n[sn]:null},n.prototype.propMetadata=function(n){if(!ql(n))return{};var l=Wl(n),e={};if(l!==Object){var i=this.propMetadata(l);Object.keys(i).forEach((function(n){e[n]=i[n]}))}var a=this._ownPropMetadata(n,l);return a&&Object.keys(a).forEach((function(n){var l=[];e.hasOwnProperty(n)&&l.push.apply(l,Object(t.__spread)(e[n])),l.push.apply(l,Object(t.__spread)(a[n])),e[n]=l})),e},n.prototype.ownPropMetadata=function(n){return ql(n)&&this._ownPropMetadata(n,Wl(n))||{}},n.prototype.hasLifecycleHook=function(n,l){return n instanceof Vl&&l in n.prototype},n.prototype.guards=function(n){return{}},n.prototype.getter=function(n){return new Function("o","return o."+n+";")},n.prototype.setter=function(n){return new Function("o","v","return o."+n+" = v;")},n.prototype.method=function(n){return new Function("o","args","if (!o."+n+") throw new Error('\""+n+"\" is undefined');\n return o."+n+".apply(o, args);")},n.prototype.importUri=function(n){return"object"==typeof n&&n.filePath?n.filePath:"./"+Cn(n)},n.prototype.resourceUri=function(n){return"./"+Cn(n)},n.prototype.resolveIdentifier=function(n,l,e,t){return t},n.prototype.resolveEnum=function(n,l){return n[l]},n}();function Gl(n){return n?n.map((function(n){var l=n.type.annotationCls,e=n.args?n.args:[];return new(l.bind.apply(l,Object(t.__spread)([void 0],e)))})):[]}function Wl(n){var l=n.prototype?Object.getPrototypeOf(n.prototype):null;return(l?l.constructor:null)||Object}var Kl=_n({provide:String,useValue:_n}),Yl=[];function Jl(n,l){if(!l){var e=(s=new Hl).parameters(n);return function(){return new(n.bind.apply(n,Object(t.__spread)([void 0],Hn(e))))}}if(Kl in l){var i=l;return function(){return i.useValue}}if(l.useExisting){var a=l;return function(){return Bn(a.useExisting)}}if(l.useFactory){var o=l;return function(){return o.useFactory.apply(o,Object(t.__spread)(Hn(o.deps||Yl)))}}if(l.useClass){var r=l,u=l.deps;if(!u){var s=new Hl;u=s.parameters(n)}return function(){var n;return new((n=r.useClass).bind.apply(n,Object(t.__spread)([void 0],Hn(u))))}}var c=l.deps;return c||(s=new Hl,c=s.parameters(n)),function(){return new(n.bind.apply(n,Object(t.__spread)([void 0],Hn(c))))}}var Zl=cn("Injectable",void 0,void 0,void 0,(function(n,l){return Ql(n,l)})),Ql=function(n,l){l&&void 0!==l.providedIn&&!wn(n)&&(n.ngInjectableDef=yn({token:n,providedIn:l.providedIn,factory:Jl(n,l)}))},Xl=new On("The presence of this token marks an injector as being the root injector."),ne=function(n,l,e){return new oe(n,l,e)},le=function(){function n(){}return n.create=function(n,l){return Array.isArray(n)?ne(n,l,""):ne(n.providers,n.parent,n.name||"")},n.THROW_IF_NOT_FOUND=Ln,n.NULL=new Gn,n.ngInjectableDef=yn({token:n,providedIn:"any",factory:function(){return Bn(Tn)}}),n.__NG_ELEMENT_ID__=-1,n}(),ee=function(n){return n},te=[],ie=ee,ae=function(){return Array.prototype.slice.call(arguments)},oe=function(){function n(n,l,e){void 0===l&&(l=le.NULL),void 0===e&&(e=null),this.parent=l,this.source=e;var t=this._records=new Map;t.set(le,{token:le,fn:ee,deps:te,value:this,useNew:!1}),t.set(Tn,{token:Tn,fn:ee,deps:te,value:this,useNew:!1}),function n(l,e){if(e)if((e=In(e))instanceof Array)for(var t=0;t<e.length;t++)n(l,e[t]);else{if("function"==typeof e)throw ue("Function/Class not supported",e);if(!e||"object"!=typeof e||!e.provide)throw ue("Unexpected provider",e);var i=In(e.provide),a=function(n){var l=function(n){var l=te,e=n.deps;if(e&&e.length){l=[];for(var t=0;t<e.length;t++){var i=6;if((u=In(e[t]))instanceof Array)for(var a=0,o=u;a<o.length;a++){var r=o[a];r instanceof hn||r==hn?i|=1:r instanceof bn||r==bn?i&=-3:r instanceof gn||r==gn?i&=-5:u=r instanceof fn?r.token:In(r)}l.push({token:u,options:i})}}else if(n.useExisting){var u=In(n.useExisting);l=[{token:u,options:6}]}else if(!(e||Vn in n))throw ue("'deps' required",n);return l}(n),e=ee,t=te,i=!1,a=In(n.provide);if(Vn in n)t=n.useValue;else if(n.useFactory)e=n.useFactory;else if(n.useExisting);else if(n.useClass)i=!0,e=In(n.useClass);else{if("function"!=typeof a)throw ue("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",n);i=!0,e=a}return{deps:l,fn:e,useNew:i,value:t}}(e);if(!0===e.multi){var o=l.get(i);if(o){if(o.fn!==ae)throw re(i)}else l.set(i,o={token:e.provide,deps:[],useNew:!1,fn:ae,value:te});o.deps.push({token:i=e,options:6})}var r=l.get(i);if(r&&r.fn==ae)throw re(i);l.set(i,a)}}(t,n)}return n.prototype.get=function(n,l,e){void 0===e&&(e=vn.Default);var i=this._records.get(n);try{return function n(l,e,i,a,o,r){try{return function(l,e,i,a,o,r){var u,s;if(!e||r&vn.SkipSelf)r&vn.Self||(s=a.get(l,o,vn.Default));else{if((s=e.value)==ie)throw Error("ɵCircular dependency");if(s===te){e.value=ie;var c=e.useNew,d=e.fn,p=e.deps,m=te;if(p.length){m=[];for(var f=0;f<p.length;f++){var h=p[f],g=h.options,b=2&g?i.get(h.token):void 0;m.push(n(h.token,b,i,b||4&g?a:le.NULL,1&g?null:le.THROW_IF_NOT_FOUND,vn.Default))}}e.value=s=c?new((u=d).bind.apply(u,Object(t.__spread)([void 0],m))):d.apply(void 0,m)}}return s}(l,e,i,a,o,r)}catch(u){throw u instanceof Error||(u=new Error(u)),(u.ngTempTokenPath=u.ngTempTokenPath||[]).unshift(l),e&&e.value==ie&&(e.value=te),u}}(n,i,this._records,this.parent,l,e)}catch(a){return function(n,l,e,t){var i=n.ngTempTokenPath;throw l[jn]&&i.unshift(l[jn]),n.message=Wn("\n"+n.message,i,"StaticInjectorError",t),n.ngTokenPath=i,n.ngTempTokenPath=null,n}(a,n,0,this.source)}},n.prototype.toString=function(){var n=[];return this._records.forEach((function(l,e){return n.push(Cn(e))})),"StaticInjector["+n.join(", ")+"]"},n}();function re(n){return ue("Cannot mix multi providers and regular providers",n)}function ue(n,l){return new Error(Wn(n,l,"StaticInjectorError"))}var se=new On("AnalyzeForEntryComponents"),ce=null;function de(){if(!ce){var n=En.Symbol;if(n&&n.iterator)ce=n.iterator;else for(var l=Object.getOwnPropertyNames(Map.prototype),e=0;e<l.length;++e){var t=l[e];"entries"!==t&&"size"!==t&&Map.prototype[t]===Map.prototype.entries&&(ce=t)}}return ce}function pe(n,l){return n===l||"number"==typeof n&&"number"==typeof l&&isNaN(n)&&isNaN(l)}function me(n,l){var e=he(n),t=he(l);return e&&t?function(n,l,e){for(var t=n[de()](),i=l[de()]();;){var a=t.next(),o=i.next();if(a.done&&o.done)return!0;if(a.done||o.done)return!1;if(!e(a.value,o.value))return!1}}(n,l,me):!(e||!n||"object"!=typeof n&&"function"!=typeof n||t||!l||"object"!=typeof l&&"function"!=typeof l)||pe(n,l)}var fe=function(){function n(n){this.wrapped=n}return n.wrap=function(l){return new n(l)},n.unwrap=function(l){return n.isWrapped(l)?l.wrapped:l},n.isWrapped=function(l){return l instanceof n},n}();function he(n){return!!ge(n)&&(Array.isArray(n)||!(n instanceof Map)&&de()in n)}function ge(n){return null!==n&&("function"==typeof n||"object"==typeof n)}function be(n){return!!n&&"function"==typeof n.then}function ve(n){return!!n&&"function"==typeof n.subscribe}var _e=function(){function n(n,l,e){this.previousValue=n,this.currentValue=l,this.firstChange=e}return n.prototype.isFirstChange=function(){return this.firstChange},n}(),ye=function(){return function(){}}(),we=function(){return function(){}}();function xe(n){var l=Error("No component factory found for "+Cn(n)+". Did you add it to @NgModule.entryComponents?");return l[Ce]=n,l}var Ce="ngComponent",ke=function(){function n(){}return n.prototype.resolveComponentFactory=function(n){throw xe(n)},n}(),Se=function(){function n(){}return n.NULL=new ke,n}(),Ie=function(){function n(n,l,e){this._parent=l,this._ngModule=e,this._factories=new Map;for(var t=0;t<n.length;t++){var i=n[t];this._factories.set(i.componentType,i)}}return n.prototype.resolveComponentFactory=function(n){var l=this._factories.get(n);if(!l&&this._parent&&(l=this._parent.resolveComponentFactory(n)),!l)throw xe(n);return new Ae(l,this._ngModule)},n}(),Ae=function(n){function l(l,e){var t=n.call(this)||this;return t.factory=l,t.ngModule=e,t.selector=l.selector,t.componentType=l.componentType,t.ngContentSelectors=l.ngContentSelectors,t.inputs=l.inputs,t.outputs=l.outputs,t}return Object(t.__extends)(l,n),l.prototype.create=function(n,l,e,t){return this.factory.create(n,l,e,t||this.ngModule)},l}(we);function Me(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l]}var Pe=function(){function n(n){this.nativeElement=n}return n.__NG_ELEMENT_ID__=function(){return De(n)},n}(),De=Me,Fe=function(){return function(){}}(),Ee=function(){return function(){}}(),Oe=function(n){return n[n.Important=1]="Important",n[n.DashCase=2]="DashCase",n}({}),Te=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return Le()},n}(),Le=Me,Re=function(){return function(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}(),Ne=new Re("8.2.14"),je=function(){function n(){}return n.prototype.supports=function(n){return he(n)},n.prototype.create=function(n){return new qe(n)},n}(),Ve=function(n,l){return l},qe=function(){function n(n){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=n||Ve}return n.prototype.forEachItem=function(n){var l;for(l=this._itHead;null!==l;l=l._next)n(l)},n.prototype.forEachOperation=function(n){for(var l=this._itHead,e=this._removalsHead,t=0,i=null;l||e;){var a=!e||l&&l.currentIndex<$e(e,t,i)?l:e,o=$e(a,t,i),r=a.currentIndex;if(a===e)t--,e=e._nextRemoved;else if(l=l._next,null==a.previousIndex)t++;else{i||(i=[]);var u=o-t,s=r-t;if(u!=s){for(var c=0;c<u;c++){var d=c<i.length?i[c]:i[c]=0,p=d+c;s<=p&&p<u&&(i[c]=d+1)}i[a.previousIndex]=s-u}}o!==r&&n(a,o,r)}},n.prototype.forEachPreviousItem=function(n){var l;for(l=this._previousItHead;null!==l;l=l._nextPrevious)n(l)},n.prototype.forEachAddedItem=function(n){var l;for(l=this._additionsHead;null!==l;l=l._nextAdded)n(l)},n.prototype.forEachMovedItem=function(n){var l;for(l=this._movesHead;null!==l;l=l._nextMoved)n(l)},n.prototype.forEachRemovedItem=function(n){var l;for(l=this._removalsHead;null!==l;l=l._nextRemoved)n(l)},n.prototype.forEachIdentityChange=function(n){var l;for(l=this._identityChangesHead;null!==l;l=l._nextIdentityChange)n(l)},n.prototype.diff=function(n){if(null==n&&(n=[]),!he(n))throw new Error("Error trying to diff '"+Cn(n)+"'. Only arrays and iterables are allowed");return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var l=this;this._reset();var e,t,i,a=this._itHead,o=!1;if(Array.isArray(n)){this.length=n.length;for(var r=0;r<this.length;r++)i=this._trackByFn(r,t=n[r]),null!==a&&pe(a.trackById,i)?(o&&(a=this._verifyReinsertion(a,t,i,r)),pe(a.item,t)||this._addIdentityChange(a,t)):(a=this._mismatch(a,t,i,r),o=!0),a=a._next}else e=0,function(n,l){if(Array.isArray(n))for(var e=0;e<n.length;e++)l(n[e]);else for(var t=n[de()](),i=void 0;!(i=t.next()).done;)l(i.value)}(n,(function(n){i=l._trackByFn(e,n),null!==a&&pe(a.trackById,i)?(o&&(a=l._verifyReinsertion(a,n,i,e)),pe(a.item,n)||l._addIdentityChange(a,n)):(a=l._mismatch(a,n,i,e),o=!0),a=a._next,e++})),this.length=e;return this._truncate(a),this.collection=n,this.isDirty},Object.defineProperty(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!0,configurable:!0}),n.prototype._reset=function(){if(this.isDirty){var n=void 0,l=void 0;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=l)n.previousIndex=n.currentIndex,l=n._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},n.prototype._mismatch=function(n,l,e,t){var i;return null===n?i=this._itTail:(i=n._prev,this._remove(n)),null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(e,t))?(pe(n.item,l)||this._addIdentityChange(n,l),this._moveAfter(n,i,t)):null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(e,null))?(pe(n.item,l)||this._addIdentityChange(n,l),this._reinsertAfter(n,i,t)):n=this._addAfter(new ze(l,e),i,t),n},n.prototype._verifyReinsertion=function(n,l,e,t){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(e,null);return null!==i?n=this._reinsertAfter(i,n._prev,t):n.currentIndex!=t&&(n.currentIndex=t,this._addToMoves(n,t)),n},n.prototype._truncate=function(n){for(;null!==n;){var l=n._next;this._addToRemovals(this._unlink(n)),n=l}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)},n.prototype._reinsertAfter=function(n,l,e){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);var t=n._prevRemoved,i=n._nextRemoved;return null===t?this._removalsHead=i:t._nextRemoved=i,null===i?this._removalsTail=t:i._prevRemoved=t,this._insertAfter(n,l,e),this._addToMoves(n,e),n},n.prototype._moveAfter=function(n,l,e){return this._unlink(n),this._insertAfter(n,l,e),this._addToMoves(n,e),n},n.prototype._addAfter=function(n,l,e){return this._insertAfter(n,l,e),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n},n.prototype._insertAfter=function(n,l,e){var t=null===l?this._itHead:l._next;return n._next=t,n._prev=l,null===t?this._itTail=n:t._prev=n,null===l?this._itHead=n:l._next=n,null===this._linkedRecords&&(this._linkedRecords=new Be),this._linkedRecords.put(n),n.currentIndex=e,n},n.prototype._remove=function(n){return this._addToRemovals(this._unlink(n))},n.prototype._unlink=function(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);var l=n._prev,e=n._next;return null===l?this._itHead=e:l._next=e,null===e?this._itTail=l:e._prev=l,n},n.prototype._addToMoves=function(n,l){return n.previousIndex===l?n:(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n,n)},n.prototype._addToRemovals=function(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Be),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n},n.prototype._addIdentityChange=function(n,l){return n.item=l,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n},n}(),ze=function(){return function(n,l){this.item=n,this.trackById=l,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}}(),Ue=function(){function n(){this._head=null,this._tail=null}return n.prototype.add=function(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)},n.prototype.get=function(n,l){var e;for(e=this._head;null!==e;e=e._nextDup)if((null===l||l<=e.currentIndex)&&pe(e.trackById,n))return e;return null},n.prototype.remove=function(n){var l=n._prevDup,e=n._nextDup;return null===l?this._head=e:l._nextDup=e,null===e?this._tail=l:e._prevDup=l,null===this._head},n}(),Be=function(){function n(){this.map=new Map}return n.prototype.put=function(n){var l=n.trackById,e=this.map.get(l);e||(e=new Ue,this.map.set(l,e)),e.add(n)},n.prototype.get=function(n,l){var e=this.map.get(n);return e?e.get(n,l):null},n.prototype.remove=function(n){var l=n.trackById;return this.map.get(l).remove(n)&&this.map.delete(l),n},Object.defineProperty(n.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!0,configurable:!0}),n.prototype.clear=function(){this.map.clear()},n}();function $e(n,l,e){var t=n.previousIndex;if(null===t)return t;var i=0;return e&&t<e.length&&(i=e[t]),t+l+i}var He=function(){function n(){}return n.prototype.supports=function(n){return n instanceof Map||ge(n)},n.prototype.create=function(){return new Ge},n}(),Ge=function(){function n(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(n.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),n.prototype.forEachItem=function(n){var l;for(l=this._mapHead;null!==l;l=l._next)n(l)},n.prototype.forEachPreviousItem=function(n){var l;for(l=this._previousMapHead;null!==l;l=l._nextPrevious)n(l)},n.prototype.forEachChangedItem=function(n){var l;for(l=this._changesHead;null!==l;l=l._nextChanged)n(l)},n.prototype.forEachAddedItem=function(n){var l;for(l=this._additionsHead;null!==l;l=l._nextAdded)n(l)},n.prototype.forEachRemovedItem=function(n){var l;for(l=this._removalsHead;null!==l;l=l._nextRemoved)n(l)},n.prototype.diff=function(n){if(n){if(!(n instanceof Map||ge(n)))throw new Error("Error trying to diff '"+Cn(n)+"'. Only maps and objects are allowed")}else n=new Map;return this.check(n)?this:null},n.prototype.onDestroy=function(){},n.prototype.check=function(n){var l=this;this._reset();var e=this._mapHead;if(this._appendAfter=null,this._forEach(n,(function(n,t){if(e&&e.key===t)l._maybeAddToChanges(e,n),l._appendAfter=e,e=e._next;else{var i=l._getOrCreateRecordForKey(t,n);e=l._insertBeforeOrAppend(e,i)}})),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(var t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},n.prototype._insertBeforeOrAppend=function(n,l){if(n){var e=n._prev;return l._next=n,l._prev=e,n._prev=l,e&&(e._next=l),n===this._mapHead&&(this._mapHead=l),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=l,l._prev=this._appendAfter):this._mapHead=l,this._appendAfter=l,null},n.prototype._getOrCreateRecordForKey=function(n,l){if(this._records.has(n)){var e=this._records.get(n);this._maybeAddToChanges(e,l);var t=e._prev,i=e._next;return t&&(t._next=i),i&&(i._prev=t),e._next=null,e._prev=null,e}var a=new We(n);return this._records.set(n,a),a.currentValue=l,this._addToAdditions(a),a},n.prototype._reset=function(){if(this.isDirty){var n=void 0;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},n.prototype._maybeAddToChanges=function(n,l){pe(l,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=l,this._addToChanges(n))},n.prototype._addToAdditions=function(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)},n.prototype._addToChanges=function(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)},n.prototype._forEach=function(n,l){n instanceof Map?n.forEach(l):Object.keys(n).forEach((function(e){return l(n[e],e)}))},n}(),We=function(){return function(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}(),Ke=function(){function n(n){this.factories=n}return n.create=function(l,e){if(null!=e){var t=e.factories.slice();l=l.concat(t)}return new n(l)},n.extend=function(l){return{provide:n,useFactory:function(e){if(!e)throw new Error("Cannot extend IterableDiffers without a parent injector");return n.create(l,e)},deps:[[n,new bn,new hn]]}},n.prototype.find=function(n){var l,e=this.factories.find((function(l){return l.supports(n)}));if(null!=e)return e;throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((l=n).name||typeof l)+"'")},n.ngInjectableDef=yn({token:n,providedIn:"root",factory:function(){return new n([new je])}}),n}(),Ye=function(){function n(n){this.factories=n}return n.create=function(l,e){if(e){var t=e.factories.slice();l=l.concat(t)}return new n(l)},n.extend=function(l){return{provide:n,useFactory:function(e){if(!e)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return n.create(l,e)},deps:[[n,new bn,new hn]]}},n.prototype.find=function(n){var l=this.factories.find((function(l){return l.supports(n)}));if(l)return l;throw new Error("Cannot find a differ supporting object '"+n+"'")},n.ngInjectableDef=yn({token:n,providedIn:"root",factory:function(){return new n([new He])}}),n}(),Je=[new He],Ze=new Ke([new je]),Qe=new Ye(Je),Xe=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return nt(n,Pe)},n}(),nt=Me,lt=function(){function n(){}return n.__NG_ELEMENT_ID__=function(){return et(n,Pe)},n}(),et=Me;function tt(n,l,e,t){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+l+"'. Current value: '"+e+"'.";return t&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(n,l){var e=new Error(n);return it(e,l),e}(i,n)}function it(n,l){n[nl]=l,n[el]=l.logError.bind(l)}function at(n){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+n)}function ot(n,l,e){var t=n.state,i=1792&t;return i===l?(n.state=-1793&t|e,n.initIndex=-1,!0):i===e}function rt(n,l,e){return(1792&n.state)===l&&n.initIndex<=e&&(n.initIndex=e+1,!0)}function ut(n,l){return n.nodes[l]}function st(n,l){return n.nodes[l]}function ct(n,l){return n.nodes[l]}function dt(n,l){return n.nodes[l]}function pt(n,l){return n.nodes[l]}var mt={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},ft=function(){},ht=new Map;function gt(n){var l=ht.get(n);return l||(l=Cn(n)+"_"+ht.size,ht.set(n,l)),l}function bt(n,l,e,t){if(fe.isWrapped(t)){t=fe.unwrap(t);var i=n.def.nodes[l].bindingIndex+e,a=fe.unwrap(n.oldValues[i]);n.oldValues[i]=new fe(a)}return t}var vt="$$undefined",_t="$$empty";function yt(n){return{id:vt,styles:n.styles,encapsulation:n.encapsulation,data:n.data}}var wt=0;function xt(n,l,e,t){return!(!(2&n.state)&&pe(n.oldValues[l.bindingIndex+e],t))}function Ct(n,l,e,t){return!!xt(n,l,e,t)&&(n.oldValues[l.bindingIndex+e]=t,!0)}function kt(n,l,e,t){var i=n.oldValues[l.bindingIndex+e];if(1&n.state||!me(i,t)){var a=l.bindings[e].name;throw tt(mt.createDebugContext(n,l.nodeIndex),a+": "+i,a+": "+t,0!=(1&n.state))}}function St(n){for(var l=n;l;)2&l.def.flags&&(l.state|=8),l=l.viewContainerParent||l.parent}function It(n,l){for(var e=n;e&&e!==l;)e.state|=64,e=e.viewContainerParent||e.parent}function At(n,l,e,t){try{return St(33554432&n.def.nodes[l].flags?st(n,l).componentView:n),mt.handleEvent(n,l,e,t)}catch(i){n.root.errorHandler.handleError(i)}}function Mt(n){return n.parent?st(n.parent,n.parentNodeDef.nodeIndex):null}function Pt(n){return n.parent?n.parentNodeDef.parent:null}function Dt(n,l){switch(201347067&l.flags){case 1:return st(n,l.nodeIndex).renderElement;case 2:return ut(n,l.nodeIndex).renderText}}function Ft(n){return!!n.parent&&!!(32768&n.parentNodeDef.flags)}function Et(n){return!(!n.parent||32768&n.parentNodeDef.flags)}function Ot(n){return 1<<n%32}function Tt(n){var l={},e=0,i={};return n&&n.forEach((function(n){var a=Object(t.__read)(n,2),o=a[0],r=a[1];"number"==typeof o?(l[o]=r,e|=Ot(o)):i[o]=r})),{matchedQueries:l,references:i,matchedQueryIds:e}}function Lt(n,l){return n.map((function(n){var e,i,a;return Array.isArray(n)?(a=(e=Object(t.__read)(n,2))[0],i=e[1]):(a=0,i=n),i&&("function"==typeof i||"object"==typeof i)&&l&&Object.defineProperty(i,jn,{value:l,configurable:!0}),{flags:a,token:i,tokenKey:gt(i)}}))}function Rt(n,l,e){var t=e.renderParent;return t?0==(1&t.flags)||0==(33554432&t.flags)||t.element.componentRendererType&&t.element.componentRendererType.encapsulation===Qn.Native?st(n,e.renderParent.nodeIndex).renderElement:void 0:l}var Nt=new WeakMap;function jt(n){var l=Nt.get(n);return l||((l=n((function(){return ft}))).factory=n,Nt.set(n,l)),l}function Vt(n,l,e,t,i){3===l&&(e=n.renderer.parentNode(Dt(n,n.def.lastRenderRootNode))),qt(n,l,0,n.def.nodes.length-1,e,t,i)}function qt(n,l,e,t,i,a,o){for(var r=e;r<=t;r++){var u=n.def.nodes[r];11&u.flags&&Ut(n,u,l,i,a,o),r+=u.childCount}}function zt(n,l,e,t,i,a){for(var o=n;o&&!Ft(o);)o=o.parent;for(var r=o.parent,u=Pt(o),s=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=s;c++){var d=r.def.nodes[c];d.ngContentIndex===l&&Ut(r,d,e,t,i,a),c+=d.childCount}if(!r.parent){var p=n.root.projectableNodes[l];if(p)for(c=0;c<p.length;c++)Bt(n,p[c],e,t,i,a)}}function Ut(n,l,e,t,i,a){if(8&l.flags)zt(n,l.ngContent.index,e,t,i,a);else{var o=Dt(n,l);if(3===e&&33554432&l.flags&&48&l.bindingFlags?(16&l.bindingFlags&&Bt(n,o,e,t,i,a),32&l.bindingFlags&&Bt(st(n,l.nodeIndex).componentView,o,e,t,i,a)):Bt(n,o,e,t,i,a),16777216&l.flags)for(var r=st(n,l.nodeIndex).viewContainer._embeddedViews,u=0;u<r.length;u++)Vt(r[u],e,t,i,a);1&l.flags&&!l.element.name&&qt(n,e,l.nodeIndex+1,l.nodeIndex+l.childCount,t,i,a)}}function Bt(n,l,e,t,i,a){var o=n.renderer;switch(e){case 1:o.appendChild(t,l);break;case 2:o.insertBefore(t,l,i);break;case 3:o.removeChild(t,l);break;case 0:a.push(l)}}var $t=/^:([^:]+):(.+)$/;function Ht(n){if(":"===n[0]){var l=n.match($t);return[l[1],l[2]]}return["",n]}function Gt(n){for(var l=0,e=0;e<n.length;e++)l|=n[e].flags;return l}function Wt(n,l,e,t,i,a,o,r,u,s,c,d,p,m,f,h,g,b,v,_){switch(n){case 1:return l+Kt(e)+t;case 2:return l+Kt(e)+t+Kt(i)+a;case 3:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r;case 4:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r+Kt(u)+s;case 5:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r+Kt(u)+s+Kt(c)+d;case 6:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r+Kt(u)+s+Kt(c)+d+Kt(p)+m;case 7:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r+Kt(u)+s+Kt(c)+d+Kt(p)+m+Kt(f)+h;case 8:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r+Kt(u)+s+Kt(c)+d+Kt(p)+m+Kt(f)+h+Kt(g)+b;case 9:return l+Kt(e)+t+Kt(i)+a+Kt(o)+r+Kt(u)+s+Kt(c)+d+Kt(p)+m+Kt(f)+h+Kt(g)+b+Kt(v)+_;default:throw new Error("Does not support more than 9 expressions")}}function Kt(n){return null!=n?n.toString():""}var Yt=new Object,Jt=gt(le),Zt=gt(Tn),Qt=gt(Kn);function Xt(n,l,e,t){return e=In(e),{index:-1,deps:Lt(t,Cn(l)),flags:n,token:l,value:e}}function ni(n,l,e){void 0===e&&(e=le.THROW_IF_NOT_FOUND);var t,i,a=zn(n);try{if(8&l.flags)return l.token;if(2&l.flags&&(e=null),1&l.flags)return n._parent.get(l.token,e);var o=l.tokenKey;switch(o){case Jt:case Zt:case Qt:return n}var r,u=n._def.providersByKey[o];if(u){var s=n._providers[u.index];return void 0===s&&(s=n._providers[u.index]=li(n,u)),s===Yt?void 0:s}if((r=wn(l.token))&&(t=n,null!=(i=r).providedIn&&(function(n,l){return n._def.modules.indexOf(l)>-1}(t,i.providedIn)||"root"===i.providedIn&&t._def.isRoot))){var c=n._providers.length;return n._def.providers[c]=n._def.providersByKey[l.tokenKey]={flags:5120,value:r.factory,deps:[],index:c,token:l.token},n._providers[c]=Yt,n._providers[c]=li(n,n._def.providersByKey[l.tokenKey])}return 4&l.flags?e:n._parent.get(l.token,e)}finally{zn(a)}}function li(n,l){var e;switch(201347067&l.flags){case 512:e=function(n,l,e){var i=e.length;switch(i){case 0:return new l;case 1:return new l(ni(n,e[0]));case 2:return new l(ni(n,e[0]),ni(n,e[1]));case 3:return new l(ni(n,e[0]),ni(n,e[1]),ni(n,e[2]));default:for(var a=new Array(i),o=0;o<i;o++)a[o]=ni(n,e[o]);return new(l.bind.apply(l,Object(t.__spread)([void 0],a)))}}(n,l.value,l.deps);break;case 1024:e=function(n,l,e){var i=e.length;switch(i){case 0:return l();case 1:return l(ni(n,e[0]));case 2:return l(ni(n,e[0]),ni(n,e[1]));case 3:return l(ni(n,e[0]),ni(n,e[1]),ni(n,e[2]));default:for(var a=Array(i),o=0;o<i;o++)a[o]=ni(n,e[o]);return l.apply(void 0,Object(t.__spread)(a))}}(n,l.value,l.deps);break;case 2048:e=ni(n,l.deps[0]);break;case 256:e=l.value}return e===Yt||null===e||"object"!=typeof e||131072&l.flags||"function"!=typeof e.ngOnDestroy||(l.flags|=131072),void 0===e?Yt:e}function ei(n,l){var e=n.viewContainer._embeddedViews;if((null==l||l>=e.length)&&(l=e.length-1),l<0)return null;var t=e[l];return t.viewContainerParent=null,Zn(e,l),mt.dirtyParentQueries(t),ii(t),t}function ti(n,l,e){var t=l?Dt(l,l.def.lastRenderRootNode):n.renderElement,i=e.renderer.parentNode(t),a=e.renderer.nextSibling(t);Vt(e,2,i,a,void 0)}function ii(n){Vt(n,3,null,null,void 0)}var ai=new Object;function oi(n,l,e,t,i,a){return new ri(n,l,e,t,i,a)}var ri=function(n){function l(l,e,t,i,a,o){var r=n.call(this)||this;return r.selector=l,r.componentType=e,r._inputs=i,r._outputs=a,r.ngContentSelectors=o,r.viewDefFactory=t,r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"inputs",{get:function(){var n=[],l=this._inputs;for(var e in l)n.push({propName:e,templateName:l[e]});return n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"outputs",{get:function(){var n=[];for(var l in this._outputs)n.push({propName:l,templateName:this._outputs[l]});return n},enumerable:!0,configurable:!0}),l.prototype.create=function(n,l,e,t){if(!t)throw new Error("ngModule should be provided");var i=jt(this.viewDefFactory),a=i.nodes[0].element.componentProvider.nodeIndex,o=mt.createRootView(n,l||[],e,i,t,ai),r=ct(o,a).instance;return e&&o.renderer.setAttribute(st(o,0).renderElement,"ng-version",Ne.full),new ui(o,new pi(o),r)},l}(we),ui=function(n){function l(l,e,t){var i=n.call(this)||this;return i._view=l,i._viewRef=e,i._component=t,i._elDef=i._view.def.nodes[0],i.hostView=e,i.changeDetectorRef=e,i.instance=t,i}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"location",{get:function(){return new Pe(st(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"injector",{get:function(){return new gi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),l.prototype.destroy=function(){this._viewRef.destroy()},l.prototype.onDestroy=function(n){this._viewRef.onDestroy(n)},l}(ye);function si(n,l,e){return new ci(n,l,e)}var ci=function(){function n(n,l,e){this._view=n,this._elDef=l,this._data=e,this._embeddedViews=[]}return Object.defineProperty(n.prototype,"element",{get:function(){return new Pe(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new gi(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){for(var n=this._view,l=this._elDef.parent;!l&&n;)l=Pt(n),n=n.parent;return n?new gi(n,l):new gi(this._view,null)},enumerable:!0,configurable:!0}),n.prototype.clear=function(){for(var n=this._embeddedViews.length-1;n>=0;n--){var l=ei(this._data,n);mt.destroyView(l)}},n.prototype.get=function(n){var l=this._embeddedViews[n];if(l){var e=new pi(l);return e.attachToViewContainerRef(this),e}return null},Object.defineProperty(n.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),n.prototype.createEmbeddedView=function(n,l,e){var t=n.createEmbeddedView(l||{});return this.insert(t,e),t},n.prototype.createComponent=function(n,l,e,t,i){var a=e||this.parentInjector;i||n instanceof Ae||(i=a.get(Kn));var o=n.create(a,t,void 0,i);return this.insert(o.hostView,l),o},n.prototype.insert=function(n,l){if(n.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var e,t,i,a,o=n;return a=(e=this._data).viewContainer._embeddedViews,null==(t=l)&&(t=a.length),(i=o._view).viewContainerParent=this._view,Jn(a,t,i),function(n,l){var e=Mt(l);if(e&&e!==n&&!(16&l.state)){l.state|=16;var t=e.template._projectedViews;t||(t=e.template._projectedViews=[]),t.push(l),function(n,l){if(!(4&l.flags)){n.nodeFlags|=4,l.flags|=4;for(var e=l.parent;e;)e.childFlags|=4,e=e.parent}}(l.parent.def,l.parentNodeDef)}}(e,i),mt.dirtyParentQueries(i),ti(e,t>0?a[t-1]:null,i),o.attachToViewContainerRef(this),n},n.prototype.move=function(n,l){if(n.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var e,t,i,a,o,r=this._embeddedViews.indexOf(n._view);return i=l,o=(a=(e=this._data).viewContainer._embeddedViews)[t=r],Zn(a,t),null==i&&(i=a.length),Jn(a,i,o),mt.dirtyParentQueries(o),ii(o),ti(e,i>0?a[i-1]:null,o),n},n.prototype.indexOf=function(n){return this._embeddedViews.indexOf(n._view)},n.prototype.remove=function(n){var l=ei(this._data,n);l&&mt.destroyView(l)},n.prototype.detach=function(n){var l=ei(this._data,n);return l?new pi(l):null},n}();function di(n){return new pi(n)}var pi=function(){function n(n){this._view=n,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(n.prototype,"rootNodes",{get:function(){return Vt(this._view,0,void 0,void 0,n=[]),n;var n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),n.prototype.markForCheck=function(){St(this._view)},n.prototype.detach=function(){this._view.state&=-5},n.prototype.detectChanges=function(){var n=this._view.root.rendererFactory;n.begin&&n.begin();try{mt.checkAndUpdateView(this._view)}finally{n.end&&n.end()}},n.prototype.checkNoChanges=function(){mt.checkNoChangesView(this._view)},n.prototype.reattach=function(){this._view.state|=4},n.prototype.onDestroy=function(n){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(n)},n.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),mt.destroyView(this._view)},n.prototype.detachFromAppRef=function(){this._appRef=null,ii(this._view),mt.dirtyParentQueries(this._view)},n.prototype.attachToAppRef=function(n){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=n},n.prototype.attachToViewContainerRef=function(n){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=n},n}();function mi(n,l){return new fi(n,l)}var fi=function(n){function l(l,e){var t=n.call(this)||this;return t._parentView=l,t._def=e,t}return Object(t.__extends)(l,n),l.prototype.createEmbeddedView=function(n){return new pi(mt.createEmbeddedView(this._parentView,this._def,this._def.element.template,n))},Object.defineProperty(l.prototype,"elementRef",{get:function(){return new Pe(st(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),l}(Xe);function hi(n,l){return new gi(n,l)}var gi=function(){function n(n,l){this.view=n,this.elDef=l}return n.prototype.get=function(n,l){return void 0===l&&(l=le.THROW_IF_NOT_FOUND),mt.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:n,tokenKey:gt(n)},l)},n}();function bi(n,l){var e=n.def.nodes[l];if(1&e.flags){var t=st(n,e.nodeIndex);return e.element.template?t.template:t.renderElement}if(2&e.flags)return ut(n,e.nodeIndex).renderText;if(20240&e.flags)return ct(n,e.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index "+l)}function vi(n){return new _i(n.renderer)}var _i=function(){function n(n){this.delegate=n}return n.prototype.selectRootElement=function(n){return this.delegate.selectRootElement(n)},n.prototype.createElement=function(n,l){var e=Object(t.__read)(Ht(l),2),i=this.delegate.createElement(e[1],e[0]);return n&&this.delegate.appendChild(n,i),i},n.prototype.createViewRoot=function(n){return n},n.prototype.createTemplateAnchor=function(n){var l=this.delegate.createComment("");return n&&this.delegate.appendChild(n,l),l},n.prototype.createText=function(n,l){var e=this.delegate.createText(l);return n&&this.delegate.appendChild(n,e),e},n.prototype.projectNodes=function(n,l){for(var e=0;e<l.length;e++)this.delegate.appendChild(n,l[e])},n.prototype.attachViewAfter=function(n,l){for(var e=this.delegate.parentNode(n),t=this.delegate.nextSibling(n),i=0;i<l.length;i++)this.delegate.insertBefore(e,l[i],t)},n.prototype.detachView=function(n){for(var l=0;l<n.length;l++){var e=n[l],t=this.delegate.parentNode(e);this.delegate.removeChild(t,e)}},n.prototype.destroyView=function(n,l){for(var e=0;e<l.length;e++)this.delegate.destroyNode(l[e])},n.prototype.listen=function(n,l,e){return this.delegate.listen(n,l,e)},n.prototype.listenGlobal=function(n,l,e){return this.delegate.listen(n,l,e)},n.prototype.setElementProperty=function(n,l,e){this.delegate.setProperty(n,l,e)},n.prototype.setElementAttribute=function(n,l,e){var i=Object(t.__read)(Ht(l),2),a=i[0],o=i[1];null!=e?this.delegate.setAttribute(n,o,e,a):this.delegate.removeAttribute(n,o,a)},n.prototype.setBindingDebugInfo=function(n,l,e){},n.prototype.setElementClass=function(n,l,e){e?this.delegate.addClass(n,l):this.delegate.removeClass(n,l)},n.prototype.setElementStyle=function(n,l,e){null!=e?this.delegate.setStyle(n,l,e):this.delegate.removeStyle(n,l)},n.prototype.invokeElementMethod=function(n,l,e){n[l].apply(n,e)},n.prototype.setText=function(n,l){this.delegate.setValue(n,l)},n.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},n}();function yi(n,l,e,t){return new wi(n,l,e,t)}var wi=function(){function n(n,l,e,t){this._moduleType=n,this._parent=l,this._bootstrapComponents=e,this._def=t,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(n){for(var l=n._def,e=n._providers=new Array(l.providers.length),t=0;t<l.providers.length;t++){var i=l.providers[t];4096&i.flags||void 0===e[t]&&(e[t]=li(n,i))}}(this)}return n.prototype.get=function(n,l,e){void 0===l&&(l=le.THROW_IF_NOT_FOUND),void 0===e&&(e=vn.Default);var t=0;return e&vn.SkipSelf?t|=1:e&vn.Self&&(t|=4),ni(this,{token:n,tokenKey:gt(n),flags:t},l)},Object.defineProperty(n.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentFactoryResolver",{get:function(){return this.get(Se)},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Cn(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function(n,l){for(var e=n._def,t=new Set,i=0;i<e.providers.length;i++)if(131072&e.providers[i].flags){var a=n._providers[i];if(a&&a!==Yt){var o=a.ngOnDestroy;"function"!=typeof o||t.has(a)||(o.apply(a),t.add(a))}}}(this),this._destroyListeners.forEach((function(n){return n()}))},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},n}(),xi=gt(Fe),Ci=gt(Te),ki=gt(Pe),Si=gt(lt),Ii=gt(Xe),Ai=gt(Nl),Mi=gt(le),Pi=gt(Tn);function Di(n,l,e,i,a,o,r,u){var s=[];if(r)for(var c in r){var d=Object(t.__read)(r[c],2);s[d[0]]={flags:8,name:c,nonMinifiedName:d[1],ns:null,securityContext:null,suffix:null}}var p=[];if(u)for(var m in u)p.push({type:1,propName:m,target:null,eventName:u[m]});return Oi(n,l|=16384,e,i,a,a,o,s,p)}function Fi(n,l,e){return Oi(-1,n|=16,null,0,l,l,e)}function Ei(n,l,e,t,i){return Oi(-1,n,l,0,e,t,i)}function Oi(n,l,e,t,i,a,o,r,u){var s=Tt(e),c=s.matchedQueries,d=s.references,p=s.matchedQueryIds;u||(u=[]),r||(r=[]),a=In(a);var m=Lt(o,Cn(i));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:l,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:p,references:d,ngContentIndex:-1,childCount:t,bindings:r,bindingFlags:Gt(r),outputs:u,element:null,provider:{token:i,value:a,deps:m},text:null,query:null,ngContent:null}}function Ti(n,l){return ji(n,l)}function Li(n,l){for(var e=n;e.parent&&!Ft(e);)e=e.parent;return Vi(e.parent,Pt(e),!0,l.provider.value,l.provider.deps)}function Ri(n,l){var e=Vi(n,l.parent,(32768&l.flags)>0,l.provider.value,l.provider.deps);if(l.outputs.length)for(var t=0;t<l.outputs.length;t++){var i=l.outputs[t],a=e[i.propName];if(!ve(a))throw new Error("@Output "+i.propName+" not initialized in '"+e.constructor.name+"'.");var o=a.subscribe(Ni(n,l.parent.nodeIndex,i.eventName));n.disposables[l.outputIndex+t]=o.unsubscribe.bind(o)}return e}function Ni(n,l,e){return function(t){return At(n,l,e,t)}}function ji(n,l){var e=(8192&l.flags)>0,i=l.provider;switch(201347067&l.flags){case 512:return Vi(n,l.parent,e,i.value,i.deps);case 1024:return function(n,l,e,i,a){var o=a.length;switch(o){case 0:return i();case 1:return i(zi(n,l,e,a[0]));case 2:return i(zi(n,l,e,a[0]),zi(n,l,e,a[1]));case 3:return i(zi(n,l,e,a[0]),zi(n,l,e,a[1]),zi(n,l,e,a[2]));default:for(var r=Array(o),u=0;u<o;u++)r[u]=zi(n,l,e,a[u]);return i.apply(void 0,Object(t.__spread)(r))}}(n,l.parent,e,i.value,i.deps);case 2048:return zi(n,l.parent,e,i.deps[0]);case 256:return i.value}}function Vi(n,l,e,i,a){var o=a.length;switch(o){case 0:return new i;case 1:return new i(zi(n,l,e,a[0]));case 2:return new i(zi(n,l,e,a[0]),zi(n,l,e,a[1]));case 3:return new i(zi(n,l,e,a[0]),zi(n,l,e,a[1]),zi(n,l,e,a[2]));default:for(var r=new Array(o),u=0;u<o;u++)r[u]=zi(n,l,e,a[u]);return new(i.bind.apply(i,Object(t.__spread)([void 0],r)))}}var qi={};function zi(n,l,e,t,i){if(void 0===i&&(i=le.THROW_IF_NOT_FOUND),8&t.flags)return t.token;var a=n;2&t.flags&&(i=null);var o=t.tokenKey;o===Ai&&(e=!(!l||!l.element.componentView)),l&&1&t.flags&&(e=!1,l=l.parent);for(var r=n;r;){if(l)switch(o){case xi:return vi(Ui(r,l,e));case Ci:return Ui(r,l,e).renderer;case ki:return new Pe(st(r,l.nodeIndex).renderElement);case Si:return st(r,l.nodeIndex).viewContainer;case Ii:if(l.element.template)return st(r,l.nodeIndex).template;break;case Ai:return di(Ui(r,l,e));case Mi:case Pi:return hi(r,l);default:var u=(e?l.element.allProviders:l.element.publicProviders)[o];if(u){var s=ct(r,u.nodeIndex);return s||(s={instance:ji(r,u)},r.nodes[u.nodeIndex]=s),s.instance}}e=Ft(r),l=Pt(r),r=r.parent,4&t.flags&&(r=null)}var c=a.root.injector.get(t.token,qi);return c!==qi||i===qi?c:a.root.ngModule.injector.get(t.token,i)}function Ui(n,l,e){var t;if(e)t=st(n,l.nodeIndex).componentView;else for(t=n;t.parent&&!Ft(t);)t=t.parent;return t}function Bi(n,l,e,t,i,a){if(32768&e.flags){var o=st(n,e.parent.nodeIndex).componentView;2&o.def.flags&&(o.state|=8)}if(l.instance[e.bindings[t].name]=i,524288&e.flags){a=a||{};var r=fe.unwrap(n.oldValues[e.bindingIndex+t]);a[e.bindings[t].nonMinifiedName]=new _e(r,i,0!=(2&n.state))}return n.oldValues[e.bindingIndex+t]=i,a}function $i(n,l){if(n.def.nodeFlags&l)for(var e=n.def.nodes,t=0,i=0;i<e.length;i++){var a=e[i],o=a.parent;for(!o&&a.flags&l&&Gi(n,i,a.flags&l,t++),0==(a.childFlags&l)&&(i+=a.childCount);o&&1&o.flags&&i===o.nodeIndex+o.childCount;)o.directChildFlags&l&&(t=Hi(n,o,l,t)),o=o.parent}}function Hi(n,l,e,t){for(var i=l.nodeIndex+1;i<=l.nodeIndex+l.childCount;i++){var a=n.def.nodes[i];a.flags&e&&Gi(n,i,a.flags&e,t++),i+=a.childCount}return t}function Gi(n,l,e,t){var i=ct(n,l);if(i){var a=i.instance;a&&(mt.setCurrentNode(n,l),1048576&e&&rt(n,512,t)&&a.ngAfterContentInit(),2097152&e&&a.ngAfterContentChecked(),4194304&e&&rt(n,768,t)&&a.ngAfterViewInit(),8388608&e&&a.ngAfterViewChecked(),131072&e&&a.ngOnDestroy())}}var Wi=new On("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Xn}}),Ki={},Yi=function(n){return n[n.LocaleId=0]="LocaleId",n[n.DayPeriodsFormat=1]="DayPeriodsFormat",n[n.DayPeriodsStandalone=2]="DayPeriodsStandalone",n[n.DaysFormat=3]="DaysFormat",n[n.DaysStandalone=4]="DaysStandalone",n[n.MonthsFormat=5]="MonthsFormat",n[n.MonthsStandalone=6]="MonthsStandalone",n[n.Eras=7]="Eras",n[n.FirstDayOfWeek=8]="FirstDayOfWeek",n[n.WeekendRange=9]="WeekendRange",n[n.DateFormat=10]="DateFormat",n[n.TimeFormat=11]="TimeFormat",n[n.DateTimeFormat=12]="DateTimeFormat",n[n.NumberSymbols=13]="NumberSymbols",n[n.NumberFormats=14]="NumberFormats",n[n.CurrencySymbol=15]="CurrencySymbol",n[n.CurrencyName=16]="CurrencyName",n[n.Currencies=17]="Currencies",n[n.PluralCase=18]="PluralCase",n[n.ExtraData=19]="ExtraData",n}({}),Ji=void 0,Zi=["en",[["a","p"],["AM","PM"],Ji],[["AM","PM"],Ji,Ji],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ji,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ji,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ji,"{1} 'at' {0}",Ji],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"$","US Dollar",{},function(n){var l=Math.floor(Math.abs(n)),e=n.toString().replace(/^[^.]*\.?/,"").length;return 1===l&&0===e?1:5}];function Qi(n){var l=n.toLowerCase().replace(/_/g,"-"),e=Ki[l];if(e)return e;var t=l.split("-")[0];if(e=Ki[t])return e;if("en"===t)return Zi;throw new Error('Missing locale data for the locale "'+n+'".')}var Xi="en-US";function na(n){var l;l="Expected localeId to be defined",null==n&&function(n){throw new Error("ASSERTION ERROR: "+n)}(l),"string"==typeof n&&n.toLowerCase().replace(/_/g,"-")}var la=function(n){function l(l){void 0===l&&(l=!1);var e=n.call(this)||this;return e.__isAsync=l,e}return Object(t.__extends)(l,n),l.prototype.emit=function(l){n.prototype.next.call(this,l)},l.prototype.subscribe=function(l,e,t){var i,a=function(n){return null},o=function(){return null};l&&"object"==typeof l?(i=this.__isAsync?function(n){setTimeout((function(){return l.next(n)}))}:function(n){l.next(n)},l.error&&(a=this.__isAsync?function(n){setTimeout((function(){return l.error(n)}))}:function(n){l.error(n)}),l.complete&&(o=this.__isAsync?function(){setTimeout((function(){return l.complete()}))}:function(){l.complete()})):(i=this.__isAsync?function(n){setTimeout((function(){return l(n)}))}:function(n){l(n)},e&&(a=this.__isAsync?function(n){setTimeout((function(){return e(n)}))}:function(n){e(n)}),t&&(o=this.__isAsync?function(){setTimeout((function(){return t()}))}:function(){t()}));var r=n.prototype.subscribe.call(this,i,a,o);return l instanceof s&&l.add(r),r},l}(M);function ea(){return this._results[de()]()}var ta=function(){function n(){this.dirty=!0,this._results=[],this.changes=new la,this.length=0;var l=de(),e=n.prototype;e[l]||(e[l]=ea)}return n.prototype.map=function(n){return this._results.map(n)},n.prototype.filter=function(n){return this._results.filter(n)},n.prototype.find=function(n){return this._results.find(n)},n.prototype.reduce=function(n,l){return this._results.reduce(n,l)},n.prototype.forEach=function(n){this._results.forEach(n)},n.prototype.some=function(n){return this._results.some(n)},n.prototype.toArray=function(){return this._results.slice()},n.prototype.toString=function(){return this._results.toString()},n.prototype.reset=function(n){this._results=function n(l,e){void 0===e&&(e=l);for(var t=0;t<l.length;t++){var i=l[t];Array.isArray(i)?(e===l&&(e=l.slice(0,t)),n(i,e)):e!==l&&e.push(i)}return e}(n),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},n.prototype.notifyOnChanges=function(){this.changes.emit(this)},n.prototype.setDirty=function(){this.dirty=!0},n.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},n}(),ia=cn("Directive",(function(n){return void 0===n&&(n={}),n}),void 0,void 0,(function(n,l){return ra(n,l)})),aa=mn("Input",(function(n){return{bindingPropertyName:n}})),oa=mn("Output",(function(n){return{bindingPropertyName:n}})),ra=Me,ua=new On("Application Initializer"),sa=function(){function n(n){var l=this;this.appInits=n,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(n,e){l.resolve=n,l.reject=e}))}return n.prototype.runInitializers=function(){var n=this;if(!this.initialized){var l=[],e=function(){n.done=!0,n.resolve()};if(this.appInits)for(var t=0;t<this.appInits.length;t++){var i=this.appInits[t]();be(i)&&l.push(i)}Promise.all(l).then((function(){e()})).catch((function(l){n.reject(l)})),0===l.length&&e(),this.initialized=!0}},n}(),ca=new On("AppId");function da(){return""+pa()+pa()+pa()}function pa(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ma=new On("Platform Initializer"),fa=new On("Platform ID"),ha=new On("appBootstrapListener"),ga=function(){function n(){}return n.prototype.log=function(n){console.log(n)},n.prototype.warn=function(n){console.warn(n)},n}(),ba=new On("LocaleId"),va=!1;function _a(){throw new Error("Runtime compiler is not loaded")}var ya,wa,xa=_a,Ca=_a,ka=_a,Sa=_a,Ia=function(){function n(){this.compileModuleSync=xa,this.compileModuleAsync=Ca,this.compileModuleAndAllComponentsSync=ka,this.compileModuleAndAllComponentsAsync=Sa}return n.prototype.clearCache=function(){},n.prototype.clearCacheFor=function(n){},n.prototype.getModuleId=function(n){},n}(),Aa=function(){return function(){}}();function Ma(){var n=En.wtf;return!(!n||!(ya=n.trace)||(wa=ya.events,0))}var Pa=Ma();function Da(n,l){return null}var Fa=Pa?function(n,l){return void 0===l&&(l=null),wa.createScope(n,l)}:function(n,l){return Da},Ea=Pa?function(n,l){return ya.leaveScope(n,l),l}:function(n,l){return l},Oa=function(){return Promise.resolve(0)}();function Ta(n){"undefined"==typeof Zone?Oa.then((function(){n&&n.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",n)}var La=function(){function n(n){var l,e=n.enableLongStackTrace,t=void 0!==e&&e;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new la(!1),this.onMicrotaskEmpty=new la(!1),this.onStable=new la(!1),this.onError=new la(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(l=this)._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(n,e,t,i,a,o){try{return Va(l),n.invokeTask(t,i,a,o)}finally{qa(l)}},onInvoke:function(n,e,t,i,a,o,r){try{return Va(l),n.invoke(t,i,a,o,r)}finally{qa(l)}},onHasTask:function(n,e,t,i){n.hasTask(t,i),e===t&&("microTask"==i.change?(l.hasPendingMicrotasks=i.microTask,ja(l)):"macroTask"==i.change&&(l.hasPendingMacrotasks=i.macroTask))},onHandleError:function(n,e,t,i){return n.handleError(t,i),l.runOutsideAngular((function(){return l.onError.emit(i)})),!1}})}return n.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},n.assertInAngularZone=function(){if(!n.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},n.assertNotInAngularZone=function(){if(n.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},n.prototype.run=function(n,l,e){return this._inner.run(n,l,e)},n.prototype.runTask=function(n,l,e,t){var i=this._inner,a=i.scheduleEventTask("NgZoneEvent: "+t,n,Na,Ra,Ra);try{return i.runTask(a,l,e)}finally{i.cancelTask(a)}},n.prototype.runGuarded=function(n,l,e){return this._inner.runGuarded(n,l,e)},n.prototype.runOutsideAngular=function(n){return this._outer.run(n)},n}();function Ra(){}var Na={};function ja(n){if(0==n._nesting&&!n.hasPendingMicrotasks&&!n.isStable)try{n._nesting++,n.onMicrotaskEmpty.emit(null)}finally{if(n._nesting--,!n.hasPendingMicrotasks)try{n.runOutsideAngular((function(){return n.onStable.emit(null)}))}finally{n.isStable=!0}}}function Va(n){n._nesting++,n.isStable&&(n.isStable=!1,n.onUnstable.emit(null))}function qa(n){n._nesting--,ja(n)}var za,Ua=function(){function n(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new la,this.onMicrotaskEmpty=new la,this.onStable=new la,this.onError=new la}return n.prototype.run=function(n){return n()},n.prototype.runGuarded=function(n){return n()},n.prototype.runOutsideAngular=function(n){return n()},n.prototype.runTask=function(n){return n()},n}(),Ba=function(){function n(n){var l=this;this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.run((function(){l.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return n.prototype._watchAngularEvents=function(){var n=this;this._ngZone.onUnstable.subscribe({next:function(){n._didWork=!0,n._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){n._ngZone.onStable.subscribe({next:function(){La.assertNotInAngularZone(),Ta((function(){n._isZoneStable=!0,n._runCallbacksIfReady()}))}})}))},n.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},n.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},n.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},n.prototype._runCallbacksIfReady=function(){var n=this;if(this.isStable())Ta((function(){for(;0!==n._callbacks.length;){var l=n._callbacks.pop();clearTimeout(l.timeoutId),l.doneCb(n._didWork)}n._didWork=!1}));else{var l=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(n){return!n.updateCb||!n.updateCb(l)||(clearTimeout(n.timeoutId),!1)})),this._didWork=!0}},n.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(n){return{source:n.source,creationLocation:n.creationLocation,data:n.data}})):[]},n.prototype.addCallback=function(n,l,e){var t=this,i=-1;l&&l>0&&(i=setTimeout((function(){t._callbacks=t._callbacks.filter((function(n){return n.timeoutId!==i})),n(t._didWork,t.getPendingTasks())}),l)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:e})},n.prototype.whenStable=function(n,l,e){if(e&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(n,l,e),this._runCallbacksIfReady()},n.prototype.getPendingRequestCount=function(){return this._pendingCount},n.prototype.findProviders=function(n,l,e){return[]},n}(),$a=function(){function n(){this._applications=new Map,Ha.addToWindow(this)}return n.prototype.registerApplication=function(n,l){this._applications.set(n,l)},n.prototype.unregisterApplication=function(n){this._applications.delete(n)},n.prototype.unregisterAllApplications=function(){this._applications.clear()},n.prototype.getTestability=function(n){return this._applications.get(n)||null},n.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},n.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},n.prototype.findTestabilityInTree=function(n,l){return void 0===l&&(l=!0),Ha.findTestabilityInTree(this,n,l)},n}(),Ha=new(function(){function n(){}return n.prototype.addToWindow=function(n){},n.prototype.findTestabilityInTree=function(n,l,e){return null},n}()),Ga=new On("AllowMultipleToken"),Wa=function(){return function(n,l){this.name=n,this.token=l}}();function Ka(n,l,e){void 0===e&&(e=[]);var t="Platform: "+l,i=new On(t);return function(l){void 0===l&&(l=[]);var a=Ya();if(!a||a.injector.get(Ga,!1))if(n)n(e.concat(l).concat({provide:i,useValue:!0}));else{var o=e.concat(l).concat({provide:i,useValue:!0});!function(n){if(za&&!za.destroyed&&!za.injector.get(Ga,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");za=n.get(Ja);var l=n.get(ma,null);l&&l.forEach((function(n){return n()}))}(le.create({providers:o,name:t}))}return function(n){var l=Ya();if(!l)throw new Error("No platform exists!");if(!l.injector.get(n,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return l}(i)}}function Ya(){return za&&!za.destroyed?za:null}var Ja=function(){function n(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return n.prototype.bootstrapModuleFactory=function(n,l){var e,t=this,i="noop"===(e=l?l.ngZone:void 0)?new Ua:("zone.js"===e?void 0:e)||new La({enableLongStackTrace:sl()}),a=[{provide:La,useValue:i}];return i.run((function(){var l=le.create({providers:a,parent:t.injector,name:n.moduleType.name}),e=n.create(l),o=e.injector.get(ol,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return va&&na(e.injector.get(ba,Xi)||Xi),e.onDestroy((function(){return Xa(t._modules,e)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(n){o.handleError(n)}})})),function(n,l,i){try{var a=((o=e.injector.get(sa)).runInitializers(),o.donePromise.then((function(){return t._moduleDoBootstrap(e),e})));return be(a)?a.catch((function(e){throw l.runOutsideAngular((function(){return n.handleError(e)})),e})):a}catch(r){throw l.runOutsideAngular((function(){return n.handleError(r)})),r}var o}(o,i)}))},n.prototype.bootstrapModule=function(n,l){var e=this;void 0===l&&(l=[]);var t=Za({},l);return function(n,l,e){return n.get(Aa).createCompiler([l]).compileModuleAsync(e)}(this.injector,t,n).then((function(n){return e.bootstrapModuleFactory(n,t)}))},n.prototype._moduleDoBootstrap=function(n){var l=n.injector.get(Qa);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach((function(n){return l.bootstrap(n)}));else{if(!n.instance.ngDoBootstrap)throw new Error("The module "+Cn(n.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');n.instance.ngDoBootstrap(l)}this._modules.push(n)},n.prototype.onDestroy=function(n){this._destroyListeners.push(n)},Object.defineProperty(n.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(n){return n.destroy()})),this._destroyListeners.forEach((function(n){return n()})),this._destroyed=!0},Object.defineProperty(n.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),n}();function Za(n,l){return Array.isArray(l)?l.reduce(Za,n):Object(t.__assign)({},n,l)}var Qa=function(){function n(n,l,e,t,i,a){var o=this;this._zone=n,this._console=l,this._injector=e,this._exceptionHandler=t,this._componentFactoryResolver=i,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=sl(),this._zone.onMicrotaskEmpty.subscribe({next:function(){o._zone.run((function(){o.tick()}))}});var r=new x((function(n){o._stable=o._zone.isStable&&!o._zone.hasPendingMacrotasks&&!o._zone.hasPendingMicrotasks,o._zone.runOutsideAngular((function(){n.next(o._stable),n.complete()}))})),u=new x((function(n){var l;o._zone.runOutsideAngular((function(){l=o._zone.onStable.subscribe((function(){La.assertNotInAngularZone(),Ta((function(){o._stable||o._zone.hasPendingMacrotasks||o._zone.hasPendingMicrotasks||(o._stable=!0,n.next(!0))}))}))}));var e=o._zone.onUnstable.subscribe((function(){La.assertInAngularZone(),o._stable&&(o._stable=!1,o._zone.runOutsideAngular((function(){n.next(!1)})))}));return function(){l.unsubscribe(),e.unsubscribe()}}));this.isStable=Z(r,u.pipe(on()))}var l;return l=n,n.prototype.bootstrap=function(n,l){var e,t=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");e=n instanceof we?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(e.componentType);var i=e instanceof Ae?null:this._injector.get(Kn),a=e.create(le.NULL,[],l||e.selector,i);a.onDestroy((function(){t._unloadComponent(a)}));var o=a.injector.get(Ba,null);return o&&a.injector.get($a).registerApplication(a.location.nativeElement,o),this._loadComponent(a),sl()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a},n.prototype.tick=function(){var n,e,i,a,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var r=l._tickScope();try{this._runningTick=!0;try{for(var u=Object(t.__values)(this._views),s=u.next();!s.done;s=u.next())s.value.detectChanges()}catch(p){n={error:p}}finally{try{s&&!s.done&&(e=u.return)&&e.call(u)}finally{if(n)throw n.error}}if(this._enforceNoNewChanges)try{for(var c=Object(t.__values)(this._views),d=c.next();!d.done;d=c.next())d.value.checkNoChanges()}catch(m){i={error:m}}finally{try{d&&!d.done&&(a=c.return)&&a.call(c)}finally{if(i)throw i.error}}}catch(f){this._zone.runOutsideAngular((function(){return o._exceptionHandler.handleError(f)}))}finally{this._runningTick=!1,Ea(r)}},n.prototype.attachView=function(n){var l=n;this._views.push(l),l.attachToAppRef(this)},n.prototype.detachView=function(n){var l=n;Xa(this._views,l),l.detachFromAppRef()},n.prototype._loadComponent=function(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ha,[]).concat(this._bootstrapListeners).forEach((function(l){return l(n)}))},n.prototype._unloadComponent=function(n){this.detachView(n.hostView),Xa(this.components,n)},n.prototype.ngOnDestroy=function(){this._views.slice().forEach((function(n){return n.destroy()}))},Object.defineProperty(n.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),n._tickScope=Fa("ApplicationRef#tick()"),n}();function Xa(n,l){var e=n.indexOf(l);e>-1&&n.splice(e,1)}var no=function(){return function(){}}(),lo=function(){return function(){}}(),eo={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},to=function(){function n(n,l){this._compiler=n,this._config=l||eo}return n.prototype.load=function(n){return!va&&this._compiler instanceof Ia?this.loadFactory(n):this.loadAndCompile(n)},n.prototype.loadAndCompile=function(n){var l=this,i=Object(t.__read)(n.split("#"),2),a=i[0],o=i[1];return void 0===o&&(o="default"),e("TCaw")(a).then((function(n){return n[o]})).then((function(n){return io(n,a,o)})).then((function(n){return l._compiler.compileModuleAsync(n)}))},n.prototype.loadFactory=function(n){var l=Object(t.__read)(n.split("#"),2),i=l[0],a=l[1],o="NgFactory";return void 0===a&&(a="default",o=""),e("TCaw")(this._config.factoryPathPrefix+i+this._config.factoryPathSuffix).then((function(n){return n[a+o]})).then((function(n){return io(n,i,a)}))},n}();function io(n,l,e){if(!n)throw new Error("Cannot find '"+e+"' in '"+l+"'");return n}var ao=function(){return function(n,l){this.name=n,this.callback=l}}(),oo=function(){function n(n,l,e){this.listeners=[],this.parent=null,this._debugContext=e,this.nativeNode=n,l&&l instanceof ro&&l.addChild(this)}return Object.defineProperty(n.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),n}(),ro=function(n){function l(l,e,t){var i=n.call(this,l,e,t)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=l,i}return Object(t.__extends)(l,n),l.prototype.addChild=function(n){n&&(this.childNodes.push(n),n.parent=this)},l.prototype.removeChild=function(n){var l=this.childNodes.indexOf(n);-1!==l&&(n.parent=null,this.childNodes.splice(l,1))},l.prototype.insertChildrenAfter=function(n,l){var e,i=this,a=this.childNodes.indexOf(n);-1!==a&&((e=this.childNodes).splice.apply(e,Object(t.__spread)([a+1,0],l)),l.forEach((function(l){l.parent&&l.parent.removeChild(l),n.parent=i})))},l.prototype.insertBefore=function(n,l){var e=this.childNodes.indexOf(n);-1===e?this.addChild(l):(l.parent&&l.parent.removeChild(l),l.parent=this,this.childNodes.splice(e,0,l))},l.prototype.query=function(n){return this.queryAll(n)[0]||null},l.prototype.queryAll=function(n){var l=[];return function n(l,e,t){l.childNodes.forEach((function(l){l instanceof ro&&(e(l)&&t.push(l),n(l,e,t))}))}(this,n,l),l},l.prototype.queryAllNodes=function(n){var l=[];return function n(l,e,t){l instanceof ro&&l.childNodes.forEach((function(l){e(l)&&t.push(l),l instanceof ro&&n(l,e,t)}))}(this,n,l),l},Object.defineProperty(l.prototype,"children",{get:function(){return this.childNodes.filter((function(n){return n instanceof l}))},enumerable:!0,configurable:!0}),l.prototype.triggerEventHandler=function(n,l){this.listeners.forEach((function(e){e.name==n&&e.callback(l)}))},l}(oo),uo=new Map,so=function(n){return uo.get(n)||null};function co(n){uo.set(n.nativeNode,n)}var po=Ka(null,"core",[{provide:fa,useValue:"unknown"},{provide:Ja,deps:[le]},{provide:$a,deps:[]},{provide:ga,deps:[]}]);function mo(){return Ze}function fo(){return Qe}function ho(n){return n?(va&&na(n),n):Xi}function go(n){var l=[];return n.onStable.subscribe((function(){for(;l.length;)l.pop()()})),function(n){l.push(n)}}var bo=function(){return function(n){}}();function vo(n,l,e,t,i,a){n|=1;var o=Tt(l);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:n,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o.matchedQueries,matchedQueryIds:o.matchedQueryIds,references:o.references,ngContentIndex:e,childCount:t,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:a?jt(a):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:i||ft},provider:null,text:null,query:null,ngContent:null}}function _o(n,l,e,i,a,o,r,u,s,c,d,p){var m;void 0===r&&(r=[]),c||(c=ft);var f=Tt(e),h=f.matchedQueries,g=f.references,b=f.matchedQueryIds,v=null,_=null;o&&(v=(m=Object(t.__read)(Ht(o),2))[0],_=m[1]),u=u||[];for(var y=new Array(u.length),w=0;w<u.length;w++){var x=Object(t.__read)(u[w],3),C=x[0],k=x[1],S=x[2],I=Object(t.__read)(Ht(k),2),A=I[0],M=I[1],P=void 0,D=void 0;switch(15&C){case 4:D=S;break;case 1:case 8:P=S}y[w]={flags:C,ns:A,name:M,nonMinifiedName:M,securityContext:P,suffix:D}}s=s||[];var F=new Array(s.length);for(w=0;w<s.length;w++){var E=Object(t.__read)(s[w],2);F[w]={type:0,target:E[0],eventName:E[1],propName:null}}var O=(r=r||[]).map((function(n){var l=Object(t.__read)(n,2),e=l[0],i=l[1],a=Object(t.__read)(Ht(e),2);return[a[0],a[1],i]}));return p=function(n){if(n&&n.id===vt){var l=null!=n.encapsulation&&n.encapsulation!==Qn.None||n.styles.length||Object.keys(n.data).length;n.id=l?"c"+wt++:_t}return n&&n.id===_t&&(n=null),n||null}(p),d&&(l|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:l|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:b,references:g,ngContentIndex:i,childCount:a,bindings:y,bindingFlags:Gt(y),outputs:F,element:{ns:v,name:_,attrs:O,template:null,componentProvider:null,componentView:d||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:c||ft},provider:null,text:null,query:null,ngContent:null}}function yo(n,l,e){var i,a=e.element,o=n.root.selectorOrNode,r=n.renderer;if(n.parent||!o){i=a.name?r.createElement(a.name,a.ns):r.createComment("");var u=Rt(n,l,e);u&&r.appendChild(u,i)}else i=r.selectRootElement(o,!!a.componentRendererType&&a.componentRendererType.encapsulation===Qn.ShadowDom);if(a.attrs)for(var s=0;s<a.attrs.length;s++){var c=Object(t.__read)(a.attrs[s],3);r.setAttribute(i,c[1],c[2],c[0])}return i}function wo(n,l,e,t){for(var i=0;i<e.outputs.length;i++){var a=e.outputs[i],o=xo(n,e.nodeIndex,(d=a.eventName,(c=a.target)?c+":"+d:d)),r=a.target,u=n;"component"===a.target&&(r=null,u=l);var s=u.renderer.listen(r||t,a.eventName,o);n.disposables[e.outputIndex+i]=s}var c,d}function xo(n,l,e){return function(t){return At(n,l,e,t)}}function Co(n,l,e,t){if(!Ct(n,l,e,t))return!1;var i=l.bindings[e],a=st(n,l.nodeIndex),o=a.renderElement,r=i.name;switch(15&i.flags){case 1:!function(n,l,e,t,i,a){var o=l.securityContext,r=o?n.root.sanitizer.sanitize(o,a):a;r=null!=r?r.toString():null;var u=n.renderer;null!=a?u.setAttribute(e,i,r,t):u.removeAttribute(e,i,t)}(n,i,o,i.ns,r,t);break;case 2:!function(n,l,e,t){var i=n.renderer;t?i.addClass(l,e):i.removeClass(l,e)}(n,o,r,t);break;case 4:!function(n,l,e,t,i){var a=n.root.sanitizer.sanitize(Fl.STYLE,i);if(null!=a){a=a.toString();var o=l.suffix;null!=o&&(a+=o)}else a=null;var r=n.renderer;null!=a?r.setStyle(e,t,a):r.removeStyle(e,t)}(n,i,o,r,t);break;case 8:!function(n,l,e,t,i){var a=l.securityContext,o=a?n.root.sanitizer.sanitize(a,i):i;n.renderer.setProperty(e,t,o)}(33554432&l.flags&&32&i.flags?a.componentView:n,i,o,r,t)}return!0}function ko(n,l,e){var t=[];for(var i in e)t.push({propName:i,bindingType:e[i]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:l,filterId:Ot(l),bindings:t},ngContent:null}}function So(n){for(var l=n.def.nodeMatchedQueries;n.parent&&Et(n);){var e=n.parentNodeDef;n=n.parent;for(var t=e.nodeIndex+e.childCount,i=0;i<=t;i++)67108864&(a=n.def.nodes[i]).flags&&536870912&a.flags&&(a.query.filterId&l)===a.query.filterId&&pt(n,i).setDirty(),!(1&a.flags&&i+a.childCount<e.nodeIndex)&&67108864&a.childFlags&&536870912&a.childFlags||(i+=a.childCount)}if(134217728&n.def.nodeFlags)for(i=0;i<n.def.nodes.length;i++){var a;134217728&(a=n.def.nodes[i]).flags&&536870912&a.flags&&pt(n,i).setDirty(),i+=a.childCount}}function Io(n,l){var e=pt(n,l.nodeIndex);if(e.dirty){var t,i=void 0;if(67108864&l.flags){var a=l.parent.parent;i=Ao(n,a.nodeIndex,a.nodeIndex+a.childCount,l.query,[]),t=ct(n,l.parent.nodeIndex).instance}else 134217728&l.flags&&(i=Ao(n,0,n.def.nodes.length-1,l.query,[]),t=n.component);e.reset(i);for(var o=l.query.bindings,r=!1,u=0;u<o.length;u++){var s=o[u],c=void 0;switch(s.bindingType){case 0:c=e.first;break;case 1:c=e,r=!0}t[s.propName]=c}r&&e.notifyOnChanges()}}function Ao(n,l,e,t,i){for(var a=l;a<=e;a++){var o=n.def.nodes[a],r=o.matchedQueries[t.id];if(null!=r&&i.push(Mo(n,o,r)),1&o.flags&&o.element.template&&(o.element.template.nodeMatchedQueries&t.filterId)===t.filterId){var u=st(n,a);if((o.childMatchedQueries&t.filterId)===t.filterId&&(Ao(n,a+1,a+o.childCount,t,i),a+=o.childCount),16777216&o.flags)for(var s=u.viewContainer._embeddedViews,c=0;c<s.length;c++){var d=s[c],p=Mt(d);p&&p===u&&Ao(d,0,d.def.nodes.length-1,t,i)}var m=u.template._projectedViews;if(m)for(c=0;c<m.length;c++){var f=m[c];Ao(f,0,f.def.nodes.length-1,t,i)}}(o.childMatchedQueries&t.filterId)!==t.filterId&&(a+=o.childCount)}return i}function Mo(n,l,e){if(null!=e)switch(e){case 1:return st(n,l.nodeIndex).renderElement;case 0:return new Pe(st(n,l.nodeIndex).renderElement);case 2:return st(n,l.nodeIndex).template;case 3:return st(n,l.nodeIndex).viewContainer;case 4:return ct(n,l.nodeIndex).instance}}function Po(n,l){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:n,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:l}}}function Do(n,l,e){var t=Rt(n,l,e);t&&zt(n,e.ngContent.index,1,t,null,void 0)}function Fo(n,l){return To(128,n,new Array(l+1))}function Eo(n,l){return To(32,n,new Array(l))}function Oo(n,l){for(var e=Object.keys(l),t=e.length,i=new Array(t),a=0;a<t;a++){var o=e[a];i[l[o]]=o}return To(64,n,i)}function To(n,l,e){for(var t=new Array(e.length),i=0;i<e.length;i++){var a=e[i];t[i]={flags:8,name:a,ns:null,nonMinifiedName:a,securityContext:null,suffix:null}}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:l,flags:n,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:t,bindingFlags:Gt(t),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Lo(n,l,e){for(var t=new Array(e.length-1),i=1;i<e.length;i++)t[i-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:e[i]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:n,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:l,childCount:0,bindings:t,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:e[0]},query:null,ngContent:null}}function Ro(n,l,e){var t,i=n.renderer;t=i.createText(e.text.prefix);var a=Rt(n,l,e);return a&&i.appendChild(a,t),{renderText:t}}function No(n,l){return(null!=n?n.toString():"")+l.suffix}function jo(n,l,e,t){for(var i=0,a=0,o=0,r=0,u=0,s=null,c=null,d=!1,p=!1,m=null,f=0;f<l.length;f++){var h=l[f];if(h.nodeIndex=f,h.parent=s,h.bindingIndex=i,h.outputIndex=a,h.renderParent=c,o|=h.flags,u|=h.matchedQueryIds,h.element){var g=h.element;g.publicProviders=s?s.element.publicProviders:Object.create(null),g.allProviders=g.publicProviders,d=!1,p=!1,h.element.template&&(u|=h.element.template.nodeMatchedQueries)}if(qo(s,h,l.length),i+=h.bindings.length,a+=h.outputs.length,!c&&3&h.flags&&(m=h),20224&h.flags){d||(d=!0,s.element.publicProviders=Object.create(s.element.publicProviders),s.element.allProviders=s.element.publicProviders);var b=0!=(32768&h.flags);0==(8192&h.flags)||b?s.element.publicProviders[gt(h.provider.token)]=h:(p||(p=!0,s.element.allProviders=Object.create(s.element.publicProviders)),s.element.allProviders[gt(h.provider.token)]=h),b&&(s.element.componentProvider=h)}if(s?(s.childFlags|=h.flags,s.directChildFlags|=h.flags,s.childMatchedQueries|=h.matchedQueryIds,h.element&&h.element.template&&(s.childMatchedQueries|=h.element.template.nodeMatchedQueries)):r|=h.flags,h.childCount>0)s=h,Vo(h)||(c=h);else for(;s&&f===s.nodeIndex+s.childCount;){var v=s.parent;v&&(v.childFlags|=s.childFlags,v.childMatchedQueries|=s.childMatchedQueries),c=(s=v)&&Vo(s)?s.renderParent:s}}return{factory:null,nodeFlags:o,rootNodeFlags:r,nodeMatchedQueries:u,flags:n,nodes:l,updateDirectives:e||ft,updateRenderer:t||ft,handleEvent:function(n,e,t,i){return l[e].element.handleEvent(n,t,i)},bindingCount:i,outputCount:a,lastRenderRootNode:m}}function Vo(n){return 0!=(1&n.flags)&&null===n.element.name}function qo(n,l,e){var t=l.element&&l.element.template;if(t){if(!t.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(t.lastRenderRootNode&&16777216&t.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index "+l.nodeIndex+"!")}if(20224&l.flags&&0==(1&(n?n.flags:0)))throw new Error("Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index "+l.nodeIndex+"!");if(l.query){if(67108864&l.flags&&(!n||0==(16384&n.flags)))throw new Error("Illegal State: Content Query nodes need to be children of directives, at index "+l.nodeIndex+"!");if(134217728&l.flags&&n)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index "+l.nodeIndex+"!")}if(l.childCount){var i=n?n.nodeIndex+n.childCount:e-1;if(l.nodeIndex<=i&&l.nodeIndex+l.childCount>i)throw new Error("Illegal State: childCount of node leads outside of parent, at index "+l.nodeIndex+"!")}}function zo(n,l,e,t){var i=$o(n.root,n.renderer,n,l,e);return Ho(i,n.component,t),Go(i),i}function Uo(n,l,e){var t=$o(n,n.renderer,null,null,l);return Ho(t,e,e),Go(t),t}function Bo(n,l,e,t){var i,a=l.element.componentRendererType;return i=a?n.root.rendererFactory.createRenderer(t,a):n.root.renderer,$o(n.root,i,n,l.element.componentProvider,e)}function $o(n,l,e,t,i){var a=new Array(i.nodes.length),o=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:e,viewContainerParent:null,parentNodeDef:t,context:null,component:null,nodes:a,state:13,root:n,renderer:l,oldValues:new Array(i.bindingCount),disposables:o,initIndex:-1}}function Ho(n,l,e){n.component=l,n.context=e}function Go(n){var l;Ft(n)&&(l=st(n.parent,n.parentNodeDef.parent.nodeIndex).renderElement);for(var e=n.def,t=n.nodes,i=0;i<e.nodes.length;i++){var a=e.nodes[i];mt.setCurrentNode(n,i);var o=void 0;switch(201347067&a.flags){case 1:var r=yo(n,l,a),u=void 0;if(33554432&a.flags){var s=jt(a.element.componentView);u=mt.createComponentView(n,a,s,r)}wo(n,u,a,r),o={renderElement:r,componentView:u,viewContainer:null,template:a.element.template?mi(n,a):void 0},16777216&a.flags&&(o.viewContainer=si(n,a,o));break;case 2:o=Ro(n,l,a);break;case 512:case 1024:case 2048:case 256:(o=t[i])||4096&a.flags||(o={instance:Ti(n,a)});break;case 16:o={instance:Li(n,a)};break;case 16384:(o=t[i])||(o={instance:Ri(n,a)}),32768&a.flags&&Ho(st(n,a.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new ta;break;case 8:Do(n,l,a),o=void 0}t[i]=o}lr(n,nr.CreateViewNodes),ar(n,201326592,268435456,0)}function Wo(n){Jo(n),mt.updateDirectives(n,1),er(n,nr.CheckNoChanges),mt.updateRenderer(n,1),lr(n,nr.CheckNoChanges),n.state&=-97}function Ko(n){1&n.state?(n.state&=-2,n.state|=2):n.state&=-3,ot(n,0,256),Jo(n),mt.updateDirectives(n,0),er(n,nr.CheckAndUpdate),ar(n,67108864,536870912,0);var l=ot(n,256,512);$i(n,2097152|(l?1048576:0)),mt.updateRenderer(n,0),lr(n,nr.CheckAndUpdate),ar(n,134217728,536870912,0),$i(n,8388608|((l=ot(n,512,768))?4194304:0)),2&n.def.flags&&(n.state&=-9),n.state&=-97,ot(n,768,1024)}function Yo(n,l,e,i,a,o,r,u,s,c,d,p,m){return 0===e?function(n,l,e,t,i,a,o,r,u,s,c,d){switch(201347067&l.flags){case 1:return function(n,l,e,t,i,a,o,r,u,s,c,d){var p=l.bindings.length,m=!1;return p>0&&Co(n,l,0,e)&&(m=!0),p>1&&Co(n,l,1,t)&&(m=!0),p>2&&Co(n,l,2,i)&&(m=!0),p>3&&Co(n,l,3,a)&&(m=!0),p>4&&Co(n,l,4,o)&&(m=!0),p>5&&Co(n,l,5,r)&&(m=!0),p>6&&Co(n,l,6,u)&&(m=!0),p>7&&Co(n,l,7,s)&&(m=!0),p>8&&Co(n,l,8,c)&&(m=!0),p>9&&Co(n,l,9,d)&&(m=!0),m}(n,l,e,t,i,a,o,r,u,s,c,d);case 2:return function(n,l,e,t,i,a,o,r,u,s,c,d){var p=!1,m=l.bindings,f=m.length;if(f>0&&Ct(n,l,0,e)&&(p=!0),f>1&&Ct(n,l,1,t)&&(p=!0),f>2&&Ct(n,l,2,i)&&(p=!0),f>3&&Ct(n,l,3,a)&&(p=!0),f>4&&Ct(n,l,4,o)&&(p=!0),f>5&&Ct(n,l,5,r)&&(p=!0),f>6&&Ct(n,l,6,u)&&(p=!0),f>7&&Ct(n,l,7,s)&&(p=!0),f>8&&Ct(n,l,8,c)&&(p=!0),f>9&&Ct(n,l,9,d)&&(p=!0),p){var h=l.text.prefix;f>0&&(h+=No(e,m[0])),f>1&&(h+=No(t,m[1])),f>2&&(h+=No(i,m[2])),f>3&&(h+=No(a,m[3])),f>4&&(h+=No(o,m[4])),f>5&&(h+=No(r,m[5])),f>6&&(h+=No(u,m[6])),f>7&&(h+=No(s,m[7])),f>8&&(h+=No(c,m[8])),f>9&&(h+=No(d,m[9]));var g=ut(n,l.nodeIndex).renderText;n.renderer.setValue(g,h)}return p}(n,l,e,t,i,a,o,r,u,s,c,d);case 16384:return function(n,l,e,t,i,a,o,r,u,s,c,d){var p=ct(n,l.nodeIndex),m=p.instance,f=!1,h=void 0,g=l.bindings.length;return g>0&&xt(n,l,0,e)&&(f=!0,h=Bi(n,p,l,0,e,h)),g>1&&xt(n,l,1,t)&&(f=!0,h=Bi(n,p,l,1,t,h)),g>2&&xt(n,l,2,i)&&(f=!0,h=Bi(n,p,l,2,i,h)),g>3&&xt(n,l,3,a)&&(f=!0,h=Bi(n,p,l,3,a,h)),g>4&&xt(n,l,4,o)&&(f=!0,h=Bi(n,p,l,4,o,h)),g>5&&xt(n,l,5,r)&&(f=!0,h=Bi(n,p,l,5,r,h)),g>6&&xt(n,l,6,u)&&(f=!0,h=Bi(n,p,l,6,u,h)),g>7&&xt(n,l,7,s)&&(f=!0,h=Bi(n,p,l,7,s,h)),g>8&&xt(n,l,8,c)&&(f=!0,h=Bi(n,p,l,8,c,h)),g>9&&xt(n,l,9,d)&&(f=!0,h=Bi(n,p,l,9,d,h)),h&&m.ngOnChanges(h),65536&l.flags&&rt(n,256,l.nodeIndex)&&m.ngOnInit(),262144&l.flags&&m.ngDoCheck(),f}(n,l,e,t,i,a,o,r,u,s,c,d);case 32:case 64:case 128:return function(n,l,e,t,i,a,o,r,u,s,c,d){var p=l.bindings,m=!1,f=p.length;if(f>0&&Ct(n,l,0,e)&&(m=!0),f>1&&Ct(n,l,1,t)&&(m=!0),f>2&&Ct(n,l,2,i)&&(m=!0),f>3&&Ct(n,l,3,a)&&(m=!0),f>4&&Ct(n,l,4,o)&&(m=!0),f>5&&Ct(n,l,5,r)&&(m=!0),f>6&&Ct(n,l,6,u)&&(m=!0),f>7&&Ct(n,l,7,s)&&(m=!0),f>8&&Ct(n,l,8,c)&&(m=!0),f>9&&Ct(n,l,9,d)&&(m=!0),m){var h=dt(n,l.nodeIndex),g=void 0;switch(201347067&l.flags){case 32:g=new Array(p.length),f>0&&(g[0]=e),f>1&&(g[1]=t),f>2&&(g[2]=i),f>3&&(g[3]=a),f>4&&(g[4]=o),f>5&&(g[5]=r),f>6&&(g[6]=u),f>7&&(g[7]=s),f>8&&(g[8]=c),f>9&&(g[9]=d);break;case 64:g={},f>0&&(g[p[0].name]=e),f>1&&(g[p[1].name]=t),f>2&&(g[p[2].name]=i),f>3&&(g[p[3].name]=a),f>4&&(g[p[4].name]=o),f>5&&(g[p[5].name]=r),f>6&&(g[p[6].name]=u),f>7&&(g[p[7].name]=s),f>8&&(g[p[8].name]=c),f>9&&(g[p[9].name]=d);break;case 128:var b=e;switch(f){case 1:g=b.transform(e);break;case 2:g=b.transform(t);break;case 3:g=b.transform(t,i);break;case 4:g=b.transform(t,i,a);break;case 5:g=b.transform(t,i,a,o);break;case 6:g=b.transform(t,i,a,o,r);break;case 7:g=b.transform(t,i,a,o,r,u);break;case 8:g=b.transform(t,i,a,o,r,u,s);break;case 9:g=b.transform(t,i,a,o,r,u,s,c);break;case 10:g=b.transform(t,i,a,o,r,u,s,c,d)}}h.value=g}return m}(n,l,e,t,i,a,o,r,u,s,c,d);default:throw"unreachable"}}(n,l,i,a,o,r,u,s,c,d,p,m):function(n,l,e){switch(201347067&l.flags){case 1:return function(n,l,e){for(var t=!1,i=0;i<e.length;i++)Co(n,l,i,e[i])&&(t=!0);return t}(n,l,e);case 2:return function(n,l,e){for(var t=l.bindings,i=!1,a=0;a<e.length;a++)Ct(n,l,a,e[a])&&(i=!0);if(i){var o="";for(a=0;a<e.length;a++)o+=No(e[a],t[a]);o=l.text.prefix+o;var r=ut(n,l.nodeIndex).renderText;n.renderer.setValue(r,o)}return i}(n,l,e);case 16384:return function(n,l,e){for(var t=ct(n,l.nodeIndex),i=t.instance,a=!1,o=void 0,r=0;r<e.length;r++)xt(n,l,r,e[r])&&(a=!0,o=Bi(n,t,l,r,e[r],o));return o&&i.ngOnChanges(o),65536&l.flags&&rt(n,256,l.nodeIndex)&&i.ngOnInit(),262144&l.flags&&i.ngDoCheck(),a}(n,l,e);case 32:case 64:case 128:return function(n,l,e){for(var i=l.bindings,a=!1,o=0;o<e.length;o++)Ct(n,l,o,e[o])&&(a=!0);if(a){var r=dt(n,l.nodeIndex),u=void 0;switch(201347067&l.flags){case 32:u=e;break;case 64:for(u={},o=0;o<e.length;o++)u[i[o].name]=e[o];break;case 128:var s=e[0],c=e.slice(1);u=s.transform.apply(s,Object(t.__spread)(c))}r.value=u}return a}(n,l,e);default:throw"unreachable"}}(n,l,i)}function Jo(n){var l=n.def;if(4&l.nodeFlags)for(var e=0;e<l.nodes.length;e++){var t=l.nodes[e];if(4&t.flags){var i=st(n,e).template._projectedViews;if(i)for(var a=0;a<i.length;a++){var o=i[a];o.state|=32,It(o,n)}}else 0==(4&t.childFlags)&&(e+=t.childCount)}}function Zo(n,l,e,t,i,a,o,r,u,s,c,d,p){return 0===e?function(n,l,e,t,i,a,o,r,u,s,c,d){var p=l.bindings.length;p>0&&kt(n,l,0,e),p>1&&kt(n,l,1,t),p>2&&kt(n,l,2,i),p>3&&kt(n,l,3,a),p>4&&kt(n,l,4,o),p>5&&kt(n,l,5,r),p>6&&kt(n,l,6,u),p>7&&kt(n,l,7,s),p>8&&kt(n,l,8,c),p>9&&kt(n,l,9,d)}(n,l,t,i,a,o,r,u,s,c,d,p):function(n,l,e){for(var t=0;t<e.length;t++)kt(n,l,t,e[t])}(n,l,t),!1}function Qo(n,l){if(pt(n,l.nodeIndex).dirty)throw tt(mt.createDebugContext(n,l.nodeIndex),"Query "+l.query.id+" not dirty","Query "+l.query.id+" dirty",0!=(1&n.state))}function Xo(n){if(!(128&n.state)){if(er(n,nr.Destroy),lr(n,nr.Destroy),$i(n,131072),n.disposables)for(var l=0;l<n.disposables.length;l++)n.disposables[l]();!function(n){if(16&n.state){var l=Mt(n);if(l){var e=l.template._projectedViews;e&&(Zn(e,e.indexOf(n)),mt.dirtyParentQueries(n))}}}(n),n.renderer.destroyNode&&function(n){for(var l=n.def.nodes.length,e=0;e<l;e++){var t=n.def.nodes[e];1&t.flags?n.renderer.destroyNode(st(n,e).renderElement):2&t.flags?n.renderer.destroyNode(ut(n,e).renderText):(67108864&t.flags||134217728&t.flags)&&pt(n,e).destroy()}}(n),Ft(n)&&n.renderer.destroy(),n.state|=128}}var nr=function(n){return n[n.CreateViewNodes=0]="CreateViewNodes",n[n.CheckNoChanges=1]="CheckNoChanges",n[n.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",n[n.CheckAndUpdate=3]="CheckAndUpdate",n[n.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",n[n.Destroy=5]="Destroy",n}({});function lr(n,l){var e=n.def;if(33554432&e.nodeFlags)for(var t=0;t<e.nodes.length;t++){var i=e.nodes[t];33554432&i.flags?tr(st(n,t).componentView,l):0==(33554432&i.childFlags)&&(t+=i.childCount)}}function er(n,l){var e=n.def;if(16777216&e.nodeFlags)for(var t=0;t<e.nodes.length;t++){var i=e.nodes[t];if(16777216&i.flags)for(var a=st(n,t).viewContainer._embeddedViews,o=0;o<a.length;o++)tr(a[o],l);else 0==(16777216&i.childFlags)&&(t+=i.childCount)}}function tr(n,l){var e=n.state;switch(l){case nr.CheckNoChanges:0==(128&e)&&(12==(12&e)?Wo(n):64&e&&ir(n,nr.CheckNoChangesProjectedViews));break;case nr.CheckNoChangesProjectedViews:0==(128&e)&&(32&e?Wo(n):64&e&&ir(n,l));break;case nr.CheckAndUpdate:0==(128&e)&&(12==(12&e)?Ko(n):64&e&&ir(n,nr.CheckAndUpdateProjectedViews));break;case nr.CheckAndUpdateProjectedViews:0==(128&e)&&(32&e?Ko(n):64&e&&ir(n,l));break;case nr.Destroy:Xo(n);break;case nr.CreateViewNodes:Go(n)}}function ir(n,l){er(n,l),lr(n,l)}function ar(n,l,e,t){if(n.def.nodeFlags&l&&n.def.nodeFlags&e)for(var i=n.def.nodes.length,a=0;a<i;a++){var o=n.def.nodes[a];if(o.flags&l&&o.flags&e)switch(mt.setCurrentNode(n,o.nodeIndex),t){case 0:Io(n,o);break;case 1:Qo(n,o)}o.childFlags&l&&o.childFlags&e||(a+=o.childCount)}}var or=!1;function rr(n,l,e,t,i,a){var o=i.injector.get(Ee);return Uo(sr(n,i,o,l,e),t,a)}function ur(n,l,e,t,i,a){var o=i.injector.get(Ee),r=sr(n,i,new Ur(o),l,e),u=_r(t);return qr(Mr.create,Uo,null,[r,u,a])}function sr(n,l,e,t,i){var a=l.injector.get(El),o=l.injector.get(ol),r=e.createRenderer(null,null);return{ngModule:l,injector:n,projectableNodes:t,selectorOrNode:i,sanitizer:a,rendererFactory:e,renderer:r,errorHandler:o}}function cr(n,l,e,t){var i=_r(e);return qr(Mr.create,zo,null,[n,l,i,t])}function dr(n,l,e,t){return e=hr.get(l.element.componentProvider.provider.token)||_r(e),qr(Mr.create,Bo,null,[n,l,e,t])}function pr(n,l,e,t){return yi(n,l,e,function(n){var l=function(n){var l=!1,e=!1;return 0===mr.size?{hasOverrides:l,hasDeprecatedOverrides:e}:(n.providers.forEach((function(n){var t=mr.get(n.token);3840&n.flags&&t&&(l=!0,e=e||t.deprecatedBehavior)})),n.modules.forEach((function(n){fr.forEach((function(t,i){wn(i).providedIn===n&&(l=!0,e=e||t.deprecatedBehavior)}))})),{hasOverrides:l,hasDeprecatedOverrides:e})}(n),e=l.hasDeprecatedOverrides;return l.hasOverrides?(function(n){for(var l=0;l<n.providers.length;l++){var t=n.providers[l];e&&(t.flags|=4096);var i=mr.get(t.token);i&&(t.flags=-3841&t.flags|i.flags,t.deps=Lt(i.deps),t.value=i.value)}if(fr.size>0){var a=new Set(n.modules);fr.forEach((function(l,t){if(a.has(wn(t).providedIn)){var i={token:t,flags:l.flags|(e?4096:0),deps:Lt(l.deps),value:l.value,index:n.providers.length};n.providers.push(i),n.providersByKey[gt(t)]=i}}))}}(n=n.factory((function(){return ft}))),n):n}(t))}var mr=new Map,fr=new Map,hr=new Map;function gr(n){var l;mr.set(n.token,n),"function"==typeof n.token&&(l=wn(n.token))&&"function"==typeof l.providedIn&&fr.set(n.token,n)}function br(n,l){var e=jt(l.viewDefFactory),t=jt(e.nodes[0].element.componentView);hr.set(n,t)}function vr(){mr.clear(),fr.clear(),hr.clear()}function _r(n){if(0===mr.size)return n;var l=function(n){for(var l=[],e=null,t=0;t<n.nodes.length;t++){var i=n.nodes[t];1&i.flags&&(e=i),e&&3840&i.flags&&mr.has(i.provider.token)&&(l.push(e.nodeIndex),e=null)}return l}(n);if(0===l.length)return n;n=n.factory((function(){return ft}));for(var e=0;e<l.length;e++)t(n,l[e]);return n;function t(n,l){for(var e=l+1;e<n.nodes.length;e++){var t=n.nodes[e];if(1&t.flags)return;if(3840&t.flags){var i=t.provider,a=mr.get(i.token);a&&(t.flags=-3841&t.flags|a.flags,i.deps=Lt(a.deps),i.value=a.value)}}}}function yr(n,l,e,t,i,a,o,r,u,s,c,d,p){var m=n.def.nodes[l];return Yo(n,m,e,t,i,a,o,r,u,s,c,d,p),224&m.flags?dt(n,l).value:void 0}function wr(n,l,e,t,i,a,o,r,u,s,c,d,p){var m=n.def.nodes[l];return Zo(n,m,e,t,i,a,o,r,u,s,c,d,p),224&m.flags?dt(n,l).value:void 0}function xr(n){return qr(Mr.detectChanges,Ko,null,[n])}function Cr(n){return qr(Mr.checkNoChanges,Wo,null,[n])}function kr(n){return qr(Mr.destroy,Xo,null,[n])}var Sr,Ir,Ar,Mr=function(n){return n[n.create=0]="create",n[n.detectChanges=1]="detectChanges",n[n.checkNoChanges=2]="checkNoChanges",n[n.destroy=3]="destroy",n[n.handleEvent=4]="handleEvent",n}({});function Pr(n,l){Ir=n,Ar=l}function Dr(n,l,e,t){return Pr(n,l),qr(Mr.handleEvent,n.def.handleEvent,null,[n,l,e,t])}function Fr(n,l){if(128&n.state)throw at(Mr[Sr]);return Pr(n,Lr(n,0)),n.def.updateDirectives((function(n,e,t){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var o=n.def.nodes[e];return 0===l?Or(n,o,t,i):Tr(n,o,t,i),16384&o.flags&&Pr(n,Lr(n,e)),224&o.flags?dt(n,o.nodeIndex).value:void 0}),n)}function Er(n,l){if(128&n.state)throw at(Mr[Sr]);return Pr(n,Rr(n,0)),n.def.updateRenderer((function(n,e,t){for(var i=[],a=3;a<arguments.length;a++)i[a-3]=arguments[a];var o=n.def.nodes[e];return 0===l?Or(n,o,t,i):Tr(n,o,t,i),3&o.flags&&Pr(n,Rr(n,e)),224&o.flags?dt(n,o.nodeIndex).value:void 0}),n)}function Or(n,l,e,i){if(Yo.apply(void 0,Object(t.__spread)([n,l,e],i))){var a=1===e?i[0]:i;if(16384&l.flags){for(var o={},r=0;r<l.bindings.length;r++){var u=l.bindings[r],s=a[r];8&u.flags&&(o[(m=u.nonMinifiedName,"ng-reflect-"+m.replace(/[$@]/g,"_").replace(Ll,(function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return"-"+n[1].toLowerCase()})))]=Rl(s))}var c=l.parent,d=st(n,c.nodeIndex).renderElement;if(c.element.name)for(var p in o)null!=(s=o[p])?n.renderer.setAttribute(d,p,s):n.renderer.removeAttribute(d,p);else n.renderer.setValue(d,"bindings="+JSON.stringify(o,null,2))}}var m}function Tr(n,l,e,i){Zo.apply(void 0,Object(t.__spread)([n,l,e],i))}function Lr(n,l){for(var e=l;e<n.def.nodes.length;e++){var t=n.def.nodes[e];if(16384&t.flags&&t.bindings&&t.bindings.length)return e}return null}function Rr(n,l){for(var e=l;e<n.def.nodes.length;e++){var t=n.def.nodes[e];if(3&t.flags&&t.bindings&&t.bindings.length)return e}return null}var Nr=function(){function n(n,l){this.view=n,this.nodeIndex=l,null==l&&(this.nodeIndex=l=0),this.nodeDef=n.def.nodes[l];for(var e=this.nodeDef,t=n;e&&0==(1&e.flags);)e=e.parent;if(!e)for(;!e&&t;)e=Pt(t),t=t.parent;this.elDef=e,this.elView=t}return Object.defineProperty(n.prototype,"elOrCompView",{get:function(){return st(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return hi(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"providerTokens",{get:function(){var n=[];if(this.elDef)for(var l=this.elDef.nodeIndex+1;l<=this.elDef.nodeIndex+this.elDef.childCount;l++){var e=this.elView.def.nodes[l];20224&e.flags&&n.push(e.provider.token),l+=e.childCount}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"references",{get:function(){var n={};if(this.elDef){Vr(this.elView,this.elDef,n);for(var l=this.elDef.nodeIndex+1;l<=this.elDef.nodeIndex+this.elDef.childCount;l++){var e=this.elView.def.nodes[l];20224&e.flags&&Vr(this.elView,e,n),l+=e.childCount}}return n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderElement",{get:function(){var n=function(n){for(;n&&!Ft(n);)n=n.parent;return n.parent?st(n.parent,Pt(n).nodeIndex):null}(this.elOrCompView);return n?n.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?Dt(this.view,this.nodeDef):Dt(this.elView,this.elDef)},enumerable:!0,configurable:!0}),n.prototype.logError=function(n){for(var l,e,i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];2&this.nodeDef.flags?(l=this.view.def,e=this.nodeDef.nodeIndex):(l=this.elView.def,e=this.elDef.nodeIndex);var o=jr(l,e),r=-1,u=function(){var l;return++r===o?(l=n.error).bind.apply(l,Object(t.__spread)([n],i)):ft};l.factory(u),r<o&&(n.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),n.error.apply(n,Object(t.__spread)(i)))},n}();function jr(n,l){for(var e=-1,t=0;t<=l;t++)3&n.nodes[t].flags&&e++;return e}function Vr(n,l,e){for(var t in l.references)e[t]=Mo(n,l,l.references[t])}function qr(n,l,e,t){var i,a,o=Sr,r=Ir,u=Ar;try{Sr=n;var s=l.apply(e,t);return Ir=r,Ar=u,Sr=o,s}catch(c){if(tl(c)||!Ir)throw c;throw i=c,a=zr(),i instanceof Error||(i=new Error(i.toString())),it(i,a),i}}function zr(){return Ir?new Nr(Ir,Ar):null}var Ur=function(){function n(n){this.delegate=n}return n.prototype.createRenderer=function(n,l){return new Br(this.delegate.createRenderer(n,l))},n.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},n.prototype.end=function(){this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},n}(),Br=function(){function n(n){this.delegate=n,this.debugContextFactory=zr,this.data=this.delegate.data}return n.prototype.createDebugContext=function(n){return this.debugContextFactory(n)},n.prototype.destroyNode=function(n){var l=so(n);!function(n){uo.delete(n.nativeNode)}(l),l instanceof oo&&(l.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(n)},n.prototype.destroy=function(){this.delegate.destroy()},n.prototype.createElement=function(n,l){var e=this.delegate.createElement(n,l),t=this.createDebugContext(e);if(t){var i=new ro(e,null,t);i.name=n,co(i)}return e},n.prototype.createComment=function(n){var l=this.delegate.createComment(n),e=this.createDebugContext(l);return e&&co(new oo(l,null,e)),l},n.prototype.createText=function(n){var l=this.delegate.createText(n),e=this.createDebugContext(l);return e&&co(new oo(l,null,e)),l},n.prototype.appendChild=function(n,l){var e=so(n),t=so(l);e&&t&&e instanceof ro&&e.addChild(t),this.delegate.appendChild(n,l)},n.prototype.insertBefore=function(n,l,e){var t=so(n),i=so(l),a=so(e);t&&i&&t instanceof ro&&t.insertBefore(a,i),this.delegate.insertBefore(n,l,e)},n.prototype.removeChild=function(n,l){var e=so(n),t=so(l);e&&t&&e instanceof ro&&e.removeChild(t),this.delegate.removeChild(n,l)},n.prototype.selectRootElement=function(n,l){var e=this.delegate.selectRootElement(n,l),t=zr();return t&&co(new ro(e,null,t)),e},n.prototype.setAttribute=function(n,l,e,t){var i=so(n);i&&i instanceof ro&&(i.attributes[t?t+":"+l:l]=e),this.delegate.setAttribute(n,l,e,t)},n.prototype.removeAttribute=function(n,l,e){var t=so(n);t&&t instanceof ro&&(t.attributes[e?e+":"+l:l]=null),this.delegate.removeAttribute(n,l,e)},n.prototype.addClass=function(n,l){var e=so(n);e&&e instanceof ro&&(e.classes[l]=!0),this.delegate.addClass(n,l)},n.prototype.removeClass=function(n,l){var e=so(n);e&&e instanceof ro&&(e.classes[l]=!1),this.delegate.removeClass(n,l)},n.prototype.setStyle=function(n,l,e,t){var i=so(n);i&&i instanceof ro&&(i.styles[l]=e),this.delegate.setStyle(n,l,e,t)},n.prototype.removeStyle=function(n,l,e){var t=so(n);t&&t instanceof ro&&(t.styles[l]=null),this.delegate.removeStyle(n,l,e)},n.prototype.setProperty=function(n,l,e){var t=so(n);t&&t instanceof ro&&(t.properties[l]=e),this.delegate.setProperty(n,l,e)},n.prototype.listen=function(n,l,e){if("string"!=typeof n){var t=so(n);t&&t.listeners.push(new ao(l,e))}return this.delegate.listen(n,l,e)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setValue=function(n,l){return this.delegate.setValue(n,l)},n}();function $r(n,l,e){return new Hr(n,l,e)}var Hr=function(n){function l(l,e,t){var i=n.call(this)||this;return i.moduleType=l,i._bootstrapComponents=e,i._ngModuleDefFactory=t,i}return Object(t.__extends)(l,n),l.prototype.create=function(n){!function(){if(!or){or=!0;var n=sl()?{setCurrentNode:Pr,createRootView:ur,createEmbeddedView:cr,createComponentView:dr,createNgModuleRef:pr,overrideProvider:gr,overrideComponentView:br,clearOverrides:vr,checkAndUpdateView:xr,checkNoChangesView:Cr,destroyView:kr,createDebugContext:function(n,l){return new Nr(n,l)},handleEvent:Dr,updateDirectives:Fr,updateRenderer:Er}:{setCurrentNode:function(){},createRootView:rr,createEmbeddedView:zo,createComponentView:Bo,createNgModuleRef:yi,overrideProvider:ft,overrideComponentView:ft,clearOverrides:ft,checkAndUpdateView:Ko,checkNoChangesView:Wo,destroyView:Xo,createDebugContext:function(n,l){return new Nr(n,l)},handleEvent:function(n,l,e,t){return n.def.handleEvent(n,l,e,t)},updateDirectives:function(n,l){return n.def.updateDirectives(0===l?yr:wr,n)},updateRenderer:function(n,l){return n.def.updateRenderer(0===l?yr:wr,n)}};mt.setCurrentNode=n.setCurrentNode,mt.createRootView=n.createRootView,mt.createEmbeddedView=n.createEmbeddedView,mt.createComponentView=n.createComponentView,mt.createNgModuleRef=n.createNgModuleRef,mt.overrideProvider=n.overrideProvider,mt.overrideComponentView=n.overrideComponentView,mt.clearOverrides=n.clearOverrides,mt.checkAndUpdateView=n.checkAndUpdateView,mt.checkNoChangesView=n.checkNoChangesView,mt.destroyView=n.destroyView,mt.resolveDep=zi,mt.createDebugContext=n.createDebugContext,mt.handleEvent=n.handleEvent,mt.updateDirectives=n.updateDirectives,mt.updateRenderer=n.updateRenderer,mt.dirtyParentQueries=So}}();var l=function(n){var l=Array.from(n.providers),e=Array.from(n.modules),t={};for(var i in n.providersByKey)t[i]=n.providersByKey[i];return{factory:n.factory,isRoot:n.isRoot,providers:l,modules:e,providersByKey:t}}(jt(this._ngModuleDefFactory));return mt.createNgModuleRef(this.moduleType,n||le.NULL,this._bootstrapComponents,l)},l}(Yn),Gr=(e("yLV6"),function(){return function(){}}()),Wr={};"en"==angularGlobals.lang?Wr={aboutUs:"About Maarch Courrier",abs:"Absent",ABS:"Absent",absOff:"Absence deactivated",absOn:"Absence activated",accordingTemplateParameters:"According to the parameters defined in the model",accountAdded:"Account added",accountDeleted:"Account deleted",accountLinked:"Account linked",accounts:"Accounts",accountUnlinked:"Account unlinked",accountUpdated:"Account updated",acknowledgementReceipt:"Acknowledgement of receipt",acknowledgementReceipts:"Acknowledgement of receipts",acknowledgementReceiptType:"Type of acknowledgement of receipt",acknowledgementSendDate:"Acknowledgement send date",action:"Action",actionAdded:"Action added",actionAvailable:"Available actions",actionCarriedOut:"System action",actionChosen:"Action(s) chosen",actionCreation:"Action creation",actionDeleted:"Action deleted",actionDone:"Action done",actionHistory:"Log action in history",actionHistoryDesc:"Log this action in the mail history. It is strongly recommended to check this option",actionMassForbidden:"This action cannot be used in mass",actionModification:"Action modification",actionName:"Action name",actionNotExist:"This action does not exist",actionPage:"Action result page",actionParameters:"Action parameters",actions:"Actions",actionsAdmin:"Create or update actions",actionsAlt:"Actions",actionsGroupBasketUpdated:"Actions settings updated",actionsHistory:"Actions history",actionsInfo:'The available actions will be the ones with the parameter <b>System action</b> set as : "Simple confirmation", "No confirmation", "Send for visa" and "Close a mail"',actionUpdated:"Action updated",activateAbsence:"Activate absence",activateMyAbs:"Activate my absence",activateNotification:"Activate notification",activationNotificationSend:"E-mail activation sent",active:"Active",activeCron:"Active task(s)",actives:"Active(s)",add:"Add",ADD:"Add",addAll:"Add all",addAllData:"Add all available data",addAttachment:"Add an attachment",addColumn:"Add a column",addContacts:"Add contacts",addCriteria:"Add a criteria",addCustomUnit:"Add a custom unit",addDoctype:"Add a document type",addFirstLevel:"Add a first level",addFolder:"New folder",additionalRoles:"Additional Role(s)",additionals:"Additional",addLinks:"Add/remove links",addNewAccount:"Add a new account",addNote:"Add a note",addNoteToNumericPackage:"Add a note to mail to transmit",addOpinion:"Give your opinion",addOpinionReason:"Please fill the opinion reason",addPerson:"Add a person",addPrivateIndexingModelMsg:"This model will be <b>private</b> and will be a copy of the model",addPrivateIndexingModelMsg2:"with the values <b>currently filled</b>.",address:"Address",addRootFolder:"New root folder",addSecondLevel:"Add second level",addStatus:"Add a status",addSubFolder:"New sub-folder",addUser:"Add a user",addUserOrEntity:"Add a user / an entity",addUsers:"Add users",addValue:"Add a value",addVisaSignUser:"Add an approver or a signatory",adminBasketsDesc:"Define the baskets content and associate them to users groups. List available actions in the basket for a group. Set the display format for each group",adminDocumentTypesDesc:"Define the internal layout of document types (file/ sub-file/ document type)",adminEntitiesDesc:"Manage your organization structure (poles,services, etc.). Also manage diffusion models and visa workflow linked to entities.",adminGroupsDesc:"Add, suspend, or update groups. Add privileges or access to resources.",administration:"Administration",administrationServices:"Administration privileges",adminParamsUsers:"Settings for users administration",adminTagsDesc:"Add, delete, update, or merge tags",adminUsersDesc:"Add, suspend or modify users profiles.",adminWorkflowModelsDesc:"Manage opinion and visa workflow models, which can be used in mails",admissionDate:"Admission date",adrPriority:"Sequence priority",advancedMode:"Advanced mode",afterClickingSendLinkChangePassword:"After clicking on <b>Send</b>, you will receive an email containing a link to change your password. This link will be active for <b>1 hour</b>.",alfrescoAccount:"Alfresco account",alfrescoAPI:"API Alfresco address",alfrescoCreation:"Alfresco account creation",alfrescoModification:"Alfresco account modification",alignCenter:"Center",alignLeft:"Left",alignRight:"Right",all:"All",allActions:"All actions",allAttachments:"All attachments",allEntities:"All entities",allowedExtensions:"Allowed extensions",allRoles:"All roles",alreadyExist:"Identifier already exists",alreadySentToAlfresco:"Document already sent to Alfresco",alt_identifier:"Chrono number",application:"Application",appName:"Application name",approvedUserDate:"Approved",appUpToDate:"Your application is up to date",april:"April",aprilShort:"Apr.",arAlreadyGenerated:"Acknowledgement receipt generated but not sent",arAlreadySend:"Acknowledgement receipt already sent",archival:"Archival",archivalAgency:"Archival agency",archivalAgreement:"Archival agreement",ARelectronic:"Electronic acknowledgement of receipt",arGenWithModelMessage:"The summary sheets will be generated with the fields defined in the resource's indexing model.",ARPaper:"Paper acknowledgement of receipt",arrivalDate:"Arrival date",ARsimple:"AR simple",ARsva:"AR SVA",ARsvr:"AR SVR",ascending:"Ascending",ascOrder:"Ascending order",askOpinion:"Several users want your opinion",askOpinionUser:"ask you for your opinion",askRedirectBasketBeforeAbsence:"Do you want to redirect your baskets before being absent ?",assignBy:"Assigned by",associatedElements:"associated elements",associatedStatus:"Associated status",at:"At",atRange:"at",attachAttachment:"Link an attachment",attachItemToNumericPackage:"Attach an element to sending mail",attachMainDocument:"Link main document",attachment_A_TRA:"To process",attachment_FRZ:"Frozen",attachment_SEND_MASS:"Send to mailing",attachment_SIGN:"Signed",attachment_TRA:"Processed",attachment:"Attachment",attachmentAdded:"Attachment added",attachmentCreation:"Attachment creation",attachmentDeleted:"Attachment deleted",attachmentGenerated:"Attachment generated",attachments:"Attachments",attachmentShort:"Attachment",attachmentSignature:"Signature of attachments in signature book",attachmentsNumericPackage:"Attachments of sent mail",attachmentsNumericPackageToSend:"Attachments of sending mail",attachmentType:"Attachment type",attachmentUpdated:"Attachment updated",attachNote:"Link a note",attachSummarySheet:"Attach the summary sheet",august:"August",augustShort:"Aug.",authorize:"Authorize",authorizedEntities:"Authorized entities destination",autoAR:"Automatic",autocompleteInfo:"Your search must contain at least <b>3 characters</b>",autocompleteInput:"Autocomplete input",autocompletionDisplayable:"Displayable in autocompletion",autocompletionSearchable:"Searchable in autocompletion",autoLogoutAbsence:"You are going to be automatically disconnected after having defined your basket's redirection",avaiblableCustomFieldsTypes:"Available custom type(s)",available:"available",availableContacts:"Available contact",availableCustomFields:"Available custom field(s)",availableDatas:"Available data",availableFields:"Available field(s)",availableGroups:"Available groups",availableIndexingActions:"Available actions when indexing",availableMinorVersions:"Available versions",availableStatuses:"Available statuses",availableUsers:"Available users",availableValues:"Available values",avis:"Opinion workflow",avisAnswer:"Give oneself's opinion",avisAnswerDesc:"Allow this group to appear in the counsellor's list (opinion workflow)",avisSent:"Opinion given",avisUserAsk:"for opinion",avisUserState:"opinion",avisWorkflowDeleted:"Opinion workflow deleted",avisWorkflowUpdated:"Opinion workflow updated",back:"Back",backBasket:"Back to basket",backHome:"Back to home",badActionParam:"Wrong action setting",badEmailsFormat:"Some email addresses are not correct",badFormat:"Bad format",banAutocompleteInput:"Autocomplete BAN input",barcode:"Barcode",basket:"Basket",basketAdded:"Basket added",basketCreation:"Basket creation",basketDeleted:"Basket deleted",basketHelpDesc:"Drag and drop baskets to change the order",basketModification:"Basket modification",basketNotFound:"Basket not found",basketNotification:"Toggle notification for this basket",baskets:"Baskets",basketsAssigned:"Assigned basket(s)",basketsAssignedShort:"Assigned basket(s)",basketsColor:"Baskets color",basketsColorAdmin:"Manage your baskets color",basketsOrder:"Manage baskets order",basketsRedirected:"Redirected baskets",basketsUpdated:"Basket(s) updated",basketUpdated:"Basket updated",bddModeCustomFieldMsg:"This field use database values (see the custom's configration in custom fields administration)",beginSendTest:"Begin send test",belowAllMyEntities:"Below all my entities",belowMyPrimaryEntity:"Below my primary entity",bothAR:"Automatic and manual",browsing:"Browsing",by:"By",calDays:"calendar days",canBeModified:"Index modification",canBeSearched:"Searchable",cancel:"Cancel",canManageFolder:"Can manage this folder",cannotCloseMails:"Some mails cannot be closed because at least one of the mandatory fields are empty",cannotCloseThisMail:"This mail cannot be closed because at least one of the mandatory fields are empty",canNotDeleteIndexingModel:"This indexing model cannot be deleted because at least one mail uses it",canNotEditImportedDocumentWhenJava:"You can not edit imported document with Java applet",canNotMakeAction:"Impossible to do action on the following mails",cannotMergeTags:"This tag has a parent or children : impossible to merge tags",canNotSendAr:"acknowledgement of receipts impossible to send",canNotUpdateApplication:"Some files have been modified on the server. Cannot update the application",cantEditFileWithJava:"You can't edit with the java applet an uploaded document.",cantMoveDoctype:"The document type can only be moved in a sub-folder",cantMoveFirstLevel:"Sub-folder can only be moved in folder",canUpdateData:"Can update resource data",canUpdateIndexingModel:"Can change indexing model",canUpdateResourcesInSignatureBook:"Can modify the main document included in the signature book",categories:"Categories",category_id:"Category",changeMyPassword:"Change my password",changePassword:"Change password",changePasswordInfo:"you must change your password",chars:"character(s)",checkboxInput:"Checkbox input",checkCollaboraOnlineServer:"Connecting to the Collabora Online server",checkEmptyFields:"Required fields to make this action",checkOnlyofficeServer:"Establish contact with the Onlyoffice server",checkSendmail:"Check mail server status",choice:"Choice",chooseAllowedGroups:"Choose allowed groups",chooseAnotherEntityUser:"Choose another person from the entity",chooseBAN:"Choose an address",chooseBasket:"Choose a basket",chooseCategoryAssociation:"Choose one or some associated categories",chooseColor:"Choose a color",chooseContactType:"Choose a contact type",chooseDate:"Choose a date",chooseDefaultAction:"Choose main action",chooseEntity:"Choose a entity",chooseEntityAssociationAccount:"Choose entities who will be able to use this account",chooseEntityAssociationModel:"Choose entities who will be able to use this model",chooseFile:"Choose a file",chooseGroup:"Choose a group",chooseIndexationProfil:"Choose an indexation group",chooseModel:"Choose a model",chooseNewDest:"is <b>recipient</b> of following diffusion list models, please choose a <b>replacement</b> user",chooseNewDestUser:"is <b>recipient</b> of mail being processed, please select a <b>replacement user</b>",chooseRedirectGroup:"Choose another group",chooseValue:"Choose a value",chosenDatas:"Chosen data",chosenModel:"Chosen model",chrono:"Chrono",chronoNumber:"Chrono number",chronoNumberShort:"Chrono Num",circuitNotStarted:"The workflow has not yet started",city:"City",classify:"Classify",classifyIn:"Classify in ...",classifyInFolder:"Classify this mail in a folder",classifying:"Classifying",classifyQuestion:"Do you want to classify",clause:"Clause",clauseGroup:"Group's document perimeter",click:"Click",clickOn:"Click on",close:"Close",closed:"Closed",closeEditor:"Close the editor",closeFullscreen:"Disable fullscreen",closeMailAddNoteMandatory:"Please enter a note below, or add an attachment to the mails.",closeSidePanel:"Close side panel",closingDate:"Closing date",collaboraOnlineEditDenied:"This document cannot be edited with Collabora Online",collaboraOnlineEditDenied2:"cannot be edited with Collabora Online",collaboraOnlineNotEnabled:"The Collabora Online server is not enabled in documentEditorsConfig.xml",collection:"Collection",color:"Color",comment:"Comment",comments:"Comments",communicationMean:"Communication mean",communicationMeanDesc:"Link a contact with another Maarch instance",community:"Community",companyLastname:"Company / Lastname",complementaryFields:"Complementary fields",confidential:"Confidential",confidentiality:"Confidentiality",confidentialityAndSecurity:"Confidentiality and security",configAvisWorkflow:"Opinion workflow configuration",configAvisWorkflowDesc:"Allows to set up the mail opinion workflow",configAvisWorkflowInDetail:"Opinion workflow configuration from the detailed page",configAvisWorkflowInDetailDesc:"Allows to define the opinion workflow directly from the mail detailed page",configurationType:"Configuration type",configurationUpdated:"Configuration updated",configVisaWorkflow:"Visa workflow configuration",configVisaWorkflowDesc:"Allows to set up the mail visa workflow",configVisaWorkflowInDetail:"Visa workflow configuration from detailed page",configVisaWorkflowInDetailDesc:"Allows to define the visa workflow directly from the mail detailed page",confirm:"Confirm",confirmAction:"Do you really want to do this action ?",confirmCloseEditor:"Do you really want to close the editor ? All modifications will be canceled",confirmDeleteAccount:"Do you want to delete this account ?",confirmDeleteMailSignature:"Do you really want to delete the mail signature ?",confirmDeleteSignature:"Do you really want to delete the signature ?",confirmDuplicate:"Do you really want to duplicate this template ?",confirmRemoveNote:"Note deletion",confirmSwitchInPlanText:"Text formatting will be removed. Do you want to continue ?",confirmToBeAbsent:"Do you really want to be absent ? You will be automatically logged out",connectionFailed:"Connection to server failed, please try later.",conservation:"Retention",contact_contact:"Contact",contact_contactGroup:"Contacts group",contact_corporate:"Legal contact",contact_entity:"Entity",contact_internal:"Internal user",contact_physical:"Natural contact",contact_third:"Contact third",contact_user:"User",contact:"Contact",contactAdded:"Contact(s) added",contactCreation:"Contact creation",contactDeleted:"Contact deleted",contactDeletedFromGroup:"Contact was removed from the group",contactDetails:"Details",contactDisabled:"Contact disabled",contactEnabled:"Contact enabled",contactExcluded:"Contact excluded",contactFilledTo:"Contact filled at",contactGroupCreate:"Create contacts group",contactGroupCreation:"Contacts group creation",contactGroupList:"Contacts group list",contactInfo:"Contact card",contactLinkedToMails:"Contact linked to mails",contactModification:"Contact modification",contactReplacement:"Replacement contact",contacts:"Contacts",contactsAdmin:"Contacts administration",contactsAlt:"Contact(s)",contactsDuplicates:"Contacts duplicates",contactsFillingAdministration:"Contact information filling",contactsFillingCriteria:"Filling criteria",contactsFillingRate:"Filling rate",contactsFillingStep1:"First step",contactsFillingStep2:"Second step",contactsFillingStep3:"Last step",contactsFillingStr:"filled",contactsGroupAdded:"Contacts group added",contactsGroupDeleted:"Contacts group deleted",contactsGroupDesc:"If the group is public, all the users will be able to use it. Otherwise it is private, and only the creator can use it",contactsGroupModification:"Contacts group modification",contactsGroups:"Contacts groups",contactsGroupsAlt:"Contact(s) group(s)",contactsGroupUpdated:"Contacts group updated",contactsList:"Contacts list",contactsMerged:"Contacts merged",contactsParameters_addressAdditional1:"Building",contactsParameters_addressAdditional2:"Additional Line",contactsParameters_addressCountry:"Country",contactsParameters_addressNumber:"Street number",contactsParameters_addressPostcode:"Post code",contactsParameters_addressStreet:"Street",contactsParameters_addressTown:"City",contactsParameters_civility:"Civility",contactsParameters_company:"Company",contactsParameters_department:"Department",contactsParameters_email:"Email",contactsParameters_firstname:"First name",contactsParameters_function:"Function",contactsParameters_lastname:"Last name",contactsParameters_phone:"Phone",contactsParameters_notes:"Notes",contactsParameters:"Contacts settings",contactsReassign:"Contacts reassign",contactUpdated:"Contact updated",content_management:"Resource revision",content:"Content",contentHtmlTemplate:"Html template content",contentTxtTemplate:"Text template content",contextParaph:"Context",convertingFile:"Converting file",copieShort:"Cc",copyUsersEntities:"Users / Entities in copy",country:"Country",createAtt:"Create an attachment",createContact:"Create a contact",created:"Created",createdAlt:"Created",createdBy:"Created by",createdOn:"Created on",createFolder:"Create a folder",createNewEntity:"Create new entity",createNewVersion:"Create a new version",createPrivateIndexingModel:"Create an indexing model with current data",createScriptNotification:"Create the script",createUserInMaarchParapheur:"Create in Maarch Parapheur",creation_date:"Creation date",creationDate:"Creation date",criteria:"Criteria",criteriaContactField:"Sender / Recipient",criteriaContactFieldDesc:"Search the company, the last name, the first name or a part of these elements",criteriaResourceField:"Subject / Chrono number",criteriaResourceFieldDesc:"Search a subject / chrono or a part of these elements",criteriaSearch:"Search criteria",currentApplicationVersion:"Current application version",currentFilters:"Current filters",currentIndexingMail:"the mail currently being indexed",currentPsw:"Current password",currentVersion:"Current version",customField:"custom field",customFieldAdded:"Custom field added",customFieldAlreadyExists:"A custom field with this name already exists",customFieldDeleted:"Custom field deleted",customFields:"custom field(s)",customFieldsAdmin:"Custom fields",customFieldsTypesAvailable:"Available custom fields types",customFieldUpdated:"Custom field updated",dashboard:"Dashboard",database:"Database",databaseColumn:"DB column",dataOfMonth:"Month data",datasToExport:"Data to export",dataUpdated:"Data updated",date:"Date",dateAgo:"Since",dateInput:"Date input",dateTo:"The",day:"Day",dayOfMonth:"Day of month",days:"day(s)",dayS:"Day(s)",december:"December",decemberShort:"Dec.",default:"default",defaultAction:"Default action",defaultMode:"Default mode",defaultModel:"Default model",defaultOrder:"Default order",defaultSort:"Default sort",defaultTemplate:"Template nature",defaultValue:"Default value",DEL:"Delete",delAttachment:"Delete this attachment",delay1:"Reminder period 1 before term (in days)",delay2:"Reminder period 2 after term (in days)",delete:"Delete",deleteAll:"Delete all",deleteAssignation:"Delete assignation",deleteAtt:"Delete the attachment",deleteContactInformations:"Links between contact and resources, attachments or acknowledgement receipts will be deleted.",deleteContactwithtoutReassign:"Delete contact without reassigning it",deleteDocumentInDetail:"Delete a mail in detail page",deleteMsg:"Do you really want to delete this element ?",deleteRedirection:"Delete redirection",deleteResource:"Delete document",deleteSignedVersion:"Delete signed version",deleteUnit:"Delete unit",delimiter:"Delimiter",delivery:"Delivery",denomination:"Denomination",department:"Senders' department",departureDate:"Departure date",desactivateAbsence:"Deactivate absence",descending:"Descending",descOrder:"Descending order",description:"Description",dest_user:"Assignee",destination:"Entity destination",destinationChangingInfo:"This mail will be reassigned to this entity",destinationChangingInfoMass:"The mails coming from an entity outside of",destinationChangingInfoMass2:"will be redirected to the entity",destinationEntity:"Destination entity name",destinationEntityType:"Destination entity type",destruction:"Destruction",destUserSetToDefault:"Assignee will be the assignee of the initiator entity diffusion list",detailDoc:"Detail page",detailLink:"Link to detail page",details:"Details",diffListPrivilegeMsgDetails:"In <b>details page</b>, update users in roles: ",diffListPrivilegeMsgIndexing:"In <b>indexing page</b>, update users in roles: ",diffListPrivilegeMsgProcess:"In <b>process page</b>, update users in roles: ",diffNoDestmsg:"No <b>assignee</b> defined, you <b>cannot</b> update the diffusion list.",diffusionList:"Diffusion list",diffusionListUpdated:"Diffusion list updated",diffusionModelAdded:"Workflow model added",diffusionModelCreation:"Workflow model creation",diffusionModelDeleted:"Diffusion model deleted",diffusionModelModification:"Diffusion model modification",diffusionModels:"Diffusion models",diffusionModelUpdated:"Diffusion model updated",diffusionType:"Diffusion type",DIR:"Manager",disable:"Disable",disableBasket:"Disable basket",disabledContactsFilling:"Contacts filling enabled",disabledMailevaConfig:"Maileva configuration is disabled",disableIndex:"Disable mail indexing",disableMailing:"Disable mailing",display:"display",displayAtt:"Display attachments list",displayProcessLimitRes:"Display documents with passed process limit",displayWebserviceAccount:"Display webservice accounts",dlAttachment:"Download the attachment",DLP:"Permanent delegation",docDate:"Document date",docserverAdded:"Document server added",docserverCreation:"Document server creation",docserverDeleted:"Doctype deleted",docserverdeleteWarning:"This document server contains files, these files will not be available in the application.\n\nDo you want to continue ?",docserverDoesNotExists:"Document server does not exists",docservers:"Document servers",docserversAdmin:"Add, suspend or update document servers. Put the document server by kind of affiliations and define their primary group",docserverType:"Document server type",docserverUpdated:"Document server updated",doctype:"Document type",doctypes:"Document types",documentation:"Documentation",documentEditor_collaboraonline:"Open Collabora Online directly inside Maarch Courrier",documentEditor_java:"Open your default document editor in a new window",documentEditor_onlyoffice:"Open OnlyOffice directly inside Maarch Courrier",documentEditor:"Document editor",documentOutOfPerimeter:"This document is out of your perimeter",documents:"document(s)",documentSignedMsg:"The document has been signed, you cannot edit this document",documentsOutOfPerimeter:"Some documents are out of your perimeter",documentTypeAdded:"Document type added",documentTypeDeleted:"Document type deleted",documentTypeReplacement:"Document type replacement",documentTypes:"Document types",documentTypesAlt:"Document(s) types",documentTypeUpdated:"Document type updated",documentUnsigned:"This document has been unsigned",done:"done",doNothingRedirect:"Unlink entity from the user's profile",doNothingRedirectInformations:"The diffusion lists from mails and entity's model will not be modified",doNotModifyUnlessExpert:"Do not edit this section unless you know what you are doing. Incorrect settings can cause the application to malfunction !",doNotReply:"Do not reply",doShippingParameter:"Please set up a template in <b>Administration</b> > <b>Shippings Maileva templates</b>",downloadConvertedFile:"Download converted file",downloadNumericPackage:"Download the numeric package",downloadOriginalFile:"Download the original file",draft:"Draft",draftSaved:"Draft saved",draftUpdated:"Draft updated",dragAndDrop:"Drag and drop",duplicate:"Duplicate",duplicatesContactDisplayed:"{0} duplicates ({1} displayed)",duplicatesContactsAdmin:"Manage contacts duplicates",durationCurrentUse:"Current usage duration (in month)",eachDay:"Each day",eachHour:"Each hour",eachMinute:"Each minute",eachMonth:"Each month",editAcknowledgementReceipt:"Edit the acknowledgement receipt",editAttachment:"Edit the attachment",editDocument:"Edit the document",editingAttachmentInterrupted:"Editing of the attachment has been interrupted. <br/><sub>Please re-edit it.</sub>",editingDocumentMsg:"The document is being edited, do you want to continue ?",editInProgress:"Edit in progress",edition:"Edition",editionAttachmentConfirmFirst:"All merge variables will be replaced taking into account what you have entered in the form on the left.",editionAttachmentConfirmSecond:"Only <b> chrono number </b> ([res_letterbox.alt_identifier]) will be replaced after mail creation",editionAttachmentConfirmThird:"Only <b> chrono number </b> ([res_letterbox.alt_identifier]) and <b>barcode</b> will be replaced after attachment creation",editModelFirst:"Please edit the model first",editNote:"Edit note",editorOption:"Editor option",editorOptionAdmin:"Manage editor option",editResource:"Edit a document",editResourceDesc:"Edit a document. Il will also depend on status setting (Index modification)",electronicSignature:"Electronic signature",electronicTemplate:"Electronic template",elements:"element(s)",email:"Email",emailCannotSent:"Error while sending email",emailDeleted:"Email deleted",emailModel:"Email model",emails:"Emails",emailSendFailed:"Failed to send email",emailSendInProgress:"Sending email...",emailSendSuccess:"Email sent",emailSendTest:"Email send test",emailSent:"Email sent",emailServerParam:"Mail server",emailServerParamDesc:"Connect your mail server with Maarch Courrier in order to send emails",emailSignatureAdded:"Email signature added",emailSignatureDeleted:"Email signature deleted",emailSignatures:"Email signatures",emailSignatureUpdated:"Email signature updated",emptyBasket:"Empty basket",emptySubject:"Empty subject",enable:"Enable",enableAuth:"Activate authentication",enableBasket:"Enable basket",enabledContactsFilling:"Contacts filling disabled",enableGroupMsg:"This group could access to all the app features.",enableIndex:"Enable mail indexation",enableMailing:"Enable mailing",endedCircuit:"Workflow ended",endWorkflow:"You will end the workflow",enterLogin:"Enter your login",enterValue:"You must enter a value",entities:"Entities",entitiesSeparator:"Print separators",entity_label:"Entity",entityAdded:"Entity added",entityDeleted:"Entity deleted",entityDeletedButAnnuaryUnreachable:"Entity deleted but annuary is unreachable",entityFullName:"Full name",entityReplacement:"Entity replacement",entityTooglePrimary:"Set as primary entity",entityTreeInfo:"Click on entity tree to access entity information",entityTreeInfoCreation:"Click on entity tree to link an entity to the new entity",entityTreeInfoSeparator:"Click on entity tree in order to generate the separator",entityType:"Entity type",entityUpdated:"Entity updated",entityWithoutParentMessage:"If you're not a member of this entity, you will automatically become part of it.",entries:"entries",eraseAll:"Erase all",eraseAllFilters:"Erase all filters",eraseValue:"Erase value",ERROR:"Error",errorCollaboraOnline1:"Cannot launch Collabora Online, you are using a local address",errorCollaboraOnline2:"Cannot launch Collabora Online. Check if the Collabora Online server is available",errorOccured:"An error occurred",errorOnlyoffice1:"Cannot launch onlyoffice, you are using a local address",errorOnlyoffice2:"Cannot launch onlyoffice. Check if the onlyoffice server is available",event:"Event",eventList:"Open page",eventProcessDoc:"Process document",eventViewDoc:"View document",eventVisaMail:"Electronic signature book",EXE:"Community representative",exludeContact:"Exclude contact",expectedReturnDate:"Expected return date",export_seda:"Seda export",exportContacts:"Export contacts",exportDatas:"Export data",externalComponents:"External components",externalVisaWorkflow:"Maarch Parapheur visa workflow",february:"February",februaryShort:"Feb.",fewSeconds:"few seconds",field:"Field",fieldNature:"Field nature",fieldNotExist:"Field does not exist",fieldType:"Field type",file:"File",fileAlreadySentToSignatureBook:"File already send to signature book",fileDoesNotExists:"File does not exists",filterBy:"Filter by",filteredFrom:"filtered on",filters:"Filters",fingerprint:"Digital fingerprint",fingerprintsDoNotMatch:"Fingerprints do not match",firstLevelAdded:"Folder added",firstLevelAttached:"Attach to folder",firstLevelDeleted:"Folder deleted",firstLevelDoctype:"Folder",firstLevelUpdated:"Folder updated",firstname:"First name",firstSummarySheetsGenerated:"Only the first 500 summary sheets will be generated.",folder:"Folder",folderAdded:"Folder added",folderDeleted:"Folder deleted",folderInformations:"Folder Information",folderName:"Folder name",folderPinned:"Folder pinned",folders:"Folders",folderStatus:"Folder status",foldersTree:"Folders tree",folderTypeList:"Folder types list",folderUnpinned:"Folder unpinned",folderUpdated:"Folder updated",followedMail:"Followed mail(s)",FON:"Agent",fontBig:"Big",fontBold:"Bold",for:"for",forbiddenDelimiterType:"Delimiters are forbidden for this type",forCapital:"For",format:"Format",found:"found",freeNote:"Free note",friday:"Friday",from:"From",fromRange:"From",functionnalities:"Features",ged_doc:"GED Document",generateAndDownload:"Generate and download",generateAndDownloadPrintedFolder:"Generate the printed folder",generateARMode:"Acknowledgement receipt mode allowed",generateSeparators:"Generate separators for each attachments and acknowledgement receipt",generation:"Generating...",generic:"Generic",genSummarySheets:"Generate Summary sheets",getAssignee:"User destination (entity destination)",getAssigneeSample:"Barbara BAIN (Finance division)",getCategory:"Category",getCreationAndProcessLimitDates:"Creation date - Process limit date",getCreationAndProcessLimitDatesSample:'Jan. 1st - <i class="fa fa-stopwatch"></i> <b color="warn">3 day(s)</b>',getDoctype:"Mail type",getDoctypeSample:"Reclamation",getFolders:"Folders (fixed postion)",getFoldersSample:"Litigation",getModificationDate:"Modification date",getOpinionLimitDate:"Opinion limit date",getParallelOpinionsNumber:"Number of opinions sent",getParallelOpinionsNumberSample:"<b>3</b> opinion(s) sent",getPriority:"Priority",getPrioritySample:"Urgent",getRecipients:"Recipient",getSenders:"Sender",getSignatories:"Signatories",getVisaWorkflow:"Visa workflow",goToAdminParams:"Access to administration settings",goToBasket:"Go to basket...",goToFolder:"Go to folder",groupAdded:"Group added",groupCreation:"Group creation",groupDeleted:"Group deleted",groupeCompany:", a Xelians group company",grouping:"Grouping",groupModification:"Update group",groupRedirect:"Group redirection",groups:"Groups",groupServicesUpdated:"Privileges updated",groupUpdated:"Group updated",handwrittenSignature:"Handwritten signature",hasInterruptedWorkflow:"Has interrupted the workflow",hasNoAttachmentsNotes:"The following mails have no notes and no attachments",hasNoEntity:"The following mails do not have an initiator entity",hello:"Hello",here:"here",hideFoldersTree:"Hide tree",history:"History",historyBatch:"Batch history",historyBatchAdmin:"Read batch history",historyDisabled:"History disabled",home:"Home",homePage:"Home page",host:"Host",hour:"Hour",hours:"hours",html:"HTML",id:"ID",IdMaarch2Maarch:"MAARCH2MAARCH identifier",imgRelated:"Associated image",immediatelyBelowMyPrimaryEntity:"Immediately below my primary entity",immediatelySuperiorMyPrimaryEntity:"Immediately above to my primary entity",importFile:"Import a file",in:"in",inactive:"Inactive",inactives:"Inactive(s)",includeFolderPerimeter:"Access out-of-scope mails in folders and followed mails",incoming:"Incoming",incompleteAddressForPostal:"Incomplete address for postal mailing",indexation:"Mail indexation",indexDisabled:"Mail indexation disabled",indexEnabled:"Mail indexation enabled",indexing_ged_doc:"GED",indexing_incoming:"incoming",indexing_internal:"internal",indexing_outgoing:"outgoing",indexing:"Indexing",indexingFile:"Indexation",indexingForm:"Indexing form",indexingModel:"Indexing model",indexingModelAdded:"Indexing model added",indexingModelCreation:"Indexing model creation",indexingModelDeleted:"Indexing model deleted",indexingModelDisabled:"Indexing model disabled",indexingModelEnabled:"Indexing model enabled",indexingModelModification:"Indexing model modification",indexingModels:"Indexing models",indexingModelUpdated:"Indexing model updated",infoMailevaAccount:"Indicate here your username and the INITIAL password communicated by Maileva when opening your account",information:"Information",informations:"Information",infosActions:"You must choose at least one status and / or a script.",initials:"Initials",initiator:"Initiator",initiatorEntity:"Initiator entity name",initiatorEntityAlt:"Initiator entity",inShipping_doc:"Put the main document in Maileva shipping",inShipping:"In shipping",inSignatureBook_doc:"Put the main document in signature book",inSignatureBook:"In signature book",insufficientPrivilege:"Not enough privilege",integer:"Integer",integerInput:"Integer input",internal:"Internal",interrupted:"Interrupted",interruptVisaWorkflow:"The following users will not be able to approve or sign the mail",invalidClause:"Invalid clause",invalidColumnType:"One of selected columns does not match type",invalidToken:"Token has expired or does not exist",invisibleCopyShort:"Cci",ip:"IP address",isAssociatedTo:"is associated to",isAvailable:"is available",isCopyTo:"is in copy to",isDestTo:"is in destination to",isFolderStatus:"Folder status",isLinkedTo:"Is linked to",isMulticontact:"Multi-contact",isNotAvailable:"is not available",isSearchBasket:"Search basket",isSearchBasketInfo:"Basket only used in advanced search. Not visible in home page.",isSytemAction:"System action",itemRemovedFromAvisTemplate:"The following users have been removed because they cannot give an opinion",itemRemovedFromVisaTemplate:"The following users have been removed because they cannot approve or sign",january:"January",januaryShort:"Jan.",july:"July",julyShort:"July",june:"June",juneShort:"June",keyword:"Keyword",keywordAdded:"Keyword added",keywordDeleted:"Keyword deleted",keywordHelp:"Keyword help",keywordHelpDesc_1:"Identifier of logged user",keywordHelpDesc_10:"Immediate sub-entities (n-1) of entities passed as argument",keywordHelpDesc_11:"Document perimeter example : access to resource of logged user's main entity, or sub-entity of this entity",keywordHelpDesc_12:"Technical user id of logged user",keywordHelpDesc_2:"Email of logged user",keywordHelpDesc_3:"All logged user's entities. Sub-entities are not included",keywordHelpDesc_4:"Logged user's primary entity",keywordHelpDesc_5:"Sub-entities of argument list, can be @my_entities or @my_primary_entity",keywordHelpDesc_6:"Parent entity passed as argument",keywordHelpDesc_7:"All entities to the same level of entity passed as argument",keywordHelpDesc_8:"All entities with de same type passed as argument",keywordHelpDesc_9:"All entities (enabled)",keywordHelper:"Hide / Display keyword help",label:"Label",langISO:"en-US",language:"en",last:"last",lastname:"Last name",launchSearch:"Launch search",less:"Less",life_cycle:"Life cycle",limitDataReached_1000:"You have reached maximum amount of displayable data (<b>1000 data</b>).",limitDataReached:"You have reached maximum amount of displayable data (<b>25000 data</b>), refine your <b>date range</b>",linkAccount:"Link Maarch Parapheur account",linkContact:"Link a contact",linkDetails:"Go to detail page",linkedEntities:"Linked entities",linkedResources:"Main document (Linked mails)",linkedResourcesAttachments:"Attachments (linked mails)",linkedTags:"Linked tags",linkEntityToUserInfo:"Click on an entity in the tree to link / unlink it to this user",linkGroup:"Link a group",linkNewAction:"Link new action",linkResource:"Link to a new mail",links:"Links",linkSelectedResources:"Link selected mails",linkUser:"Link a user",listConfiguration:"Manage group order",listTemplatesRolesUpdated:"Roles updated",loaded:"loaded",loadedFile:"File loaded",loading:"Loading",loadingFile:"Loading file",lockDocserver:"Lock this document server (read only)",lockedBy:"locked by",LOGIN:"Login",loginAlreadyExistsInMaarchParapheur:"Login already exists in Maarch Parapheur",loginIxbus:"Ixbus login",logInOncePasswordChanged:"You will be asked to log in once the password has been changed.",logout:"Log out",LOGOUT:"Logout",m2m_ARCHIVETRANSFER:"Archive transfer",m2m_ARCHIVETRANSFERREPLY:"Archive transfer reply",m2mContactInfo:"Expected Format : SIRET/ENTITY_ID of destination entity",maarchApplication:"Maarch Application",maarchLicence:"Maarch Courrier is distributed under the terms of",maarchParapheurAccountMsg:"A <b>new</b> account with login",maarchParapheurAccountMsg2:" will be created in Maarch Parapheur.",maarchParapheurDocuments:"My mails in Maarch Parapheur",maarchParapheurLinkbroken:"User does not exist in Maarch Parapheur anymore",mail:"Mail",mailAttachments:"mail attachment(s)",mailClassified:"Mail(s) classified",mailDate:"Mail date",mailEntitiesList:"List of entities attached to mails",maileva_addressPage:"Address page",maileva_color:"Color",maileva_duplexPrinting:"Both sides",maileva_economic:"Economic : Ecopli grand compte (D+4)",maileva_fast:"Fast : Lettre grand compte (D+2)",maileva_firstPagePrice:"1st page",maileva_nextPagePrice:"Next page(s)",maileva_postagePrice:"Postage up to 20g",maileva_registered_mail_ar:"Registered mail AR",maileva_registered_mail:"Registered mail",mailevaAccount:"Maileva account",mailevaAdmin:"Maileva shipping",mailevaAdminDesc:"Configure mailing templates for Maileva",mailFrom:"Sending address",mailInformations:"Mail information",mailing:"Mailing",mailingActionInformations:"Following mails contain mailing attachments, mailing will be done after action validation :",mailingMsg:'Mailing enbled<br><br>In this mode, an attachment will be generated for each contacts of the mail. <br><br>To create them immediately, click on <b>"Mailing"</b><br><br> Click on <b>"Validate"</b> if you want them to be generated when transferred to the first signatory of the visa workflow',mailNote:"Main document's note",mailNotPresentInBasket:"Mail not present in any basket",mails:"mails",mailsInFolder:"mail(s) in folder",mailsSent:"Resource(s) sent",mailsSentAlt:"Resources sent",mailSubject:"Mail subject",mailTo:"Mail address destination",mailType:"Mail type",mainDocNumericPackage:"Main document of sent mail",mainDocNumericPackageToSend:"Main document of mail to send",mainDocument:"Main document",makeActionOn:"Do you want to do this action on",makeUpdate:"Update",manageAbsences:"Redirect my baskets",manageAttachments:"Update or delete attachments",manageCreateContacts:"Create contacts",manageCreateContactsDesc:"Create contacts from indexing/processing/detail page",manageNumericPackage:"Send and save numeric package",managePersonalData:"Viewable and updatable",manageSignatures:"Manage signatures",manageTagsInApplication:"Create tags",manageTagsInApplicationDesc:"Create tags while indexing and processing, and in the detail page",manageUpdateContacts:"Update contacts",manageUpdateContactsDesc:"Update contacts from indexing/processing/detail page",mandatory:"Mandatory",mandatoryField:"Mandatory field",manualAR:"Manual",manualSendingAR:"Generated for manual sending...",march:"March",marchShort:"Mar.",maxFileSize:"Maximum file size",maxFileSizeReached:"Maximum file size reached",maxSize:"Maximum size",may:"May",mayShort:"May",memberAllUsers:"All users member of ",memberDiffTypeUsers:"Diffusion type users member",memberUserDest:"Dest user member",memberUsersCopy:"Copy users member",menu:"Menu",menus:"Menus",merge:"Merge",mergeTagWith:"Merge this tag with",mergeWith:"Merge with",minute:"Minute",minutes:"minute(s)",missingAdvert:"This account is currently set as absent.",missingAdvert2:"If you want to connect with this account, the 'absent' mode will be disabled.",missingAdvertTitle:"Absences management",missingAlfrescoConfig:"Alfresco configuration is not enabled or incomplete",missingBasket:"Select the baskets for which you want to delete the redirection :",missingChoose:"Do you want to reactivate your account ?",missingMailevaConfig:"Maileva configuration does not exist",modelDeleted:"Model deleted",modelName:"Model name",modelSaved:"Model saved",modelUpdated:"Model updated",modelUsedByResources:"This model is used by resources, you can't delete it.",modificationSaved:"Modification saved",modificationsProcessed:"Modifications processed",modified:"Modified",modifiedBy:"Modified by",modifiedOn:"Modified on",modifyDiffusionList:"Modify diffusion list",modifyVisaInSignatureBook:"Modify current approver from signature book",modifyVisaInSignatureBookDesc:"Useful if signature book is used as a supervision signature book",module:"Module",modules:"Modules",monday:"Monday",month:"Month",more:"More",moreInfos:"More data",moreOptions:"More options",move:"Move",moveAvisUserErr1:"You cannot move",moveAvisUserErr2:"with users who have already given an opinion",moveQuestion:"Do you want to move",moveVisaUserErr:"You cannot move <p>{0}</p> with users who have already approved / signed or approval / sign is in progress.",mustCompleteAllAttachments:"Please complete all attachments",mustCompleteAR:"You must complete one of two acknowledgement of receipts model",mustDeleteUsersWithNoPrivileges:"You must delete users with insufficient privileges",mustEditAttachmentFirst:"You must edit the attachment first",mustEditDocument:"You must <b>edit</b> the document in order to <b>validate</b> modifications.",mustFillAccountMsg:"Please fill the Alfresco account information in order to choose a root folder.",mustFixErrors:"You must fix the errors.",mustReconnect:"Please reconnect",myBaskets:"My baskets",myBasketsDesc:"Redirect my baskets to others users",myContactsGroups:"My contacts groups",myContactsGroupsDesc:"Manage my contacts lists",myEntities:"My entities",myHistoric:"My history",myInformations:"My information",myLastResources:"My last consulted mails",myMenu:"Personal menu",myParameters:"My parameters",myPinnedFolder:"My pinned folders",myPreferences:"My preferences",myPrimaryEntity:"My primary entity",myProfile:"My profile",myProfileAccess:"Access to my profile",mySignMail:"My signatures (email)",mySignMailDesc:"Manage my email signatures",mySignSignatureBook:"My signatures (signature book)",mySignSignatureBookDesc:"Manage my signature book signatures",nature:"Nature",natureIxbusParapheur:"Document nature",newAccount:"New account",newAction:"New action",newAssignee:"New assignee",newAttachment:"New attachment",newDest:"New recipient for",newDestRes:"New recipient for mails",newElement:"New element",newField:"New field",newLoginInMaarchParapheur:"New Maarch Parapheur login",newPsw:"New password",newsFeed:"News feed",newSignature:"New signature",newValue:"New value",newVersion:"New version",newVersionAdded:"New version added",newVersionAvailable:"A new version is available",next:"Next",no:"No",noAction:"No action",noActionProcessed:"No action processed",noAttachment:"No attachment",noAttachmentClickToAddOne:'No attachments available<br/><sub>Click on <i class="fa fa-paperclip fa-lg" ></i><i class="fa fa-plus"></i> to add one.</sub>',noAttachmentContact:"No (external) contact linked to this attachment",noAttachmentConversion:"No PDF conversion for this attachment",noAttachmentInSignatoryBook:"No available items : not in signature book or frozen",noAttachmentToSend:"No attachment to send",noAvailableAction:"<b>No available action</b>, please set an action in <b>Administration > Groups > Mail indexation</b>.",noAvailableActionProcess:"<b>No available action</b>, please set an action in <b>Administration > Baskets > Current basket</b>.",noAvailableBasket:"No available basket",noAvailableFolder:"No available folder",noAvailableIndexingModel:"No indexing model found<br /><br /><small>Please create a model in Administration > Indexing models</small>",noAvailableMenu:"No available menu",noAvailablePreview:"No available preview",noAvailableValue:"No available value",noCircuitAvailable:"No workflow defined",cannotAddAvisCircuit:"You cannot set avis circuit",cannotAddVisaCircuit:"You cannot set visa circuit",noCustomFieldInfo:"<b>No custom field</b> available, choose available custom fields types on <b>right panel</b> in order to create new custom fields.",noDataAvailable:"No available data",noDatasource:"No data sources",noDefaultIndexingModel:"No default indexing model found, loaded the first model of the list.",noDest:"No <b>assignee</b> defined",noDiffusionList:"No diffusion list",noDoctypeSelected:"No document type selected",noDocument:"No document",noDocumentToSend:"No document to send",noDuplicatesFound:"No duplicates found",noEntity:"No entity",noEvent:"No event",noEventList:"Do nothing",noFieldInModelMsg:"No fields found ! Default fields have been loaded",noFile:"No file",noFileMsg:"<b>Warning</b>, no file uploaded.<br/><br/>Do you want to continue ?",noFirstLevelSelected:"No sub-folder selected",noFranceContact:"Address is not in France for this contact",noMailContact:"No (external) contact linked to this mail",noMailConversion:"Mail does not have PDF conversion",noMove:"This entity / user cannot be moved",none:"None",noNote:"No note",noNumericPackageSelected:"No numeric package selected",noOpinionLimitDate:"The opinion limit date is not defined",noOpinionNote:"No reason is defined",noOverviewAvailable:"No overview available",noPerson:"No person",noPinnedFolder:"No pinned folder",noPrivileges:"Not enough privileges",noRecord:"No elements",noReplacement:"No replacement",noResult:"No results",noRole:"No role",noSelectedAddress:"No selected address",noSelectedContact:"No associated contact",noSelectedFolder:"No selected folder",noSelectedTag:"No selected tag",noSelectedValue:"No selected value",noSendmail:"No mail sent",noSettingsAvailable:"No settings available",noShippingTemplate:"No common shipping Maileva templates available for these entities",noSignableAttachmentInSignatoryBook:"No attachment available : not signable or frozen",notAllowedExtension:"Extension not allowed",NOTE_version:"Annotated version",note:"Note",noTemplate:"No template",notEnoughAlfrescoInformations:"User primary entity has not enough alfresco informations",noteRemoved:"Note deleted",notes:"Note(s)",notesAlt:"Notes",noteTemplates:"Note templates",noteVisibleBy:"Note visible by :",noticeGroupeOrder:"Drag and drop groups to set order",notificationAdded:"Notification added",notificationCreation:"Notification creation",notificationDeleted:"Notification deleted",NotificationDiffusionType:"Diffusion type",NotificationEnabled:"Enabled",NotificationEvent:"Event",notificationJoinDocument:"Attachment main document to notification",notificationModel:"Sendmail template",notificationModification:"Notification modification",notifications:"Notifications",notificationsAdmin:"Create and manage users' notifications based on application event",notificationSchedule:"Schedule notifications",NotificationScheduleInfo:"As a reminder,\n\ncrontab format : [minute] [hour] [day of month] [month] [day of week]",notificationScheduleUpdated:"Schedule updated",notificationsSchedule:"Notifications schedule",NotificationToEnable:"Enable",notificationUpdated:"Notification updated",notInAuthorizedEntities:"is not in one of the <b>authorized entities</b>.",notSavedBecauseInvalid:"Configuration not updated because some data are invalid",notSent:"Not sent",notUsed:"Not used",notVisible:"Not visible",noUserDefinedInMaarchParapheur:"No user created in Maarch Parapheur",noUserReplacement:"No user replacement",november:"November",novemberShort:"Nov.",noVisaWorkflow:"No visa workflow set up.",noVisaWorkflowNoSignature:"No visa workflow set up. <br><sub>No signature possible. </sub>",numericPackageDeleted:"Numeric package deleted",numericPackageImported:"Numeric package imported",numericPackageSent:"Numeric package sent",object:"Subject",objectSample:"Subject sample",october:"October",octoberShort:"Oct.",office:"Office",officialWebsite:"Official website",ok:"Ok",oneHour:"one hour",oneMinute:"one minute",onlyNumber:"Numbers only",onlyofficeEditDenied:"This document with extension",onlyofficeEditDenied2:"cannot be edited with onlyoffice",onlyOfficeNotEnabled:"The onlyoffice server is not enabled in documentEditorsConfig.xml",onRange:"on",openedInExternalModal:"Opened in external modal",openFullscreen:"Enable fullscreen",openIndexation:"Indexing page will open so that you can create a new mail",openInExternalModal:"Open in external modal",openSidePanel:"Open side panel",openThesaurus:"Open the thesaurus",opinionCircuit:"Opinion workflow",opinionLimitDate:"Opinion limit date",opinionLimitDateOutdated:"The opinion limit date is outdated",opinionsSent:"opinion(s) sent",optional:"Optional",optionalField:"Optional field",options:"Options",or:"or",orderBy:"Order",orderValues:"Order values",organization:"ORGANIZATION",otherActions:"Other(s) action(s)",otherInformations:"Other(s) information",otherParameters:"Other(s) parameter(s)",others:"Other(s)",othersBaskets:"Others baskets",othersInfos:"Other(s) information",outdated:"Outdated",outgoing:"Outgoing",outOf:"of",owner:"Owner",page:"Page",paperTemplate:"Paper template",parameter:"Parameter",parameterAdded:"Parameter added",parameterCreation:"Parameter creation",parameterDeleted:"Parameter deleted",parameterModification:"Parameter modification",parameters:"Parameters",parameterUpdated:"Parameter updated",parentFolder:"Parent folder",password:"Password",password2renewal:"After this delay, you must choose another one.",passwordChanged:"Your password has been changed",passwordcomplexityNumber:"At least 1 number",passwordcomplexityNumberRequired:"Number required",passwordcomplexitySpecial:"At least 1 special character",passwordcomplexitySpecialRequired:"Special character required",passwordcomplexityUpper:"At least 1 capital letter",passwordcomplexityUpperRequired:"Capital letter required",passwordhistoryLastUseDesc:"You cannot use your the last",passwordhistoryLastUseDesc2:"passwords",passwordhistoryLastUseRequired:"Number of saved passwords",passwordIxbus:"Ixbus password",passwordlockAttemptsRequired:"Number of connection attempts",passwordlockTimeRequired:"Time freeze",passwordMatch:"The passwords match",passwordminLength:"minimum characters",passwordminLengthRequired:"Minimum password length",passwordModification:"Password modification",passwordNotMatch:"The passwords do not match",passwordrenewal:"This new password will only be active when",passwordrenewalRequired:"Password expiration",passwordRulesUpdated:"Security constraints updated",passwordUpdated:"Password updated",passwordValid:"Password is valid",path:"Path",patternId:"Value must contain only alphanumeric, dot, underscore or dash characters",pdfVersion:"PDF version",pdfVersionFile:"The PDF version of the file",PER:"Natural person (personnel)",perimeter:"Perimeter",personalDataMsg:"User's personal data are",phoneNumber:"Phone number",phpmail:"Php function (mail)",pinFolder:"Pin folder",port:"Port",portIsEmpty:"Onlyoffice server port is empty in documentEditorsConfig.xml",PRE:"Back from absence",preRequisiteMissing:"Requirement missing for OnlyOffice : netcat",preview:"Preview",previous:"Previous",pricesInformations:"Prices information",primary:"Primary",primaryEntity:"Primary entity",primaryInformations:"Primary information",printDate:"Print date",printedFolder:"Printed folder",printFolderDoc:"Print the entire folder",printResultList:"Print list",printSeparatorInfo:"You can print <b>entity</b> or <b>generic</b> separators to use with <b>maarchCapture</b> to record scanned mails in correct entity.",printSeparators:"Print separators",priorities:"Priorities",prioritiesAlt:"Priorities",prioritiesHelpDesc:"Drag and drop priorities to change the order",prioritiesOrder:"Manage priorities order",priority:"Priority",priorityAdded:"Priority added",priorityCreation:"Priority creation",priorityDeleted:"Priority deleted",priorityModification:"Priority modification",priorityUpdated:"Priority updated",private:"Private",privateFolder:"Private folder",privateIndexingModelCreation:"Private indexing model creation",privateModel:"Private model",privileges:"Privileges",process_limit_date:"Process limit date",process:"Process",processAction:"Process action(s)",processDate:"Process date",processDelay:"Process time limit",processDelayDay:"Process time limit (in days)",processLimitDate:"Processing deadline",processMode:"Process modes for acknowledgement receipt",processType:"Process type",production:"PRODUCTION",progression:"Progression",properties:"Properties",pswReseted:"Password reset",public:"Public",publicModel:"Public model",putInSendAttach:"Put in Maileva shipping",putInSignatureBook:"Put in signature book",qmail:"Local mail server (Qmail)",qrcode:"QR code",quickSearchInfo:"Search on ",quickSearchTarget:"subject (mail / attachment), chrono number (mail / attachment), notes content, barcode, EDM number (mail)",quota:"Quota",quotaExceeded:"Quota exceeded",radioInput:"Radio input",reactivateUserDeleted:"This id is linked to a deleted user. Do you want to reactivate it ?",readyToGeneratePaperAr:"paper acknowledgement receipt ready to be generated",readyToSendElectronicAr:"electronic acknowledgement receipt ready to be sent",reaffect:"Reassign",reaffectContactInformations:"Links between contact and resources, attachments or acknowledgement receipts will be reassigned to the chosen contact.",reaffectContactRedirect:"Reassign to a contact",reaffectUserRedirect:"Reassign to user",reaffectUserRedirectInformations:"The user will be replaced by the selected user in the mails and entity's diffusion lists",reallyWantToDeleteContactFromGroup:"Do you really want to remove this contact from the group",reallyWantToDeleteThisGroup:"Do you really want to remove this group ?",reassign:"Reassign",recipient:"Recipient",recipients:"Recipient(s)",recipientShort:"To",reconcileMsg:"The mails will be converted into <b>signed version</b> and linked to the selected mail.",reconcileMsg2:"If an <b>outgoing mail</b> is selected, only the <b>last mail</b> will be converted into a signed version. The others will be <b>deleted</b> !",record:"element(s)",recordingMail:"Record a mail",recordMail:"Record a mail",records:"result(s)",recordsPerPage:"result per page",redirectBasket:"Redirect basket",redirectBaskets:"Redirect selected baskets",redirectConfidentialInfo:"This user has confidential mails linked to this service.<br/>You could link to an other user in this service.",redirectedTo:"Redirected to",redirectModelInfo:"This user is in the <b>diffusion list model</b> of this entity.",redirects:"Redirection",redirectTo:"Redirect to",redirectUserListDiff:"Change destination user of diffusion list model",redirectUserListInstances:"Change of recipient for mail being processed",redirectWhenAbscence:"Redirect the basket to a user",reference:"Reference",rejectVisaBack:"Mail will be sent to the previous user",rejectVisaBackUser:"Mail will be sent back to",relatedBaskets:"Related basket(s)",relatedContactNumber:"Number of contacts related",relatedContacts:"Related contacts",relatedUsers:"Related users",removeAllDatas:"Remove all data",removedFromFolder:"Mail(s) removed",removeFile:"Remove file",removeFromFolder:"Remove from folder",removeNote:"Remove note",removeSignature:"Remove signature",removeUserRedirect:"Remove the user from the diffusion lists",removeUserRedirectInformations:"<em>The user will be removed from the mails and entity's diffusion lists <b>except in the case where it is assignee</b></em>",renewPsw:"Enter the password again",reports:"Reports",reportsAdmin:"Reports administration",requestSentByEmail:"The request has been sent to you by email.",requiredField:"Required field",resetColor:"Reset color",RESETPSW:"Password reset",resetVisaWorkflow:"The visa workflow actions will be <b>reset</b>",resId:"EDM Identifier",resourcesLinked:"Resources linked",resourceUnlinked:"Resource unlinked",restrictedEntity:"Restricted entity",restrictions:"Restrictions",resultPage:"Result page",retentionFinalDisposition:"Fate",retentionRule:"Retention rules",returnDate:"Return date",retypeNewPassword:"Re-type the new password",role:"Role",roles:"Roles",rolesExceptAssignee:"Role(s) excluding assignee",roleUsedInTemplateInfo:"This role is used in the following entities",roleUsedInTemplateInfo2:"Users linked to this role will be removed from diffusion list.",rootFolder:"Root folder",sameLevelMyPrimaryEntity:"Same level of my primary entity",saturday:"Saturday",save:"Save",saveAndClose:"Save and close",saveAsModel:"Save as model",saveAsPrivateModel:"Save as private model",saveDraft:"Save draft",saveInDocserversInfo:"Update history saved in docserver <b>migration</b>.",saveModifications:"Save modifications",saveModifiedData:"Do you want to save your modifications ?",saveNumericPackage:"Save numeric package",sbSignatures:"Signature book signatures",script:"Script",scriptCreated:"Script created",search:"Search",searchAddressBan:"Search an address",searchAddressDb:"Search in the address database",searchByAttachmentType:"Search by attachment type",searchCommunicationMean:"Search a communication mean",searchContact:"Search a contact",searchDatas:"Search data",searchEntities:"Search entity",searchExternalIdM2M:"Search M2M Identifier",searchFolder:"Search folder",searchMailInBasket:"Search mails in basket",searchMailInFolder:"Search mails in folder",searchMails:"Search mails",searchNewAssignee:"Search for a new assignee",searchTag:"Search tag",searchTrackedMail:"Search in followed mails",searchUserInMaarchParapheur:"Search a Maarch Parapheur user",searchValue:"Search a value",secondaryEntity:"Secondary entity",secondaryInformations:"Secondary information",secondLevelAdded:"Sub-folder added",secondLevelAttached:"Attach to sub-folder",secondLevelDeleted:"Sub-folder deleted",secondLevelDoctype:"Sub-folder",secondLevelUpdated:"Sub-folder updated",securities:"Securities",securitiesAdministration:"Security administration",securityConstraints:"Security constraints",see:"see",selectAction:"Perform an action",selectAll:"Select all",selectAllResInBasket:"Select all mails in basket",selectContact:"select a contact",selectDuplicatedContact:"Merge with this contact",selected:"selected",selectedAccount:"Selected account",selectedContact:"Target contact selected",selectedDocumentStatus:"Mail status",selectedElements:"selected element(s)",selectedValue:"Selected value",selectInput:"Select input",selectMailToReconcile:"Please, select a mail to reconcile",selectParentTag:"Select a parent tag",send:"Send",sendActivationNotification:"Send activation email",sendElement:"Send an element",sender:"Sender",senderRecipientInformations:"Sender / Recipient information",sendError:"Send error",senders:"Sender(s)",senderShort:"From",sendingEmail:"Sending email...",sendmail:"Send emails",sendmailShort:"Send emails",sendMode:"Send mode",sendModes:"Send modes",sendNumericPackage:"Send a numeric package",sendNumericPackageInfo:'You can send mail and attachments between <b> two Maarch Courrier instances </b>. <br><br> You will receive <b> an acknowledgment of receipt </b> and you will be able <b>to follow the progress</b> of the mail at the recipient. (see <a href="{0}" target="_blank"> Maarch2GEC </a> for more information).',sendTo:"Send to",sendToDocTo:"You will send this mail to",sent:"Sent",sentToFastParapheur:"Send to FAST-Parapheur",sentToIParapheur:"Send to IParapheur",sentToIxbusParapheur:"Send to Ixbus Parapheur",separators:"Separator(s)",separatorTarget:"Separator target",separatorType:"Separator type",september:"September",septemberShort:"Sept.",setByDefault:"set by default",setInParentFolder:"Set in folder ...",settingsList:"Display settings",shapingOptions:"Layout options",sharedFolder:"Shared folder",shareToEntities:"Share to entities ...",shipping:"Maileva shipping",shippingAdded:"Maileva shipping added",shippingCreation:"Maileva shipping creation",shippingDeleted:"Maileva shipping deleted",shippingModification:"Maileva shipping modification",shippingNotEligible:"Ineligible mail(s) ",shippingReadyToSend:"document(s) ready to be sent",shippings:"Maileva shipping templates",shippingUnavailable:"<b>Warning </b> Shipping is not activated. Check the configuration file mailevaConfig.xml",shippingUpdated:"Maileva shipping updated",shortcut:"Shortcut",shortLabel:"Short label",showFoldersTree:"Show tree",showMore:"Show more",showTreeMsg:"Click here to show the Alfresco tree.",SIGN_version:"Original version",SIGN:"Sign document",signAdded:"Signature added",signatureAdded:"Signature added",signatureDate:"Signature date",signatureDeleted:"Signature deleted",signatures:"Signatures",signatureUpdated:"Signature updated",signDeleted:"Signature deleted",signDocs:"Sign the documents",signed:"Signed",signedAlt:"Signed",signedAttachment:"Signed attachment",signedUserDate:"Signed",signedVersionDeleted:"Signed version deleted",signsSynchronized:"Signatures have been updated in Maarch Parapheur",signUpdated:"Signature updated",signUser:"Signatory",since:"Since",siret:"SIRET number",siretCode:"SIRET code",siretGenerated:"SIRET number generated",siretGeneratedAndSynchronizationDone:"SIRET number generated and annuary synchronization done",siretGeneratedButAnnuaryUnreachable:"SIRET number generated but annuary is unreachable",smtpAuth:"Authentication method",smtpclient:"Smtp client (smtp)",smtprelay:"Smtp relay (sendmail)",SPH:"Superior",status:"Status",statusAdded:"Status added",statusCreation:"Status creation",statusDeleted:"Status deleted",statuses:"Statuses",statusesAdmin:"Create or update statuses",statusModification:"Status modification",statusName:"Status name",statusUpdated:"Status updated",stopFollowingAlert:"Do you want to stop following these mails ?",stringInput:"String",subEntities:"Entities (and sub-entities)",subject:"Subject",summarySheet:"Summary sheet",summarySheets:"Summary sheet(s)",summarySheetsAlt:"Summary sheets",sunday:"Sunday",supervision:"SUPERVISION",suspend:"Suspend",suspended:"Suspended",suspendNotification:"Suspend notification",sveStartDate:"SVE start date",switchInHtml:"Switch to HTML",switchInPlainText:"Switch to plain text",switchManualAddress:"Switch to manual input",syncSignsToMaarchParapheur:"Synchronize signatures to Maarch Parapheur",system:"System",systemActions:"System event(s)",systemParameters:"System parameters",tabProcessPosition:"Tab opened by default",tagAdded:"Tag added",tagCreation:"Tag creation",tagDeleted:"Tag deleted",tagMerged:"Tag merged",tagModification:"Tag modification",tags:"Tags",tagUpdated:"Tag updated",targetDepartment:"Target department",targetFillingField:"Target field for filling",targetIdentifier:"Target identifier",targetLabel:"Target label",targetTable:"Target table",technicalId:"Technical identifier",templateAdded:"Template added",templateAssociateEntities:"List of entities already associated with a template",templateCheckEntities:"The following entities already have a registered template for the type : ",templateCreation:"Template creation",templateDatasource:"Template data source",templateDeleted:"Template deleted",templateDuplicated:"Template duplicated",templateEdition:"Template edition",templateModification:"Template modification",templateName:"Template name",templates:"Templates",templatesAdmin:"Manage templates for attachments, notifications, document generation, send email and notes",templateServiceInfo:"Choose the entity/entities that you want to associate to this template",templateTarget:"Template target",templateType:"Template type",templateUpdated:"Template updated",test:"Test",testSucceeded:"Test succeeded",thanksToCommunity:"And all of Maarch's community !",thanksToExtDev:"Maarch Courrier depends on some external components. A thank-you to their developers !",theTag:"The tag",thisRes:"Following mail(s)",thursday:"Thursday",title:"Title",to_note:"To note",to_sign:"To sign",to_visa:"To approve",to:"to",toAnUser:"To a user",toAService:"To a service",toCopyAddress:"to copy its address",todayDate:"Today's date",toEntities:"To entities",toExport:"Export",toggleQrcode:"Display / Hide QRCode (mail identifier)",tools:"Tools",toolTipDeleteDoctype:"If mails are attached to this type of document, a reassignment screen will be displayed.",tooltipFolderStatus:"If checked, status can be used for folder baskets",tooltipIndexStatus:"If checked, you can edit the metadata of the mails having this status",tooltipSearchStatus:"If checked, the status will be available in the search criteria STATUS of the advanced search",tooMuchDatas:"Too much data to export",toRange:"to",toSchedule:"Schedule",toStatuses:"To statuses",toStatusesDesc:"You cannot choose a status, a default status has been chosen for this action.",totalErrors:"Errors element(s)",totalPrice:"Total price",totalProcessed:"Processed element(s)",toUsersEntities:"To users in entities",trackThisMail:"Follow this mail",transferToDoctype:"Replace by document type",triggerAction:"Trigger action",triggerSystem:"System trigger",tuesday:"Tuesday",txt:"Text",type_label:"Document type",type:"Type",typeCurrentPassword:"Type your current password",typeEnterToCreate:"Type on <b>enter</b> to create element",typeNewPassword:"Type a new password",typeValue:"Type a value",typist:"Typist",unableToDelete:"Unable to delete",unableToSuspend:"Unable to suspend",unclassifyQuestion:"Do you want to un-classify",undefined:"Undefined",undefinedStatus:"Undefined status",unlink:"Unlink this resource",unlinkAccount:"Unlink account",unlinkAction:"Unlink action",unlinkGroup:"Unlink group",unlockDocserver:"Unlock this document server (read and write)",unpinFolder:"Unpin folder",unselectAll:"Unselect all",UNSIGN:"Un-sign document",unsign:"Un-sign",until:"Until",untrackThisMail:"Un-follow this mail",UP:"Update",update:"Update",updateAcknowledgementSendDate:"This will update the send date for paper acknowledgement receipt",updateAtt:"Update the attachment",updateClosingDate:'This will update the mails\' <b class="highlight">closing date</b>.',updateControl:"Check for updates",updateControlDesc:"Check for new tags of Maarch Courrier and update the application to the latest tag",updateDepartureDate:'This will update the mails\' <b class="highlight">departure date</b>.',updateDiffusionExceptRecipientWhileDetails:"Update diffusion list except Assignee when in detail page.",updateDiffusionExceptRecipientWhileIndexing:"Update diffusion list except Assignee when indexing.",updateDiffusionExceptRecipientWhileProcess:"Update diffusion list except Assignee when processing.",updateDiffusionWhileDetails:"Update all parts of diffusion list when in detail page.",updateDiffusionWhileIndexing:"Update all parts of diffusion list when indexing.",updateDiffusionWhileProcess:"Update all parts of diffusion list when processing.",updateIndexingFieldWarning:"Warning:if you remove a field from the model, this field will be reset for <b>ALL</b> resources linked to this model. Do you want to continue ?",updateInfo:"This action cannot be undone and will update all instances of the application! Do not make any actions during process and make sure no users are connected.",updateInProgress:"Update in progress ...",updateKO:"Update failed !",updateOk:"Update successful !",updateStatus:"Mail status modification",updateStatusInformationsChrono:"When typing the CHRONO of a mail, you will update its status. The document will be present in the basket depending of the status you have chosen.",updateStatusInformationsGed:"When typing the EDM NUMBER of a mail, you will update its status. The document will be present in the basket depending of the status you have chosen.",updateVersionControl:"Check for updates",updateWarn:"Update is not possible.<br/>These files have been modified : <br/>",uploadAnOtherFile:"Upload an other file",uploadSignFile:"Upload a signature",uploadSignFileInfo:"Click to add a signature from your computer",uriIsEmpty:"URI of onlyoffice server is empty in documentEditorsConfig.xml",usableFields:"Usable field(s)",usage:"Used for",used:"Used",usedInActionPage:"Used in action page",usedInBasketlist:"Used in basket list",useMailServices:"Use emails services as sender",user:"user",userABS:"Absent",userAdded:"User added",userAuthorized:"User authorized",userCreatedInMaarchParapheur:"Created in Maarch Parapheur",userCreation:"User Creation",userDeleted:"User deleted",userHasntSigned:"The signatory has not signed any document",userIsDeletableBy:"Only a user with the <b>all access rights</b> will be able delete or suspend this user.",userIsNotDeletable:"You do not have <b>all access rights</b> to diffusion list or mails of this user ",userMaarchParapheur:"Maarch Parapheur assignee",userModification:"User modification",userNotInDiffusionList:"You are not in the opinion diffusion list",userOK:"Active",userReplacement:"User replacement",users:"Users",usersAlt:"User(s)",usersMissingInSignatureBook:"missing in Maarch Parapheur",usersNotExistedInMaarchParapheur:"Some users do not exist in Maarch Parapheur",userSPD:"Inactive",userSuspended:"User suspended",userUnauthorized:"Unauthorized user",userUpdated:"User updated",validate:"Validate",validateAction:"Validate action(s)",validateAvisParallel:"Your are validating an opinion request",validateAvisParallelSingle:"Your are validating an opinion request of",validateBy:"Approved by",value:"value",valuesList:"List of values",version:"Version",versions:"Versions",view:"View",VIEW:"View",viewActionsHistory:"View actions history",viewAllHistory:"View all history",viewDocHistory:"View mail actions history",viewDocumentsWithNotes:"View mail with notes",viewDocumentsWithNotesDesc:"View annotated mails from Maarch Parapheur",viewFullHistory:"View all mail history",viewFullHistoryDesc:"View the complete events history related to the usage of Maarch.",viewHistoryDesc:"View the events history related to the usage of Maarch.",viewPersonalData:"Viewable",viewResource:"View document",viewTechnicalInformation:"See technical information",visa:"Visa",visaAnswers:"Approve the responses projects",visaAnswersDesc:"Allows to approve response projects",visaCircuit:"Visa workflow",visaNote:"Instructions",visaUser:"Approver",visaWorkflow:"Visa workflow",visaWorkflowDeleted:"Visa workflow deleted",visaWorkflowInterrupted:"Workflow interrupted",visaWorkflowUpdated:"Visa workflow updated",visaWorkflowWillBeSend:"Visa workflow will be sent to Maarch Parapheur",visibleBy:"Visible by",warnEmptySubject:"You will send an email without subject, continue ?",warnIndex:"This group cannot index mails.",warnLockRes:"mail(s) are locked by",warnLockRes2:"\n\nThis action will ONLY process the NOT locked mails",warnLockResInProgress:"This mail is being processed by",warnMaxDataList:"Maximum amount of displayable data has been reached",warnShapingOption:"<b>Warning !</b> The address will be set in the first page of the sent documents",warnTooMuchSelect:"only the first 500 elements will be processed when an action is lauched",webserviceAccount:"Webservice account",webserviceAccountDesc:"If enabled, this account will not be able to log in and use the application UI.",wednesday:"Wednesday",welcomeInGEC:"Welcome to your <b>E</b>lectronic <b>M</b>ail <b>M</b>anagement app, today is",whereClauseAction:"Emergence condition of the action (where clause)",willBeAutomaticallyInCopy:"will be automatically put <b>in copy</b>",willBeDeletedAndMerged:"will be deleted and merged with the tag",willBeTransferredToNewTag:"Number of mails that will be transferred to the tag",withoutEmail:"Without email",workflowModelIxbus:"Ixbus visa workflow",workflowModels:"Public workflow models",workingDays:"Working days",yes:"Yes",zipcode:"Zip code",hideTool:"Hide toolbar",showTool:"Show toolbar",contactInput:"Contact input",emptyValue:"Empty value",hideModal:"Hide this modal",indexingModelUsedBy:"This model is already used by : ",mailsWithStatus:" mail(s) with the status ",indexingModelReplaceToDelete:"To delete this model you have to replace it by another.",indexingModelFieldsReset:"The following fields are not in the selected model and will be reset for all mails : ",indexingModelReassign:"Reassign indexing model",youCannotUnsign:"You do not have the right to <b>unsign</b> this document. You must be the person who signed this document.",arContentIsEmpty:"AR content is empty",company:"Company",noRecipient:"No associated recipient.",emptyAddress:"Address not filled in",copyInfos:"to copy its information.",find:"find.",showAll:"See other contacts",setContactInfos:"Access the contact details sheet",goToContact:"You will lose your current changes, are you sure you want to continue?",associateContact:"to associate the contact with the mail / attachment.",associateContactToDoc:"Associate the contact with the mail / attachment",m2mEmailDesc:"Used as part of an <b> indirect connection </b> between applications (use of mailings for digital fold)",waitingReception:"Waiting for reception",hasLinkedRes:"At least one mail registered in the last {0} days is assigned to the same contact.",seeMore:"View"}:"fr"==angularGlobals.lang?Wr={aboutUs:"A propos de Maarch Courrier",ABS:"Absence",abs:"Absent",absOff:"Absence désactivée",absOn:"Absence activée",accordingTemplateParameters:"Selon les paramètres définis dans le modèle",accountAdded:"Compte créé",accountDeleted:"Compte supprimé",accountLinked:"Compte associé",accounts:"Comptes",accountUnlinked:"Compte dissocié",accountUpdated:"Compte modifié",acknowledgementReceipt:"Accusé de réception",acknowledgementReceipts:"Accusés de réception",acknowledgementReceiptType:"Type d'accusé de réception",acknowledgementSendDate:"Date d'envoi de l'accusé de réception",action:"Action",actionAdded:"Action ajoutée",actionAvailable:"Actions disponibles",actionCarriedOut:"Action système",actionChosen:"Action(s) choisie(s)",actionCreation:"Création d'une action",actionDeleted:"Action supprimée",actionDone:"Action effectuée",actionHistory:"Tracer l'action",actionHistoryDesc:"Permet tracer cette action dans l'historique du courrier. Il est fortement recommandé de cocher cette option.",actionMassForbidden:"Cette action n'est pas utilisable en masse",actionModification:"Modification de l'action",actionName:"Nom de l'action",actionNotExist:"L'action n'existe pas",actionPage:"Page de résultat de l'action",actionParameters:"Paramétrage d'action",actions:"Actions",actionsAdmin:"Créer ou modifier des actions",actionsAlt:"Actions",actionsGroupBasketUpdated:"Paramètrage des actions modifié",actionsHistory:"Historique des actions",actionsInfo:'Les actions disponibles sont seulement celles définies avec le paramètre <b>Action système</b> : "Confirmation simple", "Sans confirmation", "Envoyer pour visa", "Clôturer un courrier"',actionUpdated:"Action modifiée",activateAbsence:"Activer l'absence",activateMyAbs:"Activer mon absence",activateNotification:"Activer la notification",activationNotificationSend:"Le courriel d'activation a été envoyé",active:"Actif",activeCron:"Tâche(s) active(s)",actives:"Actif(s)",ADD:"Ajout",add:"Ajouter",addAll:"Tout ajouter",addAllData:"Ajouter toutes les données disponibles",addAttachment:"Ajouter une pièce jointe",addColumn:"Ajouter une colonne",addContacts:"Ajouter des contacts",addCriteria:"Ajouter un critère",addCustomUnit:"Ajouter une zone libre",addDoctype:"Ajouter un type de courrier",addFirstLevel:"Ajouter une chemise",addFolder:"Nouveau dossier",additionalRoles:"Rôle(s) supplémentaire(s)",additionals:"Complément(s)",addLinks:"Ajouter/supprimer des liaisons à un courrier",addNewAccount:"Ajouter un nouveau compte",addNote:"Ajouter une annotation",addNoteToNumericPackage:"Ajouter une annotation au courrier à transmettre",addOpinion:"Donner votre avis",addOpinionReason:"Veuillez renseigner le motif de l'avis",addPerson:"Ajouter une personne",addPrivateIndexingModelMsg:"Ce modèle sera <b>public</b> et prendra comme base le modèle",addPrivateIndexingModelMsg2:"avec les valeurs renseignées <b>actuellement</b>.",address:"Adresse",addRootFolder:"Nouveau dossier racine",addSecondLevel:"Ajouter une sous-chemise",addStatus:"Ajouter un statut",addSubFolder:"Nouveau sous-dossier",addUser:"Ajouter un utilisateur",addUserOrEntity:"Ajouter un utilisateur / une entité",addUsers:"Ajouter des utilisateurs",addValue:"Ajouter une valeur",addVisaSignUser:"Ajouter un viseur / signataire",adminAlfrescoDesc:"Administrer les comptes alfresco liés aux entités",adminBasketsDesc:"Définir le contenu des bannettes et les affecter à des groupes d'utilisateurs. Enumérer les actions possibles lors de l'utilisation de la bannette par un groupe donné. Attribuer un format d'affichage de la bannette pour un groupe.",adminDocumentTypesDesc:"Définir la structure interne d'un dossier (chemise / sous-chemise / type de courrier).",adminEntitiesDesc:"Gérer la structure de votre organisation (pôles, services et bureaux). Ainsi que les modèles de diffusion et circuits de visa associés aux entités.",adminGroupsDesc:"Ajouter, suspendre, ou modifier des groupes d'utilisateurs. Attribuer des privilèges ou des autorisations d'accès aux ressources.",administration:"Administration",administrationServices:"Droits d'administration",adminParamsUsers:"Options administration utilisateurs",adminTagsDesc:"Permet de modifier, supprimer, ajouter ou fusionner des mots-clés depuis l'interface d'administration.",adminUsersDesc:"Ajouter, suspendre, ou modifier des profils utilisateurs.",adminWorkflowModelsDesc:"Gérer les modèles de circuits d'avis et de visa pouvant être utilisés dans un courrier.",admissionDate:"Date d'admission",adrPriority:"Priorité de séquence",advancedMode:"Mode avancé",afterClickingSendLinkChangePassword:"Après avoir cliqué sur <b>Envoyer</b>, vous recevrez un courriel contenant un lien pour modifier votre mot de passe. Ce lien sera actif <b>1 heure</b>.",alfresco:"Alfresco",alfrescoAccount:"Compte Alfresco",alfrescoAPI:"Adresse de l'API Alfresco",alfrescoCreation:"Création d'un compte Alfresco",alfrescoModification:"Modification du compte Alfresco",alignCenter:"Centre",alignLeft:"Gauche",alignRight:"Droite",all:"Tous",allActions:"Toutes les actions",allAttachments:"Tous les attachements",allEntities:"Toutes les entités",allowedExtensions:"Extensions autorisées",allRoles:"Tous les rôles",alreadyExist:"L'identifiant existe déjà ",alreadySentToAlfresco:"Courrier déjà envoyé à Alfresco",alt_identifier:"Numéro chrono",application:"Application",appName:"Nom de l'application",approvedUserDate:"Visé",appUpToDate:"Votre application est à jour",april:"Avril",aprilShort:"Avr.",arAlreadyGenerated:"accusé(s) de réception déjà généré(s)",arAlreadySend:"accusé(s) de réception déjà envoyé(s)",archival:"Archivage",archivalAgency:"Service d'archive",archivalAgreement:"Accord de versement",ARelectronic:"Accusé de réception électronique",arGenWithModelMessage:"Les fiches de liaisons seront générées avec les champs définis dans le modèle d'enregistrement du courrier.",ARPaper:"Accusé de réception papier",arrivalDate:"Date d'arrivée",ARsimple:"AR simple",ARsva:"AR SVA",ARsvr:"AR SVR",ascending:"Ascendant",ascOrder:"Ordre ascendant",askOpinion:"Des personnes vous demandent votre avis",askOpinionUser:"vous demande votre avis",askRedirectBasketBeforeAbsence:"Voulez-vous rediriger vos bannettes avant de vous mettre en absence ?",assignBy:"Assignée par",associatedElements:"élément(s) associé(s)",associatedStatus:"Statut associé",at:"À",atRange:"à ",attachAttachment:"Attacher une pièce jointe",attachItemToNumericPackage:"Attacher un document / une pièce jointe au courrier à transmettre",attachMainDocument:"Attacher le document principal",attachment_A_TRA:"À traiter",attachment_FRZ:"Gelée",attachment_SEND_MASS:"À publiposter",attachment_SIGN:"Signée",attachment_TRA:"Traitée",attachment:"Pièce jointe",attachmentAdded:"Pièce(s) jointe(s) créée(s)",attachmentCreation:"Création d'une pièce jointe",attachmentDeleted:"Pièce jointe supprimée",attachmentGenerated:"Pièces jointes générées",attachments:"Pièces jointes",attachmentShort:"PJ",attachmentSignature:"Signature des documents intégrés au parapheur",attachmentsNumericPackage:"Pièces attachées du courrier transmis",attachmentsNumericPackageToSend:"Pièces attachées du courrier à transmettre",attachmentType:"Type d'attachement",attachmentUpdated:"Pièce jointe modifiée",attachNote:"Attacher une annotation",attachSummarySheet:"Attacher la fiche de liaison",august:"Août",augustShort:"Août",authorize:"Autoriser",authorizedEntities:"Entités traitantes autorisées",autoAR:"Automatique",autocompleteInfo:"La recherche doit contenir au minimum <b>3 caractères</b>",autocompleteInput:"Auto-completion",autocompletionDisplayable:"Affichable dans l'autocompletion",autocompletionSearchable:"Recherchable dans l'autocomplétion",autoLogoutAbsence:"Vous allez être automatiquement déconnecté après avoir défini vos redirections de bannettes",avaiblableCustomFieldsTypes:"Type(s) de champ(s) disponible(s)",available:"disponible",availableContacts:"Contact(s) disponible(s)",availableCustomFields:"Champ(s) personnalisé(s) disponible(s)",availableDatas:"Donnée(s) disponible(s)",availableFields:"Champ(s) disponible(s)",availableGroups:"Groupes disponibles",availableIndexingActions:"Actions disponibles à l'enregistrement d'un courrier",availableMinorVersions:"Versions disponibles",availableStatuses:"Statuts disponibles",availableUsers:"Utilisateur(s) disponible(s)",availableValues:"Valeur(s) disponible(s)",avis:"Circuit d'avis",avisAnswer:"Donner son avis",avisAnswerDesc:"Permet à ce groupe d'apparaître dans la liste des personnes Conseillers (circuit d'avis)",avisSent:"Avis donné",avisUserAsk:"pour avis",avisUserState:"avis",avisWorkflowDeleted:"Circuit d'avis supprimé",avisWorkflowUpdated:"Circuit d'avis modifié",back:"Retour",backBasket:"Retour bannette",backHome:"Retour accueil",badActionParam:"Mauvais paramétrage de l'action",badEmailsFormat:"Certaines adresses de courriel ne sont pas correctes",badFormat:"Format incorrect",banAutocompleteInput:"Champ autocomplete BAN",barcode:"Code à barres",basket:"Bannette",basketAdded:"Bannette ajoutée",basketCreation:"Création d'une bannette",basketDeleted:"Bannette supprimée",basketHelpDesc:"Glisser-déposer les bannettes pour modifier l'ordre",basketModification:"Modification d'une bannette",basketNotFound:"Bannette non trouvée",basketNotification:"Activer / désactiver la notification de cette bannette",baskets:"Bannettes",basketsAssigned:"Bannette(s) assignée(s) par un autre utilisateur",basketsAssignedShort:"Bannette(s) assignée(s)",basketsColor:"Couleur des bannettes",basketsColorAdmin:"Gérer vos couleurs de bannettes",basketsOrder:"Gérer l'ordre des bannettes",basketsRedirected:"Bannettes redirigées à un autre utilisateur",basketsUpdated:"Bannette(s) modifiée(s)",basketUpdated:"Bannette modifiée",bddModeCustomFieldMsg:"Ce champ utilise des valeurs de base de données (voir la configuration du champ dans l'administration des champs personnalisés)",beginSendTest:"Commencer le test",belowAllMyEntities:"Inférieur à toutes mes entités",belowMyPrimaryEntity:"Inférieur à mon entité primaire",bothAR:"Automatique et manuel",browsing:"Navigation",by:"Par",calDays:"jour(s) calendaire(s)",canBeModified:"Modification des index",canBeSearched:"Recherche",cancel:"Annuler",canManageFolder:"Droit de modification / suppression du dossier",cannotCloseMails:"Ces courriers ne peuvent pas être clôturés car des champs sont obligatoires pour faire cette action",cannotCloseThisMail:"Ce courrier ne peut pas être clôturé car des champs sont obligatoires pour faire cette action",canNotDeleteIndexingModel:"Ce modèle ne peut pas être supprimé car il a été utilisé pour enregistrer au moins un courrier",canNotEditImportedDocumentWhenJava:"Vous ne pouvez pas éditer un document importé avec l'applet Java",canNotMakeAction:"Impossible de faire l'action sur les courriers suivants",cannotMergeTags:"Ce mot-clé possède un parent ou des enfants : impossible de le fusionner avec un autre mot-clé.",canNotSendAr:"accusé(s) de réception impossible à envoyer",canNotUpdateApplication:"Certains fichiers de l'application sont modifiés sur le serveur. Impossible de mettre à jour l'application",cantEditFileWithJava:"Vous ne pouvez pas éditer avec l'applet Java un document importé.",cantMoveDoctype:"Le type de courrier peut uniquement être déplacé dans une sous-chemise",cantMoveFirstLevel:"La sous-chemise peut uniquement être déplacée dans une chemise",canUpdateData:"Pouvoir modifier les métadonnées du courrier",canUpdateIndexingModel:"Pouvoir changer le modèle d'indexation",canUpdateResourcesInSignatureBook:"Pouvoir modifier le document principal intégré au parapheur",categories:"Catégories",category_id:"Catégorie",changeMyPassword:"Modifier mon mot de passe",changePassword:"Modifier le mot de passe",changePasswordInfo:"vous êtes invité à changer de mot de passe",chars:"caractère(s)",checkboxInput:"Liste à choix multiple",checkCollaboraOnlineServer:"Communication avec le serveur Collabora Online",checkEmptyFields:"Champs requis pour effectuer cette action",checkOnlyofficeServer:"Communication avec le serveur Onlyoffice",checkSendmail:"Vérifier l'état du serveur",choice:"Choix",chooseAllowedGroups:"Choisissez les groupes d'affectations autorisés",chooseAnotherEntityUser:"Choisir une autre personne de l'entité",chooseBAN:"Choisissez une adresse",chooseBasket:"Choisissez une bannette",chooseCategoryAssociation:"Choisissez une ou plusieurs catégories associée",chooseColor:"Choisissez une couleur",chooseContactType:"Choisissez un type de contact",chooseDate:"Choisissez une date",chooseDefaultAction:"Choisissez une action principale",chooseEntity:"Choisissez une entité",chooseEntityAssociationAccount:"Attribuer le compte au(x) service(s)",chooseEntityAssociationModel:"Attribuer le modèle au(x) service(s)",chooseFile:"Choisissez un fichier",chooseGroup:"Choisissez un groupe",chooseIndexationProfil:"Choisissez un groupe d'indexation",chooseModel:"Choisissez un modèle",chooseNewDest:"est en <b>destinataire</b> des modèles de liste de difffusion suivants, veuillez choisir un utilisateur de <b>remplacement</b>",chooseNewDestUser:"est en <b>destinataire</b> de courriers en cours de traitement, veuillez choisir un utilisateur de <b>remplacement</b>",chooseRedirectGroup:"Choisissez un groupe de remplacement",chooseValue:"Choisissez une valeur",chosenDatas:"Donnée(s) sélectionnée(s)",chosenModel:"Modèle utilisé",chrono:"Chrono",chronoNumber:"Numéro chrono",chronoNumberShort:"N° Chrono",circuitNotStarted:"Le circuit n'a pas encore commencé",city:"Ville",classify:"Classer",classifyIn:"Classer dans...",classifyInFolder:"Placer le courrier suivant dans un dossier",classifying:"CLASSEMENT",classifyQuestion:"Voulez-vous classer",clause:"Clause",clauseGroup:"Périmètre documentaire",click:"Cliquez",clickOn:"Cliquez sur",close:"Fermer",closed:"Clôturé",closeEditor:"Fermer l'éditeur",closeFullscreen:"Désactiver le mode plein écran",closeMailAddNoteMandatory:"Merci de saisir une annotation ci-dessous ou ajouter une pièce jointe aux courriers.",closeSidePanel:"Fermer le panneau latéral",closingDate:"Date de clôture",collaboraOnlineEditDenied:"Ce document ne peut pas être édité avec Collabora Online",collaboraOnlineEditDenied2:"ne peut pas être édité avec Collabora Online",collaboraOnlineNotEnabled:"Le serveur Collabora Online n'est pas activé dans documentEditorsConfig.xml",collection:"Collection",color:"Couleur",comment:"Commentaire",comments:"Commentaire(s)",communicationMean:"Moyen de communication",communicationMeanDesc:"Lie un contact à une autre instance de maarch",community:"Communauté",companyLastname:"Organisation / Nom",complementaryFields:"Champs complémentaires",confidential:"Confidentiel",confidentiality:"Confidentialité",confidentialityAndSecurity:"Vie privée et sécurité",configAvisWorkflow:"Configuration du circuit d'avis",configAvisWorkflowDesc:"Permet de configurer le circuit d'avis du courrier",configAvisWorkflowInDetail:"Configuration du circuit d'avis depuis la fiche détaillée",configAvisWorkflowInDetailDesc:"Permet de définir le circuit directement depuis la fiche détaillée du courrier",configurationType:"Type de configuration",configurationUpdated:"Configuration mise à jour",configVisaWorkflow:"Configuration du circuit de visa",configVisaWorkflowDesc:"Permet de configurer le circuit de visa que devra prendre le courrier",configVisaWorkflowInDetail:"Configuration du circuit de visa depuis la fiche détaillée",configVisaWorkflowInDetailDesc:"Permet de configurer le circuit de visa depuis la fiche détaillée",confirm:"Confirmer",confirmAction:"Voulez-vous vraiment effectuer cette action ?",confirmCloseEditor:"Etes-vous sûr de vouloir fermer l'éditeur ? Toutes les modifications seront annulées",confirmDeleteAccount:"Voulez-vous supprimer ce compte ?",confirmDeleteMailSignature:"Voulez-vous vraiment supprimer la signature de mail ?",confirmDeleteSignature:"Voulez-vous vraiment supprimer la signature ?",confirmDuplicate:"Voulez-vous vraiment dupliquer ce template ?",confirmRemoveNote:"Suppression de l'annotation",confirmSwitchInPlanText:"La mise en forme du texte sera supprimée. Souhaitez-vous continuer ?",confirmToBeAbsent:"Voulez-vous vraiment activer votre absence ? Vous serez automatiquement déconnecté",connectionFailed:"La connexion au serveur a échoué. Veuillez réessayer ultérieurement.",conservation:"Conservation",contact_contact:"Contact",contact_contactGroup:"Groupement de contacts",contact_corporate:"Contact moral",contact_entity:"Entité",contact_internal:"Utilisateur interne",contact_physical:"Contact physique",contact_third:"Tier bénéficiaire",contact_user:"Utilisateur",contact:"Contact",contactAdded:"Contact(s) ajouté(s)",contactCreation:"Création d'un contact",contactDeleted:"Contact supprimé",contactDeletedFromGroup:"Le contact a été retiré du groupe",contactDetails:"Coordonnées",contactDisabled:"Contact désactivé",contactEnabled:"Contact activé",contactExcluded:"Contact exclu",contactFilledTo:"Complétude à ",contactGroupCreate:"Créer un groupement de contact",contactGroupCreation:"Création d'un groupement de contact",contactGroupList:"Liste des groupements",contactInfo:"Fiche contact",contactLinkedToMails:"Ce contact est lié à des courriers",contactModification:"Modification d'un contact",contactReplacement:"Contact remplaçant",contacts:"Contacts",contactsAdmin:"Administration des contacts",contactsAlt:"Contact(s)",contactsDuplicates:"Doublons de contacts",contactsFillingAdministration:"Complétude des informations contacts",contactsFillingCriteria:"Critères de complétude",contactsFillingRate:"Taux de complétude",contactsFillingStep1:"Premier palier",contactsFillingStep2:"Deuxième palier",contactsFillingStep3:"Dernier palier",contactsFillingStr:"de complétude.",contactsGroupAdded:"Groupement de contacts créé",contactsGroupDeleted:"Groupement de contacts supprimé",contactsGroupDesc:"Si le groupement est public, tous les utilisateurs pourront utiliser celui-ci. Sinon il est privé, et seul le créateur pourra l'utiliser",contactsGroupModification:"Modification du groupement de contact",contactsGroups:"Groupements de contacts",contactsGroupsAlt:"Groupement(s) de contact(s)",contactsGroupUpdated:"Groupement de contacts modifié",contactsList:"Liste des contacts",contactsMerged:"Contacts fusionnés",contactsParameters_addressAdditional1:"Point de remise",contactsParameters_addressAdditional2:"Complément d'acheminement",contactsParameters_addressCountry:"Pays",contactsParameters_addressNumber:"Numéro de rue",contactsParameters_addressPostcode:"Code postal",contactsParameters_addressStreet:"Voie",contactsParameters_addressTown:"Ville",contactsParameters_civility:"Civilité",contactsParameters_company:"Organisation",contactsParameters_department:"Service",contactsParameters_email:"Courriel",contactsParameters_firstname:"Prénom",contactsParameters_function:"Fonction",contactsParameters_lastname:"Nom",contactsParameters_phone:"Téléphone",contactsParameters_notes:"Annotation",contactsParameters:"Paramétrage des contacts",contactsReassign:"Réaffectation de contacts",contactUpdated:"Contact mis à jour",content_management:"Versioning de document",content:"Contenu",contentHtmlTemplate:"Contenu du modèle html",contentTxtTemplate:"Contenu du modèle texte",contextParaph:"En tant que",convertingFile:"Conversion du fichier",copieShort:"Cc",copyUsersEntities:"Utilisateurs / Entités en copie",country:"Pays",createAtt:"Créer une pièce jointe",createContact:"Créer un contact",created:"Créée",createdAlt:"Créé",createdBy:"Créé par",createdOn:"Créé le",createFolder:"Créer un dossier",createNewEntity:"Créer une nouvelle entité",createNewVersion:"Créer une nouvelle version",createPrivateIndexingModel:"Créer un modèle avec les données actuelles",createScriptNotification:"Créer le script",createUserInMaarchParapheur:"Créer dans Maarch Parapheur",creation_date:"Date de création",creationDate:"Date de création",criteria:"Critère",criteriaContactField:"Expéditeur / Destinataire",criteriaContactFieldDesc:"Recherche sur l'organisation, le nom, le prénom ou une partie des ces éléments",criteriaResourceField:"Sujet / numéro chrono",criteriaResourceFieldDesc:"Recherche un sujet / chrono ou une partie des ces éléments",criteriaSearch:"Critères de recherche",currentApplicationVersion:"Version actuelle de l'application",currentFilters:"Filtre(s) actif(s)",currentIndexingMail:"le courrier en cours d'enregistrement",currentPsw:"Mot de passe actuel",currentVersion:"Version actuelle",customField:"champ personnalisé",customFieldAdded:"Champ personnalisé ajouté",customFieldAlreadyExists:"Un champ personnalisé existe déjà avec ce nom",customFieldDeleted:"Champ personnalisé supprimé",customFields:"champ(s) personnalisé(s)",customFieldsAdmin:"Champs personnalisés",customFieldsTypesAvailable:"Types de champs disponibles",customFieldUpdated:"Champ personnalisé modifié",dashboard:"Vue d'ensemble",database:"Base de données",databaseColumn:"Colonne BDD",dataOfMonth:"Données du mois",datasToExport:"Données à exporter",dataUpdated:"Données modifiées",date:"Date",dateAgo:"Il y a",dateInput:"Champ date",dateTo:"Le",day:"Jour",dayOfMonth:"Jour du mois",days:"jour(s)",dayS:"Jour(s)",december:"Décembre",decemberShort:"Déc.",default:"par défaut",defaultAction:"Action par défaut",defaultMode:"Mode standard",defaultModel:"Modèle par défaut",defaultOrder:"Tri par défaut",defaultSort:"Tri par défaut",defaultTemplate:"Nature du modèle",defaultValue:"Valeur par défaut",DEL:"Suppression",delAttachment:"Enlever la pièce jointe",delay1:"Délai relance 1 avant terme (en jours)",delay2:"Délai relance 2 après terme (en jours)",delete:"Supprimer",deleteAll:"Tout supprimer",deleteAssignation:"Supprimer l'assignation",deleteAtt:"Supprimer la pièce jointe",deleteContactInformations:"Les différents liens entre le contact et les courriers, pièce-jointes ou accusés de réception seront supprimés.",deleteContactwithtoutReassign:"Supprimer le contact sans le remplacer",deleteDocumentInDetail:"Supprimer un courrier dans la fiche détaillée",deleteMsg:"Voulez-vous vraiment supprimer cet élément ?",deleteRedirection:"Supprimer la redirection",deleteResource:"Supprimer le document",deleteSignedVersion:"Supprimer la version signée",deleteUnit:"Supprimer la zone",delimiter:"Délimiteur",delivery:"Pris en charge",denomination:"Dénomination",department:"Département des expéditeurs",departureDate:"Date de départ",desactivateAbsence:"Désactiver l'absence",descending:"Descendant",descOrder:"Ordre descendant",description:"Description",dest_user:"Attributaire",destination:"Entité traitante",destinationChangingInfo:"Le courrier sera réattribué à l'entité",destinationChangingInfoMass:"Les courriers issus d'une entité externe à ",destinationChangingInfoMass2:"seront redirigés à l'entité",destinationEntity:"Libellé de l'entité traitante",destinationEntityType:"Libellé du type de l'entité traitante",destruction:"Destruction",destUserSetToDefault:"L'attributaire sera celui de la liste de diffusion de l'entité initiatrice",detailDoc:"Fiche détaillée",detailLink:"Lien vers la fiche détaillée",details:"Détails",diffListPrivilegeMsgDetails:"Sur la <b>fiche détaillée du courrier</b>, modifier les personnes des rôles suivants : ",diffListPrivilegeMsgIndexing:"Lors de l'<b>enregistrement du courrier</b>, modifier les personnes des rôles suivants : ",diffListPrivilegeMsgProcess:"Lors du <b>traitement du courrier</b>, modifier les personnes des rôles suivants : ",diffNoDestmsg:"Aucun <b>atttributaire</b> défini, modification de la liste <b>impossible</b>.",diffusionList:"Liste de diffusion",diffusionListUpdated:"Liste de diffusion mise à jour",diffusionModelAdded:"Modèle de diffusion ajouté",diffusionModelCreation:"Création d'un modèle de diffusion",diffusionModelDeleted:"Modèle de diffusion supprimé",diffusionModelModification:"Modification d'un modèle de diffusion",diffusionModels:"Modèles de diffusion",diffusionModelUpdated:"Modèle de diffusion mis à jour",diffusionType:"Type de Modèle",DIR:"Directeur",disable:"Désactiver",disableBasket:"Désactiver la bannette",disabledContactsFilling:"Complétude activée",disabledMailevaConfig:"La configuration Maileva est désactivé",disableIndex:"Désactiver l'enregistrement de courrier",disableMailing:"Désactiver le publipostage",display:"affichage",displayAtt:"Afficher la liste des pièces jointes",displayProcessLimitRes:"Afficher les courriers en retard",displayWebserviceAccount:"Afficher les comptes de webservice",dlAttachment:"Télécharger la pièce jointe",DLP:"Délégation permanente",docDate:"Date du courrier",docserverAdded:"Zone de stockage ajoutée",docserverCreation:"Création d'une zone de stockage",docserverDeleted:"Zone de stockage supprimée",docserverdeleteWarning:"La zone de stockage semble avoir des fichiers stockés, ils ne seront plus disponibles dans l'application.\n\nVoulez-vous continuer ?",docserverDoesNotExists:"La zone de stockage n'existe pas",docservers:"Zones de stockage",docserversAdmin:"Ajouter, suspendre, ou modifier des zones de stockage. Placer les zones de stockages par type d'appartenance et définir leur groupe primaire",docserverType:"Type de Zone de stockage",docserverUpdated:"Zone de stockage modifiée",doctype:"Type de courrier",doctypes:"Types de courriers",documentation:"Documentation",documentEditor_collaboraonline:"Ouvre la suite Collabora Online directement dans l'application Maarch Courrier",documentEditor_java:"Ouvre votre éditeur de document par défaut dans une nouvelle fenêtre",documentEditor_onlyoffice:"Ouvre la suite OnlyOffice directement dans l'application Maarch Courrier",documentEditor:"Editeur de document",documentOutOfPerimeter:"Ce document est en dehors de votre périmètre",documents:"document(s)",documentSignedMsg:"Le document a été signé, vous ne pouvez pas editer ce document",documentsOutOfPerimeter:"Certains documents sont en dehors de votre périmètre",documentTypeAdded:"Type de courrier ajouté",documentTypeDeleted:"Type de courrier supprimé",documentTypeReplacement:"Remplacement du type de courrier",documentTypes:"Typologies de courriers",documentTypesAlt:"Typologie(s) de courrier(s)",documentTypeUpdated:"Type de courrier mis à jour",documentUnsigned:"La signature du document a été retirée",done:"effectuée",doNothingRedirect:"Dissocier l'entité du profil de l'utilisateur",doNothingRedirectInformations:"Les listes de diffusion des courriers et du modèle de l'entité ne seront pas modifiées",doNotModifyUnlessExpert:"Ne pas modifier cette section à moins de savoir ce que vous faites. Un mauvais paramètrage peut entrainer des dysfonctionnements de l'application!",doNotReply:"Ne pas répondre",doShippingParameter:"Veuillez paramétrer un modèle dans <b>Administration</b> > <b>Modèles d'envois postaux Maileva</b>",downloadConvertedFile:"Réception de la conversion",downloadNumericPackage:"Télécharger le pli numérique",downloadOriginalFile:"Télécharger le fichier original",draft:"Brouillon",draftSaved:"Brouillon enregistré",draftUpdated:"Brouillon modifié",dragAndDrop:"Glisser-déposer",duplicate:"Dupliquer",duplicatesContactDisplayed:"{0} doublons ({1} affichés)",duplicatesContactsAdmin:"Gérer les doublons de contacts",durationCurrentUse:"Durée d'utilité courante (en mois)",eachDay:"Chaque jour",eachHour:"Toutes les heures",eachMinute:"Toutes les minutes",eachMonth:"Chaque mois",editAcknowledgementReceipt:"Editer l'accusé de réception",editAttachment:"Editer la pièce jointe",editDocument:"Editer le document",editingAttachmentInterrupted:"L'édition de la pièce jointe a été interrompue.<br/><sub>Veuillez la ré-éditer.</sub>",editingDocumentMsg:"Le document est en cours d'édition, voulez-vous continuer ?",editInProgress:"Edition en cours",edition:"Édition",editionAttachmentConfirmFirst:"Toutes les variables de fusion seront remplacées en prenant en compte ce que vous avez saisi dans le formulaire de gauche.",editionAttachmentConfirmSecond:"Seul le <b>numéro chrono</b> ([res_letterbox.alt_identifier]) sera remplacé après l'enregistrement du courrier",editionAttachmentConfirmThird:"Seul le <b>numéro chrono</b> ([attachment.alt_identifier]) et le <b>code barre</b> seront remplacés après l'enregistrement de la pièce jointe",editModelFirst:"Veuillez éditer le modèle avant de valider",editNote:"Modifier l'annotation",editorOption:"Option d'édition",editorOptionAdmin:"Gérer les paramètres d'édition",editResource:"Modifier les données d'un courrier",editResourceDesc:"Modifier les données d'un courrier. Cela dépendra aussi du paramétrage du statut (Modification des index)",electronicSignature:"Signature électronique",electronicTemplate:"Modèle électronique",elements:"élément(s)",email:"Courriel",emailCannotSent:"Erreur lors de l'envoi du courriel",emailDeleted:"Courriel supprimé",emailModel:"Modèle de courriel",emails:"Courriels",emailSendFailed:"Échec d'envoi",emailSendInProgress:"En cours d'envoi...",emailSendSuccess:"Envoi réussi",emailSendTest:"Test d'envoi",emailSent:"Courriel envoyé",emailServerParam:"Serveur e-mail",emailServerParamDesc:"Connecter votre serveur e-mail à Maarch Courrier afin de pouvoir envoyer des courriels",emailSignatureAdded:"Signature de mail ajoutée",emailSignatureDeleted:"Signature de mail supprimée",emailSignatures:"Signatures de courriel",emailSignatureUpdated:"Signature de mail modifiée",emptyBasket:"Bannette vide",emptySubject:"Objet vide",enable:"Activer",enableAuth:"Activer l'authentification",enableBasket:"Activer la bannette",enabledContactsFilling:"Complétude désactivée",enableGroupMsg:"Ce groupe pourra potentiellement avoir accès à l'ensemble des fonctionnalités de l'application.",enableIndex:"Activer l'enregistrement de courrier",enableMailing:"Activer le publipostage",endedCircuit:"Circuit terminé",endWorkflow:"Vous allez terminer le circuit",enterLogin:"Saisissez votre identifiant",enterValue:"Vous devez entrer une valeur",entities:"Entités",entitiesSeparator:"Impression des séparateurs",entity_label:"Entité",entityAdded:"Entité ajoutée",entityDeleted:"Entité supprimée",entityDeletedButAnnuaryUnreachable:"Entité supprimée mais la synchronisation avec l'annuaire est impossible",entityFullName:"Bloc arborescence",entityReplacement:"Remplacement de l'entité",entityTooglePrimary:"Passage en entité primaire",entityTreeInfo:"Cliquez sur une entité de l'arborescence pour accéder à ses informations",entityTreeInfoCreation:"Cliquez sur une entité de l'arborescence pour associer la nouvelle entité à celle-ci",entityTreeInfoSeparator:"Cliquez sur une entité de l'arborescence afin de l'ajouter à la génération des séparateurs",entityType:"Type d'entité",entityUpdated:"Entité modifiée",entityWithoutParentMessage:"Si vous n'êtes pas directement membre de cette entité, vous le deviendrez automatiquement.",entries:"entrée(s)",eraseAll:"Tout effacer",eraseAllFilters:"Effacer tous les filtres",eraseValue:"Effacer la valeur",ERROR:"Erreur",errorCollaboraOnline1:"Impossible de lancer Collabora Online, vous utilisez une adresse locale",errorCollaboraOnline2:"Impossible de lancer Collabora Online. Veuillez vérifier la disponibilité du serveur",errorOccured:"Une erreur s'est produite",errorOnlyoffice1:"Impossible de lancer onlyoffice, vous utilisez une adresse locale",errorOnlyoffice2:"Impossible de lancer onlyoffice. Veuillez vérifier la disponibilité du serveur",event:"Événement",eventList:"Ouverture de la page",eventProcessDoc:"Fiche de traitement",eventViewDoc:"Visionneuse de document",eventVisaMail:"Parapheur électronique",EXE:"Représentant de la collectivité",exludeContact:"Exclure ce contact",expectedReturnDate:"Date de retour attendue",export_seda:"Export seda",exportContacts:"Exporter les contacts",exportDatas:"Exporter les données",externalComponents:"Composants externes",externalVisaWorkflow:"Circuit de visa Maarch Parapheur",february:"Février",februaryShort:"Fév.",fewSeconds:"quelques secondes",field:"Champ",fieldNature:"Nature champ",fieldNotExist:"Le champ n'existe pas",fieldType:"Type champ",file:"Fichier",fileAlreadySentToSignatureBook:"Fichier déjà envoyé au parapheur",fileDoesNotExists:"Le fichier n'existe pas",filterBy:"Filtrer",filteredFrom:"filtré sur un ensemble de",filters:"Filtres",fingerprint:"Empreinte numérique",fingerprintsDoNotMatch:"Les empreintes numériques ne correspondent pas",firstLevelAdded:"Chemise créée",firstLevelAttached:"Rattacher à la chemise",firstLevelDeleted:"Chemise supprimée",firstLevelDoctype:"Chemise",firstLevelUpdated:"Chemise mise à jour",firstname:"Prénom",firstSummarySheetsGenerated:"Seules les 500 premières fiches de liaison seront générées.",folder:"Dossier",folderAdded:"Dossier ajouté",folderDeleted:"Dossier supprimé",folderInformations:"Informations du dossier",folderName:"Libellé du dossier",folderPinned:"Dossier épinglé",folders:"Dossiers",folderStatus:"Statut du dossier",foldersTree:"Arborescence des dossiers",folderTypeList:"Liste des types de dossier",folderUnpinned:"Dossier désépinglé",folderUpdated:"Dossier modifié",followedMail:"Courrier(s) suivi(s)",FON:"Agent",fontBig:"Grand",fontBold:"Gras",for:"pour",forbiddenDelimiterType:"Les délimiteurs sont interdits pour ce type",forCapital:"Pour",format:"Format",found:"trouvée",freeNote:"Note libre",friday:"Vendredi",from:"À partir de",fromRange:"De",functionnalities:"Fonctionnalités",ged_doc:"Document GED",generateAndDownload:"Générer et télécharger",generateAndDownloadPrintedFolder:"Générer le dossier d'impression",generateARMode:"Mode d'accusé de réception autorisé",generateSeparators:"Générer des intercalaires entre les pièces jointes et accusés de réception",generation:"Génération...",generic:"Générique",genSummarySheets:"Générer les fiches de liaison",getAssignee:"Attributaire (entité traitante)",getAssigneeSample:"Barbara BAIN (Pôle Jeunesse et Sport)",getCategory:"Catégorie",getCreationAndProcessLimitDates:"Date de création - Date limite de traitement",getCreationDate:"Date de création",getProcessLimitDate:"Date limite de traitement",getCreationAndProcessLimitDatesSample:'1er janv. - <i class="fa fa-stopwatch"></i> <b color="warn">3 jour(s)</b>',getCreationDateSample:"1er janv.",getProcessLimitDateSample:"10 janv.",getDoctype:"Type de courrier",getDoctypeSample:"Réclamation",getFolders:"Dossiers (emplacement fixe)",getFoldersSample:"Litiges",getModificationDate:"Date de mise à jour",getOpinionLimitDate:"Date limite d'envoi des avis",getParallelOpinionsNumber:"Nombre d'avis donnés",getParallelOpinionsNumberSample:"<b>3</b> avis donné(s)",getPriority:"Priorité",getPrioritySample:"Urgent",getRecipients:"Destinataire",getSenders:"Expéditeur",getSignatories:"Signataire(s)",getVisaWorkflow:"Circuit de visa",goToAdminParams:"Accéder aux paramètres de l'administration",goToBasket:"Accéder à la bannette...",goToFolder:"Accéder au dossier",groupAdded:"Groupe ajouté",groupCreation:"Création d'un groupe",groupDeleted:"Groupe supprimé",groupeCompany:"société du groupe Xelians",grouping:"Groupement",groupModification:"Modification d'un groupe",groupRedirect:"Changement de groupe",groups:"Groupes",groupServicesUpdated:"Privilèges modifiés",groupUpdated:"Groupe modifié",handwrittenSignature:"Signature manuscrite",hasInterruptedWorkflow:"A terminé le circuit",hasNoAttachmentsNotes:"Les courriers suivants n'ont ni annotation, ni pièces jointe",hasNoEntity:"Les courriers suivants n'ont pas d'entité initiatrice",hello:"Bonjour",here:"ici",hideFoldersTree:"Cacher l'arborescence",history:"Historique",historyBatch:"Historique des batchs",historyBatchAdmin:"Consulter l'historique des batchs",historyDisabled:"Historique désactivé",home:"Accueil",homePage:"Page d'accueil",host:"Hôte",hour:"Heure",hours:"heures",html:"HTML",id:"Identifiant",IdMaarch2Maarch:"Identifiant MAARCH2MAARCH",imgRelated:"Image associée",immediatelyBelowMyPrimaryEntity:"Immédiatement inférieur à mon entité primaire",immediatelySuperiorMyPrimaryEntity:"Immédiatement supérieur à mon entité primaire",importFile:"Importer un fichier",in:"dans",inactive:"Inactif",inactives:"Inactif(s)",includeFolderPerimeter:"Consulter les courriers hors périmètre dans les dossiers et courriers suivis",incoming:"Courrier arrivée",incompleteAddressForPostal:"Adresse incomplète pour envoi postal",indexation:"Enregistrement de courrier",indexDisabled:"Enregistrement de courrier désactivé",indexEnabled:"Enregistrement de courrier activé",indexing_ged_doc:"GED",indexing_incoming:"arrivée",indexing_internal:"interne",indexing_outgoing:"départ",indexing:"Indexations",indexingFile:"Enregistrement de courrier",indexingForm:"Formulaire d'enregistrement",indexingModel:"Modèle d'enregistrement",indexingModelAdded:"Modèle d'enregistrement ajouté",indexingModelCreation:"Création d'un modèle d'enregistrement",indexingModelDeleted:"Modèle d'enregistrement supprimé",indexingModelDisabled:"Modèle d'enregistrement désactivé",indexingModelEnabled:"Modèle d'enregistrement activé",indexingModelModification:"Modification du modèle d'enregistrement",indexingModels:"Modèles d'enregistrements",indexingModelUpdated:"Modèle d'enregistrement modifié",infoMailevaAccount:"Indiquer ici votre identifiant ainsi que le mot de passe INITIAL communiqué par Maileva lors de l'ouverture de votre compte",information:"Information",informations:"Informations",infosActions:"Vous devez choisir au moins un statut et / ou un script.",initials:"Initiales",initiator:"Opérateur",initiatorEntity:"Libellé de l'entité initiatrice",initiatorEntityAlt:"Entité initiatrice",inShipping_doc:"Intégrer le document principal à l'envoi Maileva",inShipping:"Intégré à l'envoi Maileva",inSignatureBook_doc:"Intégrer le document principal au parapheur",inSignatureBook:"Intégré au parapheur",insufficientPrivilege:"Privilège insuffisant",integer:"Entier",integerInput:"Champ numérique",internal:"Courrier interne",interrupted:"Interrompu",interruptVisaWorkflow:"Les utilisateurs suivants ne pourront pas viser le courrier",invalidClause:"Clause non valide",invalidColumnType:"Une des colonnes selectionnées ne correspond pas au type choisi",invalidToken:"Le jeton est expiré ou n'existe plus",invisibleCopyShort:"Cci",ip:"Adresse IP",isAssociatedTo:"est associé à ",isAvailable:"est disponible",isCopyTo:"est en copie de",isDestTo:"est en destination de",isFolderStatus:"Statut de dossier",isLinkedTo:"Est associé à ",isMulticontact:"Multi-contact",isNotAvailable:"n'est pas disponible",isSearchBasket:"Bannette de recherche",isSearchBasketInfo:"Bannette servant uniquement pour la recherche avancée, non visible sur la page d'accueil.",isSytemAction:"Action système",itemRemovedFromAvisTemplate:"Les utilisateurs suivants ont été retirés car ils n'ont pas le droit de donner un avis",itemRemovedFromVisaTemplate:"Les utilisateurs suivants ont été retirés car ils n'ont pas le droit de viser ou signer",january:"Janvier",januaryShort:"Jan.",july:"Juillet",julyShort:"Juil.",june:"Juin",juneShort:"Juin",keyword:"Mot-clé",keywordAdded:"Mot-clé ajouté",keywordDeleted:"Mot-clé supprimé",keywordHelp:"Aide sur les mots-clés",keywordHelpDesc_1:"Identifiant de l'utilisateur connecté",keywordHelpDesc_10:"Sous-entités immédiates (n-1) des entités données en argument",keywordHelpDesc_11:"Exemple de périmètre documentaire : accès aux ressources concernant le service principal de l'utilisateur connecté, ou les sous-services de ce service",keywordHelpDesc_12:"Identifiant technique de l'utilisateur connecté",keywordHelpDesc_2:"Courriel de l'utilisateur connecté",keywordHelpDesc_3:"Toutes les entités rattachées à l'utilisateur connecté. N'inclut pas les sous-entités",keywordHelpDesc_4:"Entité primaire de l'utilisateur connecté",keywordHelpDesc_5:"Sous-entités de la liste d'argument, qui peut aussi être @my_entities ou @my_primary_entity",keywordHelpDesc_6:"Entité parente de l'entité en argument",keywordHelpDesc_7:"Toutes les entités du même niveau que l'entité en argument",keywordHelpDesc_8:"Toutes les entités du même type mis en argument",keywordHelpDesc_9:"Toutes les entités (actives)",keywordHelper:"Afficher / Cacher l'aide sur les mots-clés",label:"Libellé",langISO:"fr-FR",language:"fr",last:"dernier",lastname:"Nom",launchSearch:"Lancer la recherche",less:"Moins",life_cycle:"Cycle de vie",limitDataReached_1000:"Limite de <b>1000 entrées</b> atteinte.",limitDataReached:"Vous avez atteint la limite d'affichage (<b>25000 entrées</b>), veuillez affiner votre <b>plage de dates</b>",linkAccount:"Lier un compte Maarch Parapheur",linkContact:"Associer un contact",linkDetails:"Accédez à la fiche détaillée",linkedEntities:"Entités associées",linkedResources:"Document principal (Courriers liés)",linkedResourcesAttachments:"Pièces jointes (courriers liés)",linkedTags:"Mots-clés associés",linkEntityToUserInfo:"Cliquez sur une entité de l'arborescence pour l'associer / dissocier à l'utilisateur",linkGroup:"Associer un groupe",linkNewAction:"Associer une nouvelle action",linkResource:"Lier un nouveau courrier",links:"Liaisons",linkSelectedResources:"Lier les courriers sélectionnés",linkUser:"Associer un utilisateur",listConfiguration:"Paramétrer l'affichage de la liste",listTemplatesRolesUpdated:"Rôles modifiés",loaded:"chargé",loadedFile:"Fichier importé",loading:"Chargement",loadingFile:"Chargement du fichier",lockDocserver:"Verrouiller la zone de stockage (lecture seule)",lockedBy:"verrouillé par",LOGIN:"Connexion",loginAlreadyExistsInMaarchParapheur:"Ce login existe déjà dans Maarch Parapheur",loginIxbus:"Identifiant Ixbus",logInOncePasswordChanged:"Vous serez amené à vous connecter une fois la modification du mot de passe effectuée.",LOGOUT:"Déconnexion",logout:"Se déconnecter",m2m_ARCHIVETRANSFER:"Pli numérique",m2m_ARCHIVETRANSFERREPLY:"Réponse envoyée",m2mContactInfo:"Format attendu : SIRET/ENTITY_ID de l'entité destinatrice",maarchApplication:"Application Maarch",maarchLicence:"Maarch Courrier est diffusé sous les termes de la",maarchParapheurAccountMsg:"Un <b>nouveau</b> compte avec l'identifiant",maarchParapheurAccountMsg2:"sera créé dans Maarch Parapheur.",maarchParapheurDocuments:"Mes courriers dans Maarch Parapheur",maarchParapheurLinkbroken:"L'utilisateur n'existe plus dans Maarch Parapheur.",mail:"Courrier",mailAttachments:"pièce(s) complémentaire(s)",mailClassified:"Courrier(s) classé(s)",mailDate:"Date du courrier",mailEntitiesList:"Liste des entités rattachées aux courriers",maileva_addressPage:"Page porte adresse",maileva_color:"Couleur",maileva_duplexPrinting:"Recto verso",maileva_economic:"Ecopli grand compte (J+4)",maileva_fast:"Lettre grand compte (J+2)",maileva_firstPagePrice:"1ère page",maileva_nextPagePrice:"Page(s) suivante(s)",maileva_postagePrice:"Affranchissement jusqu'à 20g",maileva_registered_mail_ar:"Recommandé AR",maileva_registered_mail:"Recommandé",mailevaAccount:"Compte Maileva",mailevaAdmin:"Modèles d'envois postaux Maileva",mailevaAdminDesc:"Configurer les modèles d'envois postaux Maileva",mailFrom:"Adresse d'envoi",mailInformations:"Informations du courrier",mailing:"Publiposter",mailingActionInformations:"Les courriers suivants contiennent des pièces jointes pour publipostage, celui-ci s'effectuera dès la validation de cette action :",mailingMsg:'Publipostage activé<br><br>Dans ce mode, une pièce jointe sera générée pour chaque contact associé au courrier. <br><br>Pour les créer immédiatement, cliquer sur <b>"Publiposter"</b> <br><br>Cliquer sur <b>"Valider"</b> si vous souhaitez qu\'elles ne soient créées qu\'au moment de la transmission au premier signataire du circuit de visa.',mailNote:"Annotation du document principal",mailNotPresentInBasket:"Courrier présent dans aucune bannette",mails:"courriers",mailsInFolder:"élément(s) du dossier",mailsSent:"Élément(s) envoyé(s)",mailsSentAlt:"Éléments envoyés",mailSubject:"Objet du courrier",mailTo:"Adresse de réception",mailType:"Type de courrier",mainDocNumericPackage:"Document principal du courrier transmis",mainDocNumericPackageToSend:"Document principal du courrier à transmettre",mainDocument:"Document principal",makeActionOn:"Voulez-vous effectuer cette action sur",makeUpdate:"Mettre à jour",manageAbsences:"Rediriger mes bannettes",manageAttachments:"Modifier ou supprimer des pièces jointes",manageCreateContacts:"Créer des contacts",manageCreateContactsDesc:"Créer des contacts depuis les pages d'indexation/traitement/détaillée",manageNumericPackage:"Envoyer et enregistrer un pli numérique",managePersonalData:"Consultables et modifiables",manageSignatures:"Gérer les signatures",manageTagsInApplication:"Créer des mots-clés depuis les pages d'actions",manageTagsInApplicationDesc:"Créer des mots-clés depuis l'indexation, le traitement et la fiche détaillée",manageUpdateContacts:"Mettre à jour les contacts",manageUpdateContactsDesc:"Mettre à jour les contacts depuis les pages d'indexation/traitement/détaillée",mandatory:"Obligatoire",mandatoryField:"Champ obligatoire",manualAR:"Manuel",manualSendingAR:"Généré pour envoi manuel...",march:"Mars",marchShort:"Mars",maxFileSize:"Taille maximale",maxFileSizeReached:"Taille maximale atteinte",maxSize:"Taille maximale",may:"Mai",mayShort:"Mai",memberAllUsers:"Tout les utilisateurs membres",memberDiffTypeUsers:"Personnes membres du type de diffusion",memberUserDest:"Utilisateur destinataire membre",memberUsersCopy:"Utilisateur(s) en copie membre(s)",menu:"Menu",menus:"Menus",merge:"Fusionner",mergeTagWith:"Fusionner le mot-clé avec",mergeWith:"Fusionner avec",minute:"Minute",minutes:"minute(s)",missingAdvert:"Ce compte est actuellement défini en mode 'absent'.",missingAdvert2:"Si vous désirez vous connecter avec ce compte, le mode 'absent' sera alors supprimé.",missingAdvertTitle:"Gestion des absences",missingAlfrescoConfig:"La configuration Alfresco est désactivée ou incomplète",missingBasket:"Sélectionner les bannettes pour lesquelles vous souhaitez supprimer la redirection :",missingChoose:"Souhaitez-vous réactiver votre compte ?",missingMailevaConfig:"La configuration Maileva n'existe pas",modelDeleted:"Modèle supprimé",modelName:"Nom du modèle",modelSaved:"Modèle sauvegardé",modelUpdated:"Le modèle a été mis à jour",modelUsedByResources:"Le modèle est utilisé par des courriers, vous ne pouvez pas le supprimer.",modificationSaved:"Modification enregistrée",modificationsProcessed:"Modifications effectuées",modified:"Modifiée",modifiedBy:"Modifié par",modifiedOn:"Modifié le",modifyDiffusionList:"Modifier la liste de diffusion",modifyVisaInSignatureBook:"Modifier le viseur en cours depuis le parapheur",modifyVisaInSignatureBookDesc:"Utile si le parapheur sert en tant que parapheur de supervision",module:"Module",modules:"Modules",monday:"Lundi",month:"Mois",more:"Plus",moreInfos:"Plus d'informations",moreOptions:"Plus d'options",move:"Déplacer",moveAvisUserErr1:"Vous ne pouvez pas déplacer",moveAvisUserErr2:"avec des personnes ayant déja donné un avis",moveQuestion:"Voulez-vous déplacer",moveVisaUserErr:"Vous ne pouvez pas déplacer <b>{0}</b> avec des personnes ayant déja visé / signé ou en cours de visa / signature.",mustCompleteAllAttachments:"Veuillez compléter l'ensemble des pièces jointes",mustCompleteAR:"Veuillez compléter un des deux modèles d'AR",mustDeleteUsersWithNoPrivileges:"Veuillez supprimer les personnes dont les privilèges sont insuffisants",mustEditAttachmentFirst:"Vous devez d'abord éditer la pièce jointe",mustEditDocument:"Vous devez <b>éditer</b> votre document afin de pouvoir <b>valider</b> vos modifications.",mustFillAccountMsg:"Veuillez renseigner le compte alfresco pour choisir un dépôt racine.",mustFixErrors:"Veuillez corriger les erreurs.",mustReconnect:"Veuillez vous reconnecter",myBaskets:"Mes Bannettes",myBasketsDesc:"Rediriger mes bannettes à d'autres utilisateurs",myContactsGroups:"Mes groupements de contacts",myContactsGroupsDesc:"Gérer mes listes de contacts",myEntities:"Mes entités",myHistoric:"Mon historique",myInformations:"Mes informations",myLastResources:"Mes derniers courriers consultés",myMenu:"Menu personnel",myParameters:"Mes paramètres",myPinnedFolder:"Mes dossiers épinglés",myPreferences:"Mes préférences",myPrimaryEntity:"Mon entité primaire",myProfile:"Mon profil",myProfileAccess:"Accéder à mon profil",mySignMail:"Mes signatures (courriel)",mySignMailDesc:"Gérer mes signatures de courriel",mySignSignatureBook:"Mes signatures (parapheur)",mySignSignatureBookDesc:"Gérer mes griffes parapheur",nature:"Nature",natureIxbusParapheur:"Nature du document",newAccount:"Nouveau compte",newAction:"Nouvelle action",newAssignee:"Nouvel attributaire",newAttachment:"Nouvelle pièce jointe",newDest:"Nouveau destinataire pour",newDestRes:"Nouveau destinataire pour les courriers",newElement:"Nouvel élément",newField:"Nouveau champ",newLoginInMaarchParapheur:"Nouvel identifiant Maarch Parapheur",newPsw:"Nouveau mot de passe",newsFeed:"Fil d'actualité",newSignature:"Nouvelle signature",newValue:"Nouvelle donnée",newVersion:"Nouvelle version",newVersionAdded:"Nouvelle version créée",newVersionAvailable:"Une nouvelle version est disponible",next:"Suivant",no:"Non",noAction:"Aucune action",noActionProcessed:"Aucune action effectuée",noAttachment:"Aucune pièce jointe",noAttachmentClickToAddOne:'Aucune pièce jointe disponible<br/><sub>Cliquez sur <i class="fa fa-paperclip fa-lg" ></i><i class="fa fa-plus"></i> pour en ajouter une.</sub>',noAttachmentContact:"Aucun contact (externe) attaché pour cette pièce jointe",noAttachmentConversion:"La pièce jointe n'a pas de conversion PDF",noAttachmentInSignatoryBook:"Aucun élément éligible : non intégré au parapheur ou gelée",noAttachmentToSend:"Aucune pièce jointe à envoyer",noAvailableAction:"<b>Aucune action disponible</b>, veuillez paramétrer une action dans <b>Administration > Groupes d'utilisateurs > Enregistrement de courrier</b>.",noAvailableActionProcess:"<b>Aucune action disponible</b>, veuillez paramétrer une action dans <b>Administration > Bannettes > Bannette actuelle</b>.",noAvailableBasket:"Aucune bannette disponible",noAvailableFolder:"Aucun dossier disponible",noAvailableIndexingModel:"Aucun modèle d'enregistrement disponible<br /><br /><small>Veuillez créer un modèle depuis Administration > Modèles d'enregistrement</small>",noAvailableMenu:"Aucun menu disponible",noAvailablePreview:"Pas de visualisation disponible",noAvailableValue:"Aucun élément disponible",noCircuitAvailable:"Aucun circuit défini",cannotAddAvisCircuit:"Vous n'avez pas le privilège de définir un circuit d'avis",cannotAddVisaCircuit:"Vous n'avez pas le privilège de définir un circuit de visa",noCustomFieldInfo:"<b>Aucun champ personnalisé</b> n'est défini, sélectionner des éléments disponibles sur le <b>panneau de droite</b> afin de créer de nouveaux champs.",noDataAvailable:"Aucune donnée disponible",noDatasource:"Aucune source de données",noDefaultIndexingModel:"Aucun modèle par défaut trouvé, chargement du premier de la liste.",noDest:"Aucun <b>atttributaire</b> défini",noDiffusionList:"Aucune liste de diffusion",noDoctypeSelected:"Aucun type de courrier sélectionné",noDocument:"Aucun document",noDocumentToSend:"Aucun document à envoyer",noDuplicatesFound:"Aucun doublons trouvés",noEntity:"Aucune entité",noEvent:"Aucun événement",noEventList:"Ne rien faire",noFieldInModelMsg:"Champs introuvables ! Les données de base ont été chargées",noFile:"Aucun fichier",noFileMsg:"<b>Attention</b>, aucun fichier téléversé.<br/><br/>Voulez-vous continuer ?",noFirstLevelSelected:"Aucune sous-chemise sélectionnée",noFranceContact:"L'adresse du contact n'est pas Française",noMailContact:"Aucun contact (externe) attaché pour ce courrier",noMailConversion:"Le courrier n'a pas de conversion PDF",noMove:"Cette entité / utilisateur ne peut pas être déplacé",none:"Aucune",noNote:"Aucune note",noNumericPackageSelected:"Aucun pli numérique séléctionné",noOpinionLimitDate:"La date limite de l'avis n'est pas définie",noOpinionNote:"Aucun motif défini",noOverviewAvailable:"Aucun aperçu disponible",noPerson:"Aucune personne",noPinnedFolder:"Aucun dossier épinglé",noPrivileges:"Privilèges insuffisants",noRecord:"Aucun élément",noReplacement:"Aucun remplacement",noResult:"Aucun résultat",noRole:"Aucun rôle",noSelectedAddress:"Aucune adresse associée",noSelectedContact:"Aucun contact associé",noSelectedFolder:"Aucun dossier associé",noSelectedTag:"Aucun mot-clé associé",noSelectedValue:"Aucun élément sélectionné",noSendmail:"Aucun envoi",noSettingsAvailable:"Aucun paramétrage disponible",noShippingTemplate:"Aucun modèle d'envoi Maileva commun disponible pour ces entités",noSignableAttachmentInSignatoryBook:"Aucune pièce jointe éligible : non signable, ou gelée",notAllowedExtension:"Extension non autorisée",NOTE_version:"Version annotée",note:"Annotation",noTemplate:"Aucun modèle",notEnoughAlfrescoInformations:"Des informations Alfresco sont manquantes pour l'entité primaire de l'utilisateur",noteRemoved:"Annotation supprimée",notes:"Annotation(s)",notesAlt:"Annotations",noteTemplates:"Modèles d'annotations",noteVisibleBy:"Annotation visible par :",noticeGroupeOrder:"Glisser-déposer les groupes pour définir l'ordre",notificationAdded:"Notification ajoutée",notificationCreation:"Création d'une notification",notificationDeleted:"Notification supprimée",NotificationDiffusionType:"Type de diffusion",NotificationEnabled:"Activée",NotificationEvent:"Evènement",notificationJoinDocument:"Joindre le document principal",notificationModel:"Modèle du mail d'envoi",notificationModification:"Modification de la notification",notifications:"Notifications",notificationsAdmin:"Créer et gérer des notifications aux utilisateurs basées sur des événements de l'application",notificationSchedule:"Planifier les notifications",NotificationScheduleInfo:"Pour rappel,\n\nformat de la crontab : [minute] [heure] [jour dans le mois] [mois] [jour de la semaine]",notificationScheduleUpdated:"Tâche(s) planifié(s) mise à jour",notificationsSchedule:"Planification des notifications",NotificationToEnable:"Activer",notificationUpdated:"Notification mise à jour",notInAuthorizedEntities:"ne fait pas parti des <b>entités traitantes autorisées</b>.",notSavedBecauseInvalid:"La configuration n'a pas été mise à jour car des données sont invalides",notSent:"Non envoyé",notUsed:"Non utilisé",notVisible:"Non visibles",noUserDefinedInMaarchParapheur:"Aucun utilisateur créé dans Maarch Parapheur",noUserReplacement:"Aucun utilisateur de remplacement",november:"Novembre",novemberShort:"Nov.",noVisaWorkflow:"Aucun circuit de visa paramétré.",noVisaWorkflowNoSignature:"Aucun circuit de visa paramétré.<br><sub>Aucune signature possible.</sub>",numericPackageDeleted:"Pli numérique supprimé",numericPackageImported:"Pli numérique correctement importé",numericPackageSent:"Pli numérique envoyé",object:"Objet",objectSample:"Plainte concernant des nuisances sonores nocturnes (le 01/01/2019)",october:"Octobre",octoberShort:"Oct.",office:"Office",officialWebsite:"Site officiel",ok:"Ok",oneHour:"une heure",oneMinute:"une minute",onlyNumber:"Chiffre uniquement",onlyofficeEditDenied:"Le document avec l'extension",onlyofficeEditDenied2:"ne peut pas être édité avec onlyoffice",onlyOfficeNotEnabled:"Le Serveur onlyoffice n'est pas activé dans documentEditorsConfig.xml",onRange:"le",openedInExternalModal:"Ouvert dans une fenêtre",openFullscreen:"Activer le mode plein écran",openIndexation:"La page d'indexation s'ouvrira ensuite pour pouvoir créer un courrier",openInExternalModal:"Ouvrir dans une nouvelle fenêtre",openSidePanel:"Ouvrir le panneau latéral",openThesaurus:"Ouvrir le thésaurus",opinionCircuit:"Circuit d'avis",opinionLimitDate:"Date limite de l'avis",opinionLimitDateOutdated:"La date limite de l'avis est dépassée",opinionsSent:"avis donné(s)",optional:"Optionnel",optionalField:"Champ optionnel",options:"Options",or:"ou",orderBy:"Ordre",orderValues:"Trier les données",organization:"ORGANISATION",otherActions:"Action(s) supplémentaire(s)",otherInformations:"Information(s) complémentaire(s)",otherParameters:"Autre(s) paramètre(s)",others:"Autre(s)",othersBaskets:"Autres bannettes",othersInfos:"Autre(s) information(s)",outdated:"Dépassée",outgoing:"Courrier départ",outOf:"sur",owner:"Propriétaire",page:"Page",paperTemplate:"Modèle papier",parameter:"Paramètre",parameterAdded:"Paramètre ajouté",parameterCreation:"Création d'un paramètre",parameterDeleted:"Paramètre supprimé",parameterModification:"Modification d'un paramètre",parameters:"Paramètres",parameterUpdated:"Paramètre modifié",parentFolder:"Dossier parent",password:"Mot de passe",password2renewal:"Passé ce délai, vous devrez en choisir un nouveau",passwordChanged:"Votre mot de passe a été changé",passwordcomplexityNumber:"1 chiffre au minimum",passwordcomplexityNumberRequired:"Chiffre requis",passwordcomplexitySpecial:"1 caractère spécial au minimum",passwordcomplexitySpecialRequired:"Caractère spécial requis",passwordcomplexityUpper:"1 majuscule au minimum",passwordcomplexityUpperRequired:"Majuscule requise",passwordhistoryLastUseDesc:"Vous ne pouvez pas utiliser les",passwordhistoryLastUseDesc2:"dernier(s) mot(s) de passe",passwordhistoryLastUseRequired:"Nombre de mots de passe sauvegardés",passwordIxbus:"Mot de passe Ixbus",passwordlockAttemptsRequired:"Nombre de tentatives de connexions",passwordlockTimeRequired:"Temps de blocage",passwordMatch:"Les mots de passe sont identiques",passwordminLength:"caractère(s) au minimum",passwordminLengthRequired:"Longueur minimale",passwordModification:"Changement de mot de passe",passwordNotMatch:"Les mots de passe ne correspondent pas",passwordrenewal:"Veuillez noter que ce nouveau mot de passe ne sera valide que",passwordrenewalRequired:"Expiration du mot de passe",passwordRulesUpdated:"Contraintes de sécurité mises à jour",passwordUpdated:"Mot de passe modifié",passwordValid:"Mot de passe conforme",path:"Chemin",patternId:"La valeur doit contenir uniquement des alphanumériques, points, underscores ou tirets",pdfVersion:"Version PDF",pdfVersionFile:"La version PDF du fichier",PER:"Personne physique (personnel)",perimeter:"Périmètre",personalDataMsg:"Les données personnelles de l'utilisateur sont : ",phoneNumber:"Numéro de téléphone",phpmail:"Fonction php (mail)",pinFolder:"Épingler le dossier",port:"Port",portIsEmpty:"Le port du serveur onlyoffice n'est pas renseigné dans documentEditorsConfig.xml",PRE:"Retour d'absence",preRequisiteMissing:"Prérequis manquant pour OnlyOffice : netcat",preview:"Prévisualisation",previous:"Précédent",pricesInformations:"Tarifs indicatifs",primary:"Primaire",primaryEntity:"Entité primaire",primaryInformations:"Informations principales",printDate:"Date d'impression",printedFolder:"Dossier d'impression",printFolderDoc:"Imprimer le dossier complet",printResultList:"Imprimer la liste",printSeparatorInfo:"Vous pourrez imprimer les séparateurs <b>par service</b> ou <b>générique</b> afin de pouvoir les utiliser dans <b>maarchCapture</b> pour verser les courriers numérisés dans les services adéquates.",printSeparators:"Impression des séparateurs",priorities:"Priorité(s)",prioritiesAlt:"Priorités",prioritiesHelpDesc:"Glisser-déposer les priorités pour modifier l'ordre",prioritiesOrder:"Gérer l'ordre des priorités",priority:"Priorité",priorityAdded:"Priorité ajoutée",priorityCreation:"Création d'une priorité",priorityDeleted:"Priorité supprimée",priorityModification:"Modification d'une priorité",priorityUpdated:"Priorité modifiée",private:"Privé",privateFolder:"Dossier privé",privateIndexingModelCreation:"Création d'un modèle d'enregistrement privé",privateModel:"Modèle privé",privileges:"Privilèges",process_limit_date:"Date limite de traitement",process:"Traitement",processAction:"Action(s) de traitement",processDate:"Date de traitement",processDelay:"Délai de traitement",processDelayDay:"Délai de traitement (en jours)",processLimitDate:"Date limite de traitement",processMode:"Mode de traitement pour les accusés de réception",processType:"Type de traitement",production:"PRODUCTION",progression:"Avancement",properties:"Propriétés",pswReseted:"Mot de passe réinitialisé",public:"Public",publicModel:"Modèle public",putInSendAttach:"Intégrer aux envois Maileva",putInSignatureBook:"Intégrer au parapheur",qmail:"Serveur mail local (Qmail)",qrcode:"QR code",quickSearchInfo:"Cible de la recherche",quickSearchTarget:"sujet (courrier / pièce jointe), numéro chrono (courrier / pièce jointe), contenu d'annotations, code à barre, numéro GED (courrier)",quota:"Quota",quotaExceeded:"Quota dépassé",radioInput:"Liste à choix unique",reactivateUserDeleted:"L'identifiant renseigné est attribué à un utilisateur supprimé. Voulez-vous le réactiver ?",readyToGeneratePaperAr:"accusé(s) de réception papier prêt(s) à être généré(s)",readyToSendElectronicAr:"accusé(s) de réception électronique prêt(s) à être envoyé(s)",reaffect:"Réaffecter",reaffectContactInformations:"Les différents liens entre le contact et les courriers, pièce-jointes ou accusés de réception seront réaffectés au nouveau contact choisi.",reaffectContactRedirect:"Réaffecter à un contact",reaffectUserRedirect:"Réaffecter à l'utilisateur",reaffectUserRedirectInformations:"L'utilisateur sera remplacé par l'utilisateur sélectionné dans les listes de diffusion des courriers et du modèle de l'entité",reallyWantToDeleteContactFromGroup:"Etes-vous sûr de vouloir retirer ce contact du groupe ?",reallyWantToDeleteThisGroup:"Êtes-vous sûr de vouloir supprimer ce groupe ?",reassign:"Réassigner",recipient:"Destinataire",recipients:"Destinataire(s)",recipientShort:"À",reconcileMsg:"Les courriers seront convertis en tant que <b>version signée</b> et liés au courrier qui sera sélectionné.",reconcileMsg2:"Si vous sélectionnez un <b>courrier départ</b>, seul le <b>dernier courrier</b> sera converti en tant de version signée. Les autres seront <b>supprimés</b> !",record:"élément(s)",recordingMail:"Enregistrement d'un courrier",recordMail:"Enregistrer un courrier",records:"résultat(s)",recordsPerPage:"résultats par page",redirectBasket:"Rediriger la bannette",redirectBaskets:"Rediriger les bannettes sélectionnées",redirectConfidentialInfo:"Cet utilisateur a des <b>courriers confidentiels</b> associés à ce service.<br/>Il est préférable de les affecter à un autre utilisateur du service.",redirectedTo:"Redirigée à ",redirectModelInfo:"Cet utilisateur est présent dans le <b>modèle de diffusion</b> de l'entité.",redirects:"Redirections",redirectTo:"Rediriger vers",redirectUserListDiff:"Changement de destinataire des modèles de liste de diffusion",redirectUserListInstances:"Changement de destinataire pour les courriers en cours de traitement",redirectWhenAbscence:"Rediriger la bannette à une personne",reference:"Référence",rejectVisaBack:"Le courrier sera envoyé à la dernière personne ayant visé",rejectVisaBackUser:"Le courrier retournera à ",relatedBaskets:"Bannette(s) associée(s)",relatedContactNumber:"Contact(s) associé(s)",relatedContacts:"Contact(s) associé(s)",relatedUsers:"Utilisateur(s) associé(s)",removeAllDatas:"Enlever toutes les données",removedFromFolder:"Courrier(s) retiré(s)",removeFile:"Enlever le fichier",removeFromFolder:"Retirer du dossier",removeNote:"Supprimer l'annotation",removeSignature:"Supprimer la signature",removeUserRedirect:"Supprimer l'utilisateur des listes de diffusion",removeUserRedirectInformations:"<em>L'utilisateur sera supprimé des listes de diffusion des courriers et du modèle de l'entité <b>sauf dans le cas où il est attributaire</b></em>",renewPsw:"Retaper le mot de passe",reports:"Statistiques",reportsAdmin:"Administration des statistiques",requestSentByEmail:"La demande vous a été envoyée par courriel.",requiredField:"Champ requis",resetColor:"Réinitialiser la couleur",RESETPSW:"Réinitialisation de mot de passe",resetVisaWorkflow:"Les actions du circuit de visa seront <b>réinitialisées</b>",resId:"Identifiant GED",resourcesLinked:"Liaison(s) ajoutée(s)",resourceUnlinked:"Liaison supprimée",restrictedEntity:"Entité restreinte",restrictions:"Restrictions",resultPage:"Liste de résultats",retentionFinalDisposition:"Sort final",retentionRule:"Règle de conservation",returnDate:"Date de retour",retypeNewPassword:"Entrez de nouveau le mot de passe",role:"Rôle",roles:"Rôles",rolesExceptAssignee:"Rôle(s) hors attributaire",roleUsedInTemplateInfo:"Le rôle est utilisé dans les services suivants",roleUsedInTemplateInfo2:"Les utilisateurs associés à ce rôle seront supprimés de la liste de diffusion.",rootFolder:"Dépôt racine",sameLevelMyPrimaryEntity:"Même niveau de mon entité primaire",saturday:"Samedi",save:"Enregistrer",saveAndClose:"Enregistrer et fermer",saveAsModel:"Enregistrer comme modèle",saveAsPrivateModel:"Enregistrer en tant que modèle privé",saveDraft:"Enregistrer le brouillon",saveInDocserversInfo:"L'historique de la mise à jour a été sauvegardé dans la zone de stockage <b>migration</b>.",saveModifications:"Sauvegarder les modifications",saveModifiedData:"Voulez-vous sauvegarder les modifications ?",saveNumericPackage:"Enregistrer un pli numérique",sbSignatures:"Signatures de parapheur",script:"Script",scriptCreated:"Script créé",search:"Chercher",searchAddressBan:"Recherchez une adresse",searchAddressDb:"Rechercher dans la Base Adresse Nationale",searchByAttachmentType:"Rechercher par type de pièce jointe",searchCommunicationMean:"Recherchez un moyen de communication",searchContact:"Recherchez un contact",searchDatas:"Rechercher une donnée",searchEntities:"Rechercher une entité",searchExternalIdM2M:"Recherchez un identifiant M2M",searchFolder:"Rechercher un dossier",searchMailInBasket:"Rechercher des courriers dans la bannette",searchMailInFolder:"Rechercher des courriers dans le dossier",searchMails:"Rechercher des courriers",searchNewAssignee:"Rechercher un nouvel attributaire",searchTag:"Rechercher un mot-clé",searchTrackedMail:"Rechercher dans les courriers suivis",searchUserInMaarchParapheur:"Rechercher un utilisateur dans Maarch Parapheur",searchValue:"Rechercher un élément",secondaryEntity:"Entité secondaire",secondaryInformations:"Informations secondaires",secondLevelAdded:"Sous-chemise créée",secondLevelAttached:"Rattacher à la sous-chemise",secondLevelDeleted:"Sous-chemise supprimée",secondLevelDoctype:"Sous-chemise",secondLevelUpdated:"Sous-chemise mise à jour",securities:"Sécurités",securitiesAdministration:"Administration des sécurités",securityConstraints:"Contraintes de sécurité",see:"voir",selectAction:"Effectuer une action",selectAll:"Sélectionner tout",selectAllResInBasket:"Sélectionner tous les courriers de la bannette",selectContact:"Sélectionner un contact",selectDuplicatedContact:"Fusionner vers ce contact",selected:"sélectionné(s)",selectedAccount:"Compte utilisé",selectedContact:"Contact cible sélectionné",selectedDocumentStatus:"Statut du courrier à prendre en compte",selectedElements:"élément(s) sélectionné(s)",selectedValue:"Valeur sélectionnée",selectInput:"Liste déroulante",selectMailToReconcile:"Veuillez sélectionner le courrier cible de la réconciliation",selectParentTag:"Imbriquer le mot-clé dans",send:"Envoyer",sendActivationNotification:"Renvoyer le courriel d'activation",sendElement:"Envoyer un élément",sender:"Expéditeur",senderRecipientInformations:"Informations de destination",sendError:"Erreur d'envoi",senders:"Expéditeur(s)",senderShort:"De",sendingEmail:"Email en cours d'envoi...",sendmail:"Envoi de courriels",sendmailShort:"Envoi de courriels",sendMode:"Mode d'envoi",sendModes:"Modes d'envoi",sendNumericPackage:"Envoyer un pli numérique",sendNumericPackageInfo:'Vous pouvez envoyer un courrier et des pièces jointes entre <b>deux instances</b> de Maarch Courrier.<br /><br />Vous recevrez <b>un accusé de réception</b> et vous pourrez <b>suivre l\'avancement</b> du courrier chez le destinataire. (voir <a href="{0}" target="_blank">Maarch2GEC</a> pour plus d\'informations).',sendTo:"Envoyer à ",sendToDocTo:"Vous allez transmettre ce courrier à ",sent:"Envoyé",sentToFastParapheur:"Envoyer à FAST-Parapheur",sentToIParapheur:"Envoyer à IParapheur",sentToIxbusParapheur:"Envoyer à Ixbus Parapheur",separators:"Séparateur(s)",separatorTarget:"Cible de séparateur",separatorType:"Type de séparateur",september:"Septembre",septemberShort:"Sept.",setByDefault:"définir par défaut",setInParentFolder:"Placer le dossier dans...",settingsList:"Paramétrer l'affichage",shapingOptions:"Options de mise en page",sharedFolder:"Dossier partagé",shareToEntities:"Partager aux entités...",shipping:"Envoi maileva",shippingAdded:"Modèle d'envoi Maileva ajouté",shippingCreation:"Création du modèle d'envoi Maileva",shippingDeleted:"Modèle d'envoi Maileva supprimé",shippingModification:"Modification du modèle d'envoi Maileva",shippingNotEligible:"Courrier(s) non éligible(s)",shippingReadyToSend:"document(s) prêt(s) à l'envoi",shippings:"Modèle(s) d'envoi Maileva",shippingUnavailable:"<b>Attention !</b> Maileva n'est pas activé. Veuillez vérifier le fichier de configuration mailevaConfig.xml",shippingUpdated:"Modèle d'envoi Maileva modifié",shortcut:"Raccourcis",shortLabel:"Libellé court",showFoldersTree:"Voir l'arborescence",showMore:"Voir plus",showTreeMsg:"Cliquer ici pour afficher l'arborescence du dépôt.",SIGN_version:"Version originale",SIGN:"Signer un document",signAdded:"Signature ajoutée",signatureAdded:"Signature ajoutée",signatureDate:"Date de signature",signatureDeleted:"Signature supprimée",signatures:"Signatures",signatureUpdated:"Signature mise à jour",signDeleted:"Signature supprimée",signDocs:"Signer les documents",signed:"Signé",signedAlt:"Signée",signedAttachment:"Pièce jointe signée",signedUserDate:"Signé",signedVersionDeleted:"Version signée supprimée",signsSynchronized:"Les signatures ont été mises à jour dans Maarch Parapheur",signUpdated:"Signature modifiée",signUser:"Signataire",since:"Depuis",siret:"Numéro SIRET",siretCode:"Numéro SIRET",siretGenerated:"Numéro SIRET généré",siretGeneratedAndSynchronizationDone:"Numéro SIRET généré et synchronisation annuaire effectuée",siretGeneratedButAnnuaryUnreachable:"Numéro SIRET généré mais l'annuaire est injoignable",smtpAuth:"Méthode d'authentification",smtpclient:"Client smtp (smtp)",smtprelay:"Relais smtp (sendmail)",SPH:"Supérieur hiérarchique",status:"Statut",statusAdded:"Statut ajouté",statusCreation:"Création d'un statut",statusDeleted:"Statut supprimé",statuses:"Statuts",statusesAdmin:"Créer ou modifier des statuts",statusModification:"Modification du statut",statusName:"Nom du statut",statusUpdated:"Statut mis à jour",stopFollowingAlert:"Voulez-vous arrêter de suivre ce(s) courrier(s) ?",stringInput:"Chaine de caractères",subEntities:"Entités (et sous-entités)",subject:"Objet",summarySheet:"Fiche de liaison",summarySheets:"Fiche(s) de liaison",summarySheetsAlt:"Fiches de liaison",sunday:"Dimanche",supervision:"SUPERVISION",suspend:"Suspendre",suspended:"Suspendu",suspendNotification:"Suspendre la notification",sveStartDate:"Date de début SVE",switchInHtml:"Passer en mode HTML",switchInPlainText:"Passer en mode texte brut",switchManualAddress:"Basculer en saisie manuelle",syncSignsToMaarchParapheur:"Synchroniser les signatures vers Maarch Parapheur",system:"Système",systemActions:"Événement(s) système",systemParameters:"paramètres système",tabProcessPosition:"Se positionner sur l'onglet",tagAdded:"Mot-clé ajouté",tagCreation:"Création d'un mot-clé",tagDeleted:"Mot-clé supprimé",tagMerged:"Mot-clé fusionné",tagModification:"Modification du mot-clé",tags:"Mots-clés",tagUpdated:"Mot-clé modifié",targetDepartment:"Département cible",targetFillingField:"Champ cible de complétude",targetIdentifier:"Identifiant cible",targetLabel:"Label cible",targetTable:"Table cible",technicalId:"Identifiant technique",templateAdded:"Modèle ajouté",templateAssociateEntities:"Liste des entités déjà associées à un modèle",templateCheckEntities:"Les entités suivantes ont déjà un modèle enregistré pour le type : ",templateCreation:"Création du modèle",templateDatasource:"Source de données",templateDeleted:"Modèle supprimé",templateDuplicated:"Modèle dupliqué",templateEdition:"Edition du modèle",templateModification:"Modification du modèle",templateName:"Nom du modèle",templates:"Modèles de documents",templatesAdmin:"Gérer les modèles utilisés pour les pièces jointes, les notifications, la génération de courriers, l'envoi de courriels et les annotations",templateServiceInfo:"Choisissez le(s) service(s) au(x)quel(s) vous souhaitez associer ce modèle",templateTarget:"Cible du modèle",templateType:"Type de modèle",templateUpdated:"Modèle mis à jour",test:"Tester",testSucceeded:"Le test a réussi",thanksToCommunity:"Et toute la communauté Maarch !",thanksToExtDev:"Maarch Courrier s'appuie sur quelques composants externes. Merci à leurs développeurs !",theTag:"Le mot-clé",thisRes:"Courrier(s) suivant(s)",thursday:"Jeudi",title:"Titre",to_note:"À annoter",to_sign:"À signer",to_visa:"À viser",to:"vers",toAnUser:"Vers un utilisateur",toAService:"Vers un service",toCopyAddress:"pour copier son adresse",todayDate:"Date du jour",toEntities:"Vers les services",toExport:"Exporter",toggleQrcode:"Afficher / cacher le QRCode (identifiant courrier)",tools:"Outils",toolTipDeleteDoctype:"Si des courriers sont rattachés à ce type de courrier, un écran de réaffectation s'affichera",tooltipFolderStatus:"Si coché, le statut pourra être utilisé pour des bannettes de dossiers",tooltipIndexStatus:"Si coché, vous pourrez modifier les meta-données des courriers ayant ce statut",tooltipSearchStatus:"Si coché, le statut vous sera proposé dans le critère de recherche STATUTS de la recherche avancée",tooMuchDatas:"Trop de données à exporter",toRange:"à ",toSchedule:"Planifier",toStatuses:"Vers les statuts",toStatusesDesc:"Vous ne pouvez pas choisir de statut, un statut est dèja pré-définit pour cette action.",totalErrors:"Élément(s) en erreur",totalPrice:"Prix total",totalProcessed:"Élément(s) analysé(s)",toUsersEntities:"Vers les utilisateurs des services",trackThisMail:"Suivre le courrier",transferToDoctype:"Remplacer par le type de courrier",triggerAction:"Action Déclencheur",triggerSystem:"Déclenchement système",tuesday:"Mardi",txt:"Texte",type_label:"Type de courrier",type:"Type",typeCurrentPassword:"Entrez votre mot de passe actuel",typeEnterToCreate:"Taper sur <b>entrée</b> pour créer l'élément",typeNewPassword:"Entrez un nouveau mot de passe",typeValue:"Saisissez une valeur",typist:"Rédacteur",unableToDelete:"Impossible de supprimer",unableToSuspend:"Impossible de suspendre",unclassifyQuestion:"Voulez-vous retirer",undefined:"Non défini",undefinedStatus:"Statut non défini",unlink:"Enlever la liaison",unlinkAccount:"Dissocier le compte",unlinkAction:"Dissocier l'action",unlinkGroup:"Dissocier le groupe",unlockDocserver:"Déverrouiller la zone de stockage (lecture et écriture)",unpinFolder:"Désépingler le dossier",unselectAll:"Tout désélectionner",UNSIGN:"Dé-signer un document",unsign:"Dé-signer",until:"Jusqu'à ",untrackThisMail:"Ne plus suivre le courrier",UP:"Modification",update:"Modifier",updateAcknowledgementSendDate:"Cela mettra à jour la date d'envoi pour les accusés de réception papier",updateAtt:"Modifier la pièce jointe",updateClosingDate:'Cela actualisera la <b class="highlight">date de clôture</b> des courriers.',updateControl:"Vérification de mise à jour",updateControlDesc:"Voir les nouveaux tags de Maarch Courrier et mettre à jour l'application au dernier tag si besoin",updateDepartureDate:'Cela actualisera la <b class="highlight">date de départ</b> des courriers.',updateDiffusionExceptRecipientWhileDetails:"Pouvoir modifier la liste de diffusion hormis l'attributaire sur la fiche détaillée d'un courrier.",updateDiffusionExceptRecipientWhileIndexing:"Pouvoir modifier la liste de diffusion hormis l'attributaire lors de l'enregistrement d'un courrier.",updateDiffusionExceptRecipientWhileProcess:"Pouvoir modifier la liste de diffusion hormis l'attributaire lors du traitement d'un courrier.",updateDiffusionWhileDetails:"Pouvoir modifier toutes les parties de la liste de diffusion sur la fiche détaillée d'un courrier.",updateDiffusionWhileIndexing:"Pouvoir modifier toutes les parties de la liste de diffusion lors de l'enregistrement d'un courrier.",updateDiffusionWhileProcess:"Pouvoir modifier toutes les parties de la liste de diffusion lors du traitement d'un courrier.",updateIndexingFieldWarning:"Attention si vous supprimez un champ du modèle, ce champ sera réinitialisé pour <b>TOUS</b> les courriers associés au modèle. Voulez-vous continuer ?",updateInfo:"Cette action est irréversible et mettra à jour l'ensemble des instances présentes sur l'application ! Il est préférable de ne pas faire d'actions durant le processus et qu'aucun utilisateur ne soit connecté.",updateInProgress:"Mise à jour en cours ...",updateKO:"Mise à jour échouée !",updateOk:"Mise à jour effectuée avec succès !",updateStatus:"Changement de statut de courrier",updateStatusInformationsChrono:"En saisissant le NUMÉRO CHRONO du courrier, vous modifierez le statut du courrier. Le courrier sera disponible dans la bannette des utilisateurs auquel il était affecté suivant le statut que vous aurez défini.",updateStatusInformationsGed:"En saisissant l'IDENTIFIANT GED du courrier, vous modifierez le statut du courrier. Le courrier sera disponible dans la bannette des utilisateurs auquel il était affecté suivant le statut que vous aurez défini.",updateVersionControl:"Vérification mise à jour",updateWarn:"<b>Impossible</b> d'effectuer la mise à jour. Voici les fichiers modifiés :<br/><br/>",uploadAnOtherFile:"Téléverser un autre fichier",uploadSignFile:"Déposer une image sur ce cadre ou cliquer pour parcourir vos fichiers (JPG, PNG, JPEG)",uploadSignFileInfo:"Cliquer pour ajouter une signature depuis votre poste",uriIsEmpty:"L'uri du serveur onlyoffice n'est pas renseigné dans documentEditorsConfig.xml",usableFields:"Champ(s) utilisable(s)",usage:"Utilisé pour",used:"Utilisé",usedInActionPage:"Action sur la page d'action",usedInBasketlist:"Action sur la liste de résultats",useMailServices:"Utiliser les courriels de ses services en tant qu'expéditeur",user:"utilisateur",userABS:"Absent",userAdded:"Utilisateur ajouté",userAuthorized:"Utilisateur autorisé",userCreatedInMaarchParapheur:"Créé dans Maarch Parapheur",userCreation:"Création d'un utilisateur",userDeleted:"Utilisateur supprimé",userHasntSigned:"Le signataire n'a pas signé de document",userIsDeletableBy:"Seul un utilisateur ayant la <b>totalité des droits d'accès</b> pourra supprimer ou suspendre cet utilisateur.",userIsNotDeletable:"Vous n'avez pas la totalité des <b>droits d'accès</b> sur les listes de diffusion ou les courriers de l'utilisateur ",userMaarchParapheur:"Attributaire Maarch Parapheur",userModification:"Modification de l'utilisateur",userNotInDiffusionList:"Vous n'êtes pas dans la liste de diffusion des avis",userOK:"Actif",userReplacement:"Utilisateur de remplacement",users:"Utilisateurs",usersAlt:"Utilisateur(s)",usersMissingInSignatureBook:"non présent dans Maarch Parapheur",usersNotExistedInMaarchParapheur:"Certains utilisateurs n'existent pas dans Maarch Parapheur",userSPD:"Inactif",userSuspended:"Utilisateur suspendu",userUnauthorized:"Utilisateur non autorisé",userUpdated:"Utilisateur modifié",validate:"Valider",validateAction:"Action(s) de qualification",validateAvisParallel:"Vous allez valider des demandes d'avis",validateAvisParallelSingle:"Vous allez valider la demande d'avis de",validateBy:"Validé par",value:"valeur",valuesList:"Liste des valeurs",version:"Version",versions:"Versions",view:"Consulter",VIEW:"Visualisation",viewActionsHistory:"Afficher l'historique des actions",viewAllHistory:"Afficher tout l'historique",viewDocHistory:"Voir l'historique des actions sur le courrier",viewDocumentsWithNotes:"Voir les courriers annotés",viewDocumentsWithNotesDesc:"Voir les courriers annotés revenus de Maarch Parapheur",viewFullHistory:"Voir l'historique complet du courrier",viewFullHistoryDesc:"Consulter l'historique complet des événements relatifs à l'utilisation de la GED Maarch.",viewHistoryDesc:"Consulter l'historique des événements relatifs à l'utilisation de Maarch Courrier.",viewPersonalData:"Consultables",viewResource:"Voir le document",viewTechnicalInformation:"Voir les informations techniques",visa:"Visa",visaAnswers:"Viser les projets de réponse",visaAnswersDesc:"Permet de viser les projets de réponse",visaCircuit:"Circuit de visa",visaNote:"Consigne",visaUser:"Viseur",visaWorkflow:"Circuit de visa",visaWorkflowDeleted:"Circuit de visa supprimé",visaWorkflowInterrupted:"Circuit interrompu",visaWorkflowUpdated:"Circuit de visa modifié",visaWorkflowWillBeSend:"Le circuit visa des courriers sera envoyé à Maarch Parapheur",visibleBy:"Visible par",warnEmptySubject:"Vous allez envoyer un courriel sans objet, continuer ?",warnIndex:"Le groupe ne peut pas enregistrer de courrier.",warnLockRes:"courrier(s) verrouillé(s) par",warnLockRes2:"\n\nL'action prendra en compte UNIQUEMENT les courriers NON verrouillés.",warnLockResInProgress:"Ce courrier est en cours de traitement par",warnMaxDataList:"Le nombre maximal d'éléments affichés a été atteint",warnShapingOption:"<b>Attention !</b> L'adresse sera 'incrustée' sur la première page des courriers envoyés",warnTooMuchSelect:"seul les 500 premiers éléments seront pris en compte si une action est lancée",webserviceAccount:"Compte de webservice",webserviceAccountDesc:"Si activé, ce compte ne pourra pas être utilisé pour se connecter graphiquement à l'application.",wednesday:"Mercredi",welcomeInGEC:"Bienvenue dans votre <b>G</b>estion <b>E</b>lectronique de <b>C</b>ourriers,<br/><br/>nous sommes le",whereClauseAction:"Condition d'apparition de l'action (where clause)",willBeAutomaticallyInCopy:"sera automatiquement mis <b>en copie</b>",willBeDeletedAndMerged:"sera supprimé et fusionné avec le mot-clé",willBeTransferredToNewTag:"Nombre de courriers qui seront transférés au mot-clé ",withoutEmail:"Sans courriel",workflowModelIxbus:"Modèle de circuit de visa Ixbus",workflowModels:"Modèles de circuits publics",workingDays:"jour(s) ouvré(s)",yes:"Oui",zipcode:"Code postal",hideTool:"Cacher la barre d'outils",showTool:"Afficher la barre d'outils",contactInput:"Champ contact",emptyValue:"Valeur vide",hideModal:"Ne plus afficher cette fenêtre",indexingModelUsedBy:"Ce modèle est déjà utilisé par : ",mailsWithStatus:" courrier(s) avec le statut ",indexingModelReplaceToDelete:"Pour le supprimer vous devez le remplacer par un autre modèle.",indexingModelFieldsReset:"Les champs suivants ne sont pas dans le modèle sélectionné et seront réinitialisés pour tous les courriers : ",indexingModelReassign:"Réaffectation du modèle d'enregistrement",youCannotUnsign:"Vous n'avez pas le droit de <b>dé-signer</b> ce document. Vous devez ếtre la personne qui a signé ce document.",arContentIsEmpty:"Le contenu de l'accusé de réception est vide",company:"Organisation",noRecipient:"Aucun destinataire associé.",emptyAddress:"Adresse non renseignée",accessContact:"pour accéder à la fiche de détails.",find:"trouvé.",showAll:"Voir les autres contacts",setContactInfos:"Accéder à la fiche de détails du contact",goToContact:"Vous allez perdre vos modifications actuelles, voulez-vous vraiment continuer ?",associateContact:"pour associer ce contact au courrier/pièce jointe.",associateContactToDoc:"Associer ce contact au courrier/pièce jointe",m2mEmailDesc:"Utilisé dans le cadre d'une connexion indirecte entre les applications (utilisation des envois de mail pour le pli numérique)",waitingReception:"En attente de réception",hasLinkedRes:"Au moins un courrier enregistré dans les {0} derniers jours est affecté au même contact.",seeMore:"Voir!"}:"nl"==angularGlobals.lang&&(Wr={ARsimple:"AR simple",ARsva:"AR SVA",ARsvr:"AR SVR",aboutUs:"Over Maarch Courrier",abs:"Afwezig",absOff:"Afwezigheid uitgeschakeld",absOn:"Afwezigheid ingeschakeld",makeUpdate:"Update",accordingTemplateParameters:"According to the parameters defined in the model",accountAdded:"Account added",accountDeleted:"Account deleted",acknowledgementReceipt:"Acknowledgement of receipt",acknowledgementReceipts:"Acknowledgement of receipts",acknowledgementReceiptType:"Type of acknowledgement of receipt",acknowledgementSendDate:"Acknowledgement send date",action:"Actie",actionAdded:"Actie toegevoegd",actionAvailable:"Beschikbare acties",actionCarriedOut:"System action",actionChosen:"Geselecteerde acties",actionCreation:"Aanmaak van een actie",actionDeleted:"Actie verwijderd",actionDone:"Action effectuée",actionHistory:"De actie traceren",actionHistoryDesc:"Staat traceren toe in de geschiedenis van het brief. Het wordt sterk aangeraden deze optie aan te vinken.",actionMassForbidden:"This action is forbidden in mass",actionModification:"Wijziging van de actie",actionName:"Actienaam",actionNotExist:"This action does not exist",actionPage:"Resultaatpagina van de actie",actionParameters:"Instelling van de actie",actions:"Actie(s)",actionsGroupBasketUpdated:"Instelling van de acties gewijzigd",actionUpdated:"Actie gewijzigd",activateAbs:"De afwezigheid inschakelen",activateAbsence:"De afwezigheid inschakelen",activateMyAbs:"Mijn afwezigheid inschakelen",activateNotification:"De melding activeren",active:"Actief",activeCron:"Actieve ta(a)k(en)",actives:"Actief",add:"Toevoegen",addAllData:"_TO_TRANSLATE",addContacts:"Contacten toevoegen",addCustomUnit:"_TO_TRANSLATE",addDoctype:"Een documenttype toevoegen",addFirstLevel:"Een map toevoegen",additionalRoles:"Bijkomende rol(len)",addNewAccount:"Add new account",addNote:"Add note",addPerson:"Add a person",address:"Adres",addSecondLevel:"Een submap toevoegen",addStatus:"Een status toevoegen",addUser:"Een gebruiker toevoegen",addUserOrEntity:"Een gebruiker/ een eenheid toevoegen",addVisaSignUser:"Een goedkeurder / ondertekenaar toevoegen",administration:"Beheer",administrationServices:"Beheerrechten",admissionDate:"_TO_TRANSLATE",adrPriority:"Sequentieprioriteit",alignCenter:"Center",alignLeft:"Left",alignRight:"Right",all:"Alle",allActions:"Alle acties",allAttachments:"Alle bijlagen",allEntities:"All entities",alreadyExist:"De gebruikersnaam bestaat reeds",alt_identifier:"_TO_TRANSLATE",application:"App",appName:"_TO_TRANSLATE",appUpToDate:"Uw applicatie is bijgewerkt",april:"April",aprilShort:"Apr.",arAlreadyGenerated:"Acknowledgement receipt generated but not sent",arAlreadySend:"Acknowledgement receipt already send",archival:"Archivering",archivalAgency:"Archiveringsconventie",archivalAgreement:"Archiveringsdienst",arrivalDate:"Aankomstdatum",ascending:"Oplopend",ascOrder:"_TO_TRANSLATE",askRedirectBasketBeforeAbsence:"Wilt u de bakjes doorsturen vooraleer u afwezig te zetten?",assignBy:"Toegewezen door",associatedStatus:"Gekoppelde status",at:"om",atRange:"om",attachment:"Bijlage",attachments:"Bijlagen",attachmentSignature:"Signature of attachment in signature book",attachmentType:"Type bijlage",august:"Augustus",augustShort:"Augustus",authorize:"Verlenen",autoLogoutAbsence:"Nadat u uw bakjesomleidingen heeft bepaald, zal uw verbinding automatisch verbroken worden.",available:"beschikbaar",availableDatas:"_TO_TRANSLATE",availableGroups:"Beschikbare groepen",availableMinorVersions:"Beschikbare versies",availableStatuses:"Beschikbare statussen",avis:"Berichtencircuit",back:"Terug",barcode:"_TO_TRANSLATE",basket:"Bakje",basketAdded:"Bakje toegevoegd",basketCreation:"Aanmaak van een bakje",basketDeleted:"Bakje verwijderd",basketHelpDesc:"De bakjes slepen-neerzetten om de volgorde te wijzigen",basketModification:"Wijziging van een bakje",basketNotFound:"Bakjes niet gevonden",basketNotification:"De melding van dit bakje inschakelen / uitschakelen",baskets:"Bakjes",adminBasketsDesc:"De inhoud van de bakjes bepalen en deze aan gebruikersgroepen toewijzen. De mogelijke omleidingen opnoemen bij het gebruik van het bakje door een gegeven groep. Een weergaveformaat van het bakje toekennen door deze groep.",basketsAssigned:"Bakjes door een andere gebruiker toegewezen",basketsAssignedShort:"_TO_TRANSLATE",basketsColor:"Kleur van de bakjes",basketsColorAdmin:"Uw kleuren van de bakjes beheren",basketsOrder:"De volgorde van de bakjes beheren",basketsRedirected:"Bakjes doorgestuurd naar een andere gebruiker",basketsUpdated:"Gewijzigde(e) bakje(s)",basketUpdated:"Bakje gewijzigd",beginSendTest:"_TO_TRANSLATE",belowAllMyEntities:"Below all my entities",belowMyPrimaryEntity:"Below my primary entity",browsing:"Surfen",by:"By",calDays:"kalenderdag(en)",canBeModified:"Wijziging van de indexen",canBeSearched:"Zoeken",cancel:"Annuleren",canNotMakeAction:"Can make action on this mail",canNotUpdateApplication:"Some files are modified. Can not update application",cantMoveDoctype:"Het documenttype kan enkel in een submap verplaatst worden",cantMoveFirstLevel:"De submap kan enkel in een map verplaatst worden",categories:"_TO_TRANSLATE",category_id:"_TO_TRANSLATE",changeMyPassword:"Mijn wachtwoord wijzigen",changePassword:"Het wachtwoord wijzigen",changePasswordInfo:"u wordt uitgenodigd om uw wachtwoord te wijzigen",chars:"teken(s),",checkSendmail:"_TO_TRANSLATE",chooseAnotherEntityUser:"Choose another person from the entity",chooseBasket:"Kies een bakje",chooseCategoryAssociation:"Kies één of meerdere gekoppelde categorieën",chooseCategoryAssociationHelp:"Indien er geen enkele categorie geselecteerd wordt, dan is de actie geldig voor alle categorieën",chooseColor:"Kies een kleur",chooseContactType:"Kies een contacttype",chooseDefaultAction:"Kies een hoofdactie",chooseEntity:"Kies een eenheid",chooseEntityAssociationModel:"Het model aan de dienst(en) toewijzen",chooseGroup:"Kies een groep",chooseIndexationProfil:"Kies een indexeringsprofiel",chooseModel:"Kies een model",chooseNewDest:"is een <b>bestemmeling</b> van de volgende modellen van de verdelingslijst, kies een <b>vervangings</b>gebruiker",chooseNewDestUser:"is the <b>recipient</b> of mail being processed, please select a <b>replacement user</b>",chooseRedirectGroup:"Kies een vervangingsgroep",chosenDatas:"_TO_TRANSLATE",chosenModel:"Gebruikt model",loadedFile:"Loaded file",chrono:"Chrono",chronoNumber:"Chrononummer",chronoNumberShort:"Chrono Num",city:"Gemeente",classifying:"STANDEN",clause:"Clausule",clauseGroup:"Documentaire perimeter",clickOn:"Klik op",close:"Afsluiten",closingDate:"Afsluitingsdatum",collection:"Verzameling",color:"Kleur",comment:"_TO_TRANSLATE",comments:"_TO_TRANSLATE",community:"Gemeenschap",complementaryFields:"Bijkomende velden",confidentiality:"_TO_TRANSLATE",configurationType:"Configuration type",configurationUpdated:"_TO_TRANSLATE",confirm:"Bevestigen",confirmAction:"Wilt u deze actie echt uitvoeren?",confirmDeleteAccount:"Do you want to delete this account ?",confirmDeleteMailSignature:"Wilt u de mailhandtekening echt verwijderen?",confirmDeleteSignature:"Wilt u de handtekening echt verwijderen?",confirmDuplicate:"Wilt u dit sjabloon echt dupliceren?",confirmToBeAbsent:"Wilt u de afwezigheid echt inschakelen? Uw verbinding zal automatisch verbroken worden",connectionFailed:"_TO_TRANSLATE",conservation:"Bewaring",contact:"Contact",contactAdded:"Toegevoegd(e) contact(en)",contactDeletedFromGroup:"Het contact werd uit de groep verwijderd",contactGroupCreate:"Een contactgroepering aanmaken",contactGroupCreation:"Aanmaak van een contactgroepering",contactGroupList:"Lijst met contactgroepen",contactInfo:"Contactfiche",contacts:"Contacts",contactsAlt:"Contact(s)",contactsParameters_addressAdditional1:"Toren, gebouw, pand, residentie",contactsParameters_addressCountry:"Land",contactsParameters_addressNumber:"Straatnummer",contactsParameters_addressPostcode:"Postcode",contactsParameters_addressStreet:"Spoor",contactsParameters_addressTown:"Gemeente",contactsParameters_department:"Dienst",contactsParameters_email:"E-mail",contactsParameters_firstname:"Voornaam",contactsParameters_function:"Functie",contactsParameters_lastname:"Naam",contactsParameters_addressAdditional2:"Additional Line",contactsParameters_phone:"Telefoon",contactsParameters_notes:"Notes",contactsParameters_company:"Structuur",contactsParameters_civility:"Aanspreking",contactsFillingAdministration:"Volledigheid van de contactinformatie",contactsFillingCriteria:"Volledigheidscriteria",contactsFillingStep1:"Eerste stap",contactsFillingStep2:"Tweede stap",contactsFillingStep3:"Laatste stap",contactsFillingStr:"voor volledigheid.",contactsGroupAdded:"Aangemaakte contactgroepering",contactsGroupDeleted:"Verwijderde contactgroepering",contactsGroupDesc:"Indien de groepering openbaar is, kunnen alle gebruikers deze gebruiken. Indien deze privé is, kan enkel de maker deze gebruiken",contactsGroupModification:"Wijziging van de contactgroepering",contactsGroups:"Contactgroepering(en)",contactsGroupsAlt:"Contact(s) group(s)",contactsGroupUpdated:"Gewijzigde contactgroepering",content_management:"Versiebeheer van het document",content:"_TO_TRANSLATE",contentHtmlTemplate:"Inhoud van het html-model",contentTxtTemplate:"Inhoud van het tekstmodel",contextParaph:"Context",copyUsersEntities:"_TO_TRANSLATE",country:"Land",createAtt:"Een bijlage aanmaken",createdBy:"Aangemaakt door",createdOn:"Aangemaakt op",createNewEntity:"Maak een nieuwe eenheid",createScriptNotification:"Het script aanmaken",creation_date:"_TO_TRANSLATE",creationDate:"Aanmaakdatum",criteria:"Criterium",currentApplicationVersion:"Huidige versie van de toepassing",currentFilters:"_TO_TRANSLATE",currentPsw:"Huidig wachtwoord",currentVersion:"Huidige versie",databaseColumn:"Kolom Database",dataOfMonth:"Maandgegevens",datasToExport:"_TO_TRANSLATE",date:"Datum",day:"Dag",dayOfMonth:"Dag van de maand",days:"dag(en)",dayS:"Dag(en)",december:"December",decemberShort:"Dec.",default:"standaard",defaultAction:"Standaardactie",defaultOrder:"_TO_TRANSLATE",defaultSort:"Standaard sortering",defaultTemplate:"Aard van het model",delay1:"Termijn herinnering 1 voor einde (in dagen)",delay2:"Termijn herinnering 2 na einde (in dagen)",delete:"Verwijderen",deleteAssignation:"De toekenning verwijderen",deleteAtt:"De bijlage verwijderen",deleteMsg:"Wilt u dit element echt verwijderen?",deleteRedirection:"Delete redirection",deleteUnit:"_TO_TRANSLATE",delimiter:"_TO_TRANSLATE",department:"_TO_TRANSLATE",departureDate:"_TO_TRANSLATE",desactivateAbsence:"De afwezigheid uitschakelen",descending:"Aflopend",descOrder:"_TO_TRANSLATE",description:"Beschrijving",dest_user:"_TO_TRANSLATE",destination:"_TO_TRANSLATE",destinationChangingInfo:"This mail will be reassigned to this entity",destinationChangingInfoMass:"These mails following external entity of",destinationChangingInfoMass2:"will be redirected to entity",destinationEntity:"_TO_TRANSLATE",destinationEntityType:"_TO_TRANSLATE",destruction:"Vernietiging",detailLink:"_TO_TRANSLATE",details:"Details",diffusionList:"Verdelingslijst",diffusionModelCreation:"Aanmaak van een verdelingslijst",diffusionModelDeleted:"Verdelingsmodel verwijderd",diffusionModelModification:"Wijziging van een verdelingsmodel",diffusionModels:"Verdelingsmodellen",diffusionModelUpdated:"Verdelingsmodel bijgewerkt",diffusionModelAdded:"Diffusion model added",diffusionType:"Modeltype",disable:"Uitschakelen",disableBasket:"Het bakje uitschakelen",disabledContactsFilling:"Volledigheid ingeschakeld",display:"weergave",displayAtt:"Het bakje uitschakelen",displayProcessLimitRes:"_TO_TRANSLATE",dlAttachment:"De bijlage downloaden",docDate:"_TO_TRANSLATE",docserverAdded:"Opslagruimte toegevoegd",docserverCreation:"Een opslagruimte aanmaken",docserverDeleted:"Opslagruimte verwijderd",docserverdeleteWarning:"De opslagruimte lijkt opgeslagen bestanden te bevatten, ze zullen niet meer beschikbaar zijn in de toepassing.\n\nWilt u verdergaan?",docserverDoesNotExists:"Docserver does not exists",docservers:"Opslagruimtes",docserverType:"Opslagruimtetype",docserverUpdated:"Opslagruimte gewijzigd",doctype:"Documenttype",doctypes:"Documenttypes",documentTypes:"Documenttypes",documentTypesAlt:"Documenttypologie(ën)",adminDocumentTypesDesc:"De interne structuur van een map bepalen (map / submap / documenttype).",documentation:"Documentatie",documentOutOfPerimeter:"Dit document ligt buiten uw perimeter",documents:"document(en)",documentTypeAdded:"Documenttype toegevoegd ",documentTypeDeleted:"Documenttype verwijderd",documentTypeReplacement:"Vervanging van het documenttype",documentTypeUpdated:"Documenttype bijgewerkt",done:"done",doNothingRedirect:"De entiteit loskoppelen van het profiel van de gebruiker",doNothingRedirectInformations:"De mailinglijsten van de brieven en sjablonen van de entiteit worden niet gewijzigd",doNotModifyUnlessExpert:"Wijzig dit onderdeel niet tenzij u weet wat u doet. Een verkeerde instelling kan leiden tot een slechte werking van de toepassing!",doNotReply:"_TO_TRANSLATE",doShippingParameter:"Please set up a template in <b>Administration</b> > <b>Shippings Maileva templates</b>",downloadOriginalFile:"Download the original file",draft:"Klad",duplicate:"Dupliceren",durationCurrentUse:"Gewoonlijke nutsduur (in dagen)",eachDay:"Dagelijks",eachHour:"Elk uur",eachMinute:"Elke minuut",eachMonth:"Maandelijks",edirectBaskets:"De geselecteerde bakjes doorsturen",editAttachment:"Edit the attachment",editingAttachmentInterrupted:"Editing of the attachment has been interrupted. <br/><sub>Please re-edit it. </sub>",editModelFirst:"Gelieve het model te bewerken vooraleer te bevestigen",edtion:"Edition",electronicTemplate:"Electronic template",elements:"element(s)",email:"E-mail",emails:"E-mails",emailSendFailed:"_TO_TRANSLATE",emailSendInProgress:"_TO_TRANSLATE",emailSendSuccess:"_TO_TRANSLATE",emailSendTest:"_TO_TRANSLATE",emailSignatureAdded:"Mailhandtekening toegevoegd",emailSignatureDeleted:"Mailhandtekening verwijderd",emailSignatures:"Handtekeningen van e-mail",emailSignatureUpdated:"Mailhandtekening gewijzigd",emptyBasket:"Empty basket",enable:"Inschakelen",enableAuth:"_TO_TRANSLATE",enableBasket:"Het bakje activeren",enabledContactsFilling:"Volledigheid uitgeschakeld",enterValue:"U moet een waarde invoeren",entities:"Eenheden",adminEntitiesDesc:"De structuur van uw organisatie beheren (polen, diensten en kantoren). Evenals de verdelingsmodellen en de goedkeuringscircuits die aan de eenheden gekoppeld zijn.",workflowModels:"Circuitmodellen",adminWorkflowModelsDesc:"De modellen van de berichten- en goedkeuringscircuits beheren die in een brief gebruikt kunnen worden.",entity_label:"_TO_TRANSLATE",entityAdded:"Toegevoegde eenheid",entityDeleted:"Verwijderde eenheid",entityFullName:"Blok boomstructuur",entityReplacement:"Vervanging van de eenheid",entityTooglePrimary:"Overgang naar primaire eenheid",entityTreeInfo:"Klik op een eenheid van de boomstructuur om tot zijn informatie toegang te hebben",entityTreeInfoCreation:"Klik op een eenheid van de boomstructuur om de nieuwe eenheid eraan te koppelen",entityType:"Type eenheid",entityUpdated:"Gewijzigde eenheid",entityWithoutParentMessage:"Indien u niet onmiddellijk lid bent van deze eenheid, zal u het automatisch worden.",entries:"ingang(en)",eraseAll:"Erase all",eraseAllFilters:"_TO_TRANSLATE",errorOccured:"Er heeft zich een fout voorgedaan",event:"Evenement",expectedReturnDate:"Expected return date",export_seda:"Export seda",exportDatas:"_TO_TRANSLATE",externalComponents:"Externe onderdelen",february:"Februari",februaryShort:"Feb.",fewSeconds:"enkele seconden",field:"Veld",fieldNature:"Aard veld",fieldType:"Type veld",fileDoesNotExists:"File does not exists",filterBy:"Filteren",filteredFrom:"gefilterd op een geheel van",filters:"_TO_TRANSLATE",fingerprint:"Digitale afdruk",firstLevelAdded:"Map aangemaakt",firstLevelAttached:"Aan de map koppelen",firstLevelDeleted:"Map verwijderd",firstLevelDoctype:"Map",firstLevelUpdated:"Map bijgewerkt",firstname:"Voornaam",firstSummarySheetsGenerated:"Only first 500 summary sheets will be generated.",folder:"Map",folderName:"_TO_TRANSLATE",folders:"Mappen",folderStatus:"_TO_TRANSLATE",folderTypeList:"Lijst van de maptypes",fontBig:"Big",fontBold:"Bold",for:"voor",forCapital:"Voor",format:"Indeling",freeNote:"_TO_TRANSLATE",friday:"Vrijdag",from:"Vanaf",fromRange:"van",functionnalities:"Functies",genSummarySheets:"_TO_TRANSLATE",getAssignee:"User destination (entity destination)",getAssigneeSample:"Barbara BAIN (Finance division)",getCategory:"Category",getCreationAndProcessLimitDates:"Creation date - Process limit date",getCreationAndProcessLimitDatesSample:'1st jan. - <i class="fa fa-stopwatch"></i> <b color="warn">3 day(s)</b>',getDoctype:"Mail type",getDoctypeSample:"Reclamation",getModificationDate:"Modification date",getOpinionLimitDate:"Opinion limit date",getParallelOpinionsNumber:"Number of opinions sent",getParallelOpinionsNumberSample:"<b>3</b> opinion(s) sent",getPriority:"Priority",getRecipients:"Recipient",getSenders:"Sender",getSignatories:"Signatories",getVisaWorkflow:"Goedkeuringscircuit",groupAdded:"Toegevoegde groep",groupCreation:"Aanmaak van een groep",groupDeleted:"Verwijderde groep",groupeCompany:"vennootschap van de Xelians groep",grouping:"Grouping",groupModification:"Wijziging van een groep",groupRedirect:"Groepswijziging",groups:"Groepen",adminGroupsDesc:"Gebruikersgroepen toevoegen, opschorten of wijzigen. Privileges of toegangstoelatingen aan assets toekennen.",groupServicesUpdated:"Gewijzigde voorrechten",groupUpdated:"Gewijzigde groep",hello:"Hallo",history:"Geschiedenis",historyBatch:"Geschiedenis van de batches",home:"Homepage",homePage:"Homepagina",host:"_TO_TRANSLATE",hour:"Uur",html:"HTML",id:"Gebruikersnaam",imgRelated:"Gekoppeld beeld",immediatelyBelowMyPrimaryEntity:"Immediately below my primary entity",immediatelySuperiorMyPrimaryEntity:"Immediately superior to my primary entity",importFile:"Een bestand importeren",inactive:"Niet actief",inactives:"Niet actief",incoming:"Brief Aangekomen",incompleteAddressForPostal:"Incomplete address for postal TRANSLATE",indexing:"Indexeringen",informations:"Gegevens",infosActions:"U moet minstens een status en/of een script kiezen.",initials:"Initialen",initiator:"_TO_TRANSLATE",initiatorEntity:"_TO_TRANSLATE",integer:"Geheel",internal:"Interne brief",ip:"IP-adres",isAssociatedTo:"is gekoppeld aan",isCopyTo:"is in kopie van",isDestTo:"is de bestemming van",isFolderAction:"Mapactie",isFolderActionDesc:"Om deze actie in een mapbakje te gebruiken",isFolderBasket:"Mapbakje",isFolderStatus:"Mapstatus",isLinkedTo:"is gekoppeld aan",isMulticontact:"_TO_TRANSLATE",isNotAvailable:"is not available",isSearchBasket:"Enkel opzoekingsbakje",isSytemAction:"Actie systeem",january:"Januari",januaryShort:"Jan.",july:"Juli",julyShort:"Juli",june:"Juni",juneShort:"Juni",keyword:"Sleutelwoord",keywordHelp:"Hulp voor sleutelwoorden",keywordHelpDesc_1:"Gebruikersnaam van de verbonden gebruiker",keywordHelpDesc_12:"Technical user id of logged user",keywordHelpDesc_10:"Subeenheden die direct onder (n-1) de in het argument gegeven eenheden liggen",keywordHelpDesc_11:"Voorbeeld van documentaire perimeter toegang tot assets met betrekking tot de hoofddienst van de verbonden gebruiker of tot de subdiensten van deze dienst",keywordHelpDesc_2:"E-mail van de verbonden gebruiker",keywordHelpDesc_3:"Alle eenheden die aan de verbonden gebruiker gekoppeld zijn Bevat geen subeenheden",keywordHelpDesc_4:"Primaire eenheid van de verbonden gebruiker",keywordHelpDesc_5:"Subeenheden van de argumentenlijst die ook @my_entities of @my_primary_entity kan zijn",keywordHelpDesc_6:"Bovenliggende eenheid van de eenheid in het argument",keywordHelpDesc_7:"Alle eenheden van hetzelfde niveau van de eenheid in het argument",keywordHelpDesc_8:"Alle eenheden van hetzelfde type dat in het argument voorkomt",keywordHelpDesc_9:"Alle (actieve) eenheden",keywordHelper:"De hulp voor de sleutelwoorden weergeven / verbergen",label:"Omschrijving",last:"laatste",lastname:"Naam",life_cycle:"Levenscyclus",limitDataReached_1000:"Limiet van <b>1000 ingangen</b> bereikt.",limitDataReached:"U heeft de weergavegrens bereikt (<b>25000 ingangen</b>) verfijn uw <b>databereik</b>",linkContact:"Een contact koppelen",linkDetails:"Krijg toegang tot de gedetailleerde fiche",linkEntityToUserInfo:"Klik op een eenheid van de boomstructuur om deze te koppelen aan / ontkoppelen van de gebruiker",linkGroup:"Een groep koppelen",links:"Verbindingen",linkUser:"Een gebruiker koppelen",listTemplatesRolesUpdated:"Gewijzigde rollen",loading:"Aan het laden ...",lockDocserver:"De opslagruimte vergrendelen (enkel lezen)",lockedBy:"locked by",logout:"Verbinding verbreken",maarchApplication:"Maarch Applicatie",maarchLicence:"Maarch Courrier wordt verspreid onder de voorwaarden van de",mail:"Brief",mails:"mails",mailAttachments:"bijkomend(e) stuk(ken)",mailDate:"_TO_TRANSLATE",mailEntitiesList:"List of entities attached to mails",maileva_addressPage:"Address page",maileva_color:"Color",maileva_duplexPrinting:"Both sides",maileva_economic:"Economic (J+4)",maileva_fast:"Fast (J+2)",maileva_firstPagePrice:"1st page",maileva_nextPagePrice:"Next page(s)",maileva_postagePrice:"Postage up to 20g",maileva_registered_mail_ar:"Registered mail AR",maileva_registered_mail:"Registered mail",mailevaAccount:"Maileva account",mailFrom:"_TO_TRANSLATE",mailNote:"Annotation of the main document",mailTo:"_TO_TRANSLATE",mailType:"_TO_TRANSLATE",makeActionOn:"Do you want to do this action on",manageAbsences:"Mijn bakjes doorsturen",manageSignatures:"De handtekeningen beheren",mandatory:"Verplicht",march:"Maart",marchShort:"Maart",maxSize:"Maximumgrootte",may:"Mei",mayShort:"Mei",memberAllUsers:"Alle gebruikers leden",memberDiffTypeUsers:"Personen die lid zijn van het verdelingstype",memberUserDest:"Gebruiker bestemmeling lid",memberUsersCopy:"Gebruiker(s) in kopie lid (leden)",menu:"Menu",menus:"Menu’s",minute:"Minuut",minutes:"minu(u)t(en),",missingAdvert:"Deze account staat momenteel in modus ‘afwezig’.",missingAdvert2:"Indien u zich met deze account wil verbinden, zal de modus ‘afwezig’ verwijderd worden.",missingAdvertTitle:"Afwezigheidsbeheer",missingBasket:"_TO_TRANSLATE",missingChoose:"Wenst u uw account opnieuw te activeren?",missingMailevaConfig:"Maileva configuration does not exist _TO_TRANSLATE",disabledMailevaConfig:"Maileva configuration is disabled",modelUpdated:"Het model werd bijgewerkt",modificationSaved:"Wijziging bewaard",modifiedBy:"Modified by",modifiedOn:"Modified on",module:"Module",modules:"Modules",monday:"Maandag",month:"Maand",moreOptions:"Meer opties",move:"Verplaatsen",mustCompleteAR:"You must complete one of two acknowledgement of receipts",mustReconnect:"_TO_TRANSLATE",myBaskets:"Mijn Bakjes",myBasketsDesc:"Mijn bakjes naar andere gebruikers doorsturen",myContactsGroups:"Mijn contactgroeperingen",myContactsGroupsDesc:"Mijn contactlijsten beheren",myEntities:"My entities",myHistoric:"mijn geschiedenis",myInformations:"Mijn informatie",myLastResources:"Mijn laatste geraadpleegde mails",myMenu:"Persoonlijk menu",myParameters:"Mijn instellingen",myPreferences:"Mijn voorkeuren",myPrimaryEntity:"My primary entity",myProfile:"Mijn profiel",myProfileAccess:"Toegang hebben tot mijn profiel",mySignMail:"Mijn handtekeningen (e-mail)",mySignMailDesc:"Mijn e-mailhandtekeningen beheren",mySignSignatureBook:"Mijn handtekeningen (vloeiboek)",mySignSignatureBookDesc:"Mijn parafen beheren",nature:"_TO_TRANSLATE",newAccount:"New account",newAction:"Nieuwe actie",newAssignee:"Nieuwe ontvanger",newDest:"New recipient for",newDestRes:"New recipient for mails",newElement:"Nieuw element",newPsw:"Nieuw wachtwoord",newSignature:"Nieuwe handtekening",newVersionAvailable:"Er is een nieuwe versie beschikbaar",next:"Volgende",no:"Nee",noAction:"No action",noAttachment:"Zonder bijlage",noAttachmentClickToAddOne:'No attachments available<br/><sub>Click on <i class="fa fa-paperclip fa-lg" ></i><i class="fa fa-plus"></i> to add one.</sub>',noAttachmentContact:"No contact (external) linked to this attachment",noAttachmentConversion:"No PDF conversion for this attachment TRANSLATE",noAttachmentInSignatoryBook:"No item in signature book",noSignableAttachmentInSignatoryBook:"No signable attachment in signature book",noAttachmentToSend:"No attachment to send",noDocumentToSend:"No document to send",noAvailableBasket:"Geen bakje beschikbaar",noDataAvailable:"_TO_TRANSLATE",noDatasource:"Geen gegevensbron",noDiffusionList:"No diffusion list",noDoctypeSelected:"Geen documenttype geselecteerd ",noEntity:"Geen enkele eenheid",noFirstLevelSelected:"Geen enkele submap geselecteerd",noFranceContact:"Address is not in France for this contact TRANSLATE",noMailConversion:"Mail does not have PDF conversion",noMove:"Deze eenheid / gebruiker kan niet verplaatst worden",none:"_TO_TRANSLATE",noNote:"Geen notities",noNumericPackageSelected:"Geen enkele digitale brief geselecteerd",noOverviewAvailable:"No overview available",noPerson:"Geen persoon",noRecord:"Geen onderdelen",noReplacement:"Geen vervanging",noResult:"Geen resultaat",noSettingsAvailable:"Geen instellingen beschikbaar",noShippingTemplate:"No common shipping Maileva templates available for these entities",noTemplate:"No template",notes:"Opmerkingen",noteTemplates:"Note Templates",notificationAdded:"Melding toegevoegd",notificationCreation:"Aanmaak van een melding",notificationDeleted:"Melding verwijderd",NotificationDiffusionType:"Verdelingstype",NotificationEnabled:"Geactiveerd",NotificationEvent:"Evenement",notificationJoinDocument:"Het hoofddocument bijvoegen",notificationModel:"Model van de verzendingsmail",notificationModification:"Wijziging van de melding",notifications:"Melding(en)",notificationSchedule:"De meldingen plannen",NotificationScheduleInfo:"Ter herinnering\n\nformaat van crontab : [minuut] [uur] [dag van de maand] [maand] [dag van de week]",notificationScheduleUpdated:"Geplande ta(a)k(en) bijwerking",notificationsSchedule:"Planning van de meldingen",NotificationToEnable:"Inschakelen",notificationUpdated:"Melding van de bijwerking",notUsed:"Niet gebruikt",noUserDefinedInMaarchParapheur:"No user created in Maarch Parapheur",noUserReplacement:"Geen vervangingsgebruiker",november:"November",novemberShort:"Nov.",noVisaWorkflowNoSignature:"No visa workflow set up. <br/>><sub>No signature possible. </sub>",numericPackageImported:"Digitale brief correct geïmporteerd",object:"Onderwerp",objectSample:"Subject sample",october:"Oktober",octoberShort:"Okt.",office:"Kantoor",officialWebsite:"Officiële site",oneHour:"Een uur",oneMinute:"een minuut",onRange:"op",openIndexation:"Indexing page will be open so that you can create a new mail",opinionsSent:"opinion(s) sent",optional:"Optioneel",OrderBy:"_TO_TRANSLATE",orderBy:"Sorteren",organization:"ORGANISATIE",otherActions:"Bijkomende actie(s)",otherInformations:"Bijkomend(e) informatie",otherParameters:"Ander(e) instelling(en)",others:"Ander(e)",othersBaskets:"Andere bakjes",outdated:"Verstreken",outgoing:"Brief vertrek",outOf:"van",page:"Pagina",paperTemplate:"Paper template",parameter:"Instelling",parameterAdded:"Instelling toegevoegd",parameterCreation:"Aanmaak van een instelling",parameterDeleted:"Instelling verwijderd",parameterModification:"Wijziging van een instelling",parameters:"Instellingen",parameterUpdated:"Instelling gewijzigd",parentFolder:"_TO_TRANSLATE",password:"Wachtwoord,",password2renewal:"Na deze termijn moet u er een nieuw kiezen",passwordChanged:"Uw wachtwoord werd gewijzigd",passwordcomplexityNumber:"minstens 1 cijfer",passwordcomplexityNumberRequired:"Cijfer vereist",passwordcomplexitySpecial:"minstens 1 speciaal karakter",passwordcomplexitySpecialRequired:"Speciaal teken vereist",passwordcomplexityUpper:"minstens 1 hoofdletter",passwordcomplexityUpperRequired:"Hoofdletter vereist",passwordhistoryLastUseDesc:"U mag het/de",passwordhistoryLastUseDesc2:"laatste wachtwoord(en) niet gebruiken",passwordhistoryLastUseRequired:"Aantal opgeslagen wachtwoorden",passwordlockAttemptsRequired:"Aantal verbindingspogingen",passwordlockTimeRequired:"Blokkeringstijd",passwordMatch:"De wachtwoorden zijn identiek",passwordminLength:"karakter(s) minimum",passwordminLengthRequired:"Minimumlengte",passwordModification:"Wijziging van wachtwoord",passwordNotMatch:"De wachtwoorden komen niet overeen",passwordrenewal:"Hou er rekening mee dat uw nieuw wachtwoord maar geldig zal zijn voor",passwordrenewalRequired:"Wachtwoord vervallen",passwordRulesUpdated:"Veiligheidsregels bijgewerkt",passwordUpdated:"Wachtwoord gewijzigd",passwordValid:"Conform wachtwoord",path:"Path",patternId:"De waarde mag enkel alfanumerieke karakters, punten, underscores of streepjes bevatten",pdfVersionFile:"The PDF version of the file",phoneNumber:"Telefoonnummer",port:"_TO_TRANSLATE",preview:"Preview",previous:"Vorige",pricesInformations:"Prices informations",primary:"Primair",primaryEntity:"Primaire eenheid",primaryInformations:"_TO_TRANSLATE",printDate:"_TO_TRANSLATE",printResultList:"_TO_TRANSLATE",priorities:"Prioriteit(en)",prioritiesAlt:"Prioriteiten",prioritiesHelpDesc:"De prioriteiten slepen-neerzetten om de volgorde te wijzigen",prioritiesOrder:"De volgorde van de prioriteiten beheren",priority:"Prioriteit",priorityAdded:"Toegevoegde prioriteit",priorityCreation:"Aanmaak van een prioriteit",priorityDeleted:"Verwijderde prioriteit",priorityModification:"Wijziging van een prioriteit",prioritySample:"Hight",priorityUpdated:"Gewijzigde prioriteit",private:"Privé",privileges:"Voorrechten",process_limit_date:"_TO_TRANSLATE",processAction:"Verwerkingsactie(s)",processDate:"_TO_TRANSLATE",processDelay:"Verwerkingstermijn",processDelayDay:"Verwerkingstermijn (in dagen)",processLimitDate:"Verwerkingsdeadline",processMode:"Verwerkingswijze for acknowledgement receipt",processType:"Verwerkingstype",production:"PRODUCTIE",progression:"Vooruitgang",pswReseted:"Wachtwoord opnieuw ingesteld",public:"Openbaar",putInSendAttach:"Put in send attachement Maileva",putInSignatureBook:"Put in signature book",quickSearchInfo:"Target search ",inSignatureBook:"In signature Book",inShipping:"In shipping",quickSearchTarget:"subject (mail / attachment), chrono number (courrier / attachment), notes content, barcode, EDM number (mail)",quota:"Quota",quotaExceeded:"Quota overschreden",reactivateUserDeleted:"De ingevoerde gebruikersnaam is toegekend aan een verwijderde gebruiker. Wilt u deze opnieuw activeren?",readyToGeneratePaperAr:"paper acknowledgement receipt ready to be generated",readyToSendElectronicAr:"electronic acknowledgement receipt ready to be send",reaffectUserRedirect:"Terug toekennen aan de gebruiker",reaffectUserRedirectInformations:"De gebruiker wordt vervangen door de geselecteerde gebruiker in de mailinglijsten van de mail en template van de entiteit",reallyWantToDeleteContactFromGroup:"Weet u zeker dat u dit contact uit de groep wil verwijderen?",reassign:"Opnieuw toewijzen",recipient:"_TO_TRANSLATE",recipients:"_TO_TRANSLATE",record:"element(en)",records:"resultaten",recordsPerPage:"resultaten per pagina",redirectBasket:"Het bakje doorsturen",redirectBaskets:"De bakjes doorsturen",redirectConfidentialInfo:"Deze gebruiker heeft <b>vertrouwelijke brieven</b> die aan deze dienst gekoppeld zijn.<br/>Het is beter om deze aan een andere gebruiker van de dienst toe te wijzen.",redirectedTo:"Doorgestuurd aan",redirectModelInfo:"Deze gebruiker is aanwezig in het <b>verdelingsmodel</b> van de eenheid.",redirects:"Doorsturingen",redirectTo:"Doorverwijzen naar",redirectUserListDiff:"Wijziging van bestemmeling van de modellen van de verdelingslijst",redirectUserListInstances:"Change of recipient for mail being processed",redirectWhenAbscence:"Het bakje aan een persoon doorsturen",reference:"_TO_TRANSLATE",relatedBaskets:"Gekoppeld(e) bakje(s)",relatedContactNumber:"Gekoppeld(e) contact(en)",relatedContacts:"Gekoppeld(e) contact(en)",relatedUsers:"Gekoppelde gebruiker(s)",removeAllDatas:"_TO_TRANSLATE",removeUserRedirect:"Verwijder de gebruiker van de mailinglijsten",removeUserRedirectInformations:"<em>De gebruiker wordt verwijderd uit de mailinglijsten en sjabloon van de entiteit <b>behalve in het geval dat het wordt toegekend</b></em>",renewPsw:"Wachtwoord opnieuw intypen",reports:"Statistieken",requiredField:"Vereist veld",resetColor:"De kleur resetten",resId:"GED gebruikersnaam",restrictedEntity:"Restricted entity",resultPage:"Resultaatpagina",retentionFinalDisposition:"Uiteindelijke lot",retentionRule:"Bewaringsregel",returnDate:"Datum van terugkeer",retypeNewPassword:"Voer het wachtwoord opnieuw in",role:"Functie",roles:"Roles",roleUsedInTemplateInfo:"De functie wordt gebruikt in de volgende diensten",roleUsedInTemplateInfo2:"De gebruikers die aan deze rol gekoppeld zijn, zullen van de verdelingslijst geschrapt worden.",sameLevelMyPrimaryEntity:"Same level of my primary entity",saturday:"Zaterdag",save:"Bewaren",manageNumericPackage:"Een digitale brief bewaren",saveNumericPackage:"Save numeric package",sbSignatures:"Handtekeningen van de parafeerder",script:"Script",scriptCreated:"Script aangemaakt",search:"Zoeken",searchByAttachmentType:"Search by attachment type",searchDatas:"_TO_TRANSLATE",searchEntities:"Een eenheid zoeken",searchMailInBasket:"_TO_TRANSLATE",searchMails:"Mails zoeken",searchNewAssignee:"Search for a new assignee",secondaryEntity:"Secundaire eenheid",secondaryInformations:"_TO_TRANSLATE",secondLevelAdded:"Submap aangemaakt",secondLevelAttached:"Aan de submap koppelen",secondLevelDeleted:"Submap verwijderd",secondLevelDoctype:"Submap",secondLevelUpdated:"Submap bijgewerkt",securitiesAdministration:"Veiligheidsbeheer",securityConstraints:"Veiligheidsregels",selectAction:"Select an action",selectAll:"Alles selecteren",selectAllResInBasket:"_TO_TRANSLATE",selected:"selected",selectedAccount:"Selected account",selectedDocumentStatus:"Rekening houden met de status van het brief",selectedElements:"_TO_TRANSLATE",sender:"_TO_TRANSLATE",senderRecipientInformations:"_TO_TRANSLATE",senders:"_TO_TRANSLATE",sendmail:"E-mails verzenden",sendmailShort:"_TO_TRANSLATE",sendMode:"Send mode",sendModes:"Send modes",sendTo:"Verzenden aan",september:"September",septemberShort:"Sept.",setByDefault:"set by default",settingsList:"_TO_TRANSLATE",shapingOptions:"Shapings options",shippingAdded:"Shipping Maileva added",shippingCreation:"Shipping Maileva creation",shippingDeleted:"Shipping Maileva deleted",shippingModification:"Shipping Maileva modification",shippingNotEligible:"Ineligible mail(s) ",shippingReadyToSend:"document(s) ready to be sent",shippings:"Shippings Maileva templates",shippingUpdated:"Shipping Maileva updated",shortcut:"Sneltoetsen",shortLabel:"Korte omschrijving",signAdded:"Handtekening toegevoegd",signatureAdded:"Handtekening toegevoegd",signatureDate:"_TO_TRANSLATE",signatureDeleted:"Verwijderde handtekening",signatures:"Handtekeningen",signatureUpdated:"Bijgewerkte handtekening",signDeleted:"Verwijderde handtekening",signed:"Ondertekend",signsSynchronized:"Signatures have been updated in Maarch Parapheur",signUpdated:"Gewijzigde handtekening",signUser:"Ondertekenaar",since:"Sinds",siret:"SIRET number",siretCode:"SIRET-nummer",phpmail:"Function php 'mail'",qmail:"Qmail",smtprelay:"Sendmail",smtpclient:"Smtp",smtpAuth:"_TO_TRANSLATE",status:"Status",statusAdded:"Status toegevoegd",statusCreation:"Aanmaak van een status",statusDeleted:"Status verwijderd",statuses:"Status(sen)",statusModification:"Wijziging van status",statusName:"Statusnaam",statusUpdated:"Bijgewerkte status",stringInput:"Karakterreeks",subEntities:"_TO_TRANSLATE",subject:"_TO_TRANSLATE",summarySheet:"_TO_TRANSLATE",summarySheets:"_TO_TRANSLATE",summarySheetsAlt:"_TO_TRANSLATE",sunday:"Zondag",supervision:"TOEZICHT",suspend:"Opschorten",suspended:"Opgeschort",suspendNotification:"De melding opschorten",sveStartDate:"_TO_TRANSLATE",syncSignsToMaarchParapheur:"Synchronize signatures to Maarch Parapheur",system:"Systeem",systemParameters:"systeeminstellingen",tags:"Sleutelwoorden",adminTagsDesc:"Voor het wijzigen, verwijderen, toevoegen of fusioneren van sleutelwoorden vanuit de beheerinterface.",templateAdded:"Model toegevoegd",templateAssociateEntities:"List of entities already associated with a template",templateCheckEntities:"The following entities already have a registered template for the type : ",templateCreation:"Aanmaak van het model",templateDatasource:"Gegevensbron",templateDeleted:"Model verwijderd",templateDuplicated:"Model gedupliceerd",templateEdition:"Bewerking van het model",templateModification:"Wijziging van het model",templateName:"Naam van het model",templates:"Documentmodellen",templateServiceInfo:"Kies de dienst(en) waarmee u dit model wil koppelen",templateTarget:"Doel van het model",templateType:"Modeltype",templateUpdated:"Model bijgewerkt",thanksToCommunity:"En de volledige Maarch-community!",thanksToExtDev:"Maarch Courrier steunt op enkele externe onderdelen. Hartelijk dank aan de ontwikkelaars ervan!",thisRes:"Following mail(s)",tuesday:"Dinsdag",thursday:"Donderdag",title:"Titel",to:"naar",toAnUser:"Naar een gebruiker",toAService:"Naar een dienst",toEntities:"Naar de diensten",toExport:"_TO_TRANSLATE",toggleQrcode:"_TO_TRANSLATE",tools:"Tools",toolTipDeleteDoctype:"Indien er aan dit documenttype brieven zijn gekoppeld zal er een scherm van nieuwe toewijzing weergegeven worden",tooltipFolderStatus:"Indien dit aangevinkt is, zal de status gebruikt kunnen worden voor mapbakjes",tooltipIndexStatus:"Indien dit aangevinkt is, zal u de metagegevens van de brieven met deze status kunnen wijzigen",tooltipSearchStatus:"Indien aangevinkt zal de status u voorgesteld worden in het opzoekcriterium STATUSSEN van de geavanceerde opzoeking",tooMuchDatas:"Too much datas to export",toRange:"naar",toSchedule:"Plannen",toStatuses:"Naar de statussen",toStatusesDesc:"U kunt geen status kiezen Voor deze actie is er reeds een status voorgedefinieerd.",totalErrors:"Foutief (ve) element(en)",totalPrice:"Total price",totalProcessed:"Geanalyseerd(e) element(en)",toUsersEntities:"Naar de gebruikers van de diensten",transferToDoctype:"Vervangen door het documenttype",triggerAction:"Activerende actie",triggerSystem:"Starten van het systeem",txt:"Tekst",type_label:"_TO_TRANSLATE",type:"Type",typeCurrentPassword:"Voer uw huidig wachtwoord in",typeNewPassword:"Voer een nieuw wachtwoord in",typist:"_TO_TRANSLATE",unableToDelete:"Niet te onderdrukken",unableToSuspend:"Schorsing onmogelijk",undefined:"_TO_TRANSLATE",undefinedStatus:"_TO_TRANSLATE",unlinkAction:"De actie ontkoppelen",unlinkGroup:"De groep ontkoppelen",unselectAll:"Selectie volledig ongedaan maken",unsign:"Unsign",until:"Tot",update:"Wijzigen",updateAcknowledgementSendDate:"This will update send date for paper acknowledgement receipt",updateAtt:"De bijlage wijzigen",updateClosingDate:'This will update mail <b class="highlight">closing date</b>.',updateDepartureDate:'This will update mail <b class="highlight">departure date</b>.',updateStatus:"Statuswijziging van de brief",updateStatusInformationsChrono:"Door het CHRONO NUMMER van het document in te geven, wijzigt u de status van de brief. Deze brief zal beschikbaar zijn in het gebruikersbakje waaraan hij toegewezen was volgens de status die u gedefinieerd hebt.",updateStatusInformationsGed:"Door de GED GEBRUIKERSNAAM van het document in te geven, wijzigt u de status van de brief. Deze brief zal beschikbaar zijn in het gebruikersbakje waaraan hij toegewezen was volgens de status die u gedefinieerd hebt.",updateVersionControl:"Controle van de bijwerking",uploadSignFile:"Een afbeelding op dit kader plaatsen of klikken om uw bestanden te doorlopen (JPG PNG JPEG)",uploadSignFileInfo:"Klikken om een handtekening toe te voegen vanuit uw post",used:"Gebruikt",usedInActionPage:"Actie op de actiepagina",usedInBasketlist:"Actie op de resultatenlijst",user:"gebruiker",userAdded:"Toegevoegde gebruiker",userAuthorized:"Toegelaten gebruiker",userCreation:"Aanmaak van een gebruiker",userDeleted:"Verwijderde gebruiker",userIsDeletableBy:"Only a user with the <b>totality of access rights</b> can delete or suspend this user.",userIsNotDeletable:"You do not have <b>full access rights</b> to diffusion list or mails for the user ",userMaarchParapheur:"Maarch Parapheur user",userModification:"Wijziging van de gebruiker",userReplacement:"Vervangingsgebruiker",users:"Gebruikers",adminUsersDesc:"Gebruikersprofielen toevoegen, opschorten of wijzigen.",usersAlt:"Gebruiker(s)",userSuspended:"Geschorste gebruiker",userToRedirect:"Hier klikken om door te sturen",userUpdated:"Gewijzigde gebruiker",validate:"Valideren",validateAction:"Kwalificatieactie(s)",value:"waarde",version:"Version",view:"Raadplegen",visa:"Goedkeurings",visaUser:"Goedkeurder",visaWorkflow:"Goedkeuringscircuit",warnLockRes:"mail(s) are locked by",warnLockRes2:"\n\nThis action will process ONLY mails which are NOT locked",warnLockResInProgress:"This mail is in progress by",warnMaxDataList:"Maximum of displayed datas is reached",warnShapingOption:"<b>Be carefull !</b> The address will be setted in the first page of sent documents",warnTooMuchSelect:"only 500 elements can be processed with an action",webserviceAccount:"Webservice-account",webserviceAccountDesc:"Indien ingeschakeld zal deze account niet gebruikt kunnen worden om zich grafisch met de applicatie te verbinden.",wednesday:"Woensdag",welcomeInGEC:"Welkom bij uw <b>E</b>lektronisch <b>E</b>-mail<b>b</b>eheer,<br/><br/>we zijn",whereClauseAction:"Voorwaarde voor optreden van de actie (where clause)",willBeAutomaticallyInCopy:"wordt automatisch <b>gekopieerd</b>",workingDays:"werkdag(en)",yes:"Ja",zipcode:"Postcode",printSeparatorInfo:"You can print separators <b>by entity</b> or <b>generic</b> in order to use in <b>maarchCapture</b> to record scanned mails in right entity.",generic:"Generic",qrcode:"QR code",separatorType:"Separator type",separatorTarget:"Separator target",generateAndDownload:"Generate and download",separators:"Separator(s)",entityTreeInfoSeparator:"Click on entity tree in order to generate the separator",userOK:"Active",userSPD:"Inactive",userABS:"Absent",noVisaWorkflow:"No visa workflow set up.",visaWorkflowWillBeSend:"Visa workflow will be send to Maarch Parapheur",usersNotExistedInMaarchParapheur:"Some users does not exist in Maarch Parapheur",usersMissingInSignatureBook:"missing in Maarch Parapheur",unlinkAccount:"Unlink account",accountLinked:"Account linked",accountUnlinked:"Account unlinked",maarchParapheurAccountMsg:"A <b>new</b> account with login",maarchParapheurAccountMsg2:" will be created in Maarch Parapheur.",searchUserInMaarchParapheur:"Search unlinked an user in Maarch Parapheur",newLoginInMaarchParapheur:"New Maarch Parapheur Login",loginAlreadyExistsInMaarchParapheur:"Login already exists in Maarch Parapheur",maarchParapheurLinkbroken:"Maarch Parapheur link is broken",maarchParapheurDocuments:"Maarch Parapheur document(s)",to_visa:"To approve",to_sign:"To sign",to_note:"To note",confidential:"Confidential",ok:"Ok",updateOk:"Update successfull !",updateInProgress:"Update in progress ...",updateInfo:"This action cannot be undone and will update all instances of the application! Do not make any actions during process.",isAvailable:"is available",updateWarn:"Update is not possible.<br/>These files are modified : <br/>",chooseValue:"Choose a value",availableValues:"Available values",noAvailableValue:"No available value",autocompleteInfo:"The criteria must contain at least <b>3 letters</b>",availableUsers:"Available users",userUnauthorized:"User Unauthorized",warnIndex:"This group can not index document.",authorizedEntities:"Authorized entities destination",enableIndex:"Activate mail indexing",disableIndex:"Disable mail indexing",indexEnabled:"Mail indexation enabled",indexDisabled:"Mail indexation disabled",indexation:"Mail indexation",keywordAdded:"Keyword added",keywordDeleted:"Keyword deleted",availableIndexingActions:"Available actions when indexing",actionsInfo:'Only actions with "simple confirmation", "close mail", "no confirmation" and "send to visa" will be displayed',eventList:"Open page",folderAdded:"Folder added",folderDeleted:"Folder deleted",removedFromFolder:"Mail removed from folder",removeFromFolder:"Remove from folder",classifyInFolder:"Classify this mail in a folder",getFolders:"Folders (fixed postion)",getFoldersSample:"Litigation",classifyIn:"Classify in ...",setInParentFolder:"Set in parent folder ...",searchFolder:"Search folder",shareToEntities:"Share to entities ...",canManageFolder:"Can manage this folder",searchMailInFolder:"Search mails in folder",addSubFolder:"Add subfolder",sharedFolder:"Shared folder",addFolder:"Add folder",more:"More",less:"Less",actionsAlt:"Actions",addRootFolder:"Add root folder",folderUpdated:"Folder updated",in:"in",classifyQuestion:"Do you want to classify",moveQuestion:"Do you want to move",classify:"Classify",mailClassified:"Mail(s) classified",noAvailableFolder:"No available folder",unclassifyQuestion:"Do you want to unclassify",mailsInFolder:"mail(s) in folder",customFields:"custom field(s)",avaiblableCustomFieldsTypes:"Available(s) custom type(s)",customField:"custom field",selectInput:"Select input",dateInput:"Date input",radioInput:"Radio input",checkboxInput:"Checbox input",customFieldAlreadyExists:"Custom fields already exists with this name",newField:"New field",newValue:"New value",customFieldAdded:"Custom field added",customFieldUpdated:"Custom field updated",customFieldDeleted:"Custom field deleted",usableFields:"Usable field(s)",noCustomFieldInfo:"<b>No custom field</b> available, choose avaiblable custom fields types on <b>right panel</b> in order to create new custom fields.",defaultValue:"Default value",valuesList:"List of values",addValue:"Add a value",orderValues:"Order values",customFieldsTypesAvailable:"Custom fields types available",typeValue:"Type a value",chooseDate:"Choose a date",selectedValue:"Selected value",choice:"Choice",owner:"Owner",privateFolder:"Private folder",visibleBy:"Visible by",noteVisibleBy:"Note visible by :",folderInformations:"Folder Informations",process:"Process",modelName:"Model name",defaultModel:"Default model",indexingForm:"Indexing form",availableFields:"Available field(s)",availableCustomFields:"Available custom field(s)",indexingModel:"Indexing model",indexingModelModification:"Indexing model modification",mandatoryField:"Mandatory field",optionalField:"Optional field",indexingModels:"Indexing models",perimeter:"Perimeter",indexingModelDeleted:"Indexing model deleted",indexingModelAdded:"Indexing model added",indexingModelUpdated:"Indexing model updated",indexingModelCreation:"Indexing model creation",integerInput:"Input number",noSelectedValue:"No selected value",searchValue:"Search a value",initiatorEntityAlt:"Initiator entity",autocompleteInput:"Autocomplete input",typeEnterToCreate:"Type on <b>enter</b> to create element",ged_doc:"GED Document",trackThisMail:"Track this mail",untrackThisMail:"Untrack this mail",noFieldInModelMsg:"No field found ! Default fields have been loaded",fieldNotExist:"Field not exist",saveAsModel:"Save as Model",noAvailableIndexingModel:"No indexing model found<br /><br /><small>Please create a model in Administation > Indexing model</small>",noAvailableAction:"<b>No available action</b>, please set an action in <b>Administration > User groups > Mail indexing</b>.",noAvailableActionProcess:"<b>No available action</b>, please set an action in <b>Administration > Baskets > Current basket</b>.",eraseValue:"Erase value",todayDate:"Today date",noDefaultIndexingModel:"No default indexing model found, the first model of the list have been loaded.",indexing_incoming:"incoming",indexing_outgoing:"outgoing",indexing_internal:"internal",indexing_ged_doc:"GED",noSelectedFolder:"No selected folder",noSelectedTag:"No selected tag",searchTag:"Search tag",tagAdded:"Tag added",tagDeleted:"Tag deleted",modifyDiffusionList:"Modify diffusion list",notInAuthorizedEntities:"is not in one of the <b>authorized entities</b>.",indexingModelDisabled:"Indexing model disabled",indexingModelEnabled:"Indexing model enabled",canNotDeleteIndexingModel:"This indexing model can not be deleted because at least one mail used it",loadingFile:"Loading file",convertingFile:"Convert file in progress",notAllowedExtension:"Extension not allowed",allowedExtensions:"Allowed extensions",maxFileSizeReached:"Maximum file size reached",maxFileSize:"Maximum file size",uploadAnOtherFile:"Upload an other file",removeFile:"Remove file",loaded:"loaded",noAvailablePreview:"No available preview",file:"File",DownloadConvertedFile:"Download converted file",linkNewAction:"Link new action",addPrivateIndexingModelMsg:"This model will be <b>private</b> and will keep as model",addPrivateIndexingModelMsg2:"with <b>actual</b> values.",privateIndexingModelCreation:"Private indexing model creation",createPrivateIndexingModel:"Create an indexing model with current datas",currentIndexingMail:"the current indexing mail",mustFixErrors:"You must fix the errors.",badActionParam:"Bad action parameter",technicalId:"Technical identifier",foldersTree:"Folders tree",myPinnedFolder:"My pinned folders",noPinnedFolder:"No pinned folder",pinFolder:"Pin folder",unpinFolder:"Unpin folder",showFoldersTree:"Show tree",hideFoldersTree:"Hide tree",folderPinned:"Folder pinned",folderUnpinned:"Folder unpinned",entitiesSeparator:"Print limiters by department/services",backHome:"Back to home",viewDocHistory:"De geschiedenis van de acties op het brief bekijken",viewHistoryDesc:"De geschiedenis van de gebeurtenissen met betrekking tot het gebruik van Maarch Courrier raadplegen.",viewFullHistory:"De volledige geschiedenis van het document bekijken",viewFullHistoryDesc:"De volledige geschiedenis van de evenementen over het gebruik van GED Maarch raadplegen.",editResource:"Een document in de gedetailleerde",editResourceDesc:"Een document in de gedetailleerde. Dat zal ook van de instelling van de status afhangen (Wijziging van de indexen)",addLinks:"Add/remove links",deleteDocumentInDetail:"Een document in de gedetailleerde fiche verwijderen",manageTagsInApplication:"Create tags",manageTagsInApplicationDesc:"Create tags while indexing, processing and in details",updateDiffusionWhileIndexing:"Update all parts of diffusion list when indexing.",updateDiffusionExceptRecipientWhileIndexing:"Update diffusion list except Assignee when indexing.",updateDiffusionWhileProcess:"Update all parts of diffusion list when processing.",updateDiffusionExceptRecipientWhileProcess:"Update diffusion list except Assignee when processing.",updateDiffusionWhileDetails:"Update all parts of diffusion list when in details.",updateDiffusionExceptRecipientWhileDetails:"Update diffusion list except Assignee when in details.",useMailServices:"De e-mails van zijn diensten gebruiken als verzender",viewDocumentsWithNotes:"View mail with notes",viewDocumentsWithNotesDesc:"View attachment of 'document_with_notes' type",viewTechnicalInformation:"De technische informatie bekijken",configAvisWorkflow:"Configuratie van het berichtencircuit",configAvisWorkflowDesc:"Om het berichtencircuit van de brief in te stellen",configAvisWorkflowInDetail:"Configuratie van het berichtencircuit vanuit de gedetailleerde fiche",configAvisWorkflowInDetailDesc:"Om het circuit rechtstreeks vanuit de gedetailleerde fiche van de brief te bepalen",avisAnswer:"Zijn mening geven",avisAnswerDesc:"Laat deze groep verschijnen in de lijst van de Consultants (berichtencircuit)",configVisaWorkflow:"Configuratie van het goedkeuringscircuit",configVisaWorkflowDesc:"Om het goedkeuringscircuit in te stellen dat de brief zal moeten volgen",configVisaWorkflowInDetail:"Configuratie van het goedkeuringscircuit vanuit de gedetailleerde fiche",configVisaWorkflowInDetailDesc:"Om het goedkeuringscircuit vanuit de gedetailleerde fiche te configureren",noFile:"No file",noFileMsg:"<b>Be careful</b>, no file uploaded.<br/><br/>Continue ?",visaAnswers:"De antwoordontwerpen goedkeuren",visaAnswersDesc:"Om de antwoordontwerpen te kunnen goedkeuren",signDocs:"De documenten ondertekenen",modifyVisaInSignatureBook:"De huidige goedkeurder wijzigen vanuit het vloeiboek",modifyVisaInSignatureBookDesc:"Nuttig indien het vloeiboek als controlevloeiboek dient",printFolderDoc:"De volledige map afdrukken",statusesAdmin:"Statussen aanmaken of wijzigen",actionsAdmin:"Acties aanmaken of wijzigen",contactsAdmin:"Contactenbeheer",templatesAdmin:"De modellen die voor de bijlagen gebruikt worden, de meldingen, de aanmaak van brieven, het verzenden van e-mails en de opmerkingen beheren",customFieldsAdmin:"Custom fields",notificationsAdmin:"Meldingen voor de gebruikers aanmaken en beheren die gebaseerd zijn op gebeurtenissen van de applicatie",docserversAdmin:"Opslagruimtes toevoegen opschorten of wijzigen. De opslagruimtes per type plaatsen waartoe ze behoren en hun primaire groep bepalen",securities:"Veiligheden",emailServerParam:"Mail server",emailServerParamDesc:"Link your mail server with application in order to send emails",mailevaAdmin:"Maileva shipping admin",mailevaAdminDesc:"Configure mailing templates for Maileva",infoMailevaAccount:"Indicate here your username and the INITIAL password communicated by Maileva when opening your account",reportsAdmin:"Administratie van de statistieken",historyBatchAdmin:"De geschiedenis van de batches raadplegen",updateControl:"Controle van de bijwerking",mailsSent:"Resource(s) sent",dashboard:"Dashboard",noSendmail:"No mail sent",noEvent:"No event",hours:"hours",editInProgress:"Edit in progress",chooseFile:"Choose a file",or:"or",dragAndDrop:"Drag and drop",backBasket:"Back to basket",openInExternalModal:"Open in external modal",openedInExternalModal:"Opened in external modal",showMore:"Show more",notesAlt:"Notes",mailsSentAlt:"Resources sent",newsFeed:"News feed",sendError:"Send error",historyDisabled:"History disabled",ARPaper:"Paper acknowledgement of receipt",ARelectronic:"Electronic acknowledgement of receipt",allRoles:"All roles",rolesExceptAssignee:"Role(s) without assignee",noRole:"No role",diffListPrivilegeMsgIndexing:"In indexing page, modify user in roles: ",diffListPrivilegeMsgProcess:"In process page, modify user in roles: ",diffListPrivilegeMsgDetails:"In details page, modify user in roles: ",recordMail:"Record a mail",closed:"Closed",manageAttachments:"Update or delete attachments",viewPersonalData:"Viewable",managePersonalData:"Viewable and updatable",attachmentDeleted:"Attachment deleted",attachment_SEND_MASS:"Send to mailing",attachment_A_TRA:"To process",attachment_SIGN:"Signed",attachment_FRZ:"Freez",attachment_TRA:"Processed",afterClickingSendLinkChangePassword:"After clicking on <b>Send</b>, you will receive an email containing a link to change your password. This link will be active <b>1 hour</b>.",enterLogin:"Enter your username",send:"Send",generation:"Generation...",requestSentByEmail:"The request has been sent to you by email.",logInOncePasswordChanged:"You will be asked to log in once the password has been changed.",createNewVersion:"Create a new version",deleteSignedVersion:"Delete signed version",signedAttachment:"Signed attachment",attachmentAdded:"Attachment added",attachmentUpdated:"Attachment updated",signedVersionDeleted:"Signed version deleted",newVersionAdded:"New version added",editionAttachmentConfirmFirst:"All merge variables will be replaced taking into account what you entered in the form on the left.",editionAttachmentConfirmSecond:"Only <b> chrono number </b> ([res_letterbox.alt_identifier]) will be replaced after mail registration",editionAttachmentConfirmThird:"Only <b> chrono number </b> ([res_letterbox.alt_identifier]) and <b>barcode</b> will be replaced after mail registration",othersInfos:"Other(s) information(s)",contactDetails:"Details",contactsFillingRate:"Filling rate",contact_physical:"Physical contact",contact_corporate:"Corporate contact",contact_internal:"Internal user",goToAdminParams:"Access to admin settings",adminParamsUsers:"Settings for users administration",chooseAllowedGroups:"Choose allowed groups",reallyWantToDeleteThisGroup:"Do you really want to remove this group ?",contact_entity:"Entity",contact_contact:"Contact",contact_contactGroup:"Contacts group",contact_user:"User",contact_third:"Contact third",confidentialityAndSecurity:"Confidentiality and security",modified:"Modified",created:"Created",createdAlt:"Created",signedAlt:"Signed",deleteResource:"Delete document",viewResource:"View document",noDocument:"No document",addAttachment:"Add an attachment",dateAgo:"Since",dateTo:"The",attachmentCreation:"Attachment creation",newAttachment:"New attachment",delAttachment:"Delete this attachment",mustCompleteAllAttachments:"Please, complete all attachments",editDocument:"Edit document",personalDataMsg:"Users personal data are",notVisible:"Not visible",enableGroupMsg:"This group could access to all functionnalities.",sendActivationNotification:"Send activation notification",activationNotificationSend:"Activation notification send",tabProcessPosition:"Move to tab",saveModifiedData:"Do you want to save modified data ?",dataUpdated:"Data updated",canUpdateData:"Can update resource data",manageCreateContacts:"Create contacts",manageCreateContactsDesc:"Create contacts from indexing/processing/detail page",manageUpdateContacts:"Update contacts",manageUpdateContactsDesc:"Update contacts from indexing/processing/detail page",newVersion:"New version",information:"Information",mustEditDocument:"You must <b>edit</b> document in order to <b>validate</b> modifications.",autocompletionSearchable:"Recherchable dans l'autocomplétion",autocompletionDisplayable:"Affichable dans l'autocompletion",contactsParameters:"Paramétrage des contacts",siretGenerated:"SIRET number generated",siretGeneratedAndSynchronizationDone:"SIRET number generated and annuary synchronization done",siretGeneratedButAnnuaryUnreachable:"SIRET number generated but annuary is unreachable",entityDeletedButAnnuaryUnreachable:"Entity deleted but annuary is unreachable",langISO:"nl-FR",language:"nl",noSelectedContact:"No associated contact",searchContact:"Search a contact",editorOption:"Editor option",editorOptionAdmin:"Manage editor option",documentEditor:"Document editor",canNotEditImportedDocumentWhenJava:"You can not edit imported document with Java applet",documentEditor_java:"Open your defaut document editor in a new windows",documentEditor_onlyoffice:"Open OnlyOffice inside Maarch Courrier application",contactsList:"Contacts list",listConfiguration:"Manage list display",noticeGroupeOrder:"Drag and drop group to set order",searchAddressBan:"Search a BAN address",searchAddressDb:"Search in address database",switchManualAddress:"Switch to manual address",targetDepartment:"Target department",contactCreation:"Contact creation",contactModification:"Contact modification",contactEnabled:"Contact enabled",contactDisabled:"Contact disabled",contactUpdated:"Contact updated",addAll:"Add all",additionals:"Additional(s)",denomination:"Denomination",moreInfos:"More data",confirmCloseEditor:"Do you really want to close editor ? All modifications will be canceled",onlyNumber:"Number only",found:"found",here:"here",toCopyAddress:"to copy the address",badFormat:"Bad format",contactFilledTo:"Contact filled to",targetFillingField:"Target field for filling",arGenWithModelMessage:"The summary sheets with the fields defined in the resource's indexing model.",createContact:"Create a contact",diffusionListUpdated:"Diffusion list updated",saveModifications:"Save modifications",communicationMean:"Communication mean",communicationMeanDesc:"Link a contact with another Maarch instance",see:"see",notSavedBecauseInvalid:"Configuration not updated because some data are invalid",deleteAll:"Delete all",followedMail:"Followed mail(s)",stopFollowingAlert:"Do you want to stop following these mails ?",searchTrackedMail:"Search in tracked mails",checkOnlyofficeServer:"Establish contact with the Onlyoffice server",closeEditor:"Close the editor",errorOnlyoffice1:"Cannot launch onlyoffice, a local address is used",errorOnlyoffice2:"Cannot launch onlyoffice. Check if the only office server is available",onlyOfficeNotEnabled:"The onlyoffice server is not enabled",uriIsEmpty:"URI of onlyoffice server is empty in documentEditorsConfig.xml",portIsEmpty:"Port of onlyoffice server is empty in documentEditorsConfig.xml",externalVisaWorkflow:"Visa workflow Maarch Parapheur",IdMaarch2Maarch:"MAARCH2MAARCH identifier",indexingFile:"Indexation",signUserRequired:"A signatory is required",signedUserDate:"Signed",approvedUserDate:"Approuved",modelDeleted:"Model deleted",modelSaved:"Model saved",visaWorkflowUpdated:"Visa workflow updated",visaWorkflowDeleted:"Visa workflow deleted",publicModel:"Public model",privateModel:"Private model",moveVisaUserErr:"You cannot move <p>{0}</p> with users who have already approved / signed or sign / approval is in progress.",moveAvisUserErr1:"You cannot move",moveAvisUserErr2:"with users who have already given an opinion",avisWorkflowUpdated:"Opinion workflow updated",avisWorkflowDeleted:"Opinion workflow deleted",avisSent:"Opinion given",openFullscreen:"Enable fullscreen",closeFullscreen:"Disable fullscreen",hasNoEntity:"Those mails do not have initiator entity",destUserSetToDefault:"Assignee will be the assignee of the initiator entity template list",resetVisaWorkflow:"The workflow actions will be <b>reset</b>",interruptVisaWorkflow:"The following users will not be able to target mail",rejectVisaBack:"Document will be send to the previous user",rejectVisaBackUser:"Document will be send back to",sendToDocTo:"You will send this document to",endWorkflow:"You will end this workflow",hasNoAttachmentsNotes:"The following letters have no annotation or attachments",closeMailAddNoteMandatory:"Some letters have neither annotation nor attachments. Please enter an annotation below, or add an attachment to the letters.",endedCircuit:"Workflow ended",userHasntSigned:"The assignee hasn't signed any document",noCircuitAvailable:"No workflow defined",cannotAddAvisCircuit:"You cannot set avis circuit",cannotAddVisaCircuit:"You cannot set visa circuit",interrupted:"Interrupted",addOpinionReason:"Please fill the opinion reason",opinionLimitDate:"Opinion limit date",visaWorkflowInterrupted:"Interrupted workflow",hasInterruptedWorkflow:"Has interrupted the workflow",addOpinion:"Give your opinion",askOpinion:"Several users ask your opinion",askOpinionUser:"ask your opinion",avisUserAsk:"for opinion",avisUserState:"opinion",userNotInDiffusionList:"You are not in opinion diffusion list",noOpinionLimitDate:"The opinion limit date is not defined",noOpinionNote:"The reason is not defined",opinionLimitDateOutdated:"The opinion limit date is outdated",validateBy:"Validate by",validateAvisParallel:"Your are validating an opinion request",validateAvisParallelSingle:"Your are validating an opinion request of",displayWebserviceAccount:"Display webservice account",circuitNotStarted:"The workflow has not yet started",searchCommunicationMean:"Search communication mean",searchExternalIdM2M:"Search M2M Identifier",goToFolder:"Go to folder",m2mContactInfo:"Expected Format : SIRET/ENTITY_ID of destination entity",ADD:"Add",UP:"Update",DEL:"Delete",LOGIN:"Login",LOGOUT:"Logout",VIEW:"View",ABS:"Vacation",PRE:"Back absence",SIGN:"Sign document",UNSIGN:"Unsign document",RESETPSW:"Password reset",ERROR:"Error",fileAlreadySentToSignatureBook:"File already send to signature book",systemActions:"System action(s)",viewAllHistory:"View all history",viewActionsHistory:"View only actions in history",unlink:"Unlink this resource",linkResource:"Link to a new resource",linkSelectedResources:"Link selected resources",resourceUnlinked:"Resource unlinked",resourcesLinked:"Resources linked",criteriaSearch:"Criteria search",criteriaResourceField:"Subject / Chrono number",criteriaResourceFieldDesc:"Search a subject / chrono or a part of these elements",criteriaContactField:"Recipient / Sender",criteriaContactFieldDesc:"Search the company, the name, the firstname or a part of these elements",mailInformations:"Mail informations",visaNote:"Order",chooseBAN:"Choose an address",click:"Click",removeNote:"Remove note",editNote:"Edit note",noteRemoved:"Note deleted",confirmRemoveNote:"Note deletion",inSignatureBook_doc:"Put the main document in signature book",inShipping_doc:"Intégrer le document principal in send Maileva",preRequisiteMissing:"Prerequisite missing for OnlyOffice : netcat",onlyofficeEditDenied:"This document with extension",onlyofficeEditDenied2:"can't be edited with onlyoffice",NOTE_version:"Annotated version",SIGN_version:"Original version",versions:"Versions",itemRemovedFromVisaTemplate:"The following users have been removed because they cannot approve or sign",itemRemovedFromAvisTemplate:"The following users have been removed because they cannot give opinion",documentSignedMsg:"The document has been signed, you can't edit this document",banAutocompleteInput:"Autocomplete BAN input",noMailContact:"No (external) contact linked to this mail",noSelectedAddress:"No selected address",documentUnsigned:"This document has been unsigned",removeSignature:"Remove signature",cannotCloseMails:"Some mails cannot be closed because at least one of mandatory fields are empty",cannotCloseThisMail:"This mail cannot be closed because at least one of mandatory fields are empty",checkEmptyFields:"Requisite fields to make this action",contactsReassign:"Contacts reassign",contactLinkedToMails:"Contact linked to mails",reaffect:"Reaffect",reaffectContactRedirect:"Reaffect to a contact",contactReplacement:"Replacement contact",deleteContactwithtoutReassign:"Delete contact without reassign",deleteContactInformations:"Links between contact and resources, attachments or acknowledgement receipts will be deleted.",reaffectContactInformations:"Links between contact and resources, attachments or acknowledgement receipts will be reassigned to choosen contact.",availableContacts:"Available contact",sent:"Sent",notSent:"Not sent",delivery:"Delivery",senderShort:"From",recipientShort:"To",copieShort:"Cc",invisibleCopyShort:"Cci",m2m_ARCHIVETRANSFER:"Digitale brief",m2m_ARCHIVETRANSFERREPLY:"Antwoord verzonden",shipping:"Send maileva",sendElement:"Send an element",pdfVersion:"PDF version",emailModel:"Email modele",switchInPlainText:"Switch in plain text",switchInHtml:"Switch in HTML",confirmSwitchInPlanText:"Text formatting will be removed. Would you like to continue ?",saveDraft:"Save draft",attachMainDocument:"Link main document",attachNote:"Link a note",attachAttachment:"Link an attachment",draftSaved:"Draft saved",draftUpdated:"Draft updated",sendingEmail:"Sending email...",restrictions:"Restrictions",contactDeleted:"Contact deleted",badEmailsFormat:"Some email address are not correct",warnEmptySubject:"You will send an email without subject, continue ?",emailDeleted:"Email deleted",mailingActionInformations:"Following mails contain mailing attachments, mailing will be activate :",properties:"Properties",generateARMode:"Acknowledgement receipt mode allowed",autoAR:"Automatic",manualAR:"Manual",bothAR:"Automatic et manual",tagCreation:"Tag creation",tagModification:"Tag modification",usage:"Used for",tagUpdated:"Tag updated",tagMerged:"Tag merged",mergeWith:"Merge with",willBeTransferredToNewTag:"Number of mails that will be transferred to the tag ",detailDoc:"Detail page",emptySubject:"Empty subject",noAvailableMenu:"No available menu",mailNotPresentInBasket:"Mail not present in basket",emailSent:"Email sent",emailCannotSent:"Error during sending email",sentToFastParapheur:"Send to FAST-Parapheur",sentToIxbusParapheur:"Send to Ixbus Parapheur",natureIxbusParapheur:"Document nautre",loginIxbus:"Ixbus login",passwordIxbus:"Ixbus password",workflowModelIxbus:"Ixbus visa workflow",electronicSignature:"Electronic signature",handwrittenSignature:"Handwritten signature",sentToIParapheur:"Send to IParapheur",editAcknowledgementReceipt:"Edit the acknowledgement receipt",insufficientPrivilege:"Privilege insuffisant",cannotMergeTags:"This tag has a parent or children : impossible to merge tags",mergeTagWith:"Merge this tag with",generateAndDownloadPrintedFolder:"Generate the printed folder",printedFolder:"Printed folder",mainDocument:"Main document",attachSummarySheet:"Attach the summary sheet",generateSeparators:"Generate separators for each attachments and acknowledgement receipt",theTag:"The tag",addUsers:"Add users",willBeDeletedAndMerged:"will be deleted and merged with the tag",mailing:"Mailing",goToBasket:"Go to basket...",manualSendingAR:"Manual sending...",withoutEmail:"Without email",enableMailing:"Enable mailing",disableMailing:"Disable mailing",selectContact:"select a contact",mailingMsg:"<b>Mailing enbled</b> : <br><br><p>A <b>master</b> attachment will be created without merged field <b>contact</b> (attachmentRecipient).</p><p>If you click on Mailing, the attachmenets will be generated <b>NOW</b>.<br><br>If you click on Validate, They will be generated <b>BEFORE</b> to send to the first <b>signatory</b> of visa circuit.</p><p><b>One</b> attachment will be generated for <b>each contact</b> linked to the mail.</p>",attachmentGenerated:"Attachment generated",mustEditAttachmentFirst:"You must edit the attachment first",saveAndClose:"Save and close",opinionCircuit:"Opinion circuit",visaCircuit:"Visa circuit",shippingUnavailable:"<b>Warning </b> Shipping is not activated. Check the configuration file mailevaConfig.xml",diffNoDestmsg:"No <b>assignee</b> defined, you <b>can't</b> modify the diffusion list.",noDest:"No <b>assignee</b> defined",noPrivileges:"Insufficient privileges",mustDeleteUsersWithNoPrivileges:"You must delete users with insufficient privileges",sendNumericPackage:"Send a numeric package",numericPackageSent:"Numeric package sent",numericPackageDeleted:"Numeric package deleted",sendNumericPackageInfo:'You can send mail and attachments between <b> two instances </b> of Maarch Courrier. <br /> <br /> You will receive <b> an acknowledgment of receipt </b> and you will be able <b> follow the progress </b> of the mail at the recipient. (see <a href="{0}" target="_blank"> Maarch2GEC </a> for more information).',mailSubject:"Mail subject",attachItemToNumericPackage:"Attach an element to sending mail",note:"Note",addNoteToNumericPackage:"Add a note Ajouter to sending mail",mainDocNumericPackage:"Main document of sent mail",attachmentsNumericPackage:"Attachments of sent mail",mainDocNumericPackageToSend:"Main document of sending mail",attachmentsNumericPackageToSend:"Attachments of sending mail",closeSidePanel:"Close side panel",openSidePanel:"Open side panel",saveAsPrivateModel:"Save as private model",editingDocumentMsg:"The edition of the document is in progress, do you want to continue ?",createFolder:"Create a folder",downloadNumericPackage:"Download the numeric package",actionsHistory:"Actions history",noActionProcessed:"No action processed",reconcileMsg:"The mails will be converted into <b>signed version</b> and linked to selected new mail.",reconcileMsg2:"If an <b>outgoing mail</b> is selected, only the <b>last mail</b> will be converted into signed version. The others will be <b>removed</b> !",selectMailToReconcile:"Please, select a mail to reconcile",modelUsedByResources:"This model is used by resources, you can't delete it.",cantEditFileWithJava:"You can't edit with the java applet an uploaded document.",linkedResources:"Main document (Linked mails)",linkedResourcesAttachments:"Attachments (linked mails)",linkedEntities:"Linked entities",accounts:"Accounts",alfrescoCreation:"Alfresco account creation",alfrescoModification:"Alfresco account modification",showTreeMsg:"Click here to show the Alfresco tree",mustFillAccountMsg:"Please fill the Alfresco account information in order to choose a root folder.",accountUpdated:"Account updated",alfrescoAccount:"Alfresco account",rootFolder:"Root folder",chooseEntityAssociationAccount:"Choose entities who will be able to use this account",alfrescoAPI:"API Alfresco address",testSucceeded:"Test succeeded",test:"Test",canUpdateIndexingModel:"Can change indexing model",options:"Options",modificationsProcessed:"Modifications processed",contactsDuplicates:"Contacts duplicates",contactsMerged:"Contacts merged",addCriteria:"Add a criteria",launchSearch:"Launch search",duplicatesContactDisplayed:"{0} duplicates ({1} displayed)",duplicatesContactsAdmin:"Manage contacts duplicates",merge:"Merge",associatedElements:"associated elements",selectedContact:"Target contact selected",selectDuplicatedContact:"Merge with this contact",noDuplicatesFound:"No duplicates found",exludeContact:"Exclude contact",contactExcluded:"Contact excluded",exportContacts:"Export contacts",companyLastname:"Company / Lastname",advancedMode:"Advanced mode",defaultMode:"Default mode",linkedTags:"Linked tags",selectParentTag:"Select a parent tag",openThesaurus:"Open the thesaurus",invalidClause:"Invalid clause",invalidColumnType:"One of selected columns does not match type",forbiddenDelimiterType:"Delimiters are forbidden for this type",bddModeCustomFieldMsg:"This field use database values (see the custom's configration in custom fields administration)",updateIndexingFieldWarning:"Warning:if you remove a field from the model, this field will be reset for <b>ALL</b> resources linked to this model. Do you want to continue ?__TO_TRANSLATE",addColumn:"Ajouter une colonne__TO_TRANSLATE",database:"Database__TO_TRANSLATE",targetLabel:"Target label__TO_TRANSLATE",targetTable:"Target table__TO_TRANSLATE",targetIdentifier:"Target identifier__TO_TRANSLATE",canUpdateResourcesInSignatureBook:"Can modify the main document included in the signature book__TO_TRANSLATE",includeFolderPerimeter:"Consulter les courriers hors périmètre dans les dossiers et courriers suivis__TO_TRANSLATE",documentsOutOfPerimeter:"Certains documents sont en dehors de votre périmètre__TO_TRANSLATE",collaboraOnlineNotEnabled:"The Collabora Online server is not enabled in documentEditorsConfig.xml",checkCollaboraOnlineServer:"Connecting to the Collabora Online server",errorCollaboraOnline1:"Cannot launch Collabora Online, you are using a local address",errorCollaboraOnline2:"Cannot launch Collabora Online. Check if the Collabora Online server is available",collaboraOnlineEditDenied:"This document cannot be edited with Collabora Online",collaboraOnlineEditDenied2:"cannot be edited with Collabora Online",documentEditor_collaboraonline:"Open Collabora Online directly inside Maarch Courrier",updateKO:"Mise à jour échouée !__TO_TRANSLATE",saveInDocserversInfo:"L'historique de la mise à jour a été sauvegardé dans la zone de stockage <b>migration</b>.__TO_TRANSLATE",hideTool:"Cacher la barre d'outils",showTool:"Afficher la barre d'outils",contactInput:"Contact input__TO_TRANSLATE",emptyValue:"Valeur vide__TO_TRANSLATE",hideModal:"Ne plus afficher cette fenêtre__TO_TRANSLATE",indexingModelUsedBy:"Ce modèle est déjà utilisé par : __TO_TRANSLATE",mailsWithStatus:" courrier(s) avec le statut __TO_TRANSLATE",indexingModelReplaceToDelete:"Pour le supprimer vous devez le remplacer par un autre modèle.__TO_TRANSLATE",indexingModelFieldsReset:"Les champs suivants ne sont pas dans le modèle sélectionné et seront réinitialisés pour tous les courriers : __TO_TRANSLATE",indexingModelReassign:"Réaffectation du modèle d'enregistrement__TO_TRANSLATE",youCannotUnsign:"Vous n'avez pas le droit de <b>dé-signer</b> ce document. Vous devez ếtre la personne qui a signé ce document.__TO_TRANSLATE",arContentIsEmpty:"AR content is empty"}),null!=angularGlobals.customLanguage&&(Wr=Object(t.__assign)({},Wr,angularGlobals.customLanguage));var Kr=Wr;function Yr(n,l,e){return function(t){return t.lift(new Jr(n,l,e))}}var Jr=function(){function n(n,l,e){this.nextOrObserver=n,this.error=l,this.complete=e}return n.prototype.call=function(n,l){return l.subscribe(new Zr(n,this.nextOrObserver,this.error,this.complete))},n}(),Zr=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;return a._tapNext=_,a._tapError=_,a._tapComplete=_,a._tapError=t||_,a._tapComplete=i||_,o(e)?(a._context=a,a._tapNext=e):e&&(a._context=e,a._tapNext=e.next||_,a._tapError=e.error||_,a._tapComplete=e.complete||_),a}return t.__extends(l,n),l.prototype._next=function(n){try{this._tapNext.call(this._context,n)}catch(l){return void this.destination.error(l)}this.destination.next(n)},l.prototype._error=function(n){try{this._tapError.call(this._context,n)}catch(n){return void this.destination.error(n)}this.destination.error(n)},l.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()},l}(g);function Qr(n){return function(l){var e=new Xr(n),t=l.lift(e);return e.caught=t}}var Xr=function(){function n(n){this.selector=n}return n.prototype.call=function(n,l){return l.subscribe(new nu(n,this.selector,this.caught))},n}(),nu=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.selector=e,i.caught=t,i}return t.__extends(l,n),l.prototype.error=function(l){if(!this.isStopped){var e=void 0;try{e=this.selector(l,this.caught)}catch(i){return void n.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var t=new F(this,void 0,void 0);this.add(t),j(this,e,void 0,void 0,t)}},l}(V);function lu(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];var e=n[n.length-1];return D(e)?(n.pop(),B(n,e)):J(n)}var eu=function(){function n(n){this.data=n}return n.prototype.dismiss=function(){this.data.close()},n}(),tu=function(){function n(n,l){this.router=n,this.snackBar=l,this.lang=Kr}return n.prototype.success=function(n){var l=this.getMessageDuration(n,2e3),e=this.snackBar.openFromComponent(eu,{duration:l,panelClass:"success-snackbar",verticalPosition:"top",data:{message:n,icon:"info-circle",close:function(){e.dismiss()}}})},n.prototype.error=function(n,l){void 0===l&&(l=null);var e=this.getMessageDuration(n,4e3),t=this.snackBar.openFromComponent(eu,{duration:e,panelClass:"error-snackbar",verticalPosition:"top",data:{url:l,message:n,icon:"exclamation-triangle",close:function(){t.dismiss()}}})},n.prototype.handleErrors=function(n){console.log(n),401===n.status&&"/home"!==this.router.url?(this.router.navigate(["/home"]),window.location.reload(!0),this.error(this.lang.mustReconnect)):0===n.status&&"Unknown Error"===n.statusText?this.error(this.lang.connectionFailed):void 0!==n.error?void 0!==n.error.errors?(void 0!==n.error.lang?this.error(this.lang[n.error.lang]):"Document out of perimeter"===n.error.errors||"Resource out of perimeter"===n.error.errors?this.error(this.lang.documentOutOfPerimeter):"Resources out of perimeter"===n.error.errors?this.error(this.lang.documentsOutOfPerimeter):this.error(n.error.errors,n.url),403!==n.status&&404!==n.status||this.router.navigate(["/home"])):this.error(void 0!==n.error.exception?n.error.exception[0].message:void 0!==n.error.error?n.error.error.message:n.status+" : "+n.statusText,n.url):this.error(n)},n.prototype.handleSoftErrors=function(n){console.log(n),void 0!==n.error?void 0!==n.error.errors?void 0!==n.error.lang?this.error(this.lang[n.error.lang]):"Document out of perimeter"===n.error.errors||"Resource out of perimeter"===n.error.errors?this.error(this.lang.documentOutOfPerimeter):"Resources out of perimeter"===n.error.errors?this.error(this.lang.documentsOutOfPerimeter):this.error(n.error.errors,n.url):this.error(void 0!==n.error.exception?n.error.exception[0].message:void 0!==n.error.error?n.error.error.message:n.status+" : "+n.statusText,n.url):this.error(n)},n.prototype.getMessageDuration=function(n,l){var e=n.length/25*1e3;return e<l?l:e>1e4?1e4:e},n}();function iu(n){return function(l){return l.lift(new au(n))}}var au=function(){function n(n){this.callback=n}return n.prototype.call=function(n,l){return l.subscribe(new ou(n,this.callback))},n}(),ou=function(n){function l(l,e){var t=n.call(this,l)||this;return t.add(new s(e)),t}return t.__extends(l,n),l}(g),ru=function(){function n(n,l,e,t){this.http=n,this.dialog=l,this.notify=e,this.router=t,this.lang=Kr,this.loading=!0,this.pinnedFolders=[],this.folders=[],this.currentFolder={id:0},this.eventAction=new M}return n.prototype.ngOnInit=function(){},n.prototype.initFolder=function(){this.currentFolder={id:0}},n.prototype.catchEvent=function(){return this.eventAction.asObservable()},n.prototype.setEvent=function(n){return this.eventAction.next(n)},n.prototype.goToFolder=function(n){this.setFolder(n),this.router.navigate(["/folders/"+n.id])},n.prototype.setFolder=function(n){this.currentFolder=n,this.eventAction.next(n)},n.prototype.getCurrentFolder=function(){return this.currentFolder},n.prototype.getFolders=function(){var n=this;this.http.get("../../rest/folders").pipe(Yr((function(l){n.folders=l.folders,n.eventAction.next({type:"initTree",content:""})})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.getList=function(){return this.folders},n.prototype.getPinnedFolders=function(){var n=this;this.loading=!0,this.http.get("../../rest/pinnedFolders").pipe(Yr((function(l){n.pinnedFolders=l.folders})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.setFolders=function(n){this.folders=n},n.prototype.getPinnedList=function(){return this.pinnedFolders},n.prototype.pinFolder=function(n){var l=this;this.http.post("../../rest/folders/"+n.id+"/pin",{}).pipe(Yr((function(){l.getPinnedFolders(),l.eventAction.next({type:"refreshFolderPinned",content:{id:n.id,pinned:!0}}),l.notify.success(l.lang.folderPinned)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.unpinFolder=function(n){var l=this;this.http.delete("../../rest/folders/"+n.id+"/unpin").pipe(Yr((function(){l.getPinnedFolders(),l.eventAction.next({type:"refreshFolderPinned",content:{id:n.id,pinned:!1}}),l.notify.success(l.lang.folderUnpinned)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getDragIds=function(){var n=this.folders.map((function(n){return"treefolder-list-"+n.id}));return this.pinnedFolders.map((function(n){return"folder-list-"+n.id})).concat(n)},n.prototype.classifyDocument=function(n,l){var e=this;this.http.post("../../rest/folders/"+l.id+"/resources",{resources:[n.item.data.resId]}).pipe(Yr((function(n){void 0!==e.pinnedFolders.filter((function(n){return n.id===l.id}))[0]&&(e.pinnedFolders.filter((function(n){return n.id===l.id}))[0].countResources=n.countResources),e.eventAction.next({type:"refreshFolderCount",content:{id:l.id,countResources:n.countResources}})})),Yr((function(){e.notify.success(e.lang.mailClassified),e.eventAction.next({type:"function",content:"refreshDao"})})),iu((function(){return l.drag=!1})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getLoader=function(){return this.loading},n}();function uu(){throw Error("Host already has a portal attached")}var su=function(){function n(){}return n.prototype.attach=function(n){return null==n&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),n.hasAttached()&&uu(),this._attachedHost=n,n.attach(this)},n.prototype.detach=function(){var n=this._attachedHost;null==n?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,n.detach())},Object.defineProperty(n.prototype,"isAttached",{get:function(){return null!=this._attachedHost},enumerable:!0,configurable:!0}),n.prototype.setAttachedHost=function(n){this._attachedHost=n},n}(),cu=function(n){function l(l,e,t,i){var a=n.call(this)||this;return a.component=l,a.viewContainerRef=e,a.injector=t,a.componentFactoryResolver=i,a}return Object(t.__extends)(l,n),l}(su),du=function(n){function l(l,e,t){var i=n.call(this)||this;return i.templateRef=l,i.viewContainerRef=e,i.context=t,i}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"origin",{get:function(){return this.templateRef.elementRef},enumerable:!0,configurable:!0}),l.prototype.attach=function(l,e){return void 0===e&&(e=this.context),this.context=e,n.prototype.attach.call(this,l)},l.prototype.detach=function(){return this.context=void 0,n.prototype.detach.call(this)},l}(su),pu=function(){function n(){this._isDisposed=!1}return n.prototype.hasAttached=function(){return!!this._attachedPortal},n.prototype.attach=function(n){return n||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&uu(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),n instanceof cu?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof du?(this._attachedPortal=n,this.attachTemplatePortal(n)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()},n.prototype.detach=function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()},n.prototype.dispose=function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0},n.prototype.setDisposeFn=function(n){this._disposeFn=n},n.prototype._invokeDisposeFn=function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)},n}(),mu=function(n){function l(l,e,t,i){var a=n.call(this)||this;return a.outletElement=l,a._componentFactoryResolver=e,a._appRef=t,a._defaultInjector=i,a}return Object(t.__extends)(l,n),l.prototype.attachComponentPortal=function(n){var l,e=this,t=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);return n.viewContainerRef?(l=n.viewContainerRef.createComponent(t,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn((function(){return l.destroy()}))):(l=t.create(n.injector||this._defaultInjector),this._appRef.attachView(l.hostView),this.setDisposeFn((function(){e._appRef.detachView(l.hostView),l.destroy()}))),this.outletElement.appendChild(this._getComponentRootNode(l)),l},l.prototype.attachTemplatePortal=function(n){var l=this,e=n.viewContainerRef,t=e.createEmbeddedView(n.templateRef,n.context);return t.detectChanges(),t.rootNodes.forEach((function(n){return l.outletElement.appendChild(n)})),this.setDisposeFn((function(){var n=e.indexOf(t);-1!==n&&e.remove(n)})),t},l.prototype.dispose=function(){n.prototype.dispose.call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)},l.prototype._getComponentRootNode=function(n){return n.hostView.rootNodes[0]},l}(pu),fu=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(mu),hu=function(n){function l(l,e){return n.call(this,l,e)||this}return Object(t.__extends)(l,n),l}(du),gu=function(n){function l(l,e){var t=n.call(this)||this;return t._componentFactoryResolver=l,t._viewContainerRef=e,t._isInitialized=!1,t.attached=new la,t}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"portal",{get:function(){return this._attachedPortal},set:function(l){(!this.hasAttached()||l||this._isInitialized)&&(this.hasAttached()&&n.prototype.detach.call(this),l&&n.prototype.attach.call(this,l),this._attachedPortal=l)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"attachedRef",{get:function(){return this._attachedRef},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){this._isInitialized=!0},l.prototype.ngOnDestroy=function(){n.prototype.dispose.call(this),this._attachedPortal=null,this._attachedRef=null},l.prototype.attachComponentPortal=function(l){l.setAttachedHost(this);var e=null!=l.viewContainerRef?l.viewContainerRef:this._viewContainerRef,t=(l.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(l.component),i=e.createComponent(t,e.length,l.injector||e.injector);return n.prototype.setDisposeFn.call(this,(function(){return i.destroy()})),this._attachedPortal=l,this._attachedRef=i,this.attached.emit(i),i},l.prototype.attachTemplatePortal=function(l){var e=this;l.setAttachedHost(this);var t=this._viewContainerRef.createEmbeddedView(l.templateRef,l.context);return n.prototype.setDisposeFn.call(this,(function(){return e._viewContainerRef.clear()})),this._attachedPortal=l,this._attachedRef=t,this.attached.emit(t),t},l}(pu),bu=function(){return function(){}}(),vu=function(){function n(n,l){this._parentInjector=n,this._customTokens=l}return n.prototype.get=function(n,l){var e=this._customTokens.get(n);return void 0!==e?e:this._parentInjector.get(n,l)},n}(),_u=function(){function n(n,l,e,t,i){this.http=n,this.foldersService=l,this.componentFactoryResolver=e,this.injector=t,this.appRef=i,this.sideBarForm=!1,this.sideBarAdmin=!1,this.hideSideBar=!1,this.showhHeaderPanel=!0,this.showMenuShortcut=!0,this.showMenuNav=!0,this.sideNavLeft=null,this.sideBarButton=null,this.currentBasketInfo={ownerId:0,groupId:0,basketId:""},this.folderId=0,this.headerMessageIcon="",this.headerMessage="",this.subHeaderMessage="",this.user={firstname:"",lastname:"",groups:[],privileges:[]},this.lang=Kr,this.nbResourcesFollowed=0,this.base64=null}return n.prototype.loadHeader=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/header").pipe(Yr((function(e){n.setUser(e.user),l(!0)})),Qr((function(n){return console.log(n),l(!1),lu(!1)}))).subscribe()}))},n.prototype.resfreshCurrentUser=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/currentUser/profile").pipe(q((function(e){n.user={id:e.id,userId:e.user_id,firstname:e.firstname,lastname:e.lastname,entities:e.entities,groups:e.groups,preferences:e.preferences,privileges:"ALL_PRIVILEGES"===e.privileges[0]?n.user.privileges:e.privileges},n.nbResourcesFollowed=e.nbFollowedResources,l(!0)}))).subscribe()}))},n.prototype.setUser=function(n){this.user=n},n.prototype.getLastLoadedFile=function(){return this.base64},n.prototype.setLoadedFile=function(n){this.base64=n},n.prototype.setHeader=function(n,l,e){void 0===l&&(l=""),void 0===e&&(e=""),this.headerMessage=n,this.subHeaderMessage=l,this.headerMessageIcon=e},n.prototype.resetSideNavSelection=function(){this.currentBasketInfo={ownerId:0,groupId:0,basketId:""},this.foldersService.setFolder({id:0}),this.sideBarForm=!1,this.showhHeaderPanel=!0,this.showMenuShortcut=!0,this.showMenuNav=!0,this.sideBarAdmin=!1,this.sideBarButton=null,this.hideSideBar=!1},n.prototype.injectInSideBarLeft=function(n,l,e,t){void 0===e&&(e="adminMenu"),void 0===t&&(t=""),"form"===t?(this.sideBarForm=!0,this.showhHeaderPanel=!0,this.showMenuShortcut=!1,this.showMenuNav=!1,this.sideBarAdmin=!0):(this.showhHeaderPanel=!0,this.showMenuShortcut=!0,this.showMenuNav=!0),this.portalHost=new fu(document.querySelector("#"+e),this.componentFactoryResolver,this.appRef,this.injector);var i=new du(n,l);this.portalHost.attach(i)},n}(),yu=function(){function n(n,l){this.mobileQuery=l.matchMedia("(max-width: 768px)"),this._mobileQueryListener=function(){return n.detectChanges()},this.mobileQuery.addListener(this._mobileQueryListener)}return n.prototype.initService=function(){},n.prototype.getViewMode=function(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||this.mobileQuery.matches},n.prototype.ngOnDestroy=function(){this.mobileQuery.removeListener(this._mobileQueryListener)},n}(),wu={showDelay:500,hideDelay:0,touchendHideDelay:0},xu=function(){function n(n,l,e,t){this.appService=e,this.headerService=t,n.addSvgIcon("maarchLogo",l.bypassSecurityTrustResourceUrl("static.php?filename=logo_white.svg")).addSvgIcon("maarchLogoOnly",l.bypassSecurityTrustResourceUrl("img/logo_only_white.svg")),n.addSvgIcon("maarchLogoFull",l.bypassSecurityTrustResourceUrl("static.php?filename=logo.svg")).addSvgIcon("maarchLogoOnlyDefault",l.bypassSecurityTrustResourceUrl("img/logo.svg")),$j("my-app").css({display:"block"}),$j("#maarch_content").remove(),$j("#loadingAngularContent").remove(),$j("#header").remove(),$j("#inner_content").remove(),$j("#menunav").hide(),$j("#divList").remove(),$j("#container").css({width:"100%","min-width":"auto"}),$j("#content").css({"min-width":"auto"}),$j("#content h1")[0]&&$j("#content h1")[0]!=$j("my-app h1")[0]&&$j("#content h1")[0].remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.hideSideBar=!0,setTimeout((function(){n.headerService.sideNavLeft=n.snavLeft}),0),this.headerService.sideNavLeft=this.snavLeft},n}(),Cu=function(){return function(){}}(),ku=new On("Location Initialized"),Su=function(){return function(){}}(),Iu=new On("appBaseHref"),Au=function(){function n(n,e){var t=this;this._subject=new la,this._urlChangeListeners=[],this._platformStrategy=n;var i=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=l.stripTrailingSlash(Mu(i)),this._platformStrategy.onPopState((function(n){t._subject.emit({url:t.path(!0),pop:!0,state:n.state,type:n.type})}))}var l;return l=n,n.prototype.path=function(n){return void 0===n&&(n=!1),this.normalize(this._platformStrategy.path(n))},n.prototype.getState=function(){return this._platformLocation.getState()},n.prototype.isCurrentPathEqualTo=function(n,e){return void 0===e&&(e=""),this.path()==this.normalize(n+l.normalizeQueryParams(e))},n.prototype.normalize=function(n){return l.stripTrailingSlash(function(n,l){return n&&l.startsWith(n)?l.substring(n.length):l}(this._baseHref,Mu(n)))},n.prototype.prepareExternalUrl=function(n){return n&&"/"!==n[0]&&(n="/"+n),this._platformStrategy.prepareExternalUrl(n)},n.prototype.go=function(n,e,t){void 0===e&&(e=""),void 0===t&&(t=null),this._platformStrategy.pushState(t,"",n,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+l.normalizeQueryParams(e)),t)},n.prototype.replaceState=function(n,e,t){void 0===e&&(e=""),void 0===t&&(t=null),this._platformStrategy.replaceState(t,"",n,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(n+l.normalizeQueryParams(e)),t)},n.prototype.forward=function(){this._platformStrategy.forward()},n.prototype.back=function(){this._platformStrategy.back()},n.prototype.onUrlChange=function(n){var l=this;this._urlChangeListeners.push(n),this.subscribe((function(n){l._notifyUrlChangeListeners(n.url,n.state)}))},n.prototype._notifyUrlChangeListeners=function(n,l){void 0===n&&(n=""),this._urlChangeListeners.forEach((function(e){return e(n,l)}))},n.prototype.subscribe=function(n,l,e){return this._subject.subscribe({next:n,error:l,complete:e})},n.normalizeQueryParams=function(n){return n&&"?"!==n[0]?"?"+n:n},n.joinWithSlash=function(n,l){if(0==n.length)return l;if(0==l.length)return n;var e=0;return n.endsWith("/")&&e++,l.startsWith("/")&&e++,2==e?n+l.substring(1):1==e?n+l:n+"/"+l},n.stripTrailingSlash=function(n){var l=n.match(/#|\?|$/),e=l&&l.index||n.length;return n.slice(0,e-("/"===n[e-1]?1:0))+n.slice(e)},n}();function Mu(n){return n.replace(/\/index.html$/,"")}var Pu=function(n){function l(l,e){var t=n.call(this)||this;return t._platformLocation=l,t._baseHref="",null!=e&&(t._baseHref=e),t}return Object(t.__extends)(l,n),l.prototype.onPopState=function(n){this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n)},l.prototype.getBaseHref=function(){return this._baseHref},l.prototype.path=function(n){void 0===n&&(n=!1);var l=this._platformLocation.hash;return null==l&&(l="#"),l.length>0?l.substring(1):l},l.prototype.prepareExternalUrl=function(n){var l=Au.joinWithSlash(this._baseHref,n);return l.length>0?"#"+l:l},l.prototype.pushState=function(n,l,e,t){var i=this.prepareExternalUrl(e+Au.normalizeQueryParams(t));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(n,l,i)},l.prototype.replaceState=function(n,l,e,t){var i=this.prepareExternalUrl(e+Au.normalizeQueryParams(t));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(n,l,i)},l.prototype.forward=function(){this._platformLocation.forward()},l.prototype.back=function(){this._platformLocation.back()},l}(Su),Du=function(n){function l(l,e){var t=n.call(this)||this;if(t._platformLocation=l,null==e&&(e=t._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return t._baseHref=e,t}return Object(t.__extends)(l,n),l.prototype.onPopState=function(n){this._platformLocation.onPopState(n),this._platformLocation.onHashChange(n)},l.prototype.getBaseHref=function(){return this._baseHref},l.prototype.prepareExternalUrl=function(n){return Au.joinWithSlash(this._baseHref,n)},l.prototype.path=function(n){void 0===n&&(n=!1);var l=this._platformLocation.pathname+Au.normalizeQueryParams(this._platformLocation.search),e=this._platformLocation.hash;return e&&n?""+l+e:l},l.prototype.pushState=function(n,l,e,t){var i=this.prepareExternalUrl(e+Au.normalizeQueryParams(t));this._platformLocation.pushState(n,l,i)},l.prototype.replaceState=function(n,l,e,t){var i=this.prepareExternalUrl(e+Au.normalizeQueryParams(t));this._platformLocation.replaceState(n,l,i)},l.prototype.forward=function(){this._platformLocation.forward()},l.prototype.back=function(){this._platformLocation.back()},l}(Su),Fu=function(n){return n[n.Zero=0]="Zero",n[n.One=1]="One",n[n.Two=2]="Two",n[n.Few=3]="Few",n[n.Many=4]="Many",n[n.Other=5]="Other",n}({}),Eu=function(n){return n[n.Format=0]="Format",n[n.Standalone=1]="Standalone",n}({}),Ou=function(n){return n[n.Narrow=0]="Narrow",n[n.Abbreviated=1]="Abbreviated",n[n.Wide=2]="Wide",n[n.Short=3]="Short",n}({}),Tu=function(n){return n[n.Short=0]="Short",n[n.Medium=1]="Medium",n[n.Long=2]="Long",n[n.Full=3]="Full",n}({}),Lu=function(n){return n[n.Decimal=0]="Decimal",n[n.Group=1]="Group",n[n.List=2]="List",n[n.PercentSign=3]="PercentSign",n[n.PlusSign=4]="PlusSign",n[n.MinusSign=5]="MinusSign",n[n.Exponential=6]="Exponential",n[n.SuperscriptingExponent=7]="SuperscriptingExponent",n[n.PerMille=8]="PerMille",n[n[1/0]=9]="Infinity",n[n.NaN=10]="NaN",n[n.TimeSeparator=11]="TimeSeparator",n[n.CurrencyDecimal=12]="CurrencyDecimal",n[n.CurrencyGroup=13]="CurrencyGroup",n}({});function Ru(n,l){return zu(Qi(n)[Yi.DateFormat],l)}function Nu(n,l){return zu(Qi(n)[Yi.TimeFormat],l)}function ju(n,l){return zu(Qi(n)[Yi.DateTimeFormat],l)}function Vu(n,l){var e=Qi(n),t=e[Yi.NumberSymbols][l];if(void 0===t){if(l===Lu.CurrencyDecimal)return e[Yi.NumberSymbols][Lu.Decimal];if(l===Lu.CurrencyGroup)return e[Yi.NumberSymbols][Lu.Group]}return t}function qu(n){if(!n[Yi.ExtraData])throw new Error('Missing extra locale data for the locale "'+n[Yi.LocaleId]+'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.')}function zu(n,l){for(var e=l;e>-1;e--)if(void 0!==n[e])return n[e];throw new Error("Locale data API: locale data undefined")}function Uu(n){var l=Object(t.__read)(n.split(":"),2);return{hours:+l[0],minutes:+l[1]}}var Bu=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$u={},Hu=/((?:[^GyMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,Gu=function(n){return n[n.Short=0]="Short",n[n.ShortGMT=1]="ShortGMT",n[n.Long=2]="Long",n[n.Extended=3]="Extended",n}({}),Wu=function(n){return n[n.FullYear=0]="FullYear",n[n.Month=1]="Month",n[n.Date=2]="Date",n[n.Hours=3]="Hours",n[n.Minutes=4]="Minutes",n[n.Seconds=5]="Seconds",n[n.FractionalSeconds=6]="FractionalSeconds",n[n.Day=7]="Day",n}({}),Ku=function(n){return n[n.DayPeriods=0]="DayPeriods",n[n.Days=1]="Days",n[n.Months=2]="Months",n[n.Eras=3]="Eras",n}({});function Yu(n,l){return l&&(n=n.replace(/\{([^}]+)}/g,(function(n,e){return null!=l&&e in l?l[e]:n}))),n}function Ju(n,l,e,t,i){void 0===e&&(e="-");var a="";(n<0||i&&n<=0)&&(i?n=1-n:(n=-n,a=e));for(var o=String(n);o.length<l;)o="0"+o;return t&&(o=o.substr(o.length-l)),a+o}function Zu(n,l,e,t,i){return void 0===e&&(e=0),void 0===t&&(t=!1),void 0===i&&(i=!1),function(a,o){var r,u=function(n,l){switch(n){case Wu.FullYear:return l.getFullYear();case Wu.Month:return l.getMonth();case Wu.Date:return l.getDate();case Wu.Hours:return l.getHours();case Wu.Minutes:return l.getMinutes();case Wu.Seconds:return l.getSeconds();case Wu.FractionalSeconds:return l.getMilliseconds();case Wu.Day:return l.getDay();default:throw new Error('Unknown DateType value "'+n+'".')}}(n,a);if((e>0||u>-e)&&(u+=e),n===Wu.Hours)0===u&&-12===e&&(u=12);else if(n===Wu.FractionalSeconds)return r=l,Ju(u,3).substr(0,r);var s=Vu(o,Lu.MinusSign);return Ju(u,l,s,t,i)}}function Qu(n,l,e,t){return void 0===e&&(e=Eu.Format),void 0===t&&(t=!1),function(i,a){return function(n,l,e,t,i,a){switch(e){case Ku.Months:return function(n,l,e){var t=Qi(n),i=zu([t[Yi.MonthsFormat],t[Yi.MonthsStandalone]],l);return zu(i,e)}(l,i,t)[n.getMonth()];case Ku.Days:return function(n,l,e){var t=Qi(n),i=zu([t[Yi.DaysFormat],t[Yi.DaysStandalone]],l);return zu(i,e)}(l,i,t)[n.getDay()];case Ku.DayPeriods:var o=n.getHours(),r=n.getMinutes();if(a){var u,s=function(n){var l=Qi(n);return qu(l),(l[Yi.ExtraData][2]||[]).map((function(n){return"string"==typeof n?Uu(n):[Uu(n[0]),Uu(n[1])]}))}(l),c=function(n,l,e){var t=Qi(n);qu(t);var i=zu([t[Yi.ExtraData][0],t[Yi.ExtraData][1]],l)||[];return zu(i,e)||[]}(l,i,t);if(s.forEach((function(n,l){if(Array.isArray(n)){var e=n[0],t=n[1],i=t.hours;o>=e.hours&&r>=e.minutes&&(o<i||o===i&&r<t.minutes)&&(u=c[l])}else n.hours===o&&n.minutes===r&&(u=c[l])})),u)return u}return function(n,l,e){var t=Qi(n),i=zu([t[Yi.DayPeriodsFormat],t[Yi.DayPeriodsStandalone]],l);return zu(i,e)}(l,i,t)[o<12?0:1];case Ku.Eras:return function(n,l){return zu(Qi(n)[Yi.Eras],l)}(l,t)[n.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type "+e)}}(i,a,n,l,e,t)}}function Xu(n){return function(l,e,t){var i=-1*t,a=Vu(e,Lu.MinusSign),o=i>0?Math.floor(i/60):Math.ceil(i/60);switch(n){case Gu.Short:return(i>=0?"+":"")+Ju(o,2,a)+Ju(Math.abs(i%60),2,a);case Gu.ShortGMT:return"GMT"+(i>=0?"+":"")+Ju(o,1,a);case Gu.Long:return"GMT"+(i>=0?"+":"")+Ju(o,2,a)+":"+Ju(Math.abs(i%60),2,a);case Gu.Extended:return 0===t?"Z":(i>=0?"+":"")+Ju(o,2,a)+":"+Ju(Math.abs(i%60),2,a);default:throw new Error('Unknown zone width "'+n+'"')}}}var ns=0,ls=4;function es(n,l){return void 0===l&&(l=!1),function(e,t){var i,a,o,r;if(l){var u=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();i=1+Math.floor((s+u)/7)}else{var c=(o=e.getFullYear(),r=new Date(o,ns,1).getDay(),new Date(o,0,1+(r<=ls?ls:ls+7)-r)),d=(a=e,new Date(a.getFullYear(),a.getMonth(),a.getDate()+(ls-a.getDay()))).getTime()-c.getTime();i=1+Math.round(d/6048e5)}return Ju(i,n,Vu(t,Lu.MinusSign))}}var ts={};function is(n,l){n=n.replace(/:/g,"");var e=Date.parse("Jan 01, 1970 00:00:00 "+n)/6e4;return isNaN(e)?l:e}function as(n){return n instanceof Date&&!isNaN(n.valueOf())}var os=new On("UseV4Plurals"),rs=function(){return function(){}}(),us=function(n){function l(l,e){var t=n.call(this)||this;return t.locale=l,t.deprecatedPluralFn=e,t}return Object(t.__extends)(l,n),l.prototype.getPluralCategory=function(n,l){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(l||this.locale,n):function(n){return Qi(n)[Yi.PluralCase]}(l||this.locale)(n)){case Fu.Zero:return"zero";case Fu.One:return"one";case Fu.Two:return"two";case Fu.Few:return"few";case Fu.Many:return"many";default:return"other"}},l}(rs);function ss(n,l){var e,i;l=encodeURIComponent(l);try{for(var a=Object(t.__values)(n.split(";")),o=a.next();!o.done;o=a.next()){var r=o.value,u=r.indexOf("="),s=Object(t.__read)(-1==u?[r,""]:[r.slice(0,u),r.slice(u+1)],2),c=s[1];if(s[0].trim()===l)return decodeURIComponent(c)}}catch(d){e={error:d}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}return null}var cs=function(){return function(){}}(),ds=function(){function n(n,l,e,t){this._iterableDiffers=n,this._keyValueDiffers=l,this._ngEl=e,this._renderer=t,this._initialClasses=[]}return n.prototype.getValue=function(){return null},n.prototype.setClass=function(n){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof n?n.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)},n.prototype.setNgClass=function(n){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof n?n.split(/\s+/):n,this._rawClass&&(he(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())},n.prototype.applyChanges=function(){if(this._iterableDiffer){var n=this._iterableDiffer.diff(this._rawClass);n&&this._applyIterableChanges(n)}else if(this._keyValueDiffer){var l=this._keyValueDiffer.diff(this._rawClass);l&&this._applyKeyValueChanges(l)}},n.prototype._applyKeyValueChanges=function(n){var l=this;n.forEachAddedItem((function(n){return l._toggleClass(n.key,n.currentValue)})),n.forEachChangedItem((function(n){return l._toggleClass(n.key,n.currentValue)})),n.forEachRemovedItem((function(n){n.previousValue&&l._toggleClass(n.key,!1)}))},n.prototype._applyIterableChanges=function(n){var l=this;n.forEachAddedItem((function(n){if("string"!=typeof n.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Cn(n.item));l._toggleClass(n.item,!0)})),n.forEachRemovedItem((function(n){return l._toggleClass(n.item,!1)}))},n.prototype._applyClasses=function(n){var l=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach((function(n){return l._toggleClass(n,!0)})):Object.keys(n).forEach((function(e){return l._toggleClass(e,!!n[e])})))},n.prototype._removeClasses=function(n){var l=this;n&&(Array.isArray(n)||n instanceof Set?n.forEach((function(n){return l._toggleClass(n,!1)})):Object.keys(n).forEach((function(n){return l._toggleClass(n,!1)})))},n.prototype._toggleClass=function(n,l){var e=this;(n=n.trim())&&n.split(/\s+/g).forEach((function(n){l?e._renderer.addClass(e._ngEl.nativeElement,n):e._renderer.removeClass(e._ngEl.nativeElement,n)}))},n}(),ps=function(n){function l(l){return n.call(this,l)||this}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"klass",{set:function(n){this._delegate.setClass(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"ngClass",{set:function(n){this._delegate.setNgClass(n)},enumerable:!0,configurable:!0}),l.prototype.ngDoCheck=function(){this._delegate.applyChanges()},l}(function(){function n(n){this._delegate=n}return n.prototype.getValue=function(){return this._delegate.getValue()},n.ngDirectiveDef=void 0,n}()),ms=function(){function n(n,l,e,t){this.$implicit=n,this.ngForOf=l,this.index=e,this.count=t}return Object.defineProperty(n.prototype,"first",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"last",{get:function(){return this.index===this.count-1},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"even",{get:function(){return this.index%2==0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"odd",{get:function(){return!this.even},enumerable:!0,configurable:!0}),n}(),fs=function(){function n(n,l,e){this._viewContainer=n,this._template=l,this._differs=e,this._ngForOfDirty=!0,this._differ=null}return Object.defineProperty(n.prototype,"ngForOf",{set:function(n){this._ngForOf=n,this._ngForOfDirty=!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTrackBy",{get:function(){return this._trackByFn},set:function(n){sl()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+". See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngForTemplate",{set:function(n){n&&(this._template=n)},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error("Cannot find a differ supporting object '"+n+"' of type '"+((l=n).name||typeof l)+"'. NgFor only supports binding to Iterables such as Arrays.")}}var l;if(this._differ){var e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}},n.prototype._applyChanges=function(n){var l=this,e=[];n.forEachOperation((function(n,t,i){if(null==n.previousIndex){var a=l._viewContainer.createEmbeddedView(l._template,new ms(null,l._ngForOf,-1,-1),null===i?void 0:i),o=new hs(n,a);e.push(o)}else null==i?l._viewContainer.remove(null===t?void 0:t):null!==t&&(a=l._viewContainer.get(t),l._viewContainer.move(a,i),o=new hs(n,a),e.push(o))}));for(var t=0;t<e.length;t++)this._perViewChange(e[t].view,e[t].record);t=0;for(var i=this._viewContainer.length;t<i;t++){var a=this._viewContainer.get(t);a.context.index=t,a.context.count=i,a.context.ngForOf=this._ngForOf}n.forEachIdentityChange((function(n){l._viewContainer.get(n.currentIndex).context.$implicit=n.item}))},n.prototype._perViewChange=function(n,l){n.context.$implicit=l.item},n.ngTemplateContextGuard=function(n,l){return!0},n}(),hs=function(){return function(n,l){this.record=n,this.view=l}}(),gs=function(){function n(n,l){this._viewContainer=n,this._context=new bs,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=l}return Object.defineProperty(n.prototype,"ngIf",{set:function(n){this._context.$implicit=this._context.ngIf=n,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfThen",{set:function(n){vs("ngIfThen",n),this._thenTemplateRef=n,this._thenViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngIfElse",{set:function(n){vs("ngIfElse",n),this._elseTemplateRef=n,this._elseViewRef=null,this._updateView()},enumerable:!0,configurable:!0}),n.prototype._updateView=function(){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)))},n}(),bs=function(){return function(){this.$implicit=null,this.ngIf=null}}();function vs(n,l){if(l&&!l.createEmbeddedView)throw new Error(n+" must be a TemplateRef, but received '"+Cn(l)+"'.")}var _s=function(){function n(n,l){this._viewContainerRef=n,this._templateRef=l,this._created=!1}return n.prototype.create=function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)},n.prototype.destroy=function(){this._created=!1,this._viewContainerRef.clear()},n.prototype.enforceState=function(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()},n}(),ys=function(){function n(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object.defineProperty(n.prototype,"ngSwitch",{set:function(n){this._ngSwitch=n,0===this._caseCount&&this._updateDefaultCases(!0)},enumerable:!0,configurable:!0}),n.prototype._addCase=function(){return this._caseCount++},n.prototype._addDefault=function(n){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(n)},n.prototype._matchCase=function(n){var l=n==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||l,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),l},n.prototype._updateDefaultCases=function(n){if(this._defaultViews&&n!==this._defaultUsed){this._defaultUsed=n;for(var l=0;l<this._defaultViews.length;l++)this._defaultViews[l].enforceState(n)}},n}(),ws=function(){function n(n,l,e){this.ngSwitch=e,e._addCase(),this._view=new _s(n,l)}return n.prototype.ngDoCheck=function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))},n}(),xs=function(){return function(n,l,e){e._addDefault(new _s(n,l))}}(),Cs=function(){return function(){}}(),ks=function(){function n(n,l,e){this._ngEl=n,this._differs=l,this._renderer=e}return n.prototype.getValue=function(){return null},n.prototype.setNgStyle=function(n){this._ngStyle=n,!this._differ&&n&&(this._differ=this._differs.find(n).create())},n.prototype.applyChanges=function(){if(this._differ){var n=this._differ.diff(this._ngStyle);n&&this._applyChanges(n)}},n.prototype._applyChanges=function(n){var l=this;n.forEachRemovedItem((function(n){return l._setStyle(n.key,null)})),n.forEachAddedItem((function(n){return l._setStyle(n.key,n.currentValue)})),n.forEachChangedItem((function(n){return l._setStyle(n.key,n.currentValue)}))},n.prototype._setStyle=function(n,l){var e=Object(t.__read)(n.split("."),2),i=e[0],a=e[1];null!=(l=null!=l&&a?""+l+a:l)?this._renderer.setStyle(this._ngEl.nativeElement,i,l):this._renderer.removeStyle(this._ngEl.nativeElement,i)},n}(),Ss=function(n){function l(l){return n.call(this,l)||this}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"ngStyle",{set:function(n){this._delegate.setNgStyle(n)},enumerable:!0,configurable:!0}),l.prototype.ngDoCheck=function(){this._delegate.applyChanges()},l}(function(){function n(n){this._delegate=n}return n.prototype.getValue=function(){return this._delegate.getValue()},n.ngDirectiveDef=void 0,n}()),Is=function(){function n(n){this._viewContainerRef=n,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return n.prototype.ngOnChanges=function(n){this._shouldRecreateView(n)?(this._viewRef&&this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef)),this.ngTemplateOutlet&&(this._viewRef=this._viewContainerRef.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext))):this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)},n.prototype._shouldRecreateView=function(n){var l=n.ngTemplateOutletContext;return!!n.ngTemplateOutlet||l&&this._hasContextShapeChanged(l)},n.prototype._hasContextShapeChanged=function(n){var l,e,i=Object.keys(n.previousValue||{}),a=Object.keys(n.currentValue||{});if(i.length===a.length){try{for(var o=Object(t.__values)(a),r=o.next();!r.done;r=o.next())if(-1===i.indexOf(r.value))return!0}catch(u){l={error:u}}finally{try{r&&!r.done&&(e=o.return)&&e.call(o)}finally{if(l)throw l.error}}return!1}return!0},n.prototype._updateExistingContext=function(n){var l,e;try{for(var i=Object(t.__values)(Object.keys(n)),a=i.next();!a.done;a=i.next()){var o=a.value;this._viewRef.context[o]=this.ngTemplateOutletContext[o]}}catch(r){l={error:r}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(l)throw l.error}}},n}();function As(n,l){return Error("InvalidPipeArgument: '"+l+"' for pipe '"+Cn(n)+"'")}var Ms=function(){function n(){}return n.prototype.createSubscription=function(n,l){return n.subscribe({next:l,error:function(n){throw n}})},n.prototype.dispose=function(n){n.unsubscribe()},n.prototype.onDestroy=function(n){n.unsubscribe()},n}(),Ps=new(function(){function n(){}return n.prototype.createSubscription=function(n,l){return n.then(l,(function(n){throw n}))},n.prototype.dispose=function(n){},n.prototype.onDestroy=function(n){},n}()),Ds=new Ms,Fs=function(){function n(n){this._ref=n,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}var l;return l=n,n.prototype.ngOnDestroy=function(){this._subscription&&this._dispose()},n.prototype.transform=function(n){return this._obj?n!==this._obj?(this._dispose(),this.transform(n)):pe(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,fe.wrap(this._latestValue)):(n&&this._subscribe(n),this._latestReturnedValue=this._latestValue,this._latestValue)},n.prototype._subscribe=function(n){var l=this;this._obj=n,this._strategy=this._selectStrategy(n),this._subscription=this._strategy.createSubscription(n,(function(e){return l._updateLatestValue(n,e)}))},n.prototype._selectStrategy=function(n){if(be(n))return Ps;if(ve(n))return Ds;throw As(l,n)},n.prototype._dispose=function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null},n.prototype._updateLatestValue=function(n,l){n===this._obj&&(this._latestValue=l,this._ref.markForCheck())},n}(),Es=function(){function n(){}var l;return l=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw As(l,n);return n.toLowerCase()},n}(),Os=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,Ts=function(){function n(){}var l;return l=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw As(l,n);return n.replace(Os,(function(n){return n[0].toUpperCase()+n.substr(1).toLowerCase()}))},n}(),Ls=function(){function n(){}var l;return l=n,n.prototype.transform=function(n){if(!n)return n;if("string"!=typeof n)throw As(l,n);return n.toUpperCase()},n}(),Rs=function(){function n(n){this.locale=n}var l;return l=n,n.prototype.transform=function(n,e,i,a){if(void 0===e&&(e="mediumDate"),null==n||""===n||n!=n)return null;try{return function(n,l,e,i){var a=function(n){if(as(n))return n;if("number"==typeof n&&!isNaN(n))return new Date(n);if("string"==typeof n){n=n.trim();var l,e=parseFloat(n);if(!isNaN(n-e))return new Date(e);if(/^(\d{4}-\d{1,2}-\d{1,2})$/.test(n)){var i=Object(t.__read)(n.split("-").map((function(n){return+n})),3);return new Date(i[0],i[1]-1,i[2])}if(l=n.match(Bu))return function(n){var l=new Date(0),e=0,t=0,i=n[8]?l.setUTCFullYear:l.setFullYear,a=n[8]?l.setUTCHours:l.setHours;n[9]&&(e=Number(n[9]+n[10]),t=Number(n[9]+n[11])),i.call(l,Number(n[1]),Number(n[2])-1,Number(n[3]));var o=Number(n[4]||0)-e,r=Number(n[5]||0)-t,u=Number(n[6]||0),s=Math.round(1e3*parseFloat("0."+(n[7]||0)));return a.call(l,o,r,u,s),l}(l)}var a=new Date(n);if(!as(a))throw new Error('Unable to convert "'+n+'" into a date');return a}(n);l=function n(l,e){var t=function(n){return Qi(n)[Yi.LocaleId]}(l);if($u[t]=$u[t]||{},$u[t][e])return $u[t][e];var i="";switch(e){case"shortDate":i=Ru(l,Tu.Short);break;case"mediumDate":i=Ru(l,Tu.Medium);break;case"longDate":i=Ru(l,Tu.Long);break;case"fullDate":i=Ru(l,Tu.Full);break;case"shortTime":i=Nu(l,Tu.Short);break;case"mediumTime":i=Nu(l,Tu.Medium);break;case"longTime":i=Nu(l,Tu.Long);break;case"fullTime":i=Nu(l,Tu.Full);break;case"short":var a=n(l,"shortTime"),o=n(l,"shortDate");i=Yu(ju(l,Tu.Short),[a,o]);break;case"medium":var r=n(l,"mediumTime"),u=n(l,"mediumDate");i=Yu(ju(l,Tu.Medium),[r,u]);break;case"long":var s=n(l,"longTime"),c=n(l,"longDate");i=Yu(ju(l,Tu.Long),[s,c]);break;case"full":var d=n(l,"fullTime"),p=n(l,"fullDate");i=Yu(ju(l,Tu.Full),[d,p])}return i&&($u[t][e]=i),i}(e,l)||l;for(var o,r=[];l;){if(!(o=Hu.exec(l))){r.push(l);break}var u=(r=r.concat(o.slice(1))).pop();if(!u)break;l=u}var s=a.getTimezoneOffset();i&&(s=is(i,s),a=function(n,l,e){var t=n.getTimezoneOffset();return function(n,l){return(n=new Date(n.getTime())).setMinutes(n.getMinutes()+l),n}(n,-1*(is(l,t)-t))}(a,i));var c="";return r.forEach((function(n){var l=function(n){if(ts[n])return ts[n];var l;switch(n){case"G":case"GG":case"GGG":l=Qu(Ku.Eras,Ou.Abbreviated);break;case"GGGG":l=Qu(Ku.Eras,Ou.Wide);break;case"GGGGG":l=Qu(Ku.Eras,Ou.Narrow);break;case"y":l=Zu(Wu.FullYear,1,0,!1,!0);break;case"yy":l=Zu(Wu.FullYear,2,0,!0,!0);break;case"yyy":l=Zu(Wu.FullYear,3,0,!1,!0);break;case"yyyy":l=Zu(Wu.FullYear,4,0,!1,!0);break;case"M":case"L":l=Zu(Wu.Month,1,1);break;case"MM":case"LL":l=Zu(Wu.Month,2,1);break;case"MMM":l=Qu(Ku.Months,Ou.Abbreviated);break;case"MMMM":l=Qu(Ku.Months,Ou.Wide);break;case"MMMMM":l=Qu(Ku.Months,Ou.Narrow);break;case"LLL":l=Qu(Ku.Months,Ou.Abbreviated,Eu.Standalone);break;case"LLLL":l=Qu(Ku.Months,Ou.Wide,Eu.Standalone);break;case"LLLLL":l=Qu(Ku.Months,Ou.Narrow,Eu.Standalone);break;case"w":l=es(1);break;case"ww":l=es(2);break;case"W":l=es(1,!0);break;case"d":l=Zu(Wu.Date,1);break;case"dd":l=Zu(Wu.Date,2);break;case"E":case"EE":case"EEE":l=Qu(Ku.Days,Ou.Abbreviated);break;case"EEEE":l=Qu(Ku.Days,Ou.Wide);break;case"EEEEE":l=Qu(Ku.Days,Ou.Narrow);break;case"EEEEEE":l=Qu(Ku.Days,Ou.Short);break;case"a":case"aa":case"aaa":l=Qu(Ku.DayPeriods,Ou.Abbreviated);break;case"aaaa":l=Qu(Ku.DayPeriods,Ou.Wide);break;case"aaaaa":l=Qu(Ku.DayPeriods,Ou.Narrow);break;case"b":case"bb":case"bbb":l=Qu(Ku.DayPeriods,Ou.Abbreviated,Eu.Standalone,!0);break;case"bbbb":l=Qu(Ku.DayPeriods,Ou.Wide,Eu.Standalone,!0);break;case"bbbbb":l=Qu(Ku.DayPeriods,Ou.Narrow,Eu.Standalone,!0);break;case"B":case"BB":case"BBB":l=Qu(Ku.DayPeriods,Ou.Abbreviated,Eu.Format,!0);break;case"BBBB":l=Qu(Ku.DayPeriods,Ou.Wide,Eu.Format,!0);break;case"BBBBB":l=Qu(Ku.DayPeriods,Ou.Narrow,Eu.Format,!0);break;case"h":l=Zu(Wu.Hours,1,-12);break;case"hh":l=Zu(Wu.Hours,2,-12);break;case"H":l=Zu(Wu.Hours,1);break;case"HH":l=Zu(Wu.Hours,2);break;case"m":l=Zu(Wu.Minutes,1);break;case"mm":l=Zu(Wu.Minutes,2);break;case"s":l=Zu(Wu.Seconds,1);break;case"ss":l=Zu(Wu.Seconds,2);break;case"S":l=Zu(Wu.FractionalSeconds,1);break;case"SS":l=Zu(Wu.FractionalSeconds,2);break;case"SSS":l=Zu(Wu.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":l=Xu(Gu.Short);break;case"ZZZZZ":l=Xu(Gu.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":l=Xu(Gu.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":l=Xu(Gu.Long);break;default:return null}return ts[n]=l,l}(n);c+=l?l(a,e,s):"''"===n?"'":n.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),c}(n,e,a||this.locale,i)}catch(o){throw As(l,o.message)}},n}(),Ns=function(){function n(n){this.differs=n,this.keyValues=[]}return n.prototype.transform=function(n,l){var e=this;if(void 0===l&&(l=js),!n||!(n instanceof Map)&&"object"!=typeof n)return null;this.differ||(this.differ=this.differs.find(n).create());var t=this.differ.diff(n);return t&&(this.keyValues=[],t.forEachItem((function(n){e.keyValues.push({key:n.key,value:n.currentValue})})),this.keyValues.sort(l)),this.keyValues},n}();function js(n,l){var e=n.key,t=l.key;if(e===t)return 0;if(void 0===e)return 1;if(void 0===t)return-1;if(null===e)return 1;if(null===t)return-1;if("string"==typeof e&&"string"==typeof t)return e<t?-1:1;if("number"==typeof e&&"number"==typeof t)return e-t;if("boolean"==typeof e&&"boolean"==typeof t)return e<t?-1:1;var i=String(e),a=String(t);return i==a?0:i<a?-1:1}var Vs=function(){return function(){}}(),qs=new On("DocumentToken"),zs="browser",Us="server";function Bs(n){return n===zs}var $s=function(){function n(){}return n.ngInjectableDef=yn({token:n,providedIn:"root",factory:function(){return new Hs(Bn(qs),window,Bn(ol))}}),n}(),Hs=function(){function n(n,l,e){this.document=n,this.window=l,this.errorHandler=e,this.offset=function(){return[0,0]}}return n.prototype.setOffset=function(n){this.offset=Array.isArray(n)?function(){return n}:n},n.prototype.getScrollPosition=function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]},n.prototype.scrollToPosition=function(n){this.supportScrollRestoration()&&this.window.scrollTo(n[0],n[1])},n.prototype.scrollToAnchor=function(n){if(this.supportScrollRestoration()){n=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(n):n.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var l=this.document.querySelector("#"+n);if(l)return void this.scrollToElement(l);var e=this.document.querySelector("[name='"+n+"']");if(e)return void this.scrollToElement(e)}catch(t){this.errorHandler.handleError(t)}}},n.prototype.setHistoryScrollRestoration=function(n){if(this.supportScrollRestoration()){var l=this.window.history;l&&l.scrollRestoration&&(l.scrollRestoration=n)}},n.prototype.scrollToElement=function(n){var l=n.getBoundingClientRect(),e=l.left+this.window.pageXOffset,t=l.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(e-i[0],t-i[1])},n.prototype.supportScrollRestoration=function(){try{return!!this.window&&!!this.window.scrollTo}catch(n){return!1}},n}(),Gs=function(n){function l(l){var e=n.call(this)||this;return e._value=l,e}return t.__extends(l,n),Object.defineProperty(l.prototype,"value",{get:function(){return this.getValue()},enumerable:!0,configurable:!0}),l.prototype._subscribe=function(l){var e=n.prototype._subscribe.call(this,l);return e&&!e.closed&&l.next(this._value),e},l.prototype.getValue=function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new S;return this._value},l.prototype.next=function(l){n.prototype.next.call(this,this._value=l)},l}(M);function Ws(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}Ws.prototype=Object.create(Error.prototype);var Ks=Ws,Ys={};function Js(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];var e=null,t=null;return D(n[n.length-1])&&(t=n.pop()),"function"==typeof n[n.length-1]&&(e=n.pop()),1===n.length&&i(n[0])&&(n=n[0]),J(n,t).lift(new Zs(e))}var Zs=function(){function n(n){this.resultSelector=n}return n.prototype.call=function(n,l){return l.subscribe(new Qs(n,this.resultSelector))},n}(),Qs=function(n){function l(l,e){var t=n.call(this,l)||this;return t.resultSelector=e,t.active=0,t.values=[],t.observables=[],t}return t.__extends(l,n),l.prototype._next=function(n){this.values.push(Ys),this.observables.push(n)},l.prototype._complete=function(){var n=this.observables,l=n.length;if(0===l)this.destination.complete();else{this.active=l,this.toRespond=l;for(var e=0;e<l;e++){var t=n[e];this.add(j(this,t,t,e))}}},l.prototype.notifyComplete=function(n){0==(this.active-=1)&&this.destination.complete()},l.prototype.notifyNext=function(n,l,e,t,i){var a=this.values,o=this.toRespond?a[e]===Ys?--this.toRespond:this.toRespond:0;a[e]=l,0===o&&(this.resultSelector?this._tryResultSelector(a):this.destination.next(a.slice()))},l.prototype._tryResultSelector=function(n){var l;try{l=this.resultSelector.apply(this,n)}catch(e){return void this.destination.error(e)}this.destination.next(l)},l}(V),Xs=new x((function(n){return n.complete()}));function nc(n){return n?function(n){return new x((function(l){return n.schedule((function(){return l.complete()}))}))}(n):Xs}function lc(n){return new x((function(l){var e;try{e=n()}catch(t){return void l.error(t)}return(e?$(e):nc()).subscribe(l)}))}function ec(){return Y(1)}function tc(n,l){return function(e){return e.lift(new ic(n,l))}}var ic=function(){function n(n,l){this.predicate=n,this.thisArg=l}return n.prototype.call=function(n,l){return l.subscribe(new ac(n,this.predicate,this.thisArg))},n}(),ac=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.predicate=e,i.thisArg=t,i.count=0,i}return t.__extends(l,n),l.prototype._next=function(n){var l;try{l=this.predicate.call(this.thisArg,n,this.count++)}catch(e){return void this.destination.error(e)}l&&this.destination.next(n)},l}(g);function oc(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}oc.prototype=Object.create(Error.prototype);var rc=oc;function uc(n){return function(l){return 0===n?nc():l.lift(new sc(n))}}var sc=function(){function n(n){if(this.total=n,this.total<0)throw new rc}return n.prototype.call=function(n,l){return l.subscribe(new cc(n,this.total))},n}(),cc=function(n){function l(l,e){var t=n.call(this,l)||this;return t.total=e,t.ring=new Array,t.count=0,t}return t.__extends(l,n),l.prototype._next=function(n){var l=this.ring,e=this.total,t=this.count++;l.length<e?l.push(n):l[t%e]=n},l.prototype._complete=function(){var n=this.destination,l=this.count;if(l>0)for(var e=this.count>=this.total?this.total:this.count,t=this.ring,i=0;i<e;i++){var a=l++%e;n.next(t[a])}n.complete()},l}(g);function dc(n){return void 0===n&&(n=fc),function(l){return l.lift(new pc(n))}}var pc=function(){function n(n){this.errorFactory=n}return n.prototype.call=function(n,l){return l.subscribe(new mc(n,this.errorFactory))},n}(),mc=function(n){function l(l,e){var t=n.call(this,l)||this;return t.errorFactory=e,t.hasValue=!1,t}return t.__extends(l,n),l.prototype._next=function(n){this.hasValue=!0,this.destination.next(n)},l.prototype._complete=function(){if(this.hasValue)return this.destination.complete();var n=void 0;try{n=this.errorFactory()}catch(l){n=l}this.destination.error(n)},l}(g);function fc(){return new Ks}function hc(n){return void 0===n&&(n=null),function(l){return l.lift(new gc(n))}}var gc=function(){function n(n){this.defaultValue=n}return n.prototype.call=function(n,l){return l.subscribe(new bc(n,this.defaultValue))},n}(),bc=function(n){function l(l,e){var t=n.call(this,l)||this;return t.defaultValue=e,t.isEmpty=!0,t}return t.__extends(l,n),l.prototype._next=function(n){this.isEmpty=!1,this.destination.next(n)},l.prototype._complete=function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()},l}(g);function vc(n,l){var e=arguments.length>=2;return function(t){return t.pipe(n?tc((function(l,e){return n(l,e,t)})):K,uc(1),e?hc(l):dc((function(){return new Ks})))}}function _c(n){return function(l){return 0===n?nc():l.lift(new yc(n))}}var yc=function(){function n(n){if(this.total=n,this.total<0)throw new rc}return n.prototype.call=function(n,l){return l.subscribe(new wc(n,this.total))},n}(),wc=function(n){function l(l,e){var t=n.call(this,l)||this;return t.total=e,t.count=0,t}return t.__extends(l,n),l.prototype._next=function(n){var l=this.total,e=++this.count;e<=l&&(this.destination.next(n),e===l&&(this.destination.complete(),this.unsubscribe()))},l}(g);function xc(n,l){var e=arguments.length>=2;return function(t){return t.pipe(n?tc((function(l,e){return n(l,e,t)})):K,_c(1),e?hc(l):dc((function(){return new Ks})))}}var Cc=function(){function n(n,l,e){this.predicate=n,this.thisArg=l,this.source=e}return n.prototype.call=function(n,l){return l.subscribe(new kc(n,this.predicate,this.thisArg,this.source))},n}(),kc=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;return a.predicate=e,a.thisArg=t,a.source=i,a.index=0,a.thisArg=t||a,a}return t.__extends(l,n),l.prototype.notifyComplete=function(n){this.destination.next(n),this.destination.complete()},l.prototype._next=function(n){var l=!1;try{l=this.predicate.call(this.thisArg,n,this.index++,this.source)}catch(e){return void this.destination.error(e)}l||this.notifyComplete(!1)},l.prototype._complete=function(){this.notifyComplete(!0)},l}(g);function Sc(n,l){return"function"==typeof l?function(e){return e.pipe(Sc((function(e,t){return $(n(e,t)).pipe(q((function(n,i){return l(e,n,t,i)})))})))}:function(l){return l.lift(new Ic(n))}}var Ic=function(){function n(n){this.project=n}return n.prototype.call=function(n,l){return l.subscribe(new Ac(n,this.project))},n}(),Ac=function(n){function l(l,e){var t=n.call(this,l)||this;return t.project=e,t.index=0,t}return t.__extends(l,n),l.prototype._next=function(n){var l,e=this.index++;try{l=this.project(n,e)}catch(t){return void this.destination.error(t)}this._innerSub(l,n,e)},l.prototype._innerSub=function(n,l,e){var t=this.innerSubscription;t&&t.unsubscribe();var i=new F(this,void 0,void 0);this.destination.add(i),this.innerSubscription=j(this,n,l,e,i)},l.prototype._complete=function(){var l=this.innerSubscription;l&&!l.closed||n.prototype._complete.call(this),this.unsubscribe()},l.prototype._unsubscribe=function(){this.innerSubscription=null},l.prototype.notifyComplete=function(l){this.destination.remove(l),this.innerSubscription=null,this.isStopped&&n.prototype._complete.call(this)},l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l}(V);function Mc(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return ec()(lu.apply(void 0,n))}function Pc(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];var e=n[n.length-1];return D(e)?(n.pop(),function(l){return Mc(n,l,e)}):function(l){return Mc(n,l)}}function Dc(n,l){var e=!1;return arguments.length>=2&&(e=!0),function(t){return t.lift(new Fc(n,l,e))}}var Fc=function(){function n(n,l,e){void 0===e&&(e=!1),this.accumulator=n,this.seed=l,this.hasSeed=e}return n.prototype.call=function(n,l){return l.subscribe(new Ec(n,this.accumulator,this.seed,this.hasSeed))},n}(),Ec=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;return a.accumulator=e,a._seed=t,a.hasSeed=i,a.index=0,a}return t.__extends(l,n),Object.defineProperty(l.prototype,"seed",{get:function(){return this._seed},set:function(n){this.hasSeed=!0,this._seed=n},enumerable:!0,configurable:!0}),l.prototype._next=function(n){if(this.hasSeed)return this._tryNext(n);this.seed=n,this.destination.next(n)},l.prototype._tryNext=function(n){var l,e=this.index++;try{l=this.accumulator(this.seed,n,e)}catch(t){this.destination.error(t)}this.seed=l,this.destination.next(l)},l}(g);function Oc(n,l){return H(n,l,1)}var Tc=null;function Lc(){return Tc}var Rc,Nc=function(n){function l(){var l=n.call(this)||this;l._animationPrefix=null,l._transitionEnd=null;try{var e=l.createElement("div",document);if(null!=l.getStyle(e,"animationName"))l._animationPrefix="";else for(var t=["Webkit","Moz","O","ms"],i=0;i<t.length;i++)if(null!=l.getStyle(e,t[i]+"AnimationName")){l._animationPrefix="-"+t[i].toLowerCase()+"-";break}var a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(a).forEach((function(n){null!=l.getStyle(e,n)&&(l._transitionEnd=a[n])}))}catch(o){l._animationPrefix=null,l._transitionEnd=null}return l}return Object(t.__extends)(l,n),l.prototype.getDistributedNodes=function(n){return n.getDistributedNodes()},l.prototype.resolveAndSetHref=function(n,l,e){n.href=null==e?l:l+"/../"+e},l.prototype.supportsDOMEvents=function(){return!0},l.prototype.supportsNativeShadowDOM=function(){return"function"==typeof document.body.createShadowRoot},l.prototype.getAnimationPrefix=function(){return this._animationPrefix?this._animationPrefix:""},l.prototype.getTransitionEnd=function(){return this._transitionEnd?this._transitionEnd:""},l.prototype.supportsAnimation=function(){return null!=this._animationPrefix&&null!=this._transitionEnd},l}(function(){function n(){this.resourceLoaderType=null}return Object.defineProperty(n.prototype,"attrToPropMap",{get:function(){return this._attrToPropMap},set:function(n){this._attrToPropMap=n},enumerable:!0,configurable:!0}),n}()),jc={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Vc={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},qc={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","Â":"NumLock"},zc=function(){if(En.Node)return En.Node.prototype.contains||function(n){return!!(16&this.compareDocumentPosition(n))}}(),Uc=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.parse=function(n){throw new Error("parse not implemented")},l.makeCurrent=function(){var n;n=new l,Tc||(Tc=n)},l.prototype.hasProperty=function(n,l){return l in n},l.prototype.setProperty=function(n,l,e){n[l]=e},l.prototype.getProperty=function(n,l){return n[l]},l.prototype.invoke=function(n,l,e){var i;(i=n)[l].apply(i,Object(t.__spread)(e))},l.prototype.logError=function(n){window.console&&(console.error?console.error(n):console.log(n))},l.prototype.log=function(n){window.console&&window.console.log&&window.console.log(n)},l.prototype.logGroup=function(n){window.console&&window.console.group&&window.console.group(n)},l.prototype.logGroupEnd=function(){window.console&&window.console.groupEnd&&window.console.groupEnd()},Object.defineProperty(l.prototype,"attrToPropMap",{get:function(){return jc},enumerable:!0,configurable:!0}),l.prototype.contains=function(n,l){return zc.call(n,l)},l.prototype.querySelector=function(n,l){return n.querySelector(l)},l.prototype.querySelectorAll=function(n,l){return n.querySelectorAll(l)},l.prototype.on=function(n,l,e){n.addEventListener(l,e,!1)},l.prototype.onAndCancel=function(n,l,e){return n.addEventListener(l,e,!1),function(){n.removeEventListener(l,e,!1)}},l.prototype.dispatchEvent=function(n,l){n.dispatchEvent(l)},l.prototype.createMouseEvent=function(n){var l=this.getDefaultDocument().createEvent("MouseEvent");return l.initEvent(n,!0,!0),l},l.prototype.createEvent=function(n){var l=this.getDefaultDocument().createEvent("Event");return l.initEvent(n,!0,!0),l},l.prototype.preventDefault=function(n){n.preventDefault(),n.returnValue=!1},l.prototype.isPrevented=function(n){return n.defaultPrevented||null!=n.returnValue&&!n.returnValue},l.prototype.getInnerHTML=function(n){return n.innerHTML},l.prototype.getTemplateContent=function(n){return"content"in n&&this.isTemplateElement(n)?n.content:null},l.prototype.getOuterHTML=function(n){return n.outerHTML},l.prototype.nodeName=function(n){return n.nodeName},l.prototype.nodeValue=function(n){return n.nodeValue},l.prototype.type=function(n){return n.type},l.prototype.content=function(n){return this.hasProperty(n,"content")?n.content:n},l.prototype.firstChild=function(n){return n.firstChild},l.prototype.nextSibling=function(n){return n.nextSibling},l.prototype.parentElement=function(n){return n.parentNode},l.prototype.childNodes=function(n){return n.childNodes},l.prototype.childNodesAsList=function(n){for(var l=n.childNodes,e=new Array(l.length),t=0;t<l.length;t++)e[t]=l[t];return e},l.prototype.clearNodes=function(n){for(;n.firstChild;)n.removeChild(n.firstChild)},l.prototype.appendChild=function(n,l){n.appendChild(l)},l.prototype.removeChild=function(n,l){n.removeChild(l)},l.prototype.replaceChild=function(n,l,e){n.replaceChild(l,e)},l.prototype.remove=function(n){return n.parentNode&&n.parentNode.removeChild(n),n},l.prototype.insertBefore=function(n,l,e){n.insertBefore(e,l)},l.prototype.insertAllBefore=function(n,l,e){e.forEach((function(e){return n.insertBefore(e,l)}))},l.prototype.insertAfter=function(n,l,e){n.insertBefore(e,l.nextSibling)},l.prototype.setInnerHTML=function(n,l){n.innerHTML=l},l.prototype.getText=function(n){return n.textContent},l.prototype.setText=function(n,l){n.textContent=l},l.prototype.getValue=function(n){return n.value},l.prototype.setValue=function(n,l){n.value=l},l.prototype.getChecked=function(n){return n.checked},l.prototype.setChecked=function(n,l){n.checked=l},l.prototype.createComment=function(n){return this.getDefaultDocument().createComment(n)},l.prototype.createTemplate=function(n){var l=this.getDefaultDocument().createElement("template");return l.innerHTML=n,l},l.prototype.createElement=function(n,l){return(l=l||this.getDefaultDocument()).createElement(n)},l.prototype.createElementNS=function(n,l,e){return(e=e||this.getDefaultDocument()).createElementNS(n,l)},l.prototype.createTextNode=function(n,l){return(l=l||this.getDefaultDocument()).createTextNode(n)},l.prototype.createScriptTag=function(n,l,e){var t=(e=e||this.getDefaultDocument()).createElement("SCRIPT");return t.setAttribute(n,l),t},l.prototype.createStyleElement=function(n,l){var e=(l=l||this.getDefaultDocument()).createElement("style");return this.appendChild(e,this.createTextNode(n,l)),e},l.prototype.createShadowRoot=function(n){return n.createShadowRoot()},l.prototype.getShadowRoot=function(n){return n.shadowRoot},l.prototype.getHost=function(n){return n.host},l.prototype.clone=function(n){return n.cloneNode(!0)},l.prototype.getElementsByClassName=function(n,l){return n.getElementsByClassName(l)},l.prototype.getElementsByTagName=function(n,l){return n.getElementsByTagName(l)},l.prototype.classList=function(n){return Array.prototype.slice.call(n.classList,0)},l.prototype.addClass=function(n,l){n.classList.add(l)},l.prototype.removeClass=function(n,l){n.classList.remove(l)},l.prototype.hasClass=function(n,l){return n.classList.contains(l)},l.prototype.setStyle=function(n,l,e){n.style[l]=e},l.prototype.removeStyle=function(n,l){n.style[l]=""},l.prototype.getStyle=function(n,l){return n.style[l]},l.prototype.hasStyle=function(n,l,e){var t=this.getStyle(n,l)||"";return e?t==e:t.length>0},l.prototype.tagName=function(n){return n.tagName},l.prototype.attributeMap=function(n){for(var l=new Map,e=n.attributes,t=0;t<e.length;t++){var i=e.item(t);l.set(i.name,i.value)}return l},l.prototype.hasAttribute=function(n,l){return n.hasAttribute(l)},l.prototype.hasAttributeNS=function(n,l,e){return n.hasAttributeNS(l,e)},l.prototype.getAttribute=function(n,l){return n.getAttribute(l)},l.prototype.getAttributeNS=function(n,l,e){return n.getAttributeNS(l,e)},l.prototype.setAttribute=function(n,l,e){n.setAttribute(l,e)},l.prototype.setAttributeNS=function(n,l,e,t){n.setAttributeNS(l,e,t)},l.prototype.removeAttribute=function(n,l){n.removeAttribute(l)},l.prototype.removeAttributeNS=function(n,l,e){n.removeAttributeNS(l,e)},l.prototype.templateAwareRoot=function(n){return this.isTemplateElement(n)?this.content(n):n},l.prototype.createHtmlDocument=function(){return document.implementation.createHTMLDocument("fakeTitle")},l.prototype.getDefaultDocument=function(){return document},l.prototype.getBoundingClientRect=function(n){try{return n.getBoundingClientRect()}catch(l){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}},l.prototype.getTitle=function(n){return n.title},l.prototype.setTitle=function(n,l){n.title=l||""},l.prototype.elementMatches=function(n,l){return!!this.isElementNode(n)&&(n.matches&&n.matches(l)||n.msMatchesSelector&&n.msMatchesSelector(l)||n.webkitMatchesSelector&&n.webkitMatchesSelector(l))},l.prototype.isTemplateElement=function(n){return this.isElementNode(n)&&"TEMPLATE"===n.nodeName},l.prototype.isTextNode=function(n){return n.nodeType===Node.TEXT_NODE},l.prototype.isCommentNode=function(n){return n.nodeType===Node.COMMENT_NODE},l.prototype.isElementNode=function(n){return n.nodeType===Node.ELEMENT_NODE},l.prototype.hasShadowRoot=function(n){return null!=n.shadowRoot&&n instanceof HTMLElement},l.prototype.isShadowRoot=function(n){return n instanceof DocumentFragment},l.prototype.importIntoDoc=function(n){return document.importNode(this.templateAwareRoot(n),!0)},l.prototype.adoptNode=function(n){return document.adoptNode(n)},l.prototype.getHref=function(n){return n.getAttribute("href")},l.prototype.getEventKey=function(n){var l=n.key;if(null==l){if(null==(l=n.keyIdentifier))return"Unidentified";l.startsWith("U+")&&(l=String.fromCharCode(parseInt(l.substring(2),16)),3===n.location&&qc.hasOwnProperty(l)&&(l=qc[l]))}return Vc[l]||l},l.prototype.getGlobalEventTarget=function(n,l){return"window"===l?window:"document"===l?n:"body"===l?n.body:null},l.prototype.getHistory=function(){return window.history},l.prototype.getLocation=function(){return window.location},l.prototype.getBaseHref=function(n){var l,e=Bc||(Bc=document.querySelector("base"))?Bc.getAttribute("href"):null;return null==e?null:(l=e,Rc||(Rc=document.createElement("a")),Rc.setAttribute("href",l),"/"===Rc.pathname.charAt(0)?Rc.pathname:"/"+Rc.pathname)},l.prototype.resetBaseElement=function(){Bc=null},l.prototype.getUserAgent=function(){return window.navigator.userAgent},l.prototype.setData=function(n,l,e){this.setAttribute(n,"data-"+l,e)},l.prototype.getData=function(n,l){return this.getAttribute(n,"data-"+l)},l.prototype.getComputedStyle=function(n){return getComputedStyle(n)},l.prototype.supportsWebAnimation=function(){return"function"==typeof Element.prototype.animate},l.prototype.performanceNow=function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()},l.prototype.supportsCookies=function(){return!0},l.prototype.getCookie=function(n){return ss(document.cookie,n)},l.prototype.setCookie=function(n,l){document.cookie=encodeURIComponent(n)+"="+encodeURIComponent(l)},l}(Nc),Bc=null;function $c(){return!!window.history.pushState}var Hc=function(n){function l(l){var e=n.call(this)||this;return e._doc=l,e._init(),e}return Object(t.__extends)(l,n),l.prototype._init=function(){this.location=Lc().getLocation(),this._history=Lc().getHistory()},l.prototype.getBaseHrefFromDOM=function(){return Lc().getBaseHref(this._doc)},l.prototype.onPopState=function(n){Lc().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",n,!1)},l.prototype.onHashChange=function(n){Lc().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",n,!1)},Object.defineProperty(l.prototype,"href",{get:function(){return this.location.href},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"protocol",{get:function(){return this.location.protocol},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hostname",{get:function(){return this.location.hostname},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"port",{get:function(){return this.location.port},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pathname",{get:function(){return this.location.pathname},set:function(n){this.location.pathname=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"search",{get:function(){return this.location.search},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hash",{get:function(){return this.location.hash},enumerable:!0,configurable:!0}),l.prototype.pushState=function(n,l,e){$c()?this._history.pushState(n,l,e):this.location.hash=e},l.prototype.replaceState=function(n,l,e){$c()?this._history.replaceState(n,l,e):this.location.hash=e},l.prototype.forward=function(){this._history.forward()},l.prototype.back=function(){this._history.back()},l.prototype.getState=function(){return this._history.state},l}(Cu),Gc=new On("TRANSITION_ID"),Wc=[{provide:ua,useFactory:function(n,l,e){return function(){e.get(sa).donePromise.then((function(){var e=Lc();Array.prototype.slice.apply(e.querySelectorAll(l,"style[ng-transition]")).filter((function(l){return e.getAttribute(l,"ng-transition")===n})).forEach((function(n){return e.remove(n)}))}))}},deps:[Gc,qs,le],multi:!0}],Kc=function(){function n(){}return n.init=function(){var l;l=new n,Ha=l},n.prototype.addToWindow=function(n){En.getAngularTestability=function(l,e){void 0===e&&(e=!0);var t=n.findTestabilityInTree(l,e);if(null==t)throw new Error("Could not find testability for element.");return t},En.getAllAngularTestabilities=function(){return n.getAllTestabilities()},En.getAllAngularRootElements=function(){return n.getAllRootElements()},En.frameworkStabilizers||(En.frameworkStabilizers=[]),En.frameworkStabilizers.push((function(n){var l=En.getAllAngularTestabilities(),e=l.length,t=!1,i=function(l){t=t||l,0==--e&&n(t)};l.forEach((function(n){n.whenStable(i)}))}))},n.prototype.findTestabilityInTree=function(n,l,e){if(null==l)return null;var t=n.getTestability(l);return null!=t?t:e?Lc().isShadowRoot(l)?this.findTestabilityInTree(n,Lc().getHost(l),!0):this.findTestabilityInTree(n,Lc().parentElement(l),!0):null},n}();function Yc(n,l){"undefined"!=typeof COMPILED&&COMPILED||((En.ng=En.ng||{})[n]=l)}var Jc=function(){return{ApplicationRef:Qa,NgZone:La}}();function Zc(n){return so(n)}var Qc=new On("EventManagerPlugins"),Xc=function(){function n(n,l){var e=this;this._zone=l,this._eventNameToPlugin=new Map,n.forEach((function(n){return n.manager=e})),this._plugins=n.slice().reverse()}return n.prototype.addEventListener=function(n,l,e){return this._findPluginFor(l).addEventListener(n,l,e)},n.prototype.addGlobalEventListener=function(n,l,e){return this._findPluginFor(l).addGlobalEventListener(n,l,e)},n.prototype.getZone=function(){return this._zone},n.prototype._findPluginFor=function(n){var l=this._eventNameToPlugin.get(n);if(l)return l;for(var e=this._plugins,t=0;t<e.length;t++){var i=e[t];if(i.supports(n))return this._eventNameToPlugin.set(n,i),i}throw new Error("No event manager plugin found for event "+n)},n}(),nd=function(){function n(n){this._doc=n}return n.prototype.addGlobalEventListener=function(n,l,e){var t=Lc().getGlobalEventTarget(this._doc,n);if(!t)throw new Error("Unsupported event target "+t+" for event "+l);return this.addEventListener(t,l,e)},n}(),ld=function(){function n(){this._stylesSet=new Set}return n.prototype.addStyles=function(n){var l=this,e=new Set;n.forEach((function(n){l._stylesSet.has(n)||(l._stylesSet.add(n),e.add(n))})),this.onStylesAdded(e)},n.prototype.onStylesAdded=function(n){},n.prototype.getAllStyles=function(){return Array.from(this._stylesSet)},n}(),ed=function(n){function l(l){var e=n.call(this)||this;return e._doc=l,e._hostNodes=new Set,e._styleNodes=new Set,e._hostNodes.add(l.head),e}return Object(t.__extends)(l,n),l.prototype._addStylesToHost=function(n,l){var e=this;n.forEach((function(n){var t=e._doc.createElement("style");t.textContent=n,e._styleNodes.add(l.appendChild(t))}))},l.prototype.addHost=function(n){this._addStylesToHost(this._stylesSet,n),this._hostNodes.add(n)},l.prototype.removeHost=function(n){this._hostNodes.delete(n)},l.prototype.onStylesAdded=function(n){var l=this;this._hostNodes.forEach((function(e){return l._addStylesToHost(n,e)}))},l.prototype.ngOnDestroy=function(){this._styleNodes.forEach((function(n){return Lc().remove(n)}))},l}(ld),td={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/"},id=/%COMP%/g,ad="_nghost-%COMP%",od="_ngcontent-%COMP%";function rd(n,l,e){for(var t=0;t<l.length;t++){var i=l[t];Array.isArray(i)?rd(n,i,e):(i=i.replace(id,n),e.push(i))}return e}function ud(n){return function(l){!1===n(l)&&(l.preventDefault(),l.returnValue=!1)}}var sd=function(){function n(n,l,e){this.eventManager=n,this.sharedStylesHost=l,this.appId=e,this.rendererByCompId=new Map,this.defaultRenderer=new cd(n)}return n.prototype.createRenderer=function(n,l){if(!n||!l)return this.defaultRenderer;switch(l.encapsulation){case Qn.Emulated:var e=this.rendererByCompId.get(l.id);return e||(e=new md(this.eventManager,this.sharedStylesHost,l,this.appId),this.rendererByCompId.set(l.id,e)),e.applyToHost(n),e;case Qn.Native:case Qn.ShadowDom:return new fd(this.eventManager,this.sharedStylesHost,n,l);default:if(!this.rendererByCompId.has(l.id)){var t=rd(l.id,l.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(l.id,this.defaultRenderer)}return this.defaultRenderer}},n.prototype.begin=function(){},n.prototype.end=function(){},n}(),cd=function(){function n(n){this.eventManager=n,this.data=Object.create(null)}return n.prototype.destroy=function(){},n.prototype.createElement=function(n,l){return l?document.createElementNS(td[l]||l,n):document.createElement(n)},n.prototype.createComment=function(n){return document.createComment(n)},n.prototype.createText=function(n){return document.createTextNode(n)},n.prototype.appendChild=function(n,l){n.appendChild(l)},n.prototype.insertBefore=function(n,l,e){n&&n.insertBefore(l,e)},n.prototype.removeChild=function(n,l){n&&n.removeChild(l)},n.prototype.selectRootElement=function(n,l){var e="string"==typeof n?document.querySelector(n):n;if(!e)throw new Error('The selector "'+n+'" did not match any elements');return l||(e.textContent=""),e},n.prototype.parentNode=function(n){return n.parentNode},n.prototype.nextSibling=function(n){return n.nextSibling},n.prototype.setAttribute=function(n,l,e,t){if(t){l=t+":"+l;var i=td[t];i?n.setAttributeNS(i,l,e):n.setAttribute(l,e)}else n.setAttribute(l,e)},n.prototype.removeAttribute=function(n,l,e){if(e){var t=td[e];t?n.removeAttributeNS(t,l):n.removeAttribute(e+":"+l)}else n.removeAttribute(l)},n.prototype.addClass=function(n,l){n.classList.add(l)},n.prototype.removeClass=function(n,l){n.classList.remove(l)},n.prototype.setStyle=function(n,l,e,t){t&Oe.DashCase?n.style.setProperty(l,e,t&Oe.Important?"important":""):n.style[l]=e},n.prototype.removeStyle=function(n,l,e){e&Oe.DashCase?n.style.removeProperty(l):n.style[l]=""},n.prototype.setProperty=function(n,l,e){pd(l,"property"),n[l]=e},n.prototype.setValue=function(n,l){n.nodeValue=l},n.prototype.listen=function(n,l,e){return pd(l,"listener"),"string"==typeof n?this.eventManager.addGlobalEventListener(n,l,ud(e)):this.eventManager.addEventListener(n,l,ud(e))},n}(),dd=function(){return"@".charCodeAt(0)}();function pd(n,l){if(n.charCodeAt(0)===dd)throw new Error("Found the synthetic "+l+" "+n+'. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.')}var md=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;a.component=t;var o=rd(i+"-"+t.id,t.styles,[]);return e.addStyles(o),a.contentAttr=od.replace(id,i+"-"+t.id),a.hostAttr=ad.replace(id,i+"-"+t.id),a}return Object(t.__extends)(l,n),l.prototype.applyToHost=function(l){n.prototype.setAttribute.call(this,l,this.hostAttr,"")},l.prototype.createElement=function(l,e){var t=n.prototype.createElement.call(this,l,e);return n.prototype.setAttribute.call(this,t,this.contentAttr,""),t},l}(cd),fd=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;a.sharedStylesHost=e,a.hostEl=t,a.component=i,a.shadowRoot=i.encapsulation===Qn.ShadowDom?t.attachShadow({mode:"open"}):t.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var o=rd(i.id,i.styles,[]),r=0;r<o.length;r++){var u=document.createElement("style");u.textContent=o[r],a.shadowRoot.appendChild(u)}return a}return Object(t.__extends)(l,n),l.prototype.nodeOrShadowRoot=function(n){return n===this.hostEl?this.shadowRoot:n},l.prototype.destroy=function(){this.sharedStylesHost.removeHost(this.shadowRoot)},l.prototype.appendChild=function(l,e){return n.prototype.appendChild.call(this,this.nodeOrShadowRoot(l),e)},l.prototype.insertBefore=function(l,e,t){return n.prototype.insertBefore.call(this,this.nodeOrShadowRoot(l),e,t)},l.prototype.removeChild=function(l,e){return n.prototype.removeChild.call(this,this.nodeOrShadowRoot(l),e)},l.prototype.parentNode=function(l){return this.nodeOrShadowRoot(n.prototype.parentNode.call(this,this.nodeOrShadowRoot(l)))},l}(cd),hd=function(){return"undefined"!=typeof Zone&&Zone.__symbol__||function(n){return"__zone_symbol__"+n}}(),gd=hd("addEventListener"),bd=hd("removeEventListener"),vd={},_d="__zone_symbol__propagationStopped",yd=function(){var n="undefined"!=typeof Zone&&Zone[hd("BLACK_LISTED_EVENTS")];if(n){var l={};return n.forEach((function(n){l[n]=n})),l}}(),wd=function(n){return!!yd&&yd.hasOwnProperty(n)},xd=function(n){var l=vd[n.type];if(l){var e=this[l];if(e){var t=[n];if(1===e.length)return(o=e[0]).zone!==Zone.current?o.zone.run(o.handler,this,t):o.handler.apply(this,t);for(var i=e.slice(),a=0;a<i.length&&!0!==n[_d];a++){var o;(o=i[a]).zone!==Zone.current?o.zone.run(o.handler,this,t):o.handler.apply(this,t)}}}},Cd=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.ngZone=e,t&&function(n){return n===Us}(t)||i.patchEvent(),i}return Object(t.__extends)(l,n),l.prototype.patchEvent=function(){if("undefined"!=typeof Event&&Event&&Event.prototype&&!Event.prototype.__zone_symbol__stopImmediatePropagation){var n=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[_d]=!0),n&&n.apply(this,arguments)}}},l.prototype.supports=function(n){return!0},l.prototype.addEventListener=function(n,l,e){var t=this,i=e;if(!n[gd]||La.isInAngularZone()&&!wd(l))n.addEventListener(l,i,!1);else{var a=vd[l];a||(a=vd[l]=hd("ANGULAR"+l+"FALSE"));var o=n[a],r=o&&o.length>0;o||(o=n[a]=[]);var u=wd(l)?Zone.root:Zone.current;if(0===o.length)o.push({zone:u,handler:i});else{for(var s=!1,c=0;c<o.length;c++)if(o[c].handler===i){s=!0;break}s||o.push({zone:u,handler:i})}r||n[gd](l,xd,!1)}return function(){return t.removeEventListener(n,l,i)}},l.prototype.removeEventListener=function(n,l,e){var t=n[bd];if(!t)return n.removeEventListener.apply(n,[l,e,!1]);var i=vd[l],a=i&&n[i];if(!a)return n.removeEventListener.apply(n,[l,e,!1]);for(var o=!1,r=0;r<a.length;r++)if(a[r].handler===e){o=!0,a.splice(r,1);break}o?0===a.length&&t.apply(n,[l,xd,!1]):n.removeEventListener.apply(n,[l,e,!1])},l}(nd),kd={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},Sd=new On("HammerGestureConfig"),Id=new On("HammerLoader"),Ad=function(){function n(){this.events=[],this.overrides={}}return n.prototype.buildHammer=function(n){var l=new Hammer(n,this.options);for(var e in l.get("pinch").set({enable:!0}),l.get("rotate").set({enable:!0}),this.overrides)l.get(e).set(this.overrides[e]);return l},n}(),Md=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;return a._config=e,a.console=t,a.loader=i,a}return Object(t.__extends)(l,n),l.prototype.supports=function(n){return!(!kd.hasOwnProperty(n.toLowerCase())&&!this.isCustomEvent(n)||!window.Hammer&&!this.loader&&(this.console.warn('The "'+n+'" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'),1))},l.prototype.addEventListener=function(n,l,e){var t=this,i=this.manager.getZone();if(l=l.toLowerCase(),!window.Hammer&&this.loader){var a=!1,o=function(){a=!0};return this.loader().then((function(){if(!window.Hammer)return t.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(o=function(){});a||(o=t.addEventListener(n,l,e))})).catch((function(){t.console.warn('The "'+l+'" event cannot be bound because the custom Hammer.JS loader failed.'),o=function(){}})),function(){o()}}return i.runOutsideAngular((function(){var a=t._config.buildHammer(n),o=function(n){i.runGuarded((function(){e(n)}))};return a.on(l,o),function(){a.off(l,o),"function"==typeof a.destroy&&a.destroy()}}))},l.prototype.isCustomEvent=function(n){return this._config.events.indexOf(n)>-1},l}(nd),Pd=["alt","control","meta","shift"],Dd={alt:function(n){return n.altKey},control:function(n){return n.ctrlKey},meta:function(n){return n.metaKey},shift:function(n){return n.shiftKey}},Fd=function(n){function l(l){return n.call(this,l)||this}var e;return Object(t.__extends)(l,n),e=l,l.prototype.supports=function(n){return null!=e.parseEventName(n)},l.prototype.addEventListener=function(n,l,t){var i=e.parseEventName(l),a=e.eventCallback(i.fullKey,t,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Lc().onAndCancel(n,i.domEventName,a)}))},l.parseEventName=function(n){var l=n.toLowerCase().split("."),t=l.shift();if(0===l.length||"keydown"!==t&&"keyup"!==t)return null;var i=e._normalizeKey(l.pop()),a="";if(Pd.forEach((function(n){var e=l.indexOf(n);e>-1&&(l.splice(e,1),a+=n+".")})),a+=i,0!=l.length||0===i.length)return null;var o={};return o.domEventName=t,o.fullKey=a,o},l.getEventFullKey=function(n){var l="",e=Lc().getEventKey(n);return" "===(e=e.toLowerCase())?e="space":"."===e&&(e="dot"),Pd.forEach((function(t){t!=e&&(0,Dd[t])(n)&&(l+=t+".")})),l+=e},l.eventCallback=function(n,l,t){return function(i){e.getEventFullKey(i)===n&&t.runGuarded((function(){return l(i)}))}},l._normalizeKey=function(n){switch(n){case"esc":return"escape";default:return n}},l}(nd),Ed=function(){return function(){}}(),Od=function(n){function l(l){var e=n.call(this)||this;return e._doc=l,e}return Object(t.__extends)(l,n),l.prototype.sanitize=function(n,l){if(null==l)return null;switch(n){case Fl.NONE:return l;case Fl.HTML:return l instanceof Ld?l.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(l,"HTML"),function(n,l){var e=null;try{gl=gl||new cl(n);var t=l?String(l):"";e=gl.getInertBodyElement(t);var i=5,a=t;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,t=a,a=e.innerHTML,e=gl.getInertBodyElement(t)}while(t!==a);var o=new Il,r=o.sanitizeChildren(Dl(e)||e);return sl()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),r}finally{if(e)for(var u=Dl(e)||e;u.firstChild;)u.removeChild(u.firstChild)}}(this._doc,String(l)));case Fl.STYLE:return l instanceof Rd?l.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(l,"Style"),function(n){if(!(n=String(n).trim()))return"";var l=n.match(Tl);return l&&ml(l[1])===l[1]||n.match(Ol)&&function(n){for(var l=!0,e=!0,t=0;t<n.length;t++){var i=n.charAt(t);"'"===i&&e?l=!l:'"'===i&&l&&(e=!e)}return l&&e}(n)?n:(sl()&&console.warn("WARNING: sanitizing unsafe style value "+n+" (see http://g.co/ng/security#xss)."),"unsafe")}(l));case Fl.SCRIPT:if(l instanceof Nd)return l.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(l,"Script"),new Error("unsafe value used in a script context");case Fl.URL:return l instanceof Vd||l instanceof jd?l.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(l,"URL"),ml(String(l)));case Fl.RESOURCE_URL:if(l instanceof Vd)return l.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(l,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext "+n+" (see http://g.co/ng/security#xss)")}},l.prototype.checkNotSafeValue=function(n,l){if(n instanceof Td)throw new Error("Required a safe "+l+", got a "+n.getTypeName()+" (see http://g.co/ng/security#xss)")},l.prototype.bypassSecurityTrustHtml=function(n){return new Ld(n)},l.prototype.bypassSecurityTrustStyle=function(n){return new Rd(n)},l.prototype.bypassSecurityTrustScript=function(n){return new Nd(n)},l.prototype.bypassSecurityTrustUrl=function(n){return new jd(n)},l.prototype.bypassSecurityTrustResourceUrl=function(n){return new Vd(n)},l}(Ed),Td=function(){function n(n){this.changingThisBreaksApplicationSecurity=n}return n.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},n}(),Ld=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.getTypeName=function(){return"HTML"},l}(Td),Rd=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.getTypeName=function(){return"Style"},l}(Td),Nd=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.getTypeName=function(){return"Script"},l}(Td),jd=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.getTypeName=function(){return"URL"},l}(Td),Vd=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.getTypeName=function(){return"ResourceURL"},l}(Td),qd=Ka(po,"browser",[{provide:fa,useValue:zs},{provide:ma,useValue:function(){Uc.makeCurrent(),Kc.init()},multi:!0},{provide:Cu,useClass:Hc,deps:[qs]},{provide:qs,useFactory:function(){return document},deps:[]}]);function zd(){return new ol}var Ud=function(){function n(n){if(n)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}var l;return l=n,n.withServerTransition=function(n){return{ngModule:l,providers:[{provide:ca,useValue:n.appId},{provide:Gc,useExisting:ca},Wc]}},n}();"undefined"!=typeof window&&window;var Bd=function(){return function(n,l){this.id=n,this.url=l}}(),$d=function(n){function l(l,e,t,i){void 0===t&&(t="imperative"),void 0===i&&(i=null);var a=n.call(this,l,e)||this;return a.navigationTrigger=t,a.restoredState=i,a}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"NavigationStart(id: "+this.id+", url: '"+this.url+"')"},l}(Bd),Hd=function(n){function l(l,e,t){var i=n.call(this,l,e)||this;return i.urlAfterRedirects=t,i}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"NavigationEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"')"},l}(Bd),Gd=function(n){function l(l,e,t){var i=n.call(this,l,e)||this;return i.reason=t,i}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"NavigationCancel(id: "+this.id+", url: '"+this.url+"')"},l}(Bd),Wd=function(n){function l(l,e,t){var i=n.call(this,l,e)||this;return i.error=t,i}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"NavigationError(id: "+this.id+", url: '"+this.url+"', error: "+this.error+")"},l}(Bd),Kd=function(n){function l(l,e,t,i){var a=n.call(this,l,e)||this;return a.urlAfterRedirects=t,a.state=i,a}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"RoutesRecognized(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},l}(Bd),Yd=function(n){function l(l,e,t,i){var a=n.call(this,l,e)||this;return a.urlAfterRedirects=t,a.state=i,a}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"GuardsCheckStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},l}(Bd),Jd=function(n){function l(l,e,t,i,a){var o=n.call(this,l,e)||this;return o.urlAfterRedirects=t,o.state=i,o.shouldActivate=a,o}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"GuardsCheckEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+", shouldActivate: "+this.shouldActivate+")"},l}(Bd),Zd=function(n){function l(l,e,t,i){var a=n.call(this,l,e)||this;return a.urlAfterRedirects=t,a.state=i,a}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"ResolveStart(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},l}(Bd),Qd=function(n){function l(l,e,t,i){var a=n.call(this,l,e)||this;return a.urlAfterRedirects=t,a.state=i,a}return Object(t.__extends)(l,n),l.prototype.toString=function(){return"ResolveEnd(id: "+this.id+", url: '"+this.url+"', urlAfterRedirects: '"+this.urlAfterRedirects+"', state: "+this.state+")"},l}(Bd),Xd=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadStart(path: "+this.route.path+")"},n}(),np=function(){function n(n){this.route=n}return n.prototype.toString=function(){return"RouteConfigLoadEnd(path: "+this.route.path+")"},n}(),lp=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),ep=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ChildActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),tp=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationStart(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),ip=function(){function n(n){this.snapshot=n}return n.prototype.toString=function(){return"ActivationEnd(path: '"+(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"")+"')"},n}(),ap=function(){function n(n,l,e){this.routerEvent=n,this.position=l,this.anchor=e}return n.prototype.toString=function(){return"Scroll(anchor: '"+this.anchor+"', position: '"+(this.position?this.position[0]+", "+this.position[1]:null)+"')"},n}(),op=function(){return function(){}}(),rp="primary",up=function(){function n(n){this.params=n||{}}return n.prototype.has=function(n){return this.params.hasOwnProperty(n)},n.prototype.get=function(n){if(this.has(n)){var l=this.params[n];return Array.isArray(l)?l[0]:l}return null},n.prototype.getAll=function(n){if(this.has(n)){var l=this.params[n];return Array.isArray(l)?l:[l]}return[]},Object.defineProperty(n.prototype,"keys",{get:function(){return Object.keys(this.params)},enumerable:!0,configurable:!0}),n}();function sp(n){return new up(n)}var cp="ngNavigationCancelingError";function dp(n){var l=Error("NavigationCancelingError: "+n);return l[cp]=!0,l}function pp(n,l,e){var t=e.path.split("/");if(t.length>n.length)return null;if("full"===e.pathMatch&&(l.hasChildren()||t.length<n.length))return null;for(var i={},a=0;a<t.length;a++){var o=t[a],r=n[a];if(o.startsWith(":"))i[o.substring(1)]=r;else if(o!==r.path)return null}return{consumed:n.slice(0,t.length),posParams:i}}var mp=function(){return function(n,l){this.routes=n,this.module=l}}();function fp(n,l){void 0===l&&(l="");for(var e=0;e<n.length;e++){var t=n[e];hp(t,gp(l,t))}}function hp(n,l){if(!n)throw new Error("\n Invalid configuration of route '"+l+"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n ");if(Array.isArray(n))throw new Error("Invalid configuration of route '"+l+"': Array cannot be specified");if(!n.component&&!n.children&&!n.loadChildren&&n.outlet&&n.outlet!==rp)throw new Error("Invalid configuration of route '"+l+"': a componentless route without children or loadChildren cannot have a named outlet set");if(n.redirectTo&&n.children)throw new Error("Invalid configuration of route '"+l+"': redirectTo and children cannot be used together");if(n.redirectTo&&n.loadChildren)throw new Error("Invalid configuration of route '"+l+"': redirectTo and loadChildren cannot be used together");if(n.children&&n.loadChildren)throw new Error("Invalid configuration of route '"+l+"': children and loadChildren cannot be used together");if(n.redirectTo&&n.component)throw new Error("Invalid configuration of route '"+l+"': redirectTo and component cannot be used together");if(n.path&&n.matcher)throw new Error("Invalid configuration of route '"+l+"': path and matcher cannot be used together");if(void 0===n.redirectTo&&!n.component&&!n.children&&!n.loadChildren)throw new Error("Invalid configuration of route '"+l+"'. One of the following must be provided: component, redirectTo, children or loadChildren");if(void 0===n.path&&void 0===n.matcher)throw new Error("Invalid configuration of route '"+l+"': routes must have either a path or a matcher specified");if("string"==typeof n.path&&"/"===n.path.charAt(0))throw new Error("Invalid configuration of route '"+l+"': path cannot start with a slash");if(""===n.path&&void 0!==n.redirectTo&&void 0===n.pathMatch)throw new Error("Invalid configuration of route '{path: \""+l+'", redirectTo: "'+n.redirectTo+"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.");if(void 0!==n.pathMatch&&"full"!==n.pathMatch&&"prefix"!==n.pathMatch)throw new Error("Invalid configuration of route '"+l+"': pathMatch can only be set to 'prefix' or 'full'");n.children&&fp(n.children,l)}function gp(n,l){return l?n||l.path?n&&!l.path?n+"/":!n&&l.path?l.path:n+"/"+l.path:"":n}function bp(n){var l=n.children&&n.children.map(bp),e=l?Object(t.__assign)({},n,{children:l}):Object(t.__assign)({},n);return!e.component&&(l||e.loadChildren)&&e.outlet&&e.outlet!==rp&&(e.component=op),e}function vp(n,l){var e,t=Object.keys(n),i=Object.keys(l);if(!t||!i||t.length!=i.length)return!1;for(var a=0;a<t.length;a++)if(n[e=t[a]]!==l[e])return!1;return!0}function _p(n){return Array.prototype.concat.apply([],n)}function yp(n){return n.length>0?n[n.length-1]:null}function wp(n,l){for(var e in n)n.hasOwnProperty(e)&&l(n[e],e)}function xp(n){return ve(n)?n:be(n)?$(Promise.resolve(n)):lu(n)}function Cp(n,l,e){return e?function(n,l){return vp(n,l)}(n.queryParams,l.queryParams)&&function n(l,e){if(!Ap(l.segments,e.segments))return!1;if(l.numberOfChildren!==e.numberOfChildren)return!1;for(var t in e.children){if(!l.children[t])return!1;if(!n(l.children[t],e.children[t]))return!1}return!0}(n.root,l.root):function(n,l){return Object.keys(l).length<=Object.keys(n).length&&Object.keys(l).every((function(e){return l[e]===n[e]}))}(n.queryParams,l.queryParams)&&function n(l,e){return function l(e,t,i){if(e.segments.length>i.length)return!!Ap(o=e.segments.slice(0,i.length),i)&&!t.hasChildren();if(e.segments.length===i.length){if(!Ap(e.segments,i))return!1;for(var a in t.children){if(!e.children[a])return!1;if(!n(e.children[a],t.children[a]))return!1}return!0}var o=i.slice(0,e.segments.length),r=i.slice(e.segments.length);return!!Ap(e.segments,o)&&!!e.children[rp]&&l(e.children[rp],t,r)}(l,e,e.segments)}(n.root,l.root)}var kp=function(){function n(n,l,e){this.root=n,this.queryParams=l,this.fragment=e}return Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=sp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Fp.serialize(this)},n}(),Sp=function(){function n(n,l){var e=this;this.segments=n,this.children=l,this.parent=null,wp(l,(function(n,l){return n.parent=e}))}return n.prototype.hasChildren=function(){return this.numberOfChildren>0},Object.defineProperty(n.prototype,"numberOfChildren",{get:function(){return Object.keys(this.children).length},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return Ep(this)},n}(),Ip=function(){function n(n,l){this.path=n,this.parameters=l}return Object.defineProperty(n.prototype,"parameterMap",{get:function(){return this._parameterMap||(this._parameterMap=sp(this.parameters)),this._parameterMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return jp(this)},n}();function Ap(n,l){return n.length===l.length&&n.every((function(n,e){return n.path===l[e].path}))}function Mp(n,l){var e=[];return wp(n.children,(function(n,t){t===rp&&(e=e.concat(l(n,t)))})),wp(n.children,(function(n,t){t!==rp&&(e=e.concat(l(n,t)))})),e}var Pp=function(){return function(){}}(),Dp=function(){function n(){}return n.prototype.parse=function(n){var l=new Bp(n);return new kp(l.parseRootSegment(),l.parseQueryParams(),l.parseFragment())},n.prototype.serialize=function(n){var l,e;return"/"+function n(l,e){if(!l.hasChildren())return Ep(l);if(e){var t=l.children[rp]?n(l.children[rp],!1):"",i=[];return wp(l.children,(function(l,e){e!==rp&&i.push(e+":"+n(l,!1))})),i.length>0?t+"("+i.join("//")+")":t}var a=Mp(l,(function(e,t){return t===rp?[n(l.children[rp],!1)]:[t+":"+n(e,!1)]}));return Ep(l)+"/("+a.join("//")+")"}(n.root,!0)+(l=n.queryParams,(e=Object.keys(l).map((function(n){var e=l[n];return Array.isArray(e)?e.map((function(l){return Tp(n)+"="+Tp(l)})).join("&"):Tp(n)+"="+Tp(e)}))).length?"?"+e.join("&"):"")+("string"==typeof n.fragment?"#"+encodeURI(n.fragment):"")},n}(),Fp=new Dp;function Ep(n){return n.segments.map((function(n){return jp(n)})).join("/")}function Op(n){return encodeURIComponent(n).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Tp(n){return Op(n).replace(/%3B/gi,";")}function Lp(n){return Op(n).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Rp(n){return decodeURIComponent(n)}function Np(n){return Rp(n.replace(/\+/g,"%20"))}function jp(n){return""+Lp(n.path)+(l=n.parameters,Object.keys(l).map((function(n){return";"+Lp(n)+"="+Lp(l[n])})).join(""));var l}var Vp=/^[^\/()?;=#]+/;function qp(n){var l=n.match(Vp);return l?l[0]:""}var zp=/^[^=?&#]+/,Up=/^[^?&#]+/,Bp=function(){function n(n){this.url=n,this.remaining=n}return n.prototype.parseRootSegment=function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Sp([],{}):new Sp([],this.parseChildren())},n.prototype.parseQueryParams=function(){var n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n},n.prototype.parseFragment=function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null},n.prototype.parseChildren=function(){if(""===this.remaining)return{};this.consumeOptional("/");var n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());var l={};this.peekStartsWith("/(")&&(this.capture("/"),l=this.parseParens(!0));var e={};return this.peekStartsWith("(")&&(e=this.parseParens(!1)),(n.length>0||Object.keys(l).length>0)&&(e[rp]=new Sp(n,l)),e},n.prototype.parseSegment=function(){var n=qp(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '"+this.remaining+"'.");return this.capture(n),new Ip(Rp(n),this.parseMatrixParams())},n.prototype.parseMatrixParams=function(){for(var n={};this.consumeOptional(";");)this.parseParam(n);return n},n.prototype.parseParam=function(n){var l=qp(this.remaining);if(l){this.capture(l);var e="";if(this.consumeOptional("=")){var t=qp(this.remaining);t&&this.capture(e=t)}n[Rp(l)]=Rp(e)}},n.prototype.parseQueryParam=function(n){var l,e=(l=this.remaining.match(zp))?l[0]:"";if(e){this.capture(e);var t="";if(this.consumeOptional("=")){var i=function(n){var l=n.match(Up);return l?l[0]:""}(this.remaining);i&&this.capture(t=i)}var a=Np(e),o=Np(t);if(n.hasOwnProperty(a)){var r=n[a];Array.isArray(r)||(n[a]=r=[r]),r.push(o)}else n[a]=o}},n.prototype.parseParens=function(n){var l={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var e=qp(this.remaining),t=this.remaining[e.length];if("/"!==t&&")"!==t&&";"!==t)throw new Error("Cannot parse url '"+this.url+"'");var i=void 0;e.indexOf(":")>-1?(i=e.substr(0,e.indexOf(":")),this.capture(i),this.capture(":")):n&&(i=rp);var a=this.parseChildren();l[i]=1===Object.keys(a).length?a[rp]:new Sp([],a),this.consumeOptional("//")}return l},n.prototype.peekStartsWith=function(n){return this.remaining.startsWith(n)},n.prototype.consumeOptional=function(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)},n.prototype.capture=function(n){if(!this.consumeOptional(n))throw new Error('Expected "'+n+'".')},n}(),$p=function(){function n(n){this._root=n}return Object.defineProperty(n.prototype,"root",{get:function(){return this._root.value},enumerable:!0,configurable:!0}),n.prototype.parent=function(n){var l=this.pathFromRoot(n);return l.length>1?l[l.length-2]:null},n.prototype.children=function(n){var l=Hp(n,this._root);return l?l.children.map((function(n){return n.value})):[]},n.prototype.firstChild=function(n){var l=Hp(n,this._root);return l&&l.children.length>0?l.children[0].value:null},n.prototype.siblings=function(n){var l=Gp(n,this._root);return l.length<2?[]:l[l.length-2].children.map((function(n){return n.value})).filter((function(l){return l!==n}))},n.prototype.pathFromRoot=function(n){return Gp(n,this._root).map((function(n){return n.value}))},n}();function Hp(n,l){var e,i;if(n===l.value)return l;try{for(var a=Object(t.__values)(l.children),o=a.next();!o.done;o=a.next()){var r=Hp(n,o.value);if(r)return r}}catch(u){e={error:u}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}return null}function Gp(n,l){var e,i;if(n===l.value)return[l];try{for(var a=Object(t.__values)(l.children),o=a.next();!o.done;o=a.next()){var r=Gp(n,o.value);if(r.length)return r.unshift(l),r}}catch(u){e={error:u}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(e)throw e.error}}return[]}var Wp=function(){function n(n,l){this.value=n,this.children=l}return n.prototype.toString=function(){return"TreeNode("+this.value+")"},n}();function Kp(n){var l={};return n&&n.children.forEach((function(n){return l[n.value.outlet]=n})),l}var Yp=function(n){function l(l,e){var t=n.call(this,l)||this;return t.snapshot=e,lm(t,l),t}return Object(t.__extends)(l,n),l.prototype.toString=function(){return this.snapshot.toString()},l}($p);function Jp(n,l){var e=function(n,l){var e=new Xp([],{},{},"",{},rp,l,null,n.root,-1,{});return new nm("",new Wp(e,[]))}(n,l),t=new Gs([new Ip("",{})]),i=new Gs({}),a=new Gs({}),o=new Gs({}),r=new Gs(""),u=new Zp(t,i,o,r,a,rp,l,e.root);return u.snapshot=e.root,new Yp(new Wp(u,[]),e)}var Zp=function(){function n(n,l,e,t,i,a,o,r){this.url=n,this.params=l,this.queryParams=e,this.fragment=t,this.data=i,this.outlet=a,this.component=o,this._futureSnapshot=r}return Object.defineProperty(n.prototype,"routeConfig",{get:function(){return this._futureSnapshot.routeConfig},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=this.params.pipe(q((function(n){return sp(n)})))),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(q((function(n){return sp(n)})))),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return this.snapshot?this.snapshot.toString():"Future("+this._futureSnapshot+")"},n}();function Qp(n,l){void 0===l&&(l="emptyOnly");var e=n.pathFromRoot,i=0;if("always"!==l)for(i=e.length-1;i>=1;){var a=e[i],o=e[i-1];if(a.routeConfig&&""===a.routeConfig.path)i--;else{if(o.component)break;i--}}return function(n){return n.reduce((function(n,l){return{params:Object(t.__assign)({},n.params,l.params),data:Object(t.__assign)({},n.data,l.data),resolve:Object(t.__assign)({},n.resolve,l._resolvedData)}}),{params:{},data:{},resolve:{}})}(e.slice(i))}var Xp=function(){function n(n,l,e,t,i,a,o,r,u,s,c){this.url=n,this.params=l,this.queryParams=e,this.fragment=t,this.data=i,this.outlet=a,this.component=o,this.routeConfig=r,this._urlSegment=u,this._lastPathIndex=s,this._resolve=c}return Object.defineProperty(n.prototype,"root",{get:function(){return this._routerState.root},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"parent",{get:function(){return this._routerState.parent(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"firstChild",{get:function(){return this._routerState.firstChild(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"children",{get:function(){return this._routerState.children(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pathFromRoot",{get:function(){return this._routerState.pathFromRoot(this)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"paramMap",{get:function(){return this._paramMap||(this._paramMap=sp(this.params)),this._paramMap},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"queryParamMap",{get:function(){return this._queryParamMap||(this._queryParamMap=sp(this.queryParams)),this._queryParamMap},enumerable:!0,configurable:!0}),n.prototype.toString=function(){return"Route(url:'"+this.url.map((function(n){return n.toString()})).join("/")+"', path:'"+(this.routeConfig?this.routeConfig.path:"")+"')"},n}(),nm=function(n){function l(l,e){var t=n.call(this,e)||this;return t.url=l,lm(t,e),t}return Object(t.__extends)(l,n),l.prototype.toString=function(){return em(this._root)},l}($p);function lm(n,l){l.value._routerState=n,l.children.forEach((function(l){return lm(n,l)}))}function em(n){var l=n.children.length>0?" { "+n.children.map(em).join(", ")+" } ":"";return""+n.value+l}function tm(n){if(n.snapshot){var l=n.snapshot,e=n._futureSnapshot;n.snapshot=e,vp(l.queryParams,e.queryParams)||n.queryParams.next(e.queryParams),l.fragment!==e.fragment&&n.fragment.next(e.fragment),vp(l.params,e.params)||n.params.next(e.params),function(n,l){if(n.length!==l.length)return!1;for(var e=0;e<n.length;++e)if(!vp(n[e],l[e]))return!1;return!0}(l.url,e.url)||n.url.next(e.url),vp(l.data,e.data)||n.data.next(e.data)}else n.snapshot=n._futureSnapshot,n.data.next(n._futureSnapshot.data)}function im(n,l){var e,t;return vp(n.params,l.params)&&Ap(e=n.url,t=l.url)&&e.every((function(n,l){return vp(n.parameters,t[l].parameters)}))&&!(!n.parent!=!l.parent)&&(!n.parent||im(n.parent,l.parent))}function am(n){return"object"==typeof n&&null!=n&&!n.outlets&&!n.segmentPath}function om(n,l,e,t,i){var a={};return t&&wp(t,(function(n,l){a[l]=Array.isArray(n)?n.map((function(n){return""+n})):""+n})),new kp(e.root===n?l:function n(l,e,t){var i={};return wp(l.children,(function(l,a){i[a]=l===e?t:n(l,e,t)})),new Sp(l.segments,i)}(e.root,n,l),a,i)}var rm=function(){function n(n,l,e){if(this.isAbsolute=n,this.numberOfDoubleDots=l,this.commands=e,n&&e.length>0&&am(e[0]))throw new Error("Root segment cannot have matrix parameters");var t=e.find((function(n){return"object"==typeof n&&null!=n&&n.outlets}));if(t&&t!==yp(e))throw new Error("{outlets:{}} has to be the last command")}return n.prototype.toRoot=function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]},n}(),um=function(){return function(n,l,e){this.segmentGroup=n,this.processChildren=l,this.index=e}}();function sm(n){return"object"==typeof n&&null!=n&&n.outlets?n.outlets[rp]:""+n}function cm(n,l,e){if(n||(n=new Sp([],{})),0===n.segments.length&&n.hasChildren())return dm(n,l,e);var t=function(n,l,e){for(var t=0,i=l,a={match:!1,pathIndex:0,commandIndex:0};i<n.segments.length;){if(t>=e.length)return a;var o=n.segments[i],r=sm(e[t]),u=t<e.length-1?e[t+1]:null;if(i>0&&void 0===r)break;if(r&&u&&"object"==typeof u&&void 0===u.outlets){if(!hm(r,u,o))return a;t+=2}else{if(!hm(r,{},o))return a;t++}i++}return{match:!0,pathIndex:i,commandIndex:t}}(n,l,e),i=e.slice(t.commandIndex);if(t.match&&t.pathIndex<n.segments.length){var a=new Sp(n.segments.slice(0,t.pathIndex),{});return a.children[rp]=new Sp(n.segments.slice(t.pathIndex),n.children),dm(a,0,i)}return t.match&&0===i.length?new Sp(n.segments,{}):t.match&&!n.hasChildren()?pm(n,l,e):t.match?dm(n,0,i):pm(n,l,e)}function dm(n,l,e){if(0===e.length)return new Sp(n.segments,{});var t=function(n){var l,e;return"object"!=typeof n[0]?((l={})[rp]=n,l):void 0===n[0].outlets?((e={})[rp]=n,e):n[0].outlets}(e),i={};return wp(t,(function(e,t){null!==e&&(i[t]=cm(n.children[t],l,e))})),wp(n.children,(function(n,l){void 0===t[l]&&(i[l]=n)})),new Sp(n.segments,i)}function pm(n,l,e){for(var t=n.segments.slice(0,l),i=0;i<e.length;){if("object"==typeof e[i]&&void 0!==e[i].outlets){var a=mm(e[i].outlets);return new Sp(t,a)}if(0===i&&am(e[0]))t.push(new Ip(n.segments[l].path,e[0])),i++;else{var o=sm(e[i]),r=i<e.length-1?e[i+1]:null;o&&r&&am(r)?(t.push(new Ip(o,fm(r))),i+=2):(t.push(new Ip(o,{})),i++)}}return new Sp(t,{})}function mm(n){var l={};return wp(n,(function(n,e){null!==n&&(l[e]=pm(new Sp([],{}),0,n))})),l}function fm(n){var l={};return wp(n,(function(n,e){return l[e]=""+n})),l}function hm(n,l,e){return n==e.path&&vp(l,e.parameters)}var gm=function(){function n(n,l,e,t){this.routeReuseStrategy=n,this.futureState=l,this.currState=e,this.forwardEvent=t}return n.prototype.activate=function(n){var l=this.futureState._root,e=this.currState?this.currState._root:null;this.deactivateChildRoutes(l,e,n),tm(this.futureState.root),this.activateChildRoutes(l,e,n)},n.prototype.deactivateChildRoutes=function(n,l,e){var t=this,i=Kp(l);n.children.forEach((function(n){var l=n.value.outlet;t.deactivateRoutes(n,i[l],e),delete i[l]})),wp(i,(function(n,l){t.deactivateRouteAndItsChildren(n,e)}))},n.prototype.deactivateRoutes=function(n,l,e){var t=n.value,i=l?l.value:null;if(t===i)if(t.component){var a=e.getContext(t.outlet);a&&this.deactivateChildRoutes(n,l,a.children)}else this.deactivateChildRoutes(n,l,e);else i&&this.deactivateRouteAndItsChildren(l,e)},n.prototype.deactivateRouteAndItsChildren=function(n,l){this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,l):this.deactivateRouteAndOutlet(n,l)},n.prototype.detachAndStoreRouteSubtree=function(n,l){var e=l.getContext(n.value.outlet);if(e&&e.outlet){var t=e.outlet.detach(),i=e.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:t,route:n,contexts:i})}},n.prototype.deactivateRouteAndOutlet=function(n,l){var e=this,t=l.getContext(n.value.outlet);if(t){var i=Kp(n),a=n.value.component?t.children:l;wp(i,(function(n,l){return e.deactivateRouteAndItsChildren(n,a)})),t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated())}},n.prototype.activateChildRoutes=function(n,l,e){var t=this,i=Kp(l);n.children.forEach((function(n){t.activateRoutes(n,i[n.value.outlet],e),t.forwardEvent(new ip(n.value.snapshot))})),n.children.length&&this.forwardEvent(new ep(n.value.snapshot))},n.prototype.activateRoutes=function(n,l,e){var t=n.value,i=l?l.value:null;if(tm(t),t===i)if(t.component){var a=e.getOrCreateContext(t.outlet);this.activateChildRoutes(n,l,a.children)}else this.activateChildRoutes(n,l,e);else if(t.component)if(a=e.getOrCreateContext(t.outlet),this.routeReuseStrategy.shouldAttach(t.snapshot)){var o=this.routeReuseStrategy.retrieve(t.snapshot);this.routeReuseStrategy.store(t.snapshot,null),a.children.onOutletReAttached(o.contexts),a.attachRef=o.componentRef,a.route=o.route.value,a.outlet&&a.outlet.attach(o.componentRef,o.route.value),bm(o.route)}else{var r=function(n){for(var l=n.parent;l;l=l.parent){var e=l.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(t.snapshot),u=r?r.module.componentFactoryResolver:null;a.attachRef=null,a.route=t,a.resolver=u,a.outlet&&a.outlet.activateWith(t,u),this.activateChildRoutes(n,null,a.children)}else this.activateChildRoutes(n,null,e)},n}();function bm(n){tm(n.value),n.children.forEach(bm)}function vm(n){return"function"==typeof n}function _m(n){return n instanceof kp}var ym=function(){return function(n){this.segmentGroup=n||null}}(),wm=function(){return function(n){this.urlTree=n}}();function xm(n){return new x((function(l){return l.error(new ym(n))}))}function Cm(n){return new x((function(l){return l.error(new wm(n))}))}function km(n){return new x((function(l){return l.error(new Error("Only absolute redirects can have named outlets. redirectTo: '"+n+"'"))}))}var Sm=function(){function n(n,l,e,t,i){this.configLoader=l,this.urlSerializer=e,this.urlTree=t,this.config=i,this.allowRedirects=!0,this.ngModule=n.get(Kn)}return n.prototype.apply=function(){var n=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,rp).pipe(q((function(l){return n.createUrlTree(l,n.urlTree.queryParams,n.urlTree.fragment)}))).pipe(Qr((function(l){if(l instanceof wm)return n.allowRedirects=!1,n.match(l.urlTree);if(l instanceof ym)throw n.noMatchError(l);throw l})))},n.prototype.match=function(n){var l=this;return this.expandSegmentGroup(this.ngModule,this.config,n.root,rp).pipe(q((function(e){return l.createUrlTree(e,n.queryParams,n.fragment)}))).pipe(Qr((function(n){if(n instanceof ym)throw l.noMatchError(n);throw n})))},n.prototype.noMatchError=function(n){return new Error("Cannot match any routes. URL Segment: '"+n.segmentGroup+"'")},n.prototype.createUrlTree=function(n,l,e){var t,i=n.segments.length>0?new Sp([],((t={})[rp]=n,t)):n;return new kp(i,l,e)},n.prototype.expandSegmentGroup=function(n,l,e,t){return 0===e.segments.length&&e.hasChildren()?this.expandChildren(n,l,e).pipe(q((function(n){return new Sp([],n)}))):this.expandSegment(n,e,l,e.segments,t,!0)},n.prototype.expandChildren=function(n,l,e){var t=this;return function(e,i){if(0===Object.keys(e).length)return lu({});var a=[],o=[],r={};return wp(e,(function(e,i){var u,s,c=(u=i,s=e,t.expandSegmentGroup(n,l,s,u)).pipe(q((function(n){return r[i]=n})));i===rp?a.push(c):o.push(c)})),lu.apply(null,a.concat(o)).pipe(ec(),vc(),q((function(){return r})))}(e.children)},n.prototype.expandSegment=function(n,l,e,i,a,o){var r=this;return lu.apply(void 0,Object(t.__spread)(e)).pipe(q((function(t){return r.expandSegmentAgainstRoute(n,l,e,t,i,a,o).pipe(Qr((function(n){if(n instanceof ym)return lu(null);throw n})))})),ec(),xc((function(n){return!!n})),Qr((function(n,e){if(n instanceof Ks||"EmptyError"===n.name){if(r.noLeftoversInUrl(l,i,a))return lu(new Sp([],{}));throw new ym(l)}throw n})))},n.prototype.noLeftoversInUrl=function(n,l,e){return 0===l.length&&!n.children[e]},n.prototype.expandSegmentAgainstRoute=function(n,l,e,t,i,a,o){return Pm(t)!==a?xm(l):void 0===t.redirectTo?this.matchSegmentAgainstRoute(n,l,t,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,l,e,t,i,a):xm(l)},n.prototype.expandSegmentAgainstRouteUsingRedirect=function(n,l,e,t,i,a){return"**"===t.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,t,a):this.expandRegularSegmentAgainstRouteUsingRedirect(n,l,e,t,i,a)},n.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect=function(n,l,e,t){var i=this,a=this.applyRedirectCommands([],e.redirectTo,{});return e.redirectTo.startsWith("/")?Cm(a):this.lineralizeSegments(e,a).pipe(H((function(e){var a=new Sp(e,{});return i.expandSegment(n,a,l,e,t,!1)})))},n.prototype.expandRegularSegmentAgainstRouteUsingRedirect=function(n,l,e,t,i,a){var o=this,r=Im(l,t,i),u=r.consumedSegments,s=r.lastChild,c=r.positionalParamSegments;if(!r.matched)return xm(l);var d=this.applyRedirectCommands(u,t.redirectTo,c);return t.redirectTo.startsWith("/")?Cm(d):this.lineralizeSegments(t,d).pipe(H((function(t){return o.expandSegment(n,l,e,t.concat(i.slice(s)),a,!1)})))},n.prototype.matchSegmentAgainstRoute=function(n,l,e,i){var a=this;if("**"===e.path)return e.loadChildren?this.configLoader.load(n.injector,e).pipe(q((function(n){return e._loadedConfig=n,new Sp(i,{})}))):lu(new Sp(i,{}));var o=Im(l,e,i),r=o.consumedSegments,u=o.lastChild;if(!o.matched)return xm(l);var s=i.slice(u);return this.getChildConfig(n,e,i).pipe(H((function(n){var e=n.module,i=n.routes,o=function(n,l,e,i){return e.length>0&&function(n,l,e){return e.some((function(e){return Mm(n,l,e)&&Pm(e)!==rp}))}(n,e,i)?{segmentGroup:Am(new Sp(l,function(n,l){var e,i,a={};a[rp]=l;try{for(var o=Object(t.__values)(n),r=o.next();!r.done;r=o.next()){var u=r.value;""===u.path&&Pm(u)!==rp&&(a[Pm(u)]=new Sp([],{}))}}catch(s){e={error:s}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}return a}(i,new Sp(e,n.children)))),slicedSegments:[]}:0===e.length&&function(n,l,e){return e.some((function(e){return Mm(n,l,e)}))}(n,e,i)?{segmentGroup:Am(new Sp(n.segments,function(n,l,e,i){var a,o,r={};try{for(var u=Object(t.__values)(e),s=u.next();!s.done;s=u.next()){var c=s.value;Mm(n,l,c)&&!i[Pm(c)]&&(r[Pm(c)]=new Sp([],{}))}}catch(d){a={error:d}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(a)throw a.error}}return Object(t.__assign)({},i,r)}(n,e,i,n.children))),slicedSegments:e}:{segmentGroup:n,slicedSegments:e}}(l,r,s,i),u=o.segmentGroup,c=o.slicedSegments;return 0===c.length&&u.hasChildren()?a.expandChildren(e,i,u).pipe(q((function(n){return new Sp(r,n)}))):0===i.length&&0===c.length?lu(new Sp(r,{})):a.expandSegment(e,u,i,c,rp,!0).pipe(q((function(n){return new Sp(r.concat(n.segments),n.children)})))})))},n.prototype.getChildConfig=function(n,l,e){var t=this;return l.children?lu(new mp(l.children,n)):l.loadChildren?void 0!==l._loadedConfig?lu(l._loadedConfig):function(n,l,e){var t,i=l.canLoad;return i&&0!==i.length?$(i).pipe(q((function(t){var i,a=n.get(t);if(function(n){return n&&vm(n.canLoad)}(a))i=a.canLoad(l,e);else{if(!vm(a))throw new Error("Invalid CanLoad guard");i=a(l,e)}return xp(i)}))).pipe(ec(),(t=function(n){return!0===n},function(n){return n.lift(new Cc(t,void 0,n))})):lu(!0)}(n.injector,l,e).pipe(H((function(e){return e?t.configLoader.load(n.injector,l).pipe(q((function(n){return l._loadedConfig=n,n}))):function(n){return new x((function(l){return l.error(dp("Cannot load children because the guard of the route \"path: '"+n.path+"'\" returned false"))}))}(l)}))):lu(new mp([],n))},n.prototype.lineralizeSegments=function(n,l){for(var e=[],t=l.root;;){if(e=e.concat(t.segments),0===t.numberOfChildren)return lu(e);if(t.numberOfChildren>1||!t.children[rp])return km(n.redirectTo);t=t.children[rp]}},n.prototype.applyRedirectCommands=function(n,l,e){return this.applyRedirectCreatreUrlTree(l,this.urlSerializer.parse(l),n,e)},n.prototype.applyRedirectCreatreUrlTree=function(n,l,e,t){var i=this.createSegmentGroup(n,l.root,e,t);return new kp(i,this.createQueryParams(l.queryParams,this.urlTree.queryParams),l.fragment)},n.prototype.createQueryParams=function(n,l){var e={};return wp(n,(function(n,t){if("string"==typeof n&&n.startsWith(":")){var i=n.substring(1);e[t]=l[i]}else e[t]=n})),e},n.prototype.createSegmentGroup=function(n,l,e,t){var i=this,a=this.createSegments(n,l.segments,e,t),o={};return wp(l.children,(function(l,a){o[a]=i.createSegmentGroup(n,l,e,t)})),new Sp(a,o)},n.prototype.createSegments=function(n,l,e,t){var i=this;return l.map((function(l){return l.path.startsWith(":")?i.findPosParam(n,l,t):i.findOrReturn(l,e)}))},n.prototype.findPosParam=function(n,l,e){var t=e[l.path.substring(1)];if(!t)throw new Error("Cannot redirect to '"+n+"'. Cannot find '"+l.path+"'.");return t},n.prototype.findOrReturn=function(n,l){var e,i,a=0;try{for(var o=Object(t.__values)(l),r=o.next();!r.done;r=o.next()){var u=r.value;if(u.path===n.path)return l.splice(a),u;a++}}catch(s){e={error:s}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}return n},n}();function Im(n,l,e){if(""===l.path)return"full"===l.pathMatch&&(n.hasChildren()||e.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var t=(l.matcher||pp)(e,n,l);return t?{matched:!0,consumedSegments:t.consumed,lastChild:t.consumed.length,positionalParamSegments:t.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Am(n){if(1===n.numberOfChildren&&n.children[rp]){var l=n.children[rp];return new Sp(n.segments.concat(l.segments),l.children)}return n}function Mm(n,l,e){return(!(n.hasChildren()||l.length>0)||"full"!==e.pathMatch)&&""===e.path&&void 0!==e.redirectTo}function Pm(n){return n.outlet||rp}var Dm=function(){return function(n){this.path=n,this.route=this.path[this.path.length-1]}}(),Fm=function(){return function(n,l){this.component=n,this.route=l}}();function Em(n,l,e){var t=function(n){if(!n)return null;for(var l=n.parent;l;l=l.parent){var e=l.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(l);return(t?t.module.injector:e).get(n)}function Om(n,l,e,t,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=Kp(l);return n.children.forEach((function(n){!function(n,l,e,t,i){void 0===i&&(i={canDeactivateChecks:[],canActivateChecks:[]});var a=n.value,o=l?l.value:null,r=e?e.getContext(n.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var u=function(n,l,e){if("function"==typeof e)return e(n,l);switch(e){case"pathParamsChange":return!Ap(n.url,l.url);case"pathParamsOrQueryParamsChange":return!Ap(n.url,l.url)||!vp(n.queryParams,l.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!im(n,l)||!vp(n.queryParams,l.queryParams);case"paramsChange":default:return!im(n,l)}}(o,a,a.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Dm(t)):(a.data=o.data,a._resolvedData=o._resolvedData),Om(n,l,a.component?r?r.children:null:e,t,i),u&&i.canDeactivateChecks.push(new Fm(r&&r.outlet&&r.outlet.component||null,o))}else o&&Tm(l,r,i),i.canActivateChecks.push(new Dm(t)),Om(n,null,a.component?r?r.children:null:e,t,i)}(n,a[n.value.outlet],e,t.concat([n.value]),i),delete a[n.value.outlet]})),wp(a,(function(n,l){return Tm(n,e.getContext(l),i)})),i}function Tm(n,l,e){var t=Kp(n),i=n.value;wp(t,(function(n,t){Tm(n,i.component?l?l.children.getContext(t):null:l,e)})),e.canDeactivateChecks.push(new Fm(i.component&&l&&l.outlet&&l.outlet.isActivated?l.outlet.component:null,i))}var Lm=Symbol("INITIAL_VALUE");function Rm(){return Sc((function(n){return Js.apply(void 0,Object(t.__spread)(n.map((function(n){return n.pipe(_c(1),Pc(Lm))})))).pipe(Dc((function(n,l){var e=!1;return l.reduce((function(n,t,i){if(n!==Lm)return n;if(t===Lm&&(e=!0),!e){if(!1===t)return t;if(i===l.length-1||_m(t))return t}return n}),n)}),Lm),tc((function(n){return n!==Lm})),q((function(n){return _m(n)?n:!0===n})),_c(1))}))}function Nm(n,l){return null!==n&&l&&l(new tp(n)),lu(!0)}function jm(n,l){return null!==n&&l&&l(new lp(n)),lu(!0)}function Vm(n,l,e){var t=l.routeConfig?l.routeConfig.canActivate:null;return t&&0!==t.length?lu(t.map((function(t){return lc((function(){var i,a=Em(t,l,e);if(function(n){return n&&vm(n.canActivate)}(a))i=xp(a.canActivate(l,n));else{if(!vm(a))throw new Error("Invalid CanActivate guard");i=xp(a(l,n))}return i.pipe(xc())}))}))).pipe(Rm()):lu(!0)}function qm(n,l,e){var t=l[l.length-1],i=l.slice(0,l.length-1).reverse().map((function(n){return function(n){var l=n.routeConfig?n.routeConfig.canActivateChild:null;return l&&0!==l.length?{node:n,guards:l}:null}(n)})).filter((function(n){return null!==n})).map((function(l){return lc((function(){return lu(l.guards.map((function(i){var a,o=Em(i,l.node,e);if(function(n){return n&&vm(n.canActivateChild)}(o))a=xp(o.canActivateChild(t,n));else{if(!vm(o))throw new Error("Invalid CanActivateChild guard");a=xp(o(t,n))}return a.pipe(xc())}))).pipe(Rm())}))}));return lu(i).pipe(Rm())}var zm=function(){return function(){}}(),Um=function(){function n(n,l,e,t,i,a){this.rootComponentType=n,this.config=l,this.urlTree=e,this.url=t,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=a}return n.prototype.recognize=function(){try{var n=Hm(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,l=this.processSegmentGroup(this.config,n,rp),e=new Xp([],Object.freeze({}),Object.freeze(Object(t.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,{},rp,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new Wp(e,l),a=new nm(this.url,i);return this.inheritParamsAndData(a._root),lu(a)}catch(o){return new x((function(n){return n.error(o)}))}},n.prototype.inheritParamsAndData=function(n){var l=this,e=n.value,t=Qp(e,this.paramsInheritanceStrategy);e.params=Object.freeze(t.params),e.data=Object.freeze(t.data),n.children.forEach((function(n){return l.inheritParamsAndData(n)}))},n.prototype.processSegmentGroup=function(n,l,e){return 0===l.segments.length&&l.hasChildren()?this.processChildren(n,l):this.processSegment(n,l,l.segments,e)},n.prototype.processChildren=function(n,l){var e,t=this,i=Mp(l,(function(l,e){return t.processSegmentGroup(n,l,e)}));return e={},i.forEach((function(n){var l=e[n.value.outlet];if(l){var t=l.url.map((function(n){return n.toString()})).join("/"),i=n.value.url.map((function(n){return n.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '"+t+"' and '"+i+"'.")}e[n.value.outlet]=n.value})),i.sort((function(n,l){return n.value.outlet===rp?-1:l.value.outlet===rp?1:n.value.outlet.localeCompare(l.value.outlet)})),i},n.prototype.processSegment=function(n,l,e,i){var a,o;try{for(var r=Object(t.__values)(n),u=r.next();!u.done;u=r.next()){var s=u.value;try{return this.processSegmentAgainstRoute(s,l,e,i)}catch(c){if(!(c instanceof zm))throw c}}}catch(d){a={error:d}}finally{try{u&&!u.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}if(this.noLeftoversInUrl(l,e,i))return[];throw new zm},n.prototype.noLeftoversInUrl=function(n,l,e){return 0===l.length&&!n.children[e]},n.prototype.processSegmentAgainstRoute=function(n,l,e,i){if(n.redirectTo)throw new zm;if((n.outlet||rp)!==i)throw new zm;var a,o=[],r=[];if("**"===n.path){var u=e.length>0?yp(e).parameters:{};a=new Xp(e,u,Object.freeze(Object(t.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,Km(n),i,n.component,n,Bm(l),$m(l)+e.length,Ym(n))}else{var s=function(n,l,e){if(""===l.path){if("full"===l.pathMatch&&(n.hasChildren()||e.length>0))throw new zm;return{consumedSegments:[],lastChild:0,parameters:{}}}var i=(l.matcher||pp)(e,n,l);if(!i)throw new zm;var a={};wp(i.posParams,(function(n,l){a[l]=n.path}));var o=i.consumed.length>0?Object(t.__assign)({},a,i.consumed[i.consumed.length-1].parameters):a;return{consumedSegments:i.consumed,lastChild:i.consumed.length,parameters:o}}(l,n,e);o=s.consumedSegments,r=e.slice(s.lastChild),a=new Xp(o,s.parameters,Object.freeze(Object(t.__assign)({},this.urlTree.queryParams)),this.urlTree.fragment,Km(n),i,n.component,n,Bm(l),$m(l)+o.length,Ym(n))}var c=function(n){return n.children?n.children:n.loadChildren?n._loadedConfig.routes:[]}(n),d=Hm(l,o,r,c,this.relativeLinkResolution),p=d.segmentGroup,m=d.slicedSegments;if(0===m.length&&p.hasChildren()){var f=this.processChildren(c,p);return[new Wp(a,f)]}if(0===c.length&&0===m.length)return[new Wp(a,[])];var h=this.processSegment(c,p,m,rp);return[new Wp(a,h)]},n}();function Bm(n){for(var l=n;l._sourceSegment;)l=l._sourceSegment;return l}function $m(n){for(var l=n,e=l._segmentIndexShift?l._segmentIndexShift:0;l._sourceSegment;)e+=(l=l._sourceSegment)._segmentIndexShift?l._segmentIndexShift:0;return e-1}function Hm(n,l,e,i,a){if(e.length>0&&function(n,l,e){return e.some((function(e){return Gm(n,l,e)&&Wm(e)!==rp}))}(n,e,i)){var o=new Sp(l,function(n,l,e,i){var a,o,r={};r[rp]=i,i._sourceSegment=n,i._segmentIndexShift=l.length;try{for(var u=Object(t.__values)(e),s=u.next();!s.done;s=u.next()){var c=s.value;if(""===c.path&&Wm(c)!==rp){var d=new Sp([],{});d._sourceSegment=n,d._segmentIndexShift=l.length,r[Wm(c)]=d}}}catch(p){a={error:p}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(a)throw a.error}}return r}(n,l,i,new Sp(e,n.children)));return o._sourceSegment=n,o._segmentIndexShift=l.length,{segmentGroup:o,slicedSegments:[]}}if(0===e.length&&function(n,l,e){return e.some((function(e){return Gm(n,l,e)}))}(n,e,i)){var r=new Sp(n.segments,function(n,l,e,i,a,o){var r,u,s={};try{for(var c=Object(t.__values)(i),d=c.next();!d.done;d=c.next()){var p=d.value;if(Gm(n,e,p)&&!a[Wm(p)]){var m=new Sp([],{});m._sourceSegment=n,m._segmentIndexShift="legacy"===o?n.segments.length:l.length,s[Wm(p)]=m}}}catch(f){r={error:f}}finally{try{d&&!d.done&&(u=c.return)&&u.call(c)}finally{if(r)throw r.error}}return Object(t.__assign)({},a,s)}(n,l,e,i,n.children,a));return r._sourceSegment=n,r._segmentIndexShift=l.length,{segmentGroup:r,slicedSegments:e}}var u=new Sp(n.segments,n.children);return u._sourceSegment=n,u._segmentIndexShift=l.length,{segmentGroup:u,slicedSegments:e}}function Gm(n,l,e){return(!(n.hasChildren()||l.length>0)||"full"!==e.pathMatch)&&""===e.path&&void 0===e.redirectTo}function Wm(n){return n.outlet||rp}function Km(n){return n.data||{}}function Ym(n){return n.resolve||{}}function Jm(n,l,e,t){var i=Em(n,l,t);return xp(i.resolve?i.resolve(l,e):i(l,e))}function Zm(n){return function(l){return l.pipe(Sc((function(l){var e=n(l);return e?$(e).pipe(q((function(){return l}))):$([l])})))}}var Qm=function(){return function(){}}(),Xm=function(){function n(){}return n.prototype.shouldDetach=function(n){return!1},n.prototype.store=function(n,l){},n.prototype.shouldAttach=function(n){return!1},n.prototype.retrieve=function(n){return null},n.prototype.shouldReuseRoute=function(n,l){return n.routeConfig===l.routeConfig},n}(),nf=new On("ROUTES"),lf=function(){function n(n,l,e,t){this.loader=n,this.compiler=l,this.onLoadStartListener=e,this.onLoadEndListener=t}return n.prototype.load=function(n,l){var e=this;return this.onLoadStartListener&&this.onLoadStartListener(l),this.loadModuleFactory(l.loadChildren).pipe(q((function(t){e.onLoadEndListener&&e.onLoadEndListener(l);var i=t.create(n);return new mp(_p(i.injector.get(nf)).map(bp),i)})))},n.prototype.loadModuleFactory=function(n){var l=this;return"string"==typeof n?$(this.loader.load(n)):xp(n()).pipe(H((function(n){return n instanceof Yn?lu(n):$(l.compiler.compileModuleAsync(n))})))},n}(),ef=function(){return function(){}}(),tf=function(){function n(){}return n.prototype.shouldProcessUrl=function(n){return!0},n.prototype.extract=function(n){return n},n.prototype.merge=function(n,l){return n},n}();function af(n){throw n}function of(n,l,e){return l.parse("/")}function rf(n,l){return lu(null)}var uf=function(){function n(n,l,e,t,i,a,o,r){var u=this;this.rootComponentType=n,this.urlSerializer=l,this.rootContexts=e,this.location=t,this.config=r,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new M,this.errorHandler=af,this.malformedUriErrorHandler=of,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:rf,afterPreactivation:rf},this.urlHandlingStrategy=new tf,this.routeReuseStrategy=new Xm,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=i.get(Kn),this.console=i.get(ga);var s=i.get(La);this.isNgZoneEnabled=s instanceof La,this.resetConfig(r),this.currentUrlTree=new kp(new Sp([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new lf(a,o,(function(n){return u.triggerEvent(new Xd(n))}),(function(n){return u.triggerEvent(new np(n))})),this.routerState=Jp(this.currentUrlTree,this.rootComponentType),this.transitions=new Gs({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return n.prototype.setupNavigations=function(n){var l=this,e=this.events;return n.pipe(tc((function(n){return 0!==n.id})),q((function(n){return Object(t.__assign)({},n,{extractedUrl:l.urlHandlingStrategy.extract(n.rawUrl)})})),Sc((function(n){var i,a,o,r=!1,u=!1;return lu(n).pipe(Yr((function(n){l.currentNavigation={id:n.id,initialUrl:n.currentRawUrl,extractedUrl:n.extractedUrl,trigger:n.source,extras:n.extras,previousNavigation:l.lastSuccessfulNavigation?Object(t.__assign)({},l.lastSuccessfulNavigation,{previousNavigation:null}):null}})),Sc((function(n){var i,a,o,r,u=!l.navigated||n.extractedUrl.toString()!==l.browserUrlTree.toString();if(("reload"===l.onSameUrlNavigation||u)&&l.urlHandlingStrategy.shouldProcessUrl(n.rawUrl))return lu(n).pipe(Sc((function(n){var t=l.transitions.getValue();return e.next(new $d(n.id,l.serializeUrl(n.extractedUrl),n.source,n.restoredState)),t!==l.transitions.getValue()?Xs:[n]})),Sc((function(n){return Promise.resolve(n)})),(i=l.ngModule.injector,a=l.configLoader,o=l.urlSerializer,r=l.config,function(n){return n.pipe(Sc((function(n){return function(n,l,e,t,i){return new Sm(n,l,e,t,i).apply()}(i,a,o,n.extractedUrl,r).pipe(q((function(l){return Object(t.__assign)({},n,{urlAfterRedirects:l})})))})))}),Yr((function(n){l.currentNavigation=Object(t.__assign)({},l.currentNavigation,{finalUrl:n.urlAfterRedirects})})),function(n,e,i,a,o){return function(i){return i.pipe(H((function(i){return function(n,l,e,t,i,a){return void 0===i&&(i="emptyOnly"),void 0===a&&(a="legacy"),new Um(n,l,e,t,i,a).recognize()}(n,e,i.urlAfterRedirects,(r=i.urlAfterRedirects,l.serializeUrl(r)),a,o).pipe(q((function(n){return Object(t.__assign)({},i,{targetSnapshot:n})})));var r})))}}(l.rootComponentType,l.config,0,l.paramsInheritanceStrategy,l.relativeLinkResolution),Yr((function(n){"eager"===l.urlUpdateStrategy&&(n.extras.skipLocationChange||l.setBrowserUrl(n.urlAfterRedirects,!!n.extras.replaceUrl,n.id,n.extras.state),l.browserUrlTree=n.urlAfterRedirects)})),Yr((function(n){var t=new Kd(n.id,l.serializeUrl(n.extractedUrl),l.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);e.next(t)})));if(u&&l.rawUrlTree&&l.urlHandlingStrategy.shouldProcessUrl(l.rawUrlTree)){var s=n.extractedUrl,c=n.source,d=n.restoredState,p=n.extras,m=new $d(n.id,l.serializeUrl(s),c,d);e.next(m);var f=Jp(s,l.rootComponentType).snapshot;return lu(Object(t.__assign)({},n,{targetSnapshot:f,urlAfterRedirects:s,extras:Object(t.__assign)({},p,{skipLocationChange:!1,replaceUrl:!1})}))}return l.rawUrlTree=n.rawUrl,l.browserUrlTree=n.urlAfterRedirects,n.resolve(null),Xs})),Zm((function(n){var e=n.extras;return l.hooks.beforePreactivation(n.targetSnapshot,{navigationId:n.id,appliedUrlTree:n.extractedUrl,rawUrlTree:n.rawUrl,skipLocationChange:!!e.skipLocationChange,replaceUrl:!!e.replaceUrl})})),Yr((function(n){var e=new Yd(n.id,l.serializeUrl(n.extractedUrl),l.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);l.triggerEvent(e)})),q((function(n){return Object(t.__assign)({},n,{guards:(e=n.targetSnapshot,i=n.currentSnapshot,a=l.rootContexts,o=e._root,Om(o,i?i._root:null,a,[o.value]))});var e,i,a,o})),function(n,l){return function(e){return e.pipe(H((function(e){var i=e.targetSnapshot,a=e.currentSnapshot,o=e.guards,r=o.canActivateChecks,u=o.canDeactivateChecks;return 0===u.length&&0===r.length?lu(Object(t.__assign)({},e,{guardsResult:!0})):function(n,l,e,t){return $(n).pipe(H((function(n){return function(n,l,e,t,i){var a=l&&l.routeConfig?l.routeConfig.canDeactivate:null;return a&&0!==a.length?lu(a.map((function(a){var o,r=Em(a,l,i);if(function(n){return n&&vm(n.canDeactivate)}(r))o=xp(r.canDeactivate(n,l,e,t));else{if(!vm(r))throw new Error("Invalid CanDeactivate guard");o=xp(r(n,l,e,t))}return o.pipe(xc())}))).pipe(Rm()):lu(!0)}(n.component,n.route,e,l,t)})),xc((function(n){return!0!==n}),!0))}(u,i,a,n).pipe(H((function(e){return e&&"boolean"==typeof e?function(n,l,e,t){return $(l).pipe(Oc((function(l){return $([jm(l.route.parent,t),Nm(l.route,t),qm(n,l.path,e),Vm(n,l.route,e)]).pipe(ec(),xc((function(n){return!0!==n}),!0))})),xc((function(n){return!0!==n}),!0))}(i,r,n,l):lu(e)})),q((function(n){return Object(t.__assign)({},e,{guardsResult:n})})))})))}}(l.ngModule.injector,(function(n){return l.triggerEvent(n)})),Yr((function(n){if(_m(n.guardsResult)){var e=dp('Redirecting to "'+l.serializeUrl(n.guardsResult)+'"');throw e.url=n.guardsResult,e}})),Yr((function(n){var e=new Jd(n.id,l.serializeUrl(n.extractedUrl),l.serializeUrl(n.urlAfterRedirects),n.targetSnapshot,!!n.guardsResult);l.triggerEvent(e)})),tc((function(n){if(!n.guardsResult){l.resetUrlToCurrentUrlTree();var t=new Gd(n.id,l.serializeUrl(n.extractedUrl),"");return e.next(t),n.resolve(!1),!1}return!0})),Zm((function(n){if(n.guards.canActivateChecks.length)return lu(n).pipe(Yr((function(n){var e=new Zd(n.id,l.serializeUrl(n.extractedUrl),l.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);l.triggerEvent(e)})),(e=l.paramsInheritanceStrategy,i=l.ngModule.injector,function(n){return n.pipe(H((function(n){var l=n.targetSnapshot,a=n.guards.canActivateChecks;return a.length?$(a).pipe(Oc((function(n){return function(n,l,e,i){return function(n,l,e,t){var i=Object.keys(n);if(0===i.length)return lu({});if(1===i.length){var a=i[0];return Jm(n[a],l,e,t).pipe(q((function(n){var l;return(l={})[a]=n,l})))}var o={};return $(i).pipe(H((function(i){return Jm(n[i],l,e,t).pipe(q((function(n){return o[i]=n,n})))}))).pipe(vc(),q((function(){return o})))}(n._resolve,n,l,i).pipe(q((function(l){return n._resolvedData=l,n.data=Object(t.__assign)({},n.data,Qp(n,e).resolve),null})))}(n.route,l,e,i)})),function(n,l){return arguments.length>=2?function(e){return y(Dc(n,l),uc(1),hc(l))(e)}:function(l){return y(Dc((function(l,e,t){return n(l,e,t+1)})),uc(1))(l)}}((function(n,l){return n})),q((function(l){return n}))):lu(n)})))}),Yr((function(n){var e=new Qd(n.id,l.serializeUrl(n.extractedUrl),l.serializeUrl(n.urlAfterRedirects),n.targetSnapshot);l.triggerEvent(e)})));var e,i})),Zm((function(n){var e=n.extras;return l.hooks.afterPreactivation(n.targetSnapshot,{navigationId:n.id,appliedUrlTree:n.extractedUrl,rawUrlTree:n.rawUrl,skipLocationChange:!!e.skipLocationChange,replaceUrl:!!e.replaceUrl})})),q((function(n){var e,i,a,o=(a=function n(l,e,i){if(i&&l.shouldReuseRoute(e.value,i.value.snapshot)){(s=i.value)._futureSnapshot=e.value;var a=function(l,e,i){return e.children.map((function(e){var a,o;try{for(var r=Object(t.__values)(i.children),u=r.next();!u.done;u=r.next()){var s=u.value;if(l.shouldReuseRoute(s.value.snapshot,e.value))return n(l,e,s)}}catch(c){a={error:c}}finally{try{u&&!u.done&&(o=r.return)&&o.call(r)}finally{if(a)throw a.error}}return n(l,e)}))}(l,e,i);return new Wp(s,a)}var o=l.retrieve(e.value);if(o){var r=o.route;return function n(l,e){if(l.value.routeConfig!==e.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(l.children.length!==e.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");e.value._futureSnapshot=l.value;for(var t=0;t<l.children.length;++t)n(l.children[t],e.children[t])}(e,r),r}var u,s=new Zp(new Gs((u=e.value).url),new Gs(u.params),new Gs(u.queryParams),new Gs(u.fragment),new Gs(u.data),u.outlet,u.component,u);return a=e.children.map((function(e){return n(l,e)})),new Wp(s,a)}(l.routeReuseStrategy,(e=n.targetSnapshot)._root,(i=n.currentRouterState)?i._root:void 0),new Yp(a,e));return Object(t.__assign)({},n,{targetRouterState:o})})),Yr((function(n){l.currentUrlTree=n.urlAfterRedirects,l.rawUrlTree=l.urlHandlingStrategy.merge(l.currentUrlTree,n.rawUrl),l.routerState=n.targetRouterState,"deferred"===l.urlUpdateStrategy&&(n.extras.skipLocationChange||l.setBrowserUrl(l.rawUrlTree,!!n.extras.replaceUrl,n.id,n.extras.state),l.browserUrlTree=n.urlAfterRedirects)})),(i=l.rootContexts,a=l.routeReuseStrategy,o=function(n){return l.triggerEvent(n)},q((function(n){return new gm(a,n.targetRouterState,n.currentRouterState,o).activate(i),n}))),Yr({next:function(){r=!0},complete:function(){r=!0}}),iu((function(){if(!r&&!u){l.resetUrlToCurrentUrlTree();var t=new Gd(n.id,l.serializeUrl(n.extractedUrl),"Navigation ID "+n.id+" is not equal to the current navigation id "+l.navigationId);e.next(t),n.resolve(!1)}l.currentNavigation=null})),Qr((function(t){if(u=!0,(r=t)&&r[cp]){var i=_m(t.url);i||(l.navigated=!0,l.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl));var a=new Gd(n.id,l.serializeUrl(n.extractedUrl),t.message);e.next(a),n.resolve(!1),i&&l.navigateByUrl(t.url)}else{l.resetStateAndUrl(n.currentRouterState,n.currentUrlTree,n.rawUrl);var o=new Wd(n.id,l.serializeUrl(n.extractedUrl),t);e.next(o);try{n.resolve(l.errorHandler(t))}catch(s){n.reject(s)}}var r;return Xs})))})))},n.prototype.resetRootComponentType=function(n){this.rootComponentType=n,this.routerState.root.component=this.rootComponentType},n.prototype.getTransition=function(){var n=this.transitions.value;return n.urlAfterRedirects=this.browserUrlTree,n},n.prototype.setTransition=function(n){this.transitions.next(Object(t.__assign)({},this.getTransition(),n))},n.prototype.initialNavigation=function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})},n.prototype.setUpLocationChangeListener=function(){var n=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(l){var e=n.parseUrl(l.url),t="popstate"===l.type?"popstate":"hashchange",i=l.state&&l.state.navigationId?l.state:null;setTimeout((function(){n.scheduleNavigation(e,t,i,{replaceUrl:!0})}),0)})))},Object.defineProperty(n.prototype,"url",{get:function(){return this.serializeUrl(this.currentUrlTree)},enumerable:!0,configurable:!0}),n.prototype.getCurrentNavigation=function(){return this.currentNavigation},n.prototype.triggerEvent=function(n){this.events.next(n)},n.prototype.resetConfig=function(n){fp(n),this.config=n.map(bp),this.navigated=!1,this.lastSuccessfulId=-1},n.prototype.ngOnDestroy=function(){this.dispose()},n.prototype.dispose=function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)},n.prototype.createUrlTree=function(n,l){void 0===l&&(l={});var e=l.relativeTo,i=l.queryParams,a=l.fragment,o=l.preserveQueryParams,r=l.queryParamsHandling,u=l.preserveFragment;sl()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var s=e||this.routerState.root,c=u?this.currentUrlTree.fragment:a,d=null;if(r)switch(r){case"merge":d=Object(t.__assign)({},this.currentUrlTree.queryParams,i);break;case"preserve":d=this.currentUrlTree.queryParams;break;default:d=i||null}else d=o?this.currentUrlTree.queryParams:i||null;return null!==d&&(d=this.removeEmptyProps(d)),function(n,l,e,i,a){if(0===e.length)return om(l.root,l.root,l,i,a);var o=function(n){if("string"==typeof n[0]&&1===n.length&&"/"===n[0])return new rm(!0,0,n);var l=0,e=!1,i=n.reduce((function(n,i,a){if("object"==typeof i&&null!=i){if(i.outlets){var o={};return wp(i.outlets,(function(n,l){o[l]="string"==typeof n?n.split("/"):n})),Object(t.__spread)(n,[{outlets:o}])}if(i.segmentPath)return Object(t.__spread)(n,[i.segmentPath])}return"string"!=typeof i?Object(t.__spread)(n,[i]):0===a?(i.split("/").forEach((function(t,i){0==i&&"."===t||(0==i&&""===t?e=!0:".."===t?l++:""!=t&&n.push(t))})),n):Object(t.__spread)(n,[i])}),[]);return new rm(e,l,i)}(e);if(o.toRoot())return om(l.root,new Sp([],{}),l,i,a);var r=function(n,l,e){if(n.isAbsolute)return new um(l.root,!0,0);if(-1===e.snapshot._lastPathIndex)return new um(e.snapshot._urlSegment,!0,0);var t=am(n.commands[0])?0:1;return function(n,l,e){for(var t=n,i=l,a=e;a>i;){if(a-=i,!(t=t.parent))throw new Error("Invalid number of '../'");i=t.segments.length}return new um(t,!1,i-a)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+t,n.numberOfDoubleDots)}(o,l,n),u=r.processChildren?dm(r.segmentGroup,r.index,o.commands):cm(r.segmentGroup,r.index,o.commands);return om(r.segmentGroup,u,l,i,a)}(s,this.currentUrlTree,n,d,c)},n.prototype.navigateByUrl=function(n,l){void 0===l&&(l={skipLocationChange:!1}),sl()&&this.isNgZoneEnabled&&!La.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var e=_m(n)?n:this.parseUrl(n),t=this.urlHandlingStrategy.merge(e,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,l)},n.prototype.navigate=function(n,l){return void 0===l&&(l={skipLocationChange:!1}),function(n){for(var l=0;l<n.length;l++){var e=n[l];if(null==e)throw new Error("The requested path contains "+e+" segment at index "+l)}}(n),this.navigateByUrl(this.createUrlTree(n,l),l)},n.prototype.serializeUrl=function(n){return this.urlSerializer.serialize(n)},n.prototype.parseUrl=function(n){var l;try{l=this.urlSerializer.parse(n)}catch(e){l=this.malformedUriErrorHandler(e,this.urlSerializer,n)}return l},n.prototype.isActive=function(n,l){if(_m(n))return Cp(this.currentUrlTree,n,l);var e=this.parseUrl(n);return Cp(this.currentUrlTree,e,l)},n.prototype.removeEmptyProps=function(n){return Object.keys(n).reduce((function(l,e){var t=n[e];return null!=t&&(l[e]=t),l}),{})},n.prototype.processNavigations=function(){var n=this;this.navigations.subscribe((function(l){n.navigated=!0,n.lastSuccessfulId=l.id,n.events.next(new Hd(l.id,n.serializeUrl(l.extractedUrl),n.serializeUrl(n.currentUrlTree))),n.lastSuccessfulNavigation=n.currentNavigation,n.currentNavigation=null,l.resolve(!0)}),(function(l){n.console.warn("Unhandled Navigation Error: ")}))},n.prototype.scheduleNavigation=function(n,l,e,t){var i=this.getTransition();if(i&&"imperative"!==l&&"imperative"===i.source&&i.rawUrl.toString()===n.toString())return Promise.resolve(!0);if(i&&"hashchange"==l&&"popstate"===i.source&&i.rawUrl.toString()===n.toString())return Promise.resolve(!0);if(i&&"popstate"==l&&"hashchange"===i.source&&i.rawUrl.toString()===n.toString())return Promise.resolve(!0);var a=null,o=null,r=new Promise((function(n,l){a=n,o=l})),u=++this.navigationId;return this.setTransition({id:u,source:l,restoredState:e,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:n,extras:t,resolve:a,reject:o,promise:r,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),r.catch((function(n){return Promise.reject(n)}))},n.prototype.setBrowserUrl=function(n,l,e,i){var a=this.urlSerializer.serialize(n);i=i||{},this.location.isCurrentPathEqualTo(a)||l?this.location.replaceState(a,"",Object(t.__assign)({},i,{navigationId:e})):this.location.go(a,"",Object(t.__assign)({},i,{navigationId:e}))},n.prototype.resetStateAndUrl=function(n,l,e){this.routerState=n,this.currentUrlTree=l,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e),this.resetUrlToCurrentUrlTree()},n.prototype.resetUrlToCurrentUrlTree=function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})},n}(),sf=function(){function n(n,l,e,t,i){this.router=n,this.route=l,this.commands=[],null==e&&t.setAttribute(i.nativeElement,"tabindex","0")}return Object.defineProperty(n.prototype,"routerLink",{set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"preserveQueryParams",{set:function(n){sl()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=n},enumerable:!0,configurable:!0}),n.prototype.onClick=function(){var n={skipLocationChange:df(this.skipLocationChange),replaceUrl:df(this.replaceUrl)};return this.router.navigateByUrl(this.urlTree,n),!0},Object.defineProperty(n.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:df(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:df(this.preserveFragment)})},enumerable:!0,configurable:!0}),n}(),cf=function(){function n(n,l,e){var t=this;this.router=n,this.route=l,this.locationStrategy=e,this.commands=[],this.subscription=n.events.subscribe((function(n){n instanceof Hd&&t.updateTargetUrlAndHref()}))}return Object.defineProperty(n.prototype,"routerLink",{set:function(n){this.commands=null!=n?Array.isArray(n)?n:[n]:[]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"preserveQueryParams",{set:function(n){sl()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=n},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){this.updateTargetUrlAndHref()},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.onClick=function(n,l,e,t){if(0!==n||l||e||t)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:df(this.skipLocationChange),replaceUrl:df(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1},n.prototype.updateTargetUrlAndHref=function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))},Object.defineProperty(n.prototype,"urlTree",{get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:df(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:df(this.preserveFragment)})},enumerable:!0,configurable:!0}),n}();function df(n){return""===n||!!n}var pf=function(){return function(){this.outlet=null,this.route=null,this.resolver=null,this.children=new mf,this.attachRef=null}}(),mf=function(){function n(){this.contexts=new Map}return n.prototype.onChildOutletCreated=function(n,l){var e=this.getOrCreateContext(n);e.outlet=l,this.contexts.set(n,e)},n.prototype.onChildOutletDestroyed=function(n){var l=this.getContext(n);l&&(l.outlet=null)},n.prototype.onOutletDeactivated=function(){var n=this.contexts;return this.contexts=new Map,n},n.prototype.onOutletReAttached=function(n){this.contexts=n},n.prototype.getOrCreateContext=function(n){var l=this.getContext(n);return l||(l=new pf,this.contexts.set(n,l)),l},n.prototype.getContext=function(n){return this.contexts.get(n)||null},n}(),ff=function(){function n(n,l,e,t,i){this.parentContexts=n,this.location=l,this.resolver=e,this.changeDetector=i,this.activated=null,this._activatedRoute=null,this.activateEvents=new la,this.deactivateEvents=new la,this.name=t||rp,n.onChildOutletCreated(this.name,this)}return n.prototype.ngOnDestroy=function(){this.parentContexts.onChildOutletDestroyed(this.name)},n.prototype.ngOnInit=function(){if(!this.activated){var n=this.parentContexts.getContext(this.name);n&&n.route&&(n.attachRef?this.attach(n.attachRef,n.route):this.activateWith(n.route,n.resolver||null))}},Object.defineProperty(n.prototype,"isActivated",{get:function(){return!!this.activated},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"component",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activatedRoute",{get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activatedRouteData",{get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}},enumerable:!0,configurable:!0}),n.prototype.detach=function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var n=this.activated;return this.activated=null,this._activatedRoute=null,n},n.prototype.attach=function(n,l){this.activated=n,this._activatedRoute=l,this.location.insert(n.hostView)},n.prototype.deactivate=function(){if(this.activated){var n=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(n)}},n.prototype.activateWith=function(n,l){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=n;var e=(l=l||this.resolver).resolveComponentFactory(n._futureSnapshot.routeConfig.component),t=this.parentContexts.getOrCreateContext(this.name).children,i=new hf(n,t,this.location.injector);this.activated=this.location.createComponent(e,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)},n}(),hf=function(){function n(n,l,e){this.route=n,this.childContexts=l,this.parent=e}return n.prototype.get=function(n,l){return n===Zp?this.route:n===mf?this.childContexts:this.parent.get(n,l)},n}(),gf=function(){return function(){}}(),bf=function(){function n(){}return n.prototype.preload=function(n,l){return l().pipe(Qr((function(){return lu(null)})))},n}(),vf=function(){function n(){}return n.prototype.preload=function(n,l){return lu(null)},n}(),_f=function(){function n(n,l,e,t,i){this.router=n,this.injector=t,this.preloadingStrategy=i,this.loader=new lf(l,e,(function(l){return n.triggerEvent(new Xd(l))}),(function(l){return n.triggerEvent(new np(l))}))}return n.prototype.setUpPreloading=function(){var n=this;this.subscription=this.router.events.pipe(tc((function(n){return n instanceof Hd})),Oc((function(){return n.preload()}))).subscribe((function(){}))},n.prototype.preload=function(){var n=this.injector.get(Kn);return this.processRoutes(n,this.router.config)},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.processRoutes=function(n,l){var e,i,a=[];try{for(var o=Object(t.__values)(l),r=o.next();!r.done;r=o.next()){var u=r.value;if(u.loadChildren&&!u.canLoad&&u._loadedConfig){var s=u._loadedConfig;a.push(this.processRoutes(s.module,s.routes))}else u.loadChildren&&!u.canLoad?a.push(this.preloadConfig(n,u)):u.children&&a.push(this.processRoutes(n,u.children))}}catch(c){e={error:c}}finally{try{r&&!r.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}return $(a).pipe(Y(),q((function(n){})))},n.prototype.preloadConfig=function(n,l){var e=this;return this.preloadingStrategy.preload(l,(function(){return e.loader.load(n.injector,l).pipe(H((function(n){return l._loadedConfig=n,e.processRoutes(n.module,n.routes)})))}))},n}(),yf=function(){function n(n,l,e){void 0===e&&(e={}),this.router=n,this.viewportScroller=l,this.options=e,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},e.scrollPositionRestoration=e.scrollPositionRestoration||"disabled",e.anchorScrolling=e.anchorScrolling||"disabled"}return n.prototype.init=function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()},n.prototype.createScrollEvents=function(){var n=this;return this.router.events.subscribe((function(l){l instanceof $d?(n.store[n.lastId]=n.viewportScroller.getScrollPosition(),n.lastSource=l.navigationTrigger,n.restoredId=l.restoredState?l.restoredState.navigationId:0):l instanceof Hd&&(n.lastId=l.id,n.scheduleScrollEvent(l,n.router.parseUrl(l.urlAfterRedirects).fragment))}))},n.prototype.consumeScrollEvents=function(){var n=this;return this.router.events.subscribe((function(l){l instanceof ap&&(l.position?"top"===n.options.scrollPositionRestoration?n.viewportScroller.scrollToPosition([0,0]):"enabled"===n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition(l.position):l.anchor&&"enabled"===n.options.anchorScrolling?n.viewportScroller.scrollToAnchor(l.anchor):"disabled"!==n.options.scrollPositionRestoration&&n.viewportScroller.scrollToPosition([0,0]))}))},n.prototype.scheduleScrollEvent=function(n,l){this.router.triggerEvent(new ap(n,"popstate"===this.lastSource?this.store[this.restoredId]:null,l))},n.prototype.ngOnDestroy=function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()},n}(),wf=new On("ROUTER_CONFIGURATION"),xf=new On("ROUTER_FORROOT_GUARD"),Cf=[Au,{provide:Pp,useClass:Dp},{provide:uf,useFactory:Df,deps:[Qa,Pp,mf,Au,le,no,Ia,nf,wf,[ef,new hn],[Qm,new hn]]},mf,{provide:Zp,useFactory:Ff,deps:[uf]},{provide:no,useClass:to},_f,vf,bf,{provide:wf,useValue:{enableTracing:!1}}];function kf(){return new Wa("Router",uf)}var Sf=function(){function n(n,l){}var l;return l=n,n.forRoot=function(n,e){return{ngModule:l,providers:[Cf,Pf(n),{provide:xf,useFactory:Mf,deps:[[uf,new hn,new bn]]},{provide:wf,useValue:e||{}},{provide:Su,useFactory:Af,deps:[Cu,[new fn(Iu),new hn],wf]},{provide:yf,useFactory:If,deps:[uf,$s,wf]},{provide:gf,useExisting:e&&e.preloadingStrategy?e.preloadingStrategy:vf},{provide:Wa,multi:!0,useFactory:kf},[Ef,{provide:ua,multi:!0,useFactory:Of,deps:[Ef]},{provide:Lf,useFactory:Tf,deps:[Ef]},{provide:ha,multi:!0,useExisting:Lf}]]}},n.forChild=function(n){return{ngModule:l,providers:[Pf(n)]}},n}();function If(n,l,e){return e.scrollOffset&&l.setOffset(e.scrollOffset),new yf(n,l,e)}function Af(n,l,e){return void 0===e&&(e={}),e.useHash?new Pu(n,l):new Du(n,l)}function Mf(n){if(n)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Pf(n){return[{provide:se,multi:!0,useValue:n},{provide:nf,multi:!0,useValue:n}]}function Df(n,l,e,t,i,a,o,r,u,s,c){void 0===u&&(u={});var d=new uf(null,l,e,t,i,a,o,_p(r));if(s&&(d.urlHandlingStrategy=s),c&&(d.routeReuseStrategy=c),u.errorHandler&&(d.errorHandler=u.errorHandler),u.malformedUriErrorHandler&&(d.malformedUriErrorHandler=u.malformedUriErrorHandler),u.enableTracing){var p=Lc();d.events.subscribe((function(n){p.logGroup("Router Event: "+n.constructor.name),p.log(n.toString()),p.log(n),p.logGroupEnd()}))}return u.onSameUrlNavigation&&(d.onSameUrlNavigation=u.onSameUrlNavigation),u.paramsInheritanceStrategy&&(d.paramsInheritanceStrategy=u.paramsInheritanceStrategy),u.urlUpdateStrategy&&(d.urlUpdateStrategy=u.urlUpdateStrategy),u.relativeLinkResolution&&(d.relativeLinkResolution=u.relativeLinkResolution),d}function Ff(n){return n.routerState.root}var Ef=function(){function n(n){this.injector=n,this.initNavigation=!1,this.resultOfPreactivationDone=new M}return n.prototype.appInitializer=function(){var n=this;return this.injector.get(ku,Promise.resolve(null)).then((function(){var l=null,e=new Promise((function(n){return l=n})),t=n.injector.get(uf),i=n.injector.get(wf);if(n.isLegacyDisabled(i)||n.isLegacyEnabled(i))l(!0);else if("disabled"===i.initialNavigation)t.setUpLocationChangeListener(),l(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '"+i.initialNavigation+"'");t.hooks.afterPreactivation=function(){return n.initNavigation?lu(null):(n.initNavigation=!0,l(!0),n.resultOfPreactivationDone)},t.initialNavigation()}return e}))},n.prototype.bootstrapListener=function(n){var l=this.injector.get(wf),e=this.injector.get(_f),t=this.injector.get(yf),i=this.injector.get(uf),a=this.injector.get(Qa);n===a.components[0]&&(this.isLegacyEnabled(l)?i.initialNavigation():this.isLegacyDisabled(l)&&i.setUpLocationChangeListener(),e.setUpPreloading(),t.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())},n.prototype.isLegacyEnabled=function(n){return"legacy_enabled"===n.initialNavigation||!0===n.initialNavigation||void 0===n.initialNavigation},n.prototype.isLegacyDisabled=function(n){return"legacy_disabled"===n.initialNavigation||!1===n.initialNavigation},n}();function Of(n){return n.appInitializer.bind(n)}function Tf(n){return n.bootstrapListener.bind(n)}var Lf=new On("Router Initializer"),Rf=yt({encapsulation:2,styles:[],data:{}});function Nf(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,"router-outlet",[],null,null,null,null,null)),Di(1,212992,null,0,ff,[mf,lt,Se,[8,null],Nl],null,null)],(function(n,l){n(l,1,0)}),null)}function jf(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Nf,Rf)),Di(1,49152,null,0,op,[],null,null)],null,null)}var Vf=oi("ng-component",op,jf,{},{},[]),qf=function(){return function(){}}(),zf=function(){return function(){}}(),Uf="*";function Bf(n,l){return void 0===l&&(l=null),{type:2,steps:n,options:l}}function $f(n){return{type:6,styles:n,offset:null}}function Hf(n){Promise.resolve(null).then(n)}var Gf=function(){function n(n,l){void 0===n&&(n=0),void 0===l&&(l=0),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=n+l}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[])},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.init=function(){},n.prototype.play=function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0},n.prototype.triggerMicrotask=function(){var n=this;Hf((function(){return n._onFinish()}))},n.prototype._onStart=function(){this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[]},n.prototype.pause=function(){},n.prototype.restart=function(){},n.prototype.finish=function(){this._onFinish()},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype.reset=function(){},n.prototype.setPosition=function(n){},n.prototype.getPosition=function(){return 0},n.prototype.triggerCallback=function(n){var l="start"==n?this._onStartFns:this._onDoneFns;l.forEach((function(n){return n()})),l.length=0},n}(),Wf=function(){function n(n){var l=this;this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;var e=0,t=0,i=0,a=this.players.length;0==a?Hf((function(){return l._onFinish()})):this.players.forEach((function(n){n.onDone((function(){++e==a&&l._onFinish()})),n.onDestroy((function(){++t==a&&l._onDestroy()})),n.onStart((function(){++i==a&&l._onStart()}))})),this.totalTime=this.players.reduce((function(n,l){return Math.max(n,l.totalTime)}),0)}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[])},n.prototype.init=function(){this.players.forEach((function(n){return n.init()}))},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype._onStart=function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[])},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(n){return n.play()}))},n.prototype.pause=function(){this.players.forEach((function(n){return n.pause()}))},n.prototype.restart=function(){this.players.forEach((function(n){return n.restart()}))},n.prototype.finish=function(){this._onFinish(),this.players.forEach((function(n){return n.finish()}))},n.prototype.destroy=function(){this._onDestroy()},n.prototype._onDestroy=function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(n){return n.destroy()})),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype.reset=function(){this.players.forEach((function(n){return n.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype.setPosition=function(n){var l=n*this.totalTime;this.players.forEach((function(n){var e=n.totalTime?Math.min(1,l/n.totalTime):1;n.setPosition(e)}))},n.prototype.getPosition=function(){var n=0;return this.players.forEach((function(l){var e=l.getPosition();n=Math.min(e,n)})),n},n.prototype.beforeDestroy=function(){this.players.forEach((function(n){n.beforeDestroy&&n.beforeDestroy()}))},n.prototype.triggerCallback=function(n){var l="start"==n?this._onStartFns:this._onDoneFns;l.forEach((function(n){return n()})),l.length=0},n}(),Kf="!";function Yf(n){return null!=n&&""+n!="false"}function Jf(n,l){return void 0===l&&(l=0),Zf(n)?Number(n):l}function Zf(n){return!isNaN(parseFloat(n))&&!isNaN(Number(n))}function Qf(n){return Array.isArray(n)?n:[n]}function Xf(n){return null==n?"":"string"==typeof n?n:n+"px"}function nh(n){return n instanceof Pe?n.nativeElement:n}var lh,eh=27,th=59,ih=186,ah=188;function oh(n){for(var l=[],e=1;e<arguments.length;e++)l[e-1]=arguments[e];return l.length?l.some((function(l){return n[l]})):n.altKey||n.shiftKey||n.ctrlKey||n.metaKey}try{lh="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(KEn){lh=!1}var rh,uh,sh=function(){function n(n){this._platformId=n,this.isBrowser=this._platformId?Bs(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!lh)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}return n.ngInjectableDef=yn({factory:function(){return new n(Bn(fa,8))},token:n,providedIn:"root"}),n}(),ch=function(){return function(){}}(),dh=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function ph(){if(rh)return rh;if("object"!=typeof document||!document)return rh=new Set(dh);var n=document.createElement("input");return rh=new Set(dh.filter((function(l){return n.setAttribute("type",l),n.type===l})))}function mh(n){return function(){if(null==uh&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return uh=!0}}))}finally{uh=uh||!1}return uh}()?n:!!n.capture}var fh,hh,gh=function(){var n={NORMAL:0,NEGATED:1,INVERTED:2};return n[n.NORMAL]="NORMAL",n[n.NEGATED]="NEGATED",n[n.INVERTED]="INVERTED",n}();function bh(){if("object"!=typeof document||!document)return gh.NORMAL;if(!fh){var n=document.createElement("div"),l=n.style;n.dir="rtl",l.height="1px",l.width="1px",l.overflow="auto",l.visibility="hidden",l.pointerEvents="none",l.position="absolute";var e=document.createElement("div"),t=e.style;t.width="2px",t.height="1px",n.appendChild(e),document.body.appendChild(n),fh=gh.NORMAL,0===n.scrollLeft&&(n.scrollLeft=1,fh=0===n.scrollLeft?gh.NEGATED:gh.INVERTED),n.parentNode.removeChild(n)}return fh}function vh(){if(null==hh){var n="undefined"!=typeof document?document.head:null;hh=!(!n||!n.createShadowRoot&&!n.attachShadow)}return hh}var _h=function(){function n(n){this.total=n}return n.prototype.call=function(n,l){return l.subscribe(new yh(n,this.total))},n}(),yh=function(n){function l(l,e){var t=n.call(this,l)||this;return t.total=e,t.count=0,t}return t.__extends(l,n),l.prototype._next=function(n){++this.count>this.total&&this.destination.next(n)},l}(g),wh=function(n){function l(l,e){var t=n.call(this,l,e)||this;return t.scheduler=l,t.work=e,t.pending=!1,t}return t.__extends(l,n),l.prototype.schedule=function(n,l){if(void 0===l&&(l=0),this.closed)return this;this.state=n;var e=this.id,t=this.scheduler;return null!=e&&(this.id=this.recycleAsyncId(t,e,l)),this.pending=!0,this.delay=l,this.id=this.id||this.requestAsyncId(t,this.id,l),this},l.prototype.requestAsyncId=function(n,l,e){return void 0===e&&(e=0),setInterval(n.flush.bind(n,this),e)},l.prototype.recycleAsyncId=function(n,l,e){if(void 0===e&&(e=0),null!==e&&this.delay===e&&!1===this.pending)return l;clearInterval(l)},l.prototype.execute=function(n,l){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var e=this._execute(n,l);if(e)return e;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},l.prototype._execute=function(n,l){var e=!1,t=void 0;try{this.work(n)}catch(i){e=!0,t=!!i&&i||new Error(i)}if(e)return this.unsubscribe(),t},l.prototype._unsubscribe=function(){var n=this.id,l=this.scheduler,e=l.actions,t=e.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==t&&e.splice(t,1),null!=n&&(this.id=this.recycleAsyncId(l,n,null)),this.delay=null},l}(function(n){function l(l,e){return n.call(this)||this}return t.__extends(l,n),l.prototype.schedule=function(n,l){return void 0===l&&(l=0),this},l}(s)),xh=function(){function n(l,e){void 0===e&&(e=n.now),this.SchedulerAction=l,this.now=e}return n.prototype.schedule=function(n,l,e){return void 0===l&&(l=0),new this.SchedulerAction(this,n).schedule(e,l)},n.now=function(){return Date.now()},n}(),Ch=function(n){function l(e,t){void 0===t&&(t=xh.now);var i=n.call(this,e,(function(){return l.delegate&&l.delegate!==i?l.delegate.now():t()}))||this;return i.actions=[],i.active=!1,i.scheduled=void 0,i}return t.__extends(l,n),l.prototype.schedule=function(e,t,i){return void 0===t&&(t=0),l.delegate&&l.delegate!==this?l.delegate.schedule(e,t,i):n.prototype.schedule.call(this,e,t,i)},l.prototype.flush=function(n){var l=this.actions;if(this.active)l.push(n);else{var e;this.active=!0;do{if(e=n.execute(n.state,n.delay))break}while(n=l.shift());if(this.active=!1,e){for(;n=l.shift();)n.unsubscribe();throw e}}},l}(xh),kh=new Ch(wh);function Sh(n,l){return void 0===l&&(l=kh),function(e){return e.lift(new Ih(n,l))}}var Ih=function(){function n(n,l){this.dueTime=n,this.scheduler=l}return n.prototype.call=function(n,l){return l.subscribe(new Ah(n,this.dueTime,this.scheduler))},n}(),Ah=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.dueTime=e,i.scheduler=t,i.debouncedSubscription=null,i.lastValue=null,i.hasValue=!1,i}return t.__extends(l,n),l.prototype._next=function(n){this.clearDebounce(),this.lastValue=n,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(Mh,this.dueTime,this))},l.prototype._complete=function(){this.debouncedNext(),this.destination.complete()},l.prototype.debouncedNext=function(){if(this.clearDebounce(),this.hasValue){var n=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(n)}},l.prototype.clearDebounce=function(){var n=this.debouncedSubscription;null!==n&&(this.remove(n),n.unsubscribe(),this.debouncedSubscription=null)},l}(g);function Mh(n){n.debouncedNext()}function Ph(n){return function(l){return l.lift(new Fh(n))}}var Dh,Fh=function(){function n(n){this.notifier=n}return n.prototype.call=function(n,l){var e=new Eh(n),t=j(e,this.notifier);return t&&!e.seenValue?(e.add(t),l.subscribe(e)):e},n}(),Eh=function(n){function l(l){var e=n.call(this,l)||this;return e.seenValue=!1,e}return t.__extends(l,n),l.prototype.notifyNext=function(n,l,e,t,i){this.seenValue=!0,this.complete()},l.prototype.notifyComplete=function(){},l}(V),Oh=new Set,Th=function(){function n(n){this._platform=n,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):Lh}return n.prototype.matchMedia=function(n){return this._platform.WEBKIT&&function(n){if(!Oh.has(n))try{Dh||((Dh=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(Dh)),Dh.sheet&&(Dh.sheet.insertRule("@media "+n+" {.fx-query-test{ }}",0),Oh.add(n))}catch(l){console.error(l)}}(n),this._matchMedia(n)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(sh))},token:n,providedIn:"root"}),n}();function Lh(n){return{matches:"all"===n||""===n,media:n,addListener:function(){},removeListener:function(){}}}var Rh=function(){function n(n,l){this._mediaMatcher=n,this._zone=l,this._queries=new Map,this._destroySubject=new M}return n.prototype.ngOnDestroy=function(){this._destroySubject.next(),this._destroySubject.complete()},n.prototype.isMatched=function(n){var l=this;return Nh(Qf(n)).some((function(n){return l._registerQuery(n).mql.matches}))},n.prototype.observe=function(n){var l=this,e=Js(Nh(Qf(n)).map((function(n){return l._registerQuery(n).observable})));return(e=Mc(e.pipe(_c(1)),e.pipe((function(n){return n.lift(new _h(1))}),Sh(0)))).pipe(q((function(n){var l={matches:!1,breakpoints:{}};return n.forEach((function(n){l.matches=l.matches||n.matches,l.breakpoints[n.query]=n.matches})),l})))},n.prototype._registerQuery=function(n){var l=this;if(this._queries.has(n))return this._queries.get(n);var e=this._mediaMatcher.matchMedia(n),t={observable:new x((function(n){var t=function(e){return l._zone.run((function(){return n.next(e)}))};return e.addListener(t),function(){e.removeListener(t)}})).pipe(Pc(e),q((function(l){return{query:n,matches:l.matches}})),Ph(this._destroySubject)),mql:e};return this._queries.set(n,t),t},n.ngInjectableDef=yn({factory:function(){return new n(Bn(Th),Bn(La))},token:n,providedIn:"root"}),n}();function Nh(n){return n.map((function(n){return n.split(",")})).reduce((function(n,l){return n.concat(l)})).map((function(n){return n.trim()}))}var jh={XSmall:"(max-width: 599.99px)",Small:"(min-width: 600px) and (max-width: 959.99px)",Medium:"(min-width: 960px) and (max-width: 1279.99px)",Large:"(min-width: 1280px) and (max-width: 1919.99px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.99px) and (orientation: portrait), (max-width: 959.99px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.99px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.99px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.99px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.99px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"};function Vh(n,l,e,t){return o(e)&&(t=e,e=void 0),t?Vh(n,l,e).pipe(q((function(n){return i(n)?t.apply(void 0,n):t(n)}))):new x((function(t){!function n(l,e,t,i,a){var o;if(function(n){return n&&"function"==typeof n.addEventListener&&"function"==typeof n.removeEventListener}(l)){var r=l;l.addEventListener(e,t,a),o=function(){return r.removeEventListener(e,t,a)}}else if(function(n){return n&&"function"==typeof n.on&&"function"==typeof n.off}(l)){var u=l;l.on(e,t),o=function(){return u.off(e,t)}}else if(function(n){return n&&"function"==typeof n.addListener&&"function"==typeof n.removeListener}(l)){var s=l;l.addListener(e,t),o=function(){return s.removeListener(e,t)}}else{if(!l||!l.length)throw new TypeError("Invalid event target");for(var c=0,d=l.length;c<d;c++)n(l[c],e,t,i,a)}i.add(o)}(n,l,(function(n){t.next(arguments.length>1?Array.prototype.slice.call(arguments):n)}),t,e)}))}var qh=function(n){function l(l,e){var t=n.call(this,l,e)||this;return t.scheduler=l,t.work=e,t}return t.__extends(l,n),l.prototype.requestAsyncId=function(l,e,t){return void 0===t&&(t=0),null!==t&&t>0?n.prototype.requestAsyncId.call(this,l,e,t):(l.actions.push(this),l.scheduled||(l.scheduled=requestAnimationFrame((function(){return l.flush(null)}))))},l.prototype.recycleAsyncId=function(l,e,t){if(void 0===t&&(t=0),null!==t&&t>0||null===t&&this.delay>0)return n.prototype.recycleAsyncId.call(this,l,e,t);0===l.actions.length&&(cancelAnimationFrame(e),l.scheduled=void 0)},l}(wh),zh=new(function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return t.__extends(l,n),l.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var l,e=this.actions,t=-1,i=e.length;n=n||e.shift();do{if(l=n.execute(n.state,n.delay))break}while(++t<i&&(n=e.shift()));if(this.active=!1,l){for(;++t<i&&(n=e.shift());)n.unsubscribe();throw l}},l}(Ch))(qh),Uh=1,Bh={},$h=function(n){function l(l,e){var t=n.call(this,l,e)||this;return t.scheduler=l,t.work=e,t}return t.__extends(l,n),l.prototype.requestAsyncId=function(l,e,t){return void 0===t&&(t=0),null!==t&&t>0?n.prototype.requestAsyncId.call(this,l,e,t):(l.actions.push(this),l.scheduled||(l.scheduled=(i=l.flush.bind(l,null),a=Uh++,Bh[a]=i,Promise.resolve().then((function(){return function(n){var l=Bh[n];l&&l()}(a)})),a)));var i,a},l.prototype.recycleAsyncId=function(l,e,t){if(void 0===t&&(t=0),null!==t&&t>0||null===t&&this.delay>0)return n.prototype.recycleAsyncId.call(this,l,e,t);0===l.actions.length&&(delete Bh[e],l.scheduled=void 0)},l}(wh),Hh=new(function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return t.__extends(l,n),l.prototype.flush=function(n){this.active=!0,this.scheduled=void 0;var l,e=this.actions,t=-1,i=e.length;n=n||e.shift();do{if(l=n.execute(n.state,n.delay))break}while(++t<i&&(n=e.shift()));if(this.active=!1,l){for(;++t<i&&(n=e.shift());)n.unsubscribe();throw l}},l}(Ch))($h);function Gh(n,l){return function(e){return e.lift(new Wh(n,l))}}var Wh=function(){function n(n,l){this.compare=n,this.keySelector=l}return n.prototype.call=function(n,l){return l.subscribe(new Kh(n,this.compare,this.keySelector))},n}(),Kh=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.keySelector=t,i.hasKey=!1,"function"==typeof e&&(i.compare=e),i}return t.__extends(l,n),l.prototype.compare=function(n,l){return n===l},l.prototype._next=function(n){var l;try{var e=this.keySelector;l=e?e(n):n}catch(i){return this.destination.error(i)}var t=!1;if(this.hasKey)try{t=(0,this.compare)(this.key,l)}catch(i){return this.destination.error(i)}else this.hasKey=!0;t||(this.key=l,this.destination.next(n))},l}(g),Yh=function(){function n(n){this.durationSelector=n}return n.prototype.call=function(n,l){return l.subscribe(new Jh(n,this.durationSelector))},n}(),Jh=function(n){function l(l,e){var t=n.call(this,l)||this;return t.durationSelector=e,t.hasValue=!1,t}return t.__extends(l,n),l.prototype._next=function(n){if(this.value=n,this.hasValue=!0,!this.throttled){var l=void 0;try{l=(0,this.durationSelector)(n)}catch(t){return this.destination.error(t)}var e=j(this,l);!e||e.closed?this.clearThrottle():this.add(this.throttled=e)}},l.prototype.clearThrottle=function(){var n=this.value,l=this.hasValue,e=this.throttled;e&&(this.remove(e),this.throttled=null,e.unsubscribe()),l&&(this.value=null,this.hasValue=!1,this.destination.next(n))},l.prototype.notifyNext=function(n,l,e,t){this.clearThrottle()},l.prototype.notifyComplete=function(){this.clearThrottle()},l}(V);function Zh(n){return!i(n)&&n-parseFloat(n)+1>=0}function Qh(n,l,e){void 0===n&&(n=0);var t=-1;return Zh(l)?t=Number(l)<1?1:Number(l):D(l)&&(e=l),D(e)||(e=kh),new x((function(l){var i=Zh(n)?n:+n-e.now();return e.schedule(Xh,i,{index:0,period:t,subscriber:l})}))}function Xh(n){var l=n.index,e=n.period,t=n.subscriber;if(t.next(l),!t.closed){if(-1===e)return t.complete();n.index=l+1,this.schedule(n,e)}}function ng(n,l){return void 0===l&&(l=kh),e=function(){return Qh(n,l)},function(n){return n.lift(new Yh(e))};var e}var lg=function(){function n(){}return n.prototype.call=function(n,l){return l.subscribe(new eg(n))},n}(),eg=function(n){function l(l){var e=n.call(this,l)||this;return e.hasPrev=!1,e}return t.__extends(l,n),l.prototype._next=function(n){var l;this.hasPrev?l=[this.prev,n]:this.hasPrev=!0,this.prev=n,l&&this.destination.next(l)},l}(g),tg=function(n){function l(l,e){var t=n.call(this,l,e)||this;return t.scheduler=l,t.work=e,t}return t.__extends(l,n),l.prototype.schedule=function(l,e){return void 0===e&&(e=0),e>0?n.prototype.schedule.call(this,l,e):(this.delay=e,this.state=l,this.scheduler.flush(this),this)},l.prototype.execute=function(l,e){return e>0||this.closed?n.prototype.execute.call(this,l,e):this._execute(l,e)},l.prototype.requestAsyncId=function(l,e,t){return void 0===t&&(t=0),null!==t&&t>0||null===t&&this.delay>0?n.prototype.requestAsyncId.call(this,l,e,t):l.flush(this)},l}(wh),ig=new(function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return t.__extends(l,n),l}(Ch))(tg);function ag(n,l){return new x(l?function(e){return l.schedule(og,0,{error:n,subscriber:e})}:function(l){return l.error(n)})}function og(n){n.subscriber.error(n.error)}var rg=function(){function n(n,l,e){this.kind=n,this.value=l,this.error=e,this.hasValue="N"===n}return n.prototype.observe=function(n){switch(this.kind){case"N":return n.next&&n.next(this.value);case"E":return n.error&&n.error(this.error);case"C":return n.complete&&n.complete()}},n.prototype.do=function(n,l,e){switch(this.kind){case"N":return n&&n(this.value);case"E":return l&&l(this.error);case"C":return e&&e()}},n.prototype.accept=function(n,l,e){return n&&"function"==typeof n.next?this.observe(n):this.do(n,l,e)},n.prototype.toObservable=function(){switch(this.kind){case"N":return lu(this.value);case"E":return ag(this.error);case"C":return nc()}throw new Error("unexpected notification kind value")},n.createNext=function(l){return void 0!==l?new n("N",l):n.undefinedValueNotification},n.createError=function(l){return new n("E",void 0,l)},n.createComplete=function(){return n.completeNotification},n.completeNotification=new n("C"),n.undefinedValueNotification=new n("N",void 0),n}(),ug=function(n){function l(l,e,t){void 0===t&&(t=0);var i=n.call(this,l)||this;return i.scheduler=e,i.delay=t,i}return t.__extends(l,n),l.dispatch=function(n){n.notification.observe(n.destination),this.unsubscribe()},l.prototype.scheduleMessage=function(n){this.destination.add(this.scheduler.schedule(l.dispatch,this.delay,new sg(n,this.destination)))},l.prototype._next=function(n){this.scheduleMessage(rg.createNext(n))},l.prototype._error=function(n){this.scheduleMessage(rg.createError(n)),this.unsubscribe()},l.prototype._complete=function(){this.scheduleMessage(rg.createComplete()),this.unsubscribe()},l}(g),sg=function(){return function(n,l){this.notification=n,this.destination=l}}(),cg=function(n){function l(l,e,t){void 0===l&&(l=Number.POSITIVE_INFINITY),void 0===e&&(e=Number.POSITIVE_INFINITY);var i=n.call(this)||this;return i.scheduler=t,i._events=[],i._infiniteTimeWindow=!1,i._bufferSize=l<1?1:l,i._windowTime=e<1?1:e,e===Number.POSITIVE_INFINITY?(i._infiniteTimeWindow=!0,i.next=i.nextInfiniteTimeWindow):i.next=i.nextTimeWindow,i}return t.__extends(l,n),l.prototype.nextInfiniteTimeWindow=function(l){var e=this._events;e.push(l),e.length>this._bufferSize&&e.shift(),n.prototype.next.call(this,l)},l.prototype.nextTimeWindow=function(l){this._events.push(new dg(this._getNow(),l)),this._trimBufferThenGetEvents(),n.prototype.next.call(this,l)},l.prototype._subscribe=function(n){var l,e=this._infiniteTimeWindow,t=e?this._events:this._trimBufferThenGetEvents(),i=this.scheduler,a=t.length;if(this.closed)throw new S;if(this.isStopped||this.hasError?l=s.EMPTY:(this.observers.push(n),l=new I(this,n)),i&&n.add(n=new ug(n,i)),e)for(var o=0;o<a&&!n.closed;o++)n.next(t[o]);else for(o=0;o<a&&!n.closed;o++)n.next(t[o].value);return this.hasError?n.error(this.thrownError):this.isStopped&&n.complete(),l},l.prototype._getNow=function(){return(this.scheduler||ig).now()},l.prototype._trimBufferThenGetEvents=function(){for(var n=this._getNow(),l=this._bufferSize,e=this._windowTime,t=this._events,i=t.length,a=0;a<i&&!(n-t[a].time<e);)a++;return i>l&&(a=Math.max(a,i-l)),a>0&&t.splice(0,a),t},l}(M),dg=function(){return function(n,l){this.time=n,this.value=l}}(),pg=function(){return function(){}}();function mg(n){return n&&"function"==typeof n.connect}var fg=function(n){function l(l){var e=n.call(this)||this;return e._data=l,e}return Object(t.__extends)(l,n),l.prototype.connect=function(){return this._data instanceof x?this._data:lu(this._data)},l.prototype.disconnect=function(){},l}(pg),hg=function(){function n(n,l,e){var t=this;void 0===n&&(n=!1),void 0===e&&(e=!0),this._multiple=n,this._emitChanges=e,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new M,this.onChange=this.changed,l&&l.length&&(n?l.forEach((function(n){return t._markSelected(n)})):this._markSelected(l[0]),this._selectedToEmit.length=0)}return Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected},enumerable:!0,configurable:!0}),n.prototype.select=function(){for(var n=this,l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];this._verifyValueAssignment(l),l.forEach((function(l){return n._markSelected(l)})),this._emitChangeEvent()},n.prototype.deselect=function(){for(var n=this,l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];this._verifyValueAssignment(l),l.forEach((function(l){return n._unmarkSelected(l)})),this._emitChangeEvent()},n.prototype.toggle=function(n){this.isSelected(n)?this.deselect(n):this.select(n)},n.prototype.clear=function(){this._unmarkAll(),this._emitChangeEvent()},n.prototype.isSelected=function(n){return this._selection.has(n)},n.prototype.isEmpty=function(){return 0===this._selection.size},n.prototype.hasValue=function(){return!this.isEmpty()},n.prototype.sort=function(n){this._multiple&&this.selected&&this._selected.sort(n)},n.prototype.isMultipleSelection=function(){return this._multiple},n.prototype._emitChangeEvent=function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])},n.prototype._markSelected=function(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))},n.prototype._unmarkSelected=function(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))},n.prototype._unmarkAll=function(){var n=this;this.isEmpty()||this._selection.forEach((function(l){return n._unmarkSelected(l)}))},n.prototype._verifyValueAssignment=function(n){if(n.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")},n}(),gg=function(){function n(){this._listeners=[]}return n.prototype.notify=function(n,l){for(var e=0,t=this._listeners;e<t.length;e++)(0,t[e])(n,l)},n.prototype.listen=function(n){var l=this;return this._listeners.push(n),function(){l._listeners=l._listeners.filter((function(l){return n!==l}))}},n.prototype.ngOnDestroy=function(){this._listeners=[]},n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),bg=new On("VIRTUAL_SCROLL_STRATEGY"),vg=function(){function n(n,l,e){this._scrolledIndexChange=new M,this.scrolledIndexChange=this._scrolledIndexChange.pipe(Gh()),this._viewport=null,this._itemSize=n,this._minBufferPx=l,this._maxBufferPx=e}return n.prototype.attach=function(n){this._viewport=n,this._updateTotalContentSize(),this._updateRenderedRange()},n.prototype.detach=function(){this._scrolledIndexChange.complete(),this._viewport=null},n.prototype.updateItemAndBufferSize=function(n,l,e){if(e<l)throw Error("CDK virtual scroll: maxBufferPx must be greater than or equal to minBufferPx");this._itemSize=n,this._minBufferPx=l,this._maxBufferPx=e,this._updateTotalContentSize(),this._updateRenderedRange()},n.prototype.onContentScrolled=function(){this._updateRenderedRange()},n.prototype.onDataLengthChanged=function(){this._updateTotalContentSize(),this._updateRenderedRange()},n.prototype.onContentRendered=function(){},n.prototype.onRenderedOffsetChanged=function(){},n.prototype.scrollToIndex=function(n,l){this._viewport&&this._viewport.scrollToOffset(n*this._itemSize,l)},n.prototype._updateTotalContentSize=function(){this._viewport&&this._viewport.setTotalContentSize(this._viewport.getDataLength()*this._itemSize)},n.prototype._updateRenderedRange=function(){if(this._viewport){var n=this._viewport.measureScrollOffset(),l=n/this._itemSize,e=this._viewport.getRenderedRange(),t={start:e.start,end:e.end},i=this._viewport.getViewportSize(),a=this._viewport.getDataLength(),o=n-t.start*this._itemSize;if(o<this._minBufferPx&&0!=t.start){var r=Math.ceil((this._maxBufferPx-o)/this._itemSize);t.start=Math.max(0,t.start-r),t.end=Math.min(a,Math.ceil(l+(i+this._minBufferPx)/this._itemSize))}else{var u=t.end*this._itemSize-(n+i);if(u<this._minBufferPx&&t.end!=a){var s=Math.ceil((this._maxBufferPx-u)/this._itemSize);s>0&&(t.end=Math.min(a,t.end+s),t.start=Math.max(0,Math.floor(l-this._minBufferPx/this._itemSize)))}}this._viewport.setRenderedRange(t),this._viewport.setRenderedContentOffset(this._itemSize*t.start),this._scrolledIndexChange.next(Math.floor(l))}},n}();function _g(n){return n._scrollStrategy}var yg=function(){function n(){this._itemSize=20,this._minBufferPx=100,this._maxBufferPx=200,this._scrollStrategy=new vg(this.itemSize,this.minBufferPx,this.maxBufferPx)}return Object.defineProperty(n.prototype,"itemSize",{get:function(){return this._itemSize},set:function(n){this._itemSize=Jf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"minBufferPx",{get:function(){return this._minBufferPx},set:function(n){this._minBufferPx=Jf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxBufferPx",{get:function(){return this._maxBufferPx},set:function(n){this._maxBufferPx=Jf(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(){this._scrollStrategy.updateItemAndBufferSize(this.itemSize,this.minBufferPx,this.maxBufferPx)},n}(),wg=function(){function n(n,l){this._ngZone=n,this._platform=l,this._scrolled=new M,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map}return n.prototype.register=function(n){var l=this;this.scrollContainers.has(n)||this.scrollContainers.set(n,n.elementScrolled().subscribe((function(){return l._scrolled.next(n)})))},n.prototype.deregister=function(n){var l=this.scrollContainers.get(n);l&&(l.unsubscribe(),this.scrollContainers.delete(n))},n.prototype.scrolled=function(n){var l=this;return void 0===n&&(n=20),this._platform.isBrowser?new x((function(e){l._globalSubscription||l._addGlobalListener();var t=n>0?l._scrolled.pipe(ng(n)).subscribe(e):l._scrolled.subscribe(e);return l._scrolledCount++,function(){t.unsubscribe(),l._scrolledCount--,l._scrolledCount||l._removeGlobalListener()}})):lu()},n.prototype.ngOnDestroy=function(){var n=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(l,e){return n.deregister(e)})),this._scrolled.complete()},n.prototype.ancestorScrolled=function(n,l){var e=this.getAncestorScrollContainers(n);return this.scrolled(l).pipe(tc((function(n){return!n||e.indexOf(n)>-1})))},n.prototype.getAncestorScrollContainers=function(n){var l=this,e=[];return this.scrollContainers.forEach((function(t,i){l._scrollableContainsElement(i,n)&&e.push(i)})),e},n.prototype._scrollableContainsElement=function(n,l){var e=l.nativeElement,t=n.getElementRef().nativeElement;do{if(e==t)return!0}while(e=e.parentElement);return!1},n.prototype._addGlobalListener=function(){var n=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Vh(window.document,"scroll").subscribe((function(){return n._scrolled.next()}))}))},n.prototype._removeGlobalListener=function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(La),Bn(sh))},token:n,providedIn:"root"}),n}(),xg=function(){function n(n,l,e,t){var i=this;this.elementRef=n,this.scrollDispatcher=l,this.ngZone=e,this.dir=t,this._destroyed=new M,this._elementScrolled=new x((function(n){return i.ngZone.runOutsideAngular((function(){return Vh(i.elementRef.nativeElement,"scroll").pipe(Ph(i._destroyed)).subscribe(n)}))}))}return n.prototype.ngOnInit=function(){this.scrollDispatcher.register(this)},n.prototype.ngOnDestroy=function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()},n.prototype.elementScrolled=function(){return this._elementScrolled},n.prototype.getElementRef=function(){return this.elementRef},n.prototype.scrollTo=function(n){var l=this.elementRef.nativeElement,e=this.dir&&"rtl"==this.dir.value;n.left=null==n.left?e?n.end:n.start:n.left,n.right=null==n.right?e?n.start:n.end:n.right,null!=n.bottom&&(n.top=l.scrollHeight-l.clientHeight-n.bottom),e&&bh()!=gh.NORMAL?(null!=n.left&&(n.right=l.scrollWidth-l.clientWidth-n.left),bh()==gh.INVERTED?n.left=n.right:bh()==gh.NEGATED&&(n.left=n.right?-n.right:n.right)):null!=n.right&&(n.left=l.scrollWidth-l.clientWidth-n.right),this._applyScrollToOptions(n)},n.prototype._applyScrollToOptions=function(n){var l=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?l.scrollTo(n):(null!=n.top&&(l.scrollTop=n.top),null!=n.left&&(l.scrollLeft=n.left))},n.prototype.measureScrollOffset=function(n){var l=this.elementRef.nativeElement;if("top"==n)return l.scrollTop;if("bottom"==n)return l.scrollHeight-l.clientHeight-l.scrollTop;var e=this.dir&&"rtl"==this.dir.value;return"start"==n?n=e?"right":"left":"end"==n&&(n=e?"left":"right"),e&&bh()==gh.INVERTED?"left"==n?l.scrollWidth-l.clientWidth-l.scrollLeft:l.scrollLeft:e&&bh()==gh.NEGATED?"left"==n?l.scrollLeft+l.scrollWidth-l.clientWidth:-l.scrollLeft:"left"==n?l.scrollLeft:l.scrollWidth-l.clientWidth-l.scrollLeft},n}(),Cg="undefined"!=typeof requestAnimationFrame?zh:Hh,kg=function(n){function l(l,e,t,i,a,o){var r=n.call(this,l,o,t,a)||this;if(r.elementRef=l,r._changeDetectorRef=e,r._scrollStrategy=i,r._detachedSubject=new M,r._renderedRangeSubject=new M,r._orientation="vertical",r.scrolledIndexChange=new x((function(n){return r._scrollStrategy.scrolledIndexChange.subscribe((function(l){return Promise.resolve().then((function(){return r.ngZone.run((function(){return n.next(l)}))}))}))})),r.renderedRangeStream=r._renderedRangeSubject.asObservable(),r._totalContentSize=0,r._totalContentWidth="",r._totalContentHeight="",r._renderedRange={start:0,end:0},r._dataLength=0,r._viewportSize=0,r._renderedContentOffset=0,r._renderedContentOffsetNeedsRewrite=!1,r._isChangeDetectionPending=!1,r._runAfterChangeDetection=[],!i)throw Error('Error: cdk-virtual-scroll-viewport requires the "itemSize" property to be set.');return r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"orientation",{get:function(){return this._orientation},set:function(n){this._orientation!==n&&(this._orientation=n,this._calculateSpacerSize())},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){var l=this;n.prototype.ngOnInit.call(this),this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){l._measureViewportSize(),l._scrollStrategy.attach(l),l.elementScrolled().pipe(Pc(null),ng(0,Cg)).subscribe((function(){return l._scrollStrategy.onContentScrolled()})),l._markChangeDetectionNeeded()}))}))},l.prototype.ngOnDestroy=function(){this.detach(),this._scrollStrategy.detach(),this._renderedRangeSubject.complete(),this._detachedSubject.complete(),n.prototype.ngOnDestroy.call(this)},l.prototype.attach=function(n){var l=this;if(this._forOf)throw Error("CdkVirtualScrollViewport is already attached.");this.ngZone.runOutsideAngular((function(){l._forOf=n,l._forOf.dataStream.pipe(Ph(l._detachedSubject)).subscribe((function(n){var e=n.length;e!==l._dataLength&&(l._dataLength=e,l._scrollStrategy.onDataLengthChanged()),l._doChangeDetection()}))}))},l.prototype.detach=function(){this._forOf=null,this._detachedSubject.next()},l.prototype.getDataLength=function(){return this._dataLength},l.prototype.getViewportSize=function(){return this._viewportSize},l.prototype.getRenderedRange=function(){return this._renderedRange},l.prototype.setTotalContentSize=function(n){this._totalContentSize!==n&&(this._totalContentSize=n,this._calculateSpacerSize(),this._markChangeDetectionNeeded())},l.prototype.setRenderedRange=function(n){var l,e,t=this;((l=this._renderedRange).start!=(e=n).start||l.end!=e.end)&&(this._renderedRangeSubject.next(this._renderedRange=n),this._markChangeDetectionNeeded((function(){return t._scrollStrategy.onContentRendered()})))},l.prototype.getOffsetToRenderedContentStart=function(){return this._renderedContentOffsetNeedsRewrite?null:this._renderedContentOffset},l.prototype.setRenderedContentOffset=function(n,l){var e=this;void 0===l&&(l="to-start");var t="horizontal"==this.orientation,i=t?"X":"Y",a="translate"+i+"("+Number((t&&this.dir&&"rtl"==this.dir.value?-1:1)*n)+"px)";this._renderedContentOffset=n,"to-end"===l&&(a+=" translate"+i+"(-100%)",this._renderedContentOffsetNeedsRewrite=!0),this._renderedContentTransform!=a&&(this._renderedContentTransform=a,this._markChangeDetectionNeeded((function(){e._renderedContentOffsetNeedsRewrite?(e._renderedContentOffset-=e.measureRenderedContentSize(),e._renderedContentOffsetNeedsRewrite=!1,e.setRenderedContentOffset(e._renderedContentOffset)):e._scrollStrategy.onRenderedOffsetChanged()})))},l.prototype.scrollToOffset=function(n,l){void 0===l&&(l="auto");var e={behavior:l};"horizontal"===this.orientation?e.start=n:e.top=n,this.scrollTo(e)},l.prototype.scrollToIndex=function(n,l){void 0===l&&(l="auto"),this._scrollStrategy.scrollToIndex(n,l)},l.prototype.measureScrollOffset=function(l){return n.prototype.measureScrollOffset.call(this,l||("horizontal"===this.orientation?"start":"top"))},l.prototype.measureRenderedContentSize=function(){var n=this._contentWrapper.nativeElement;return"horizontal"===this.orientation?n.offsetWidth:n.offsetHeight},l.prototype.measureRangeSize=function(n){return this._forOf?this._forOf.measureRangeSize(n,this.orientation):0},l.prototype.checkViewportSize=function(){this._measureViewportSize(),this._scrollStrategy.onDataLengthChanged()},l.prototype._measureViewportSize=function(){var n=this.elementRef.nativeElement;this._viewportSize="horizontal"===this.orientation?n.clientWidth:n.clientHeight},l.prototype._markChangeDetectionNeeded=function(n){var l=this;n&&this._runAfterChangeDetection.push(n),this._isChangeDetectionPending||(this._isChangeDetectionPending=!0,this.ngZone.runOutsideAngular((function(){return Promise.resolve().then((function(){l._doChangeDetection()}))})))},l.prototype._doChangeDetection=function(){var n=this;this._isChangeDetectionPending=!1,this.ngZone.run((function(){return n._changeDetectorRef.markForCheck()})),this._contentWrapper.nativeElement.style.transform=this._renderedContentTransform;var l=this._runAfterChangeDetection;this._runAfterChangeDetection=[];for(var e=0,t=l;e<t.length;e++)(0,t[e])()},l.prototype._calculateSpacerSize=function(){this._totalContentHeight="horizontal"===this.orientation?"":this._totalContentSize+"px",this._totalContentWidth="horizontal"===this.orientation?this._totalContentSize+"px":""},l}(xg);function Sg(n,l){if(!l.getBoundingClientRect)return 0;var e=l.getBoundingClientRect();return"horizontal"==n?e.width:e.height}var Ig=function(){function n(n,l,e,t,i){var a,o=this;this._viewContainerRef=n,this._template=l,this._differs=e,this._viewport=t,this.viewChange=new M,this._dataSourceChanges=new M,this.cdkVirtualForTemplateCacheSize=20,this.dataStream=this._dataSourceChanges.pipe(Pc(null),(function(n){return n.lift(new lg)}),Sc((function(n){return o._changeDataSource(n[0],n[1])})),(1,a={bufferSize:1,windowTime:void 0,refCount:!1,scheduler:void 0},function(n){return n.lift(function(n){var l,e,t=n.bufferSize,i=void 0===t?Number.POSITIVE_INFINITY:t,a=n.windowTime,o=void 0===a?Number.POSITIVE_INFINITY:a,r=n.refCount,u=n.scheduler,s=0,c=!1,d=!1;return function(n){s++,l&&!c||(c=!1,l=new cg(i,o,u),e=n.subscribe({next:function(n){l.next(n)},error:function(n){c=!0,l.error(n)},complete:function(){d=!0,l.complete()}}));var t=l.subscribe(this);this.add((function(){s--,t.unsubscribe(),e&&!d&&r&&0===s&&(e.unsubscribe(),e=void 0,l=void 0)}))}}(a))})),this._differ=null,this._templateCache=[],this._needsUpdate=!1,this._destroyed=new M,this.dataStream.subscribe((function(n){o._data=n,o._onRenderedDataChange()})),this._viewport.renderedRangeStream.pipe(Ph(this._destroyed)).subscribe((function(n){o._renderedRange=n,i.run((function(){return o.viewChange.next(o._renderedRange)})),o._onRenderedDataChange()})),this._viewport.attach(this)}return Object.defineProperty(n.prototype,"cdkVirtualForOf",{get:function(){return this._cdkVirtualForOf},set:function(n){this._cdkVirtualForOf=n;var l=mg(n)?n:new fg(n instanceof x?n:Array.prototype.slice.call(n||[]));this._dataSourceChanges.next(l)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cdkVirtualForTrackBy",{get:function(){return this._cdkVirtualForTrackBy},set:function(n){var l=this;this._needsUpdate=!0,this._cdkVirtualForTrackBy=n?function(e,t){return n(e+(l._renderedRange?l._renderedRange.start:0),t)}:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"cdkVirtualForTemplate",{set:function(n){n&&(this._needsUpdate=!0,this._template=n)},enumerable:!0,configurable:!0}),n.prototype.measureRangeSize=function(n,l){if(n.start>=n.end)return 0;if(n.start<this._renderedRange.start||n.end>this._renderedRange.end)throw Error("Error: attempted to measure an item that isn't rendered.");for(var e=n.start-this._renderedRange.start,t=0,i=n.end-n.start;i--;)for(var a=this._viewContainerRef.get(i+e),o=a?a.rootNodes.length:0;o--;)t+=Sg(l,a.rootNodes[o]);return t},n.prototype.ngDoCheck=function(){if(this._differ&&this._needsUpdate){var n=this._differ.diff(this._renderedItems);n?this._applyChanges(n):this._updateContext(),this._needsUpdate=!1}},n.prototype.ngOnDestroy=function(){this._viewport.detach(),this._dataSourceChanges.next(),this._dataSourceChanges.complete(),this.viewChange.complete(),this._destroyed.next(),this._destroyed.complete();for(var n=0,l=this._templateCache;n<l.length;n++)l[n].destroy()},n.prototype._onRenderedDataChange=function(){this._renderedRange&&(this._renderedItems=this._data.slice(this._renderedRange.start,this._renderedRange.end),this._differ||(this._differ=this._differs.find(this._renderedItems).create(this.cdkVirtualForTrackBy)),this._needsUpdate=!0)},n.prototype._changeDataSource=function(n,l){return n&&n.disconnect(this),this._needsUpdate=!0,l?l.connect(this):lu()},n.prototype._updateContext=function(){for(var n=this._data.length,l=this._viewContainerRef.length;l--;){var e=this._viewContainerRef.get(l);e.context.index=this._renderedRange.start+l,e.context.count=n,this._updateComputedContextProperties(e.context),e.detectChanges()}},n.prototype._applyChanges=function(n){var l=this;n.forEachOperation((function(n,e,t){if(null==n.previousIndex)(i=l._insertViewForNewItem(t)).context.$implicit=n.item;else if(null==t)l._cacheView(l._detachView(e));else{var i=l._viewContainerRef.get(e);l._viewContainerRef.move(i,t),i.context.$implicit=n.item}})),n.forEachIdentityChange((function(n){l._viewContainerRef.get(n.currentIndex).context.$implicit=n.item}));for(var e=this._data.length,t=this._viewContainerRef.length;t--;){var i=this._viewContainerRef.get(t);i.context.index=this._renderedRange.start+t,i.context.count=e,this._updateComputedContextProperties(i.context)}},n.prototype._cacheView=function(n){if(this._templateCache.length<this.cdkVirtualForTemplateCacheSize)this._templateCache.push(n);else{var l=this._viewContainerRef.indexOf(n);-1===l?n.destroy():this._viewContainerRef.remove(l)}},n.prototype._insertViewForNewItem=function(n){return this._insertViewFromCache(n)||this._createEmbeddedViewAt(n)},n.prototype._updateComputedContextProperties=function(n){n.first=0===n.index,n.last=n.index===n.count-1,n.even=n.index%2==0,n.odd=!n.even},n.prototype._createEmbeddedViewAt=function(n){return this._viewContainerRef.createEmbeddedView(this._template,{$implicit:null,cdkVirtualForOf:this._cdkVirtualForOf,index:-1,count:-1,first:!1,last:!1,odd:!1,even:!1},n)},n.prototype._insertViewFromCache=function(n){var l=this._templateCache.pop();return l&&this._viewContainerRef.insert(l,n),l||null},n.prototype._detachView=function(n){return this._viewContainerRef.detach(n)},n}(),Ag=function(){return function(){}}(),Mg=function(){function n(n,l){var e=this;this._platform=n,l.runOutsideAngular((function(){e._change=n.isBrowser?Z(Vh(window,"resize"),Vh(window,"orientationchange")):lu(),e._invalidateCache=e.change().subscribe((function(){return e._updateViewportSize()}))}))}return n.prototype.ngOnDestroy=function(){this._invalidateCache.unsubscribe()},n.prototype.getViewportSize=function(){this._viewportSize||this._updateViewportSize();var n={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),n},n.prototype.getViewportRect=function(){var n=this.getViewportScrollPosition(),l=this.getViewportSize(),e=l.width,t=l.height;return{top:n.top,left:n.left,bottom:n.top+t,right:n.left+e,height:t,width:e}},n.prototype.getViewportScrollPosition=function(){if(!this._platform.isBrowser)return{top:0,left:0};var n=document.documentElement,l=n.getBoundingClientRect();return{top:-l.top||document.body.scrollTop||window.scrollY||n.scrollTop||0,left:-l.left||document.body.scrollLeft||window.scrollX||n.scrollLeft||0}},n.prototype.change=function(n){return void 0===n&&(n=20),n>0?this._change.pipe(ng(n)):this._change},n.prototype._updateViewportSize=function(){this._viewportSize=this._platform.isBrowser?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0}},n.ngInjectableDef=yn({factory:function(){return new n(Bn(sh),Bn(La))},token:n,providedIn:"root"}),n}(),Pg=function(){function n(n,l){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=l}return n.prototype.attach=function(){},n.prototype.enable=function(){if(this._canBeEnabled()){var n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Xf(-this._previousScrollPosition.left),n.style.top=Xf(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},n.prototype.disable=function(){if(this._isEnabled){var n=this._document.documentElement,l=n.style,e=this._document.body.style,t=l.scrollBehavior||"",i=e.scrollBehavior||"";this._isEnabled=!1,l.left=this._previousHTMLStyles.left,l.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),l.scrollBehavior=e.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),l.scrollBehavior=t,e.scrollBehavior=i}},n.prototype._canBeEnabled=function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var n=this._document.body,l=this._viewportRuler.getViewportSize();return n.scrollHeight>l.height||n.scrollWidth>l.width},n}();function Dg(){return Error("Scroll strategy has already been attached.")}var Fg=function(){function n(n,l,e,t){var i=this;this._scrollDispatcher=n,this._ngZone=l,this._viewportRuler=e,this._config=t,this._scrollSubscription=null,this._detach=function(){i.disable(),i._overlayRef.hasAttached()&&i._ngZone.run((function(){return i._overlayRef.detach()}))}}return n.prototype.attach=function(n){if(this._overlayRef)throw Dg();this._overlayRef=n},n.prototype.enable=function(){var n=this;if(!this._scrollSubscription){var l=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=l.subscribe((function(){var l=n._viewportRuler.getViewportScrollPosition().top;Math.abs(l-n._initialScrollPosition)>n._config.threshold?n._detach():n._overlayRef.updatePosition()}))):this._scrollSubscription=l.subscribe(this._detach)}},n.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},n.prototype.detach=function(){this.disable(),this._overlayRef=null},n}(),Eg=function(){function n(){}return n.prototype.enable=function(){},n.prototype.disable=function(){},n.prototype.attach=function(){},n}();function Og(n,l){return l.some((function(l){return n.bottom<l.top||n.top>l.bottom||n.right<l.left||n.left>l.right}))}function Tg(n,l){return l.some((function(l){return n.top<l.top||n.bottom>l.bottom||n.left<l.left||n.right>l.right}))}var Lg=function(){function n(n,l,e,t){this._scrollDispatcher=n,this._viewportRuler=l,this._ngZone=e,this._config=t,this._scrollSubscription=null}return n.prototype.attach=function(n){if(this._overlayRef)throw Dg();this._overlayRef=n},n.prototype.enable=function(){var n=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe((function(){if(n._overlayRef.updatePosition(),n._config&&n._config.autoClose){var l=n._overlayRef.overlayElement.getBoundingClientRect(),e=n._viewportRuler.getViewportSize(),t=e.width,i=e.height;Og(l,[{width:t,height:i,bottom:i,right:t,top:0,left:0}])&&(n.disable(),n._ngZone.run((function(){return n._overlayRef.detach()})))}})))},n.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},n.prototype.detach=function(){this.disable(),this._overlayRef=null},n}(),Rg=function(){function n(n,l,e,t){var i=this;this._scrollDispatcher=n,this._viewportRuler=l,this._ngZone=e,this.noop=function(){return new Eg},this.close=function(n){return new Fg(i._scrollDispatcher,i._ngZone,i._viewportRuler,n)},this.block=function(){return new Pg(i._viewportRuler,i._document)},this.reposition=function(n){return new Lg(i._scrollDispatcher,i._viewportRuler,i._ngZone,n)},this._document=t}return n.ngInjectableDef=yn({factory:function(){return new n(Bn(wg),Bn(Mg),Bn(La),Bn(qs))},token:n,providedIn:"root"}),n}(),Ng=function(){return function(n){if(this.scrollStrategy=new Eg,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n)for(var l=0,e=Object.keys(n);l<e.length;l++){var t=e[l];void 0!==n[t]&&(this[t]=n[t])}}}(),jg=function(){return function(n,l,e,t,i){this.offsetX=e,this.offsetY=t,this.panelClass=i,this.originX=n.originX,this.originY=n.originY,this.overlayX=l.overlayX,this.overlayY=l.overlayY}}(),Vg=function(){return function(n,l){this.connectionPair=n,this.scrollableViewProperties=l}}();function qg(n,l){if("top"!==l&&"bottom"!==l&&"center"!==l)throw Error("ConnectedPosition: Invalid "+n+' "'+l+'". Expected "top", "bottom" or "center".')}function zg(n,l){if("start"!==l&&"end"!==l&&"center"!==l)throw Error("ConnectedPosition: Invalid "+n+' "'+l+'". Expected "start", "end" or "center".')}var Ug=function(){function n(n){var l=this;this._attachedOverlays=[],this._keydownListener=function(n){for(var e=l._attachedOverlays,t=e.length-1;t>-1;t--)if(e[t]._keydownEventSubscriptions>0){e[t]._keydownEvents.next(n);break}},this._document=n}return n.prototype.ngOnDestroy=function(){this._detach()},n.prototype.add=function(n){this.remove(n),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0),this._attachedOverlays.push(n)},n.prototype.remove=function(n){var l=this._attachedOverlays.indexOf(n);l>-1&&this._attachedOverlays.splice(l,1),0===this._attachedOverlays.length&&this._detach()},n.prototype._detach=function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(qs))},token:n,providedIn:"root"}),n}(),Bg=function(){function n(n){this._document=n}return n.prototype.ngOnDestroy=function(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)},n.prototype.getContainerElement=function(){return this._containerElement||this._createContainer(),this._containerElement},n.prototype._createContainer=function(){for(var n=this._document.getElementsByClassName("cdk-overlay-container"),l=0;l<n.length;l++)n[l].parentNode.removeChild(n[l]);var e=this._document.createElement("div");e.classList.add("cdk-overlay-container"),this._document.body.appendChild(e),this._containerElement=e},n.ngInjectableDef=yn({factory:function(){return new n(Bn(qs))},token:n,providedIn:"root"}),n}(),$g=function(){function n(n,l,e,t,i,a,o,r){var u=this;this._portalOutlet=n,this._host=l,this._pane=e,this._config=t,this._ngZone=i,this._keyboardDispatcher=a,this._document=o,this._location=r,this._backdropElement=null,this._backdropClick=new M,this._attachments=new M,this._detachments=new M,this._locationChanges=s.EMPTY,this._backdropClickHandler=function(n){return u._backdropClick.next(n)},this._keydownEventsObservable=new x((function(n){var l=u._keydownEvents.subscribe(n);return u._keydownEventSubscriptions++,function(){l.unsubscribe(),u._keydownEventSubscriptions--}})),this._keydownEvents=new M,this._keydownEventSubscriptions=0,t.scrollStrategy&&(this._scrollStrategy=t.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=t.positionStrategy}return Object.defineProperty(n.prototype,"overlayElement",{get:function(){return this._pane},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"backdropElement",{get:function(){return this._backdropElement},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hostElement",{get:function(){return this._host},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){var l=this,e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.asObservable().pipe(_c(1)).subscribe((function(){l.hasAttached()&&l.updatePosition()})),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&this._location&&(this._locationChanges=this._location.subscribe((function(){return l.dispose()}))),e},n.prototype.detach=function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),n}},n.prototype.dispose=function(){var n=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,n&&this._detachments.next(),this._detachments.complete()},n.prototype.hasAttached=function(){return this._portalOutlet.hasAttached()},n.prototype.backdropClick=function(){return this._backdropClick.asObservable()},n.prototype.attachments=function(){return this._attachments.asObservable()},n.prototype.detachments=function(){return this._detachments.asObservable()},n.prototype.keydownEvents=function(){return this._keydownEventsObservable},n.prototype.getConfig=function(){return this._config},n.prototype.updatePosition=function(){this._positionStrategy&&this._positionStrategy.apply()},n.prototype.updatePositionStrategy=function(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))},n.prototype.updateSize=function(n){this._config=Object(t.__assign)({},this._config,n),this._updateElementSize()},n.prototype.setDirection=function(n){this._config=Object(t.__assign)({},this._config,{direction:n}),this._updateElementDirection()},n.prototype.addPanelClass=function(n){this._pane&&this._toggleClasses(this._pane,n,!0)},n.prototype.removePanelClass=function(n){this._pane&&this._toggleClasses(this._pane,n,!1)},n.prototype.getDirection=function(){var n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"},n.prototype.updateScrollStrategy=function(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))},n.prototype._updateElementDirection=function(){this._host.setAttribute("dir",this.getDirection())},n.prototype._updateElementSize=function(){if(this._pane){var n=this._pane.style;n.width=Xf(this._config.width),n.height=Xf(this._config.height),n.minWidth=Xf(this._config.minWidth),n.minHeight=Xf(this._config.minHeight),n.maxWidth=Xf(this._config.maxWidth),n.maxHeight=Xf(this._config.maxHeight)}},n.prototype._togglePointerEvents=function(n){this._pane.style.pointerEvents=n?"auto":"none"},n.prototype._attachBackdrop=function(){var n=this;this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),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),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){n._backdropElement&&n._backdropElement.classList.add("cdk-overlay-backdrop-showing")}))})):this._backdropElement.classList.add("cdk-overlay-backdrop-showing")},n.prototype._updateStackingOrder=function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)},n.prototype.detachBackdrop=function(){var n=this,l=this._backdropElement;if(l){var e,t=function(){l&&(l.removeEventListener("click",n._backdropClickHandler),l.removeEventListener("transitionend",t),l.parentNode&&l.parentNode.removeChild(l)),n._backdropElement==l&&(n._backdropElement=null),n._config.backdropClass&&n._toggleClasses(l,n._config.backdropClass,!1),clearTimeout(e)};l.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular((function(){l.addEventListener("transitionend",t)})),l.style.pointerEvents="none",e=this._ngZone.runOutsideAngular((function(){return setTimeout(t,500)}))}},n.prototype._toggleClasses=function(n,l,e){var t=n.classList;Qf(l).forEach((function(n){e?t.add(n):t.remove(n)}))},n.prototype._detachContentWhenStable=function(){var n=this;this._ngZone.runOutsideAngular((function(){var l=n._ngZone.onStable.asObservable().pipe(Ph(Z(n._attachments,n._detachments))).subscribe((function(){n._pane&&n._host&&0!==n._pane.children.length||(n._pane&&n._config.panelClass&&n._toggleClasses(n._pane,n._config.panelClass,!1),n._host&&n._host.parentElement&&(n._previousHostParent=n._host.parentElement,n._previousHostParent.removeChild(n._host)),l.unsubscribe())}))}))},n.prototype._disposeScrollStrategy=function(){var n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())},n}(),Hg=function(){function n(n,l,e,t,i){this._viewportRuler=l,this._document=e,this._platform=t,this._overlayContainer=i,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 M,this._resizeSubscription=s.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges.asObservable(),this.setOrigin(n)}return Object.defineProperty(n.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){var l=this;if(this._overlayRef&&n!==this._overlayRef)throw Error("This position strategy is already attached to an overlay");this._validatePositions(),n.hostElement.classList.add("cdk-overlay-connected-position-bounding-box"),this._overlayRef=n,this._boundingBox=n.hostElement,this._pane=n.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe((function(){l._isInitialRender=!0,l.apply()}))},n.prototype.apply=function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();for(var n,l=this._originRect,e=this._overlayRect,t=this._viewportRect,i=[],a=0,o=this._preferredPositions;a<o.length;a++){var r=o[a],u=this._getOriginPoint(l,r),s=this._getOverlayPoint(u,e,r),c=this._getOverlayFit(s,e,t,r);if(c.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(r,u);this._canFitWithFlexibleDimensions(c,s,t)?i.push({position:r,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,r)}):(!n||n.overlayFit.visibleArea<c.visibleArea)&&(n={overlayFit:c,overlayPoint:s,originPoint:u,position:r,overlayRect:e})}if(i.length){for(var d=null,p=-1,m=0,f=i;m<f.length;m++){var h=f[m],g=h.boundingBoxRect.width*h.boundingBoxRect.height*(h.position.weight||1);g>p&&(p=g,d=h)}return this._isPushed=!1,void this._applyPosition(d.position,d.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(n.position,n.originPoint);this._applyPosition(n.position,n.originPoint)}},n.prototype.detach=function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()},n.prototype.dispose=function(){this._isDisposed||(this._boundingBox&&Gg(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove("cdk-overlay-connected-position-bounding-box"),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)},n.prototype.reapplyLastPosition=function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var n=this._lastPosition||this._preferredPositions[0],l=this._getOriginPoint(this._originRect,n);this._applyPosition(n,l)}},n.prototype.withScrollableContainers=function(n){return this._scrollables=n,this},n.prototype.withPositions=function(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this},n.prototype.withViewportMargin=function(n){return this._viewportMargin=n,this},n.prototype.withFlexibleDimensions=function(n){return void 0===n&&(n=!0),this._hasFlexibleDimensions=n,this},n.prototype.withGrowAfterOpen=function(n){return void 0===n&&(n=!0),this._growAfterOpen=n,this},n.prototype.withPush=function(n){return void 0===n&&(n=!0),this._canPush=n,this},n.prototype.withLockedPosition=function(n){return void 0===n&&(n=!0),this._positionLocked=n,this},n.prototype.setOrigin=function(n){return this._origin=n,this},n.prototype.withDefaultOffsetX=function(n){return this._offsetX=n,this},n.prototype.withDefaultOffsetY=function(n){return this._offsetY=n,this},n.prototype.withTransformOriginOn=function(n){return this._transformOriginSelector=n,this},n.prototype._getOriginPoint=function(n,l){var e;if("center"==l.originX)e=n.left+n.width/2;else{var t=this._isRtl()?n.right:n.left,i=this._isRtl()?n.left:n.right;e="start"==l.originX?t:i}return{x:e,y:"center"==l.originY?n.top+n.height/2:"top"==l.originY?n.top:n.bottom}},n.prototype._getOverlayPoint=function(n,l,e){var t;return t="center"==e.overlayX?-l.width/2:"start"===e.overlayX?this._isRtl()?-l.width:0:this._isRtl()?0:-l.width,{x:n.x+t,y:n.y+("center"==e.overlayY?-l.height/2:"top"==e.overlayY?0:-l.height)}},n.prototype._getOverlayFit=function(n,l,e,t){var i=n.x,a=n.y,o=this._getOffset(t,"x"),r=this._getOffset(t,"y");o&&(i+=o),r&&(a+=r);var u=0-a,s=a+l.height-e.height,c=this._subtractOverflows(l.width,0-i,i+l.width-e.width),d=this._subtractOverflows(l.height,u,s),p=c*d;return{visibleArea:p,isCompletelyWithinViewport:l.width*l.height===p,fitsInViewportVertically:d===l.height,fitsInViewportHorizontally:c==l.width}},n.prototype._canFitWithFlexibleDimensions=function(n,l,e){if(this._hasFlexibleDimensions){var t=e.bottom-l.y,i=e.right-l.x,a=this._overlayRef.getConfig().minHeight,o=this._overlayRef.getConfig().minWidth;return(n.fitsInViewportVertically||null!=a&&a<=t)&&(n.fitsInViewportHorizontally||null!=o&&o<=i)}return!1},n.prototype._pushOverlayOnScreen=function(n,l,e){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};var t,i,a=this._viewportRect,o=Math.max(n.x+l.width-a.right,0),r=Math.max(n.y+l.height-a.bottom,0),u=Math.max(a.top-e.top-n.y,0),s=Math.max(a.left-e.left-n.x,0);return this._previousPushAmount={x:t=l.width<=a.width?s||-o:n.x<this._viewportMargin?a.left-e.left-n.x:0,y:i=l.height<=a.height?u||-r:n.y<this._viewportMargin?a.top-e.top-n.y:0},{x:n.x+t,y:n.y+i}},n.prototype._applyPosition=function(n,l){if(this._setTransformOrigin(n),this._setOverlayElementStyles(l,n),this._setBoundingBoxStyles(l,n),n.panelClass&&this._addPanelClasses(n.panelClass),this._lastPosition=n,this._positionChanges.observers.length){var e=this._getScrollVisibility(),t=new Vg(n,e);this._positionChanges.next(t)}this._isInitialRender=!1},n.prototype._setTransformOrigin=function(n){if(this._transformOriginSelector){var l,e=this._boundingBox.querySelectorAll(this._transformOriginSelector),t=n.overlayY;l="center"===n.overlayX?"center":this._isRtl()?"start"===n.overlayX?"right":"left":"start"===n.overlayX?"left":"right";for(var i=0;i<e.length;i++)e[i].style.transformOrigin=l+" "+t}},n.prototype._calculateBoundingBoxRect=function(n,l){var e,t,i,a,o,r,u=this._viewportRect,s=this._isRtl();if("top"===l.overlayY)e=u.height-(t=n.y)+this._viewportMargin;else if("bottom"===l.overlayY)e=u.height-(i=u.height-n.y+2*this._viewportMargin)+this._viewportMargin;else{var c=Math.min(u.bottom-n.y+u.top,n.y),d=this._lastBoundingBoxSize.height;t=n.y-c,(e=2*c)>d&&!this._isInitialRender&&!this._growAfterOpen&&(t=n.y-d/2)}if("end"===l.overlayX&&!s||"start"===l.overlayX&&s)r=u.width-n.x+this._viewportMargin,a=n.x-this._viewportMargin;else if("start"===l.overlayX&&!s||"end"===l.overlayX&&s)o=n.x,a=u.right-n.x;else{c=Math.min(u.right-n.x+u.left,n.x);var p=this._lastBoundingBoxSize.width;o=n.x-c,(a=2*c)>p&&!this._isInitialRender&&!this._growAfterOpen&&(o=n.x-p/2)}return{top:t,left:o,bottom:i,right:r,width:a,height:e}},n.prototype._setBoundingBoxStyles=function(n,l){var e=this._calculateBoundingBoxRect(n,l);this._isInitialRender||this._growAfterOpen||(e.height=Math.min(e.height,this._lastBoundingBoxSize.height),e.width=Math.min(e.width,this._lastBoundingBoxSize.width));var t={};if(this._hasExactPosition())t.top=t.left="0",t.bottom=t.right="",t.width=t.height="100%";else{var i=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;t.height=Xf(e.height),t.top=Xf(e.top),t.bottom=Xf(e.bottom),t.width=Xf(e.width),t.left=Xf(e.left),t.right=Xf(e.right),t.alignItems="center"===l.overlayX?"center":"end"===l.overlayX?"flex-end":"flex-start",t.justifyContent="center"===l.overlayY?"center":"bottom"===l.overlayY?"flex-end":"flex-start",i&&(t.maxHeight=Xf(i)),a&&(t.maxWidth=Xf(a))}this._lastBoundingBoxSize=e,Gg(this._boundingBox.style,t)},n.prototype._resetBoundingBoxStyles=function(){Gg(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})},n.prototype._resetOverlayElementStyles=function(){Gg(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})},n.prototype._setOverlayElementStyles=function(n,l){var e={};if(this._hasExactPosition()){var t=this._viewportRuler.getViewportScrollPosition();Gg(e,this._getExactOverlayY(l,n,t)),Gg(e,this._getExactOverlayX(l,n,t))}else e.position="static";var i="",a=this._getOffset(l,"x"),o=this._getOffset(l,"y");a&&(i+="translateX("+a+"px) "),o&&(i+="translateY("+o+"px)"),e.transform=i.trim(),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxHeight&&(e.maxHeight=""),this._hasFlexibleDimensions&&this._overlayRef.getConfig().maxWidth&&(e.maxWidth=""),Gg(this._pane.style,e)},n.prototype._getExactOverlayY=function(n,l,e){var t={top:null,bottom:null},i=this._getOverlayPoint(l,this._overlayRect,n);this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,e));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return i.y-=a,"bottom"===n.overlayY?t.bottom=this._document.documentElement.clientHeight-(i.y+this._overlayRect.height)+"px":t.top=Xf(i.y),t},n.prototype._getExactOverlayX=function(n,l,e){var t={left:null,right:null},i=this._getOverlayPoint(l,this._overlayRect,n);return this._isPushed&&(i=this._pushOverlayOnScreen(i,this._overlayRect,e)),"right"==(this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left")?t.right=this._document.documentElement.clientWidth-(i.x+this._overlayRect.width)+"px":t.left=Xf(i.x),t},n.prototype._getScrollVisibility=function(){var n=this._getOriginRect(),l=this._pane.getBoundingClientRect(),e=this._scrollables.map((function(n){return n.getElementRef().nativeElement.getBoundingClientRect()}));return{isOriginClipped:Tg(n,e),isOriginOutsideView:Og(n,e),isOverlayClipped:Tg(l,e),isOverlayOutsideView:Og(l,e)}},n.prototype._subtractOverflows=function(n){for(var l=[],e=1;e<arguments.length;e++)l[e-1]=arguments[e];return l.reduce((function(n,l){return n-Math.max(l,0)}),n)},n.prototype._getNarrowedViewportRect=function(){var n=this._document.documentElement.clientWidth,l=this._document.documentElement.clientHeight,e=this._viewportRuler.getViewportScrollPosition();return{top:e.top+this._viewportMargin,left:e.left+this._viewportMargin,right:e.left+n-this._viewportMargin,bottom:e.top+l-this._viewportMargin,width:n-2*this._viewportMargin,height:l-2*this._viewportMargin}},n.prototype._isRtl=function(){return"rtl"===this._overlayRef.getDirection()},n.prototype._hasExactPosition=function(){return!this._hasFlexibleDimensions||this._isPushed},n.prototype._getOffset=function(n,l){return"x"===l?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY},n.prototype._validatePositions=function(){if(!this._preferredPositions.length)throw Error("FlexibleConnectedPositionStrategy: At least one position is required.");this._preferredPositions.forEach((function(n){zg("originX",n.originX),qg("originY",n.originY),zg("overlayX",n.overlayX),qg("overlayY",n.overlayY)}))},n.prototype._addPanelClasses=function(n){var l=this;this._pane&&Qf(n).forEach((function(n){""!==n&&-1===l._appliedPanelClasses.indexOf(n)&&(l._appliedPanelClasses.push(n),l._pane.classList.add(n))}))},n.prototype._clearPanelClasses=function(){var n=this;this._pane&&(this._appliedPanelClasses.forEach((function(l){n._pane.classList.remove(l)})),this._appliedPanelClasses=[])},n.prototype._getOriginRect=function(){var n=this._origin;if(n instanceof Pe)return n.nativeElement.getBoundingClientRect();if(n instanceof HTMLElement)return n.getBoundingClientRect();var l=n.width||0,e=n.height||0;return{top:n.y,bottom:n.y+e,left:n.x,right:n.x+l,height:e,width:l}},n}();function Gg(n,l){for(var e in l)l.hasOwnProperty(e)&&(n[e]=l[e]);return n}var Wg=function(){function n(n,l,e,t,i,a,o){this._preferredPositions=[],this._positionStrategy=new Hg(e,t,i,a,o).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(n,l)}return Object.defineProperty(n.prototype,"_isRtl",{get:function(){return"rtl"===this._overlayRef.getDirection()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"onPositionChange",{get:function(){return this._positionStrategy.positionChanges},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"positions",{get:function(){return this._preferredPositions},enumerable:!0,configurable:!0}),n.prototype.attach=function(n){this._overlayRef=n,this._positionStrategy.attach(n),this._direction&&(n.setDirection(this._direction),this._direction=null)},n.prototype.dispose=function(){this._positionStrategy.dispose()},n.prototype.detach=function(){this._positionStrategy.detach()},n.prototype.apply=function(){this._positionStrategy.apply()},n.prototype.recalculateLastPosition=function(){this._positionStrategy.reapplyLastPosition()},n.prototype.withScrollableContainers=function(n){this._positionStrategy.withScrollableContainers(n)},n.prototype.withFallbackPosition=function(n,l,e,t){var i=new jg(n,l,e,t);return this._preferredPositions.push(i),this._positionStrategy.withPositions(this._preferredPositions),this},n.prototype.withDirection=function(n){return this._overlayRef?this._overlayRef.setDirection(n):this._direction=n,this},n.prototype.withOffsetX=function(n){return this._positionStrategy.withDefaultOffsetX(n),this},n.prototype.withOffsetY=function(n){return this._positionStrategy.withDefaultOffsetY(n),this},n.prototype.withLockedPosition=function(n){return this._positionStrategy.withLockedPosition(n),this},n.prototype.withPositions=function(n){return this._preferredPositions=n.slice(),this._positionStrategy.withPositions(this._preferredPositions),this},n.prototype.setOrigin=function(n){return this._positionStrategy.setOrigin(n),this},n}(),Kg=function(){function n(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return n.prototype.attach=function(n){var l=n.getConfig();this._overlayRef=n,this._width&&!l.width&&n.updateSize({width:this._width}),this._height&&!l.height&&n.updateSize({height:this._height}),n.hostElement.classList.add("cdk-global-overlay-wrapper"),this._isDisposed=!1},n.prototype.top=function(n){return void 0===n&&(n=""),this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this},n.prototype.left=function(n){return void 0===n&&(n=""),this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this},n.prototype.bottom=function(n){return void 0===n&&(n=""),this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this},n.prototype.right=function(n){return void 0===n&&(n=""),this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this},n.prototype.width=function(n){return void 0===n&&(n=""),this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this},n.prototype.height=function(n){return void 0===n&&(n=""),this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this},n.prototype.centerHorizontally=function(n){return void 0===n&&(n=""),this.left(n),this._justifyContent="center",this},n.prototype.centerVertically=function(n){return void 0===n&&(n=""),this.top(n),this._alignItems="center",this},n.prototype.apply=function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var n=this._overlayRef.overlayElement.style,l=this._overlayRef.hostElement.style,e=this._overlayRef.getConfig();n.position=this._cssPosition,n.marginLeft="100%"===e.width?"0":this._leftOffset,n.marginTop="100%"===e.height?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,"100%"===e.width?l.justifyContent="flex-start":"center"===this._justifyContent?l.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?l.justifyContent="flex-end":"flex-end"===this._justifyContent&&(l.justifyContent="flex-start"):l.justifyContent=this._justifyContent,l.alignItems="100%"===e.height?"flex-start":this._alignItems}},n.prototype.dispose=function(){if(!this._isDisposed&&this._overlayRef){var n=this._overlayRef.overlayElement.style,l=this._overlayRef.hostElement,e=l.style;l.classList.remove("cdk-global-overlay-wrapper"),e.justifyContent=e.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}},n}(),Yg=function(){function n(n,l,e,t){this._viewportRuler=n,this._document=l,this._platform=e,this._overlayContainer=t}return n.prototype.global=function(){return new Kg},n.prototype.connectedTo=function(n,l,e){return new Wg(l,e,n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.prototype.flexibleConnectedTo=function(n){return new Hg(n,this._viewportRuler,this._document,this._platform,this._overlayContainer)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(Mg),Bn(qs),Bn(sh),Bn(Bg))},token:n,providedIn:"root"}),n}(),Jg=0,Zg=function(){function n(n,l,e,t,i,a,o,r,u,s){this.scrollStrategies=n,this._overlayContainer=l,this._componentFactoryResolver=e,this._positionBuilder=t,this._keyboardDispatcher=i,this._injector=a,this._ngZone=o,this._document=r,this._directionality=u,this._location=s}return n.prototype.create=function(n){var l=this._createHostElement(),e=this._createPaneElement(l),t=this._createPortalOutlet(e),i=new Ng(n);return i.direction=i.direction||this._directionality.value,new $g(t,l,e,i,this._ngZone,this._keyboardDispatcher,this._document,this._location)},n.prototype.position=function(){return this._positionBuilder},n.prototype._createPaneElement=function(n){var l=this._document.createElement("div");return l.id="cdk-overlay-"+Jg++,l.classList.add("cdk-overlay-pane"),n.appendChild(l),l},n.prototype._createHostElement=function(){var n=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(n),n},n.prototype._createPortalOutlet=function(n){return this._appRef||(this._appRef=this._injector.get(Qa)),new mu(n,this._componentFactoryResolver,this._appRef,this._injector)},n}(),Qg=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Xg=new On("cdk-connected-overlay-scroll-strategy"),nb=function(){return function(n){this.elementRef=n}}(),lb=function(){function n(n,l,e,t,i){this._overlay=n,this._dir=i,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=s.EMPTY,this.viewportMargin=0,this.open=!1,this.backdropClick=new la,this.positionChange=new la,this.attach=new la,this.detach=new la,this.overlayKeydown=new la,this._templatePortal=new du(l,e),this._scrollStrategyFactory=t,this.scrollStrategy=this._scrollStrategyFactory()}return Object.defineProperty(n.prototype,"offsetX",{get:function(){return this._offsetX},set:function(n){this._offsetX=n,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"offsetY",{get:function(){return this._offsetY},set:function(n){this._offsetY=n,this._position&&this._updatePositionStrategy(this._position)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"lockPosition",{get:function(){return this._lockPosition},set:function(n){this._lockPosition=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"flexibleDimensions",{get:function(){return this._flexibleDimensions},set:function(n){this._flexibleDimensions=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"growAfterOpen",{get:function(){return this._growAfterOpen},set:function(n){this._growAfterOpen=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"push",{get:function(){return this._push},set:function(n){this._push=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"overlayRef",{get:function(){return this._overlayRef},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dir",{get:function(){return this._dir?this._dir.value:"ltr"},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._overlayRef&&this._overlayRef.dispose(),this._backdropSubscription.unsubscribe()},n.prototype.ngOnChanges=function(n){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),n.origin&&this.open&&this._position.apply()),n.open&&(this.open?this._attachOverlay():this._detachOverlay())},n.prototype._createOverlay=function(){var n=this;this.positions&&this.positions.length||(this.positions=Qg),this._overlayRef=this._overlay.create(this._buildConfig()),this._overlayRef.keydownEvents().subscribe((function(l){n.overlayKeydown.next(l),l.keyCode!==eh||oh(l)||(l.preventDefault(),n._detachOverlay())}))},n.prototype._buildConfig=function(){var n=this._position=this._createPositionStrategy(),l=new Ng({direction:this._dir,positionStrategy:n,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(l.width=this.width),(this.height||0===this.height)&&(l.height=this.height),(this.minWidth||0===this.minWidth)&&(l.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(l.minHeight=this.minHeight),this.backdropClass&&(l.backdropClass=this.backdropClass),this.panelClass&&(l.panelClass=this.panelClass),l},n.prototype._updatePositionStrategy=function(n){var l=this,e=this.positions.map((function(n){return{originX:n.originX,originY:n.originY,overlayX:n.overlayX,overlayY:n.overlayY,offsetX:n.offsetX||l.offsetX,offsetY:n.offsetY||l.offsetY,panelClass:n.panelClass||void 0}}));return n.setOrigin(this.origin.elementRef).withPositions(e).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition)},n.prototype._createPositionStrategy=function(){var n=this,l=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(l),l.positionChanges.subscribe((function(l){return n.positionChange.emit(l)})),l},n.prototype._attachOverlay=function(){var n=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||(this._overlayRef.attach(this._templatePortal),this.attach.emit()),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe((function(l){n.backdropClick.emit(l)})):this._backdropSubscription.unsubscribe()},n.prototype._detachOverlay=function(){this._overlayRef&&(this._overlayRef.detach(),this.detach.emit()),this._backdropSubscription.unsubscribe()},n}();function eb(n){return function(){return n.scrollStrategies.reposition()}}var tb=function(){return function(){}}(),ib=20;function ab(n){return Error('Tooltip position "'+n+'" is invalid.')}var ob=new On("mat-tooltip-scroll-strategy");function rb(n){return function(){return n.scrollStrategies.reposition({scrollThrottle:ib})}}var ub=new On("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),sb=function(){function n(n,l,e,t,i,a,o,r,u,s,c,d){var p=this;this._overlay=n,this._elementRef=l,this._scrollDispatcher=e,this._viewContainerRef=t,this._ngZone=i,this._ariaDescriber=o,this._focusMonitor=r,this._dir=s,this._defaultOptions=c,this._position="below",this._disabled=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this._message="",this._manualListeners=new Map,this._destroyed=new M,this._scrollStrategy=u;var m=l.nativeElement,f="undefined"==typeof window||window.Hammer||d;a.IOS||a.ANDROID?f||this._manualListeners.set("touchstart",(function(){return p.show()})):this._manualListeners.set("mouseenter",(function(){return p.show()})).set("mouseleave",(function(){return p.hide()})),this._manualListeners.forEach((function(n,l){return m.addEventListener(l,n)})),r.monitor(l).pipe(Ph(this._destroyed)).subscribe((function(n){n?"keyboard"===n&&i.run((function(){return p.show()})):i.run((function(){return p.hide(0)}))})),c&&c.position&&(this.position=c.position)}return Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(n){n!==this._position&&(this._position=n,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n),this._disabled&&this.hide(0)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"message",{get:function(){return this._message},set:function(n){var l=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message),this._message=null!=n?(""+n).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._updateTooltipMessage(),this._ngZone.runOutsideAngular((function(){Promise.resolve().then((function(){l._ariaDescriber.describe(l._elementRef.nativeElement,l.message)}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"tooltipClass",{get:function(){return this._tooltipClass},set:function(n){this._tooltipClass=n,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this._elementRef.nativeElement,l=n.style;"INPUT"!==n.nodeName&&"TEXTAREA"!==n.nodeName||(l.webkitUserSelect=l.userSelect=l.msUserSelect=""),n.draggable&&"none"===l.webkitUserDrag&&(l.webkitUserDrag="")},n.prototype.ngOnDestroy=function(){var n=this;this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._manualListeners.forEach((function(l,e){n._elementRef.nativeElement.removeEventListener(e,l)})),this._manualListeners.clear(),this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.message),this._focusMonitor.stopMonitoring(this._elementRef)},n.prototype.show=function(n){var l=this;if(void 0===n&&(n=this.showDelay),!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var e=this._createOverlay();this._detach(),this._portal=this._portal||new cu(cb,this._viewContainerRef),this._tooltipInstance=e.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Ph(this._destroyed)).subscribe((function(){return l._detach()})),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(n)}},n.prototype.hide=function(n){void 0===n&&(n=this.hideDelay),this._tooltipInstance&&this._tooltipInstance.hide(n)},n.prototype.toggle=function(){this._isTooltipVisible()?this.hide():this.show()},n.prototype._isTooltipVisible=function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()},n.prototype._handleKeydown=function(n){this._isTooltipVisible()&&n.keyCode===eh&&!oh(n)&&(n.preventDefault(),n.stopPropagation(),this.hide(0))},n.prototype._handleTouchend=function(){this.hide(this._defaultOptions.touchendHideDelay)},n.prototype._createOverlay=function(){var n=this;if(this._overlayRef)return this._overlayRef;var l=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),e=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(l);return e.positionChanges.pipe(Ph(this._destroyed)).subscribe((function(l){n._tooltipInstance&&l.scrollableViewProperties.isOverlayClipped&&n._tooltipInstance.isVisible()&&n._ngZone.run((function(){return n.hide(0)}))})),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:e,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Ph(this._destroyed)).subscribe((function(){return n._detach()})),this._overlayRef},n.prototype._detach=function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null},n.prototype._updatePosition=function(){var n=this._overlayRef.getConfig().positionStrategy,l=this._getOrigin(),e=this._getOverlayPosition();n.withPositions([Object(t.__assign)({},l.main,e.main),Object(t.__assign)({},l.fallback,e.fallback)])},n.prototype._getOrigin=function(){var n,l=!this._dir||"ltr"==this._dir.value,e=this.position;if("above"==e||"below"==e)n={originX:"center",originY:"above"==e?"top":"bottom"};else if("before"==e||"left"==e&&l||"right"==e&&!l)n={originX:"start",originY:"center"};else{if(!("after"==e||"right"==e&&l||"left"==e&&!l))throw ab(e);n={originX:"end",originY:"center"}}var t=this._invertPosition(n.originX,n.originY);return{main:n,fallback:{originX:t.x,originY:t.y}}},n.prototype._getOverlayPosition=function(){var n,l=!this._dir||"ltr"==this._dir.value,e=this.position;if("above"==e)n={overlayX:"center",overlayY:"bottom"};else if("below"==e)n={overlayX:"center",overlayY:"top"};else if("before"==e||"left"==e&&l||"right"==e&&!l)n={overlayX:"end",overlayY:"center"};else{if(!("after"==e||"right"==e&&l||"left"==e&&!l))throw ab(e);n={overlayX:"start",overlayY:"center"}}var t=this._invertPosition(n.overlayX,n.overlayY);return{main:n,fallback:{overlayX:t.x,overlayY:t.y}}},n.prototype._updateTooltipMessage=function(){var n=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.asObservable().pipe(_c(1),Ph(this._destroyed)).subscribe((function(){n._tooltipInstance&&n._overlayRef.updatePosition()})))},n.prototype._setTooltipClass=function(n){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=n,this._tooltipInstance._markForCheck())},n.prototype._invertPosition=function(n,l){return"above"===this.position||"below"===this.position?"top"===l?l="bottom":"bottom"===l&&(l="top"):"end"===n?n="start":"start"===n&&(n="end"),{x:n,y:l}},n}(),cb=function(){function n(n,l){this._changeDetectorRef=n,this._breakpointObserver=l,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new M,this._isHandset=this._breakpointObserver.observe(jh.Handset)}return n.prototype.show=function(n){var l=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout((function(){l._visibility="visible",l._showTimeoutId=null,l._markForCheck()}),n)},n.prototype.hide=function(n){var l=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout((function(){l._visibility="hidden",l._hideTimeoutId=null,l._markForCheck()}),n)},n.prototype.afterHidden=function(){return this._onHide.asObservable()},n.prototype.isVisible=function(){return"visible"===this._visibility},n.prototype.ngOnDestroy=function(){this._onHide.complete()},n.prototype._animationStart=function(){this._closeOnInteraction=!1},n.prototype._animationDone=function(n){var l=n.toState;"hidden"!==l||this.isVisible()||this._onHide.next(),"visible"!==l&&"hidden"!==l||(this._closeOnInteraction=!0)},n.prototype._handleBodyInteraction=function(){this._closeOnInteraction&&this.hide(0)},n.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},n}(),db=function(){return function(){}}(),pb=function(){function n(){}return n.prototype.create=function(n){return"undefined"==typeof MutationObserver?null:new MutationObserver(n)},n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),mb=function(){function n(n){this._mutationObserverFactory=n,this._observedElements=new Map}return n.prototype.ngOnDestroy=function(){var n=this;this._observedElements.forEach((function(l,e){return n._cleanupObserver(e)}))},n.prototype.observe=function(n){var l=this,e=nh(n);return new x((function(n){var t=l._observeElement(e).subscribe(n);return function(){t.unsubscribe(),l._unobserveElement(e)}}))},n.prototype._observeElement=function(n){if(this._observedElements.has(n))this._observedElements.get(n).count++;else{var l=new M,e=this._mutationObserverFactory.create((function(n){return l.next(n)}));e&&e.observe(n,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(n,{observer:e,stream:l,count:1})}return this._observedElements.get(n).stream},n.prototype._unobserveElement=function(n){this._observedElements.has(n)&&(this._observedElements.get(n).count--,this._observedElements.get(n).count||this._cleanupObserver(n))},n.prototype._cleanupObserver=function(n){if(this._observedElements.has(n)){var l=this._observedElements.get(n),e=l.observer,t=l.stream;e&&e.disconnect(),t.complete(),this._observedElements.delete(n)}},n.ngInjectableDef=yn({factory:function(){return new n(Bn(pb))},token:n,providedIn:"root"}),n}(),fb=function(){function n(n,l,e){this._contentObserver=n,this._elementRef=l,this._ngZone=e,this.event=new la,this._disabled=!1,this._currentSubscription=null}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n),this._disabled?this._unsubscribe():this._subscribe()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"debounce",{get:function(){return this._debounce},set:function(n){this._debounce=Jf(n),this._subscribe()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._currentSubscription||this.disabled||this._subscribe()},n.prototype.ngOnDestroy=function(){this._unsubscribe()},n.prototype._subscribe=function(){var n=this;this._unsubscribe();var l=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){n._currentSubscription=(n.debounce?l.pipe(Sh(n.debounce)):l).subscribe(n.event)}))},n.prototype._unsubscribe=function(){this._currentSubscription&&this._currentSubscription.unsubscribe()},n}(),hb=function(){return function(){}}(),gb=new On("cdk-dir-doc",{providedIn:"root",factory:function(){return $n(qs)}}),bb=function(){function n(n){if(this.value="ltr",this.change=new la,n){var l=(n.body?n.body.dir:null)||(n.documentElement?n.documentElement.dir:null);this.value="ltr"===l||"rtl"===l?l:"ltr"}}return n.prototype.ngOnDestroy=function(){this.change.complete()},n.ngInjectableDef=yn({factory:function(){return new n(Bn(gb,8))},token:n,providedIn:"root"}),n}(),vb=function(){return function(){}}(),_b=new Re("8.2.0");function yb(n,l){return(n.getAttribute(l)||"").match(/\S+/g)||[]}var wb=0,xb=new Map,Cb=null,kb=function(){function n(n){this._document=n}return n.prototype.describe=function(n,l){this._canBeDescribed(n,l)&&("string"!=typeof l?(this._setMessageId(l),xb.set(l,{messageElement:l,referenceCount:0})):xb.has(l)||this._createMessageElement(l),this._isElementDescribedByMessage(n,l)||this._addMessageReference(n,l))},n.prototype.removeDescription=function(n,l){if(this._isElementNode(n)){if(this._isElementDescribedByMessage(n,l)&&this._removeMessageReference(n,l),"string"==typeof l){var e=xb.get(l);e&&0===e.referenceCount&&this._deleteMessageElement(l)}Cb&&0===Cb.childNodes.length&&this._deleteMessagesContainer()}},n.prototype.ngOnDestroy=function(){for(var n=this._document.querySelectorAll("[cdk-describedby-host]"),l=0;l<n.length;l++)this._removeCdkDescribedByReferenceIds(n[l]),n[l].removeAttribute("cdk-describedby-host");Cb&&this._deleteMessagesContainer(),xb.clear()},n.prototype._createMessageElement=function(n){var l=this._document.createElement("div");this._setMessageId(l),l.textContent=n,this._createMessagesContainer(),Cb.appendChild(l),xb.set(n,{messageElement:l,referenceCount:0})},n.prototype._setMessageId=function(n){n.id||(n.id="cdk-describedby-message-"+wb++)},n.prototype._deleteMessageElement=function(n){var l=xb.get(n),e=l&&l.messageElement;Cb&&e&&Cb.removeChild(e),xb.delete(n)},n.prototype._createMessagesContainer=function(){if(!Cb){var n=this._document.getElementById("cdk-describedby-message-container");n&&n.parentNode.removeChild(n),(Cb=this._document.createElement("div")).id="cdk-describedby-message-container",Cb.setAttribute("aria-hidden","true"),Cb.style.display="none",this._document.body.appendChild(Cb)}},n.prototype._deleteMessagesContainer=function(){Cb&&Cb.parentNode&&(Cb.parentNode.removeChild(Cb),Cb=null)},n.prototype._removeCdkDescribedByReferenceIds=function(n){var l=yb(n,"aria-describedby").filter((function(n){return 0!=n.indexOf("cdk-describedby-message")}));n.setAttribute("aria-describedby",l.join(" "))},n.prototype._addMessageReference=function(n,l){var e,t,i,a=xb.get(l);t=a.messageElement.id,(i=yb(e=n,"aria-describedby")).some((function(n){return n.trim()==t.trim()}))||(i.push(t.trim()),e.setAttribute("aria-describedby",i.join(" "))),n.setAttribute("cdk-describedby-host",""),a.referenceCount++},n.prototype._removeMessageReference=function(n,l){var e,t,i,a=xb.get(l);a.referenceCount--,t=a.messageElement.id,i=yb(e=n,"aria-describedby").filter((function(n){return n!=t.trim()})),e.setAttribute("aria-describedby",i.join(" ")),n.removeAttribute("cdk-describedby-host")},n.prototype._isElementDescribedByMessage=function(n,l){var e=yb(n,"aria-describedby"),t=xb.get(l),i=t&&t.messageElement.id;return!!i&&-1!=e.indexOf(i)},n.prototype._canBeDescribed=function(n,l){if(!this._isElementNode(n))return!1;if(l&&"object"==typeof l)return!0;var e=null==l?"":(""+l).trim(),t=n.getAttribute("aria-label");return!(!e||t&&t.trim()===e)},n.prototype._isElementNode=function(n){return n.nodeType===this._document.ELEMENT_NODE},n.ngInjectableDef=yn({factory:function(){return new n(Bn(qs))},token:n,providedIn:"root"}),n}(),Sb=function(){function n(n){var l=this;this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new M,this._typeaheadSubscription=s.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._skipPredicateFn=function(n){return n.disabled},this._pressedLetters=[],this.tabOut=new M,this.change=new M,n instanceof ta&&n.changes.subscribe((function(n){if(l._activeItem){var e=n.toArray().indexOf(l._activeItem);e>-1&&e!==l._activeItemIndex&&(l._activeItemIndex=e)}}))}return n.prototype.skipPredicate=function(n){return this._skipPredicateFn=n,this},n.prototype.withWrap=function(n){return void 0===n&&(n=!0),this._wrap=n,this},n.prototype.withVerticalOrientation=function(n){return void 0===n&&(n=!0),this._vertical=n,this},n.prototype.withHorizontalOrientation=function(n){return this._horizontal=n,this},n.prototype.withAllowedModifierKeys=function(n){return this._allowedModifierKeys=n,this},n.prototype.withTypeAhead=function(n){var l=this;if(void 0===n&&(n=200),this._items.length&&this._items.some((function(n){return"function"!=typeof n.getLabel})))throw Error("ListKeyManager items in typeahead mode must implement the `getLabel` method.");return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Yr((function(n){return l._pressedLetters.push(n)})),Sh(n),tc((function(){return l._pressedLetters.length>0})),q((function(){return l._pressedLetters.join("")}))).subscribe((function(n){for(var e=l._getItemsArray(),t=1;t<e.length+1;t++){var i=(l._activeItemIndex+t)%e.length,a=e[i];if(!l._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(n)){l.setActiveItem(i);break}}l._pressedLetters=[]})),this},n.prototype.setActiveItem=function(n){var l=this._activeItemIndex;this.updateActiveItem(n),this._activeItemIndex!==l&&this.change.next(this._activeItemIndex)},n.prototype.onKeydown=function(n){var l=this,e=n.keyCode,t=["altKey","ctrlKey","metaKey","shiftKey"].every((function(e){return!n[e]||l._allowedModifierKeys.indexOf(e)>-1}));switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&t){this.setNextItemActive();break}return;case 38:if(this._vertical&&t){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&t){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&t){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;default:return void((t||oh(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()},Object.defineProperty(n.prototype,"activeItemIndex",{get:function(){return this._activeItemIndex},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activeItem",{get:function(){return this._activeItem},enumerable:!0,configurable:!0}),n.prototype.setFirstItemActive=function(){this._setActiveItemByIndex(0,1)},n.prototype.setLastItemActive=function(){this._setActiveItemByIndex(this._items.length-1,-1)},n.prototype.setNextItemActive=function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)},n.prototype.setPreviousItemActive=function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)},n.prototype.updateActiveItem=function(n){var l=this._getItemsArray(),e="number"==typeof n?n:l.indexOf(n),t=l[e];this._activeItem=null==t?null:t,this._activeItemIndex=e},n.prototype.updateActiveItemIndex=function(n){this.updateActiveItem(n)},n.prototype._setActiveItemByDelta=function(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)},n.prototype._setActiveInWrapMode=function(n){for(var l=this._getItemsArray(),e=1;e<=l.length;e++){var t=(this._activeItemIndex+n*e+l.length)%l.length;if(!this._skipPredicateFn(l[t]))return void this.setActiveItem(t)}},n.prototype._setActiveInDefaultMode=function(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)},n.prototype._setActiveItemByIndex=function(n,l){var e=this._getItemsArray();if(e[n]){for(;this._skipPredicateFn(e[n]);)if(!e[n+=l])return;this.setActiveItem(n)}},n.prototype._getItemsArray=function(){return this._items instanceof ta?this._items.toArray():this._items},n}(),Ib=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.setActiveItem=function(l){this.activeItem&&this.activeItem.setInactiveStyles(),n.prototype.setActiveItem.call(this,l),this.activeItem&&this.activeItem.setActiveStyles()},l}(Sb),Ab=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._origin="program",l}return Object(t.__extends)(l,n),l.prototype.setFocusOrigin=function(n){return this._origin=n,this},l.prototype.setActiveItem=function(l){n.prototype.setActiveItem.call(this,l),this.activeItem&&this.activeItem.focus(this._origin)},l}(Sb),Mb=function(){function n(n){this._platform=n}return n.prototype.isDisabled=function(n){return n.hasAttribute("disabled")},n.prototype.isVisible=function(n){return function(n){return!!(n.offsetWidth||n.offsetHeight||"function"==typeof n.getClientRects&&n.getClientRects().length)}(n)&&"visible"===getComputedStyle(n).visibility},n.prototype.isTabbable=function(n){if(!this._platform.isBrowser)return!1;var l,e=function(n){try{return n.frameElement}catch(KEn){return null}}((l=n).ownerDocument&&l.ownerDocument.defaultView||window);if(e){var t=e&&e.nodeName.toLowerCase();if(-1===Db(e))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===t)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(e))return!1}var i=n.nodeName.toLowerCase(),a=Db(n);if(n.hasAttribute("contenteditable"))return-1!==a;if("iframe"===i)return!1;if("audio"===i){if(!n.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!n.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(n){var l=n.nodeName.toLowerCase(),e="input"===l&&n.type;return"text"===e||"password"===e||"select"===l||"textarea"===l}(n))&&n.tabIndex>=0},n.prototype.isFocusable=function(n){return function(n){return!function(n){return function(n){return"input"==n.nodeName.toLowerCase()}(n)&&"hidden"==n.type}(n)&&(function(n){var l=n.nodeName.toLowerCase();return"input"===l||"select"===l||"button"===l||"textarea"===l}(n)||function(n){return function(n){return"a"==n.nodeName.toLowerCase()}(n)&&n.hasAttribute("href")}(n)||n.hasAttribute("contenteditable")||Pb(n))}(n)&&!this.isDisabled(n)&&this.isVisible(n)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(sh))},token:n,providedIn:"root"}),n}();function Pb(n){if(!n.hasAttribute("tabindex")||void 0===n.tabIndex)return!1;var l=n.getAttribute("tabindex");return"-32768"!=l&&!(!l||isNaN(parseInt(l,10)))}function Db(n){if(!Pb(n))return null;var l=parseInt(n.getAttribute("tabindex")||"",10);return isNaN(l)?-1:l}var Fb=function(){function n(n,l,e,t,i){var a=this;void 0===i&&(i=!1),this._element=n,this._checker=l,this._ngZone=e,this._document=t,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,i||this.attachAnchors()}return Object.defineProperty(n.prototype,"enabled",{get:function(){return this._enabled},set:function(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){var n=this._startAnchor,l=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.parentNode&&n.parentNode.removeChild(n)),l&&(l.removeEventListener("focus",this.endAnchorListener),l.parentNode&&l.parentNode.removeChild(l)),this._startAnchor=this._endAnchor=null},n.prototype.attachAnchors=function(){var n=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){n._startAnchor||(n._startAnchor=n._createAnchor(),n._startAnchor.addEventListener("focus",n.startAnchorListener)),n._endAnchor||(n._endAnchor=n._createAnchor(),n._endAnchor.addEventListener("focus",n.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)},n.prototype.focusInitialElementWhenReady=function(){var n=this;return new Promise((function(l){n._executeOnStable((function(){return l(n.focusInitialElement())}))}))},n.prototype.focusFirstTabbableElementWhenReady=function(){var n=this;return new Promise((function(l){n._executeOnStable((function(){return l(n.focusFirstTabbableElement())}))}))},n.prototype.focusLastTabbableElementWhenReady=function(){var n=this;return new Promise((function(l){n._executeOnStable((function(){return l(n.focusLastTabbableElement())}))}))},n.prototype._getRegionBoundary=function(n){for(var l=this._element.querySelectorAll("[cdk-focus-region-"+n+"], [cdkFocusRegion"+n+"], [cdk-focus-"+n+"]"),e=0;e<l.length;e++)l[e].hasAttribute("cdk-focus-"+n)?console.warn("Found use of deprecated attribute 'cdk-focus-"+n+"', use 'cdkFocusRegion"+n+"' instead. The deprecated attribute will be removed in 8.0.0.",l[e]):l[e].hasAttribute("cdk-focus-region-"+n)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-"+n+"', use 'cdkFocusRegion"+n+"' instead. The deprecated attribute will be removed in 8.0.0.",l[e]);return"start"==n?l.length?l[0]:this._getFirstTabbableElement(this._element):l.length?l[l.length-1]:this._getLastTabbableElement(this._element)},n.prototype.focusInitialElement=function(){var n=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return n?(n.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",n),sl()&&!this._checker.isFocusable(n)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",n),n.focus(),!0):this.focusFirstTabbableElement()},n.prototype.focusFirstTabbableElement=function(){var n=this._getRegionBoundary("start");return n&&n.focus(),!!n},n.prototype.focusLastTabbableElement=function(){var n=this._getRegionBoundary("end");return n&&n.focus(),!!n},n.prototype.hasAttached=function(){return this._hasAttached},n.prototype._getFirstTabbableElement=function(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;for(var l=n.children||n.childNodes,e=0;e<l.length;e++){var t=l[e].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(l[e]):null;if(t)return t}return null},n.prototype._getLastTabbableElement=function(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;for(var l=n.children||n.childNodes,e=l.length-1;e>=0;e--){var t=l[e].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(l[e]):null;if(t)return t}return null},n.prototype._createAnchor=function(){var n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n},n.prototype._toggleAnchorTabIndex=function(n,l){n?l.setAttribute("tabindex","0"):l.removeAttribute("tabindex")},n.prototype._executeOnStable=function(n){this._ngZone.isStable?n():this._ngZone.onStable.asObservable().pipe(_c(1)).subscribe(n)},n}(),Eb=function(){function n(n,l,e){this._checker=n,this._ngZone=l,this._document=e}return n.prototype.create=function(n,l){return void 0===l&&(l=!1),new Fb(n,this._checker,this._ngZone,this._document,l)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(Mb),Bn(La),Bn(qs))},token:n,providedIn:"root"}),n}(),Ob=function(){function n(n,l,e){this._elementRef=n,this._focusTrapFactory=l,this._previouslyFocusedElement=null,this._document=e,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object.defineProperty(n.prototype,"enabled",{get:function(){return this.focusTrap.enabled},set:function(n){this.focusTrap.enabled=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"autoCapture",{get:function(){return this._autoCapture},set:function(n){this._autoCapture=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)},n.prototype.ngAfterContentInit=function(){this.focusTrap.attachAnchors(),this.autoCapture&&(this._previouslyFocusedElement=this._document.activeElement,this.focusTrap.focusInitialElementWhenReady())},n.prototype.ngDoCheck=function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()},n}(),Tb=new On("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),Lb=new On("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),Rb=function(){function n(n,l,e,t){this._ngZone=l,this._defaultOptions=t,this._document=e,this._liveElement=n||this._createLiveElement()}return n.prototype.announce=function(n){for(var l=this,e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];var i,a,o=this._defaultOptions;return 1===e.length&&"number"==typeof e[0]?a=e[0]:(i=e[0],a=e[1]),this.clear(),clearTimeout(this._previousTimeout),i||(i=o&&o.politeness?o.politeness:"polite"),null==a&&o&&(a=o.duration),this._liveElement.setAttribute("aria-live",i),this._ngZone.runOutsideAngular((function(){return new Promise((function(e){clearTimeout(l._previousTimeout),l._previousTimeout=setTimeout((function(){l._liveElement.textContent=n,e(),"number"==typeof a&&(l._previousTimeout=setTimeout((function(){return l.clear()}),a))}),100)}))}))},n.prototype.clear=function(){this._liveElement&&(this._liveElement.textContent="")},n.prototype.ngOnDestroy=function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)},n.prototype._createLiveElement=function(){for(var n=this._document.getElementsByClassName("cdk-live-announcer-element"),l=this._document.createElement("div"),e=0;e<n.length;e++)n[e].parentNode.removeChild(n[e]);return l.classList.add("cdk-live-announcer-element"),l.classList.add("cdk-visually-hidden"),l.setAttribute("aria-atomic","true"),l.setAttribute("aria-live","polite"),this._document.body.appendChild(l),l},n.ngInjectableDef=yn({factory:function(){return new n(Bn(Tb,8),Bn(La),Bn(qs),Bn(Lb,8))},token:n,providedIn:"root"}),n}(),Nb=function(){function n(n,l,e,t){this._elementRef=n,this._liveAnnouncer=l,this._contentObserver=e,this._ngZone=t,this._politeness="off"}return Object.defineProperty(n.prototype,"politeness",{get:function(){return this._politeness},set:function(n){var l=this;this._politeness="polite"===n||"assertive"===n?n:"off","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular((function(){return l._contentObserver.observe(l._elementRef).subscribe((function(){var n=l._elementRef.nativeElement.textContent;n!==l._previousAnnouncedText&&(l._liveAnnouncer.announce(n,l._politeness),l._previousAnnouncedText=n)}))})))},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},n}(),jb=650,Vb=mh({passive:!0,capture:!0}),qb=function(){function n(n,l){var e=this;this._ngZone=n,this._platform=l,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._documentKeydownListener=function(){e._lastTouchTarget=null,e._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(){e._lastTouchTarget||e._setOriginForCurrentEventQueue("mouse")},this._documentTouchstartListener=function(n){null!=e._touchTimeoutId&&clearTimeout(e._touchTimeoutId),e._lastTouchTarget=n.target,e._touchTimeoutId=setTimeout((function(){return e._lastTouchTarget=null}),jb)},this._windowFocusListener=function(){e._windowFocused=!0,e._windowFocusTimeoutId=setTimeout((function(){return e._windowFocused=!1}))}}return n.prototype.monitor=function(n,l){var e=this;if(void 0===l&&(l=!1),!this._platform.isBrowser)return lu(null);var t=nh(n);if(this._elementInfo.has(t)){var i=this._elementInfo.get(t);return i.checkChildren=l,i.subject.asObservable()}var a={unlisten:function(){},checkChildren:l,subject:new M};this._elementInfo.set(t,a),this._incrementMonitoredElementCount();var o=function(n){return e._onFocus(n,t)},r=function(n){return e._onBlur(n,t)};return this._ngZone.runOutsideAngular((function(){t.addEventListener("focus",o,!0),t.addEventListener("blur",r,!0)})),a.unlisten=function(){t.removeEventListener("focus",o,!0),t.removeEventListener("blur",r,!0)},a.subject.asObservable()},n.prototype.stopMonitoring=function(n){var l=nh(n),e=this._elementInfo.get(l);e&&(e.unlisten(),e.subject.complete(),this._setClasses(l),this._elementInfo.delete(l),this._decrementMonitoredElementCount())},n.prototype.focusVia=function(n,l,e){var t=nh(n);this._setOriginForCurrentEventQueue(l),"function"==typeof t.focus&&t.focus(e)},n.prototype.ngOnDestroy=function(){var n=this;this._elementInfo.forEach((function(l,e){return n.stopMonitoring(e)}))},n.prototype._toggleClass=function(n,l,e){e?n.classList.add(l):n.classList.remove(l)},n.prototype._setClasses=function(n,l){this._elementInfo.get(n)&&(this._toggleClass(n,"cdk-focused",!!l),this._toggleClass(n,"cdk-touch-focused","touch"===l),this._toggleClass(n,"cdk-keyboard-focused","keyboard"===l),this._toggleClass(n,"cdk-mouse-focused","mouse"===l),this._toggleClass(n,"cdk-program-focused","program"===l))},n.prototype._setOriginForCurrentEventQueue=function(n){var l=this;this._ngZone.runOutsideAngular((function(){l._origin=n,l._originTimeoutId=setTimeout((function(){return l._origin=null}),1)}))},n.prototype._wasCausedByTouch=function(n){var l=n.target;return this._lastTouchTarget instanceof Node&&l instanceof Node&&(l===this._lastTouchTarget||l.contains(this._lastTouchTarget))},n.prototype._onFocus=function(n,l){var e=this._elementInfo.get(l);if(e&&(e.checkChildren||l===n.target)){var t=this._origin;t||(t=this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(n)?"touch":"program"),this._setClasses(l,t),this._emitOrigin(e.subject,t),this._lastFocusOrigin=t}},n.prototype._onBlur=function(n,l){var e=this._elementInfo.get(l);!e||e.checkChildren&&n.relatedTarget instanceof Node&&l.contains(n.relatedTarget)||(this._setClasses(l),this._emitOrigin(e.subject,null))},n.prototype._emitOrigin=function(n,l){this._ngZone.run((function(){return n.next(l)}))},n.prototype._incrementMonitoredElementCount=function(){var n=this;1==++this._monitoredElementCount&&this._platform.isBrowser&&this._ngZone.runOutsideAngular((function(){document.addEventListener("keydown",n._documentKeydownListener,Vb),document.addEventListener("mousedown",n._documentMousedownListener,Vb),document.addEventListener("touchstart",n._documentTouchstartListener,Vb),window.addEventListener("focus",n._windowFocusListener)}))},n.prototype._decrementMonitoredElementCount=function(){--this._monitoredElementCount||(document.removeEventListener("keydown",this._documentKeydownListener,Vb),document.removeEventListener("mousedown",this._documentMousedownListener,Vb),document.removeEventListener("touchstart",this._documentTouchstartListener,Vb),window.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId))},n.ngInjectableDef=yn({factory:function(){return new n(Bn(La),Bn(sh))},token:n,providedIn:"root"}),n}(),zb=function(){function n(n,l){var e=this;this._elementRef=n,this._focusMonitor=l,this.cdkFocusChange=new la,this._monitorSubscription=this._focusMonitor.monitor(this._elementRef,this._elementRef.nativeElement.hasAttribute("cdkMonitorSubtreeFocus")).subscribe((function(n){return e.cdkFocusChange.emit(n)}))}return n.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription.unsubscribe()},n}();function Ub(n){return 0===n.buttons}var Bb=function(){return function(){}}(),$b=new Re("8.2.0"),Hb=new On("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),Gb=function(){function n(n,l){this._sanityChecksEnabled=n,this._hammerLoader=l,this._hasDoneGlobalChecks=!1,this._hasCheckedHammer=!1,this._document="object"==typeof document&&document?document:null,this._window="object"==typeof window&&window?window:null,this._areChecksEnabled()&&!this._hasDoneGlobalChecks&&(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return n.prototype._areChecksEnabled=function(){return this._sanityChecksEnabled&&sl()&&!this._isTestEnv()},n.prototype._isTestEnv=function(){var n=this._window;return n&&(n.__karma__||n.jasmine)},n.prototype._checkDoctypeIsDefined=function(){this._document&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")},n.prototype._checkThemeIsPresent=function(){if(this._document&&this._document.body&&"function"==typeof getComputedStyle){var n=this._document.createElement("div");n.classList.add("mat-theme-loaded-marker"),this._document.body.appendChild(n);var l=getComputedStyle(n);l&&"none"!==l.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),this._document.body.removeChild(n)}},n.prototype._checkCdkVersionMatch=function(){$b.full!==_b.full&&console.warn("The Angular Material version ("+$b.full+") does not match the Angular CDK version ("+_b.full+").\nPlease ensure the versions of these two packages exactly match.")},n.prototype._checkHammerIsAvailable=function(){!this._hasCheckedHammer&&this._window&&(!this._areChecksEnabled()||this._window.Hammer||this._hammerLoader||console.warn("Could not find HammerJS. Certain Angular Material components may not work correctly."),this._hasCheckedHammer=!0)},n}();function Wb(n){return function(n){function l(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];var t=n.apply(this,l)||this;return t._disabled=!1,t}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),l}(n)}function Kb(n,l){return function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=n.apply(this,e)||this;return i.color=l,i}return Object(t.__extends)(e,n),Object.defineProperty(e.prototype,"color",{get:function(){return this._color},set:function(n){var e=n||l;e!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),e&&this._elementRef.nativeElement.classList.add("mat-"+e),this._color=e)},enumerable:!0,configurable:!0}),e}(n)}function Yb(n){return function(n){function l(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];var t=n.apply(this,l)||this;return t._disableRipple=!1,t}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=Yf(n)},enumerable:!0,configurable:!0}),l}(n)}function Jb(n,l){return void 0===l&&(l=0),function(n){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var i=n.apply(this,e)||this;return i._tabIndex=l,i}return Object(t.__extends)(e,n),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.disabled?-1:this._tabIndex},set:function(n){this._tabIndex=null!=n?n:l},enumerable:!0,configurable:!0}),e}(n)}function Zb(n){return function(n){function l(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];var t=n.apply(this,l)||this;return t.errorState=!1,t.stateChanges=new M,t}return Object(t.__extends)(l,n),l.prototype.updateErrorState=function(){var n=this.errorState,l=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);l!==n&&(this.errorState=l,this.stateChanges.next())},l}(n)}function Qb(n){return function(n){function l(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];var t=n.apply(this,l)||this;return t._isInitialized=!1,t._pendingSubscribers=[],t.initialized=new x((function(n){t._isInitialized?t._notifySubscriber(n):t._pendingSubscribers.push(n)})),t}return Object(t.__extends)(l,n),l.prototype._markInitialized=function(){if(this._isInitialized)throw Error("This directive has already been marked as initialized and should not be called twice.");this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null},l.prototype._notifySubscriber=function(n){n.next(),n.complete()},l}(n)}var Xb,nv=new On("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return $n(ba)}}),lv=function(){function n(){this._localeChanges=new M}return Object.defineProperty(n.prototype,"localeChanges",{get:function(){return this._localeChanges},enumerable:!0,configurable:!0}),n.prototype.deserialize=function(n){return null==n||this.isDateInstance(n)&&this.isValid(n)?n:this.invalid()},n.prototype.setLocale=function(n){this.locale=n,this._localeChanges.next()},n.prototype.compareDate=function(n,l){return this.getYear(n)-this.getYear(l)||this.getMonth(n)-this.getMonth(l)||this.getDate(n)-this.getDate(l)},n.prototype.sameDate=function(n,l){if(n&&l){var e=this.isValid(n),t=this.isValid(l);return e&&t?!this.compareDate(n,l):e==t}return n==l},n.prototype.clampDate=function(n,l,e){return l&&this.compareDate(n,l)<0?l:e&&this.compareDate(n,e)>0?e:n},n}(),ev=new On("mat-date-formats");try{Xb="undefined"!=typeof Intl}catch(KEn){Xb=!1}var tv={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},iv=rv(31,(function(n){return String(n+1)})),av={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},ov=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function rv(n,l){for(var e=Array(n),t=0;t<n;t++)e[t]=l(t);return e}var uv=function(n){function l(l,e){var t=n.call(this)||this;return t.useUtcForDisplay=!0,n.prototype.setLocale.call(t,l),t.useUtcForDisplay=!e.TRIDENT,t._clampDate=e.TRIDENT||e.EDGE,t}return Object(t.__extends)(l,n),l.prototype.getYear=function(n){return n.getFullYear()},l.prototype.getMonth=function(n){return n.getMonth()},l.prototype.getDate=function(n){return n.getDate()},l.prototype.getDayOfWeek=function(n){return n.getDay()},l.prototype.getMonthNames=function(n){var l=this;if(Xb){var e=new Intl.DateTimeFormat(this.locale,{month:n,timeZone:"utc"});return rv(12,(function(n){return l._stripDirectionalityCharacters(l._format(e,new Date(2017,n,1)))}))}return tv[n]},l.prototype.getDateNames=function(){var n=this;if(Xb){var l=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return rv(31,(function(e){return n._stripDirectionalityCharacters(n._format(l,new Date(2017,0,e+1)))}))}return iv},l.prototype.getDayOfWeekNames=function(n){var l=this;if(Xb){var e=new Intl.DateTimeFormat(this.locale,{weekday:n,timeZone:"utc"});return rv(7,(function(n){return l._stripDirectionalityCharacters(l._format(e,new Date(2017,0,n+1)))}))}return av[n]},l.prototype.getYearName=function(n){if(Xb){var l=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(l,n))}return String(this.getYear(n))},l.prototype.getFirstDayOfWeek=function(){return 0},l.prototype.getNumDaysInMonth=function(n){return this.getDate(this._createDateWithOverflow(this.getYear(n),this.getMonth(n)+1,0))},l.prototype.clone=function(n){return new Date(n.getTime())},l.prototype.createDate=function(n,l,e){if(l<0||l>11)throw Error('Invalid month index "'+l+'". Month index has to be between 0 and 11.');if(e<1)throw Error('Invalid date "'+e+'". Date has to be greater than 0.');var t=this._createDateWithOverflow(n,l,e);if(t.getMonth()!=l)throw Error('Invalid date "'+e+'" for month with index "'+l+'".');return t},l.prototype.today=function(){return new Date},l.prototype.parse=function(n){return"number"==typeof n?new Date(n):n?new Date(Date.parse(n)):null},l.prototype.format=function(n,l){if(!this.isValid(n))throw Error("NativeDateAdapter: Cannot format invalid date.");if(Xb){this._clampDate&&(n.getFullYear()<1||n.getFullYear()>9999)&&(n=this.clone(n)).setFullYear(Math.max(1,Math.min(9999,n.getFullYear()))),l=Object(t.__assign)({},l,{timeZone:"utc"});var e=new Intl.DateTimeFormat(this.locale,l);return this._stripDirectionalityCharacters(this._format(e,n))}return this._stripDirectionalityCharacters(n.toDateString())},l.prototype.addCalendarYears=function(n,l){return this.addCalendarMonths(n,12*l)},l.prototype.addCalendarMonths=function(n,l){var e=this._createDateWithOverflow(this.getYear(n),this.getMonth(n)+l,this.getDate(n));return this.getMonth(e)!=((this.getMonth(n)+l)%12+12)%12&&(e=this._createDateWithOverflow(this.getYear(e),this.getMonth(e),0)),e},l.prototype.addCalendarDays=function(n,l){return this._createDateWithOverflow(this.getYear(n),this.getMonth(n),this.getDate(n)+l)},l.prototype.toIso8601=function(n){return[n.getUTCFullYear(),this._2digit(n.getUTCMonth()+1),this._2digit(n.getUTCDate())].join("-")},l.prototype.deserialize=function(l){if("string"==typeof l){if(!l)return null;if(ov.test(l)){var e=new Date(l);if(this.isValid(e))return e}}return n.prototype.deserialize.call(this,l)},l.prototype.isDateInstance=function(n){return n instanceof Date},l.prototype.isValid=function(n){return!isNaN(n.getTime())},l.prototype.invalid=function(){return new Date(NaN)},l.prototype._createDateWithOverflow=function(n,l,e){var t=new Date(n,l,e);return n>=0&&n<100&&t.setFullYear(this.getYear(t)-1900),t},l.prototype._2digit=function(n){return("00"+n).slice(-2)},l.prototype._stripDirectionalityCharacters=function(n){return n.replace(/[\u200e\u200f]/g,"")},l.prototype._format=function(n,l){var e=new Date(Date.UTC(l.getFullYear(),l.getMonth(),l.getDate(),l.getHours(),l.getMinutes(),l.getSeconds(),l.getMilliseconds()));return n.format(e)},l}(lv),sv=function(){return function(){}}(),cv=function(){return function(){}}(),dv=function(){function n(){}return n.prototype.isErrorState=function(n,l){return!!(n&&n.invalid&&(n.touched||l&&l.submitted))},n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),pv=function(){return function(){}}();function mv(n,l){n.changes.pipe(Pc(n)).subscribe((function(n){var e=n.length;fv(l,"mat-2-line",!1),fv(l,"mat-3-line",!1),fv(l,"mat-multi-line",!1),2===e||3===e?fv(l,"mat-"+e+"-line",!0):e>3&&fv(l,"mat-multi-line",!0)}))}function fv(n,l,e){var t=n.nativeElement.classList;e?t.add(l):t.remove(l)}var hv=function(){return function(){}}(),gv=function(){var n={FADING_IN:0,VISIBLE:1,FADING_OUT:2,HIDDEN:3};return n[n.FADING_IN]="FADING_IN",n[n.VISIBLE]="VISIBLE",n[n.FADING_OUT]="FADING_OUT",n[n.HIDDEN]="HIDDEN",n}(),bv=function(){function n(n,l,e){this._renderer=n,this.element=l,this.config=e,this.state=gv.HIDDEN}return n.prototype.fadeOut=function(){this._renderer.fadeOutRipple(this)},n}(),vv={enterDuration:450,exitDuration:400},_v=800,yv=mh({passive:!0}),wv=function(){function n(n,l,e,t){var i=this;this._target=n,this._ngZone=l,this._isPointerDown=!1,this._triggerEvents=new Map,this._activeRipples=new Set,this._onMousedown=function(n){var l=Ub(n),e=i._lastTouchStartEvent&&Date.now()<i._lastTouchStartEvent+_v;i._target.rippleDisabled||l||e||(i._isPointerDown=!0,i.fadeInRipple(n.clientX,n.clientY,i._target.rippleConfig))},this._onTouchStart=function(n){if(!i._target.rippleDisabled){i._lastTouchStartEvent=Date.now(),i._isPointerDown=!0;for(var l=n.changedTouches,e=0;e<l.length;e++)i.fadeInRipple(l[e].clientX,l[e].clientY,i._target.rippleConfig)}},this._onPointerUp=function(){i._isPointerDown&&(i._isPointerDown=!1,i._activeRipples.forEach((function(n){!n.config.persistent&&(n.state===gv.VISIBLE||n.config.terminateOnPointerUp&&n.state===gv.FADING_IN)&&n.fadeOut()})))},t.isBrowser&&(this._containerElement=nh(e),this._triggerEvents.set("mousedown",this._onMousedown).set("mouseup",this._onPointerUp).set("mouseleave",this._onPointerUp).set("touchstart",this._onTouchStart).set("touchend",this._onPointerUp).set("touchcancel",this._onPointerUp))}return n.prototype.fadeInRipple=function(n,l,e){var i=this;void 0===e&&(e={});var a=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),o=Object(t.__assign)({},vv,e.animation);e.centered&&(n=a.left+a.width/2,l=a.top+a.height/2);var r=e.radius||function(n,l,e){var t=Math.max(Math.abs(n-e.left),Math.abs(n-e.right)),i=Math.max(Math.abs(l-e.top),Math.abs(l-e.bottom));return Math.sqrt(t*t+i*i)}(n,l,a),u=n-a.left,s=l-a.top,c=o.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left=u-r+"px",d.style.top=s-r+"px",d.style.height=2*r+"px",d.style.width=2*r+"px",d.style.backgroundColor=e.color||null,d.style.transitionDuration=c+"ms",this._containerElement.appendChild(d),window.getComputedStyle(d).getPropertyValue("opacity"),d.style.transform="scale(1)";var p=new bv(this,d,e);return p.state=gv.FADING_IN,this._activeRipples.add(p),e.persistent||(this._mostRecentTransientRipple=p),this._runTimeoutOutsideZone((function(){var n=p===i._mostRecentTransientRipple;p.state=gv.VISIBLE,e.persistent||n&&i._isPointerDown||p.fadeOut()}),c),p},n.prototype.fadeOutRipple=function(n){var l=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),l){var e=n.element,i=Object(t.__assign)({},vv,n.config.animation);e.style.transitionDuration=i.exitDuration+"ms",e.style.opacity="0",n.state=gv.FADING_OUT,this._runTimeoutOutsideZone((function(){n.state=gv.HIDDEN,e.parentNode.removeChild(e)}),i.exitDuration)}},n.prototype.fadeOutAll=function(){this._activeRipples.forEach((function(n){return n.fadeOut()}))},n.prototype.setupTriggerEvents=function(n){var l=this,e=nh(n);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._ngZone.runOutsideAngular((function(){l._triggerEvents.forEach((function(n,l){e.addEventListener(l,n,yv)}))})),this._triggerElement=e)},n.prototype._runTimeoutOutsideZone=function(n,l){void 0===l&&(l=0),this._ngZone.runOutsideAngular((function(){return setTimeout(n,l)}))},n.prototype._removeTriggerEvents=function(){var n=this;this._triggerElement&&this._triggerEvents.forEach((function(l,e){n._triggerElement.removeEventListener(e,l,yv)}))},n}(),xv=new On("mat-ripple-global-options"),Cv=function(){function n(n,l,e,t,i){this._elementRef=n,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=t||{},this._rippleRenderer=new wv(this,l,n,e),"NoopAnimations"===i&&(this._globalOptions.animation={enterDuration:0,exitDuration:0})}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=n,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"trigger",{get:function(){return this._trigger||this._elementRef.nativeElement},set:function(n){this._trigger=n,this._setupTriggerEventsIfEnabled()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()},n.prototype.ngOnDestroy=function(){this._rippleRenderer._removeTriggerEvents()},n.prototype.fadeOutAll=function(){this._rippleRenderer.fadeOutAll()},Object.defineProperty(n.prototype,"rippleConfig",{get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object(t.__assign)({},this._globalOptions.animation,this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rippleDisabled",{get:function(){return this.disabled||!!this._globalOptions.disabled},enumerable:!0,configurable:!0}),n.prototype._setupTriggerEventsIfEnabled=function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)},n.prototype.launch=function(n,l,e){return void 0===l&&(l=0),"number"==typeof n?this._rippleRenderer.fadeInRipple(n,l,Object(t.__assign)({},this.rippleConfig,e)):this._rippleRenderer.fadeInRipple(0,0,Object(t.__assign)({},this.rippleConfig,n))},n}(),kv=function(){return function(){}}(),Sv=function(){return function(n){this._animationMode=n,this.state="unchecked",this.disabled=!1}}(),Iv=function(){return function(){}}(),Av=0,Mv=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._labelId="mat-optgroup-label-"+Av++,l}return Object(t.__extends)(l,n),l}(Wb(function(){return function(){}}())),Pv=0,Dv=function(){return function(n,l){void 0===l&&(l=!1),this.source=n,this.isUserInput=l}}(),Fv=new On("MAT_OPTION_PARENT_COMPONENT"),Ev=function(){function n(n,l,e,t){this._element=n,this._changeDetectorRef=l,this._parent=e,this.group=t,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+Pv++,this.onSelectionChange=new la,this._stateChanges=new M}return Object.defineProperty(n.prototype,"multiple",{get:function(){return this._parent&&this._parent.multiple},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.group&&this.group.disabled||this._disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disableRipple",{get:function(){return this._parent&&this._parent.disableRipple},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"viewValue",{get:function(){return(this._getHostElement().textContent||"").trim()},enumerable:!0,configurable:!0}),n.prototype.select=function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},n.prototype.deselect=function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())},n.prototype.focus=function(n,l){var e=this._getHostElement();"function"==typeof e.focus&&e.focus(l)},n.prototype.setActiveStyles=function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())},n.prototype.setInactiveStyles=function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())},n.prototype.getLabel=function(){return this.viewValue},n.prototype._handleKeydown=function(n){13!==n.keyCode&&32!==n.keyCode||oh(n)||(this._selectViaInteraction(),n.preventDefault())},n.prototype._selectViaInteraction=function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))},n.prototype._getAriaSelected=function(){return this.selected||!this.multiple&&null},n.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},n.prototype._getHostElement=function(){return this._element.nativeElement},n.prototype.ngAfterViewChecked=function(){if(this._selected){var n=this.viewValue;n!==this._mostRecentViewValue&&(this._mostRecentViewValue=n,this._stateChanges.next())}},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype._emitSelectionChangeEvent=function(n){void 0===n&&(n=!1),this.onSelectionChange.emit(new Dv(this,n))},n}();function Ov(n,l,e){if(e.length){for(var t=l.toArray(),i=e.toArray(),a=0,o=0;o<n+1;o++)t[o].group&&t[o].group===i[a]&&a++;return a}return 0}function Tv(n,l,e,t){var i=n*l;return i<e?i:i+l>e+t?Math.max(0,i-t+l):e}var Lv=function(){return function(){}}(),Rv=new On("mat-label-global-options"),Nv=yt({encapsulation:2,styles:[".mat-tooltip-panel{pointer-events:none!important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}@media (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"initial, void, hidden",styles:{type:6,styles:{opacity:0,transform:"scale(0)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)"},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{opacity:0,transform:"scale(0)",offset:0},offset:null},{type:6,styles:{opacity:.5,transform:"scale(0.99)",offset:.5},offset:null},{type:6,styles:{opacity:1,transform:"scale(1)",offset:1},offset:null}]},timings:"200ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms cubic-bezier(0, 0, 0.2, 1)"},options:null}],options:{}}]}});function jv(n){return jo(2,[(n()(),_o(0,0,null,null,4,"div",[["class","mat-tooltip"]],[[2,"mat-tooltip-handset",null],[24,"@state",0]],[[null,"@state.start"],[null,"@state.done"]],(function(n,l,e){var t=!0,i=n.component;return"@state.start"===l&&(t=!1!==i._animationStart()&&t),"@state.done"===l&&(t=!1!==i._animationDone(e)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Fi(131072,Fs,[Nl]),(n()(),Lo(4,null,["",""]))],(function(n,l){n(l,2,0,"mat-tooltip",l.component.tooltipClass)}),(function(n,l){var e,t=l.component;n(l,0,0,null==(e=bt(l,0,0,bi(l,3).transform(t._isHandset)))?null:e.matches,t._visibility),n(l,4,0,t.message)}))}function Vv(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-tooltip-component",[["aria-hidden","true"]],[[4,"zoom",null]],[["body","click"]],(function(n,l,e){var t=!0;return"body:click"===l&&(t=!1!==bi(n,1)._handleBodyInteraction()&&t),t}),jv,Nv)),Di(1,180224,null,0,cb,[Nl,Rh],null,null)],null,(function(n,l){n(l,0,0,"visible"===bi(l,1)._visibility?1:null)}))}var qv=oi("mat-tooltip-component",cb,Vv,{},{},[]),zv=function(){return function(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}}();function Uv(){throw Error("Attempting to attach dialog content after content is already attached")}var Bv=function(n){function l(l,e,t,i,a){var o=n.call(this)||this;return o._elementRef=l,o._focusTrapFactory=e,o._changeDetectorRef=t,o._document=i,o._config=a,o._elementFocusedBeforeDialogWasOpened=null,o._state="enter",o._animationStateChanged=new la,o._ariaLabelledBy=a.ariaLabelledBy||null,o}return Object(t.__extends)(l,n),l.prototype.attachComponentPortal=function(n){return this._portalOutlet.hasAttached()&&Uv(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)},l.prototype.attachTemplatePortal=function(n){return this._portalOutlet.hasAttached()&&Uv(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)},l.prototype._trapFocus=function(){var n=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n)),this._config.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var l=this._document.activeElement;l===n||n.contains(l)||n.focus()}},l.prototype._restoreFocus=function(){var n=this._elementFocusedBeforeDialogWasOpened;this._config.restoreFocus&&n&&"function"==typeof n.focus&&n.focus(),this._focusTrap&&this._focusTrap.destroy()},l.prototype._savePreviouslyFocusedElement=function(){var n=this;this._document&&(this._elementFocusedBeforeDialogWasOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return n._elementRef.nativeElement.focus()})))},l.prototype._onAnimationDone=function(n){"enter"===n.toState?this._trapFocus():"exit"===n.toState&&this._restoreFocus(),this._animationStateChanged.emit(n)},l.prototype._onAnimationStart=function(n){this._animationStateChanged.emit(n)},l.prototype._startExitAnimation=function(){this._state="exit",this._changeDetectorRef.markForCheck()},l}(pu),$v=0,Hv=function(){function n(n,l,e,t){var i=this;void 0===t&&(t="mat-dialog-"+$v++),this._overlayRef=n,this._containerInstance=l,this.id=t,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new M,this._afterClosed=new M,this._beforeClosed=new M,this._state=0,l._id=t,l._animationStateChanged.pipe(tc((function(n){return"done"===n.phaseName&&"enter"===n.toState})),_c(1)).subscribe((function(){i._afterOpened.next(),i._afterOpened.complete()})),l._animationStateChanged.pipe(tc((function(n){return"done"===n.phaseName&&"exit"===n.toState})),_c(1)).subscribe((function(){clearTimeout(i._closeFallbackTimeout),i._overlayRef.dispose()})),n.detachments().subscribe((function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()})),n.keydownEvents().pipe(tc((function(n){return n.keyCode===eh&&!i.disableClose&&!oh(n)}))).subscribe((function(n){n.preventDefault(),i.close()}))}return n.prototype.close=function(n){var l=this;this._result=n,this._containerInstance._animationStateChanged.pipe(tc((function(n){return"start"===n.phaseName})),_c(1)).subscribe((function(e){l._beforeClosed.next(n),l._beforeClosed.complete(),l._state=2,l._overlayRef.detachBackdrop(),l._closeFallbackTimeout=setTimeout((function(){l._overlayRef.dispose()}),e.totalTime+100)})),this._containerInstance._startExitAnimation(),this._state=1},n.prototype.afterOpened=function(){return this._afterOpened.asObservable()},n.prototype.afterClosed=function(){return this._afterClosed.asObservable()},n.prototype.beforeClosed=function(){return this._beforeClosed.asObservable()},n.prototype.backdropClick=function(){return this._overlayRef.backdropClick()},n.prototype.keydownEvents=function(){return this._overlayRef.keydownEvents()},n.prototype.updatePosition=function(n){var l=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?l.left(n.left):l.right(n.right):l.centerHorizontally(),n&&(n.top||n.bottom)?n.top?l.top(n.top):l.bottom(n.bottom):l.centerVertically(),this._overlayRef.updatePosition(),this},n.prototype.updateSize=function(n,l){return void 0===n&&(n=""),void 0===l&&(l=""),this._getPositionStrategy().width(n).height(l),this._overlayRef.updatePosition(),this},n.prototype.addPanelClass=function(n){return this._overlayRef.addPanelClass(n),this},n.prototype.removePanelClass=function(n){return this._overlayRef.removePanelClass(n),this},n.prototype.afterOpen=function(){return this.afterOpened()},n.prototype.beforeClose=function(){return this.beforeClosed()},n.prototype.getState=function(){return this._state},n.prototype._getPositionStrategy=function(){return this._overlayRef.getConfig().positionStrategy},n}(),Gv=new On("MatDialogData"),Wv=new On("mat-dialog-default-options"),Kv=new On("mat-dialog-scroll-strategy");function Yv(n){return function(){return n.scrollStrategies.block()}}var Jv=function(){function n(n,l,e,t,i,a,o){var r=this;this._overlay=n,this._injector=l,this._location=e,this._defaultOptions=t,this._parentDialog=a,this._overlayContainer=o,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new M,this._afterOpenedAtThisLevel=new M,this._ariaHiddenElements=new Map,this.afterAllClosed=lc((function(){return r.openDialogs.length?r._afterAllClosed:r._afterAllClosed.pipe(Pc(void 0))})),this._scrollStrategy=i}return Object.defineProperty(n.prototype,"openDialogs",{get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"afterOpened",{get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"afterOpen",{get:function(){return this.afterOpened},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_afterAllClosed",{get:function(){var n=this._parentDialog;return n?n._afterAllClosed:this._afterAllClosedAtThisLevel},enumerable:!0,configurable:!0}),n.prototype.open=function(n,l){var e=this;if((l=function(n,l){return Object(t.__assign)({},l,n)}(l,this._defaultOptions||new zv)).id&&this.getDialogById(l.id))throw Error('Dialog with id "'+l.id+'" exists already. The dialog id must be unique.');var i=this._createOverlay(l),a=this._attachDialogContainer(i,l),o=this._attachDialogContent(n,a,i,l);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(o),o.afterClosed().subscribe((function(){return e._removeOpenDialog(o)})),this.afterOpened.next(o),o},n.prototype.closeAll=function(){this._closeDialogs(this.openDialogs)},n.prototype.getDialogById=function(n){return this.openDialogs.find((function(l){return l.id===n}))},n.prototype.ngOnDestroy=function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()},n.prototype._createOverlay=function(n){var l=this._getOverlayConfig(n);return this._overlay.create(l)},n.prototype._getOverlayConfig=function(n){var l=new Ng({positionStrategy:this._overlay.position().global(),scrollStrategy:n.scrollStrategy||this._scrollStrategy(),panelClass:n.panelClass,hasBackdrop:n.hasBackdrop,direction:n.direction,minWidth:n.minWidth,minHeight:n.minHeight,maxWidth:n.maxWidth,maxHeight:n.maxHeight,disposeOnNavigation:n.closeOnNavigation});return n.backdropClass&&(l.backdropClass=n.backdropClass),l},n.prototype._attachDialogContainer=function(n,l){var e=new vu(l&&l.viewContainerRef&&l.viewContainerRef.injector||this._injector,new WeakMap([[zv,l]])),t=new cu(Bv,l.viewContainerRef,e,l.componentFactoryResolver);return n.attach(t).instance},n.prototype._attachDialogContent=function(n,l,e,t){var i=new Hv(e,l,this._location,t.id);if(t.hasBackdrop&&e.backdropClick().subscribe((function(){i.disableClose||i.close()})),n instanceof Xe)l.attachTemplatePortal(new du(n,null,{$implicit:t.data,dialogRef:i}));else{var a=this._createInjector(t,i,l),o=l.attachComponentPortal(new cu(n,void 0,a));i.componentInstance=o.instance}return i.updateSize(t.width,t.height).updatePosition(t.position),i},n.prototype._createInjector=function(n,l,e){var t=n&&n.viewContainerRef&&n.viewContainerRef.injector,i=new WeakMap([[Bv,e],[Gv,n.data],[Hv,l]]);return!n.direction||t&&t.get(bb,null)||i.set(bb,{value:n.direction,change:lu()}),new vu(t||this._injector,i)},n.prototype._removeOpenDialog=function(n){var l=this.openDialogs.indexOf(n);l>-1&&(this.openDialogs.splice(l,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((function(n,l){n?l.setAttribute("aria-hidden",n):l.removeAttribute("aria-hidden")})),this._ariaHiddenElements.clear(),this._afterAllClosed.next()))},n.prototype._hideNonDialogContentFromAssistiveTechnology=function(){var n=this._overlayContainer.getContainerElement();if(n.parentElement)for(var l=n.parentElement.children,e=l.length-1;e>-1;e--){var t=l[e];t===n||"SCRIPT"===t.nodeName||"STYLE"===t.nodeName||t.hasAttribute("aria-live")||(this._ariaHiddenElements.set(t,t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))}},n.prototype._closeDialogs=function(n){for(var l=n.length;l--;)n[l].close()},n}(),Zv=0,Qv=function(){function n(n,l,e){this.dialogRef=n,this._elementRef=l,this._dialog=e,this.type="button"}return n.prototype.ngOnInit=function(){this.dialogRef||(this.dialogRef=e_(this._elementRef,this._dialog.openDialogs))},n.prototype.ngOnChanges=function(n){var l=n._matDialogClose||n._matDialogCloseResult;l&&(this.dialogResult=l.currentValue)},n}(),Xv=function(){function n(n,l,e){this._dialogRef=n,this._elementRef=l,this._dialog=e,this.id="mat-dialog-title-"+Zv++}return n.prototype.ngOnInit=function(){var n=this;this._dialogRef||(this._dialogRef=e_(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then((function(){var l=n._dialogRef._containerInstance;l&&!l._ariaLabelledBy&&(l._ariaLabelledBy=n.id)}))},n}(),n_=function(){return function(){}}(),l_=function(){return function(){}}();function e_(n,l){for(var e=n.nativeElement.parentElement;e&&!e.classList.contains("mat-dialog-container");)e=e.parentElement;return e?l.find((function(n){return n.id===e.id})):null}var t_=function(){return function(){}}(),i_=yt({encapsulation:2,styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}@media (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"dialogContainer",definitions:[{type:0,name:"void, exit",styles:{type:6,styles:{opacity:0,transform:"scale(0.7)"},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:1,expr:"* => enter",animation:{type:4,styles:{type:6,styles:{transform:"none",opacity:1},offset:null},timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => exit",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 0.2, 1)"},options:null}],options:{}}]}});function a_(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function o_(n){return jo(0,[ko(402653184,1,{_portalOutlet:0}),(n()(),vo(16777216,null,null,1,null,a_)),Di(2,212992,[[1,4]],0,gu,[Se,lt],{portal:[0,"portal"]},null)],(function(n,l){n(l,2,0,"")}),null)}function r_(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-dialog-container",[["aria-modal","true"],["class","mat-dialog-container"],["tabindex","-1"]],[[1,"id",0],[1,"role",0],[1,"aria-labelledby",0],[1,"aria-label",0],[1,"aria-describedby",0],[40,"@dialogContainer",0]],[["component","@dialogContainer.start"],["component","@dialogContainer.done"]],(function(n,l,e){var t=!0;return"component:@dialogContainer.start"===l&&(t=!1!==bi(n,1)._onAnimationStart(e)&&t),"component:@dialogContainer.done"===l&&(t=!1!==bi(n,1)._onAnimationDone(e)&&t),t}),o_,i_)),Di(1,49152,null,0,Bv,[Pe,Eb,Nl,[2,qs],zv],null,null)],null,(function(n,l){n(l,0,0,bi(l,1)._id,bi(l,1)._config.role,bi(l,1)._config.ariaLabel?null:bi(l,1)._ariaLabelledBy,bi(l,1)._config.ariaLabel,bi(l,1)._config.ariaDescribedBy||null,bi(l,1)._state)}))}var u_=oi("mat-dialog-container",Bv,r_,{},{},[]);function s_(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];if(1===n.length){var e=n[0];if(i(e))return c_(e,null);if(a(e)&&Object.getPrototypeOf(e)===Object.prototype){var t=Object.keys(e);return c_(t.map((function(n){return e[n]})),t)}}if("function"==typeof n[n.length-1]){var o=n.pop();return c_(n=1===n.length&&i(n[0])?n[0]:n,null).pipe(q((function(n){return o.apply(void 0,n)})))}return c_(n,null)}function c_(n,l){return new x((function(e){var t=n.length;if(0!==t)for(var i=new Array(t),a=0,o=0,r=function(r){var u=$(n[r]),s=!1;e.add(u.subscribe({next:function(n){s||(s=!0,o++),i[r]=n},error:function(n){return e.error(n)},complete:function(){++a!==t&&s||(o===t&&e.next(l?l.reduce((function(n,l,e){return n[l]=i[e],n}),{}):i),e.complete())}}))},u=0;u<t;u++)r(u);else e.complete()}))}var d_=new On("NgValueAccessor"),p_=function(){function n(n,l){this._renderer=n,this._elementRef=l,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"checked",n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),m_=new On("CompositionEventMode"),f_=function(){function n(n,l,e){var t;this._renderer=n,this._elementRef=l,this._compositionMode=e,this.onChange=function(n){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(t=Lc()?Lc().getUserAgent():"",!/android (\d+)/.test(t.toLowerCase())))}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._handleInput=function(n){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(n)},n.prototype._compositionStart=function(){this._composing=!0},n.prototype._compositionEnd=function(n){this._composing=!1,this._compositionMode&&this.onChange(n)},n}(),h_=function(){function n(){}return Object.defineProperty(n.prototype,"value",{get:function(){return this.control?this.control.value:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return this.control?this.control.valid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return this.control?this.control.invalid:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return this.control?this.control.pending:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this.control?this.control.disabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return this.control?this.control.enabled:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"errors",{get:function(){return this.control?this.control.errors:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pristine",{get:function(){return this.control?this.control.pristine:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return this.control?this.control.dirty:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"touched",{get:function(){return this.control?this.control.touched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"status",{get:function(){return this.control?this.control.status:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return this.control?this.control.untouched:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"statusChanges",{get:function(){return this.control?this.control.statusChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valueChanges",{get:function(){return this.control?this.control.valueChanges:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),n.prototype.reset=function(n){void 0===n&&(n=void 0),this.control&&this.control.reset(n)},n.prototype.hasError=function(n,l){return!!this.control&&this.control.hasError(n,l)},n.prototype.getError=function(n,l){return this.control?this.control.getError(n,l):null},n}(),g_=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"formDirective",{get:function(){return null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){return null},enumerable:!0,configurable:!0}),l}(h_);function b_(){throw new Error("unimplemented")}var v_=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._parent=null,l.name=null,l.valueAccessor=null,l._rawValidators=[],l._rawAsyncValidators=[],l}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"validator",{get:function(){return b_()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"asyncValidator",{get:function(){return b_()},enumerable:!0,configurable:!0}),l}(h_),__=function(){function n(n){this._cd=n}return Object.defineProperty(n.prototype,"ngClassUntouched",{get:function(){return!!this._cd.control&&this._cd.control.untouched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassTouched",{get:function(){return!!this._cd.control&&this._cd.control.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPristine",{get:function(){return!!this._cd.control&&this._cd.control.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassDirty",{get:function(){return!!this._cd.control&&this._cd.control.dirty},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassValid",{get:function(){return!!this._cd.control&&this._cd.control.valid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassInvalid",{get:function(){return!!this._cd.control&&this._cd.control.invalid},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"ngClassPending",{get:function(){return!!this._cd.control&&this._cd.control.pending},enumerable:!0,configurable:!0}),n}(),y_=function(n){function l(l){return n.call(this,l)||this}return Object(t.__extends)(l,n),l}(__),w_=function(n){function l(l){return n.call(this,l)||this}return Object(t.__extends)(l,n),l}(__);function x_(n){return null==n||0===n.length}var C_=new On("NgValidators"),k_=/^(?=.{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])?)*$/,S_=function(){function n(){}return n.min=function(n){return function(l){if(x_(l.value)||x_(n))return null;var e=parseFloat(l.value);return!isNaN(e)&&e<n?{min:{min:n,actual:l.value}}:null}},n.max=function(n){return function(l){if(x_(l.value)||x_(n))return null;var e=parseFloat(l.value);return!isNaN(e)&&e>n?{max:{max:n,actual:l.value}}:null}},n.required=function(n){return x_(n.value)?{required:!0}:null},n.requiredTrue=function(n){return!0===n.value?null:{required:!0}},n.email=function(n){return x_(n.value)?null:k_.test(n.value)?null:{email:!0}},n.minLength=function(n){return function(l){if(x_(l.value))return null;var e=l.value?l.value.length:0;return e<n?{minlength:{requiredLength:n,actualLength:e}}:null}},n.maxLength=function(n){return function(l){var e=l.value?l.value.length:0;return e>n?{maxlength:{requiredLength:n,actualLength:e}}:null}},n.pattern=function(l){return l?("string"==typeof l?(t="","^"!==l.charAt(0)&&(t+="^"),t+=l,"$"!==l.charAt(l.length-1)&&(t+="$"),e=new RegExp(t)):(t=l.toString(),e=l),function(n){if(x_(n.value))return null;var l=n.value;return e.test(l)?null:{pattern:{requiredPattern:t,actualValue:l}}}):n.nullValidator;var e,t},n.nullValidator=function(n){return null},n.compose=function(n){if(!n)return null;var l=n.filter(I_);return 0==l.length?null:function(n){return M_(function(n,l){return l.map((function(l){return l(n)}))}(n,l))}},n.composeAsync=function(n){if(!n)return null;var l=n.filter(I_);return 0==l.length?null:function(n){return s_(function(n,l){return l.map((function(l){return l(n)}))}(n,l).map(A_)).pipe(q(M_))}},n}();function I_(n){return null!=n}function A_(n){var l=be(n)?$(n):n;if(!ve(l))throw new Error("Expected validator to return Promise or Observable.");return l}function M_(n){var l=n.reduce((function(n,l){return null!=l?Object(t.__assign)({},n,l):n}),{});return 0===Object.keys(l).length?null:l}function P_(n){return n.validate?function(l){return n.validate(l)}:n}function D_(n){return n.validate?function(l){return n.validate(l)}:n}var F_=function(){function n(n,l){this._renderer=n,this._elementRef=l,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==n?"":n)},n.prototype.registerOnChange=function(n){this.onChange=function(l){n(""==l?null:parseFloat(l))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),E_=function(){function n(){this._accessors=[]}return n.prototype.add=function(n,l){this._accessors.push([n,l])},n.prototype.remove=function(n){for(var l=this._accessors.length-1;l>=0;--l)if(this._accessors[l][1]===n)return void this._accessors.splice(l,1)},n.prototype.select=function(n){var l=this;this._accessors.forEach((function(e){l._isSameGroup(e,n)&&e[1]!==n&&e[1].fireUncheck(n.value)}))},n.prototype._isSameGroup=function(n,l){return!!n[0].control&&n[0]._parent===l._control._parent&&n[1].name===l.name},n}(),O_=function(){function n(n,l,e,t){this._renderer=n,this._elementRef=l,this._registry=e,this._injector=t,this.onChange=function(){},this.onTouched=function(){}}return n.prototype.ngOnInit=function(){this._control=this._injector.get(v_),this._checkName(),this._registry.add(this._control,this)},n.prototype.ngOnDestroy=function(){this._registry.remove(this)},n.prototype.writeValue=function(n){this._state=n===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)},n.prototype.registerOnChange=function(n){var l=this;this._fn=n,this.onChange=function(){n(l.value),l._registry.select(l)}},n.prototype.fireUncheck=function(n){this.writeValue(n)},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._checkName=function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)},n.prototype._throwNameError=function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')},n}(),T_=function(){function n(n,l){this._renderer=n,this._elementRef=l,this.onChange=function(n){},this.onTouched=function(){}}return n.prototype.writeValue=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(n))},n.prototype.registerOnChange=function(n){this.onChange=function(l){n(""==l?null:parseFloat(l))}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n}(),L_='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',R_='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',N_='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',j_=function(){function n(){}return n.controlParentException=function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+L_)},n.ngModelGroupException=function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '+R_+"\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n "+N_)},n.missingFormException=function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+L_)},n.groupParentException=function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+R_)},n.arrayParentException=function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')},n.disabledAttrWarning=function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")},n.ngModelWarning=function(n){console.warn("\n It looks like you're using ngModel on the same form field as "+n+". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/"+("formControl"===n?"FormControlDirective":"FormControlName")+"#use-with-ngmodel\n ")},n}();function V_(n,l){return null==n?""+l:(l&&"object"==typeof l&&(l="Object"),(n+": "+l).slice(0,50))}var q_=function(){function n(n,l){this._renderer=n,this._elementRef=l,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=pe}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){this.value=n;var l=this._getOptionId(n);null==l&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var e=V_(l,n);this._renderer.setProperty(this._elementRef.nativeElement,"value",e)},n.prototype.registerOnChange=function(n){var l=this;this.onChange=function(e){l.value=l._getOptionValue(e),n(l.value)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(){return(this._idCounter++).toString()},n.prototype._getOptionId=function(n){var l,e;try{for(var i=Object(t.__values)(Array.from(this._optionMap.keys())),a=i.next();!a.done;a=i.next()){var o=a.value;if(this._compareWith(this._optionMap.get(o),n))return o}}catch(r){l={error:r}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(l)throw l.error}}return null},n.prototype._getOptionValue=function(n){var l=function(n){return n.split(":")[0]}(n);return this._optionMap.has(l)?this._optionMap.get(l):n},n}(),z_=function(){function n(n,l,e){this._element=n,this._renderer=l,this._select=e,this._select&&(this.id=this._select._registerOption())}return Object.defineProperty(n.prototype,"ngValue",{set:function(n){null!=this._select&&(this._select._optionMap.set(this.id,n),this._setElementValue(V_(this.id,n)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{set:function(n){this._setElementValue(n),this._select&&this._select.writeValue(this._select.value)},enumerable:!0,configurable:!0}),n.prototype._setElementValue=function(n){this._renderer.setProperty(this._element.nativeElement,"value",n)},n.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},n}();function U_(n,l){return null==n?""+l:("string"==typeof l&&(l="'"+l+"'"),l&&"object"==typeof l&&(l="Object"),(n+": "+l).slice(0,50))}var B_=function(){function n(n,l){this._renderer=n,this._elementRef=l,this._optionMap=new Map,this._idCounter=0,this.onChange=function(n){},this.onTouched=function(){},this._compareWith=pe}return Object.defineProperty(n.prototype,"compareWith",{set:function(n){if("function"!=typeof n)throw new Error("compareWith must be a function, but received "+JSON.stringify(n));this._compareWith=n},enumerable:!0,configurable:!0}),n.prototype.writeValue=function(n){var l,e=this;if(this.value=n,Array.isArray(n)){var t=n.map((function(n){return e._getOptionId(n)}));l=function(n,l){n._setSelected(t.indexOf(l.toString())>-1)}}else l=function(n,l){n._setSelected(!1)};this._optionMap.forEach(l)},n.prototype.registerOnChange=function(n){var l=this;this.onChange=function(e){var t=[];if(e.hasOwnProperty("selectedOptions"))for(var i=e.selectedOptions,a=0;a<i.length;a++){var o=i.item(a),r=l._getOptionValue(o.value);t.push(r)}else for(i=e.options,a=0;a<i.length;a++)(o=i.item(a)).selected&&(r=l._getOptionValue(o.value),t.push(r));l.value=t,n(t)}},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",n)},n.prototype._registerOption=function(n){var l=(this._idCounter++).toString();return this._optionMap.set(l,n),l},n.prototype._getOptionId=function(n){var l,e;try{for(var i=Object(t.__values)(Array.from(this._optionMap.keys())),a=i.next();!a.done;a=i.next()){var o=a.value;if(this._compareWith(this._optionMap.get(o)._value,n))return o}}catch(r){l={error:r}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(l)throw l.error}}return null},n.prototype._getOptionValue=function(n){var l=function(n){return n.split(":")[0]}(n);return this._optionMap.has(l)?this._optionMap.get(l)._value:n},n}(),$_=function(){function n(n,l,e){this._element=n,this._renderer=l,this._select=e,this._select&&(this.id=this._select._registerOption(this))}return Object.defineProperty(n.prototype,"ngValue",{set:function(n){null!=this._select&&(this._value=n,this._setElementValue(U_(this.id,n)),this._select.writeValue(this._select.value))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{set:function(n){this._select?(this._value=n,this._setElementValue(U_(this.id,n)),this._select.writeValue(this._select.value)):this._setElementValue(n)},enumerable:!0,configurable:!0}),n.prototype._setElementValue=function(n){this._renderer.setProperty(this._element.nativeElement,"value",n)},n.prototype._setSelected=function(n){this._renderer.setProperty(this._element.nativeElement,"selected",n)},n.prototype.ngOnDestroy=function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))},n}();function H_(n,l){return Object(t.__spread)(l.path,[n])}function G_(n,l){n||J_(l,"Cannot find control with"),l.valueAccessor||J_(l,"No value accessor for form control with"),n.validator=S_.compose([n.validator,l.validator]),n.asyncValidator=S_.composeAsync([n.asyncValidator,l.asyncValidator]),l.valueAccessor.writeValue(n.value),function(n,l){l.valueAccessor.registerOnChange((function(e){n._pendingValue=e,n._pendingChange=!0,n._pendingDirty=!0,"change"===n.updateOn&&W_(n,l)}))}(n,l),function(n,l){n.registerOnChange((function(n,e){l.valueAccessor.writeValue(n),e&&l.viewToModelUpdate(n)}))}(n,l),function(n,l){l.valueAccessor.registerOnTouched((function(){n._pendingTouched=!0,"blur"===n.updateOn&&n._pendingChange&&W_(n,l),"submit"!==n.updateOn&&n.markAsTouched()}))}(n,l),l.valueAccessor.setDisabledState&&n.registerOnDisabledChange((function(n){l.valueAccessor.setDisabledState(n)})),l._rawValidators.forEach((function(l){l.registerOnValidatorChange&&l.registerOnValidatorChange((function(){return n.updateValueAndValidity()}))})),l._rawAsyncValidators.forEach((function(l){l.registerOnValidatorChange&&l.registerOnValidatorChange((function(){return n.updateValueAndValidity()}))}))}function W_(n,l){n._pendingDirty&&n.markAsDirty(),n.setValue(n._pendingValue,{emitModelToViewChange:!1}),l.viewToModelUpdate(n._pendingValue),n._pendingChange=!1}function K_(n,l){null==n&&J_(l,"Cannot find control with"),n.validator=S_.compose([n.validator,l.validator]),n.asyncValidator=S_.composeAsync([n.asyncValidator,l.asyncValidator])}function Y_(n){return J_(n,"There is no FormControl instance attached to form control element with")}function J_(n,l){var e;throw e=n.path.length>1?"path: '"+n.path.join(" -> ")+"'":n.path[0]?"name: '"+n.path+"'":"unspecified name attribute",new Error(l+" "+e)}function Z_(n){return null!=n?S_.compose(n.map(P_)):null}function Q_(n){return null!=n?S_.composeAsync(n.map(D_)):null}function X_(n,l){if(!n.hasOwnProperty("model"))return!1;var e=n.model;return!!e.isFirstChange()||!pe(l,e.currentValue)}var ny=[p_,T_,F_,q_,B_,O_];function ly(n,l){n._syncPendingControls(),l.forEach((function(n){var l=n.control;"submit"===l.updateOn&&l._pendingChange&&(n.viewToModelUpdate(l._pendingValue),l._pendingChange=!1)}))}function ey(n,l){if(!l)return null;Array.isArray(l)||J_(n,"Value accessor was not provided as an array for form control with");var e=void 0,t=void 0,i=void 0;return l.forEach((function(l){var a;l.constructor===f_?e=l:(a=l,ny.some((function(n){return a.constructor===n}))?(t&&J_(n,"More than one built-in value accessor matches form control with"),t=l):(i&&J_(n,"More than one custom value accessor matches form control with"),i=l))})),i||t||e||(J_(n,"No valid value accessor for form control with"),null)}function ty(n,l){var e=n.indexOf(l);e>-1&&n.splice(e,1)}function iy(n,l,e,t){sl()&&"never"!==t&&((null!==t&&"once"!==t||l._ngModelWarningSentOnce)&&("always"!==t||e._ngModelWarningSent)||(j_.ngModelWarning(n),l._ngModelWarningSentOnce=!0,e._ngModelWarningSent=!0))}function ay(n){var l=ry(n)?n.validators:n;return Array.isArray(l)?Z_(l):l||null}function oy(n,l){var e=ry(l)?l.asyncValidators:n;return Array.isArray(e)?Q_(e):e||null}function ry(n){return null!=n&&!Array.isArray(n)&&"object"==typeof n}var uy=function(){function n(n,l){this.validator=n,this.asyncValidator=l,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return Object.defineProperty(n.prototype,"parent",{get:function(){return this._parent},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"valid",{get:function(){return"VALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"invalid",{get:function(){return"INVALID"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pending",{get:function(){return"PENDING"==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return"DISABLED"===this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return"DISABLED"!==this.status},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dirty",{get:function(){return!this.pristine},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"untouched",{get:function(){return!this.touched},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"updateOn",{get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"},enumerable:!0,configurable:!0}),n.prototype.setValidators=function(n){this.validator=ay(n)},n.prototype.setAsyncValidators=function(n){this.asyncValidator=oy(n)},n.prototype.clearValidators=function(){this.validator=null},n.prototype.clearAsyncValidators=function(){this.asyncValidator=null},n.prototype.markAsTouched=function(n){void 0===n&&(n={}),this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)},n.prototype.markAllAsTouched=function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(n){return n.markAllAsTouched()}))},n.prototype.markAsUntouched=function(n){void 0===n&&(n={}),this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(n){n.markAsUntouched({onlySelf:!0})})),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype.markAsDirty=function(n){void 0===n&&(n={}),this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)},n.prototype.markAsPristine=function(n){void 0===n&&(n={}),this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(n){n.markAsPristine({onlySelf:!0})})),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype.markAsPending=function(n){void 0===n&&(n={}),this.status="PENDING",!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)},n.prototype.disable=function(n){void 0===n&&(n={});var l=this._parentMarkedDirty(n.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(l){l.disable(Object(t.__assign)({},n,{onlySelf:!0}))})),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object(t.__assign)({},n,{skipPristineCheck:l})),this._onDisabledChange.forEach((function(n){return n(!0)}))},n.prototype.enable=function(n){void 0===n&&(n={});var l=this._parentMarkedDirty(n.onlySelf);this.status="VALID",this._forEachChild((function(l){l.enable(Object(t.__assign)({},n,{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object(t.__assign)({},n,{skipPristineCheck:l})),this._onDisabledChange.forEach((function(n){return n(!1)}))},n.prototype._updateAncestors=function(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())},n.prototype.setParent=function(n){this._parent=n},n.prototype.updateValueAndValidity=function(n){void 0===n&&(n={}),this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)},n.prototype._updateTreeValidity=function(n){void 0===n&&(n={emitEvent:!0}),this._forEachChild((function(l){return l._updateTreeValidity(n)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})},n.prototype._setInitialStatus=function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"},n.prototype._runValidator=function(){return this.validator?this.validator(this):null},n.prototype._runAsyncValidator=function(n){var l=this;if(this.asyncValidator){this.status="PENDING";var e=A_(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe((function(e){return l.setErrors(e,{emitEvent:n})}))}},n.prototype._cancelExistingSubscription=function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()},n.prototype.setErrors=function(n,l){void 0===l&&(l={}),this.errors=n,this._updateControlsErrors(!1!==l.emitEvent)},n.prototype.get=function(n){return function(n,l,e){return null==l?null:(l instanceof Array||(l=l.split(".")),l instanceof Array&&0===l.length?null:l.reduce((function(n,l){return n instanceof cy?n.controls.hasOwnProperty(l)?n.controls[l]:null:n instanceof dy&&n.at(l)||null}),n))}(this,n)},n.prototype.getError=function(n,l){var e=l?this.get(l):this;return e&&e.errors?e.errors[n]:null},n.prototype.hasError=function(n,l){return!!this.getError(n,l)},Object.defineProperty(n.prototype,"root",{get:function(){for(var n=this;n._parent;)n=n._parent;return n},enumerable:!0,configurable:!0}),n.prototype._updateControlsErrors=function(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)},n.prototype._initObservables=function(){this.valueChanges=new la,this.statusChanges=new la},n.prototype._calculateStatus=function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"},n.prototype._anyControlsHaveStatus=function(n){return this._anyControls((function(l){return l.status===n}))},n.prototype._anyControlsDirty=function(){return this._anyControls((function(n){return n.dirty}))},n.prototype._anyControlsTouched=function(){return this._anyControls((function(n){return n.touched}))},n.prototype._updatePristine=function(n){void 0===n&&(n={}),this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)},n.prototype._updateTouched=function(n){void 0===n&&(n={}),this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)},n.prototype._isBoxedValue=function(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n},n.prototype._registerOnCollectionChange=function(n){this._onCollectionChange=n},n.prototype._setUpdateStrategy=function(n){ry(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)},n.prototype._parentMarkedDirty=function(n){return!n&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()},n}(),sy=function(n){function l(l,e,t){void 0===l&&(l=null);var i=n.call(this,ay(e),oy(t,e))||this;return i._onChange=[],i._applyFormState(l),i._setUpdateStrategy(e),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i._initObservables(),i}return Object(t.__extends)(l,n),l.prototype.setValue=function(n,l){var e=this;void 0===l&&(l={}),this.value=this._pendingValue=n,this._onChange.length&&!1!==l.emitModelToViewChange&&this._onChange.forEach((function(n){return n(e.value,!1!==l.emitViewToModelChange)})),this.updateValueAndValidity(l)},l.prototype.patchValue=function(n,l){void 0===l&&(l={}),this.setValue(n,l)},l.prototype.reset=function(n,l){void 0===n&&(n=null),void 0===l&&(l={}),this._applyFormState(n),this.markAsPristine(l),this.markAsUntouched(l),this.setValue(this.value,l),this._pendingChange=!1},l.prototype._updateValue=function(){},l.prototype._anyControls=function(n){return!1},l.prototype._allControlsDisabled=function(){return this.disabled},l.prototype.registerOnChange=function(n){this._onChange.push(n)},l.prototype._clearChangeFns=function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}},l.prototype.registerOnDisabledChange=function(n){this._onDisabledChange.push(n)},l.prototype._forEachChild=function(n){},l.prototype._syncPendingControls=function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))},l.prototype._applyFormState=function(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n},l}(uy),cy=function(n){function l(l,e,t){var i=n.call(this,ay(e),oy(t,e))||this;return i.controls=l,i._initObservables(),i._setUpdateStrategy(e),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(t.__extends)(l,n),l.prototype.registerControl=function(n,l){return this.controls[n]?this.controls[n]:(this.controls[n]=l,l.setParent(this),l._registerOnCollectionChange(this._onCollectionChange),l)},l.prototype.addControl=function(n,l){this.registerControl(n,l),this.updateValueAndValidity(),this._onCollectionChange()},l.prototype.removeControl=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),delete this.controls[n],this.updateValueAndValidity(),this._onCollectionChange()},l.prototype.setControl=function(n,l){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),delete this.controls[n],l&&this.registerControl(n,l),this.updateValueAndValidity(),this._onCollectionChange()},l.prototype.contains=function(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled},l.prototype.setValue=function(n,l){var e=this;void 0===l&&(l={}),this._checkAllValuesPresent(n),Object.keys(n).forEach((function(t){e._throwIfControlMissing(t),e.controls[t].setValue(n[t],{onlySelf:!0,emitEvent:l.emitEvent})})),this.updateValueAndValidity(l)},l.prototype.patchValue=function(n,l){var e=this;void 0===l&&(l={}),Object.keys(n).forEach((function(t){e.controls[t]&&e.controls[t].patchValue(n[t],{onlySelf:!0,emitEvent:l.emitEvent})})),this.updateValueAndValidity(l)},l.prototype.reset=function(n,l){void 0===n&&(n={}),void 0===l&&(l={}),this._forEachChild((function(e,t){e.reset(n[t],{onlySelf:!0,emitEvent:l.emitEvent})})),this._updatePristine(l),this._updateTouched(l),this.updateValueAndValidity(l)},l.prototype.getRawValue=function(){return this._reduceChildren({},(function(n,l,e){return n[e]=l instanceof sy?l.value:l.getRawValue(),n}))},l.prototype._syncPendingControls=function(){var n=this._reduceChildren(!1,(function(n,l){return!!l._syncPendingControls()||n}));return n&&this.updateValueAndValidity({onlySelf:!0}),n},l.prototype._throwIfControlMissing=function(n){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[n])throw new Error("Cannot find form control with name: "+n+".")},l.prototype._forEachChild=function(n){var l=this;Object.keys(this.controls).forEach((function(e){return n(l.controls[e],e)}))},l.prototype._setUpControls=function(){var n=this;this._forEachChild((function(l){l.setParent(n),l._registerOnCollectionChange(n._onCollectionChange)}))},l.prototype._updateValue=function(){this.value=this._reduceValue()},l.prototype._anyControls=function(n){var l=this,e=!1;return this._forEachChild((function(t,i){e=e||l.contains(i)&&n(t)})),e},l.prototype._reduceValue=function(){var n=this;return this._reduceChildren({},(function(l,e,t){return(e.enabled||n.disabled)&&(l[t]=e.value),l}))},l.prototype._reduceChildren=function(n,l){var e=n;return this._forEachChild((function(n,t){e=l(e,n,t)})),e},l.prototype._allControlsDisabled=function(){var n,l;try{for(var e=Object(t.__values)(Object.keys(this.controls)),i=e.next();!i.done;i=e.next())if(this.controls[i.value].enabled)return!1}catch(a){n={error:a}}finally{try{i&&!i.done&&(l=e.return)&&l.call(e)}finally{if(n)throw n.error}}return Object.keys(this.controls).length>0||this.disabled},l.prototype._checkAllValuesPresent=function(n){this._forEachChild((function(l,e){if(void 0===n[e])throw new Error("Must supply a value for form control with name: '"+e+"'.")}))},l}(uy),dy=function(n){function l(l,e,t){var i=n.call(this,ay(e),oy(t,e))||this;return i.controls=l,i._initObservables(),i._setUpdateStrategy(e),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return Object(t.__extends)(l,n),l.prototype.at=function(n){return this.controls[n]},l.prototype.push=function(n){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity(),this._onCollectionChange()},l.prototype.insert=function(n,l){this.controls.splice(n,0,l),this._registerControl(l),this.updateValueAndValidity()},l.prototype.removeAt=function(n){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),this.controls.splice(n,1),this.updateValueAndValidity()},l.prototype.setControl=function(n,l){this.controls[n]&&this.controls[n]._registerOnCollectionChange((function(){})),this.controls.splice(n,1),l&&(this.controls.splice(n,0,l),this._registerControl(l)),this.updateValueAndValidity(),this._onCollectionChange()},Object.defineProperty(l.prototype,"length",{get:function(){return this.controls.length},enumerable:!0,configurable:!0}),l.prototype.setValue=function(n,l){var e=this;void 0===l&&(l={}),this._checkAllValuesPresent(n),n.forEach((function(n,t){e._throwIfControlMissing(t),e.at(t).setValue(n,{onlySelf:!0,emitEvent:l.emitEvent})})),this.updateValueAndValidity(l)},l.prototype.patchValue=function(n,l){var e=this;void 0===l&&(l={}),n.forEach((function(n,t){e.at(t)&&e.at(t).patchValue(n,{onlySelf:!0,emitEvent:l.emitEvent})})),this.updateValueAndValidity(l)},l.prototype.reset=function(n,l){void 0===n&&(n=[]),void 0===l&&(l={}),this._forEachChild((function(e,t){e.reset(n[t],{onlySelf:!0,emitEvent:l.emitEvent})})),this._updatePristine(l),this._updateTouched(l),this.updateValueAndValidity(l)},l.prototype.getRawValue=function(){return this.controls.map((function(n){return n instanceof sy?n.value:n.getRawValue()}))},l.prototype.clear=function(){this.controls.length<1||(this._forEachChild((function(n){return n._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())},l.prototype._syncPendingControls=function(){var n=this.controls.reduce((function(n,l){return!!l._syncPendingControls()||n}),!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n},l.prototype._throwIfControlMissing=function(n){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(n))throw new Error("Cannot find form control at index "+n)},l.prototype._forEachChild=function(n){this.controls.forEach((function(l,e){n(l,e)}))},l.prototype._updateValue=function(){var n=this;this.value=this.controls.filter((function(l){return l.enabled||n.disabled})).map((function(n){return n.value}))},l.prototype._anyControls=function(n){return this.controls.some((function(l){return l.enabled&&n(l)}))},l.prototype._setUpControls=function(){var n=this;this._forEachChild((function(l){return n._registerControl(l)}))},l.prototype._checkAllValuesPresent=function(n){this._forEachChild((function(l,e){if(void 0===n[e])throw new Error("Must supply a value for form control at index: "+e+".")}))},l.prototype._allControlsDisabled=function(){var n,l;try{for(var e=Object(t.__values)(this.controls),i=e.next();!i.done;i=e.next())if(i.value.enabled)return!1}catch(a){n={error:a}}finally{try{i&&!i.done&&(l=e.return)&&l.call(e)}finally{if(n)throw n.error}}return this.controls.length>0||this.disabled},l.prototype._registerControl=function(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)},l}(uy),py=function(){return Promise.resolve(null)}(),my=function(n){function l(l,e){var t=n.call(this)||this;return t.submitted=!1,t._directives=[],t.ngSubmit=new la,t.form=new cy({},Z_(l),Q_(e)),t}return Object(t.__extends)(l,n),l.prototype.ngAfterViewInit=function(){this._setUpdateStrategy()},Object.defineProperty(l.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"controls",{get:function(){return this.form.controls},enumerable:!0,configurable:!0}),l.prototype.addControl=function(n){var l=this;py.then((function(){var e=l._findContainer(n.path);n.control=e.registerControl(n.name,n.control),G_(n.control,n),n.control.updateValueAndValidity({emitEvent:!1}),l._directives.push(n)}))},l.prototype.getControl=function(n){return this.form.get(n.path)},l.prototype.removeControl=function(n){var l=this;py.then((function(){var e=l._findContainer(n.path);e&&e.removeControl(n.name),ty(l._directives,n)}))},l.prototype.addFormGroup=function(n){var l=this;py.then((function(){var e=l._findContainer(n.path),t=new cy({});K_(t,n),e.registerControl(n.name,t),t.updateValueAndValidity({emitEvent:!1})}))},l.prototype.removeFormGroup=function(n){var l=this;py.then((function(){var e=l._findContainer(n.path);e&&e.removeControl(n.name)}))},l.prototype.getFormGroup=function(n){return this.form.get(n.path)},l.prototype.updateModel=function(n,l){var e=this;py.then((function(){e.form.get(n.path).setValue(l)}))},l.prototype.setValue=function(n){this.control.setValue(n)},l.prototype.onSubmit=function(n){return this.submitted=!0,ly(this.form,this._directives),this.ngSubmit.emit(n),!1},l.prototype.onReset=function(){this.resetForm()},l.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},l.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)},l.prototype._findContainer=function(n){return n.pop(),n.length?this.form.get(n):this.form},l}(g_),fy=function(){function n(){}return n.modelParentException=function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n '+L_+'\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')},n.formGroupNameException=function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n "+R_+"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n "+N_)},n.missingNameException=function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')},n.modelGroupParentException=function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n "+R_+"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n "+N_)},n.ngFormWarning=function(){console.warn("\n It looks like you're using 'ngForm'.\n\n Support for using the 'ngForm' element selector has been deprecated in Angular v6 and will be removed\n in Angular v9.\n\n Use 'ng-form' instead.\n\n Before:\n <ngForm #myForm=\"ngForm\">\n\n After:\n <ng-form #myForm=\"ngForm\">\n ")},n}(),hy=new On("NgFormSelectorWarning"),gy=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormGroup(this)},l.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormGroup(this)},Object.defineProperty(l.prototype,"control",{get:function(){return this.formDirective.getFormGroup(this)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){return H_(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"validator",{get:function(){return Z_(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"asyncValidator",{get:function(){return Q_(this._asyncValidators)},enumerable:!0,configurable:!0}),l.prototype._checkParentType=function(){},l}(g_),by=function(n){function l(l,e,t){var i=n.call(this)||this;return i._parent=l,i._validators=e,i._asyncValidators=t,i}var e;return Object(t.__extends)(l,n),e=l,l.prototype._checkParentType=function(){this._parent instanceof e||this._parent instanceof my||fy.modelGroupParentException()},l}(gy),vy=function(){return Promise.resolve(null)}(),_y=function(n){function l(l,e,t,i){var a=n.call(this)||this;return a.control=new sy,a._registered=!1,a.update=new la,a._parent=l,a._rawValidators=e||[],a._rawAsyncValidators=t||[],a.valueAccessor=ey(a,i),a}return Object(t.__extends)(l,n),l.prototype.ngOnChanges=function(n){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in n&&this._updateDisabled(n),X_(n,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)},l.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},Object.defineProperty(l.prototype,"path",{get:function(){return this._parent?H_(this.name,this._parent):[this.name]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"validator",{get:function(){return Z_(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"asyncValidator",{get:function(){return Q_(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),l.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},l.prototype._setUpControl=function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0},l.prototype._setUpdateStrategy=function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)},l.prototype._isStandalone=function(){return!this._parent||!(!this.options||!this.options.standalone)},l.prototype._setUpStandalone=function(){G_(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})},l.prototype._checkForErrors=function(){this._isStandalone()||this._checkParentType(),this._checkName()},l.prototype._checkParentType=function(){!(this._parent instanceof by)&&this._parent instanceof gy?fy.formGroupNameException():this._parent instanceof by||this._parent instanceof my||fy.modelParentException()},l.prototype._checkName=function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||fy.missingNameException()},l.prototype._updateValue=function(n){var l=this;vy.then((function(){l.control.setValue(n,{emitViewToModelChange:!1})}))},l.prototype._updateDisabled=function(n){var l=this,e=n.isDisabled.currentValue,t=""===e||e&&"false"!==e;vy.then((function(){t&&!l.control.disabled?l.control.disable():!t&&l.control.disabled&&l.control.enable()}))},l}(v_),yy=function(){return function(){}}(),wy=new On("NgModelWithFormControlWarning"),xy=function(n){function l(l,e,t,i){var a=n.call(this)||this;return a._ngModelWarningConfig=i,a.update=new la,a._ngModelWarningSent=!1,a._rawValidators=l||[],a._rawAsyncValidators=e||[],a.valueAccessor=ey(a,t),a}var e;return Object(t.__extends)(l,n),e=l,Object.defineProperty(l.prototype,"isDisabled",{set:function(n){j_.disabledAttrWarning()},enumerable:!0,configurable:!0}),l.prototype.ngOnChanges=function(n){this._isControlChanged(n)&&(G_(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})),X_(n,this.viewModel)&&(iy("formControl",e,this,this._ngModelWarningConfig),this.form.setValue(this.model),this.viewModel=this.model)},Object.defineProperty(l.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"validator",{get:function(){return Z_(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"asyncValidator",{get:function(){return Q_(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),l.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},l.prototype._isControlChanged=function(n){return n.hasOwnProperty("form")},l._ngModelWarningSentOnce=!1,l}(v_),Cy=function(n){function l(l,e){var t=n.call(this)||this;return t._validators=l,t._asyncValidators=e,t.submitted=!1,t.directives=[],t.form=null,t.ngSubmit=new la,t}return Object(t.__extends)(l,n),l.prototype.ngOnChanges=function(n){this._checkFormPresent(),n.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())},Object.defineProperty(l.prototype,"formDirective",{get:function(){return this},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"control",{get:function(){return this.form},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){return[]},enumerable:!0,configurable:!0}),l.prototype.addControl=function(n){var l=this.form.get(n.path);return G_(l,n),l.updateValueAndValidity({emitEvent:!1}),this.directives.push(n),l},l.prototype.getControl=function(n){return this.form.get(n.path)},l.prototype.removeControl=function(n){ty(this.directives,n)},l.prototype.addFormGroup=function(n){var l=this.form.get(n.path);K_(l,n),l.updateValueAndValidity({emitEvent:!1})},l.prototype.removeFormGroup=function(n){},l.prototype.getFormGroup=function(n){return this.form.get(n.path)},l.prototype.addFormArray=function(n){var l=this.form.get(n.path);K_(l,n),l.updateValueAndValidity({emitEvent:!1})},l.prototype.removeFormArray=function(n){},l.prototype.getFormArray=function(n){return this.form.get(n.path)},l.prototype.updateModel=function(n,l){this.form.get(n.path).setValue(l)},l.prototype.onSubmit=function(n){return this.submitted=!0,ly(this.form,this.directives),this.ngSubmit.emit(n),!1},l.prototype.onReset=function(){this.resetForm()},l.prototype.resetForm=function(n){void 0===n&&(n=void 0),this.form.reset(n),this.submitted=!1},l.prototype._updateDomValue=function(){var n=this;this.directives.forEach((function(l){var e=n.form.get(l.path);l.control!==e&&(function(n,l){l.valueAccessor.registerOnChange((function(){return Y_(l)})),l.valueAccessor.registerOnTouched((function(){return Y_(l)})),l._rawValidators.forEach((function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)})),l._rawAsyncValidators.forEach((function(n){n.registerOnValidatorChange&&n.registerOnValidatorChange(null)})),n&&n._clearChangeFns()}(l.control,l),e&&G_(e,l),l.control=e)})),this.form._updateTreeValidity({emitEvent:!1})},l.prototype._updateRegistrations=function(){var n=this;this.form._registerOnCollectionChange((function(){return n._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form},l.prototype._updateValidators=function(){var n=Z_(this._validators);this.form.validator=S_.compose([this.form.validator,n]);var l=Q_(this._asyncValidators);this.form.asyncValidator=S_.composeAsync([this.form.asyncValidator,l])},l.prototype._checkFormPresent=function(){this.form||j_.missingFormException()},l}(g_),ky=function(n){function l(l,e,t){var i=n.call(this)||this;return i._parent=l,i._validators=e,i._asyncValidators=t,i}return Object(t.__extends)(l,n),l.prototype._checkParentType=function(){Iy(this._parent)&&j_.groupParentException()},l}(gy),Sy=function(n){function l(l,e,t){var i=n.call(this)||this;return i._parent=l,i._validators=e,i._asyncValidators=t,i}return Object(t.__extends)(l,n),l.prototype.ngOnInit=function(){this._checkParentType(),this.formDirective.addFormArray(this)},l.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeFormArray(this)},Object.defineProperty(l.prototype,"control",{get:function(){return this.formDirective.getFormArray(this)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"path",{get:function(){return H_(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"validator",{get:function(){return Z_(this._validators)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"asyncValidator",{get:function(){return Q_(this._asyncValidators)},enumerable:!0,configurable:!0}),l.prototype._checkParentType=function(){Iy(this._parent)&&j_.arrayParentException()},l}(g_);function Iy(n){return!(n instanceof ky||n instanceof Cy||n instanceof Sy)}var Ay=function(n){function l(l,e,t,i,a){var o=n.call(this)||this;return o._ngModelWarningConfig=a,o._added=!1,o.update=new la,o._ngModelWarningSent=!1,o._parent=l,o._rawValidators=e||[],o._rawAsyncValidators=t||[],o.valueAccessor=ey(o,i),o}var e;return Object(t.__extends)(l,n),e=l,Object.defineProperty(l.prototype,"isDisabled",{set:function(n){j_.disabledAttrWarning()},enumerable:!0,configurable:!0}),l.prototype.ngOnChanges=function(n){this._added||this._setUpControl(),X_(n,this.viewModel)&&(iy("formControlName",e,this,this._ngModelWarningConfig),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))},l.prototype.ngOnDestroy=function(){this.formDirective&&this.formDirective.removeControl(this)},l.prototype.viewToModelUpdate=function(n){this.viewModel=n,this.update.emit(n)},Object.defineProperty(l.prototype,"path",{get:function(){return H_(this.name,this._parent)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"formDirective",{get:function(){return this._parent?this._parent.formDirective:null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"validator",{get:function(){return Z_(this._rawValidators)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"asyncValidator",{get:function(){return Q_(this._rawAsyncValidators)},enumerable:!0,configurable:!0}),l.prototype._checkParentType=function(){!(this._parent instanceof ky)&&this._parent instanceof gy?j_.ngModelGroupException():this._parent instanceof ky||this._parent instanceof Cy||this._parent instanceof Sy||j_.controlParentException()},l.prototype._setUpControl=function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0},l._ngModelWarningSentOnce=!1,l}(v_),My=function(){function n(){}return Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=null!=n&&!1!==n&&""+n!="false",this._onChange&&this._onChange()},enumerable:!0,configurable:!0}),n.prototype.validate=function(n){return this.required?S_.required(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n}(),Py=function(){function n(){}return n.prototype.ngOnChanges=function(n){"minlength"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return null==this.minlength?null:this._validator(n)},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=S_.minLength(parseInt(this.minlength,10))},n}(),Dy=function(){function n(){}return n.prototype.ngOnChanges=function(n){"maxlength"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return null!=this.maxlength?this._validator(n):null},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=S_.maxLength(parseInt(this.maxlength,10))},n}(),Fy=function(){function n(){}return n.prototype.ngOnChanges=function(n){"pattern"in n&&(this._createValidator(),this._onChange&&this._onChange())},n.prototype.validate=function(n){return this._validator(n)},n.prototype.registerOnValidatorChange=function(n){this._onChange=n},n.prototype._createValidator=function(){this._validator=S_.pattern(this.pattern)},n}(),Ey=function(){return function(){}}(),Oy=function(){function n(){}return n.prototype.group=function(n,l){void 0===l&&(l=null);var e=this._reduceControls(n),t=null,i=null,a=void 0;return null!=l&&(function(n){return void 0!==n.asyncValidators||void 0!==n.validators||void 0!==n.updateOn}(l)?(t=null!=l.validators?l.validators:null,i=null!=l.asyncValidators?l.asyncValidators:null,a=null!=l.updateOn?l.updateOn:void 0):(t=null!=l.validator?l.validator:null,i=null!=l.asyncValidator?l.asyncValidator:null)),new cy(e,{asyncValidators:i,updateOn:a,validators:t})},n.prototype.control=function(n,l,e){return new sy(n,l,e)},n.prototype.array=function(n,l,e){var t=this,i=n.map((function(n){return t._createControl(n)}));return new dy(i,l,e)},n.prototype._reduceControls=function(n){var l=this,e={};return Object.keys(n).forEach((function(t){e[t]=l._createControl(n[t])})),e},n.prototype._createControl=function(n){return n instanceof sy||n instanceof cy||n instanceof dy?n:Array.isArray(n)?this.control(n[0],n.length>1?n[1]:null,n.length>2?n[2]:null):this.control(n)},n}(),Ty=function(){function n(){}var l;return l=n,n.withConfig=function(n){return{ngModule:l,providers:[{provide:hy,useValue:n.warnOnDeprecatedNgFormSelector}]}},n}(),Ly=function(){function n(){}var l;return l=n,n.withConfig=function(n){return{ngModule:l,providers:[{provide:wy,useValue:n.warnOnNgModelWithFormControl}]}},n}();function Ry(n){return Error("MatDatepicker: No provider found for "+n+". You must import one of the following modules at your application root: MatNativeDateModule, MatMomentDateModule, or provide a custom implementation.")}var Ny=function(){function n(){this.changes=new M,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),jy=function(){return function(n,l,e,t,i){this.value=n,this.displayValue=l,this.ariaLabel=e,this.enabled=t,this.cssClasses=i}}(),Vy=function(){function n(n,l){this._elementRef=n,this._ngZone=l,this.numCols=7,this.activeCell=0,this.cellAspectRatio=1,this.selectedValueChange=new la}return n.prototype._cellClicked=function(n){n.enabled&&this.selectedValueChange.emit(n.value)},n.prototype.ngOnChanges=function(n){var l=n.numCols,e=this.rows,t=this.numCols;(n.rows||l)&&(this._firstRowOffset=e&&e.length&&e[0].length?t-e[0].length:0),(n.cellAspectRatio||l||!this._cellPadding)&&(this._cellPadding=50*this.cellAspectRatio/t+"%"),!l&&this._cellWidth||(this._cellWidth=100/t+"%")},n.prototype._isActiveCell=function(n,l){var e=n*this.numCols+l;return n&&(e-=this._firstRowOffset),e==this.activeCell},n.prototype._focusActiveCell=function(){var n=this;this._ngZone.runOutsideAngular((function(){n._ngZone.onStable.asObservable().pipe(_c(1)).subscribe((function(){var l=n._elementRef.nativeElement.querySelector(".mat-calendar-body-active");l&&l.focus()}))}))},n}(),qy=function(){function n(n,l,e,t){if(this._changeDetectorRef=n,this._dateFormats=l,this._dateAdapter=e,this._dir=t,this.selectedChange=new la,this._userSelection=new la,this.activeDateChange=new la,!this._dateAdapter)throw Ry("DateAdapter");if(!this._dateFormats)throw Ry("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(n.prototype,"activeDate",{get:function(){return this._activeDate},set:function(n){var l=this._activeDate,e=this._getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this._hasSameMonthAndYear(l,this._activeDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._selectedDate=this._getDateInCurrentMonth(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this._minDate},set:function(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this._maxDate},set:function(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._init()},n.prototype._dateSelected=function(n){if(this._selectedDate!=n){var l=this._dateAdapter.getYear(this.activeDate),e=this._dateAdapter.getMonth(this.activeDate),t=this._dateAdapter.createDate(l,e,n);this.selectedChange.emit(t)}this._userSelection.emit()},n.prototype._handleCalendarBodyKeydown=function(n){var l=this._activeDate,e=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,e?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,e?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case 40:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case 36:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case 33:this.activeDate=n.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case 34:this.activeDate=n.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case 13:case 32:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected(this._dateAdapter.getDate(this._activeDate)),this._userSelection.emit(),n.preventDefault()));default:return}this._dateAdapter.compareDate(l,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()},n.prototype._init=function(){this._selectedDate=this._getDateInCurrentMonth(this.selected),this._todayDate=this._getDateInCurrentMonth(this._dateAdapter.today()),this._monthLabel=this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(n)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()},n.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},n.prototype._initWeekdays=function(){var n=this._dateAdapter.getFirstDayOfWeek(),l=this._dateAdapter.getDayOfWeekNames("narrow"),e=this._dateAdapter.getDayOfWeekNames("long").map((function(n,e){return{long:n,narrow:l[e]}}));this._weekdays=e.slice(n).concat(e.slice(0,n))},n.prototype._createWeekCells=function(){var n=this._dateAdapter.getNumDaysInMonth(this.activeDate),l=this._dateAdapter.getDateNames();this._weeks=[[]];for(var e=0,t=this._firstWeekOffset;e<n;e++,t++){7==t&&(this._weeks.push([]),t=0);var i=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),e+1),a=this._shouldEnableDate(i),o=this._dateAdapter.format(i,this._dateFormats.display.dateA11yLabel),r=this.dateClass?this.dateClass(i):void 0;this._weeks[this._weeks.length-1].push(new jy(e+1,l[e],o,a,r))}},n.prototype._shouldEnableDate=function(n){return!!n&&(!this.dateFilter||this.dateFilter(n))&&(!this.minDate||this._dateAdapter.compareDate(n,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(n,this.maxDate)<=0)},n.prototype._getDateInCurrentMonth=function(n){return n&&this._hasSameMonthAndYear(n,this.activeDate)?this._dateAdapter.getDate(n):null},n.prototype._hasSameMonthAndYear=function(n,l){return!(!n||!l||this._dateAdapter.getMonth(n)!=this._dateAdapter.getMonth(l)||this._dateAdapter.getYear(n)!=this._dateAdapter.getYear(l))},n.prototype._getValidDateOrNull=function(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null},n.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},n}(),zy=24,Uy=function(){function n(n,l,e){if(this._changeDetectorRef=n,this._dateAdapter=l,this._dir=e,this.selectedChange=new la,this.yearSelected=new la,this.activeDateChange=new la,!this._dateAdapter)throw Ry("DateAdapter");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(n.prototype,"activeDate",{get:function(){return this._activeDate},set:function(n){var l=this._activeDate,e=this._getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),By(this._dateAdapter,l,this._activeDate,this.minDate,this.maxDate)||this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._selectedYear=this._selected&&this._dateAdapter.getYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this._minDate},set:function(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this._maxDate},set:function(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._init()},n.prototype._init=function(){var n=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var l=this._dateAdapter.getYear(this._activeDate)-$y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var e=0,t=[];e<zy;e++)t.push(l+e),4==t.length&&(this._years.push(t.map((function(l){return n._createCellForYear(l)}))),t=[]);this._changeDetectorRef.markForCheck()},n.prototype._yearSelected=function(n){this.yearSelected.emit(this._dateAdapter.createDate(n,0,1));var l=this._dateAdapter.getMonth(this.activeDate),e=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(n,l,1));this.selectedChange.emit(this._dateAdapter.createDate(n,l,Math.min(this._dateAdapter.getDate(this.activeDate),e)))},n.prototype._handleCalendarBodyKeydown=function(n){var l=this._activeDate,e=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-$y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,zy-$y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?10*-zy:-zy);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?10*zy:zy);break;case 13:case 32:this._yearSelected(this._dateAdapter.getYear(this._activeDate));break;default:return}this._dateAdapter.compareDate(l,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()},n.prototype._getActiveCell=function(){return $y(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)},n.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},n.prototype._createCellForYear=function(n){var l=this._dateAdapter.getYearName(this._dateAdapter.createDate(n,0,1));return new jy(n,l,l,this._shouldEnableYear(n))},n.prototype._shouldEnableYear=function(n){if(null==n||this.maxDate&&n>this._dateAdapter.getYear(this.maxDate)||this.minDate&&n<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var l=this._dateAdapter.createDate(n,0,1);this._dateAdapter.getYear(l)==n;l=this._dateAdapter.addCalendarDays(l,1))if(this.dateFilter(l))return!0;return!1},n.prototype._getValidDateOrNull=function(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null},n.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},n}();function By(n,l,e,t,i){var a=n.getYear(l),o=n.getYear(e),r=Hy(n,t,i);return Math.floor((a-r)/zy)===Math.floor((o-r)/zy)}function $y(n,l,e,t){var i;return((n.getYear(l)-Hy(n,e,t))%(i=zy)+i)%i}function Hy(n,l,e){var t=0;return e?t=n.getYear(e)-zy+1:l&&(t=n.getYear(l)),t}var Gy=function(){function n(n,l,e,t){if(this._changeDetectorRef=n,this._dateFormats=l,this._dateAdapter=e,this._dir=t,this.selectedChange=new la,this.monthSelected=new la,this.activeDateChange=new la,!this._dateAdapter)throw Ry("DateAdapter");if(!this._dateFormats)throw Ry("MAT_DATE_FORMATS");this._activeDate=this._dateAdapter.today()}return Object.defineProperty(n.prototype,"activeDate",{get:function(){return this._activeDate},set:function(n){var l=this._activeDate,e=this._getValidDateOrNull(this._dateAdapter.deserialize(n))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this._dateAdapter.getYear(l)!==this._dateAdapter.getYear(this._activeDate)&&this._init()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._selectedMonth=this._getMonthInCurrentYear(this._selected)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this._minDate},set:function(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this._maxDate},set:function(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._init()},n.prototype._monthSelected=function(n){var l=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1);this.monthSelected.emit(l);var e=this._dateAdapter.getNumDaysInMonth(l);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,Math.min(this._dateAdapter.getDate(this.activeDate),e)))},n.prototype._handleCalendarBodyKeydown=function(n){var l=this._activeDate,e=this._isRtl();switch(n.keyCode){case 37:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,e?1:-1);break;case 39:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,e?-1:1);break;case 38:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case 40:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case 36:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case 35:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case 33:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?-10:-1);break;case 34:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n.altKey?10:1);break;case 13:case 32:this._monthSelected(this._dateAdapter.getMonth(this._activeDate));break;default:return}this._dateAdapter.compareDate(l,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),n.preventDefault()},n.prototype._init=function(){var n=this;this._selectedMonth=this._getMonthInCurrentYear(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var l=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map((function(e){return e.map((function(e){return n._createCellForMonth(e,l[e])}))})),this._changeDetectorRef.markForCheck()},n.prototype._focusActiveCell=function(){this._matCalendarBody._focusActiveCell()},n.prototype._getMonthInCurrentYear=function(n){return n&&this._dateAdapter.getYear(n)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(n):null},n.prototype._createCellForMonth=function(n,l){var e=this._dateAdapter.format(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),n,1),this._dateFormats.display.monthYearA11yLabel);return new jy(n,l.toLocaleUpperCase(),e,this._shouldEnableMonth(n))},n.prototype._shouldEnableMonth=function(n){var l=this._dateAdapter.getYear(this.activeDate);if(null==n||this._isYearAndMonthAfterMaxDate(l,n)||this._isYearAndMonthBeforeMinDate(l,n))return!1;if(!this.dateFilter)return!0;for(var e=this._dateAdapter.createDate(l,n,1);this._dateAdapter.getMonth(e)==n;e=this._dateAdapter.addCalendarDays(e,1))if(this.dateFilter(e))return!0;return!1},n.prototype._isYearAndMonthAfterMaxDate=function(n,l){if(this.maxDate){var e=this._dateAdapter.getYear(this.maxDate),t=this._dateAdapter.getMonth(this.maxDate);return n>e||n===e&&l>t}return!1},n.prototype._isYearAndMonthBeforeMinDate=function(n,l){if(this.minDate){var e=this._dateAdapter.getYear(this.minDate),t=this._dateAdapter.getMonth(this.minDate);return n<e||n===e&&l<t}return!1},n.prototype._getValidDateOrNull=function(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null},n.prototype._isRtl=function(){return this._dir&&"rtl"===this._dir.value},n}(),Wy=function(){function n(n,l,e,t,i){this._intl=n,this.calendar=l,this._dateAdapter=e,this._dateFormats=t,this.calendar.stateChanges.subscribe((function(){return i.markForCheck()}))}return Object.defineProperty(n.prototype,"periodButtonText",{get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var n=this._dateAdapter.getYear(this.calendar.activeDate)-$y(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate);return n+" – "+(n+zy-1)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"periodButtonLabel",{get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"prevButtonLabel",{get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"nextButtonLabel",{get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]},enumerable:!0,configurable:!0}),n.prototype.currentPeriodClicked=function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"},n.prototype.previousClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-zy)},n.prototype.nextClicked=function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:zy)},n.prototype.previousEnabled=function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)},n.prototype.nextEnabled=function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)},n.prototype._isSameView=function(n,l){return"month"==this.calendar.currentView?this._dateAdapter.getYear(n)==this._dateAdapter.getYear(l)&&this._dateAdapter.getMonth(n)==this._dateAdapter.getMonth(l):"year"==this.calendar.currentView?this._dateAdapter.getYear(n)==this._dateAdapter.getYear(l):By(this._dateAdapter,n,l,this.calendar.minDate,this.calendar.maxDate)},n}(),Ky=function(){function n(n,l,e,t){var i=this;if(this._dateAdapter=l,this._dateFormats=e,this._changeDetectorRef=t,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new la,this.yearSelected=new la,this.monthSelected=new la,this._userSelection=new la,this.stateChanges=new M,!this._dateAdapter)throw Ry("DateAdapter");if(!this._dateFormats)throw Ry("MAT_DATE_FORMATS");this._intlChanges=n.changes.subscribe((function(){t.markForCheck(),i.stateChanges.next()}))}return Object.defineProperty(n.prototype,"startAt",{get:function(){return this._startAt},set:function(n){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"minDate",{get:function(){return this._minDate},set:function(n){this._minDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxDate",{get:function(){return this._maxDate},set:function(n){this._maxDate=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activeDate",{get:function(){return this._clampedActiveDate},set:function(n){this._clampedActiveDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"currentView",{get:function(){return this._currentView},set:function(n){this._currentView=n,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._calendarHeaderPortal=new cu(this.headerComponent||Wy),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView},n.prototype.ngAfterViewChecked=function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())},n.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()},n.prototype.ngOnChanges=function(n){var l=n.minDate||n.maxDate||n.dateFilter;if(l&&!l.firstChange){var e=this._getCurrentViewComponent();e&&(this._changeDetectorRef.detectChanges(),e._init())}this.stateChanges.next()},n.prototype.focusActiveCell=function(){this._getCurrentViewComponent()._focusActiveCell()},n.prototype.updateTodaysDate=function(){("month"==this.currentView?this.monthView:"year"==this.currentView?this.yearView:this.multiYearView).ngAfterContentInit()},n.prototype._dateSelected=function(n){this._dateAdapter.sameDate(n,this.selected)||this.selectedChange.emit(n)},n.prototype._yearSelectedInMultiYearView=function(n){this.yearSelected.emit(n)},n.prototype._monthSelectedInYearView=function(n){this.monthSelected.emit(n)},n.prototype._userSelected=function(){this._userSelection.emit()},n.prototype._goToDateInView=function(n,l){this.activeDate=n,this.currentView=l},n.prototype._getValidDateOrNull=function(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null},n.prototype._getCurrentViewComponent=function(){return this.monthView||this.yearView||this.multiYearView},n}(),Yy=0,Jy=new On("mat-datepicker-scroll-strategy");function Zy(n){return function(){return n.scrollStrategies.reposition()}}var Qy=function(n){function l(l){return n.call(this,l)||this}return Object(t.__extends)(l,n),l.prototype.ngAfterViewInit=function(){this._calendar.focusActiveCell()},l}(Kb(function(){return function(n){this._elementRef=n}}())),Xy=function(){function n(n,l,e,t,i,a,o,r){if(this._dialog=n,this._overlay=l,this._ngZone=e,this._viewContainerRef=t,this._dateAdapter=a,this._dir=o,this._document=r,this.startView="month",this._touchUi=!1,this.yearSelected=new la,this.monthSelected=new la,this.openedStream=new la,this.closedStream=new la,this._opened=!1,this.id="mat-datepicker-"+Yy++,this._validSelected=null,this._focusedElementBeforeOpen=null,this._inputSubscription=s.EMPTY,this._disabledChange=new M,this._selectedChanged=new M,!this._dateAdapter)throw Ry("DateAdapter");this._scrollStrategy=i}return Object.defineProperty(n.prototype,"startAt",{get:function(){return this._startAt||(this._datepickerInput?this._datepickerInput.value:null)},set:function(n){this._startAt=this._getValidDateOrNull(this._dateAdapter.deserialize(n))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"color",{get:function(){return this._color||(this._datepickerInput?this._datepickerInput._getThemePalette():void 0)},set:function(n){this._color=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"touchUi",{get:function(){return this._touchUi},set:function(n){this._touchUi=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return void 0===this._disabled&&this._datepickerInput?this._datepickerInput.disabled:!!this._disabled},set:function(n){var l=Yf(n);l!==this._disabled&&(this._disabled=l,this._disabledChange.next(l))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"opened",{get:function(){return this._opened},set:function(n){n?this.open():this.close()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_selected",{get:function(){return this._validSelected},set:function(n){this._validSelected=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_minDate",{get:function(){return this._datepickerInput&&this._datepickerInput.min},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_maxDate",{get:function(){return this._datepickerInput&&this._datepickerInput.max},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_dateFilter",{get:function(){return this._datepickerInput&&this._datepickerInput._dateFilter},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.close(),this._inputSubscription.unsubscribe(),this._disabledChange.complete(),this._popupRef&&(this._popupRef.dispose(),this._popupComponentRef=null)},n.prototype.select=function(n){var l=this._selected;this._selected=n,this._dateAdapter.sameDate(l,this._selected)||this._selectedChanged.next(n)},n.prototype._selectYear=function(n){this.yearSelected.emit(n)},n.prototype._selectMonth=function(n){this.monthSelected.emit(n)},n.prototype._registerInput=function(n){var l=this;if(this._datepickerInput)throw Error("A MatDatepicker can only be associated with a single input.");this._datepickerInput=n,this._inputSubscription=this._datepickerInput._valueChange.subscribe((function(n){return l._selected=n}))},n.prototype.open=function(){if(!this._opened&&!this.disabled){if(!this._datepickerInput)throw Error("Attempted to open an MatDatepicker with no associated input.");this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit()}},n.prototype.close=function(){var n=this;if(this._opened){this._popupRef&&this._popupRef.hasAttached()&&this._popupRef.detach(),this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null),this._calendarPortal&&this._calendarPortal.isAttached&&this._calendarPortal.detach();var l=function(){n._opened&&(n._opened=!1,n.closedStream.emit(),n._focusedElementBeforeOpen=null)};this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(l)):l()}},n.prototype._openAsDialog=function(){var n=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Qy,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog"}),this._dialogRef.afterClosed().subscribe((function(){return n.close()})),this._dialogRef.componentInstance.datepicker=this,this._setColor()},n.prototype._openAsPopup=function(){var n=this;this._calendarPortal||(this._calendarPortal=new cu(Qy,this._viewContainerRef)),this._popupRef||this._createPopup(),this._popupRef.hasAttached()||(this._popupComponentRef=this._popupRef.attach(this._calendarPortal),this._popupComponentRef.instance.datepicker=this,this._setColor(),this._ngZone.onStable.asObservable().pipe(_c(1)).subscribe((function(){n._popupRef.updatePosition()})))},n.prototype._createPopup=function(){var n=this,l=new Ng({positionStrategy:this._createPopupPositionStrategy(),hasBackdrop:!0,backdropClass:"mat-overlay-transparent-backdrop",direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(l),this._popupRef.overlayElement.setAttribute("role","dialog"),Z(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(tc((function(l){return l.keyCode===eh||n._datepickerInput&&l.altKey&&38===l.keyCode})))).subscribe((function(l){l&&l.preventDefault(),n.close()}))},n.prototype._createPopupPositionStrategy=function(){return this._overlay.position().flexibleConnectedTo(this._datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition().withPositions([{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"}])},n.prototype._getValidDateOrNull=function(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null},n.prototype._setColor=function(){var n=this.color;this._popupComponentRef&&(this._popupComponentRef.instance.color=n),this._dialogRef&&(this._dialogRef.componentInstance.color=n)},n}(),nw=function(){return function(n,l){this.target=n,this.targetElement=l,this.value=this.target.value}}(),lw=function(){function n(n,l,e,t){var i=this;if(this._elementRef=n,this._dateAdapter=l,this._dateFormats=e,this._formField=t,this.dateChange=new la,this.dateInput=new la,this._valueChange=new la,this._disabledChange=new la,this._onTouched=function(){},this._cvaOnChange=function(){},this._validatorOnChange=function(){},this._datepickerSubscription=s.EMPTY,this._localeSubscription=s.EMPTY,this._parseValidator=function(){return i._lastValueValid?null:{matDatepickerParse:{text:i._elementRef.nativeElement.value}}},this._minValidator=function(n){var l=i._getValidDateOrNull(i._dateAdapter.deserialize(n.value));return!i.min||!l||i._dateAdapter.compareDate(i.min,l)<=0?null:{matDatepickerMin:{min:i.min,actual:l}}},this._maxValidator=function(n){var l=i._getValidDateOrNull(i._dateAdapter.deserialize(n.value));return!i.max||!l||i._dateAdapter.compareDate(i.max,l)>=0?null:{matDatepickerMax:{max:i.max,actual:l}}},this._filterValidator=function(n){var l=i._getValidDateOrNull(i._dateAdapter.deserialize(n.value));return i._dateFilter&&l&&!i._dateFilter(l)?{matDatepickerFilter:!0}:null},this._validator=S_.compose([this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]),this._lastValueValid=!1,!this._dateAdapter)throw Ry("DateAdapter");if(!this._dateFormats)throw Ry("MAT_DATE_FORMATS");this._localeSubscription=l.localeChanges.subscribe((function(){i.value=i.value}))}return Object.defineProperty(n.prototype,"matDatepicker",{set:function(n){var l=this;n&&(this._datepicker=n,this._datepicker._registerInput(this),this._datepickerSubscription.unsubscribe(),this._datepickerSubscription=this._datepicker._selectedChanged.subscribe((function(n){l.value=n,l._cvaOnChange(n),l._onTouched(),l.dateInput.emit(new nw(l,l._elementRef.nativeElement)),l.dateChange.emit(new nw(l,l._elementRef.nativeElement))})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"matDatepickerFilter",{set:function(n){this._dateFilter=n,this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(n){n=this._dateAdapter.deserialize(n),this._lastValueValid=!n||this._dateAdapter.isValid(n),n=this._getValidDateOrNull(n);var l=this.value;this._value=n,this._formatValue(n),this._dateAdapter.sameDate(l,n)||this._valueChange.emit(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this._min},set:function(n){this._min=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this._max},set:function(n){this._max=this._getValidDateOrNull(this._dateAdapter.deserialize(n)),this._validatorOnChange()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return!!this._disabled},set:function(n){var l=Yf(n),e=this._elementRef.nativeElement;this._disabled!==l&&(this._disabled=l,this._disabledChange.emit(l)),l&&e.blur&&e.blur()},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._datepickerSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this._valueChange.complete(),this._disabledChange.complete()},n.prototype.registerOnValidatorChange=function(n){this._validatorOnChange=n},n.prototype.validate=function(n){return this._validator?this._validator(n):null},n.prototype.getPopupConnectionElementRef=function(){return this.getConnectedOverlayOrigin()},n.prototype.getConnectedOverlayOrigin=function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef},n.prototype.writeValue=function(n){this.value=n},n.prototype.registerOnChange=function(n){this._cvaOnChange=n},n.prototype.registerOnTouched=function(n){this._onTouched=n},n.prototype.setDisabledState=function(n){this.disabled=n},n.prototype._onKeydown=function(n){this._datepicker&&n.altKey&&40===n.keyCode&&!this._elementRef.nativeElement.readOnly&&(this._datepicker.open(),n.preventDefault())},n.prototype._onInput=function(n){var l=this._dateAdapter.parse(n,this._dateFormats.parse.dateInput);this._lastValueValid=!l||this._dateAdapter.isValid(l),l=this._getValidDateOrNull(l),this._dateAdapter.sameDate(l,this._value)?this._validatorOnChange():(this._value=l,this._cvaOnChange(l),this._valueChange.emit(l),this.dateInput.emit(new nw(this,this._elementRef.nativeElement)))},n.prototype._onChange=function(){this.dateChange.emit(new nw(this,this._elementRef.nativeElement))},n.prototype._getThemePalette=function(){return this._formField?this._formField.color:void 0},n.prototype._onBlur=function(){this.value&&this._formatValue(this.value),this._onTouched()},n.prototype._formatValue=function(n){this._elementRef.nativeElement.value=n?this._dateAdapter.format(n,this._dateFormats.display.dateInput):""},n.prototype._getValidDateOrNull=function(n){return this._dateAdapter.isDateInstance(n)&&this._dateAdapter.isValid(n)?n:null},n}(),ew=function(){function n(n,l,e){this._intl=n,this._changeDetectorRef=l,this._stateChanges=s.EMPTY;var t=Number(e);this.tabIndex=t||0===t?t:null}return Object.defineProperty(n.prototype,"disabled",{get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){n.datepicker&&this._watchStateChanges()},n.prototype.ngOnDestroy=function(){this._stateChanges.unsubscribe()},n.prototype.ngAfterContentInit=function(){this._watchStateChanges()},n.prototype._open=function(n){this.datepicker&&!this.disabled&&(this.datepicker.open(),n.stopPropagation())},n.prototype._watchStateChanges=function(){var n=this,l=this.datepicker?this.datepicker._disabledChange:lu(),e=this.datepicker&&this.datepicker._datepickerInput?this.datepicker._datepickerInput._disabledChange:lu(),t=this.datepicker?Z(this.datepicker.openedStream,this.datepicker.closedStream):lu();this._stateChanges.unsubscribe(),this._stateChanges=Z(this._intl.changes,l,e,t).subscribe((function(){return n._changeDetectorRef.markForCheck()}))},n}(),tw=function(){return function(){}}(),iw="accent",aw=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],ow=function(n){function l(l,e,t){var i=n.call(this,l)||this;i._focusMonitor=e,i._animationMode=t,i.isRoundButton=i._hasHostAttributes("mat-fab","mat-mini-fab"),i.isIconButton=i._hasHostAttributes("mat-icon-button");for(var a=0,o=aw;a<o.length;a++){var r=o[a];i._hasHostAttributes(r)&&i._getHostElement().classList.add(r)}return l.nativeElement.classList.add("mat-button-base"),i._focusMonitor.monitor(i._elementRef,!0),i.isRoundButton&&(i.color=iw),i}return Object(t.__extends)(l,n),l.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},l.prototype.focus=function(n,l){this._getHostElement().focus(l)},l.prototype._getHostElement=function(){return this._elementRef.nativeElement},l.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},l.prototype._hasHostAttributes=function(){for(var n=this,l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];return l.some((function(l){return n._getHostElement().hasAttribute(l)}))},l}(Kb(Wb(Yb(function(){return function(n){this._elementRef=n}}())))),rw=function(){return function(){}}();function uw(){return"undefined"!=typeof process}function sw(n){switch(n.length){case 0:return new Gf;case 1:return n[0];default:return new Wf(n)}}function cw(n,l,e,t,i,a){void 0===i&&(i={}),void 0===a&&(a={});var o=[],r=[],u=-1,s=null;if(t.forEach((function(n){var e=n.offset,t=e==u,c=t&&s||{};Object.keys(n).forEach((function(e){var t=e,r=n[e];if("offset"!==e)switch(t=l.normalizePropertyName(t,o),r){case Kf:r=i[e];break;case Uf:r=a[e];break;default:r=l.normalizeStyleValue(e,t,r,o)}c[t]=r})),t||r.push(c),s=c,u=e})),o.length)throw new Error("Unable to animate due to the following errors:\n - "+o.join("\n - "));return r}function dw(n,l,e,t){switch(l){case"start":n.onStart((function(){return t(e&&pw(e,"start",n))}));break;case"done":n.onDone((function(){return t(e&&pw(e,"done",n))}));break;case"destroy":n.onDestroy((function(){return t(e&&pw(e,"destroy",n))}))}}function pw(n,l,e){var t=e.totalTime,i=mw(n.element,n.triggerName,n.fromState,n.toState,l||n.phaseName,null==t?n.totalTime:t,!!e.disabled),a=n._data;return null!=a&&(i._data=a),i}function mw(n,l,e,t,i,a,o){return void 0===i&&(i=""),void 0===a&&(a=0),{element:n,triggerName:l,fromState:e,toState:t,phaseName:i,totalTime:a,disabled:!!o}}function fw(n,l,e){var t;return n instanceof Map?(t=n.get(l))||n.set(l,t=e):(t=n[l])||(t=n[l]=e),t}function hw(n){var l=n.indexOf(":");return[n.substring(1,l),n.substr(l+1)]}var gw=function(n,l){return!1},bw=function(n,l){return!1},vw=function(n,l,e){return[]},_w=uw();(_w||"undefined"!=typeof Element)&&(gw=function(n,l){return n.contains(l)},bw=function(){if(_w||Element.prototype.matches)return function(n,l){return n.matches(l)};var n=Element.prototype,l=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector;return l?function(n,e){return l.apply(n,[e])}:bw}(),vw=function(n,l,e){var i=[];if(e)i.push.apply(i,Object(t.__spread)(n.querySelectorAll(l)));else{var a=n.querySelector(l);a&&i.push(a)}return i});var yw=null,ww=!1;function xw(n){yw||(yw=("undefined"!=typeof document?document.body:null)||{},ww=!!yw.style&&"WebkitAppearance"in yw.style);var l=!0;return yw.style&&!function(n){return"ebkit"==n.substring(1,6)}(n)&&!(l=n in yw.style)&&ww&&(l="Webkit"+n.charAt(0).toUpperCase()+n.substr(1)in yw.style),l}var Cw=bw,kw=gw,Sw=vw;function Iw(n){var l={};return Object.keys(n).forEach((function(e){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2");l[t]=n[e]})),l}var Aw=function(){function n(){}return n.prototype.validateStyleProperty=function(n){return xw(n)},n.prototype.matchesElement=function(n,l){return Cw(n,l)},n.prototype.containsElement=function(n,l){return kw(n,l)},n.prototype.query=function(n,l,e){return Sw(n,l,e)},n.prototype.computeStyle=function(n,l,e){return e||""},n.prototype.animate=function(n,l,e,t,i,a,o){return void 0===a&&(a=[]),new Gf(e,t)},n}(),Mw=function(){function n(){}return n.NOOP=new Aw,n}(),Pw=1e3;function Dw(n){if("number"==typeof n)return n;var l=n.match(/^(-?[\.\d]+)(m?s)/);return!l||l.length<2?0:Fw(parseFloat(l[1]),l[2])}function Fw(n,l){switch(l){case"s":return n*Pw;default:return n}}function Ew(n,l,e){return n.hasOwnProperty("duration")?n:function(n,l,e){var t,i=0,a="";if("string"==typeof n){var o=n.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return l.push('The provided timing value "'+n+'" is invalid.'),{duration:0,delay:0,easing:""};t=Fw(parseFloat(o[1]),o[2]);var r=o[3];null!=r&&(i=Fw(parseFloat(r),o[4]));var u=o[5];u&&(a=u)}else t=n;if(!e){var s=!1,c=l.length;t<0&&(l.push("Duration values below 0 are not allowed for this animation step."),s=!0),i<0&&(l.push("Delay values below 0 are not allowed for this animation step."),s=!0),s&&l.splice(c,0,'The provided timing value "'+n+'" is invalid.')}return{duration:t,delay:i,easing:a}}(n,l,e)}function Ow(n,l){return void 0===l&&(l={}),Object.keys(n).forEach((function(e){l[e]=n[e]})),l}function Tw(n,l,e){if(void 0===e&&(e={}),l)for(var t in n)e[t]=n[t];else Ow(n,e);return e}function Lw(n,l,e){return e?l+":"+e+";":""}function Rw(n){for(var l="",e=0;e<n.style.length;e++)l+=Lw(0,t=n.style.item(e),n.style.getPropertyValue(t));for(var t in n.style)n.style.hasOwnProperty(t)&&!t.startsWith("_")&&(l+=Lw(0,t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),n.style[t]));n.setAttribute("style",l)}function Nw(n,l,e){n.style&&(Object.keys(l).forEach((function(t){var i=Hw(t);e&&!e.hasOwnProperty(t)&&(e[t]=n.style[i]),n.style[i]=l[t]})),uw()&&Rw(n))}function jw(n,l){n.style&&(Object.keys(l).forEach((function(l){var e=Hw(l);n.style[e]=""})),uw()&&Rw(n))}function Vw(n){return Array.isArray(n)?1==n.length?n[0]:Bf(n):n}var qw=new RegExp("{{\\s*(.+?)\\s*}}","g");function zw(n){var l=[];if("string"==typeof n){for(var e=n.toString(),t=void 0;t=qw.exec(e);)l.push(t[1]);qw.lastIndex=0}return l}function Uw(n,l,e){var t=n.toString(),i=t.replace(qw,(function(n,t){var i=l[t];return l.hasOwnProperty(t)||(e.push("Please provide a value for the animation param "+t),i=""),i.toString()}));return i==t?n:i}function Bw(n){for(var l=[],e=n.next();!e.done;)l.push(e.value),e=n.next();return l}var $w=/-+([a-z0-9])/g;function Hw(n){return n.replace($w,(function(){for(var n=[],l=0;l<arguments.length;l++)n[l]=arguments[l];return n[1].toUpperCase()}))}function Gw(n,l){return 0===n||0===l}function Ww(n,l,e){var t=Object.keys(e);if(t.length&&l.length){var i=l[0],a=[];if(t.forEach((function(n){i.hasOwnProperty(n)||a.push(n),i[n]=e[n]})),a.length)for(var o=function(){var e=l[r];a.forEach((function(l){e[l]=Yw(n,l)}))},r=1;r<l.length;r++)o()}return l}function Kw(n,l,e){switch(l.type){case 7:return n.visitTrigger(l,e);case 0:return n.visitState(l,e);case 1:return n.visitTransition(l,e);case 2:return n.visitSequence(l,e);case 3:return n.visitGroup(l,e);case 4:return n.visitAnimate(l,e);case 5:return n.visitKeyframes(l,e);case 6:return n.visitStyle(l,e);case 8:return n.visitReference(l,e);case 9:return n.visitAnimateChild(l,e);case 10:return n.visitAnimateRef(l,e);case 11:return n.visitQuery(l,e);case 12:return n.visitStagger(l,e);default:throw new Error("Unable to resolve animation metadata node #"+l.type)}}function Yw(n,l){return window.getComputedStyle(n)[l]}var Jw="*",Zw=new Set(["true","1"]),Qw=new Set(["false","0"]);function Xw(n,l){var e=Zw.has(n)||Qw.has(n),t=Zw.has(l)||Qw.has(l);return function(i,a){var o=n==Jw||n==i,r=l==Jw||l==a;return!o&&e&&"boolean"==typeof i&&(o=i?Zw.has(n):Qw.has(n)),!r&&t&&"boolean"==typeof a&&(r=a?Zw.has(l):Qw.has(l)),o&&r}}var nx=new RegExp("s*:selfs*,?","g");function lx(n,l,e){return new ex(n).build(l,e)}var ex=function(){function n(n){this._driver=n}return n.prototype.build=function(n,l){var e=new tx(l);return this._resetContextStyleTimingState(e),Kw(this,Vw(n),e)},n.prototype._resetContextStyleTimingState=function(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0},n.prototype.visitTrigger=function(n,l){var e=this,t=l.queryCount=0,i=l.depCount=0,a=[],o=[];return"@"==n.name.charAt(0)&&l.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),n.definitions.forEach((function(n){if(e._resetContextStyleTimingState(l),0==n.type){var r=n,u=r.name;u.toString().split(/\s*,\s*/).forEach((function(n){r.name=n,a.push(e.visitState(r,l))})),r.name=u}else if(1==n.type){var s=e.visitTransition(n,l);t+=s.queryCount,i+=s.depCount,o.push(s)}else l.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:n.name,states:a,transitions:o,queryCount:t,depCount:i,options:null}},n.prototype.visitState=function(n,l){var e=this.visitStyle(n.styles,l),t=n.options&&n.options.params||null;if(e.containsDynamicStyles){var i=new Set,a=t||{};if(e.styles.forEach((function(n){if(ix(n)){var l=n;Object.keys(l).forEach((function(n){zw(l[n]).forEach((function(n){a.hasOwnProperty(n)||i.add(n)}))}))}})),i.size){var o=Bw(i.values());l.errors.push('state("'+n.name+'", ...) must define default values for all the following style substitutions: '+o.join(", "))}}return{type:0,name:n.name,style:e,options:t?{params:t}:null}},n.prototype.visitTransition=function(n,l){l.queryCount=0,l.depCount=0;var e,t,i,a=Kw(this,Vw(n.animation),l);return{type:1,matchers:(e=n.expr,t=l.errors,i=[],"string"==typeof e?e.split(/\s*,\s*/).forEach((function(n){return function(n,l,e){if(":"==n[0]){var t=function(n,l){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(n,l){return parseFloat(l)>parseFloat(n)};case":decrement":return function(n,l){return parseFloat(l)<parseFloat(n)};default:return l.push('The transition alias value "'+n+'" is not supported'),"* => *"}}(n,e);if("function"==typeof t)return void l.push(t);n=t}var i=n.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push('The provided transition expression "'+n+'" is not supported'),l;var a=i[1],o=i[2],r=i[3];l.push(Xw(a,r)),"<"!=o[0]||a==Jw&&r==Jw||l.push(Xw(r,a))}(n,i,t)})):i.push(e),i),animation:a,queryCount:l.queryCount,depCount:l.depCount,options:ax(n.options)}},n.prototype.visitSequence=function(n,l){var e=this;return{type:2,steps:n.steps.map((function(n){return Kw(e,n,l)})),options:ax(n.options)}},n.prototype.visitGroup=function(n,l){var e=this,t=l.currentTime,i=0,a=n.steps.map((function(n){l.currentTime=t;var a=Kw(e,n,l);return i=Math.max(i,l.currentTime),a}));return l.currentTime=i,{type:3,steps:a,options:ax(n.options)}},n.prototype.visitAnimate=function(n,l){var e,t=function(n,l){var e=null;if(n.hasOwnProperty("duration"))e=n;else if("number"==typeof n)return ox(Ew(n,l).duration,0,"");var t=n;if(t.split(/\s+/).some((function(n){return"{"==n.charAt(0)&&"{"==n.charAt(1)}))){var i=ox(0,0,"");return i.dynamic=!0,i.strValue=t,i}return ox((e=e||Ew(t,l)).duration,e.delay,e.easing)}(n.timings,l.errors);l.currentAnimateTimings=t;var i=n.styles?n.styles:$f({});if(5==i.type)e=this.visitKeyframes(i,l);else{var a=n.styles,o=!1;if(!a){o=!0;var r={};t.easing&&(r.easing=t.easing),a=$f(r)}l.currentTime+=t.duration+t.delay;var u=this.visitStyle(a,l);u.isEmptyStep=o,e=u}return l.currentAnimateTimings=null,{type:4,timings:t,style:e,options:null}},n.prototype.visitStyle=function(n,l){var e=this._makeStyleAst(n,l);return this._validateStyleAst(e,l),e},n.prototype._makeStyleAst=function(n,l){var e=[];Array.isArray(n.styles)?n.styles.forEach((function(n){"string"==typeof n?n==Uf?e.push(n):l.errors.push("The provided style string value "+n+" is not allowed."):e.push(n)})):e.push(n.styles);var t=!1,i=null;return e.forEach((function(n){if(ix(n)){var l=n,e=l.easing;if(e&&(i=e,delete l.easing),!t)for(var a in l)if(l[a].toString().indexOf("{{")>=0){t=!0;break}}})),{type:6,styles:e,easing:i,offset:n.offset,containsDynamicStyles:t,options:null}},n.prototype._validateStyleAst=function(n,l){var e=this,t=l.currentAnimateTimings,i=l.currentTime,a=l.currentTime;t&&a>0&&(a-=t.duration+t.delay),n.styles.forEach((function(n){"string"!=typeof n&&Object.keys(n).forEach((function(t){if(e._driver.validateStyleProperty(t)){var o,r,u,s=l.collectedStyles[l.currentQuerySelector],c=s[t],d=!0;c&&(a!=i&&a>=c.startTime&&i<=c.endTime&&(l.errors.push('The CSS property "'+t+'" that exists between the times of "'+c.startTime+'ms" and "'+c.endTime+'ms" is also being animated in a parallel animation between the times of "'+a+'ms" and "'+i+'ms"'),d=!1),a=c.startTime),d&&(s[t]={startTime:a,endTime:i}),l.options&&(o=l.errors,r=l.options.params||{},(u=zw(n[t])).length&&u.forEach((function(n){r.hasOwnProperty(n)||o.push("Unable to resolve the local animation param "+n+" in the given list of values")})))}else l.errors.push('The provided animation property "'+t+'" is not a supported CSS property for animations')}))}))},n.prototype.visitKeyframes=function(n,l){var e=this,t={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push("keyframes() must be placed inside of a call to animate()"),t;var i=0,a=[],o=!1,r=!1,u=0,s=n.steps.map((function(n){var t=e._makeStyleAst(n,l),s=null!=t.offset?t.offset:function(n){if("string"==typeof n)return null;var l=null;if(Array.isArray(n))n.forEach((function(n){if(ix(n)&&n.hasOwnProperty("offset")){var e=n;l=parseFloat(e.offset),delete e.offset}}));else if(ix(n)&&n.hasOwnProperty("offset")){var e=n;l=parseFloat(e.offset),delete e.offset}return l}(t.styles),c=0;return null!=s&&(i++,c=t.offset=s),r=r||c<0||c>1,o=o||c<u,u=c,a.push(c),t}));r&&l.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&l.errors.push("Please ensure that all keyframe offsets are in order");var c=n.steps.length,d=0;i>0&&i<c?l.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(d=1/(c-1));var p=c-1,m=l.currentTime,f=l.currentAnimateTimings,h=f.duration;return s.forEach((function(n,i){var o=d>0?i==p?1:d*i:a[i],r=o*h;l.currentTime=m+f.delay+r,f.duration=r,e._validateStyleAst(n,l),n.offset=o,t.styles.push(n)})),t},n.prototype.visitReference=function(n,l){return{type:8,animation:Kw(this,Vw(n.animation),l),options:ax(n.options)}},n.prototype.visitAnimateChild=function(n,l){return l.depCount++,{type:9,options:ax(n.options)}},n.prototype.visitAnimateRef=function(n,l){return{type:10,animation:this.visitReference(n.animation,l),options:ax(n.options)}},n.prototype.visitQuery=function(n,l){var e=l.currentQuerySelector,i=n.options||{};l.queryCount++,l.currentQuery=n;var a=Object(t.__read)(function(n){var l=!!n.split(/\s*,\s*/).find((function(n){return":self"==n}));return l&&(n=n.replace(nx,"")),[n=n.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(n){return".ng-trigger-"+n.substr(1)})).replace(/:animating/g,".ng-animating"),l]}(n.selector),2),o=a[0],r=a[1];l.currentQuerySelector=e.length?e+" "+o:o,fw(l.collectedStyles,l.currentQuerySelector,{});var u=Kw(this,Vw(n.animation),l);return l.currentQuery=null,l.currentQuerySelector=e,{type:11,selector:o,limit:i.limit||0,optional:!!i.optional,includeSelf:r,animation:u,originalSelector:n.selector,options:ax(n.options)}},n.prototype.visitStagger=function(n,l){l.currentQuery||l.errors.push("stagger() can only be used inside of query()");var e="full"===n.timings?{duration:0,delay:0,easing:"full"}:Ew(n.timings,l.errors,!0);return{type:12,animation:Kw(this,Vw(n.animation),l),timings:e,options:null}},n}(),tx=function(){return function(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}();function ix(n){return!Array.isArray(n)&&"object"==typeof n}function ax(n){var l;return n?(n=Ow(n)).params&&(n.params=(l=n.params)?Ow(l):null):n={},n}function ox(n,l,e){return{duration:n,delay:l,easing:e}}function rx(n,l,e,t,i,a,o,r){return void 0===o&&(o=null),void 0===r&&(r=!1),{type:1,element:n,keyframes:l,preStyleProps:e,postStyleProps:t,duration:i,delay:a,totalTime:i+a,easing:o,subTimeline:r}}var ux=function(){function n(){this._map=new Map}return n.prototype.consume=function(n){var l=this._map.get(n);return l?this._map.delete(n):l=[],l},n.prototype.append=function(n,l){var e=this._map.get(n);e||this._map.set(n,e=[]),e.push.apply(e,Object(t.__spread)(l))},n.prototype.has=function(n){return this._map.has(n)},n.prototype.clear=function(){this._map.clear()},n}(),sx=new RegExp(":enter","g"),cx=new RegExp(":leave","g");function dx(n,l,e,t,i,a,o,r,u,s){return void 0===a&&(a={}),void 0===o&&(o={}),void 0===s&&(s=[]),(new px).buildKeyframes(n,l,e,t,i,a,o,r,u,s)}var px=function(){function n(){}return n.prototype.buildKeyframes=function(n,l,e,t,i,a,o,r,u,s){void 0===s&&(s=[]),u=u||new ux;var c=new fx(n,l,u,t,i,s,[]);c.options=r,c.currentTimeline.setStyles([a],null,c.errors,r),Kw(this,e,c);var d=c.timelines.filter((function(n){return n.containsAnimation()}));if(d.length&&Object.keys(o).length){var p=d[d.length-1];p.allowOnlyTimelineStyles()||p.setStyles([o],null,c.errors,r)}return d.length?d.map((function(n){return n.buildKeyframes()})):[rx(l,[],[],[],0,0,"",!1)]},n.prototype.visitTrigger=function(n,l){},n.prototype.visitState=function(n,l){},n.prototype.visitTransition=function(n,l){},n.prototype.visitAnimateChild=function(n,l){var e=l.subInstructions.consume(l.element);if(e){var t=l.createSubContext(n.options),i=l.currentTimeline.currentTime,a=this._visitSubInstructions(e,t,t.options);i!=a&&l.transformIntoNewTimeline(a)}l.previousNode=n},n.prototype.visitAnimateRef=function(n,l){var e=l.createSubContext(n.options);e.transformIntoNewTimeline(),this.visitReference(n.animation,e),l.transformIntoNewTimeline(e.currentTimeline.currentTime),l.previousNode=n},n.prototype._visitSubInstructions=function(n,l,e){var t=l.currentTimeline.currentTime,i=null!=e.duration?Dw(e.duration):null,a=null!=e.delay?Dw(e.delay):null;return 0!==i&&n.forEach((function(n){var e=l.appendInstructionToTimeline(n,i,a);t=Math.max(t,e.duration+e.delay)})),t},n.prototype.visitReference=function(n,l){l.updateOptions(n.options,!0),Kw(this,n.animation,l),l.previousNode=n},n.prototype.visitSequence=function(n,l){var e=this,t=l.subContextCount,i=l,a=n.options;if(a&&(a.params||a.delay)&&((i=l.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=mx);var o=Dw(a.delay);i.delayNextStep(o)}n.steps.length&&(n.steps.forEach((function(n){return Kw(e,n,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>t&&i.transformIntoNewTimeline()),l.previousNode=n},n.prototype.visitGroup=function(n,l){var e=this,t=[],i=l.currentTimeline.currentTime,a=n.options&&n.options.delay?Dw(n.options.delay):0;n.steps.forEach((function(o){var r=l.createSubContext(n.options);a&&r.delayNextStep(a),Kw(e,o,r),i=Math.max(i,r.currentTimeline.currentTime),t.push(r.currentTimeline)})),t.forEach((function(n){return l.currentTimeline.mergeTimelineCollectedStyles(n)})),l.transformIntoNewTimeline(i),l.previousNode=n},n.prototype._visitTiming=function(n,l){if(n.dynamic){var e=n.strValue;return Ew(l.params?Uw(e,l.params,l.errors):e,l.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}},n.prototype.visitAnimate=function(n,l){var e=l.currentAnimateTimings=this._visitTiming(n.timings,l),t=l.currentTimeline;e.delay&&(l.incrementTime(e.delay),t.snapshotCurrentStyles());var i=n.style;5==i.type?this.visitKeyframes(i,l):(l.incrementTime(e.duration),this.visitStyle(i,l),t.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=n},n.prototype.visitStyle=function(n,l){var e=l.currentTimeline,t=l.currentAnimateTimings;!t&&e.getCurrentStyleProperties().length&&e.forwardFrame();var i=t&&t.easing||n.easing;n.isEmptyStep?e.applyEmptyStep(i):e.setStyles(n.styles,i,l.errors,l.options),l.previousNode=n},n.prototype.visitKeyframes=function(n,l){var e=l.currentAnimateTimings,t=l.currentTimeline.duration,i=e.duration,a=l.createSubContext().currentTimeline;a.easing=e.easing,n.styles.forEach((function(n){a.forwardTime((n.offset||0)*i),a.setStyles(n.styles,n.easing,l.errors,l.options),a.applyStylesToKeyframe()})),l.currentTimeline.mergeTimelineCollectedStyles(a),l.transformIntoNewTimeline(t+i),l.previousNode=n},n.prototype.visitQuery=function(n,l){var e=this,t=l.currentTimeline.currentTime,i=n.options||{},a=i.delay?Dw(i.delay):0;a&&(6===l.previousNode.type||0==t&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=mx);var o=t,r=l.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!i.optional,l.errors);l.currentQueryTotal=r.length;var u=null;r.forEach((function(t,i){l.currentQueryIndex=i;var r=l.createSubContext(n.options,t);a&&r.delayNextStep(a),t===l.element&&(u=r.currentTimeline),Kw(e,n.animation,r),r.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,r.currentTimeline.currentTime)})),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(o),u&&(l.currentTimeline.mergeTimelineCollectedStyles(u),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=n},n.prototype.visitStagger=function(n,l){var e=l.parentContext,t=l.currentTimeline,i=n.timings,a=Math.abs(i.duration),o=a*(l.currentQueryTotal-1),r=a*l.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":r=o-r;break;case"full":r=e.currentStaggerTime}var u=l.currentTimeline;r&&u.delayNextStep(r);var s=u.currentTime;Kw(this,n.animation,l),l.previousNode=n,e.currentStaggerTime=t.currentTime-s+(t.startTime-e.currentTimeline.startTime)},n}(),mx={},fx=function(){function n(n,l,e,t,i,a,o,r){this._driver=n,this.element=l,this.subInstructions=e,this._enterClassName=t,this._leaveClassName=i,this.errors=a,this.timelines=o,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=mx,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=r||new hx(this._driver,l,0),o.push(this.currentTimeline)}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.updateOptions=function(n,l){var e=this;if(n){var t=n,i=this.options;null!=t.duration&&(i.duration=Dw(t.duration)),null!=t.delay&&(i.delay=Dw(t.delay));var a=t.params;if(a){var o=i.params;o||(o=this.options.params={}),Object.keys(a).forEach((function(n){l&&o.hasOwnProperty(n)||(o[n]=Uw(a[n],o,e.errors))}))}}},n.prototype._copyOptions=function(){var n={};if(this.options){var l=this.options.params;if(l){var e=n.params={};Object.keys(l).forEach((function(n){e[n]=l[n]}))}}return n},n.prototype.createSubContext=function(l,e,t){void 0===l&&(l=null);var i=e||this.element,a=new n(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,t||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(l),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a},n.prototype.transformIntoNewTimeline=function(n){return this.previousNode=mx,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline},n.prototype.appendInstructionToTimeline=function(n,l,e){var t={duration:null!=l?l:n.duration,delay:this.currentTimeline.currentTime+(null!=e?e:0)+n.delay,easing:""},i=new gx(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,t,n.stretchStartingKeyframe);return this.timelines.push(i),t},n.prototype.incrementTime=function(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)},n.prototype.delayNextStep=function(n){n>0&&this.currentTimeline.delayNextStep(n)},n.prototype.invokeQuery=function(n,l,e,i,a,o){var r=[];if(i&&r.push(this.element),n.length>0){n=(n=n.replace(sx,"."+this._enterClassName)).replace(cx,"."+this._leaveClassName);var u=this._driver.query(this.element,n,1!=e);0!==e&&(u=e<0?u.slice(u.length+e,u.length):u.slice(0,e)),r.push.apply(r,Object(t.__spread)(u))}return a||0!=r.length||o.push('`query("'+l+'")` returned zero elements. (Use `query("'+l+'", { optional: true })` if you wish to allow this.)'),r},n}(),hx=function(){function n(n,l,e,t){this._driver=n,this.element=l,this.startTime=e,this._elementTimelineStylesLookup=t,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}return n.prototype.containsAnimation=function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}},n.prototype.getCurrentStyleProperties=function(){return Object.keys(this._currentKeyframe)},Object.defineProperty(n.prototype,"currentTime",{get:function(){return this.startTime+this.duration},enumerable:!0,configurable:!0}),n.prototype.delayNextStep=function(n){var l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+n),l&&this.snapshotCurrentStyles()):this.startTime+=n},n.prototype.fork=function(l,e){return this.applyStylesToKeyframe(),new n(this._driver,l,e||this.currentTime,this._elementTimelineStylesLookup)},n.prototype._loadKeyframe=function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))},n.prototype.forwardFrame=function(){this.duration+=1,this._loadKeyframe()},n.prototype.forwardTime=function(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()},n.prototype._updateStyle=function(n,l){this._localTimelineStyles[n]=l,this._globalTimelineStyles[n]=l,this._styleSummary[n]={time:this.currentTime,value:l}},n.prototype.allowOnlyTimelineStyles=function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe},n.prototype.applyEmptyStep=function(n){var l=this;n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach((function(n){l._backFill[n]=l._globalTimelineStyles[n]||Uf,l._currentKeyframe[n]=Uf})),this._currentEmptyStepKeyframe=this._currentKeyframe},n.prototype.setStyles=function(n,l,e,t){var i=this;l&&(this._previousKeyframe.easing=l);var a=t&&t.params||{},o=function(n,l){var e,t={};return n.forEach((function(n){"*"===n?(e=e||Object.keys(l)).forEach((function(n){t[n]=Uf})):Tw(n,!1,t)})),t}(n,this._globalTimelineStyles);Object.keys(o).forEach((function(n){var l=Uw(o[n],a,e);i._pendingStyles[n]=l,i._localTimelineStyles.hasOwnProperty(n)||(i._backFill[n]=i._globalTimelineStyles.hasOwnProperty(n)?i._globalTimelineStyles[n]:Uf),i._updateStyle(n,l)}))},n.prototype.applyStylesToKeyframe=function(){var n=this,l=this._pendingStyles,e=Object.keys(l);0!=e.length&&(this._pendingStyles={},e.forEach((function(e){n._currentKeyframe[e]=l[e]})),Object.keys(this._localTimelineStyles).forEach((function(l){n._currentKeyframe.hasOwnProperty(l)||(n._currentKeyframe[l]=n._localTimelineStyles[l])})))},n.prototype.snapshotCurrentStyles=function(){var n=this;Object.keys(this._localTimelineStyles).forEach((function(l){var e=n._localTimelineStyles[l];n._pendingStyles[l]=e,n._updateStyle(l,e)}))},n.prototype.getFinalKeyframe=function(){return this._keyframes.get(this.duration)},Object.defineProperty(n.prototype,"properties",{get:function(){var n=[];for(var l in this._currentKeyframe)n.push(l);return n},enumerable:!0,configurable:!0}),n.prototype.mergeTimelineCollectedStyles=function(n){var l=this;Object.keys(n._styleSummary).forEach((function(e){var t=l._styleSummary[e],i=n._styleSummary[e];(!t||i.time>t.time)&&l._updateStyle(e,i.value)}))},n.prototype.buildKeyframes=function(){var n=this;this.applyStylesToKeyframe();var l=new Set,e=new Set,t=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(a,o){var r=Tw(a,!0);Object.keys(r).forEach((function(n){var t=r[n];t==Kf?l.add(n):t==Uf&&e.add(n)})),t||(r.offset=o/n.duration),i.push(r)}));var a=l.size?Bw(l.values()):[],o=e.size?Bw(e.values()):[];if(t){var r=i[0],u=Ow(r);r.offset=0,u.offset=1,i=[r,u]}return rx(this.element,i,a,o,this.duration,this.startTime,this.easing,!1)},n}(),gx=function(n){function l(l,e,t,i,a,o,r){void 0===r&&(r=!1);var u=n.call(this,l,e,o.delay)||this;return u.element=e,u.keyframes=t,u.preStyleProps=i,u.postStyleProps=a,u._stretchStartingKeyframe=r,u.timings={duration:o.duration,delay:o.delay,easing:o.easing},u}return Object(t.__extends)(l,n),l.prototype.containsAnimation=function(){return this.keyframes.length>1},l.prototype.buildKeyframes=function(){var n=this.keyframes,l=this.timings,e=l.delay,t=l.duration,i=l.easing;if(this._stretchStartingKeyframe&&e){var a=[],o=t+e,r=e/o,u=Tw(n[0],!1);u.offset=0,a.push(u);var s=Tw(n[0],!1);s.offset=bx(r),a.push(s);for(var c=n.length-1,d=1;d<=c;d++){var p=Tw(n[d],!1);p.offset=bx((e+p.offset*t)/o),a.push(p)}t=o,e=0,i="",n=a}return rx(this.element,n,this.preStyleProps,this.postStyleProps,t,e,i,!0)},l}(hx);function bx(n,l){void 0===l&&(l=3);var e=Math.pow(10,l-1);return Math.round(n*e)/e}var vx=function(){return function(){}}(),_x=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l.prototype.normalizePropertyName=function(n,l){return Hw(n)},l.prototype.normalizeStyleValue=function(n,l,e,t){var i="",a=e.toString().trim();if(yx[l]&&0!==e&&"0"!==e)if("number"==typeof e)i="px";else{var o=e.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&t.push("Please provide a CSS unit value for "+n+":"+e)}return a+i},l}(vx),yx=function(){return n="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),l={},n.forEach((function(n){return l[n]=!0})),l;var n,l}();function wx(n,l,e,t,i,a,o,r,u,s,c,d,p){return{type:0,element:n,triggerName:l,isRemovalTransition:i,fromState:e,fromStyles:a,toState:t,toStyles:o,timelines:r,queriedElements:u,preStyleProps:s,postStyleProps:c,totalTime:d,errors:p}}var xx={},Cx=function(){function n(n,l,e){this._triggerName=n,this.ast=l,this._stateStyles=e}return n.prototype.match=function(n,l,e,t){return function(n,l,e,t,i){return n.some((function(n){return n(l,e,t,i)}))}(this.ast.matchers,n,l,e,t)},n.prototype.buildStyles=function(n,l,e){var t=this._stateStyles["*"],i=this._stateStyles[n],a=t?t.buildStyles(l,e):{};return i?i.buildStyles(l,e):a},n.prototype.build=function(n,l,e,i,a,o,r,u,s,c){var d=[],p=this.ast.options&&this.ast.options.params||xx,m=this.buildStyles(e,r&&r.params||xx,d),f=u&&u.params||xx,h=this.buildStyles(i,f,d),g=new Set,b=new Map,v=new Map,_="void"===i,y={params:Object(t.__assign)({},p,f)},w=c?[]:dx(n,l,this.ast.animation,a,o,m,h,y,s,d),x=0;if(w.forEach((function(n){x=Math.max(n.duration+n.delay,x)})),d.length)return wx(l,this._triggerName,e,i,_,m,h,[],[],b,v,x,d);w.forEach((function(n){var e=n.element,t=fw(b,e,{});n.preStyleProps.forEach((function(n){return t[n]=!0}));var i=fw(v,e,{});n.postStyleProps.forEach((function(n){return i[n]=!0})),e!==l&&g.add(e)}));var C=Bw(g.values());return wx(l,this._triggerName,e,i,_,m,h,w,C,b,v,x)},n}(),kx=function(){function n(n,l){this.styles=n,this.defaultParams=l}return n.prototype.buildStyles=function(n,l){var e={},t=Ow(this.defaultParams);return Object.keys(n).forEach((function(l){var e=n[l];null!=e&&(t[l]=e)})),this.styles.styles.forEach((function(n){if("string"!=typeof n){var i=n;Object.keys(i).forEach((function(n){var a=i[n];a.length>1&&(a=Uw(a,t,l)),e[n]=a}))}})),e},n}(),Sx=function(){function n(n,l){var e=this;this.name=n,this.ast=l,this.transitionFactories=[],this.states={},l.states.forEach((function(n){e.states[n.name]=new kx(n.style,n.options&&n.options.params||{})})),Ix(this.states,"true","1"),Ix(this.states,"false","0"),l.transitions.forEach((function(l){e.transitionFactories.push(new Cx(n,l,e.states))})),this.fallbackTransition=new Cx(n,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(n,l){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object.defineProperty(n.prototype,"containsQueries",{get:function(){return this.ast.queryCount>0},enumerable:!0,configurable:!0}),n.prototype.matchTransition=function(n,l,e,t){return this.transitionFactories.find((function(i){return i.match(n,l,e,t)}))||null},n.prototype.matchStyles=function(n,l,e){return this.fallbackTransition.buildStyles(n,l,e)},n}();function Ix(n,l,e){n.hasOwnProperty(l)?n.hasOwnProperty(e)||(n[e]=n[l]):n.hasOwnProperty(e)&&(n[l]=n[e])}var Ax=new ux,Mx=function(){function n(n,l,e){this.bodyNode=n,this._driver=l,this._normalizer=e,this._animations={},this._playersById={},this.players=[]}return n.prototype.register=function(n,l){var e=[],t=lx(this._driver,l,e);if(e.length)throw new Error("Unable to build the animation due to the following errors: "+e.join("\n"));this._animations[n]=t},n.prototype._buildPlayer=function(n,l,e){var t=n.element,i=cw(0,this._normalizer,0,n.keyframes,l,e);return this._driver.animate(t,i,n.duration,n.delay,n.easing,[],!0)},n.prototype.create=function(n,l,e){var t=this;void 0===e&&(e={});var i,a=[],o=this._animations[n],r=new Map;if(o?(i=dx(this._driver,l,o,"ng-enter","ng-leave",{},{},e,Ax,a)).forEach((function(n){var l=fw(r,n.element,{});n.postStyleProps.forEach((function(n){return l[n]=null}))})):(a.push("The requested animation doesn't exist or has already been destroyed"),i=[]),a.length)throw new Error("Unable to create the animation due to the following errors: "+a.join("\n"));r.forEach((function(n,l){Object.keys(n).forEach((function(e){n[e]=t._driver.computeStyle(l,e,Uf)}))}));var u=sw(i.map((function(n){var l=r.get(n.element);return t._buildPlayer(n,{},l)})));return this._playersById[n]=u,u.onDestroy((function(){return t.destroy(n)})),this.players.push(u),u},n.prototype.destroy=function(n){var l=this._getPlayer(n);l.destroy(),delete this._playersById[n];var e=this.players.indexOf(l);e>=0&&this.players.splice(e,1)},n.prototype._getPlayer=function(n){var l=this._playersById[n];if(!l)throw new Error("Unable to find the timeline player referenced by "+n);return l},n.prototype.listen=function(n,l,e,t){var i=mw(l,"","","");return dw(this._getPlayer(n),e,i,t),function(){}},n.prototype.command=function(n,l,e,t){if("register"!=e)if("create"!=e){var i=this._getPlayer(n);switch(e){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(t[0]));break;case"destroy":this.destroy(n)}}else this.create(n,l,t[0]||{});else this.register(n,t[0])},n}(),Px=[],Dx={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Fx={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ex="__ng_removed",Ox=function(){function n(n,l){void 0===l&&(l=""),this.namespaceId=l;var e,t=n&&n.hasOwnProperty("value");if(this.value=null!=(e=t?n.value:n)?e:null,t){var i=Ow(n);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return Object.defineProperty(n.prototype,"params",{get:function(){return this.options.params},enumerable:!0,configurable:!0}),n.prototype.absorbOptions=function(n){var l=n.params;if(l){var e=this.options.params;Object.keys(l).forEach((function(n){null==e[n]&&(e[n]=l[n])}))}},n}(),Tx=new Ox("void"),Lx=function(){function n(n,l,e){this.id=n,this.hostElement=l,this._engine=e,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Bx(l,this._hostClassName)}return n.prototype.listen=function(n,l,e,t){var i,a=this;if(!this._triggers.hasOwnProperty(l))throw new Error('Unable to listen on the animation trigger event "'+e+'" because the animation trigger "'+l+"\" doesn't exist!");if(null==e||0==e.length)throw new Error('Unable to listen on the animation trigger "'+l+'" because the provided event is undefined!');if("start"!=(i=e)&&"done"!=i)throw new Error('The provided animation trigger event "'+e+'" for the animation trigger "'+l+'" is not supported!');var o=fw(this._elementListeners,n,[]),r={name:l,phase:e,callback:t};o.push(r);var u=fw(this._engine.statesByElement,n,{});return u.hasOwnProperty(l)||(Bx(n,"ng-trigger"),Bx(n,"ng-trigger-"+l),u[l]=Tx),function(){a._engine.afterFlush((function(){var n=o.indexOf(r);n>=0&&o.splice(n,1),a._triggers[l]||delete u[l]}))}},n.prototype.register=function(n,l){return!this._triggers[n]&&(this._triggers[n]=l,!0)},n.prototype._getTrigger=function(n){var l=this._triggers[n];if(!l)throw new Error('The provided animation trigger "'+n+'" has not been registered!');return l},n.prototype.trigger=function(n,l,e,t){var i=this;void 0===t&&(t=!0);var a=this._getTrigger(l),o=new Nx(this.id,l,n),r=this._engine.statesByElement.get(n);r||(Bx(n,"ng-trigger"),Bx(n,"ng-trigger-"+l),this._engine.statesByElement.set(n,r={}));var u=r[l],s=new Ox(e,this.id);if(!(e&&e.hasOwnProperty("value"))&&u&&s.absorbOptions(u.options),r[l]=s,u||(u=Tx),"void"===s.value||u.value!==s.value){var c=fw(this._engine.playersByElement,n,[]);c.forEach((function(n){n.namespaceId==i.id&&n.triggerName==l&&n.queued&&n.destroy()}));var d=a.matchTransition(u.value,s.value,n,s.params),p=!1;if(!d){if(!t)return;d=a.fallbackTransition,p=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:l,transition:d,fromState:u,toState:s,player:o,isFallbackTransition:p}),p||(Bx(n,"ng-animate-queued"),o.onStart((function(){$x(n,"ng-animate-queued")}))),o.onDone((function(){var l=i.players.indexOf(o);l>=0&&i.players.splice(l,1);var e=i._engine.playersByElement.get(n);if(e){var t=e.indexOf(o);t>=0&&e.splice(t,1)}})),this.players.push(o),c.push(o),o}if(!function(n,l){var e=Object.keys(n),t=Object.keys(l);if(e.length!=t.length)return!1;for(var i=0;i<e.length;i++){var a=e[i];if(!l.hasOwnProperty(a)||n[a]!==l[a])return!1}return!0}(u.params,s.params)){var m=[],f=a.matchStyles(u.value,u.params,m),h=a.matchStyles(s.value,s.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush((function(){jw(n,f),Nw(n,h)}))}},n.prototype.deregister=function(n){var l=this;delete this._triggers[n],this._engine.statesByElement.forEach((function(l,e){delete l[n]})),this._elementListeners.forEach((function(e,t){l._elementListeners.set(t,e.filter((function(l){return l.name!=n})))}))},n.prototype.clearElementCache=function(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);var l=this._engine.playersByElement.get(n);l&&(l.forEach((function(n){return n.destroy()})),this._engine.playersByElement.delete(n))},n.prototype._signalRemovalForInnerTriggers=function(n,l,e){var t=this;void 0===e&&(e=!1),this._engine.driver.query(n,".ng-trigger",!0).forEach((function(n){if(!n[Ex]){var e=t._engine.fetchNamespacesByElement(n);e.size?e.forEach((function(e){return e.triggerLeaveAnimation(n,l,!1,!0)})):t.clearElementCache(n)}}))},n.prototype.triggerLeaveAnimation=function(n,l,e,t){var i=this,a=this._engine.statesByElement.get(n);if(a){var o=[];if(Object.keys(a).forEach((function(l){if(i._triggers[l]){var e=i.trigger(n,l,"void",t);e&&o.push(e)}})),o.length)return this._engine.markElementAsRemoved(this.id,n,!0,l),e&&sw(o).onDone((function(){return i._engine.processLeaveNode(n)})),!0}return!1},n.prototype.prepareLeaveAnimationListeners=function(n){var l=this,e=this._elementListeners.get(n);if(e){var t=new Set;e.forEach((function(e){var i=e.name;if(!t.has(i)){t.add(i);var a=l._triggers[i].fallbackTransition,o=l._engine.statesByElement.get(n)[i]||Tx,r=new Ox("void"),u=new Nx(l.id,i,n);l._engine.totalQueuedPlayers++,l._queue.push({element:n,triggerName:i,transition:a,fromState:o,toState:r,player:u,isFallbackTransition:!0})}}))}},n.prototype.removeNode=function(n,l){var e=this,t=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,l,!0),!this.triggerLeaveAnimation(n,l,!0)){var i=!1;if(t.totalAnimations){var a=t.players.length?t.playersByQueriedElement.get(n):[];if(a&&a.length)i=!0;else for(var o=n;o=o.parentNode;)if(t.statesByElement.get(o)){i=!0;break}}this.prepareLeaveAnimationListeners(n),i?t.markElementAsRemoved(this.id,n,!1,l):(t.afterFlush((function(){return e.clearElementCache(n)})),t.destroyInnerAnimations(n),t._onRemovalComplete(n,l))}},n.prototype.insertNode=function(n,l){Bx(n,this._hostClassName)},n.prototype.drainQueuedTransitions=function(n){var l=this,e=[];return this._queue.forEach((function(t){var i=t.player;if(!i.destroyed){var a=t.element,o=l._elementListeners.get(a);o&&o.forEach((function(l){if(l.name==t.triggerName){var e=mw(a,t.triggerName,t.fromState.value,t.toState.value);e._data=n,dw(t.player,l.phase,e,l.callback)}})),i.markedForDestroy?l._engine.afterFlush((function(){i.destroy()})):e.push(t)}})),this._queue=[],e.sort((function(n,e){var t=n.transition.ast.depCount,i=e.transition.ast.depCount;return 0==t||0==i?t-i:l._engine.driver.containsElement(n.element,e.element)?1:-1}))},n.prototype.destroy=function(n){this.players.forEach((function(n){return n.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,n)},n.prototype.elementContainsData=function(n){var l=!1;return this._elementListeners.has(n)&&(l=!0),!!this._queue.find((function(l){return l.element===n}))||l},n}(),Rx=function(){function n(n,l,e){this.bodyNode=n,this.driver=l,this._normalizer=e,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(n,l){}}return n.prototype._onRemovalComplete=function(n,l){this.onRemovalComplete(n,l)},Object.defineProperty(n.prototype,"queuedPlayers",{get:function(){var n=[];return this._namespaceList.forEach((function(l){l.players.forEach((function(l){l.queued&&n.push(l)}))})),n},enumerable:!0,configurable:!0}),n.prototype.createNamespace=function(n,l){var e=new Lx(n,l,this);return l.parentNode?this._balanceNamespaceList(e,l):(this.newHostElements.set(l,e),this.collectEnterElement(l)),this._namespaceLookup[n]=e},n.prototype._balanceNamespaceList=function(n,l){var e=this._namespaceList.length-1;if(e>=0){for(var t=!1,i=e;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,l)){this._namespaceList.splice(i+1,0,n),t=!0;break}t||this._namespaceList.splice(0,0,n)}else this._namespaceList.push(n);return this.namespacesByHostElement.set(l,n),n},n.prototype.register=function(n,l){var e=this._namespaceLookup[n];return e||(e=this.createNamespace(n,l)),e},n.prototype.registerTrigger=function(n,l,e){var t=this._namespaceLookup[n];t&&t.register(l,e)&&this.totalAnimations++},n.prototype.destroy=function(n,l){var e=this;if(n){var t=this._fetchNamespace(n);this.afterFlush((function(){e.namespacesByHostElement.delete(t.hostElement),delete e._namespaceLookup[n];var l=e._namespaceList.indexOf(t);l>=0&&e._namespaceList.splice(l,1)})),this.afterFlushAnimationsDone((function(){return t.destroy(l)}))}},n.prototype._fetchNamespace=function(n){return this._namespaceLookup[n]},n.prototype.fetchNamespacesByElement=function(n){var l=new Set,e=this.statesByElement.get(n);if(e)for(var t=Object.keys(e),i=0;i<t.length;i++){var a=e[t[i]].namespaceId;if(a){var o=this._fetchNamespace(a);o&&l.add(o)}}return l},n.prototype.trigger=function(n,l,e,t){if(jx(l)){var i=this._fetchNamespace(n);if(i)return i.trigger(l,e,t),!0}return!1},n.prototype.insertNode=function(n,l,e,t){if(jx(l)){var i=l[Ex];if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var a=this.collectedLeaveElements.indexOf(l);a>=0&&this.collectedLeaveElements.splice(a,1)}if(n){var o=this._fetchNamespace(n);o&&o.insertNode(l,e)}t&&this.collectEnterElement(l)}},n.prototype.collectEnterElement=function(n){this.collectedEnterElements.push(n)},n.prototype.markElementAsDisabled=function(n,l){l?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Bx(n,"ng-animate-disabled")):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),$x(n,"ng-animate-disabled"))},n.prototype.removeNode=function(n,l,e,t){if(jx(l)){var i=n?this._fetchNamespace(n):null;if(i?i.removeNode(l,t):this.markElementAsRemoved(n,l,!1,t),e){var a=this.namespacesByHostElement.get(l);a&&a.id!==n&&a.removeNode(l,t)}}else this._onRemovalComplete(l,t)},n.prototype.markElementAsRemoved=function(n,l,e,t){this.collectedLeaveElements.push(l),l[Ex]={namespaceId:n,setForRemoval:t,hasAnimation:e,removedBeforeQueried:!1}},n.prototype.listen=function(n,l,e,t,i){return jx(l)?this._fetchNamespace(n).listen(l,e,t,i):function(){}},n.prototype._buildInstruction=function(n,l,e,t,i){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,e,t,n.fromState.options,n.toState.options,l,i)},n.prototype.destroyInnerAnimations=function(n){var l=this,e=this.driver.query(n,".ng-trigger",!0);e.forEach((function(n){return l.destroyActiveAnimationsForElement(n)})),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,".ng-animating",!0)).forEach((function(n){return l.finishActiveQueriedAnimationOnElement(n)}))},n.prototype.destroyActiveAnimationsForElement=function(n){var l=this.playersByElement.get(n);l&&l.forEach((function(n){n.queued?n.markedForDestroy=!0:n.destroy()}))},n.prototype.finishActiveQueriedAnimationOnElement=function(n){var l=this.playersByQueriedElement.get(n);l&&l.forEach((function(n){return n.finish()}))},n.prototype.whenRenderingDone=function(){var n=this;return new Promise((function(l){if(n.players.length)return sw(n.players).onDone((function(){return l()}));l()}))},n.prototype.processLeaveNode=function(n){var l=this,e=n[Ex];if(e&&e.setForRemoval){if(n[Ex]=Dx,e.namespaceId){this.destroyInnerAnimations(n);var t=this._fetchNamespace(e.namespaceId);t&&t.clearElementCache(n)}this._onRemovalComplete(n,e.setForRemoval)}this.driver.matchesElement(n,".ng-animate-disabled")&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach((function(n){l.markElementAsDisabled(n,!1)}))},n.prototype.flush=function(n){var l=this;void 0===n&&(n=-1);var e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(n,e){return l._balanceNamespaceList(n,e)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var t=0;t<this.collectedEnterElements.length;t++)Bx(this.collectedEnterElements[t],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{e=this._flushAnimations(i,n)}finally{for(t=0;t<i.length;t++)i[t]()}}else for(t=0;t<this.collectedLeaveElements.length;t++)this.processLeaveNode(this.collectedLeaveElements[t]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(n){return n()})),this._flushFns=[],this._whenQuietFns.length){var a=this._whenQuietFns;this._whenQuietFns=[],e.length?sw(e).onDone((function(){a.forEach((function(n){return n()}))})):a.forEach((function(n){return n()}))}},n.prototype.reportError=function(n){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+n.join("\n"))},n.prototype._flushAnimations=function(n,l){var e=this,i=new ux,a=[],o=new Map,r=[],u=new Map,s=new Map,c=new Map,d=new Set;this.disabledNodes.forEach((function(n){d.add(n);for(var l=e.driver.query(n,".ng-animate-queued",!0),t=0;t<l.length;t++)d.add(l[t])}));var p=this.bodyNode,m=Array.from(this.statesByElement.keys()),f=zx(m,this.collectedEnterElements),h=new Map,g=0;f.forEach((function(n,l){var e="ng-enter"+g++;h.set(l,e),n.forEach((function(n){return Bx(n,e)}))}));for(var b=[],v=new Set,_=new Set,y=0;y<this.collectedLeaveElements.length;y++)(N=(R=this.collectedLeaveElements[y])[Ex])&&N.setForRemoval&&(b.push(R),v.add(R),N.hasAnimation?this.driver.query(R,".ng-star-inserted",!0).forEach((function(n){return v.add(n)})):_.add(R));var w=new Map,x=zx(m,Array.from(v));x.forEach((function(n,l){var e="ng-leave"+g++;w.set(l,e),n.forEach((function(n){return Bx(n,e)}))})),n.push((function(){f.forEach((function(n,l){var e=h.get(l);n.forEach((function(n){return $x(n,e)}))})),x.forEach((function(n,l){var e=w.get(l);n.forEach((function(n){return $x(n,e)}))})),b.forEach((function(n){e.processLeaveNode(n)}))}));for(var C=[],k=[],S=this._namespaceList.length-1;S>=0;S--)this._namespaceList[S].drainQueuedTransitions(l).forEach((function(n){var l=n.player,t=n.element;if(C.push(l),e.collectedEnterElements.length){var o=t[Ex];if(o&&o.setForMove)return void l.destroy()}var d=!p||!e.driver.containsElement(p,t),m=w.get(t),f=h.get(t),g=e._buildInstruction(n,i,f,m,d);if(g.errors&&g.errors.length)k.push(g);else{if(d)return l.onStart((function(){return jw(t,g.fromStyles)})),l.onDestroy((function(){return Nw(t,g.toStyles)})),void a.push(l);if(n.isFallbackTransition)return l.onStart((function(){return jw(t,g.fromStyles)})),l.onDestroy((function(){return Nw(t,g.toStyles)})),void a.push(l);g.timelines.forEach((function(n){return n.stretchStartingKeyframe=!0})),i.append(t,g.timelines),r.push({instruction:g,player:l,element:t}),g.queriedElements.forEach((function(n){return fw(u,n,[]).push(l)})),g.preStyleProps.forEach((function(n,l){var e=Object.keys(n);if(e.length){var t=s.get(l);t||s.set(l,t=new Set),e.forEach((function(n){return t.add(n)}))}})),g.postStyleProps.forEach((function(n,l){var e=Object.keys(n),t=c.get(l);t||c.set(l,t=new Set),e.forEach((function(n){return t.add(n)}))}))}}));if(k.length){var I=[];k.forEach((function(n){I.push("@"+n.triggerName+" has failed due to:\n"),n.errors.forEach((function(n){return I.push("- "+n+"\n")}))})),C.forEach((function(n){return n.destroy()})),this.reportError(I)}var A=new Map,M=new Map;r.forEach((function(n){var l=n.element;i.has(l)&&(M.set(l,l),e._beforeAnimationBuild(n.player.namespaceId,n.instruction,A))})),a.forEach((function(n){var l=n.element;e._getPreviousPlayers(l,!1,n.namespaceId,n.triggerName,null).forEach((function(n){fw(A,l,[]).push(n),n.destroy()}))}));var P=b.filter((function(n){return Gx(n,s,c)})),D=new Map;qx(D,this.driver,_,c,Uf).forEach((function(n){Gx(n,s,c)&&P.push(n)}));var F=new Map;f.forEach((function(n,l){qx(F,e.driver,new Set(n),s,Kf)})),P.forEach((function(n){var l=D.get(n),e=F.get(n);D.set(n,Object(t.__assign)({},l,e))}));var E=[],O=[],T={};r.forEach((function(n){var l=n.element,t=n.player,r=n.instruction;if(i.has(l)){if(d.has(l))return t.onDestroy((function(){return Nw(l,r.toStyles)})),t.disabled=!0,t.overrideTotalTime(r.totalTime),void a.push(t);var u=T;if(M.size>1){for(var s=l,c=[];s=s.parentNode;){var p=M.get(s);if(p){u=p;break}c.push(s)}c.forEach((function(n){return M.set(n,u)}))}var m=e._buildAnimation(t.namespaceId,r,A,o,F,D);if(t.setRealPlayer(m),u===T)E.push(t);else{var f=e.playersByElement.get(u);f&&f.length&&(t.parentPlayer=sw(f)),a.push(t)}}else jw(l,r.fromStyles),t.onDestroy((function(){return Nw(l,r.toStyles)})),O.push(t),d.has(l)&&a.push(t)})),O.forEach((function(n){var l=o.get(n.element);if(l&&l.length){var e=sw(l);n.setRealPlayer(e)}})),a.forEach((function(n){n.parentPlayer?n.syncPlayerEvents(n.parentPlayer):n.destroy()}));for(var L=0;L<b.length;L++){var R,N=(R=b[L])[Ex];if($x(R,"ng-leave"),!N||!N.hasAnimation){var j=[];if(u.size){var V=u.get(R);V&&V.length&&j.push.apply(j,Object(t.__spread)(V));for(var q=this.driver.query(R,".ng-animating",!0),z=0;z<q.length;z++){var U=u.get(q[z]);U&&U.length&&j.push.apply(j,Object(t.__spread)(U))}}var B=j.filter((function(n){return!n.destroyed}));B.length?Hx(this,R,B):this.processLeaveNode(R)}}return b.length=0,E.forEach((function(n){e.players.push(n),n.onDone((function(){n.destroy();var l=e.players.indexOf(n);e.players.splice(l,1)})),n.play()})),E},n.prototype.elementContainsData=function(n,l){var e=!1,t=l[Ex];return t&&t.setForRemoval&&(e=!0),this.playersByElement.has(l)&&(e=!0),this.playersByQueriedElement.has(l)&&(e=!0),this.statesByElement.has(l)&&(e=!0),this._fetchNamespace(n).elementContainsData(l)||e},n.prototype.afterFlush=function(n){this._flushFns.push(n)},n.prototype.afterFlushAnimationsDone=function(n){this._whenQuietFns.push(n)},n.prototype._getPreviousPlayers=function(n,l,e,t,i){var a=[];if(l){var o=this.playersByQueriedElement.get(n);o&&(a=o)}else{var r=this.playersByElement.get(n);if(r){var u=!i||"void"==i;r.forEach((function(n){n.queued||(u||n.triggerName==t)&&a.push(n)}))}}return(e||t)&&(a=a.filter((function(n){return!(e&&e!=n.namespaceId||t&&t!=n.triggerName)}))),a},n.prototype._beforeAnimationBuild=function(n,l,e){var i,a,o=l.element,r=l.isRemovalTransition?void 0:n,u=l.isRemovalTransition?void 0:l.triggerName,s=function(n){var t=n.element,i=t!==o,a=fw(e,t,[]);c._getPreviousPlayers(t,i,r,u,l.toState).forEach((function(n){var l=n.getRealPlayer();l.beforeDestroy&&l.beforeDestroy(),n.destroy(),a.push(n)}))},c=this;try{for(var d=Object(t.__values)(l.timelines),p=d.next();!p.done;p=d.next())s(p.value)}catch(m){i={error:m}}finally{try{p&&!p.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}jw(o,l.fromStyles)},n.prototype._buildAnimation=function(n,l,e,t,i,a){var o=this,r=l.triggerName,u=l.element,s=[],c=new Set,d=new Set,p=l.timelines.map((function(l){var p=l.element;c.add(p);var m=p[Ex];if(m&&m.removedBeforeQueried)return new Gf(l.duration,l.delay);var f,h,g=p!==u,b=(f=(e.get(p)||Px).map((function(n){return n.getRealPlayer()})),h=[],function n(l,e){for(var t=0;t<l.length;t++){var i=l[t];i instanceof Wf?n(i.players,e):e.push(i)}}(f,h),h).filter((function(n){return!!n.element&&n.element===p})),v=i.get(p),_=a.get(p),y=cw(0,o._normalizer,0,l.keyframes,v,_),w=o._buildPlayer(l,y,b);if(l.subTimeline&&t&&d.add(p),g){var x=new Nx(n,r,p);x.setRealPlayer(w),s.push(x)}return w}));s.forEach((function(n){fw(o.playersByQueriedElement,n.element,[]).push(n),n.onDone((function(){return function(n,l,e){var t;if(n instanceof Map){if(t=n.get(l)){if(t.length){var i=t.indexOf(e);t.splice(i,1)}0==t.length&&n.delete(l)}}else(t=n[l])&&(t.length&&(i=t.indexOf(e),t.splice(i,1)),0==t.length&&delete n[l]);return t}(o.playersByQueriedElement,n.element,n)}))})),c.forEach((function(n){return Bx(n,"ng-animating")}));var m=sw(p);return m.onDestroy((function(){c.forEach((function(n){return $x(n,"ng-animating")})),Nw(u,l.toStyles)})),d.forEach((function(n){fw(t,n,[]).push(m)})),m},n.prototype._buildPlayer=function(n,l,e){return l.length>0?this.driver.animate(n.element,l,n.duration,n.delay,n.easing,e):new Gf(n.duration,n.delay)},n}(),Nx=function(){function n(n,l,e){this.namespaceId=n,this.triggerName=l,this.element=e,this._player=new Gf,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return n.prototype.setRealPlayer=function(n){var l=this;this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach((function(e){l._queuedCallbacks[e].forEach((function(l){return dw(n,e,void 0,l)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)},n.prototype.getRealPlayer=function(){return this._player},n.prototype.overrideTotalTime=function(n){this.totalTime=n},n.prototype.syncPlayerEvents=function(n){var l=this,e=this._player;e.triggerCallback&&n.onStart((function(){return e.triggerCallback("start")})),n.onDone((function(){return l.finish()})),n.onDestroy((function(){return l.destroy()}))},n.prototype._queueEvent=function(n,l){fw(this._queuedCallbacks,n,[]).push(l)},n.prototype.onDone=function(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)},n.prototype.onStart=function(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)},n.prototype.onDestroy=function(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)},n.prototype.init=function(){this._player.init()},n.prototype.hasStarted=function(){return!this.queued&&this._player.hasStarted()},n.prototype.play=function(){!this.queued&&this._player.play()},n.prototype.pause=function(){!this.queued&&this._player.pause()},n.prototype.restart=function(){!this.queued&&this._player.restart()},n.prototype.finish=function(){this._player.finish()},n.prototype.destroy=function(){this.destroyed=!0,this._player.destroy()},n.prototype.reset=function(){!this.queued&&this._player.reset()},n.prototype.setPosition=function(n){this.queued||this._player.setPosition(n)},n.prototype.getPosition=function(){return this.queued?0:this._player.getPosition()},n.prototype.triggerCallback=function(n){var l=this._player;l.triggerCallback&&l.triggerCallback(n)},n}();function jx(n){return n&&1===n.nodeType}function Vx(n,l){var e=n.style.display;return n.style.display=null!=l?l:"none",e}function qx(n,l,e,t,i){var a=[];e.forEach((function(n){return a.push(Vx(n))}));var o=[];t.forEach((function(e,t){var a={};e.forEach((function(n){var e=a[n]=l.computeStyle(t,n,i);e&&0!=e.length||(t[Ex]=Fx,o.push(t))})),n.set(t,a)}));var r=0;return e.forEach((function(n){return Vx(n,a[r++])})),o}function zx(n,l){var e=new Map;if(n.forEach((function(n){return e.set(n,[])})),0==l.length)return e;var t=new Set(l),i=new Map;return l.forEach((function(n){var l=function n(l){if(!l)return 1;var a=i.get(l);if(a)return a;var o=l.parentNode;return a=e.has(o)?o:t.has(o)?1:n(o),i.set(l,a),a}(n);1!==l&&e.get(l).push(n)})),e}var Ux="$$classes";function Bx(n,l){if(n.classList)n.classList.add(l);else{var e=n[Ux];e||(e=n[Ux]={}),e[l]=!0}}function $x(n,l){if(n.classList)n.classList.remove(l);else{var e=n[Ux];e&&delete e[l]}}function Hx(n,l,e){sw(e).onDone((function(){return n.processLeaveNode(l)}))}function Gx(n,l,e){var t=e.get(n);if(!t)return!1;var i=l.get(n);return i?t.forEach((function(n){return i.add(n)})):l.set(n,t),e.delete(n),!0}var Wx=function(){function n(n,l,e){var t=this;this.bodyNode=n,this._driver=l,this._triggerCache={},this.onRemovalComplete=function(n,l){},this._transitionEngine=new Rx(n,l,e),this._timelineEngine=new Mx(n,l,e),this._transitionEngine.onRemovalComplete=function(n,l){return t.onRemovalComplete(n,l)}}return n.prototype.registerTrigger=function(n,l,e,t,i){var a=n+"-"+t,o=this._triggerCache[a];if(!o){var r=[],u=lx(this._driver,i,r);if(r.length)throw new Error('The animation trigger "'+t+'" has failed to build due to the following errors:\n - '+r.join("\n - "));o=function(n,l){return new Sx(n,l)}(t,u),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(l,t,o)},n.prototype.register=function(n,l){this._transitionEngine.register(n,l)},n.prototype.destroy=function(n,l){this._transitionEngine.destroy(n,l)},n.prototype.onInsert=function(n,l,e,t){this._transitionEngine.insertNode(n,l,e,t)},n.prototype.onRemove=function(n,l,e,t){this._transitionEngine.removeNode(n,l,t||!1,e)},n.prototype.disableAnimations=function(n,l){this._transitionEngine.markElementAsDisabled(n,l)},n.prototype.process=function(n,l,e,i){if("@"==e.charAt(0)){var a=Object(t.__read)(hw(e),2);this._timelineEngine.command(a[0],l,a[1],i)}else this._transitionEngine.trigger(n,l,e,i)},n.prototype.listen=function(n,l,e,i,a){if("@"==e.charAt(0)){var o=Object(t.__read)(hw(e),2);return this._timelineEngine.listen(o[0],l,o[1],a)}return this._transitionEngine.listen(n,l,e,i,a)},n.prototype.flush=function(n){void 0===n&&(n=-1),this._transitionEngine.flush(n)},Object.defineProperty(n.prototype,"players",{get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)},enumerable:!0,configurable:!0}),n.prototype.whenRenderingDone=function(){return this._transitionEngine.whenRenderingDone()},n}();function Kx(n,l){var e=null,t=null;return Array.isArray(l)&&l.length?(e=Jx(l[0]),l.length>1&&(t=Jx(l[l.length-1]))):l&&(e=Jx(l)),e||t?new Yx(n,e,t):null}var Yx=function(){function n(l,e,t){this._element=l,this._startStyles=e,this._endStyles=t,this._state=0;var i=n.initialStylesByElement.get(l);i||n.initialStylesByElement.set(l,i={}),this._initialStyles=i}return n.prototype.start=function(){this._state<1&&(this._startStyles&&Nw(this._element,this._startStyles,this._initialStyles),this._state=1)},n.prototype.finish=function(){this.start(),this._state<2&&(Nw(this._element,this._initialStyles),this._endStyles&&(Nw(this._element,this._endStyles),this._endStyles=null),this._state=1)},n.prototype.destroy=function(){this.finish(),this._state<3&&(n.initialStylesByElement.delete(this._element),this._startStyles&&(jw(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(jw(this._element,this._endStyles),this._endStyles=null),Nw(this._element,this._initialStyles),this._state=3)},n.initialStylesByElement=new WeakMap,n}();function Jx(n){for(var l=null,e=Object.keys(n),t=0;t<e.length;t++){var i=e[t];Zx(i)&&((l=l||{})[i]=n[i])}return l}function Zx(n){return"display"===n||"position"===n}var Qx="animation",Xx="animationend",nC=function(){function n(n,l,e,t,i,a,o){var r=this;this._element=n,this._name=l,this._duration=e,this._delay=t,this._easing=i,this._fillMode=a,this._onDoneFn=o,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(n){return r._handleCallback(n)}}return n.prototype.apply=function(){var n,l,e;l=this._duration+"ms "+this._easing+" "+this._delay+"ms 1 normal "+this._fillMode+" "+this._name,(e=oC(n=this._element,"").trim()).length&&(function(n,l){for(var e=0;e<n.length;e++)","===n.charAt(e)&&0}(e),l=e+", "+l),aC(n,"",l),iC(this._element,this._eventFn,!1),this._startTime=Date.now()},n.prototype.pause=function(){lC(this._element,this._name,"paused")},n.prototype.resume=function(){lC(this._element,this._name,"running")},n.prototype.setPosition=function(n){var l=eC(this._element,this._name);this._position=n*this._duration,aC(this._element,"Delay","-"+this._position+"ms",l)},n.prototype.getPosition=function(){return this._position},n.prototype._handleCallback=function(n){var l=n._ngTestManualTimestamp||Date.now(),e=1e3*parseFloat(n.elapsedTime.toFixed(3));n.animationName==this._name&&Math.max(l-this._startTime,0)>=this._delay&&e>=this._duration&&this.finish()},n.prototype.finish=function(){this._finished||(this._finished=!0,this._onDoneFn(),iC(this._element,this._eventFn,!0))},n.prototype.destroy=function(){var n,l,e,t;this._destroyed||(this._destroyed=!0,this.finish(),l=this._name,(t=tC(e=oC(n=this._element,"").split(","),l))>=0&&(e.splice(t,1),aC(n,"",e.join(","))))},n}();function lC(n,l,e){aC(n,"PlayState",e,eC(n,l))}function eC(n,l){var e=oC(n,"");return e.indexOf(",")>0?tC(e.split(","),l):tC([e],l)}function tC(n,l){for(var e=0;e<n.length;e++)if(n[e].indexOf(l)>=0)return e;return-1}function iC(n,l,e){e?n.removeEventListener(Xx,l):n.addEventListener(Xx,l)}function aC(n,l,e,t){var i=Qx+l;if(null!=t){var a=n.style[i];if(a.length){var o=a.split(",");o[t]=e,e=o.join(",")}}n.style[i]=e}function oC(n,l){return n.style[Qx+l]}var rC="linear",uC=function(){function n(n,l,e,t,i,a,o,r){this.element=n,this.keyframes=l,this.animationName=e,this._duration=t,this._delay=i,this._finalStyles=o,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||rC,this.totalTime=t+i,this._buildStyler()}return n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.destroy=function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype._flushDoneFns=function(){this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[]},n.prototype._flushStartFns=function(){this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[]},n.prototype.finish=function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())},n.prototype.setPosition=function(n){this._styler.setPosition(n)},n.prototype.getPosition=function(){return this._styler.getPosition()},n.prototype.hasStarted=function(){return this._state>=2},n.prototype.init=function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())},n.prototype.play=function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()},n.prototype.pause=function(){this.init(),this._styler.pause()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.reset=function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()},n.prototype._buildStyler=function(){var n=this;this._styler=new nC(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return n.finish()}))},n.prototype.triggerCallback=function(n){var l="start"==n?this._onStartFns:this._onDoneFns;l.forEach((function(n){return n()})),l.length=0},n.prototype.beforeDestroy=function(){var n=this;this.init();var l={};if(this.hasStarted()){var e=this._state>=3;Object.keys(this._finalStyles).forEach((function(t){"offset"!=t&&(l[t]=e?n._finalStyles[t]:Yw(n.element,t))}))}this.currentSnapshot=l},n}(),sC=function(n){function l(l,e){var t=n.call(this)||this;return t.element=l,t._startingStyles={},t.__initialized=!1,t._styles=Iw(e),t}return Object(t.__extends)(l,n),l.prototype.init=function(){var l=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(n){l._startingStyles[n]=l.element.style[n]})),n.prototype.init.call(this))},l.prototype.play=function(){var l=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(n){return l.element.style.setProperty(n,l._styles[n])})),n.prototype.play.call(this))},l.prototype.destroy=function(){var l=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(n){var e=l._startingStyles[n];e?l.element.style.setProperty(n,e):l.element.style.removeProperty(n)})),this._startingStyles=null,n.prototype.destroy.call(this))},l}(Gf),cC=function(){function n(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return n.prototype.validateStyleProperty=function(n){return xw(n)},n.prototype.matchesElement=function(n,l){return Cw(n,l)},n.prototype.containsElement=function(n,l){return kw(n,l)},n.prototype.query=function(n,l,e){return Sw(n,l,e)},n.prototype.computeStyle=function(n,l,e){return window.getComputedStyle(n)[l]},n.prototype.buildKeyframeElement=function(n,l,e){e=e.map((function(n){return Iw(n)}));var t="@keyframes "+l+" {\n",i="";e.forEach((function(n){i=" ";var l=parseFloat(n.offset);t+=""+i+100*l+"% {\n",i+=" ",Object.keys(n).forEach((function(l){var e=n[l];switch(l){case"offset":return;case"easing":return void(e&&(t+=i+"animation-timing-function: "+e+";\n"));default:return void(t+=""+i+l+": "+e+";\n")}})),t+=i+"}\n"})),t+="}\n";var a=document.createElement("style");return a.innerHTML=t,a},n.prototype.animate=function(n,l,e,t,i,a,o){void 0===a&&(a=[]),o&&this._notifyFaultyScrubber();var r=a.filter((function(n){return n instanceof uC})),u={};Gw(e,t)&&r.forEach((function(n){var l=n.currentSnapshot;Object.keys(l).forEach((function(n){return u[n]=l[n]}))}));var s=function(n){var l={};return n&&(Array.isArray(n)?n:[n]).forEach((function(n){Object.keys(n).forEach((function(e){"offset"!=e&&"easing"!=e&&(l[e]=n[e])}))})),l}(l=Ww(n,l,u));if(0==e)return new sC(n,s);var c="gen_css_kf_"+this._count++,d=this.buildKeyframeElement(n,c,l);document.querySelector("head").appendChild(d);var p=Kx(n,l),m=new uC(n,l,c,e,t,i,s,p);return m.onDestroy((function(){var n;(n=d).parentNode.removeChild(n)})),m},n.prototype._notifyFaultyScrubber=function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)},n}(),dC=function(){function n(n,l,e,t){this.element=n,this.keyframes=l,this.options=e,this._specialStyles=t,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=e.duration,this._delay=e.delay||0,this.time=this._duration+this._delay}return n.prototype._onFinish=function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(n){return n()})),this._onDoneFns=[])},n.prototype.init=function(){this._buildPlayer(),this._preparePlayerBeforeStart()},n.prototype._buildPlayer=function(){var n=this;if(!this._initialized){this._initialized=!0;var l=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,l,this.options),this._finalKeyframe=l.length?l[l.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return n._onFinish()}))}},n.prototype._preparePlayerBeforeStart=function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()},n.prototype._triggerWebAnimation=function(n,l,e){return n.animate(l,e)},n.prototype.onStart=function(n){this._onStartFns.push(n)},n.prototype.onDone=function(n){this._onDoneFns.push(n)},n.prototype.onDestroy=function(n){this._onDestroyFns.push(n)},n.prototype.play=function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(n){return n()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()},n.prototype.pause=function(){this.init(),this.domPlayer.pause()},n.prototype.finish=function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()},n.prototype.reset=function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1},n.prototype._resetDomPlayerState=function(){this.domPlayer&&this.domPlayer.cancel()},n.prototype.restart=function(){this.reset(),this.play()},n.prototype.hasStarted=function(){return this._started},n.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(n){return n()})),this._onDestroyFns=[])},n.prototype.setPosition=function(n){this.domPlayer.currentTime=n*this.time},n.prototype.getPosition=function(){return this.domPlayer.currentTime/this.time},Object.defineProperty(n.prototype,"totalTime",{get:function(){return this._delay+this._duration},enumerable:!0,configurable:!0}),n.prototype.beforeDestroy=function(){var n=this,l={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(e){"offset"!=e&&(l[e]=n._finished?n._finalKeyframe[e]:Yw(n.element,e))})),this.currentSnapshot=l},n.prototype.triggerCallback=function(n){var l="start"==n?this._onStartFns:this._onDoneFns;l.forEach((function(n){return n()})),l.length=0},n}(),pC=function(){function n(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(mC().toString()),this._cssKeyframesDriver=new cC}return n.prototype.validateStyleProperty=function(n){return xw(n)},n.prototype.matchesElement=function(n,l){return Cw(n,l)},n.prototype.containsElement=function(n,l){return kw(n,l)},n.prototype.query=function(n,l,e){return Sw(n,l,e)},n.prototype.computeStyle=function(n,l,e){return window.getComputedStyle(n)[l]},n.prototype.overrideWebAnimationsSupport=function(n){this._isNativeImpl=n},n.prototype.animate=function(n,l,e,t,i,a,o){if(void 0===a&&(a=[]),!o&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(n,l,e,t,i,a);var r={duration:e,delay:t,fill:0==t?"both":"forwards"};i&&(r.easing=i);var u={},s=a.filter((function(n){return n instanceof dC}));Gw(e,t)&&s.forEach((function(n){var l=n.currentSnapshot;Object.keys(l).forEach((function(n){return u[n]=l[n]}))}));var c=Kx(n,l=Ww(n,l=l.map((function(n){return Tw(n,!1)})),u));return new dC(n,l,r,c)},n}();function mC(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var fC=function(n){function l(l,e){var t=n.call(this)||this;return t._nextAnimationId=0,t._renderer=l.createRenderer(e.body,{id:"0",encapsulation:Qn.None,styles:[],data:{animation:[]}}),t}return Object(t.__extends)(l,n),l.prototype.build=function(n){var l=this._nextAnimationId.toString();this._nextAnimationId++;var e=Array.isArray(n)?Bf(n):n;return bC(this._renderer,null,l,"register",[e]),new hC(l,this._renderer)},l}(qf),hC=function(n){function l(l,e){var t=n.call(this)||this;return t._id=l,t._renderer=e,t}return Object(t.__extends)(l,n),l.prototype.create=function(n,l){return new gC(this._id,n,l||{},this._renderer)},l}(zf),gC=function(){function n(n,l,e,t){this.id=n,this.element=l,this._renderer=t,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",e)}return n.prototype._listen=function(n,l){return this._renderer.listen(this.element,"@@"+this.id+":"+n,l)},n.prototype._command=function(n){for(var l=[],e=1;e<arguments.length;e++)l[e-1]=arguments[e];return bC(this._renderer,this.element,this.id,n,l)},n.prototype.onDone=function(n){this._listen("done",n)},n.prototype.onStart=function(n){this._listen("start",n)},n.prototype.onDestroy=function(n){this._listen("destroy",n)},n.prototype.init=function(){this._command("init")},n.prototype.hasStarted=function(){return this._started},n.prototype.play=function(){this._command("play"),this._started=!0},n.prototype.pause=function(){this._command("pause")},n.prototype.restart=function(){this._command("restart")},n.prototype.finish=function(){this._command("finish")},n.prototype.destroy=function(){this._command("destroy")},n.prototype.reset=function(){this._command("reset")},n.prototype.setPosition=function(n){this._command("setPosition",n)},n.prototype.getPosition=function(){return 0},n}();function bC(n,l,e,t,i){return n.setProperty(l,"@@"+e+":"+t,i)}var vC=function(){function n(n,l,e){this.delegate=n,this.engine=l,this._zone=e,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),l.onRemovalComplete=function(n,l){l&&l.parentNode(n)&&l.removeChild(n.parentNode,n)}}return n.prototype.createRenderer=function(n,l){var e=this,t=this.delegate.createRenderer(n,l);if(!(n&&l&&l.data&&l.data.animation)){var i=this._rendererCache.get(t);return i||(i=new _C("",t,this.engine),this._rendererCache.set(t,i)),i}var a=l.id,o=l.id+"-"+this._currentId;return this._currentId++,this.engine.register(o,n),l.data.animation.forEach((function(l){return e.engine.registerTrigger(a,o,n,l.name,l)})),new yC(this,o,t,this.engine)},n.prototype.begin=function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()},n.prototype._scheduleCountTask=function(){var n=this;this.promise.then((function(){n._microtaskId++}))},n.prototype.scheduleListenerCallback=function(n,l,e){var i=this;n>=0&&n<this._microtaskId?this._zone.run((function(){return l(e)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){i._zone.run((function(){i._animationCallbacksBuffer.forEach((function(n){var l=Object(t.__read)(n,2);(0,l[0])(l[1])})),i._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([l,e]))},n.prototype.end=function(){var n=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){n._scheduleCountTask(),n.engine.flush(n._microtaskId)})),this.delegate.end&&this.delegate.end()},n.prototype.whenRenderingDone=function(){return this.engine.whenRenderingDone()},n}(),_C=function(){function n(n,l,e){this.namespaceId=n,this.delegate=l,this.engine=e,this.destroyNode=this.delegate.destroyNode?function(n){return l.destroyNode(n)}:null}return Object.defineProperty(n.prototype,"data",{get:function(){return this.delegate.data},enumerable:!0,configurable:!0}),n.prototype.destroy=function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()},n.prototype.createElement=function(n,l){return this.delegate.createElement(n,l)},n.prototype.createComment=function(n){return this.delegate.createComment(n)},n.prototype.createText=function(n){return this.delegate.createText(n)},n.prototype.appendChild=function(n,l){this.delegate.appendChild(n,l),this.engine.onInsert(this.namespaceId,l,n,!1)},n.prototype.insertBefore=function(n,l,e){this.delegate.insertBefore(n,l,e),this.engine.onInsert(this.namespaceId,l,n,!0)},n.prototype.removeChild=function(n,l,e){this.engine.onRemove(this.namespaceId,l,this.delegate,e)},n.prototype.selectRootElement=function(n,l){return this.delegate.selectRootElement(n,l)},n.prototype.parentNode=function(n){return this.delegate.parentNode(n)},n.prototype.nextSibling=function(n){return this.delegate.nextSibling(n)},n.prototype.setAttribute=function(n,l,e,t){this.delegate.setAttribute(n,l,e,t)},n.prototype.removeAttribute=function(n,l,e){this.delegate.removeAttribute(n,l,e)},n.prototype.addClass=function(n,l){this.delegate.addClass(n,l)},n.prototype.removeClass=function(n,l){this.delegate.removeClass(n,l)},n.prototype.setStyle=function(n,l,e,t){this.delegate.setStyle(n,l,e,t)},n.prototype.removeStyle=function(n,l,e){this.delegate.removeStyle(n,l,e)},n.prototype.setProperty=function(n,l,e){"@"==l.charAt(0)&&"@.disabled"==l?this.disableAnimations(n,!!e):this.delegate.setProperty(n,l,e)},n.prototype.setValue=function(n,l){this.delegate.setValue(n,l)},n.prototype.listen=function(n,l,e){return this.delegate.listen(n,l,e)},n.prototype.disableAnimations=function(n,l){this.engine.disableAnimations(n,l)},n}(),yC=function(n){function l(l,e,t,i){var a=n.call(this,e,t,i)||this;return a.factory=l,a.namespaceId=e,a}return Object(t.__extends)(l,n),l.prototype.setProperty=function(n,l,e){"@"==l.charAt(0)?"."==l.charAt(1)&&"@.disabled"==l?this.disableAnimations(n,e=void 0===e||!!e):this.engine.process(this.namespaceId,n,l.substr(1),e):this.delegate.setProperty(n,l,e)},l.prototype.listen=function(n,l,e){var i,a,o,r=this;if("@"==l.charAt(0)){var u=function(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}(n),s=l.substr(1),c="";return"@"!=s.charAt(0)&&(s=(i=Object(t.__read)((a=s,o=a.indexOf("."),[a.substring(0,o),a.substr(o+1)]),2))[0],c=i[1]),this.engine.listen(this.namespaceId,u,s,c,(function(n){r.factory.scheduleListenerCallback(n._data||-1,e,n)}))}return this.delegate.listen(n,l,e)},l}(_C),wC=function(n){function l(l,e,t){return n.call(this,l.body,e,t)||this}return Object(t.__extends)(l,n),l}(Wx);function xC(){return"function"==typeof mC()?new pC:new cC}function CC(){return new _x}function kC(n,l,e){return new vC(n,l,e)}var SC=new On("AnimationModuleType"),IC=[{provide:qf,useClass:fC},{provide:vx,useFactory:CC},{provide:Wx,useClass:wC},{provide:Ee,useFactory:kC,deps:[sd,Wx,La]}],AC=(Object(t.__spread)([{provide:Mw,useFactory:xC},{provide:SC,useValue:"BrowserAnimations"}],IC),Object(t.__spread)([{provide:Mw,useClass:Aw},{provide:SC,useValue:"NoopAnimations"}],IC),function(){return function(){}}()),MC=yt({encapsulation:2,styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:.04}@media (hover:none){.mat-button:hover .mat-button-focus-overlay,.mat-stroked-button:hover .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-flat-button,.mat-icon-button,.mat-stroked-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-button[disabled],.mat-flat-button[disabled],.mat-icon-button[disabled],.mat-stroked-button[disabled]{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button[disabled]{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-focus-overlay,.mat-stroked-button .mat-button-ripple.mat-ripple{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab[disabled]{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab[disabled]{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button-focus-overlay,.mat-button-ripple.mat-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity .2s cubic-bezier(.35,0,.25,1),background-color .2s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}@media (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:#fff}}@media (-ms-high-contrast:black-on-white){.mat-button-focus-overlay{background-color:#000}}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:block;font-size:inherit;width:2.5em;height:2.5em}@media (-ms-high-contrast:active){.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}"],data:{}});function PC(n){return jo(2,[ko(671088640,1,{ripple:0}),(n()(),_o(1,0,null,null,1,"span",[["class","mat-button-wrapper"]],null,null,null,null,null)),Po(null,0),(n()(),_o(3,0,null,null,1,"div",[["class","mat-button-ripple mat-ripple"],["matRipple",""]],[[2,"mat-button-ripple-round",null],[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(4,212992,[[1,4]],0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{centered:[0,"centered"],disabled:[1,"disabled"],trigger:[2,"trigger"]},null),(n()(),_o(5,0,null,null,0,"div",[["class","mat-button-focus-overlay"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,4,0,e.isIconButton,e._isRippleDisabled(),e._getHostElement())}),(function(n,l){var e=l.component;n(l,3,0,e.isRoundButton||e.isIconButton,bi(l,4).unbounded)}))}var DC=yt({encapsulation:2,styles:[],data:{}});function FC(n){return jo(2,[(n()(),_o(0,0,null,null,12,"div",[["class","mat-calendar-header"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,11,"div",[["class","mat-calendar-controls"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,4,"button",[["cdkAriaLive","polite"],["class","mat-calendar-period-button"],["mat-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.currentPeriodClicked()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(4,147456,null,0,Nb,[Pe,Rb,mb,La],{politeness:[0,"politeness"]},null),(n()(),Lo(5,0,["",""])),(n()(),_o(6,0,null,0,0,"div",[["class","mat-calendar-arrow"]],[[2,"mat-calendar-invert",null]],null,null,null,null)),(n()(),_o(7,0,null,null,0,"div",[["class","mat-calendar-spacer"]],null,null,null,null,null)),Po(null,0),(n()(),_o(9,0,null,null,1,"button",[["class","mat-calendar-previous-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.previousClicked()&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(11,0,null,null,1,"button",[["class","mat-calendar-next-button"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.nextClicked()&&t),t}),PC,MC)),Di(12,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null)],(function(n,l){var e=l.component;n(l,4,0,"polite"),n(l,10,0,!e.previousEnabled()),n(l,12,0,!e.nextEnabled())}),(function(n,l){var e=l.component;n(l,2,0,e.periodButtonLabel,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,5,0,e.periodButtonText),n(l,6,0,"month"!=e.calendar.currentView),n(l,9,0,e.prevButtonLabel,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,e.nextButtonLabel,bi(l,12).disabled||null,"NoopAnimations"===bi(l,12)._animationMode)}))}function EC(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-calendar-header",[],null,null,null,FC,DC)),Di(1,49152,null,0,Wy,[Ny,Ky,[2,lv],[2,ev],Nl],null,null)],null,null)}var OC=oi("mat-calendar-header",Wy,EC,{},{},["*"]),TC=yt({encapsulation:2,styles:[".mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:0}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-next-button,.mat-calendar-previous-button{position:relative}.mat-calendar-next-button::after,.mat-calendar-previous-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:'';margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-next-button,[dir=rtl] .mat-calendar-previous-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:'';position:absolute;top:0;left:-8px;right:-8px;height:1px}"],data:{}});function LC(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function RC(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-month-view",[],null,[[null,"activeDateChange"],[null,"selectedChange"],[null,"_userSelection"]],(function(n,l,e){var t=!0,i=n.component;return"activeDateChange"===l&&(t=!1!==(i.activeDate=e)&&t),"selectedChange"===l&&(t=!1!==i._dateSelected(e)&&t),"_userSelection"===l&&(t=!1!==i._userSelected()&&t),t}),tk,lk)),Di(1,1097728,[[1,4]],0,qy,[Nl,[2,ev],[2,lv],[2,bb]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"],dateClass:[5,"dateClass"]},{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"})],(function(n,l){var e=l.component;n(l,1,0,e.activeDate,e.selected,e.minDate,e.maxDate,e.dateFilter,e.dateClass)}),null)}function NC(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-year-view",[],null,[[null,"activeDateChange"],[null,"monthSelected"],[null,"selectedChange"]],(function(n,l,e){var t=!0,i=n.component;return"activeDateChange"===l&&(t=!1!==(i.activeDate=e)&&t),"monthSelected"===l&&(t=!1!==i._monthSelectedInYearView(e)&&t),"selectedChange"===l&&(t=!1!==i._goToDateInView(e,"month")&&t),t}),ak,ik)),Di(1,1097728,[[2,4]],0,Gy,[Nl,[2,ev],[2,lv],[2,bb]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"})],(function(n,l){var e=l.component;n(l,1,0,e.activeDate,e.selected,e.minDate,e.maxDate,e.dateFilter)}),null)}function jC(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-multi-year-view",[],null,[[null,"activeDateChange"],[null,"yearSelected"],[null,"selectedChange"]],(function(n,l,e){var t=!0,i=n.component;return"activeDateChange"===l&&(t=!1!==(i.activeDate=e)&&t),"yearSelected"===l&&(t=!1!==i._yearSelectedInMultiYearView(e)&&t),"selectedChange"===l&&(t=!1!==i._goToDateInView(e,"year")&&t),t}),rk,ok)),Di(1,1097728,[[3,4]],0,Uy,[Nl,[2,lv],[2,bb]],{activeDate:[0,"activeDate"],selected:[1,"selected"],minDate:[2,"minDate"],maxDate:[3,"maxDate"],dateFilter:[4,"dateFilter"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"})],(function(n,l){var e=l.component;n(l,1,0,e.activeDate,e.selected,e.minDate,e.maxDate,e.dateFilter)}),null)}function VC(n){return jo(2,[ko(671088640,1,{monthView:0}),ko(671088640,2,{yearView:0}),ko(671088640,3,{multiYearView:0}),(n()(),vo(16777216,null,null,1,null,LC)),Di(4,212992,null,0,gu,[Se,lt],{portal:[0,"portal"]},null),(n()(),_o(5,0,null,null,8,"div",[["cdkMonitorSubtreeFocus",""],["class","mat-calendar-content"],["tabindex","-1"]],null,null,null,null,null)),Di(6,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),Di(7,147456,null,0,zb,[Pe,qb],null,null),(n()(),vo(16777216,null,null,1,null,RC)),Di(9,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,NC)),Di(11,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,jC)),Di(13,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,l){var e=l.component;n(l,4,0,e._calendarHeaderPortal),n(l,6,0,e.currentView),n(l,9,0,"month"),n(l,11,0,"year"),n(l,13,0,"multi-year")}),null)}var qC=yt({encapsulation:2,styles:[".mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.71429%;padding-right:4.71429%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:0;cursor:pointer}.mat-calendar-body-disabled{cursor:default}.mat-calendar-body-cell-content{position:absolute;top:5%;left:5%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}@media (-ms-high-contrast:active){.mat-calendar-body-cell-content{border:none}}@media (-ms-high-contrast:active){.mat-calendar-body-selected,.mat-datepicker-popup:not(:empty){outline:solid 1px}.mat-calendar-body-today{outline:dotted 1px}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}}[dir=rtl] .mat-calendar-body-label{text-align:right}"],data:{}});function zC(n){return jo(0,[(n()(),_o(0,0,null,null,2,"tr",[["aria-hidden","true"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"td",[["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.numCols,e._cellPadding,e._cellPadding),n(l,2,0,e.label)}))}function UC(n){return jo(0,[(n()(),_o(0,0,null,null,1,"td",[["aria-hidden","true"],["class","mat-calendar-body-label"]],[[1,"colspan",0],[4,"paddingTop",null],[4,"paddingBottom",null]],null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e._firstRowOffset,e._cellPadding,e._cellPadding),n(l,1,0,e._firstRowOffset>=e.labelMinRequiredCells?e.label:"")}))}function BC(n){return jo(0,[(n()(),_o(0,0,null,null,4,"td",[["class","mat-calendar-body-cell"],["role","button"]],[[8,"tabIndex",0],[2,"mat-calendar-body-disabled",null],[2,"mat-calendar-body-active",null],[1,"aria-label",0],[1,"aria-disabled",0],[1,"aria-selected",0],[4,"width",null],[4,"paddingTop",null],[4,"paddingBottom",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component._cellClicked(n.context.$implicit)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(n()(),_o(3,0,null,null,1,"div",[["class","mat-calendar-body-cell-content"]],[[2,"mat-calendar-body-selected",null],[2,"mat-calendar-body-today",null]],null,null,null,null)),(n()(),Lo(4,null,["",""]))],(function(n,l){n(l,2,0,"mat-calendar-body-cell",l.context.$implicit.cssClasses)}),(function(n,l){var e=l.component;n(l,0,0,e._isActiveCell(l.parent.context.index,l.context.index)?0:-1,!l.context.$implicit.enabled,e._isActiveCell(l.parent.context.index,l.context.index),l.context.$implicit.ariaLabel,!l.context.$implicit.enabled||null,e.selectedValue===l.context.$implicit.value,e._cellWidth,e._cellPadding,e._cellPadding),n(l,3,0,e.selectedValue===l.context.$implicit.value,e.todayValue===l.context.$implicit.value),n(l,4,0,l.context.$implicit.displayValue)}))}function $C(n){return jo(0,[(n()(),_o(0,0,null,null,4,"tr",[["role","row"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,UC)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,BC)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,2,0,0===l.context.index&&l.component._firstRowOffset),n(l,4,0,l.context.$implicit)}),null)}function HC(n){return jo(2,[(n()(),vo(16777216,null,null,1,null,zC)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$C)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e._firstRowOffset<e.labelMinRequiredCells),n(l,3,0,e.rows)}),null)}var GC=yt({encapsulation:2,styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-calendar{min-width:250px;min-height:312px;max-width:750px;max-height:788px}@media all and (orientation:landscape){.mat-datepicker-content-touch .mat-calendar{width:64vh;height:80vh}}@media all and (orientation:portrait){.mat-datepicker-content-touch .mat-calendar{width:80vw;height:100vw}}"],data:{animation:[{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(1, 0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:4,styles:{type:6,styles:{opacity:1,transform:"scale(1, 1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms linear"},options:null}],options:{}},{type:7,name:"fadeInCalendar",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:0,name:"enter",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"},options:null}],options:{}}]}});function WC(n){return jo(2,[ko(671088640,1,{_calendar:0}),(n()(),_o(1,0,null,null,4,"mat-calendar",[["cdkTrapFocus",""],["class","mat-calendar"]],[[8,"id",0],[24,"@fadeInCalendar",0]],[[null,"selectedChange"],[null,"yearSelected"],[null,"monthSelected"],[null,"_userSelection"]],(function(n,l,e){var t=!0,i=n.component;return"selectedChange"===l&&(t=!1!==i.datepicker.select(e)&&t),"yearSelected"===l&&(t=!1!==i.datepicker._selectYear(e)&&t),"monthSelected"===l&&(t=!1!==i.datepicker._selectMonth(e)&&t),"_userSelection"===l&&(t=!1!==i.datepicker.close()&&t),t}),VC,TC)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(3,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Di(4,1458176,null,0,Ob,[Pe,Eb,qs],{enabled:[0,"enabled"]},null),Di(5,10141696,[[1,4]],0,Ky,[Ny,[2,lv],[2,ev],Nl],{headerComponent:[0,"headerComponent"],startAt:[1,"startAt"],startView:[2,"startView"],selected:[3,"selected"],minDate:[4,"minDate"],maxDate:[5,"maxDate"],dateFilter:[6,"dateFilter"],dateClass:[7,"dateClass"]},{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",_userSelection:"_userSelection"})],(function(n,l){var e=l.component;n(l,3,0,e.datepicker.panelClass),n(l,4,0,""),n(l,5,0,e.datepicker.calendarHeaderComponent,e.datepicker.startAt,e.datepicker.startView,e.datepicker._selected,e.datepicker._minDate,e.datepicker._maxDate,e.datepicker._dateFilter,e.datepicker.dateClass)}),(function(n,l){n(l,1,0,l.component.datepicker.id,"enter")}))}function KC(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-datepicker-content",[["class","mat-datepicker-content"]],[[40,"@transformPanel",0],[2,"mat-datepicker-content-touch",null]],null,null,WC,GC)),Di(1,4243456,null,0,Qy,[Pe],null,null)],null,(function(n,l){n(l,0,0,"enter",bi(l,1).datepicker.touchUi)}))}var YC=oi("mat-datepicker-content",Qy,KC,{color:"color"},{},[]),JC=yt({encapsulation:2,styles:[],data:{}});function ZC(n){return jo(2,[],null,null)}var QC=yt({encapsulation:2,styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}"],data:{}});function XC(n){return jo(0,[(n()(),_o(0,0,null,null,1,":svg:svg",[["class","mat-datepicker-toggle-default-icon"],["fill","currentColor"],["focusable","false"],["height","24px"],["viewBox","0 0 24 24"],["width","24px"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,":svg:path",[["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],null,null,null,null,null))],null,null)}function nk(n){return jo(2,[ko(671088640,1,{_button:0}),(n()(),_o(1,0,null,null,4,"button",[["mat-icon-button",""],["type","button"]],[[1,"aria-haspopup",0],[1,"aria-label",0],[1,"tabindex",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component._open(e)&&t),t}),PC,MC)),Di(2,180224,[[1,4],["button",4]],0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],disableRipple:[1,"disableRipple"]},null),(n()(),vo(16777216,null,0,1,null,XC)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Po(0,0)],(function(n,l){var e=l.component;n(l,2,0,e.disabled,e.disableRipple),n(l,4,0,!e._customIcon)}),(function(n,l){var e=l.component;n(l,1,0,e.datepicker?"dialog":null,e._intl.openCalendarLabel,e.disabled?-1:e.tabIndex,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode)}))}var lk=yt({encapsulation:2,styles:[],data:{}});function ek(n){return jo(0,[(n()(),_o(0,0,null,null,1,"th",[],[[1,"aria-label",0]],null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,0,0,l.context.$implicit.long),n(l,1,0,l.context.$implicit.narrow)}))}function tk(n){return jo(2,[ko(671088640,1,{_matCalendarBody:0}),(n()(),_o(1,0,null,null,8,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"tr",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ek)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(6,0,null,null,1,"tr",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,0,"th",[["aria-hidden","true"],["class","mat-calendar-table-header-divider"],["colspan","7"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"selectedValueChange"===l&&(t=!1!==i._dateSelected(e)&&t),"keydown"===l&&(t=!1!==i._handleCalendarBodyKeydown(e)&&t),t}),HC,qC)),Di(9,573440,[[1,4]],0,Vy,[Pe,La],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],activeCell:[5,"activeCell"]},{selectedValueChange:"selectedValueChange"})],(function(n,l){var e=l.component;n(l,5,0,e._weekdays),n(l,9,0,e._monthLabel,e._weeks,e._todayDate,e._selectedDate,3,e._dateAdapter.getDate(e.activeDate)-1)}),null)}var ik=yt({encapsulation:2,styles:[],data:{}});function ak(n){return jo(2,[ko(671088640,1,{_matCalendarBody:0}),(n()(),_o(1,0,null,null,5,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"tr",[],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"selectedValueChange"===l&&(t=!1!==i._monthSelected(e)&&t),"keydown"===l&&(t=!1!==i._handleCalendarBodyKeydown(e)&&t),t}),HC,qC)),Di(6,573440,[[1,4]],0,Vy,[Pe,La],{label:[0,"label"],rows:[1,"rows"],todayValue:[2,"todayValue"],selectedValue:[3,"selectedValue"],labelMinRequiredCells:[4,"labelMinRequiredCells"],numCols:[5,"numCols"],activeCell:[6,"activeCell"],cellAspectRatio:[7,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],(function(n,l){var e=l.component;n(l,6,0,e._yearLabel,e._months,e._todayMonth,e._selectedMonth,2,4,e._dateAdapter.getMonth(e.activeDate),4/7)}),null)}var ok=yt({encapsulation:2,styles:[],data:{}});function rk(n){return jo(2,[ko(671088640,1,{_matCalendarBody:0}),(n()(),_o(1,0,null,null,5,"table",[["class","mat-calendar-table"],["role","presentation"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"thead",[["class","mat-calendar-table-header"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"tr",[],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"th",[["class","mat-calendar-table-header-divider"],["colspan","4"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"tbody",[["aria-readonly","true"],["class","mat-calendar-body"],["mat-calendar-body",""],["role","grid"]],null,[[null,"selectedValueChange"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"selectedValueChange"===l&&(t=!1!==i._yearSelected(e)&&t),"keydown"===l&&(t=!1!==i._handleCalendarBodyKeydown(e)&&t),t}),HC,qC)),Di(6,573440,[[1,4]],0,Vy,[Pe,La],{rows:[0,"rows"],todayValue:[1,"todayValue"],selectedValue:[2,"selectedValue"],numCols:[3,"numCols"],activeCell:[4,"activeCell"],cellAspectRatio:[5,"cellAspectRatio"]},{selectedValueChange:"selectedValueChange"})],(function(n,l){var e=l.component;n(l,6,0,e._years,e._todayYear,e._selectedYear,4,e._getActiveCell(),4/7)}),null)}var uk=function(){function n(n,l){var e=this;this._overlayRef=l,this._afterDismissed=new M,this._afterOpened=new M,this._onAction=new M,this._dismissedByAction=!1,this.containerInstance=n,this.onAction().subscribe((function(){return e.dismiss()})),n._onExit.subscribe((function(){return e._finishDismiss()}))}return n.prototype.dismiss=function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)},n.prototype.dismissWithAction=function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete())},n.prototype.closeWithAction=function(){this.dismissWithAction()},n.prototype._dismissAfter=function(n){var l=this;this._durationTimeoutId=setTimeout((function(){return l.dismiss()}),n)},n.prototype._open=function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())},n.prototype._finishDismiss=function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1},n.prototype.afterDismissed=function(){return this._afterDismissed.asObservable()},n.prototype.afterOpened=function(){return this.containerInstance._onEnter},n.prototype.onAction=function(){return this._onAction.asObservable()},n}(),sk=new On("MatSnackBarData"),ck=function(){return function(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}}(),dk=function(){function n(n,l){this.snackBarRef=n,this.data=l}return n.prototype.action=function(){this.snackBarRef.dismissWithAction()},Object.defineProperty(n.prototype,"hasAction",{get:function(){return!!this.data.action},enumerable:!0,configurable:!0}),n}(),pk=function(n){function l(l,e,t,i){var a=n.call(this)||this;return a._ngZone=l,a._elementRef=e,a._changeDetectorRef=t,a.snackBarConfig=i,a._destroyed=!1,a._onExit=new M,a._onEnter=new M,a._animationState="void",a._role="assertive"!==i.politeness||i.announcementMessage?"off"===i.politeness?null:"status":"alert",a}return Object(t.__extends)(l,n),l.prototype.attachComponentPortal=function(n){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(n)},l.prototype.attachTemplatePortal=function(n){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(n)},l.prototype.onAnimationEnd=function(n){var l=n.toState;if(("void"===l&&"void"!==n.fromState||"hidden"===l)&&this._completeExit(),"visible"===l){var e=this._onEnter;this._ngZone.run((function(){e.next(),e.complete()}))}},l.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},l.prototype.exit=function(){return this._animationState="hidden",this._onExit},l.prototype.ngOnDestroy=function(){this._destroyed=!0,this._completeExit()},l.prototype._completeExit=function(){var n=this;this._ngZone.onMicrotaskEmpty.asObservable().pipe(_c(1)).subscribe((function(){n._onExit.next(),n._onExit.complete()}))},l.prototype._applySnackBarClasses=function(){var n=this._elementRef.nativeElement,l=this.snackBarConfig.panelClass;l&&(Array.isArray(l)?l.forEach((function(l){return n.classList.add(l)})):n.classList.add(l)),"center"===this.snackBarConfig.horizontalPosition&&n.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&n.classList.add("mat-snack-bar-top")},l.prototype._assertNotAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach snack bar content after content is already attached")},l}(pu),mk=function(){return function(){}}(),fk=new On("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new ck}}),hk=function(){function n(n,l,e,t,i,a){this._overlay=n,this._live=l,this._injector=e,this._breakpointObserver=t,this._parentSnackBar=i,this._defaultConfig=a,this._snackBarRefAtThisLevel=null}return Object.defineProperty(n.prototype,"_openedSnackBarRef",{get:function(){var n=this._parentSnackBar;return n?n._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(n){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=n:this._snackBarRefAtThisLevel=n},enumerable:!0,configurable:!0}),n.prototype.openFromComponent=function(n,l){return this._attach(n,l)},n.prototype.openFromTemplate=function(n,l){return this._attach(n,l)},n.prototype.open=function(n,l,e){void 0===l&&(l="");var i=Object(t.__assign)({},this._defaultConfig,e);return i.data={message:n,action:l},i.announcementMessage||(i.announcementMessage=n),this.openFromComponent(dk,i)},n.prototype.dismiss=function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()},n.prototype.ngOnDestroy=function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()},n.prototype._attachSnackBarContainer=function(n,l){var e=new vu(l&&l.viewContainerRef&&l.viewContainerRef.injector||this._injector,new WeakMap([[ck,l]])),t=new cu(pk,l.viewContainerRef,e),i=n.attach(t);return i.instance.snackBarConfig=l,i.instance},n.prototype._attach=function(n,l){var e=Object(t.__assign)({},new ck,this._defaultConfig,l),i=this._createOverlay(e),a=this._attachSnackBarContainer(i,e),o=new uk(a,i);if(n instanceof Xe){var r=new du(n,null,{$implicit:e.data,snackBarRef:o});o.instance=a.attachTemplatePortal(r)}else{var u=this._createInjector(e,o),s=(r=new cu(n,void 0,u),a.attachComponentPortal(r));o.instance=s.instance}return this._breakpointObserver.observe(jh.HandsetPortrait).pipe(Ph(i.detachments())).subscribe((function(n){var l=i.overlayElement.classList;n.matches?l.add("mat-snack-bar-handset"):l.remove("mat-snack-bar-handset")})),this._animateSnackBar(o,e),this._openedSnackBarRef=o,this._openedSnackBarRef},n.prototype._animateSnackBar=function(n,l){var e=this;n.afterDismissed().subscribe((function(){e._openedSnackBarRef==n&&(e._openedSnackBarRef=null),l.announcementMessage&&e._live.clear()})),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe((function(){n.containerInstance.enter()})),this._openedSnackBarRef.dismiss()):n.containerInstance.enter(),l.duration&&l.duration>0&&n.afterOpened().subscribe((function(){return n._dismissAfter(l.duration)})),l.announcementMessage&&this._live.announce(l.announcementMessage,l.politeness)},n.prototype._createOverlay=function(n){var l=new Ng;l.direction=n.direction;var e=this._overlay.position().global(),t="rtl"===n.direction,i="left"===n.horizontalPosition||"start"===n.horizontalPosition&&!t||"end"===n.horizontalPosition&&t,a=!i&&"center"!==n.horizontalPosition;return i?e.left("0"):a?e.right("0"):e.centerHorizontally(),"top"===n.verticalPosition?e.top("0"):e.bottom("0"),l.positionStrategy=e,this._overlay.create(l)},n.prototype._createInjector=function(n,l){return new vu(n&&n.viewContainerRef&&n.viewContainerRef.injector||this._injector,new WeakMap([[uk,l],[sk,n.data]]))},n.ngInjectableDef=yn({factory:function(){return new n(Bn(Zg),Bn(Rb),Bn(Tn),Bn(Rh),Bn(n,12),Bn(fk))},token:n,providedIn:mk}),n}(),gk=yt({encapsulation:2,styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}@media (-ms-high-contrast:active){.mat-snack-bar-container{border:solid 1px}}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"scale(0.8)",opacity:0},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"scale(1)",opacity:1},offset:null},options:void 0},{type:1,expr:"* => visible",animation:{type:4,styles:null,timings:"150ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void, * => hidden",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"75ms cubic-bezier(0.4, 0.0, 1, 1)"},options:null}],options:{}}]}});function bk(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function vk(n){return jo(0,[ko(402653184,1,{_portalOutlet:0}),(n()(),vo(16777216,null,null,1,null,bk)),Di(2,212992,[[1,4]],0,gu,[Se,lt],{portal:[0,"portal"]},null)],(function(n,l){n(l,2,0,"")}),null)}function _k(n){return jo(0,[(n()(),_o(0,0,null,null,1,"snack-bar-container",[["class","mat-snack-bar-container"]],[[1,"role",0],[40,"@state",0]],[["component","@state.done"]],(function(n,l,e){var t=!0;return"component:@state.done"===l&&(t=!1!==bi(n,1).onAnimationEnd(e)&&t),t}),vk,gk)),Di(1,180224,null,0,pk,[La,Pe,Nl,ck],null,null)],null,(function(n,l){n(l,0,0,bi(l,1)._role,bi(l,1)._animationState)}))}var yk=oi("snack-bar-container",pk,_k,{},{},[]),wk=yt({encapsulation:2,styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}"],data:{}});function xk(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","mat-simple-snackbar-action"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.action()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(3,0,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.data.action)}))}function Ck(n){return jo(2,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""])),(n()(),vo(16777216,null,null,1,null,xk)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,l.component.hasAction)}),(function(n,l){n(l,1,0,l.component.data.message)}))}function kk(n){return jo(0,[(n()(),_o(0,0,null,null,1,"simple-snack-bar",[["class","mat-simple-snackbar"]],null,null,null,Ck,wk)),Di(1,49152,null,0,dk,[uk,sk],null,null)],null,null)}var Sk=oi("simple-snack-bar",dk,kk,{},{},[]),Ik=function(){return function(){this.data=null,this.hasBackdrop=!0,this.disableClose=!1,this.ariaLabel=null,this.closeOnNavigation=!0,this.autoFocus=!1,this.restoreFocus=!0}}(),Ak=function(n){function l(l,e,t,i,a,o){var r=n.call(this)||this;return r._elementRef=l,r._changeDetectorRef=e,r._focusTrapFactory=t,r.bottomSheetConfig=o,r._animationState="void",r._animationStateChanged=new la,r._elementFocusedBeforeOpened=null,r._document=a,r._breakpointSubscription=i.observe([jh.Medium,jh.Large,jh.XLarge]).subscribe((function(){r._toggleClass("mat-bottom-sheet-container-medium",i.isMatched(jh.Medium)),r._toggleClass("mat-bottom-sheet-container-large",i.isMatched(jh.Large)),r._toggleClass("mat-bottom-sheet-container-xlarge",i.isMatched(jh.XLarge))})),r}return Object(t.__extends)(l,n),l.prototype.attachComponentPortal=function(n){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachComponentPortal(n)},l.prototype.attachTemplatePortal=function(n){return this._validatePortalAttached(),this._setPanelClass(),this._savePreviouslyFocusedElement(),this._portalOutlet.attachTemplatePortal(n)},l.prototype.enter=function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges())},l.prototype.exit=function(){this._destroyed||(this._animationState="hidden",this._changeDetectorRef.markForCheck())},l.prototype.ngOnDestroy=function(){this._breakpointSubscription.unsubscribe(),this._destroyed=!0},l.prototype._onAnimationDone=function(n){"hidden"===n.toState?this._restoreFocus():"visible"===n.toState&&this._trapFocus(),this._animationStateChanged.emit(n)},l.prototype._onAnimationStart=function(n){this._animationStateChanged.emit(n)},l.prototype._toggleClass=function(n,l){var e=this._elementRef.nativeElement.classList;l?e.add(n):e.remove(n)},l.prototype._validatePortalAttached=function(){if(this._portalOutlet.hasAttached())throw Error("Attempting to attach bottom sheet content after content is already attached")},l.prototype._setPanelClass=function(){var n=this._elementRef.nativeElement,l=this.bottomSheetConfig.panelClass;Array.isArray(l)?l.forEach((function(l){return n.classList.add(l)})):l&&n.classList.add(l)},l.prototype._trapFocus=function(){var n=this._elementRef.nativeElement;if(this._focusTrap||(this._focusTrap=this._focusTrapFactory.create(n)),this.bottomSheetConfig.autoFocus)this._focusTrap.focusInitialElementWhenReady();else{var l=this._document.activeElement;l===n||n.contains(l)||n.focus()}},l.prototype._restoreFocus=function(){var n=this._elementFocusedBeforeOpened;this.bottomSheetConfig.restoreFocus&&n&&"function"==typeof n.focus&&n.focus(),this._focusTrap&&this._focusTrap.destroy()},l.prototype._savePreviouslyFocusedElement=function(){var n=this;this._elementFocusedBeforeOpened=this._document.activeElement,this._elementRef.nativeElement.focus&&Promise.resolve().then((function(){return n._elementRef.nativeElement.focus()}))},l}(pu),Mk=function(){return function(){}}(),Pk=yt({encapsulation:2,styles:[".mat-bottom-sheet-container{padding:8px 16px;min-width:100vw;box-sizing:border-box;display:block;outline:0;max-height:80vh;overflow:auto}@media (-ms-high-contrast:active){.mat-bottom-sheet-container{outline:1px solid}}.mat-bottom-sheet-container-large,.mat-bottom-sheet-container-medium,.mat-bottom-sheet-container-xlarge{border-top-left-radius:4px;border-top-right-radius:4px}.mat-bottom-sheet-container-medium{min-width:384px;max-width:calc(100vw - 128px)}.mat-bottom-sheet-container-large{min-width:512px;max-width:calc(100vw - 256px)}.mat-bottom-sheet-container-xlarge{min-width:576px;max-width:calc(100vw - 384px)}"],data:{animation:[{type:7,name:"state",definitions:[{type:0,name:"void, hidden",styles:{type:6,styles:{transform:"translateY(100%)"},offset:null},options:void 0},{type:0,name:"visible",styles:{type:6,styles:{transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"visible => void, visible => hidden",animation:{type:4,styles:null,timings:"375ms cubic-bezier(0.4,0.0,1,1)"},options:null},{type:1,expr:"void => visible",animation:{type:4,styles:null,timings:"195ms cubic-bezier(0.0,0.0,0.2,1)"},options:null}],options:{}}]}});function Dk(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function Fk(n){return jo(2,[ko(402653184,1,{_portalOutlet:0}),(n()(),vo(16777216,null,null,1,null,Dk)),Di(2,212992,[[1,4]],0,gu,[Se,lt],{portal:[0,"portal"]},null)],(function(n,l){n(l,2,0,"")}),null)}function Ek(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-bottom-sheet-container",[["aria-modal","true"],["class","mat-bottom-sheet-container"],["role","dialog"],["tabindex","-1"]],[[1,"aria-label",0],[40,"@state",0]],[["component","@state.start"],["component","@state.done"]],(function(n,l,e){var t=!0;return"component:@state.start"===l&&(t=!1!==bi(n,1)._onAnimationStart(e)&&t),"component:@state.done"===l&&(t=!1!==bi(n,1)._onAnimationDone(e)&&t),t}),Fk,Pk)),Di(1,180224,null,0,Ak,[Pe,Nl,Eb,Rh,[2,qs],Ik],null,null)],null,(function(n,l){n(l,0,0,null==bi(l,1).bottomSheetConfig?null:bi(l,1).bottomSheetConfig.ariaLabel,bi(l,1)._animationState)}))}var Ok=oi("mat-bottom-sheet-container",Ak,Ek,{},{},[]),Tk=yt({encapsulation:0,styles:[[".notif-container[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding-top:25px;padding-bottom:25px;cursor:pointer}.notif-container-icon[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:50px;-webkit-box-pack:center;justify-content:center}.notif-container-content[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;-webkit-box-pack:center;justify-content:center}.notif-container-content-msg[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column} .mat-snack-bar-container.error-snackbar{color:#8e3e52;background:#fff;border:1px solid #8e3e52} .mat-snack-bar-container.success-snackbar{color:#135f7f;background:#fff;border:1px solid #135f7f}"]],data:{}});function Lk(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","notif-container"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dismiss()&&t),t}),null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","notif-container-icon"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),_o(3,0,null,null,3,"div",[["class","notif-container-content"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"div",[["class","notif-container-content-msg"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(6,0,null,null,0,"div",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,2,0,Wt(1,"fa fa-",e.data.icon," fa-2x")),n(l,5,0,e.data.url),n(l,6,0,e.data.message)}))}function Rk(n){return jo(0,[(n()(),_o(0,0,null,null,1,"custom-snackbar",[],null,null,null,Lk,Tk)),Di(1,49152,null,0,eu,[sk],null,null)],null,null)}var Nk=oi("custom-snackbar",eu,Rk,{},{},[]),jk=function(){return function(){}}(),Vk=function(){return function(){}}(),qk=function(){function n(n){var l=this;this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?function(){l.headers=new Map,n.split("\n").forEach((function(n){var e=n.indexOf(":");if(e>0){var t=n.slice(0,e),i=t.toLowerCase(),a=n.slice(e+1).trim();l.maybeSetNormalizedName(t,i),l.headers.has(i)?l.headers.get(i).push(a):l.headers.set(i,[a])}}))}:function(){l.headers=new Map,Object.keys(n).forEach((function(e){var t=n[e],i=e.toLowerCase();"string"==typeof t&&(t=[t]),t.length>0&&(l.headers.set(i,t),l.maybeSetNormalizedName(e,i))}))}:this.headers=new Map}return n.prototype.has=function(n){return this.init(),this.headers.has(n.toLowerCase())},n.prototype.get=function(n){this.init();var l=this.headers.get(n.toLowerCase());return l&&l.length>0?l[0]:null},n.prototype.keys=function(){return this.init(),Array.from(this.normalizedNames.values())},n.prototype.getAll=function(n){return this.init(),this.headers.get(n.toLowerCase())||null},n.prototype.append=function(n,l){return this.clone({name:n,value:l,op:"a"})},n.prototype.set=function(n,l){return this.clone({name:n,value:l,op:"s"})},n.prototype.delete=function(n,l){return this.clone({name:n,value:l,op:"d"})},n.prototype.maybeSetNormalizedName=function(n,l){this.normalizedNames.has(l)||this.normalizedNames.set(l,n)},n.prototype.init=function(){var l=this;this.lazyInit&&(this.lazyInit instanceof n?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(n){return l.applyUpdate(n)})),this.lazyUpdate=null))},n.prototype.copyFrom=function(n){var l=this;n.init(),Array.from(n.headers.keys()).forEach((function(e){l.headers.set(e,n.headers.get(e)),l.normalizedNames.set(e,n.normalizedNames.get(e))}))},n.prototype.clone=function(l){var e=new n;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof n?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([l]),e},n.prototype.applyUpdate=function(n){var l=n.name.toLowerCase();switch(n.op){case"a":case"s":var e=n.value;if("string"==typeof e&&(e=[e]),0===e.length)return;this.maybeSetNormalizedName(n.name,l);var i=("a"===n.op?this.headers.get(l):void 0)||[];i.push.apply(i,Object(t.__spread)(e)),this.headers.set(l,i);break;case"d":var a=n.value;if(a){var o=this.headers.get(l);if(!o)return;0===(o=o.filter((function(n){return-1===a.indexOf(n)}))).length?(this.headers.delete(l),this.normalizedNames.delete(l)):this.headers.set(l,o)}else this.headers.delete(l),this.normalizedNames.delete(l)}},n.prototype.forEach=function(n){var l=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(e){return n(l.normalizedNames.get(e),l.headers.get(e))}))},n}(),zk=function(){function n(){}return n.prototype.encodeKey=function(n){return Uk(n)},n.prototype.encodeValue=function(n){return Uk(n)},n.prototype.decodeKey=function(n){return decodeURIComponent(n)},n.prototype.decodeValue=function(n){return decodeURIComponent(n)},n}();function Uk(n){return encodeURIComponent(n).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Bk=function(){function n(n){var l,e,i,a=this;if(void 0===n&&(n={}),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new zk,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(l=n.fromString,e=this.encoder,i=new Map,l.length>0&&l.split("&").forEach((function(n){var l=n.indexOf("="),a=Object(t.__read)(-1==l?[e.decodeKey(n),""]:[e.decodeKey(n.slice(0,l)),e.decodeValue(n.slice(l+1))],2),o=a[0],r=a[1],u=i.get(o)||[];u.push(r),i.set(o,u)})),i)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(l){var e=n.fromObject[l];a.map.set(l,Array.isArray(e)?e:[e])}))):this.map=null}return n.prototype.has=function(n){return this.init(),this.map.has(n)},n.prototype.get=function(n){this.init();var l=this.map.get(n);return l?l[0]:null},n.prototype.getAll=function(n){return this.init(),this.map.get(n)||null},n.prototype.keys=function(){return this.init(),Array.from(this.map.keys())},n.prototype.append=function(n,l){return this.clone({param:n,value:l,op:"a"})},n.prototype.set=function(n,l){return this.clone({param:n,value:l,op:"s"})},n.prototype.delete=function(n,l){return this.clone({param:n,value:l,op:"d"})},n.prototype.toString=function(){var n=this;return this.init(),this.keys().map((function(l){var e=n.encoder.encodeKey(l);return n.map.get(l).map((function(l){return e+"="+n.encoder.encodeValue(l)})).join("&")})).join("&")},n.prototype.clone=function(l){var e=new n({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat([l]),e},n.prototype.init=function(){var n=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(l){return n.map.set(l,n.cloneFrom.map.get(l))})),this.updates.forEach((function(l){switch(l.op){case"a":case"s":var e=("a"===l.op?n.map.get(l.param):void 0)||[];e.push(l.value),n.map.set(l.param,e);break;case"d":if(void 0===l.value){n.map.delete(l.param);break}var t=n.map.get(l.param)||[],i=t.indexOf(l.value);-1!==i&&t.splice(i,1),t.length>0?n.map.set(l.param,t):n.map.delete(l.param)}})),this.cloneFrom=this.updates=null)},n}();function $k(n){return"undefined"!=typeof ArrayBuffer&&n instanceof ArrayBuffer}function Hk(n){return"undefined"!=typeof Blob&&n instanceof Blob}function Gk(n){return"undefined"!=typeof FormData&&n instanceof FormData}var Wk=function(){function n(n,l,e,t){var i;if(this.url=l,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function(n){switch(n){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||t?(this.body=void 0!==e?e:null,i=t):i=e,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new qk),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=l;else{var o=l.indexOf("?");this.urlWithParams=l+(-1===o?"?":o<l.length-1?"&":"")+a}}else this.params=new Bk,this.urlWithParams=l}return n.prototype.serializeBody=function(){return null===this.body?null:$k(this.body)||Hk(this.body)||Gk(this.body)||"string"==typeof this.body?this.body:this.body instanceof Bk?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()},n.prototype.detectContentTypeHeader=function(){return null===this.body?null:Gk(this.body)?null:Hk(this.body)?this.body.type||null:$k(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Bk?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null},n.prototype.clone=function(l){void 0===l&&(l={});var e=l.method||this.method,t=l.url||this.url,i=l.responseType||this.responseType,a=void 0!==l.body?l.body:this.body,o=void 0!==l.withCredentials?l.withCredentials:this.withCredentials,r=void 0!==l.reportProgress?l.reportProgress:this.reportProgress,u=l.headers||this.headers,s=l.params||this.params;return void 0!==l.setHeaders&&(u=Object.keys(l.setHeaders).reduce((function(n,e){return n.set(e,l.setHeaders[e])}),u)),l.setParams&&(s=Object.keys(l.setParams).reduce((function(n,e){return n.set(e,l.setParams[e])}),s)),new n(e,t,a,{params:s,headers:u,reportProgress:r,responseType:i,withCredentials:o})},n}(),Kk=function(n){return n[n.Sent=0]="Sent",n[n.UploadProgress=1]="UploadProgress",n[n.ResponseHeader=2]="ResponseHeader",n[n.DownloadProgress=3]="DownloadProgress",n[n.Response=4]="Response",n[n.User=5]="User",n}({}),Yk=function(){return function(n,l,e){void 0===l&&(l=200),void 0===e&&(e="OK"),this.headers=n.headers||new qk,this.status=void 0!==n.status?n.status:l,this.statusText=n.statusText||e,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}(),Jk=function(n){function l(l){void 0===l&&(l={});var e=n.call(this,l)||this;return e.type=Kk.ResponseHeader,e}return Object(t.__extends)(l,n),l.prototype.clone=function(n){return void 0===n&&(n={}),new l({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},l}(Yk),Zk=function(n){function l(l){void 0===l&&(l={});var e=n.call(this,l)||this;return e.type=Kk.Response,e.body=void 0!==l.body?l.body:null,e}return Object(t.__extends)(l,n),l.prototype.clone=function(n){return void 0===n&&(n={}),new l({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})},l}(Yk),Qk=function(n){function l(l){var e=n.call(this,l,0,"Unknown Error")||this;return e.name="HttpErrorResponse",e.ok=!1,e.message=e.status>=200&&e.status<300?"Http failure during parsing for "+(l.url||"(unknown url)"):"Http failure response for "+(l.url||"(unknown url)")+": "+l.status+" "+l.statusText,e.error=l.error||null,e}return Object(t.__extends)(l,n),l}(Yk);function Xk(n,l){return{body:l,headers:n.headers,observe:n.observe,params:n.params,reportProgress:n.reportProgress,responseType:n.responseType,withCredentials:n.withCredentials}}var nS=function(){function n(n){this.handler=n}return n.prototype.request=function(n,l,e){var t,i=this;if(void 0===e&&(e={}),n instanceof Wk)t=n;else{var a;a=e.headers instanceof qk?e.headers:new qk(e.headers);var o=void 0;e.params&&(o=e.params instanceof Bk?e.params:new Bk({fromObject:e.params})),t=new Wk(n,l,void 0!==e.body?e.body:null,{headers:a,params:o,reportProgress:e.reportProgress,responseType:e.responseType||"json",withCredentials:e.withCredentials})}var r=lu(t).pipe(Oc((function(n){return i.handler.handle(n)})));if(n instanceof Wk||"events"===e.observe)return r;var u=r.pipe(tc((function(n){return n instanceof Zk})));switch(e.observe||"body"){case"body":switch(t.responseType){case"arraybuffer":return u.pipe(q((function(n){if(null!==n.body&&!(n.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return n.body})));case"blob":return u.pipe(q((function(n){if(null!==n.body&&!(n.body instanceof Blob))throw new Error("Response is not a Blob.");return n.body})));case"text":return u.pipe(q((function(n){if(null!==n.body&&"string"!=typeof n.body)throw new Error("Response is not a string.");return n.body})));case"json":default:return u.pipe(q((function(n){return n.body})))}case"response":return u;default:throw new Error("Unreachable: unhandled observe type "+e.observe+"}")}},n.prototype.delete=function(n,l){return void 0===l&&(l={}),this.request("DELETE",n,l)},n.prototype.get=function(n,l){return void 0===l&&(l={}),this.request("GET",n,l)},n.prototype.head=function(n,l){return void 0===l&&(l={}),this.request("HEAD",n,l)},n.prototype.jsonp=function(n,l){return this.request("JSONP",n,{params:(new Bk).append(l,"JSONP_CALLBACK"),observe:"body",responseType:"json"})},n.prototype.options=function(n,l){return void 0===l&&(l={}),this.request("OPTIONS",n,l)},n.prototype.patch=function(n,l,e){return void 0===e&&(e={}),this.request("PATCH",n,Xk(e,l))},n.prototype.post=function(n,l,e){return void 0===e&&(e={}),this.request("POST",n,Xk(e,l))},n.prototype.put=function(n,l,e){return void 0===e&&(e={}),this.request("PUT",n,Xk(e,l))},n}(),lS=function(){function n(n,l){this.next=n,this.interceptor=l}return n.prototype.handle=function(n){return this.interceptor.intercept(n,this.next)},n}(),eS=new On("HTTP_INTERCEPTORS"),tS=function(){function n(){}return n.prototype.intercept=function(n,l){return l.handle(n)},n}(),iS=/^\)\]\}',?\n/,aS=function(){return function(){}}(),oS=function(){function n(){}return n.prototype.build=function(){return new XMLHttpRequest},n}(),rS=function(){function n(n){this.xhrFactory=n}return n.prototype.handle=function(n){var l=this;if("JSONP"===n.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new x((function(e){var t=l.xhrFactory.build();if(t.open(n.method,n.urlWithParams),n.withCredentials&&(t.withCredentials=!0),n.headers.forEach((function(n,l){return t.setRequestHeader(n,l.join(","))})),n.headers.has("Accept")||t.setRequestHeader("Accept","application/json, text/plain, */*"),!n.headers.has("Content-Type")){var i=n.detectContentTypeHeader();null!==i&&t.setRequestHeader("Content-Type",i)}if(n.responseType){var a=n.responseType.toLowerCase();t.responseType="json"!==a?a:"text"}var o=n.serializeBody(),r=null,u=function(){if(null!==r)return r;var l=1223===t.status?204:t.status,e=t.statusText||"OK",i=new qk(t.getAllResponseHeaders()),a=function(n){return"responseURL"in n&&n.responseURL?n.responseURL:/^X-Request-URL:/m.test(n.getAllResponseHeaders())?n.getResponseHeader("X-Request-URL"):null}(t)||n.url;return r=new Jk({headers:i,status:l,statusText:e,url:a})},s=function(){var l=u(),i=l.headers,a=l.status,o=l.statusText,r=l.url,s=null;204!==a&&(s=void 0===t.response?t.responseText:t.response),0===a&&(a=s?200:0);var c=a>=200&&a<300;if("json"===n.responseType&&"string"==typeof s){var d=s;s=s.replace(iS,"");try{s=""!==s?JSON.parse(s):null}catch(p){s=d,c&&(c=!1,s={error:p,text:s})}}c?(e.next(new Zk({body:s,headers:i,status:a,statusText:o,url:r||void 0})),e.complete()):e.error(new Qk({error:s,headers:i,status:a,statusText:o,url:r||void 0}))},c=function(n){var l=u().url,i=new Qk({error:n,status:t.status||0,statusText:t.statusText||"Unknown Error",url:l||void 0});e.error(i)},d=!1,p=function(l){d||(e.next(u()),d=!0);var i={type:Kk.DownloadProgress,loaded:l.loaded};l.lengthComputable&&(i.total=l.total),"text"===n.responseType&&t.responseText&&(i.partialText=t.responseText),e.next(i)},m=function(n){var l={type:Kk.UploadProgress,loaded:n.loaded};n.lengthComputable&&(l.total=n.total),e.next(l)};return t.addEventListener("load",s),t.addEventListener("error",c),n.reportProgress&&(t.addEventListener("progress",p),null!==o&&t.upload&&t.upload.addEventListener("progress",m)),t.send(o),e.next({type:Kk.Sent}),function(){t.removeEventListener("error",c),t.removeEventListener("load",s),n.reportProgress&&(t.removeEventListener("progress",p),null!==o&&t.upload&&t.upload.removeEventListener("progress",m)),t.abort()}}))},n}(),uS=new On("XSRF_COOKIE_NAME"),sS=new On("XSRF_HEADER_NAME"),cS=function(){return function(){}}(),dS=function(){function n(n,l,e){this.doc=n,this.platform=l,this.cookieName=e,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return n.prototype.getToken=function(){if("server"===this.platform)return null;var n=this.doc.cookie||"";return n!==this.lastCookieString&&(this.parseCount++,this.lastToken=ss(n,this.cookieName),this.lastCookieString=n),this.lastToken},n}(),pS=function(){function n(n,l){this.tokenService=n,this.headerName=l}return n.prototype.intercept=function(n,l){var e=n.url.toLowerCase();if("GET"===n.method||"HEAD"===n.method||e.startsWith("http://")||e.startsWith("https://"))return l.handle(n);var t=this.tokenService.getToken();return null===t||n.headers.has(this.headerName)||(n=n.clone({headers:n.headers.set(this.headerName,t)})),l.handle(n)},n}(),mS=function(){function n(n,l){this.backend=n,this.injector=l,this.chain=null}return n.prototype.handle=function(n){if(null===this.chain){var l=this.injector.get(eS,[]);this.chain=l.reduceRight((function(n,l){return new lS(n,l)}),this.backend)}return this.chain.handle(n)},n}(),fS=function(){function n(){}var l;return l=n,n.disable=function(){return{ngModule:l,providers:[{provide:pS,useClass:tS}]}},n.withOptions=function(n){return void 0===n&&(n={}),{ngModule:l,providers:[n.cookieName?{provide:uS,useValue:n.cookieName}:[],n.headerName?{provide:sS,useValue:n.headerName}:[]]}},n}(),hS=function(){return function(){}}();function gS(n){return Error('Unable to find icon with the name "'+n+'"')}function bS(n){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was \""+n+'".')}function vS(n){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was \""+n+'".')}var _S=function(){return function(n,l){this.options=l,n.nodeName?this.svgElement=n:this.url=n}}(),yS=function(){function n(n,l,e,t){this._httpClient=n,this._sanitizer=l,this._errorHandler=t,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._defaultFontSetClass="material-icons",this._document=e}return n.prototype.addSvgIcon=function(n,l,e){return this.addSvgIconInNamespace("",n,l,e)},n.prototype.addSvgIconLiteral=function(n,l,e){return this.addSvgIconLiteralInNamespace("",n,l,e)},n.prototype.addSvgIconInNamespace=function(n,l,e,t){return this._addSvgIconConfig(n,l,new _S(e,t))},n.prototype.addSvgIconLiteralInNamespace=function(n,l,e,t){var i=this._sanitizer.sanitize(Fl.HTML,e);if(!i)throw vS(e);var a=this._createSvgElementForSingleIcon(i,t);return this._addSvgIconConfig(n,l,new _S(a,t))},n.prototype.addSvgIconSet=function(n,l){return this.addSvgIconSetInNamespace("",n,l)},n.prototype.addSvgIconSetLiteral=function(n,l){return this.addSvgIconSetLiteralInNamespace("",n,l)},n.prototype.addSvgIconSetInNamespace=function(n,l,e){return this._addSvgIconSetConfig(n,new _S(l,e))},n.prototype.addSvgIconSetLiteralInNamespace=function(n,l,e){var t=this._sanitizer.sanitize(Fl.HTML,l);if(!t)throw vS(l);var i=this._svgElementFromString(t);return this._addSvgIconSetConfig(n,new _S(i,e))},n.prototype.registerFontClassAlias=function(n,l){return void 0===l&&(l=n),this._fontCssClassesByAlias.set(n,l),this},n.prototype.classNameForFontAlias=function(n){return this._fontCssClassesByAlias.get(n)||n},n.prototype.setDefaultFontSetClass=function(n){return this._defaultFontSetClass=n,this},n.prototype.getDefaultFontSetClass=function(){return this._defaultFontSetClass},n.prototype.getSvgIconFromUrl=function(n){var l=this,e=this._sanitizer.sanitize(Fl.RESOURCE_URL,n);if(!e)throw bS(n);var t=this._cachedIconsByUrl.get(e);return t?lu(wS(t)):this._loadSvgIconFromConfig(new _S(n)).pipe(Yr((function(n){return l._cachedIconsByUrl.set(e,n)})),q((function(n){return wS(n)})))},n.prototype.getNamedSvgIcon=function(n,l){void 0===l&&(l="");var e=xS(l,n),t=this._svgIconConfigs.get(e);if(t)return this._getSvgFromConfig(t);var i=this._iconSetConfigs.get(l);return i?this._getSvgFromIconSetConfigs(n,i):ag(gS(e))},n.prototype.ngOnDestroy=function(){this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()},n.prototype._getSvgFromConfig=function(n){return n.svgElement?lu(wS(n.svgElement)):this._loadSvgIconFromConfig(n).pipe(Yr((function(l){return n.svgElement=l})),q((function(n){return wS(n)})))},n.prototype._getSvgFromIconSetConfigs=function(n,l){var e=this,t=this._extractIconWithNameFromAnySet(n,l);return t?lu(t):s_(l.filter((function(n){return!n.svgElement})).map((function(n){return e._loadSvgIconSetFromConfig(n).pipe(Qr((function(l){var t="Loading icon set URL: "+e._sanitizer.sanitize(Fl.RESOURCE_URL,n.url)+" failed: "+l.message;return e._errorHandler?e._errorHandler.handleError(new Error(t)):console.error(t),lu(null)})))}))).pipe(q((function(){var t=e._extractIconWithNameFromAnySet(n,l);if(!t)throw gS(n);return t})))},n.prototype._extractIconWithNameFromAnySet=function(n,l){for(var e=l.length-1;e>=0;e--){var t=l[e];if(t.svgElement){var i=this._extractSvgIconFromSet(t.svgElement,n,t.options);if(i)return i}}return null},n.prototype._loadSvgIconFromConfig=function(n){var l=this;return this._fetchUrl(n.url).pipe(q((function(e){return l._createSvgElementForSingleIcon(e,n.options)})))},n.prototype._loadSvgIconSetFromConfig=function(n){var l=this;return n.svgElement?lu(n.svgElement):this._fetchUrl(n.url).pipe(q((function(e){return n.svgElement||(n.svgElement=l._svgElementFromString(e)),n.svgElement})))},n.prototype._createSvgElementForSingleIcon=function(n,l){var e=this._svgElementFromString(n);return this._setSvgAttributes(e,l),e},n.prototype._extractSvgIconFromSet=function(n,l,e){var t=n.querySelector('[id="'+l+'"]');if(!t)return null;var i=t.cloneNode(!0);if(i.removeAttribute("id"),"svg"===i.nodeName.toLowerCase())return this._setSvgAttributes(i,e);if("symbol"===i.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(i),e);var a=this._svgElementFromString("<svg></svg>");return a.appendChild(i),this._setSvgAttributes(a,e)},n.prototype._svgElementFromString=function(n){var l=this._document.createElement("DIV");l.innerHTML=n;var e=l.querySelector("svg");if(!e)throw Error("<svg> tag not found");return e},n.prototype._toSvgElement=function(n){for(var l=this._svgElementFromString("<svg></svg>"),e=n.attributes,t=0;t<e.length;t++){var i=e[t],a=i.name;"id"!==a&&l.setAttribute(a,i.value)}for(t=0;t<n.childNodes.length;t++)n.childNodes[t].nodeType===this._document.ELEMENT_NODE&&l.appendChild(n.childNodes[t].cloneNode(!0));return l},n.prototype._setSvgAttributes=function(n,l){return n.setAttribute("fit",""),n.setAttribute("height","100%"),n.setAttribute("width","100%"),n.setAttribute("preserveAspectRatio","xMidYMid meet"),n.setAttribute("focusable","false"),l&&l.viewBox&&n.setAttribute("viewBox",l.viewBox),n},n.prototype._fetchUrl=function(n){var l=this;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==n)throw Error('Cannot fetch icon from URL "'+n+'".');var e=this._sanitizer.sanitize(Fl.RESOURCE_URL,n);if(!e)throw bS(n);var t=this._inProgressUrlFetches.get(e);if(t)return t;var i=this._httpClient.get(e,{responseType:"text"}).pipe(iu((function(){return l._inProgressUrlFetches.delete(e)})),on());return this._inProgressUrlFetches.set(e,i),i},n.prototype._addSvgIconConfig=function(n,l,e){return this._svgIconConfigs.set(xS(n,l),e),this},n.prototype._addSvgIconSetConfig=function(n,l){var e=this._iconSetConfigs.get(n);return e?e.push(l):this._iconSetConfigs.set(n,[l]),this},n.ngInjectableDef=yn({factory:function(){return new n(Bn(nS,8),Bn(Ed),Bn(qs,8),Bn(ol,8))},token:n,providedIn:"root"}),n}();function wS(n){return n.cloneNode(!0)}function xS(n,l){return n+":"+l}var CS=Kb(function(){return function(n){this._elementRef=n}}()),kS=new On("mat-icon-location",{providedIn:"root",factory:function(){var n=$n(qs),l=n?n.location:null;return{getPathname:function(){return l?l.pathname+l.search:""}}}}),SS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],IS=SS.map((function(n){return"["+n+"]"})).join(", "),AS=/^url\(['"]?#(.*?)['"]?\)$/,MS=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;return a._iconRegistry=e,a._location=i,a._inline=!1,t||l.nativeElement.setAttribute("aria-hidden","true"),a}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"inline",{get:function(){return this._inline},set:function(n){this._inline=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fontSet",{get:function(){return this._fontSet},set:function(n){this._fontSet=this._cleanupFontValue(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fontIcon",{get:function(){return this._fontIcon},set:function(n){this._fontIcon=this._cleanupFontValue(n)},enumerable:!0,configurable:!0}),l.prototype._splitIconName=function(n){if(!n)return["",""];var l=n.split(":");switch(l.length){case 1:return["",l[0]];case 2:return l;default:throw Error('Invalid icon name: "'+n+'"')}},l.prototype.ngOnChanges=function(n){var l=this,e=n.svgIcon;if(e)if(this.svgIcon){var t=this._splitIconName(this.svgIcon);this._iconRegistry.getNamedSvgIcon(t[1],t[0]).pipe(_c(1)).subscribe((function(n){return l._setSvgElement(n)}),(function(n){return console.log("Error retrieving icon: "+n.message)}))}else e.previousValue&&this._clearSvgElement();this._usingFontIcon()&&this._updateFontIconClasses()},l.prototype.ngOnInit=function(){this._usingFontIcon()&&this._updateFontIconClasses()},l.prototype.ngAfterViewChecked=function(){var n=this._elementsWithExternalReferences;if(n&&this._location&&n.size){var l=this._location.getPathname();l!==this._previousPath&&(this._previousPath=l,this._prependPathToReferences(l))}},l.prototype.ngOnDestroy=function(){this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()},l.prototype._usingFontIcon=function(){return!this.svgIcon},l.prototype._setSvgElement=function(n){this._clearSvgElement();for(var l=n.querySelectorAll("style"),e=0;e<l.length;e++)l[e].textContent+=" ";if(this._location){var t=this._location.getPathname();this._previousPath=t,this._cacheChildrenWithExternalReferences(n),this._prependPathToReferences(t)}this._elementRef.nativeElement.appendChild(n)},l.prototype._clearSvgElement=function(){var n=this._elementRef.nativeElement,l=n.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();l--;){var e=n.childNodes[l];1===e.nodeType&&"svg"!==e.nodeName.toLowerCase()||n.removeChild(e)}},l.prototype._updateFontIconClasses=function(){if(this._usingFontIcon()){var n=this._elementRef.nativeElement,l=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();l!=this._previousFontSetClass&&(this._previousFontSetClass&&n.classList.remove(this._previousFontSetClass),l&&n.classList.add(l),this._previousFontSetClass=l),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&n.classList.remove(this._previousFontIconClass),this.fontIcon&&n.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}},l.prototype._cleanupFontValue=function(n){return"string"==typeof n?n.trim().split(" ")[0]:n},l.prototype._prependPathToReferences=function(n){var l=this._elementsWithExternalReferences;l&&l.forEach((function(l,e){l.forEach((function(l){e.setAttribute(l.name,"url('"+n+"#"+l.value+"')")}))}))},l.prototype._cacheChildrenWithExternalReferences=function(n){for(var l=n.querySelectorAll(IS),e=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,t=function(n){SS.forEach((function(t){var i=l[n],a=i.getAttribute(t),o=a?a.match(AS):null;if(o){var r=e.get(i);r||e.set(i,r=[]),r.push({name:t,value:o[1]})}}))},i=0;i<l.length;i++)t(i)},l}(CS),PS=function(){return function(){}}(),DS=yt({encapsulation:2,styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1,1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}"],data:{}});function FS(n){return jo(2,[Po(null,0)],null,null)}var ES=0,OS=function(n){function l(l,e,t,i,a){var o=n.call(this)||this;if(o._ngZone=l,o._elementRef=e,o._ariaDescriber=t,o._renderer=i,o._animationMode=a,o._hasContent=!1,o._color="primary",o._overlap=!0,o.position="above after",o.size="medium",o._id=ES++,sl()){var r=e.nativeElement;if(r.nodeType!==r.ELEMENT_NODE)throw Error("matBadge must be attached to an element node.")}return o}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"color",{get:function(){return this._color},set:function(n){this._setColor(n),this._color=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"overlap",{get:function(){return this._overlap},set:function(n){this._overlap=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"description",{get:function(){return this._description},set:function(n){if(n!==this._description){var l=this._badgeElement;this._updateHostAriaDescription(n,this._description),this._description=n,l&&(n?l.setAttribute("aria-label",n):l.removeAttribute("aria-label"))}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hidden",{get:function(){return this._hidden},set:function(n){this._hidden=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.isAbove=function(){return-1===this.position.indexOf("below")},l.prototype.isAfter=function(){return-1===this.position.indexOf("before")},l.prototype.ngOnChanges=function(n){var l=n.content;if(l){var e=l.currentValue;this._hasContent=null!=e&&(""+e).trim().length>0,this._updateTextContent()}},l.prototype.ngOnDestroy=function(){var n=this._badgeElement;n&&(this.description&&this._ariaDescriber.removeDescription(n,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(n))},l.prototype.getBadgeElement=function(){return this._badgeElement},l.prototype._updateTextContent=function(){return this._badgeElement?this._badgeElement.textContent=this.content:this._badgeElement=this._createBadgeElement(),this._badgeElement},l.prototype._createBadgeElement=function(){var n=this._renderer.createElement("span");return this._clearExistingBadges("mat-badge-content"),n.setAttribute("id","mat-badge-content-"+this._id),n.classList.add("mat-badge-content"),n.textContent=this.content,"NoopAnimations"===this._animationMode&&n.classList.add("_mat-animation-noopable"),this.description&&n.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(n),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){n.classList.add("mat-badge-active")}))})):n.classList.add("mat-badge-active"),n},l.prototype._updateHostAriaDescription=function(n,l){var e=this._updateTextContent();l&&this._ariaDescriber.removeDescription(e,l),n&&this._ariaDescriber.describe(e,n)},l.prototype._setColor=function(n){n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-badge-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-badge-"+n))},l.prototype._clearExistingBadges=function(n){for(var l=this._elementRef.nativeElement,e=l.children.length;e--;){var t=l.children[e];t.classList.contains(n)&&l.removeChild(t)}},l}(Wb(function(){return function(){}}())),TS=function(){return function(){}}(),LS=function(){function n(n){this._parent=n,this.spin=!1}return n.prototype._onClick=function(n){this._parent.fixed||(this._parent.toggle(),n.stopPropagation())},n}(),RS=function(){function n(n,l){this._parent=n,this.renderer=l}return n.prototype.ngAfterContentInit=function(){var n=this;this._buttons.changes.subscribe((function(){n.initButtonStates(),n._parent.setActionsVisibility()})),this.initButtonStates()},n.prototype.initButtonStates=function(){var n=this;this._buttons.toArray().forEach((function(l,e){n.renderer.addClass(l._getHostElement(),"smd-fab-action-item"),n.changeElementStyle(l._getHostElement(),"z-index",""+(23-e))}))},n.prototype.show=function(){var n=this;this._buttons&&this._buttons.toArray().forEach((function(l,e){var t,i=0;"scale"==n._parent.animationMode?(i=3+65*e,t="scale(1)"):t=n.getTranslateFunction("0"),n.changeElementStyle(l._getHostElement(),"transition-delay",i+"ms"),n.changeElementStyle(l._getHostElement(),"opacity","1"),n.changeElementStyle(l._getHostElement(),"transform",t)}))},n.prototype.hide=function(){var n=this;this._buttons&&this._buttons.toArray().forEach((function(l,e){var t,i="1",a=0;"scale"==n._parent.animationMode?(a=3-65*e,t="scale(0)",i="0"):t=n.getTranslateFunction(55*(e+1)-5*e+"px"),n.changeElementStyle(l._getHostElement(),"transition-delay",a+"ms"),n.changeElementStyle(l._getHostElement(),"opacity",i),n.changeElementStyle(l._getHostElement(),"transform",t)}))},n.prototype.getTranslateFunction=function(n){var l=this._parent.direction;return("up"==l||"down"==l?"translateY":"translateX")+"("+("down"==l||"right"==l?"-":"")+n+")"},n.prototype.changeElementStyle=function(n,l,e){this.renderer.setStyle(n,l,e)},n}(),NS=function(){function n(n,l){this.elementRef=n,this.renderer=l,this.isInitialized=!1,this._direction="up",this._open=!1,this._animationMode="fling",this.fixed=!1,this.openChange=new la}return Object.defineProperty(n.prototype,"open",{get:function(){return this._open},set:function(n){var l=this._open;this._open=n,l!=this._open&&(this.openChange.emit(this._open),this.isInitialized&&this.setActionsVisibility())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"direction",{get:function(){return this._direction},set:function(n){var l=this._direction;this._direction=n,l!=this.direction&&(this._setElementClass(l,!1),this._setElementClass(this.direction,!0),this.isInitialized&&this.setActionsVisibility())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"animationMode",{get:function(){return this._animationMode},set:function(n){var l=this,e=this._animationMode;this._animationMode=n,e!=this._animationMode&&(this._setElementClass(e,!1),this._setElementClass(this.animationMode,!0),this.isInitialized&&Promise.resolve(null).then((function(){return l.open=!1})))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this.isInitialized=!0,this.setActionsVisibility(),this._setElementClass(this.direction,!0),this._setElementClass(this.animationMode,!0)},n.prototype.toggle=function(){this.open=!this.open},n.prototype._onClick=function(){!this.fixed&&this.open&&(this.open=!1)},n.prototype.setActionsVisibility=function(){this.open?this._childActions.show():this._childActions.hide()},n.prototype._setElementClass=function(n,l){l?this.renderer.addClass(this.elementRef.nativeElement,"smd-"+n):this.renderer.removeClass(this.elementRef.nativeElement,"smd-"+n)},n}(),jS=yt({encapsulation:2,styles:[],data:{}});function VS(n){return jo(0,[Po(null,0)],null,null)}var qS=yt({encapsulation:2,styles:[],data:{}});function zS(n){return jo(0,[Po(null,0)],null,null)}var US=yt({encapsulation:2,styles:[["smd-fab-speed-dial{position:absolute;display:inline-block}smd-fab-speed-dial.smd-opened .smd-fab-speed-dial-container{height:auto}smd-fab-speed-dial.smd-opened .smd-fab-speed-dial-container smd-fab-trigger.smd-spin{-webkit-transform:rotate(360deg);transform:rotate(360deg)}smd-fab-speed-dial.smd-opened .smd-fab-speed-dial-container smd-fab-actions{height:auto}smd-fab-speed-dial .smd-fab-speed-dial-container{height:0;position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;z-index:20}smd-fab-speed-dial .smd-fab-speed-dial-container smd-fab-trigger{pointer-events:auto;z-index:24}smd-fab-speed-dial .smd-fab-speed-dial-container smd-fab-trigger.smd-spin{-webkit-transition:.6s cubic-bezier(.4,0,.2,1);transition:all .6s cubic-bezier(.4,0,.2,1)}smd-fab-speed-dial .smd-fab-speed-dial-container smd-fab-actions{height:0;display:-webkit-box;display:flex}smd-fab-speed-dial.smd-fling .smd-fab-speed-dial-container smd-fab-actions .smd-fab-action-item{display:block;opacity:1;-webkit-transition:.3s cubic-bezier(.55,0,.55,.2);transition:all .3s cubic-bezier(.55,0,.55,.2)}smd-fab-speed-dial.smd-scale .smd-fab-speed-dial-container smd-fab-actions .smd-fab-action-item{-webkit-transform:scale(0);transform:scale(0);-webkit-transition:.3s cubic-bezier(.55,0,.55,.2);transition:all .3s cubic-bezier(.55,0,.55,.2);-webkit-transition-duration:.14286s;transition-duration:.14286s}smd-fab-speed-dial.smd-down .smd-fab-speed-dial-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}smd-fab-speed-dial.smd-down .smd-fab-speed-dial-container smd-fab-trigger{-webkit-box-ordinal-group:2;order:1}smd-fab-speed-dial.smd-down .smd-fab-speed-dial-container smd-fab-actions{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-ordinal-group:3;order:2}smd-fab-speed-dial.smd-down .smd-fab-speed-dial-container smd-fab-actions .smd-fab-action-item{margin-top:10px}smd-fab-speed-dial.smd-up .smd-fab-speed-dial-container{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}smd-fab-speed-dial.smd-up .smd-fab-speed-dial-container smd-fab-trigger{-webkit-box-ordinal-group:3;order:2}smd-fab-speed-dial.smd-up .smd-fab-speed-dial-container smd-fab-actions{-webkit-box-orient:vertical;-webkit-box-direction:reverse;flex-direction:column-reverse;-webkit-box-ordinal-group:2;order:1}smd-fab-speed-dial.smd-up .smd-fab-speed-dial-container smd-fab-actions .smd-fab-action-item{margin-bottom:10px}smd-fab-speed-dial.smd-left .smd-fab-speed-dial-container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}smd-fab-speed-dial.smd-left .smd-fab-speed-dial-container smd-fab-trigger{-webkit-box-ordinal-group:3;order:2}smd-fab-speed-dial.smd-left .smd-fab-speed-dial-container smd-fab-actions{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row-reverse;-webkit-box-ordinal-group:2;order:1}smd-fab-speed-dial.smd-left .smd-fab-speed-dial-container smd-fab-actions .smd-fab-action-item{margin-right:10px}smd-fab-speed-dial.smd-right .smd-fab-speed-dial-container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row}smd-fab-speed-dial.smd-right .smd-fab-speed-dial-container smd-fab-trigger{-webkit-box-ordinal-group:2;order:1}smd-fab-speed-dial.smd-right .smd-fab-speed-dial-container smd-fab-actions{-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-ordinal-group:3;order:2}smd-fab-speed-dial.smd-right .smd-fab-speed-dial-container smd-fab-actions .smd-fab-action-item{margin-left:10px}"]],data:{}});function BS(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","smd-fab-speed-dial-container"]],null,null,null,null,null)),Po(null,0),Po(null,1)],null,null)}var $S=function(){function n(n){this.latinisePipe=n,this.lang=Kr}return n.prototype.empty=function(n){return null==n||(Array.isArray(n)?!(n.length>0):""===String(n))},n.prototype.formatFrenchDateToTechnicalDate=function(n){if(this.empty(n))return n;var l=n.split("-");return(l=l.concat(l[l.length-1].split(" "))).splice(2,1),this.empty(l[3])&&(l[3]="00:00:00"),l[2]+"-"+l[1]+"-"+l[0]+" "+l[3]},n.prototype.formatFrenchDateToObjectDate=function(n,l){if(void 0===l&&(l="-"),this.empty(n))return n;var e=n.split(l);return(e=e.concat(e[e.length-1].split(" "))).splice(2,1),this.empty(e[3])&&(e[3]="00:00:00"),new Date(e[2]+"-"+e[1]+"-"+e[0]+" "+e[3])},n.prototype.formatDateObjectToDateString=function(n,l,e){if(void 0===l&&(l=!1),void 0===e&&(e="dd-mm-yyyy"),null!==n){var t=[];e.split("-").forEach((function(l){if("dd"===l){var e=n.getDate();e=("00"+e).slice(-2),t.push(e)}else if("mm"===l){var i=n.getMonth()+1;i=("00"+i).slice(-2),t.push(i)}else if("yyyy"===l){var a=n.getFullYear();t.push(a)}}));var i="";return l&&(i=" 23:59:59"),""+t.join("-")+i}return n},n.prototype.listSortingDataAccessor=function(n,l){return"string"==typeof n[l]?n[l].toLowerCase():n[l]},n.prototype.filterUnSensitive=function(n,l,e){var t=this,i=!1;return l=this.latinisePipe.transform(l),e.forEach((function(e){"string"!=typeof n[e]&&(n[e]=JSON.stringify(n[e])),i=i||t.latinisePipe.transform(n[e].toLowerCase()).includes(l)})),i},n}(),HS=function(){function n(n,l){this.latinisePipe=n,this.functions=l}return n.prototype.transform=function(n,l){var e=this,t="",i="";return this.functions.empty(n)?[]:(n.sort((function(n,a){return void 0===l?(t=e.latinisePipe.transform(n).toLocaleLowerCase(),i=e.latinisePipe.transform(a).toLocaleLowerCase()):(n[l]=null!==n[l]?n[l]:"",a[l]=null!==a[l]?a[l]:"",t=e.latinisePipe.transform(n[l]).toLocaleLowerCase(),i=e.latinisePipe.transform(a[l]).toLocaleLowerCase()),t<i?-1:t>i?1:0})),n)},n}();function GS(n){return"string"==typeof n}var WS=function(){function n(){}return n.prototype.transform=function(n){return GS(n)?n.split("").reverse().join(""):Array.isArray(n)?n.slice().reverse():n},n}(),KS=function(){function n(){}return n.prototype.transform=function(n,l){return void 0===l&&(l=[]),GS(n)?n.replace(/\{(\d+)}/g,(function(n,e){return void 0===l[e]?n:l[e]})):n},n}(),YS=function(){function n(){}return n.prototype.transform=function(n,l,e,t){if(void 0===l&&(l=0),void 0===e&&(e=""),void 0===t&&(t=!0),!GS(n))return n;if(n.length>l){if(t)return n.slice(0,l)+e;if(~n.indexOf(" ",l))return n.slice(0,n.indexOf(" ",l))+e}return n},n}(),JS=function(){function n(){}return n.prototype.transform=function(n){for(var l=[],e=1;e<arguments.length;e++)l[e-1]=arguments[e];return n.replace(l.length>0?new RegExp("<(?!/?("+l.join("|")+")s*/?)[^>]+>","g"):/<(?:.|\s)*?>/g,"")},n}(),ZS=function(){function n(){}return n.prototype.transform=function(n){return GS(n)?function(n){var l=Object(t.__read)(n.split(/\s/g)),e=l[0],i=l.slice(1),a=e.toLowerCase().split(/(?=['|-])/g).map((function(n){return n.indexOf("-")+n.indexOf("'")>-2?n.slice(0,2).toUpperCase()+n.slice(2):n.slice(0,1).toUpperCase()+n.slice(1)})).join("");return Object(t.__spread)([a],i).join(" ")}(n):n},n}(),QS=function(){function n(){this.latinMap={"Ã":"A","Ä‚":"A","Ắ":"A","Ặ":"A","Ằ":"A","Ẳ":"A","Ẵ":"A","Ç":"A","Â":"A","Ấ":"A","Ậ":"A","Ầ":"A","Ẩ":"A","Ẫ":"A","Ä":"A","Çž":"A","Ȧ":"A","Ç ":"A","Ạ":"A","È€":"A","À":"A","Ả":"A","È‚":"A","Ä€":"A","Ä„":"A","Ã…":"A","Ǻ":"A","Ḁ":"A","Ⱥ":"A","Ã":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ç¢":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ḃ":"B","Ḅ":"B","Æ":"B","Ḇ":"B","Ƀ":"B","Æ‚":"B","Ć":"C","ÄŒ":"C","Ç":"C","Ḉ":"C","Ĉ":"C","ÄŠ":"C","Ƈ":"C","È»":"C","ÄŽ":"D","á¸":"D","Ḓ":"D","Ḋ":"D","Ḍ":"D","ÆŠ":"D","Ḏ":"D","Dz":"D","Ç…":"D","Ä":"D","Æ‹":"D","DZ":"DZ","Ç„":"DZ","É":"E","Ä”":"E","Äš":"E","Ȩ":"E","Ḝ":"E","Ê":"E","Ế":"E","Ệ":"E","Ề":"E","Ể":"E","Ễ":"E","Ḙ":"E","Ë":"E","Ä–":"E","Ẹ":"E","È„":"E","È":"E","Ẻ":"E","Ȇ":"E","Ä’":"E","Ḗ":"E","Ḕ":"E","Ę":"E","Ɇ":"E","Ẽ":"E","Ḛ":"E","êª":"ET","Ḟ":"F","Æ‘":"F","Ç´":"G","Äž":"G","Ǧ":"G","Ä¢":"G","Äœ":"G","Ä ":"G","Æ“":"G","Ḡ":"G","Ǥ":"G","Ḫ":"H","Èž":"H","Ḩ":"H","Ĥ":"H","Ⱨ":"H","Ḧ":"H","Ḣ":"H","Ḥ":"H","Ħ":"H","Ã":"I","Ĭ":"I","Ç":"I","ÃŽ":"I","Ã":"I","Ḯ":"I","Ä°":"I","Ị":"I","Ȉ":"I","ÃŒ":"I","Ỉ":"I","ÈŠ":"I","Ī":"I","Ä®":"I","Æ—":"I","Ĩ":"I","Ḭ":"I","ê¹":"D","ê»":"F","ê½":"G","êž‚":"R","êž„":"S","Ꞇ":"T","ê¬":"IS","Ä´":"J","Ɉ":"J","Ḱ":"K","Ǩ":"K","Ķ":"K","Ⱪ":"K","ê‚":"K","Ḳ":"K","Ƙ":"K","Ḵ":"K","ê€":"K","ê„":"K","Ĺ":"L","Ƚ":"L","Ľ":"L","Ä»":"L","Ḽ":"L","Ḷ":"L","Ḹ":"L","â± ":"L","êˆ":"L","Ḻ":"L","Ä¿":"L","â±¢":"L","Lj":"L","Å":"L","LJ":"LJ","Ḿ":"M","á¹€":"M","Ṃ":"M","â±®":"M","Ń":"N","Ň":"N","Å…":"N","Ṋ":"N","Ṅ":"N","Ṇ":"N","Ǹ":"N","Æ":"N","Ṉ":"N","È ":"N","Ç‹":"N","Ñ":"N","ÇŠ":"NJ","Ó":"O","ÅŽ":"O","Ç‘":"O","Ô":"O","á»":"O","Ộ":"O","á»’":"O","á»”":"O","á»–":"O","Ö":"O","Ȫ":"O","È®":"O","È°":"O","Ọ":"O","Å":"O","ÈŒ":"O","Ã’":"O","Ỏ":"O","Æ ":"O","Ớ":"O","Ợ":"O","Ờ":"O","Ở":"O","á» ":"O","ÈŽ":"O","êŠ":"O","êŒ":"O","ÅŒ":"O","á¹’":"O","á¹":"O","ÆŸ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Õ":"O","Ṍ":"O","Ṏ":"O","Ȭ":"O","Æ¢":"OI","êŽ":"OO","Æ":"E","Ɔ":"O","È¢":"OU","á¹”":"P","á¹–":"P","ê’":"P","Ƥ":"P","ê”":"P","â±£":"P","ê":"P","ê˜":"Q","ê–":"Q","Å”":"R","Ř":"R","Å–":"R","Ṙ":"R","Ṛ":"R","Ṝ":"R","È":"R","È’":"R","Ṟ":"R","ÉŒ":"R","Ɽ":"R","Ꜿ":"C","ÆŽ":"E","Åš":"S","Ṥ":"S","Å ":"S","Ṧ":"S","Åž":"S","Åœ":"S","Ș":"S","á¹ ":"S","á¹¢":"S","Ṩ":"S","ẞ":"SS","Ť":"T","Å¢":"T","á¹°":"T","Èš":"T","Ⱦ":"T","Ṫ":"T","Ṭ":"T","Ƭ":"T","á¹®":"T","Æ®":"T","Ŧ":"T","Ɐ":"A","Ꞁ":"L","Æœ":"M","É…":"V","Ꜩ":"TZ","Ú":"U","Ŭ":"U","Ç“":"U","Û":"U","Ṷ":"U","Ãœ":"U","Ç—":"U","Ç™":"U","Ç›":"U","Ç•":"U","á¹²":"U","Ụ":"U","Å°":"U","È”":"U","Ù":"U","Ủ":"U","Ư":"U","Ứ":"U","á»°":"U","Ừ":"U","Ử":"U","á»®":"U","È–":"U","Ū":"U","Ṻ":"U","Ų":"U","Å®":"U","Ũ":"U","Ṹ":"U","á¹´":"U","êž":"V","á¹¾":"V","Ʋ":"V","á¹¼":"V","ê ":"VY","Ẃ":"W","Å´":"W","Ẅ":"W","Ẇ":"W","Ẉ":"W","Ẁ":"W","â±²":"W","Ẍ":"X","Ẋ":"X","Ã":"Y","Ŷ":"Y","Ÿ":"Y","Ẏ":"Y","á»´":"Y","Ỳ":"Y","Ƴ":"Y","Ỷ":"Y","Ỿ":"Y","Ȳ":"Y","ÉŽ":"Y","Ỹ":"Y","Ź":"Z","Ž":"Z","áº":"Z","Ⱬ":"Z","Å»":"Z","Ẓ":"Z","Ȥ":"Z","Ẕ":"Z","Ƶ":"Z","IJ":"IJ","Å’":"OE","á´€":"A","á´":"AE","Ê™":"B","á´ƒ":"B","á´„":"C","á´…":"D","á´‡":"E","ꜰ":"F","É¢":"G","Ê›":"G","Êœ":"H","ɪ":"I","Ê":"R","á´Š":"J","á´‹":"K","ÊŸ":"L","á´Œ":"L","á´":"M","É´":"N","á´":"O","ɶ":"OE","á´":"O","á´•":"OU","á´˜":"P","Ê€":"R","á´Ž":"N","á´™":"R","ꜱ":"S","á´›":"T","â±»":"E","á´š":"R","á´œ":"U","á´ ":"V","á´¡":"W","Ê":"Y","á´¢":"Z","á":"a","ă":"a","ắ":"a","ặ":"a","ằ":"a","ẳ":"a","ẵ":"a","ÇŽ":"a","â":"a","ấ":"a","áº":"a","ầ":"a","ẩ":"a","ẫ":"a","ä":"a","ÇŸ":"a","ȧ":"a","Ç¡":"a","ạ":"a","È":"a","à ":"a","ả":"a","ȃ":"a","Ä":"a","Ä…":"a","á¶":"a","ẚ":"a","Ã¥":"a","Ç»":"a","á¸":"a","â±¥":"a","ã":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ḃ":"b","ḅ":"b","É“":"b","ḇ":"b","ᵬ":"b","ᶀ":"b","Æ€":"b","ƃ":"b","ɵ":"o","ć":"c","Ä":"c","ç":"c","ḉ":"c","ĉ":"c","É•":"c","Ä‹":"c","ƈ":"c","ȼ":"c","Ä":"d","ḑ":"d","ḓ":"d","È¡":"d","ḋ":"d","á¸":"d","É—":"d","ᶑ":"d","á¸":"d","áµ":"d","á¶":"d","Ä‘":"d","É–":"d","ÆŒ":"d","ı":"i","È·":"j","ÉŸ":"j","Ê„":"j","dz":"dz","dž":"dz","é":"e","Ä•":"e","Ä›":"e","È©":"e","á¸":"e","ê":"e","ế":"e","ệ":"e","á»":"e","ể":"e","á»…":"e","ḙ":"e","ë":"e","Ä—":"e","ẹ":"e","È…":"e","è":"e","ẻ":"e","ȇ":"e","Ä“":"e","ḗ":"e","ḕ":"e","ⱸ":"e","Ä™":"e","ᶒ":"e","ɇ":"e","ẽ":"e","ḛ":"e","ê«":"et","ḟ":"f","Æ’":"f","áµ®":"f","ᶂ":"f","ǵ":"g","ÄŸ":"g","ǧ":"g","Ä£":"g","Ä":"g","Ä¡":"g","É ":"g","ḡ":"g","ᶃ":"g","Ç¥":"g","ḫ":"h","ÈŸ":"h","ḩ":"h","Ä¥":"h","ⱨ":"h","ḧ":"h","ḣ":"h","ḥ":"h","ɦ":"h","ẖ":"h","ħ":"h","Æ•":"hv","Ã":"i","Ä":"i","Ç":"i","î":"i","ï":"i","ḯ":"i","ị":"i","ȉ":"i","ì":"i","ỉ":"i","È‹":"i","Ä«":"i","į":"i","ᶖ":"i","ɨ":"i","Ä©":"i","á¸":"i","êº":"d","ê¼":"f","áµ¹":"g","ꞃ":"r","êž…":"s","ꞇ":"t","ê":"is","Ç°":"j","ĵ":"j","Ê":"j","ɉ":"j","ḱ":"k","Ç©":"k","Ä·":"k","ⱪ":"k","êƒ":"k","ḳ":"k","Æ™":"k","ḵ":"k","ᶄ":"k","ê":"k","ê…":"k","ĺ":"l","Æš":"l","ɬ":"l","ľ":"l","ļ":"l","ḽ":"l","È´":"l","ḷ":"l","ḹ":"l","ⱡ":"l","ê‰":"l","ḻ":"l","Å€":"l","É«":"l","ᶅ":"l","É":"l","Å‚":"l","lj":"lj","Å¿":"s","ẜ":"s","ẛ":"s","áº":"s","ḿ":"m","á¹":"m","ṃ":"m","ɱ":"m","ᵯ":"m","ᶆ":"m","Å„":"n","ň":"n","ņ":"n","ṋ":"n","ȵ":"n","á¹…":"n","ṇ":"n","ǹ":"n","ɲ":"n","ṉ":"n","Æž":"n","áµ°":"n","ᶇ":"n","ɳ":"n","ñ":"n","ÇŒ":"nj","ó":"o","Å":"o","Ç’":"o","ô":"o","ố":"o","á»™":"o","ồ":"o","ổ":"o","á»—":"o","ö":"o","È«":"o","ȯ":"o","ȱ":"o","á»":"o","Å‘":"o","È":"o","ò":"o","á»":"o","Æ¡":"o","á»›":"o","ợ":"o","á»":"o","ở":"o","ỡ":"o","È":"o","ê‹":"o","ê":"o","ⱺ":"o","Å":"o","ṓ":"o","ṑ":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","õ":"o","á¹":"o","á¹":"o","È":"o","Æ£":"oi","ê":"oo","É›":"e","ᶓ":"e","É”":"o","ᶗ":"o","È£":"ou","ṕ":"p","á¹—":"p","ê“":"p","Æ¥":"p","áµ±":"p","ᶈ":"p","ê•":"p","áµ½":"p","ê‘":"p","ê™":"q","Ê ":"q","É‹":"q","ê—":"q","Å•":"r","Å™":"r","Å—":"r","á¹™":"r","á¹›":"r","á¹":"r","È‘":"r","ɾ":"r","áµ³":"r","È“":"r","ṟ":"r","ɼ":"r","áµ²":"r","ᶉ":"r","É":"r","ɽ":"r","ↄ":"c","ꜿ":"c","ɘ":"e","É¿":"r","Å›":"s","á¹¥":"s","Å¡":"s","ṧ":"s","ÅŸ":"s","Å":"s","È™":"s","ṡ":"s","á¹£":"s","ṩ":"s","Ê‚":"s","áµ´":"s","ᶊ":"s","È¿":"s","É¡":"g","ß":"ss","á´‘":"o","á´“":"o","á´":"u","Å¥":"t","Å£":"t","á¹±":"t","È›":"t","ȶ":"t","ẗ":"t","ⱦ":"t","ṫ":"t","á¹":"t","Æ":"t","ṯ":"t","áµµ":"t","Æ«":"t","ʈ":"t","ŧ":"t","ᵺ":"th","É":"a","á´‚":"ae","Ç":"e","áµ·":"g","É¥":"h","Ê®":"h","ʯ":"h","á´‰":"i","Êž":"k","êž":"l","ɯ":"m","É°":"m","á´”":"oe","ɹ":"r","É»":"r","ɺ":"r","â±¹":"r","ʇ":"t","ÊŒ":"v","Ê":"w","ÊŽ":"y","ꜩ":"tz","ú":"u","Å":"u","Ç”":"u","û":"u","á¹·":"u","ü":"u","ǘ":"u","Çš":"u","Çœ":"u","Ç–":"u","á¹³":"u","ụ":"u","ű":"u","È•":"u","ù":"u","ủ":"u","Æ°":"u","ứ":"u","á»±":"u","ừ":"u","á»":"u","ữ":"u","È—":"u","Å«":"u","á¹»":"u","ų":"u","ᶙ":"u","ů":"u","Å©":"u","á¹¹":"u","á¹µ":"u","ᵫ":"ue","ê¸":"um","â±´":"v","êŸ":"v","ṿ":"v","Ê‹":"v","ᶌ":"v","â±±":"v","á¹½":"v","ê¡":"vy","ẃ":"w","ŵ":"w","ẅ":"w","ẇ":"w","ẉ":"w","áº":"w","â±³":"w","ẘ":"w","áº":"x","ẋ":"x","á¶":"x","ý":"y","Å·":"y","ÿ":"y","áº":"y","ỵ":"y","ỳ":"y","Æ´":"y","á»·":"y","ỿ":"y","ȳ":"y","ẙ":"y","É":"y","ỹ":"y","ź":"z","ž":"z","ẑ":"z","Ê‘":"z","ⱬ":"z","ż":"z","ẓ":"z","È¥":"z","ẕ":"z","ᵶ":"z","ᶎ":"z","Ê":"z","ƶ":"z","É€":"z","ff":"ff","ffi":"ffi","ffl":"ffl","ï¬":"fi","fl":"fl","ij":"ij","Å“":"oe","st":"st","â‚":"a","â‚‘":"e","áµ¢":"i","â±¼":"j","â‚’":"o","áµ£":"r","ᵤ":"u","áµ¥":"v","â‚“":"x"}}return n.prototype.transform=function(n,l){var e=this;return void 0===l&&(l="\\s"),GS(n)?n.replace(/[^A-Za-z0-9]/g,(function(n){return e.latinMap[n]||n})):n},n}(),XS=function(){return function(){}}(),nI=Yb(function(){return function(){}}()),lI=Yb(function(){return function(){}}()),eI=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._stateChanges=new M,l}return Object(t.__extends)(l,n),l.prototype.ngOnChanges=function(){this._stateChanges.next()},l.prototype.ngOnDestroy=function(){this._stateChanges.complete()},l}(nI),tI=function(n){function l(l){var e=n.call(this)||this;return e._elementRef=l,e._stateChanges=new M,"action-list"===e._getListType()&&l.nativeElement.classList.add("mat-action-list"),e}return Object(t.__extends)(l,n),l.prototype._getListType=function(){var n=this._elementRef.nativeElement.nodeName.toLowerCase();return"mat-list"===n?"list":"mat-action-list"===n?"action-list":null},l.prototype.ngOnChanges=function(){this._stateChanges.next()},l.prototype.ngOnDestroy=function(){this._stateChanges.complete()},l}(nI),iI=function(){return function(){}}(),aI=function(){return function(){}}(),oI=function(n){function l(l,e,t,i){var a=n.call(this)||this;a._element=l,a._isInteractiveList=!1,a._destroyed=new M,a._isInteractiveList=!!(t||i&&"action-list"===i._getListType()),a._list=t||i;var o=a._getHostElement();return"button"!==o.nodeName.toLowerCase()||o.hasAttribute("type")||o.setAttribute("type","button"),a._list&&a._list._stateChanges.pipe(Ph(a._destroyed)).subscribe((function(){e.markForCheck()})),a}return Object(t.__extends)(l,n),l.prototype.ngAfterContentInit=function(){mv(this._lines,this._element)},l.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},l.prototype._isRippleDisabled=function(){return!this._isInteractiveList||this.disableRipple||!(!this._list||!this._list.disableRipple)},l.prototype._getHostElement=function(){return this._element.nativeElement},l}(lI),rI=Yb(function(){return function(){}}()),uI=Yb(function(){return function(){}}()),sI=function(){return function(n,l){this.source=n,this.option=l}}(),cI=function(n){function l(l,e,t){var i=n.call(this)||this;return i._element=l,i._changeDetector=e,i.selectionList=t,i._selected=!1,i._disabled=!1,i._hasFocus=!1,i.checkboxPosition="after",i}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"color",{get:function(){return this._color||this.selectionList.color},set:function(n){this._color=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(n){this.selected&&n!==this.value&&(this.selected=!1),this._value=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disabled",{get:function(){return this._disabled||this.selectionList&&this.selectionList.disabled},set:function(n){var l=Yf(n);l!==this._disabled&&(this._disabled=l,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"selected",{get:function(){return this.selectionList.selectedOptions.isSelected(this)},set:function(n){var l=Yf(n);l!==this._selected&&(this._setSelected(l),this.selectionList._reportValueChange())},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){var n=this,l=this.selectionList;l._value&&l._value.some((function(e){return l.compareWith(e,n._value)}))&&this._setSelected(!0);var e=this._selected;Promise.resolve().then((function(){(n._selected||e)&&(n.selected=!0,n._changeDetector.markForCheck())}))},l.prototype.ngAfterContentInit=function(){mv(this._lines,this._element)},l.prototype.ngOnDestroy=function(){var n=this;this.selected&&Promise.resolve().then((function(){n.selected=!1}));var l=this._hasFocus,e=this.selectionList._removeOptionFromList(this);l&&e&&e.focus()},l.prototype.toggle=function(){this.selected=!this.selected},l.prototype.focus=function(){this._element.nativeElement.focus()},l.prototype.getLabel=function(){return this._text&&this._text.nativeElement.textContent||""},l.prototype._isRippleDisabled=function(){return this.disabled||this.disableRipple||this.selectionList.disableRipple},l.prototype._handleClick=function(){this.disabled||(this.toggle(),this.selectionList._emitChangeEvent(this))},l.prototype._handleFocus=function(){this.selectionList._setFocusedOption(this),this._hasFocus=!0},l.prototype._handleBlur=function(){this.selectionList._onTouched(),this._hasFocus=!1},l.prototype._getHostElement=function(){return this._element.nativeElement},l.prototype._setSelected=function(n){return n!==this._selected&&(this._selected=n,n?this.selectionList.selectedOptions.select(this):this.selectionList.selectedOptions.deselect(this),this._changeDetector.markForCheck(),!0)},l.prototype._markForCheck=function(){this._changeDetector.markForCheck()},l}(uI),dI=function(n){function l(l,e){var t=n.call(this)||this;return t._element=l,t.selectionChange=new la,t.tabIndex=0,t.color="accent",t.compareWith=function(n,l){return n===l},t._disabled=!1,t.selectedOptions=new hg(!0),t._onChange=function(n){},t._destroyed=new M,t._onTouched=function(){},t.tabIndex=parseInt(e)||0,t}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n),this._markOptionsForCheck()},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentInit=function(){this._keyManager=new Ab(this.options).withWrap().withTypeAhead().skipPredicate((function(){return!1})).withAllowedModifierKeys(["shiftKey"]),this._value&&this._setOptionsFromValues(this._value),this.selectedOptions.onChange.pipe(Ph(this._destroyed)).subscribe((function(n){if(n.added)for(var l=0,e=n.added;l<e.length;l++)e[l].selected=!0;if(n.removed)for(var t=0,i=n.removed;t<i.length;t++)i[t].selected=!1}))},l.prototype.ngOnChanges=function(n){var l=n.disableRipple,e=n.color;(l&&!l.firstChange||e&&!e.firstChange)&&this._markOptionsForCheck()},l.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._isDestroyed=!0},l.prototype.focus=function(n){this._element.nativeElement.focus(n)},l.prototype.selectAll=function(){this._setAllOptionsSelected(!0)},l.prototype.deselectAll=function(){this._setAllOptionsSelected(!1)},l.prototype._setFocusedOption=function(n){this._keyManager.updateActiveItem(n)},l.prototype._removeOptionFromList=function(n){var l=this._getOptionIndex(n);return l>-1&&this._keyManager.activeItemIndex===l&&(l>0?this._keyManager.updateActiveItem(l-1):0===l&&this.options.length>1&&this._keyManager.updateActiveItem(Math.min(l+1,this.options.length-1))),this._keyManager.activeItem},l.prototype._keydown=function(n){var l=n.keyCode,e=this._keyManager,t=e.activeItemIndex,i=oh(n);switch(l){case 32:case 13:i||(this._toggleFocusedOption(),n.preventDefault());break;case 36:case 35:i||(36===l?e.setFirstItemActive():e.setLastItemActive(),n.preventDefault());break;case 65:oh(n,"ctrlKey")&&(this.options.find((function(n){return!n.selected}))?this.selectAll():this.deselectAll(),n.preventDefault());break;default:e.onKeydown(n)}38!==l&&40!==l||!n.shiftKey||e.activeItemIndex===t||this._toggleFocusedOption()},l.prototype._reportValueChange=function(){if(this.options&&!this._isDestroyed){var n=this._getSelectedOptionValues();this._onChange(n),this._value=n}},l.prototype._emitChangeEvent=function(n){this.selectionChange.emit(new sI(this,n))},l.prototype.writeValue=function(n){this._value=n,this.options&&this._setOptionsFromValues(n||[])},l.prototype.setDisabledState=function(n){this.disabled=n},l.prototype.registerOnChange=function(n){this._onChange=n},l.prototype.registerOnTouched=function(n){this._onTouched=n},l.prototype._setOptionsFromValues=function(n){var l=this;this.options.forEach((function(n){return n._setSelected(!1)})),n.forEach((function(n){var e=l.options.find((function(e){return!e.selected&&l.compareWith(e.value,n)}));e&&e._setSelected(!0)}))},l.prototype._getSelectedOptionValues=function(){return this.options.filter((function(n){return n.selected})).map((function(n){return n.value}))},l.prototype._toggleFocusedOption=function(){var n=this._keyManager.activeItemIndex;if(null!=n&&this._isValidIndex(n)){var l=this.options.toArray()[n];l&&!l.disabled&&(l.toggle(),this._emitChangeEvent(l))}},l.prototype._setAllOptionsSelected=function(n){var l=!1;this.options.forEach((function(e){e._setSelected(n)&&(l=!0)})),l&&this._reportValueChange()},l.prototype._isValidIndex=function(n){return n>=0&&n<this.options.length},l.prototype._getOptionIndex=function(n){return this.options.toArray().indexOf(n)},l.prototype._markOptionsForCheck=function(){this.options&&this.options.forEach((function(n){return n._markForCheck()}))},l}(rI),pI=function(){return function(){}}(),mI=function(){function n(){this._vertical=!1,this._inset=!1}return Object.defineProperty(n.prototype,"vertical",{get:function(){return this._vertical},set:function(n){this._vertical=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"inset",{get:function(){return this._inset},set:function(n){this._inset=Yf(n)},enumerable:!0,configurable:!0}),n}(),fI=function(){return function(){}}(),hI=yt({encapsulation:2,styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:0;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}@media (-ms-high-contrast:active){.mat-option{margin:0 1px}.mat-option.mat-active{border:solid 1px currentColor;margin:0}}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}@media (-ms-high-contrast:active){.mat-option .mat-option-ripple{opacity:.5}}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}"],data:{}});function gI(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-option-pseudo-checkbox mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,wI,yI)),Di(1,49152,null,0,Sv,[[2,SC]],{state:[0,"state"],disabled:[1,"disabled"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.selected?"checked":"",e.disabled)}),(function(n,l){n(l,0,0,"indeterminate"===bi(l,1).state,"checked"===bi(l,1).state,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode)}))}function bI(n){return jo(2,[(n()(),vo(16777216,null,null,1,null,gI)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(2,0,null,null,1,"span",[["class","mat-option-text"]],null,null,null,null,null)),Po(null,0),(n()(),_o(4,0,null,null,1,"div",[["class","mat-option-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(5,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.multiple),n(l,5,0,e.disabled||e.disableRipple,e._getHostElement())}),(function(n,l){n(l,4,0,bi(l,5).unbounded)}))}var vI=yt({encapsulation:2,styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}"],data:{}});function _I(n){return jo(2,[(n()(),_o(0,0,null,null,2,"label",[["class","mat-optgroup-label"]],[[8,"id",0]],null,null,null,null)),(n()(),Lo(1,null,["",""])),Po(null,0),Po(null,1)],null,(function(n,l){var e=l.component;n(l,0,0,e._labelId),n(l,1,0,e.label)}))}var yI=yt({encapsulation:2,styles:[".mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}"],data:{}});function wI(n){return jo(2,[],null,null)}var xI=yt({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function CI(n){return jo(2,[Po(null,0)],null,null)}var kI=yt({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function SI(n){return jo(2,[Po(null,0)],null,null)}var II=yt({encapsulation:2,styles:[],data:{}});function AI(n){return jo(2,[(n()(),_o(0,0,null,null,6,"div",[["class","mat-list-item-content"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(2,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),Po(null,0),(n()(),_o(4,0,null,null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),Po(null,1),Po(null,2)],(function(n,l){var e=l.component;n(l,2,0,e._isRippleDisabled(),e._getHostElement())}),(function(n,l){n(l,1,0,bi(l,2).unbounded)}))}var MI=yt({encapsulation:2,styles:[],data:{}});function PI(n){return jo(2,[ko(671088640,1,{_text:0}),(n()(),_o(1,0,null,null,7,"div",[["class","mat-list-item-content"]],[[2,"mat-list-item-content-reverse",null]],null,null,null,null)),(n()(),_o(2,0,null,null,1,"div",[["class","mat-list-item-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(3,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null),(n()(),_o(4,0,null,null,1,"mat-pseudo-checkbox",[["class","mat-pseudo-checkbox"]],[[2,"mat-pseudo-checkbox-indeterminate",null],[2,"mat-pseudo-checkbox-checked",null],[2,"mat-pseudo-checkbox-disabled",null],[2,"_mat-animation-noopable",null]],null,null,wI,yI)),Di(5,49152,null,0,Sv,[[2,SC]],{state:[0,"state"],disabled:[1,"disabled"]},null),(n()(),_o(6,0,[[1,0],["text",1]],null,1,"div",[["class","mat-list-text"]],null,null,null,null,null)),Po(null,0),Po(null,1)],(function(n,l){var e=l.component;n(l,3,0,e._isRippleDisabled(),e._getHostElement()),n(l,5,0,e.selected?"checked":"unchecked",e.disabled)}),(function(n,l){n(l,1,0,"after"==l.component.checkboxPosition),n(l,2,0,bi(l,3).unbounded),n(l,4,0,"indeterminate"===bi(l,5).state,"checked"===bi(l,5).state,bi(l,5).disabled,"NoopAnimations"===bi(l,5)._animationMode)}))}var DI=yt({encapsulation:2,styles:[".mat-subheader{display:flex;box-sizing:border-box;padding:16px;align-items:center}.mat-list-base .mat-subheader{margin:0}.mat-list-base{padding-top:8px;display:block;-webkit-tap-highlight-color:transparent}.mat-list-base .mat-subheader{height:48px;line-height:16px}.mat-list-base .mat-subheader:first-child{margin-top:-8px}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{display:block;height:48px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base .mat-list-item .mat-list-item-content,.mat-list-base .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base .mat-list-item .mat-list-item-content-reverse,.mat-list-base .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base .mat-list-item .mat-list-item-ripple,.mat-list-base .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar,.mat-list-base .mat-list-option.mat-list-item-with-avatar{height:56px}.mat-list-base .mat-list-item.mat-2-line,.mat-list-base .mat-list-option.mat-2-line{height:72px}.mat-list-base .mat-list-item.mat-3-line,.mat-list-base .mat-list-option.mat-3-line{height:88px}.mat-list-base .mat-list-item.mat-multi-line,.mat-list-base .mat-list-option.mat-multi-line{height:auto}.mat-list-base .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base .mat-list-item .mat-list-text,.mat-list-base .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base .mat-list-item .mat-list-text>*,.mat-list-base .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base .mat-list-item .mat-list-text:empty,.mat-list-base .mat-list-option .mat-list-text:empty{display:none}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base .mat-list-item .mat-list-avatar,.mat-list-base .mat-list-option .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%;object-fit:cover}.mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:72px;width:calc(100% - 72px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:72px}.mat-list-base .mat-list-item .mat-list-icon,.mat-list-base .mat-list-option .mat-list-icon{flex-shrink:0;width:24px;height:24px;font-size:24px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:64px;width:calc(100% - 64px)}[dir=rtl] .mat-list-base .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:64px}.mat-list-base .mat-list-item .mat-divider,.mat-list-base .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base .mat-list-item .mat-divider,[dir=rtl] .mat-list-base .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-list-base[dense]{padding-top:4px;display:block}.mat-list-base[dense] .mat-subheader{height:40px;line-height:8px}.mat-list-base[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list-base[dense] .mat-list-item,.mat-list-base[dense] .mat-list-option{display:block;height:40px;-webkit-tap-highlight-color:transparent;width:100%;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-item-content,.mat-list-base[dense] .mat-list-option .mat-list-item-content{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;padding:0 16px;position:relative;height:inherit}.mat-list-base[dense] .mat-list-item .mat-list-item-content-reverse,.mat-list-base[dense] .mat-list-option .mat-list-item-content-reverse{display:flex;align-items:center;padding:0 16px;flex-direction:row-reverse;justify-content:space-around}.mat-list-base[dense] .mat-list-item .mat-list-item-ripple,.mat-list-base[dense] .mat-list-option .mat-list-item-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar{height:48px}.mat-list-base[dense] .mat-list-item.mat-2-line,.mat-list-base[dense] .mat-list-option.mat-2-line{height:60px}.mat-list-base[dense] .mat-list-item.mat-3-line,.mat-list-base[dense] .mat-list-option.mat-3-line{height:76px}.mat-list-base[dense] .mat-list-item.mat-multi-line,.mat-list-base[dense] .mat-list-option.mat-multi-line{height:auto}.mat-list-base[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-list-base[dense] .mat-list-option.mat-multi-line .mat-list-item-content{padding-top:16px;padding-bottom:16px}.mat-list-base[dense] .mat-list-item .mat-list-text,.mat-list-base[dense] .mat-list-option .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0}.mat-list-base[dense] .mat-list-item .mat-list-text>*,.mat-list-base[dense] .mat-list-option .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list-base[dense] .mat-list-item .mat-list-text:empty,.mat-list-base[dense] .mat-list-option .mat-list-text:empty{display:none}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:0;padding-left:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content .mat-list-text{padding-right:16px;padding-left:0}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-left:0;padding-right:16px}[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-item.mat-list-option .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar .mat-list-item-content-reverse .mat-list-text,[dir=rtl] .mat-list-base[dense] .mat-list-option.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:0;padding-left:16px}.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-item.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content .mat-list-text,.mat-list-base[dense] .mat-list-option.mat-list-item-with-avatar.mat-list-option .mat-list-item-content-reverse .mat-list-text{padding-right:16px;padding-left:16px}.mat-list-base[dense] .mat-list-item .mat-list-avatar,.mat-list-base[dense] .mat-list-option .mat-list-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;object-fit:cover}.mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:68px;width:calc(100% - 68px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-avatar~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-avatar~.mat-divider-inset{margin-left:auto;margin-right:68px}.mat-list-base[dense] .mat-list-item .mat-list-icon,.mat-list-base[dense] .mat-list-option .mat-list-icon{flex-shrink:0;width:20px;height:20px;font-size:20px;box-sizing:content-box;border-radius:50%;padding:4px}.mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:60px;width:calc(100% - 60px)}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-list-icon~.mat-divider-inset,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-list-icon~.mat-divider-inset{margin-left:auto;margin-right:60px}.mat-list-base[dense] .mat-list-item .mat-divider,.mat-list-base[dense] .mat-list-option .mat-divider{position:absolute;bottom:0;left:0;width:100%;margin:0}[dir=rtl] .mat-list-base[dense] .mat-list-item .mat-divider,[dir=rtl] .mat-list-base[dense] .mat-list-option .mat-divider{margin-left:auto;margin-right:0}.mat-list-base[dense] .mat-list-item .mat-divider.mat-divider-inset,.mat-list-base[dense] .mat-list-option .mat-divider.mat-divider-inset{position:absolute}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item{cursor:pointer;outline:0}mat-action-list button{background:0 0;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:transparent;text-align:left}[dir=rtl] mat-action-list button{text-align:right}mat-action-list button::-moz-focus-inner{border:0}mat-action-list .mat-list-item{cursor:pointer;outline:inherit}.mat-list-option:not(.mat-list-item-disabled){cursor:pointer;outline:0}@media (-ms-high-contrast:active){.mat-selection-list:focus{outline-style:dotted}.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover,mat-action-list .mat-list-item:focus,mat-action-list .mat-list-item:hover{outline:dotted 1px}}@media (hover:none){.mat-action-list .mat-list-item:not(.mat-list-item-disabled):hover,.mat-list-option:not(.mat-list-item-disabled):hover,.mat-nav-list .mat-list-item:not(.mat-list-item-disabled):hover{background:0 0}}"],data:{}});function FI(n){return jo(2,[Po(null,0)],null,null)}var EI=yt({encapsulation:2,styles:[".mat-divider{display:block;margin:0;border-top-width:1px;border-top-style:solid}.mat-divider.mat-divider-vertical{border-top:0;border-right-width:1px;border-right-style:solid}.mat-divider.mat-divider-inset{margin-left:80px}[dir=rtl] .mat-divider.mat-divider-inset{margin-left:auto;margin-right:80px}"],data:{}});function OI(n){return jo(2,[],null,null)}var TI=function(){function n(n){this.headerService=n,this.lang=Kr,this.administrations=[{id:"admin_users",label:this.lang.users,comment:this.lang.adminUsersDesc,route:"/administration/users",unit:"organisation",style:"fa fa-user",angular:!0,hasParams:!0},{id:"admin_groups",label:this.lang.groups,comment:this.lang.adminGroupsDesc,route:"/administration/groups",unit:"organisation",style:"fa fa-users",angular:!0,hasParams:!1},{id:"manage_entities",label:this.lang.entities,comment:this.lang.adminEntitiesDesc,route:"/administration/entities",unit:"organisation",style:"fa fa-sitemap",angular:!0,hasParams:!1},{id:"admin_listmodels",label:this.lang.workflowModels,comment:this.lang.adminWorkflowModelsDesc,route:"/administration/diffusionModels",unit:"organisation",style:"fa fa-th-list",angular:!0,hasParams:!1},{id:"admin_architecture",label:this.lang.documentTypes,comment:this.lang.adminDocumentTypesDesc,route:"/administration/doctypes",unit:"classement",style:"fa fa-suitcase",angular:!0,hasParams:!1},{id:"admin_tag",label:this.lang.tags,comment:this.lang.adminTagsDesc,route:"/administration/tags",unit:"classement",style:"fa fa-tags",angular:!0,hasParams:!1},{id:"admin_baskets",label:this.lang.baskets,comment:this.lang.adminBasketsDesc,route:"/administration/baskets",unit:"production",style:"fa fa-inbox",angular:!0,hasParams:!1},{id:"admin_status",label:this.lang.statuses,comment:this.lang.statusesAdmin,route:"/administration/statuses",unit:"production",style:"fa fa-check-circle",angular:!0,hasParams:!1},{id:"admin_actions",label:this.lang.actions,comment:this.lang.actionsAdmin,route:"/administration/actions",unit:"production",style:"fa fa-exchange-alt",angular:!0,hasParams:!1},{id:"admin_contacts",label:this.lang.contacts,comment:this.lang.contactsAdmin,route:"/administration/contacts",unit:"production",style:"fa fa-address-book",angular:!0,hasParams:!1},{id:"admin_priorities",label:this.lang.prioritiesAlt,comment:this.lang.prioritiesAlt,route:"/administration/priorities",unit:"production",style:"fa fa-clock",angular:!0,hasParams:!1},{id:"admin_templates",label:this.lang.templates,comment:this.lang.templatesAdmin,route:"/administration/templates",unit:"production",style:"fa fa-file-alt",angular:!0,hasParams:!1},{id:"admin_indexing_models",label:this.lang.indexingModels,comment:this.lang.indexingModels,route:"/administration/indexingModels",unit:"production",style:"fab fa-wpforms",angular:!0,hasParams:!1},{id:"admin_custom_fields",label:this.lang.customFieldsAdmin,comment:this.lang.customFieldsAdmin,route:"/administration/customFields",unit:"production",style:"fa fa-code",angular:!0,hasParams:!1},{id:"admin_notif",label:this.lang.notifications,comment:this.lang.notificationsAdmin,route:"/administration/notifications",unit:"production",style:"fa fa-bell",angular:!0,hasParams:!1},{id:"update_status_mail",label:this.lang.updateStatus,comment:this.lang.updateStatus,route:"/administration/update-status",unit:"supervision",style:"fa fa-envelope-square",angular:!0,hasParams:!1},{id:"admin_docservers",label:this.lang.docservers,comment:this.lang.docserversAdmin,route:"/administration/docservers",unit:"supervision",style:"fa fa-hdd",angular:!0,hasParams:!1},{id:"admin_parameters",label:this.lang.parameters,comment:this.lang.parameters,route:"/administration/parameters",unit:"supervision",style:"fa fa-wrench",angular:!0,hasParams:!1},{id:"admin_password_rules",label:this.lang.securities,comment:this.lang.securities,route:"/administration/securities",unit:"supervision",style:"fa fa-lock",angular:!0,hasParams:!1},{id:"admin_email_server",label:this.lang.emailServerParam,comment:this.lang.emailServerParamDesc,route:"/administration/sendmail",unit:"supervision",style:"fa fa-mail-bulk",angular:!0,hasParams:!1},{id:"admin_shippings",label:this.lang.mailevaAdmin,comment:this.lang.mailevaAdminDesc,route:"/administration/shippings",unit:"supervision",style:"fa fa-shipping-fast",angular:!0,hasParams:!1},{id:"admin_reports",label:this.lang.reports,comment:this.lang.reportsAdmin,route:"/administration/reports",unit:"supervision",style:"fa fa-chart-area",angular:!0,hasParams:!1},{id:"view_history",label:this.lang.history,comment:this.lang.viewHistoryDesc,route:"/administration/history",unit:"supervision",style:"fa fa-history",angular:!0,hasParams:!1},{id:"view_history_batch",label:this.lang.historyBatch,comment:this.lang.historyBatchAdmin,route:"/administration/history-batch",unit:"supervision",style:"fa fa-history",angular:!0,hasParams:!1},{id:"admin_update_control",label:this.lang.updateControl,comment:this.lang.updateControlDesc,route:"/administration/versions-update",unit:"supervision",style:"fa fa-sync",angular:!0,hasParams:!1},{id:"admin_alfresco",label:this.lang.alfresco,comment:this.lang.adminAlfrescoDesc,route:"/administration/alfresco",unit:"supervision",style:"far fa-folder-open",angular:!0,hasParams:!1}],this.privileges=[{id:"view_doc_history",label:this.lang.viewDocHistory,comment:this.lang.viewHistoryDesc,unit:"history"},{id:"view_full_history",label:this.lang.viewFullHistory,comment:this.lang.viewFullHistoryDesc,unit:"history"},{id:"edit_resource",label:this.lang.editResource,comment:this.lang.editResourceDesc,unit:"application"},{id:"add_links",label:this.lang.addLinks,comment:this.lang.addLinks,unit:"application"},{id:"manage_tags_application",label:this.lang.manageTagsInApplication,comment:this.lang.manageTagsInApplicationDesc,unit:"application"},{id:"create_contacts",label:this.lang.manageCreateContacts,comment:this.lang.manageCreateContactsDesc,unit:"application"},{id:"update_contacts",label:this.lang.manageUpdateContacts,comment:this.lang.manageUpdateContactsDesc,unit:"application"},{id:"update_diffusion_indexing",label:this.lang.allRoles,comment:this.lang.updateDiffusionWhileIndexing,unit:"diffusionList"},{id:"update_diffusion_except_recipient_indexing",label:this.lang.rolesExceptAssignee,comment:this.lang.updateDiffusionExceptRecipientWhileIndexing,unit:"diffusionList"},{id:"update_diffusion_process",label:this.lang.allRoles,comment:this.lang.updateDiffusionWhileProcess,unit:"diffusionList"},{id:"update_diffusion_except_recipient_process",label:this.lang.rolesExceptAssignee,comment:this.lang.updateDiffusionExceptRecipientWhileProcess,unit:"diffusionList"},{id:"update_diffusion_details",label:this.lang.allRoles,comment:this.lang.updateDiffusionWhileDetails,unit:"diffusionList"},{id:"update_diffusion_except_recipient_details",label:this.lang.rolesExceptAssignee,comment:this.lang.updateDiffusionExceptRecipientWhileDetails,unit:"diffusionList"},{id:"sendmail",label:this.lang.sendmail,comment:this.lang.sendmail,unit:"sendmail"},{id:"use_mail_services",label:this.lang.useMailServices,comment:this.lang.useMailServices,unit:"sendmail"},{id:"view_documents_with_notes",label:this.lang.viewDocumentsWithNotes,comment:this.lang.viewDocumentsWithNotesDesc,unit:"application"},{id:"view_technical_infos",label:this.lang.viewTechnicalInformation,comment:this.lang.viewTechnicalInformation,unit:"application"},{id:"config_avis_workflow",label:this.lang.configAvisWorkflow,comment:this.lang.configAvisWorkflowDesc,unit:"avis"},{id:"config_avis_workflow_in_detail",label:this.lang.configAvisWorkflowInDetail,comment:this.lang.configAvisWorkflowInDetailDesc,unit:"avis"},{id:"avis_documents",label:this.lang.avisAnswer,comment:this.lang.avisAnswerDesc,unit:"avis"},{id:"config_visa_workflow",label:this.lang.configVisaWorkflow,comment:this.lang.configVisaWorkflowDesc,unit:"visaWorkflow"},{id:"config_visa_workflow_in_detail",label:this.lang.configVisaWorkflowInDetail,comment:this.lang.configVisaWorkflowInDetailDesc,unit:"visaWorkflow"},{id:"visa_documents",label:this.lang.visaAnswers,comment:this.lang.visaAnswersDesc,unit:"visaWorkflow"},{id:"sign_document",label:this.lang.signDocs,comment:this.lang.signDocs,unit:"visaWorkflow"},{id:"modify_visa_in_signatureBook",label:this.lang.modifyVisaInSignatureBook,comment:this.lang.modifyVisaInSignatureBookDesc,unit:"visaWorkflow"},{id:"print_folder_doc",label:this.lang.printFolderDoc,comment:this.lang.printFolderDoc,unit:"application"},{id:"manage_attachments",label:this.lang.manageAttachments,comment:this.lang.manageAttachments,unit:"application"},{id:"view_personal_data",label:this.lang.viewPersonalData,comment:this.lang.viewPersonalData,unit:"confidentialityAndSecurity"},{id:"manage_personal_data",label:this.lang.managePersonalData,comment:this.lang.managePersonalData,unit:"confidentialityAndSecurity"},{id:"include_folders_and_followed_resources_perimeter",label:this.lang.includeFolderPerimeter,comment:this.lang.includeFolderPerimeter,unit:"application"}],this.menus=[{id:"admin",label:this.lang.administration,comment:this.lang.administration,route:"/administration",style:"fa fa-cogs",unit:"application",angular:!0,shortcut:!0},{id:"adv_search_mlb",label:this.lang.search,comment:this.lang.search,route:"index.php?page=search_adv&dir=indexing_searching",style:"fa fa-search",unit:"application",angular:!1,shortcut:!0},{id:"entities_print_sep_mlb",label:this.lang.entitiesSeparator,comment:this.lang.entitiesSeparator,route:"/separators/print",style:"fa fa-print",unit:"entities",angular:!0,shortcut:!1},{id:"reports",label:this.lang.reports,comment:this.lang.reports,route:"index.php?page=reports&module=reports",style:"fa fa-chart-area",unit:"reports",angular:!1,shortcut:!1},{id:"manage_numeric_package",label:this.lang.manageNumericPackage,comment:this.lang.manageNumericPackage,route:"/saveNumericPackage",style:"fa fa-file-archive",unit:"sendmail",angular:!0,shortcut:!1}],this.shortcuts=[{id:"followed",label:this.lang.followedMail,comment:this.lang.followedMail,route:"/followed",style:"fas fa-star",unit:"application",angular:!0,shortcut:!0}]}return n.prototype.getAllPrivileges=function(){var n=[];return(n=(n=n.concat(this.privileges.map((function(n){return n.id})))).concat(this.administrations.map((function(n){return n.id})))).concat(this.menus.map((function(n){return n.id})))},n.prototype.getPrivileges=function(n){return void 0===n&&(n=null),null!==n?this.privileges.filter((function(l){return n.indexOf(l.id)>-1})):this.privileges},n.prototype.getUnitsPrivileges=function(){return this.privileges.map((function(n){return n.unit})).filter((function(n,l,e){return e.indexOf(n)===l}))},n.prototype.getPrivilegesByUnit=function(n){return this.privileges.filter((function(l){return l.unit===n}))},n.prototype.getMenus=function(){return this.menus},n.prototype.getCurrentUserMenus=function(){var n=this,l=this.menus.filter((function(l){return n.headerService.user.privileges.indexOf(l.id)>-1}));if(this.headerService.user.groups.filter((function(n){return!0===n.can_index})).length>0){var e=[];this.headerService.user.groups.filter((function(n){return!0===n.can_index})).forEach((function(n){e.push({id:n.id,label:n.group_desc})})),l.push({id:"indexing",label:this.lang.recordMail,comment:this.lang.recordMail,route:"/indexing/"+e[0].id,style:"fa fa-file-medical",unit:"application",angular:!0,shortcut:!0,groups:e})}return l},n.prototype.getMenusByUnit=function(n){return this.menus.filter((function(l){return l.unit===n}))},n.prototype.getUnitsMenus=function(){return this.menus.map((function(n){return n.unit})).filter((function(n,l,e){return e.indexOf(n)===l}))},n.prototype.resfreshUserShortcuts=function(){var n=this;if(this.shortcuts=[{id:"followed",label:this.lang.followedMail,comment:this.lang.followedMail,route:"/followed",style:"fas fa-star",unit:"application",angular:!0,shortcut:!0}],this.shortcuts=this.shortcuts.concat(this.menus.filter((function(n){return!0===n.shortcut})).filter((function(l){return n.headerService.user.privileges.indexOf(l.id)>-1}))),this.headerService.user.groups.filter((function(n){return!0===n.can_index})).length>0){var l=[];this.headerService.user.groups.filter((function(n){return!0===n.can_index})).forEach((function(n){l.push({id:n.id,label:n.group_desc})})),this.shortcuts.push({id:"indexing",label:this.lang.recordMail,comment:this.lang.recordMail,route:"/indexing",style:"fa fa-file-medical",unit:"application",angular:!0,shortcut:!0,groups:l})}},n.prototype.getAdministrations=function(){return this.administrations},n.prototype.getCurrentUserAdministrationsByUnit=function(n){var l=this;return this.hasCurrentUserPrivilege("view_history")&&this.hasCurrentUserPrivilege("view_history_batch")?this.administrations.filter((function(l){return l.unit===n})).filter((function(n){return l.headerService.user.privileges.indexOf(n.id)>-1})).filter((function(n){return"view_history_batch"!==n.id})):this.administrations.filter((function(l){return l.unit===n})).filter((function(n){return l.headerService.user.privileges.indexOf(n.id)>-1}))},n.prototype.hasCurrentUserPrivilege=function(n){return this.headerService.user.privileges.indexOf(n)>-1},n}(),LI=function(){function n(n,l,e,t,i,a){this.http=n,this._router=l,this.dialog=e,this.appService=t,this.privilegeService=i,this.headerService=a,this.lang=Kr,this.config={},this.speedDialFabButtons=[],this.speedDialFabColumnDirection="column",this.router=l}return n.prototype.ngOnInit=function(){},n.prototype.onSpeedDialFabClicked=function(n,l){this.router.navigate(["/indexing/"+n.id])},n.prototype.gotToMenu=function(n){"indexing"===n.id?this.router.navigate([n.route+"/"+n.groups[0].id]):!0===n.angular?this.router.navigate([n.route]):location.href=n.route},n}(),RI=function(){function n(n,l,e,t){this.http=n,this.router=l,this.data=e,this.dialogRef=t,this.lang=Kr}return n.prototype.goTo=function(n){this.router.navigate(["/indexing/"+n.id]),this.dialogRef.close()},n}(),NI=yt({encapsulation:0,styles:[[".button-row[_ngcontent-%COMP%] .mat-fab[_ngcontent-%COMP%]{border:2px solid #135f7f;color:#135f7f}.mat-fab[_ngcontent-%COMP%] .mat-button-wrapper{padding:0}.speedDialLabel[_ngcontent-%COMP%]{margin-left:-220px!important;width:200px;text-align:right;z-index:0;font-weight:700}.smd-opened[_ngcontent-%COMP%] .speedDialLabel[_ngcontent-%COMP%]{-webkit-transition:opacity 1s ease-in!important;transition:opacity 1s ease-in!important;display:block!important}.mat-icon[_ngcontent-%COMP%]{height:auto!important}.mat-badge-content[_ngcontent-%COMP%]{width:auto;min-width:25px;min-height:25px;text-align:center;-webkit-box-align:center;align-items:center;padding:2px;font-size:15px;top:-7px!important;right:-8px!important}"]],data:{}});function jI(n){return jo(0,[(n()(),_o(0,0,null,null,6,"span",[["style","flex:1;text-align: left;padding: 5px;"]],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,5,"button",[["color","default"],["mat-fab",""],["matTooltipPosition","above"],["style","z-index: 9999;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(t=!1!==i.gotToMenu(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{position:[0,"position"],message:[1,"message"]},null),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["role","img"],["style","height:auto;font-size:22px;"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(6,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null)],(function(n,l){var e=l.component;n(l,2,0,"above",Wt(1,"",l.parent.context.$implicit.label,"")),n(l,3,0,"default"),n(l,5,0),n(l,6,0,Wt(1,"",e.headerService.nbResourcesFollowed,""),Wt(1,"","followed"!=l.parent.context.$implicit.id,""))}),(function(n,l){n(l,1,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,1,[Wt(1,"fa ",l.parent.context.$implicit.style,""),bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color,bi(l,6).overlap,bi(l,6).isAbove(),!bi(l,6).isAbove(),!bi(l,6).isAfter(),bi(l,6).isAfter(),"small"===bi(l,6).size,"medium"===bi(l,6).size,"large"===bi(l,6).size,bi(l,6).hidden||!bi(l,6)._hasContent,bi(l,6).disabled])}))}function VI(n){return jo(0,[(n()(),_o(0,0,null,null,6,"button",[["color","primary"],["mat-mini-fab",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSpeedDialFabClicked(n.context.$implicit,n.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,[[2,4]],0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,2,"span",[["class","speedDialLabel"],["color","primary"],["style","display:none;position: absolute;margin-left: 20px;margin-top: -5px;"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),Fo(4,3),(n()(),_o(5,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,6,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode);var e=bt(l,3,0,n(l,4,0,bi(l.parent.parent.parent,1),l.context.$implicit.label,20,"..."));n(l,3,0,e),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function qI(n){return jo(0,[(n()(),_o(0,0,null,null,15,"span",[["style","flex:1;text-align: left;padding: 5px;position: relative;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"smd-fab-speed-dial",[["animationMode","fling"],["direction","down"],["fixed","false"]],[[2,"smd-opened",null]],[[null,"mouseenter"],[null,"mouseleave"],[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._onClick()&&t),"mouseenter"===l&&(t=0!=(bi(n,2).open=!0)&&t),"mouseleave"===l&&(t=0!=(bi(n,2).open=!1)&&t),t}),BS,US)),Di(2,1097728,[["myFab",4]],1,NS,[Pe,Te],{fixed:[0,"fixed"],direction:[1,"direction"],animationMode:[2,"animationMode"]},null),ko(335544320,1,{_childActions:0}),(n()(),_o(4,0,null,0,5,"smd-fab-trigger",[["spin","true"]],[[2,"smd-spin",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._onClick(e)&&t),t}),VS,jS)),Di(5,49152,null,0,LS,[NS],{spin:[0,"spin"]},null),(n()(),_o(6,0,null,0,3,"button",[["color","default"],["mat-fab",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","font-size:22px;"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(10,0,null,1,5,"smd-fab-actions",[],null,null,null,zS,qS)),Di(11,1097728,[[1,4]],1,RS,[NS,Te],null,null),ko(603979776,2,{_buttons:1}),(n()(),vo(16777216,null,0,2,null,VI)),Di(14,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(15,2)],(function(n,l){n(l,2,0,"false","down","fling"),n(l,5,0,"true"),n(l,7,0,"default"),n(l,9,0);var e=bt(l,14,0,n(l,15,0,bi(l.parent.parent,0),l.parent.context.$implicit.groups,"label"));n(l,14,0,e)}),(function(n,l){n(l,1,0,bi(l,2).open),n(l,4,0,bi(l,5).spin),n(l,6,0,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,Wt(1,"fa ",l.parent.context.$implicit.style," spin360"),bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function zI(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,jI)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qI)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"indexing"==l.context.$implicit.id&&l.context.$implicit.groups.length<=1||"indexing"!=l.context.$implicit.id),n(l,4,0,"indexing"==l.context.$implicit.id&&l.context.$implicit.groups.length>1)}),null)}function UI(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,YS,[]),(n()(),_o(2,0,null,null,1,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"],["style","position:relative;"]],null,null,null,CI,xI)),Di(3,704512,null,0,eI,[],null,null),(n()(),_o(4,0,null,null,4,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(5,704512,null,0,eI,[],null,null),(n()(),_o(6,0,null,0,2,"div",[["class","button-row"],["style","padding-left: 10px;padding-right: 10px;display: flex;width: 300px;margin-top: -10px;margin-bottom: 10px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,zI)),Di(8,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(9,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(10,49152,null,0,mI,[],null,null)],(function(n,l){n(l,8,0,l.component.privilegeService.shortcuts)}),(function(n,l){n(l,9,0,bi(l,10).vertical?"vertical":"horizontal",bi(l,10).vertical,!bi(l,10).vertical,bi(l,10).inset)}))}var BI=yt({encapsulation:0,styles:[".mat-dialog-content[_ngcontent-%COMP%]{max-height: 65vh;width:600px;}"],data:{}});function $I(n){return jo(0,[(n()(),_o(0,0,null,null,11,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goTo(n.context.$implicit)&&t),t}),AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-users mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,7,0,"primary")}),(function(n,l){n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function HI(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h2",[["class","mat-dialog-title"],["color","primary"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,5,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(7,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,$I)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,9,0,e.data.indexingGroups)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.chooseIndexationProfil)}))}function GI(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,HI,BI)),Di(1,49152,null,0,RI,[nS,uf,Gv,Hv],null,null)],null,null)}var WI=oi("ng-component",RI,GI,{},{},[]),KI=function(){return function(n,l){this.data=n,this.dialogRef=l,this.lang=Kr,null===this.data.msg&&(this.data.msg="")}}(),YI=yt({encapsulation:0,styles:[[".alert-message-info[_ngcontent-%COMP%]{margin:0;font-size:16px}"]],data:{}});function JI(n){return jo(0,[(n()(),_o(0,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(1,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(2,null,["",""]))],(function(n,l){n(l,1,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.data.title)}))}function ZI(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(1,16384,null,0,n_,[],null,null),(n()(),_o(2,0,null,null,0,"div",[["class","alert-message alert-message-info"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,2,0,l.component.data.msg)}))}function QI(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,JI)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ZI)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,4,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(7,16384,null,0,l_,[],null,null),(n()(),_o(8,0,null,null,2,"button",[["class","actions"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(9,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(10,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0,""!==e.data.title),n(l,4,0,""!==e.data.msg),n(l,9,0,"primary")}),(function(n,l){var e=l.component;n(l,8,0,bi(l,9).disabled||null,"NoopAnimations"===bi(l,9)._animationMode),n(l,10,0,e.lang.ok)}))}function XI(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,QI,YI)),Di(1,49152,null,0,KI,[Gv,Hv],null,null)],null,null)}var nA=oi("ng-component",KI,XI,{},{},[]),lA=new On("mat-checkbox-click-action"),eA=0,tA=function(){var n={Init:0,Checked:1,Unchecked:2,Indeterminate:3};return n[n.Init]="Init",n[n.Checked]="Checked",n[n.Unchecked]="Unchecked",n[n.Indeterminate]="Indeterminate",n}(),iA=function(){return function(){}}(),aA=function(n){function l(l,e,t,i,a,o,r){var u=n.call(this,l)||this;return u._changeDetectorRef=e,u._focusMonitor=t,u._ngZone=i,u._clickAction=o,u._animationMode=r,u.ariaLabel="",u.ariaLabelledby=null,u._uniqueId="mat-checkbox-"+ ++eA,u.id=u._uniqueId,u.labelPosition="after",u.name=null,u.change=new la,u.indeterminateChange=new la,u._onTouched=function(){},u._currentAnimationClass="",u._currentCheckState=tA.Init,u._controlValueAccessorChangeFn=function(){},u._checked=!1,u._disabled=!1,u._indeterminate=!1,u.tabIndex=parseInt(a)||0,u._focusMonitor.monitor(l,!0).subscribe((function(n){n||Promise.resolve().then((function(){u._onTouched(),e.markForCheck()}))})),u}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"required",{get:function(){return this._required},set:function(n){this._required=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.ngAfterViewChecked=function(){},l.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},Object.defineProperty(l.prototype,"checked",{get:function(){return this._checked},set:function(n){n!=this.checked&&(this._checked=n,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disabled",{get:function(){return this._disabled},set:function(n){var l=Yf(n);l!==this.disabled&&(this._disabled=l,this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"indeterminate",{get:function(){return this._indeterminate},set:function(n){var l=n!=this._indeterminate;this._indeterminate=n,l&&(this._transitionCheckState(this._indeterminate?tA.Indeterminate:this.checked?tA.Checked:tA.Unchecked),this.indeterminateChange.emit(this._indeterminate))},enumerable:!0,configurable:!0}),l.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},l.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},l.prototype.writeValue=function(n){this.checked=!!n},l.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},l.prototype.registerOnTouched=function(n){this._onTouched=n},l.prototype.setDisabledState=function(n){this.disabled=n},l.prototype._getAriaChecked=function(){return this.checked?"true":this.indeterminate?"mixed":"false"},l.prototype._transitionCheckState=function(n){var l=this._currentCheckState,e=this._elementRef.nativeElement;if(l!==n&&(this._currentAnimationClass.length>0&&e.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(l,n),this._currentCheckState=n,this._currentAnimationClass.length>0)){e.classList.add(this._currentAnimationClass);var t=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){e.classList.remove(t)}),1e3)}))}},l.prototype._emitChangeEvent=function(){var n=new iA;n.source=this,n.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(n)},l.prototype.toggle=function(){this.checked=!this.checked},l.prototype._onInputClick=function(n){var l=this;n.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){l._indeterminate=!1,l.indeterminateChange.emit(l._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?tA.Checked:tA.Unchecked),this._emitChangeEvent())},l.prototype.focus=function(n,l){void 0===n&&(n="keyboard"),this._focusMonitor.focusVia(this._inputElement,n,l)},l.prototype._onInteractionEvent=function(n){n.stopPropagation()},l.prototype._getAnimationClassForCheckStateTransition=function(n,l){if("NoopAnimations"===this._animationMode)return"";var e="";switch(n){case tA.Init:if(l===tA.Checked)e="unchecked-checked";else{if(l!=tA.Indeterminate)return"";e="unchecked-indeterminate"}break;case tA.Unchecked:e=l===tA.Checked?"unchecked-checked":"unchecked-indeterminate";break;case tA.Checked:e=l===tA.Unchecked?"checked-unchecked":"checked-indeterminate";break;case tA.Indeterminate:e=l===tA.Checked?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+e},l}(Jb(Kb(Yb(Wb(function(){return function(n){this._elementRef=n}}())),"accent"))),oA=function(){return function(){}}(),rA=function(){return function(){}}(),uA=yt({encapsulation:2,styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}@media (-ms-high-contrast:active){.mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media (hover:none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.13333px}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0);border-radius:2px}@media (-ms-high-contrast:active){.mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}"],data:{}});function sA(n){return jo(2,[ko(671088640,1,{_inputElement:0}),ko(671088640,2,{ripple:0}),(n()(),_o(2,0,[["label",1]],null,16,"label",[["class","mat-checkbox-layout"]],[[1,"for",0]],null,null,null,null)),(n()(),_o(3,0,null,null,10,"div",[["class","mat-checkbox-inner-container"]],[[2,"mat-checkbox-inner-container-no-side-margin",null]],null,null,null,null)),(n()(),_o(4,0,[[1,0],["input",1]],null,0,"input",[["class","mat-checkbox-input cdk-visually-hidden"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"checked",0],[1,"value",0],[8,"disabled",0],[1,"name",0],[8,"tabIndex",0],[8,"indeterminate",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-checked",0]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"change"===l&&(t=!1!==i._onInteractionEvent(e)&&t),"click"===l&&(t=!1!==i._onInputClick(e)&&t),t}),null,null)),(n()(),_o(5,0,null,null,3,"div",[["class","mat-checkbox-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(6,212992,[[2,4]],0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),Oo(7,{enterDuration:0}),(n()(),_o(8,0,null,null,0,"div",[["class","mat-ripple-element mat-checkbox-persistent-ripple"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,0,"div",[["class","mat-checkbox-frame"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,3,"div",[["class","mat-checkbox-background"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,":svg:svg",[[":xml:space","preserve"],["class","mat-checkbox-checkmark"],["focusable","false"],["version","1.1"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,0,":svg:path",[["class","mat-checkbox-checkmark-path"],["d","M4.1,12.7 9,17.6 20.3,6.3"],["fill","none"],["stroke","white"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,0,"div",[["class","mat-checkbox-mixedmark"]],null,null,null,null,null)),(n()(),_o(14,0,[["checkboxLabel",1]],null,4,"span",[["class","mat-checkbox-label"]],null,[[null,"cdkObserveContent"]],(function(n,l,e){var t=!0;return"cdkObserveContent"===l&&(t=!1!==n.component._onLabelTextChange()&&t),t}),null,null)),Di(15,1196032,null,0,fb,[mb,Pe,La],null,{event:"cdkObserveContent"}),(n()(),_o(16,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),Po(null,0)],(function(n,l){var e=l.component,t=n(l,7,0,150);n(l,6,0,!0,20,t,e._isRippleDisabled(),bi(l,2))}),(function(n,l){var e=l.component;n(l,2,0,e.inputId),n(l,3,0,!bi(l,14).textContent||!bi(l,14).textContent.trim()),n(l,4,1,[e.inputId,e.required,e.checked,e.value,e.disabled,e.name,e.tabIndex,e.indeterminate,e.ariaLabel||null,e.ariaLabelledby,e._getAriaChecked()]),n(l,5,0,bi(l,6).unbounded)}))}var cA=function(){function n(){}return n.prototype.setAppSession=function(n){this.appSession=n},n.prototype.getAppSession=function(){return this.appSession},n.prototype.save=function(n,l){localStorage.setItem(n+"_"+this.getAppSession(),l)},n.prototype.get=function(n){return localStorage.getItem(n+"_"+this.getAppSession())},n.prototype.remove=function(n){localStorage.removeItem(n+"_"+this.getAppSession())},n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),dA=function(){function n(n,l,e,t){this.data=n,this.dialogRef=l,this.headerService=e,this.localStorage=t,this.lang=Kr,this.idModal=null,void 0!==this.data.idModal&&(this.idModal=this.data.idModal),null===this.data.msg&&(this.data.msg=""),void 0===this.data.buttonCancel&&(this.data.buttonCancel=this.lang.cancel),void 0===this.data.buttonValidate&&(this.data.buttonValidate=this.lang.ok)}return n.prototype.hideModal=function(){""!==this.idModal?this.localStorage.save("modal_"+this.idModal+"_"+this.headerService.user.id,!0):alert("No idModal provided!")},n}(),pA=yt({encapsulation:0,styles:[[".alert-message-info[_ngcontent-%COMP%]{margin:0;font-size:16px}"]],data:{}});function mA(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.hideModal()&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(2,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"]},{change:"change"}),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).id,null,bi(l,2).indeterminate,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang.hideModal)}))}function fA(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(1,16384,null,0,n_,[],null,null),(n()(),_o(2,0,null,null,0,"div",[["class","alert-message alert-message-info"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,mA)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,4,0,null!==l.component.idModal)}),(function(n,l){n(l,2,0,l.component.data.msg)}))}function hA(n){return jo(0,[(n()(),_o(0,0,null,null,14,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),vo(16777216,null,null,1,null,fA)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(8,16384,null,0,l_,[],null,null),(n()(),_o(9,0,null,null,2,"button",[["class","actions"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close("ok")&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(11,0,["",""])),(n()(),_o(12,0,null,null,2,"button",[["cdkFocusInitial",""],["class","actions"],["color",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close("")&&t),t}),PC,MC)),Di(13,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(14,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,5,0,""!==e.data.msg),n(l,10,0,"primary"),n(l,13,0,"")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.data.title),n(l,9,0,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,e.data.buttonValidate),n(l,12,0,bi(l,13).disabled||null,"NoopAnimations"===bi(l,13)._animationMode),n(l,14,0,e.data.buttonCancel)}))}function gA(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,hA,pA)),Di(1,49152,null,0,dA,[Gv,Hv,_u,cA],null,null)],null,null)}var bA=oi("ng-component",dA,gA,{},{},[]);function vA(){}var _A=function(n){return null==n?vA:function(){return this.querySelector(n)}};function yA(){return[]}var wA=function(n){return null==n?yA:function(){return this.querySelectorAll(n)}},xA=function(n){return function(){return this.matches(n)}},CA=function(n){return new Array(n.length)};function kA(n,l){this.ownerDocument=n.ownerDocument,this.namespaceURI=n.namespaceURI,this._next=null,this._parent=n,this.__data__=l}kA.prototype={constructor:kA,appendChild:function(n){return this._parent.insertBefore(n,this._next)},insertBefore:function(n,l){return this._parent.insertBefore(n,l)},querySelector:function(n){return this._parent.querySelector(n)},querySelectorAll:function(n){return this._parent.querySelectorAll(n)}};var SA="$";function IA(n,l,e,t,i,a){for(var o,r=0,u=l.length,s=a.length;r<s;++r)(o=l[r])?(o.__data__=a[r],t[r]=o):e[r]=new kA(n,a[r]);for(;r<u;++r)(o=l[r])&&(i[r]=o)}function AA(n,l,e,t,i,a,o){var r,u,s,c={},d=l.length,p=a.length,m=new Array(d);for(r=0;r<d;++r)(u=l[r])&&(m[r]=s=SA+o.call(u,u.__data__,r,l),s in c?i[r]=u:c[s]=u);for(r=0;r<p;++r)(u=c[s=SA+o.call(n,a[r],r,a)])?(t[r]=u,u.__data__=a[r],c[s]=null):e[r]=new kA(n,a[r]);for(r=0;r<d;++r)(u=l[r])&&c[m[r]]===u&&(i[r]=u)}function MA(n,l){return n<l?-1:n>l?1:n>=l?0:NaN}var PA="http://www.w3.org/1999/xhtml",DA={svg:"http://www.w3.org/2000/svg",xhtml:PA,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},FA=function(n){var l=n+="",e=l.indexOf(":");return e>=0&&"xmlns"!==(l=n.slice(0,e))&&(n=n.slice(e+1)),DA.hasOwnProperty(l)?{space:DA[l],local:n}:n};function EA(n){return function(){this.removeAttribute(n)}}function OA(n){return function(){this.removeAttributeNS(n.space,n.local)}}function TA(n,l){return function(){this.setAttribute(n,l)}}function LA(n,l){return function(){this.setAttributeNS(n.space,n.local,l)}}function RA(n,l){return function(){var e=l.apply(this,arguments);null==e?this.removeAttribute(n):this.setAttribute(n,e)}}function NA(n,l){return function(){var e=l.apply(this,arguments);null==e?this.removeAttributeNS(n.space,n.local):this.setAttributeNS(n.space,n.local,e)}}var jA=function(n){return n.ownerDocument&&n.ownerDocument.defaultView||n.document&&n||n.defaultView};function VA(n){return function(){this.style.removeProperty(n)}}function qA(n,l,e){return function(){this.style.setProperty(n,l,e)}}function zA(n,l,e){return function(){var t=l.apply(this,arguments);null==t?this.style.removeProperty(n):this.style.setProperty(n,t,e)}}function UA(n,l){return n.style.getPropertyValue(l)||jA(n).getComputedStyle(n,null).getPropertyValue(l)}function BA(n){return function(){delete this[n]}}function $A(n,l){return function(){this[n]=l}}function HA(n,l){return function(){var e=l.apply(this,arguments);null==e?delete this[n]:this[n]=e}}function GA(n){return n.trim().split(/^|\s+/)}function WA(n){return n.classList||new KA(n)}function KA(n){this._node=n,this._names=GA(n.getAttribute("class")||"")}function YA(n,l){for(var e=WA(n),t=-1,i=l.length;++t<i;)e.add(l[t])}function JA(n,l){for(var e=WA(n),t=-1,i=l.length;++t<i;)e.remove(l[t])}function ZA(n){return function(){YA(this,n)}}function QA(n){return function(){JA(this,n)}}function XA(n,l){return function(){(l.apply(this,arguments)?YA:JA)(this,n)}}function nM(){this.textContent=""}function lM(n){return function(){this.textContent=n}}function eM(n){return function(){var l=n.apply(this,arguments);this.textContent=null==l?"":l}}function tM(){this.innerHTML=""}function iM(n){return function(){this.innerHTML=n}}function aM(n){return function(){var l=n.apply(this,arguments);this.innerHTML=null==l?"":l}}function oM(){this.nextSibling&&this.parentNode.appendChild(this)}function rM(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function uM(n){return function(){var l=this.ownerDocument,e=this.namespaceURI;return e===PA&&l.documentElement.namespaceURI===PA?l.createElement(n):l.createElementNS(e,n)}}function sM(n){return function(){return this.ownerDocument.createElementNS(n.space,n.local)}}KA.prototype={add:function(n){this._names.indexOf(n)<0&&(this._names.push(n),this._node.setAttribute("class",this._names.join(" ")))},remove:function(n){var l=this._names.indexOf(n);l>=0&&(this._names.splice(l,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(n){return this._names.indexOf(n)>=0}};var cM=function(n){var l=FA(n);return(l.local?sM:uM)(l)};function dM(){return null}function pM(){var n=this.parentNode;n&&n.removeChild(this)}function mM(){var n=this.cloneNode(!1),l=this.parentNode;return l?l.insertBefore(n,this.nextSibling):n}function fM(){var n=this.cloneNode(!0),l=this.parentNode;return l?l.insertBefore(n,this.nextSibling):n}var hM={},gM=null;function bM(n,l,e){return n=vM(n,l,e),function(l){var e=l.relatedTarget;e&&(e===this||8&e.compareDocumentPosition(this))||n.call(this,l)}}function vM(n,l,e){return function(t){var i=gM;gM=t;try{n.call(this,this.__data__,l,e)}finally{gM=i}}}function _M(n){return n.trim().split(/^|\s+/).map((function(n){var l="",e=n.indexOf(".");return e>=0&&(l=n.slice(e+1),n=n.slice(0,e)),{type:n,name:l}}))}function yM(n){return function(){var l=this.__on;if(l){for(var e,t=0,i=-1,a=l.length;t<a;++t)e=l[t],n.type&&e.type!==n.type||e.name!==n.name?l[++i]=e:this.removeEventListener(e.type,e.listener,e.capture);++i?l.length=i:delete this.__on}}}function wM(n,l,e){var t=hM.hasOwnProperty(n.type)?bM:vM;return function(i,a,o){var r,u=this.__on,s=t(l,a,o);if(u)for(var c=0,d=u.length;c<d;++c)if((r=u[c]).type===n.type&&r.name===n.name)return this.removeEventListener(r.type,r.listener,r.capture),this.addEventListener(r.type,r.listener=s,r.capture=e),void(r.value=l);this.addEventListener(n.type,s,e),r={type:n.type,name:n.name,value:l,listener:s,capture:e},u?u.push(r):this.__on=[r]}}function xM(n,l,e){var t=jA(n),i=t.CustomEvent;"function"==typeof i?i=new i(l,e):(i=t.document.createEvent("Event"),e?(i.initEvent(l,e.bubbles,e.cancelable),i.detail=e.detail):i.initEvent(l,!1,!1)),n.dispatchEvent(i)}function CM(n,l){return function(){return xM(this,n,l)}}function kM(n,l){return function(){return xM(this,n,l.apply(this,arguments))}}"undefined"!=typeof document&&("onmouseenter"in document.documentElement||(hM={mouseenter:"mouseover",mouseleave:"mouseout"}));var SM=[null];function IM(n,l){this._groups=n,this._parents=l}function AM(){return new IM([[document.documentElement]],SM)}IM.prototype=AM.prototype={constructor:IM,select:function(n){"function"!=typeof n&&(n=_A(n));for(var l=this._groups,e=l.length,t=new Array(e),i=0;i<e;++i)for(var a,o,r=l[i],u=r.length,s=t[i]=new Array(u),c=0;c<u;++c)(a=r[c])&&(o=n.call(a,a.__data__,c,r))&&("__data__"in a&&(o.__data__=a.__data__),s[c]=o);return new IM(t,this._parents)},selectAll:function(n){"function"!=typeof n&&(n=wA(n));for(var l=this._groups,e=l.length,t=[],i=[],a=0;a<e;++a)for(var o,r=l[a],u=r.length,s=0;s<u;++s)(o=r[s])&&(t.push(n.call(o,o.__data__,s,r)),i.push(o));return new IM(t,i)},filter:function(n){"function"!=typeof n&&(n=xA(n));for(var l=this._groups,e=l.length,t=new Array(e),i=0;i<e;++i)for(var a,o=l[i],r=o.length,u=t[i]=[],s=0;s<r;++s)(a=o[s])&&n.call(a,a.__data__,s,o)&&u.push(a);return new IM(t,this._parents)},data:function(n,l){if(!n)return f=new Array(this.size()),c=-1,this.each((function(n){f[++c]=n})),f;var e,t=l?AA:IA,i=this._parents,a=this._groups;"function"!=typeof n&&(e=n,n=function(){return e});for(var o=a.length,r=new Array(o),u=new Array(o),s=new Array(o),c=0;c<o;++c){var d=i[c],p=a[c],m=p.length,f=n.call(d,d&&d.__data__,c,i),h=f.length,g=u[c]=new Array(h),b=r[c]=new Array(h);t(d,p,g,b,s[c]=new Array(m),f,l);for(var v,_,y=0,w=0;y<h;++y)if(v=g[y]){for(y>=w&&(w=y+1);!(_=b[w])&&++w<h;);v._next=_||null}}return(r=new IM(r,i))._enter=u,r._exit=s,r},enter:function(){return new IM(this._enter||this._groups.map(CA),this._parents)},exit:function(){return new IM(this._exit||this._groups.map(CA),this._parents)},join:function(n,l,e){var t=this.enter(),i=this,a=this.exit();return t="function"==typeof n?n(t):t.append(n+""),null!=l&&(i=l(i)),null==e?a.remove():e(a),t&&i?t.merge(i).order():i},merge:function(n){for(var l=this._groups,e=n._groups,t=l.length,i=Math.min(t,e.length),a=new Array(t),o=0;o<i;++o)for(var r,u=l[o],s=e[o],c=u.length,d=a[o]=new Array(c),p=0;p<c;++p)(r=u[p]||s[p])&&(d[p]=r);for(;o<t;++o)a[o]=l[o];return new IM(a,this._parents)},order:function(){for(var n=this._groups,l=-1,e=n.length;++l<e;)for(var t,i=n[l],a=i.length-1,o=i[a];--a>=0;)(t=i[a])&&(o&&4^t.compareDocumentPosition(o)&&o.parentNode.insertBefore(t,o),o=t);return this},sort:function(n){function l(l,e){return l&&e?n(l.__data__,e.__data__):!l-!e}n||(n=MA);for(var e=this._groups,t=e.length,i=new Array(t),a=0;a<t;++a){for(var o,r=e[a],u=r.length,s=i[a]=new Array(u),c=0;c<u;++c)(o=r[c])&&(s[c]=o);s.sort(l)}return new IM(i,this._parents).order()},call:function(){var n=arguments[0];return arguments[0]=this,n.apply(null,arguments),this},nodes:function(){var n=new Array(this.size()),l=-1;return this.each((function(){n[++l]=this})),n},node:function(){for(var n=this._groups,l=0,e=n.length;l<e;++l)for(var t=n[l],i=0,a=t.length;i<a;++i){var o=t[i];if(o)return o}return null},size:function(){var n=0;return this.each((function(){++n})),n},empty:function(){return!this.node()},each:function(n){for(var l=this._groups,e=0,t=l.length;e<t;++e)for(var i,a=l[e],o=0,r=a.length;o<r;++o)(i=a[o])&&n.call(i,i.__data__,o,a);return this},attr:function(n,l){var e=FA(n);if(arguments.length<2){var t=this.node();return e.local?t.getAttributeNS(e.space,e.local):t.getAttribute(e)}return this.each((null==l?e.local?OA:EA:"function"==typeof l?e.local?NA:RA:e.local?LA:TA)(e,l))},style:function(n,l,e){return arguments.length>1?this.each((null==l?VA:"function"==typeof l?zA:qA)(n,l,null==e?"":e)):UA(this.node(),n)},property:function(n,l){return arguments.length>1?this.each((null==l?BA:"function"==typeof l?HA:$A)(n,l)):this.node()[n]},classed:function(n,l){var e=GA(n+"");if(arguments.length<2){for(var t=WA(this.node()),i=-1,a=e.length;++i<a;)if(!t.contains(e[i]))return!1;return!0}return this.each(("function"==typeof l?XA:l?ZA:QA)(e,l))},text:function(n){return arguments.length?this.each(null==n?nM:("function"==typeof n?eM:lM)(n)):this.node().textContent},html:function(n){return arguments.length?this.each(null==n?tM:("function"==typeof n?aM:iM)(n)):this.node().innerHTML},raise:function(){return this.each(oM)},lower:function(){return this.each(rM)},append:function(n){var l="function"==typeof n?n:cM(n);return this.select((function(){return this.appendChild(l.apply(this,arguments))}))},insert:function(n,l){var e="function"==typeof n?n:cM(n),t=null==l?dM:"function"==typeof l?l:_A(l);return this.select((function(){return this.insertBefore(e.apply(this,arguments),t.apply(this,arguments)||null)}))},remove:function(){return this.each(pM)},clone:function(n){return this.select(n?fM:mM)},datum:function(n){return arguments.length?this.property("__data__",n):this.node().__data__},on:function(n,l,e){var t,i,a=_M(n+""),o=a.length;if(!(arguments.length<2)){for(r=l?wM:yM,null==e&&(e=!1),t=0;t<o;++t)this.each(r(a[t],l,e));return this}var r=this.node().__on;if(r)for(var u,s=0,c=r.length;s<c;++s)for(t=0,u=r[s];t<o;++t)if((i=a[t]).type===u.type&&i.name===u.name)return u.value},dispatch:function(n,l){return this.each(("function"==typeof l?kM:CM)(n,l))}};var MM=AM,PM={value:function(){}};function DM(){for(var n,l=0,e=arguments.length,t={};l<e;++l){if(!(n=arguments[l]+"")||n in t||/[\s.]/.test(n))throw new Error("illegal type: "+n);t[n]=[]}return new FM(t)}function FM(n){this._=n}function EM(n,l){return n.trim().split(/^|\s+/).map((function(n){var e="",t=n.indexOf(".");if(t>=0&&(e=n.slice(t+1),n=n.slice(0,t)),n&&!l.hasOwnProperty(n))throw new Error("unknown type: "+n);return{type:n,name:e}}))}function OM(n,l){for(var e,t=0,i=n.length;t<i;++t)if((e=n[t]).name===l)return e.value}function TM(n,l,e){for(var t=0,i=n.length;t<i;++t)if(n[t].name===l){n[t]=PM,n=n.slice(0,t).concat(n.slice(t+1));break}return null!=e&&n.push({name:l,value:e}),n}FM.prototype=DM.prototype={constructor:FM,on:function(n,l){var e,t=this._,i=EM(n+"",t),a=-1,o=i.length;if(!(arguments.length<2)){if(null!=l&&"function"!=typeof l)throw new Error("invalid callback: "+l);for(;++a<o;)if(e=(n=i[a]).type)t[e]=TM(t[e],n.name,l);else if(null==l)for(e in t)t[e]=TM(t[e],n.name,null);return this}for(;++a<o;)if((e=(n=i[a]).type)&&(e=OM(t[e],n.name)))return e},copy:function(){var n={},l=this._;for(var e in l)n[e]=l[e].slice();return new FM(n)},call:function(n,l){if((e=arguments.length-2)>0)for(var e,t,i=new Array(e),a=0;a<e;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(a=0,e=(t=this._[n]).length;a<e;++a)t[a].value.apply(l,i)},apply:function(n,l,e){if(!this._.hasOwnProperty(n))throw new Error("unknown type: "+n);for(var t=this._[n],i=0,a=t.length;i<a;++i)t[i].value.apply(l,e)}};var LM=DM,RM=function(n,l,e){n.prototype=l.prototype=e,e.constructor=n};function NM(n,l){var e=Object.create(n.prototype);for(var t in l)e[t]=l[t];return e}function jM(){}var VM="\\s*([+-]?\\d+)\\s*",qM="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",zM="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",UM=/^#([0-9a-f]{3,8})$/,BM=new RegExp("^rgb\\("+[VM,VM,VM]+"\\)$"),$M=new RegExp("^rgb\\("+[zM,zM,zM]+"\\)$"),HM=new RegExp("^rgba\\("+[VM,VM,VM,qM]+"\\)$"),GM=new RegExp("^rgba\\("+[zM,zM,zM,qM]+"\\)$"),WM=new RegExp("^hsl\\("+[qM,zM,zM]+"\\)$"),KM=new RegExp("^hsla\\("+[qM,zM,zM,qM]+"\\)$"),YM={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function JM(){return this.rgb().formatHex()}function ZM(){return this.rgb().formatRgb()}function QM(n){var l,e;return n=(n+"").trim().toLowerCase(),(l=UM.exec(n))?(e=l[1].length,l=parseInt(l[1],16),6===e?XM(l):3===e?new eP(l>>8&15|l>>4&240,l>>4&15|240&l,(15&l)<<4|15&l,1):8===e?nP(l>>24&255,l>>16&255,l>>8&255,(255&l)/255):4===e?nP(l>>12&15|l>>8&240,l>>8&15|l>>4&240,l>>4&15|240&l,((15&l)<<4|15&l)/255):null):(l=BM.exec(n))?new eP(l[1],l[2],l[3],1):(l=$M.exec(n))?new eP(255*l[1]/100,255*l[2]/100,255*l[3]/100,1):(l=HM.exec(n))?nP(l[1],l[2],l[3],l[4]):(l=GM.exec(n))?nP(255*l[1]/100,255*l[2]/100,255*l[3]/100,l[4]):(l=WM.exec(n))?oP(l[1],l[2]/100,l[3]/100,1):(l=KM.exec(n))?oP(l[1],l[2]/100,l[3]/100,l[4]):YM.hasOwnProperty(n)?XM(YM[n]):"transparent"===n?new eP(NaN,NaN,NaN,0):null}function XM(n){return new eP(n>>16&255,n>>8&255,255&n,1)}function nP(n,l,e,t){return t<=0&&(n=l=e=NaN),new eP(n,l,e,t)}function lP(n,l,e,t){return 1===arguments.length?((i=n)instanceof jM||(i=QM(i)),i?new eP((i=i.rgb()).r,i.g,i.b,i.opacity):new eP):new eP(n,l,e,null==t?1:t);var i}function eP(n,l,e,t){this.r=+n,this.g=+l,this.b=+e,this.opacity=+t}function tP(){return"#"+aP(this.r)+aP(this.g)+aP(this.b)}function iP(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===n?")":", "+n+")")}function aP(n){return((n=Math.max(0,Math.min(255,Math.round(n)||0)))<16?"0":"")+n.toString(16)}function oP(n,l,e,t){return t<=0?n=l=e=NaN:e<=0||e>=1?n=l=NaN:l<=0&&(n=NaN),new uP(n,l,e,t)}function rP(n){if(n instanceof uP)return new uP(n.h,n.s,n.l,n.opacity);if(n instanceof jM||(n=QM(n)),!n)return new uP;if(n instanceof uP)return n;var l=(n=n.rgb()).r/255,e=n.g/255,t=n.b/255,i=Math.min(l,e,t),a=Math.max(l,e,t),o=NaN,r=a-i,u=(a+i)/2;return r?(o=l===a?(e-t)/r+6*(e<t):e===a?(t-l)/r+2:(l-e)/r+4,r/=u<.5?a+i:2-a-i,o*=60):r=u>0&&u<1?0:o,new uP(o,r,u,n.opacity)}function uP(n,l,e,t){this.h=+n,this.s=+l,this.l=+e,this.opacity=+t}function sP(n,l,e){return 255*(n<60?l+(e-l)*n/60:n<180?e:n<240?l+(e-l)*(240-n)/60:l)}function cP(n,l,e,t,i){var a=n*n,o=a*n;return((1-3*n+3*a-o)*l+(4-6*a+3*o)*e+(1+3*n+3*a-3*o)*t+o*i)/6}RM(jM,QM,{copy:function(n){return Object.assign(new this.constructor,this,n)},displayable:function(){return this.rgb().displayable()},hex:JM,formatHex:JM,formatHsl:function(){return rP(this).formatHsl()},formatRgb:ZM,toString:ZM}),RM(eP,lP,NM(jM,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new eP(this.r*n,this.g*n,this.b*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new eP(this.r*n,this.g*n,this.b*n,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tP,formatHex:tP,formatRgb:iP,toString:iP})),RM(uP,(function(n,l,e,t){return 1===arguments.length?rP(n):new uP(n,l,e,null==t?1:t)}),NM(jM,{brighter:function(n){return n=null==n?1/.7:Math.pow(1/.7,n),new uP(this.h,this.s,this.l*n,this.opacity)},darker:function(n){return n=null==n?.7:Math.pow(.7,n),new uP(this.h,this.s,this.l*n,this.opacity)},rgb:function(){var n=this.h%360+360*(this.h<0),l=isNaN(n)||isNaN(this.s)?0:this.s,e=this.l,t=e+(e<.5?e:1-e)*l,i=2*e-t;return new eP(sP(n>=240?n-240:n+120,i,t),sP(n,i,t),sP(n<120?n+240:n-120,i,t),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var n=this.opacity;return(1===(n=isNaN(n)?1:Math.max(0,Math.min(1,n)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===n?")":", "+n+")")}}));var dP=function(n){return function(){return n}};function pP(n,l){var e=l-n;return e?function(n,l){return function(e){return n+e*l}}(n,e):dP(isNaN(n)?l:n)}var mP=function n(l){var e=function(n){return 1==(n=+n)?pP:function(l,e){return e-l?function(n,l,e){return n=Math.pow(n,e),l=Math.pow(l,e)-n,e=1/e,function(t){return Math.pow(n+t*l,e)}}(l,e,n):dP(isNaN(l)?e:l)}}(l);function t(n,l){var t=e((n=lP(n)).r,(l=lP(l)).r),i=e(n.g,l.g),a=e(n.b,l.b),o=pP(n.opacity,l.opacity);return function(l){return n.r=t(l),n.g=i(l),n.b=a(l),n.opacity=o(l),n+""}}return t.gamma=n,t}(1);function fP(n){return function(l){var e,t,i=l.length,a=new Array(i),o=new Array(i),r=new Array(i);for(e=0;e<i;++e)t=lP(l[e]),a[e]=t.r||0,o[e]=t.g||0,r[e]=t.b||0;return a=n(a),o=n(o),r=n(r),t.opacity=1,function(n){return t.r=a(n),t.g=o(n),t.b=r(n),t+""}}}fP((function(n){var l=n.length-1;return function(e){var t=e<=0?e=0:e>=1?(e=1,l-1):Math.floor(e*l),i=n[t],a=n[t+1];return cP((e-t/l)*l,t>0?n[t-1]:2*i-a,i,a,t<l-1?n[t+2]:2*a-i)}})),fP((function(n){var l=n.length;return function(e){var t=Math.floor(((e%=1)<0?++e:e)*l);return cP((e-t/l)*l,n[(t+l-1)%l],n[t%l],n[(t+1)%l],n[(t+2)%l])}}));var hP,gP,bP=function(n,l){return n=+n,l=+l,function(e){return n*(1-e)+l*e}},vP=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,_P=new RegExp(vP.source,"g"),yP=function(n,l){var e,t,i,a=vP.lastIndex=_P.lastIndex=0,o=-1,r=[],u=[];for(n+="",l+="";(e=vP.exec(n))&&(t=_P.exec(l));)(i=t.index)>a&&(i=l.slice(a,i),r[o]?r[o]+=i:r[++o]=i),(e=e[0])===(t=t[0])?r[o]?r[o]+=t:r[++o]=t:(r[++o]=null,u.push({i:o,x:bP(e,t)})),a=_P.lastIndex;return a<l.length&&(i=l.slice(a),r[o]?r[o]+=i:r[++o]=i),r.length<2?u[0]?function(n){return function(l){return n(l)+""}}(u[0].x):function(n){return function(){return n}}(l):(l=u.length,function(n){for(var e,t=0;t<l;++t)r[(e=u[t]).i]=e.x(n);return r.join("")})},wP=0,xP=0,CP=0,kP=1e3,SP=0,IP=0,AP=0,MP="object"==typeof performance&&performance.now?performance:Date,PP="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(n){setTimeout(n,17)};function DP(){return IP||(PP(FP),IP=MP.now()+AP)}function FP(){IP=0}function EP(){this._call=this._time=this._next=null}function OP(n,l,e){var t=new EP;return t.restart(n,l,e),t}function TP(){IP=(SP=MP.now())+AP,wP=xP=0;try{!function(){DP(),++wP;for(var n,l=hP;l;)(n=IP-l._time)>=0&&l._call.call(null,n),l=l._next;--wP}()}finally{wP=0,function(){for(var n,l,e=hP,t=1/0;e;)e._call?(t>e._time&&(t=e._time),n=e,e=e._next):(l=e._next,e._next=null,e=n?n._next=l:hP=l);gP=n,RP(t)}(),IP=0}}function LP(){var n=MP.now(),l=n-SP;l>kP&&(AP-=l,SP=n)}function RP(n){wP||(xP&&(xP=clearTimeout(xP)),n-IP>24?(n<1/0&&(xP=setTimeout(TP,n-MP.now()-AP)),CP&&(CP=clearInterval(CP))):(CP||(SP=MP.now(),CP=setInterval(LP,kP)),wP=1,PP(TP)))}EP.prototype=OP.prototype={constructor:EP,restart:function(n,l,e){if("function"!=typeof n)throw new TypeError("callback is not a function");e=(null==e?DP():+e)+(null==l?0:+l),this._next||gP===this||(gP?gP._next=this:hP=this,gP=this),this._call=n,this._time=e,RP()},stop:function(){this._call&&(this._call=null,this._time=1/0,RP())}};var NP=function(n,l,e){var t=new EP;return t.restart((function(e){t.stop(),n(e+l)}),l=null==l?0:+l,e),t},jP=LM("start","end","cancel","interrupt"),VP=[],qP=0,zP=1,UP=2,BP=3,$P=4,HP=5,GP=6,WP=function(n,l,e,t,i,a){var o=n.__transition;if(o){if(e in o)return}else n.__transition={};!function(n,l,e){var t,i=n.__transition;function a(u){var s,c,d,p;if(e.state!==zP)return r();for(s in i)if((p=i[s]).name===e.name){if(p.state===BP)return NP(a);p.state===$P?(p.state=GP,p.timer.stop(),p.on.call("interrupt",n,n.__data__,p.index,p.group),delete i[s]):+s<l&&(p.state=GP,p.timer.stop(),p.on.call("cancel",n,n.__data__,p.index,p.group),delete i[s])}if(NP((function(){e.state===BP&&(e.state=$P,e.timer.restart(o,e.delay,e.time),o(u))})),e.state=UP,e.on.call("start",n,n.__data__,e.index,e.group),e.state===UP){for(e.state=BP,t=new Array(d=e.tween.length),s=0,c=-1;s<d;++s)(p=e.tween[s].value.call(n,n.__data__,e.index,e.group))&&(t[++c]=p);t.length=c+1}}function o(l){for(var i=l<e.duration?e.ease.call(null,l/e.duration):(e.timer.restart(r),e.state=HP,1),a=-1,o=t.length;++a<o;)t[a].call(n,i);e.state===HP&&(e.on.call("end",n,n.__data__,e.index,e.group),r())}function r(){for(var t in e.state=GP,e.timer.stop(),delete i[l],i)return;delete n.__transition}i[l]=e,e.timer=OP((function(n){e.state=zP,e.timer.restart(a,e.delay,e.time),e.delay<=n&&a(n-e.delay)}),0,e.time)}(n,e,{name:l,index:t,group:i,on:jP,tween:VP,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:qP})};function KP(n,l){var e=JP(n,l);if(e.state>qP)throw new Error("too late; already scheduled");return e}function YP(n,l){var e=JP(n,l);if(e.state>BP)throw new Error("too late; already running");return e}function JP(n,l){var e=n.__transition;if(!e||!(e=e[l]))throw new Error("transition not found");return e}var ZP,QP,XP,nD,lD=180/Math.PI,eD={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},tD=function(n,l,e,t,i,a){var o,r,u;return(o=Math.sqrt(n*n+l*l))&&(n/=o,l/=o),(u=n*e+l*t)&&(e-=n*u,t-=l*u),(r=Math.sqrt(e*e+t*t))&&(e/=r,t/=r,u/=r),n*t<l*e&&(n=-n,l=-l,u=-u,o=-o),{translateX:i,translateY:a,rotate:Math.atan2(l,n)*lD,skewX:Math.atan(u)*lD,scaleX:o,scaleY:r}};function iD(n,l,e,t){function i(n){return n.length?n.pop()+" ":""}return function(a,o){var r=[],u=[];return a=n(a),o=n(o),function(n,t,i,a,o,r){if(n!==i||t!==a){var u=o.push("translate(",null,l,null,e);r.push({i:u-4,x:bP(n,i)},{i:u-2,x:bP(t,a)})}else(i||a)&&o.push("translate("+i+l+a+e)}(a.translateX,a.translateY,o.translateX,o.translateY,r,u),function(n,l,e,a){n!==l?(n-l>180?l+=360:l-n>180&&(n+=360),a.push({i:e.push(i(e)+"rotate(",null,t)-2,x:bP(n,l)})):l&&e.push(i(e)+"rotate("+l+t)}(a.rotate,o.rotate,r,u),function(n,l,e,a){n!==l?a.push({i:e.push(i(e)+"skewX(",null,t)-2,x:bP(n,l)}):l&&e.push(i(e)+"skewX("+l+t)}(a.skewX,o.skewX,r,u),function(n,l,e,t,a,o){if(n!==e||l!==t){var r=a.push(i(a)+"scale(",null,",",null,")");o.push({i:r-4,x:bP(n,e)},{i:r-2,x:bP(l,t)})}else 1===e&&1===t||a.push(i(a)+"scale("+e+","+t+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,r,u),a=o=null,function(n){for(var l,e=-1,t=u.length;++e<t;)r[(l=u[e]).i]=l.x(n);return r.join("")}}}var aD=iD((function(n){return"none"===n?eD:(ZP||(ZP=document.createElement("DIV"),QP=document.documentElement,XP=document.defaultView),ZP.style.transform=n,n=XP.getComputedStyle(QP.appendChild(ZP),null).getPropertyValue("transform"),QP.removeChild(ZP),n=n.slice(7,-1).split(","),tD(+n[0],+n[1],+n[2],+n[3],+n[4],+n[5]))}),"px, ","px)","deg)"),oD=iD((function(n){return null==n?eD:(nD||(nD=document.createElementNS("http://www.w3.org/2000/svg","g")),nD.setAttribute("transform",n),(n=nD.transform.baseVal.consolidate())?tD((n=n.matrix).a,n.b,n.c,n.d,n.e,n.f):eD)}),", ",")",")");function rD(n,l){var e,t;return function(){var i=YP(this,n),a=i.tween;if(a!==e)for(var o=0,r=(t=e=a).length;o<r;++o)if(t[o].name===l){(t=t.slice()).splice(o,1);break}i.tween=t}}function uD(n,l,e){var t,i;if("function"!=typeof e)throw new Error;return function(){var a=YP(this,n),o=a.tween;if(o!==t){i=(t=o).slice();for(var r={name:l,value:e},u=0,s=i.length;u<s;++u)if(i[u].name===l){i[u]=r;break}u===s&&i.push(r)}a.tween=i}}function sD(n,l,e){var t=n._id;return n.each((function(){var n=YP(this,t);(n.value||(n.value={}))[l]=e.apply(this,arguments)})),function(n){return JP(n,t).value[l]}}var cD=function(n,l){var e;return("number"==typeof l?bP:l instanceof QM?mP:(e=QM(l))?(l=e,mP):yP)(n,l)};function dD(n){return function(){this.removeAttribute(n)}}function pD(n){return function(){this.removeAttributeNS(n.space,n.local)}}function mD(n,l,e){var t,i,a=e+"";return function(){var o=this.getAttribute(n);return o===a?null:o===t?i:i=l(t=o,e)}}function fD(n,l,e){var t,i,a=e+"";return function(){var o=this.getAttributeNS(n.space,n.local);return o===a?null:o===t?i:i=l(t=o,e)}}function hD(n,l,e){var t,i,a;return function(){var o,r,u=e(this);if(null!=u)return(o=this.getAttribute(n))===(r=u+"")?null:o===t&&r===i?a:(i=r,a=l(t=o,u));this.removeAttribute(n)}}function gD(n,l,e){var t,i,a;return function(){var o,r,u=e(this);if(null!=u)return(o=this.getAttributeNS(n.space,n.local))===(r=u+"")?null:o===t&&r===i?a:(i=r,a=l(t=o,u));this.removeAttributeNS(n.space,n.local)}}function bD(n,l){var e,t;function i(){var i=l.apply(this,arguments);return i!==t&&(e=(t=i)&&function(n,l){return function(e){this.setAttributeNS(n.space,n.local,l.call(this,e))}}(n,i)),e}return i._value=l,i}function vD(n,l){var e,t;function i(){var i=l.apply(this,arguments);return i!==t&&(e=(t=i)&&function(n,l){return function(e){this.setAttribute(n,l.call(this,e))}}(n,i)),e}return i._value=l,i}function _D(n,l){return function(){KP(this,n).delay=+l.apply(this,arguments)}}function yD(n,l){return l=+l,function(){KP(this,n).delay=l}}function wD(n,l){return function(){YP(this,n).duration=+l.apply(this,arguments)}}function xD(n,l){return l=+l,function(){YP(this,n).duration=l}}function CD(n,l){if("function"!=typeof l)throw new Error;return function(){YP(this,n).ease=l}}function kD(n,l,e){var t,i,a=function(n){return(n+"").trim().split(/^|\s+/).every((function(n){var l=n.indexOf(".");return l>=0&&(n=n.slice(0,l)),!n||"start"===n}))}(l)?KP:YP;return function(){var o=a(this,n),r=o.on;r!==t&&(i=(t=r).copy()).on(l,e),o.on=i}}var SD=MM.prototype.constructor;function ID(n){return function(){this.style.removeProperty(n)}}function AD(n,l,e){var t,i;function a(){var a=l.apply(this,arguments);return a!==i&&(t=(i=a)&&function(n,l,e){return function(t){this.style.setProperty(n,l.call(this,t),e)}}(n,a,e)),t}return a._value=l,a}function MD(n){var l,e;function t(){var t=n.apply(this,arguments);return t!==e&&(l=(e=t)&&function(n){return function(l){this.textContent=n.call(this,l)}}(t)),l}return t._value=n,t}var PD=0;function DD(n,l,e,t){this._groups=n,this._parents=l,this._name=e,this._id=t}function FD(){return++PD}var ED=MM.prototype;DD.prototype=(function(n){return MM().transition(n)}).prototype={constructor:DD,select:function(n){var l=this._name,e=this._id;"function"!=typeof n&&(n=_A(n));for(var t=this._groups,i=t.length,a=new Array(i),o=0;o<i;++o)for(var r,u,s=t[o],c=s.length,d=a[o]=new Array(c),p=0;p<c;++p)(r=s[p])&&(u=n.call(r,r.__data__,p,s))&&("__data__"in r&&(u.__data__=r.__data__),d[p]=u,WP(d[p],l,e,p,d,JP(r,e)));return new DD(a,this._parents,l,e)},selectAll:function(n){var l=this._name,e=this._id;"function"!=typeof n&&(n=wA(n));for(var t=this._groups,i=t.length,a=[],o=[],r=0;r<i;++r)for(var u,s=t[r],c=s.length,d=0;d<c;++d)if(u=s[d]){for(var p,m=n.call(u,u.__data__,d,s),f=JP(u,e),h=0,g=m.length;h<g;++h)(p=m[h])&&WP(p,l,e,h,m,f);a.push(m),o.push(u)}return new DD(a,o,l,e)},filter:function(n){"function"!=typeof n&&(n=xA(n));for(var l=this._groups,e=l.length,t=new Array(e),i=0;i<e;++i)for(var a,o=l[i],r=o.length,u=t[i]=[],s=0;s<r;++s)(a=o[s])&&n.call(a,a.__data__,s,o)&&u.push(a);return new DD(t,this._parents,this._name,this._id)},merge:function(n){if(n._id!==this._id)throw new Error;for(var l=this._groups,e=n._groups,t=l.length,i=Math.min(t,e.length),a=new Array(t),o=0;o<i;++o)for(var r,u=l[o],s=e[o],c=u.length,d=a[o]=new Array(c),p=0;p<c;++p)(r=u[p]||s[p])&&(d[p]=r);for(;o<t;++o)a[o]=l[o];return new DD(a,this._parents,this._name,this._id)},selection:function(){return new SD(this._groups,this._parents)},transition:function(){for(var n=this._name,l=this._id,e=FD(),t=this._groups,i=t.length,a=0;a<i;++a)for(var o,r=t[a],u=r.length,s=0;s<u;++s)if(o=r[s]){var c=JP(o,l);WP(o,n,e,s,r,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new DD(t,this._parents,n,e)},call:ED.call,nodes:ED.nodes,node:ED.node,size:ED.size,empty:ED.empty,each:ED.each,on:function(n,l){var e=this._id;return arguments.length<2?JP(this.node(),e).on.on(n):this.each(kD(e,n,l))},attr:function(n,l){var e=FA(n),t="transform"===e?oD:cD;return this.attrTween(n,"function"==typeof l?(e.local?gD:hD)(e,t,sD(this,"attr."+n,l)):null==l?(e.local?pD:dD)(e):(e.local?fD:mD)(e,t,l))},attrTween:function(n,l){var e="attr."+n;if(arguments.length<2)return(e=this.tween(e))&&e._value;if(null==l)return this.tween(e,null);if("function"!=typeof l)throw new Error;var t=FA(n);return this.tween(e,(t.local?bD:vD)(t,l))},style:function(n,l,e){var t="transform"==(n+="")?aD:cD;return null==l?this.styleTween(n,function(n,l){var e,t,i;return function(){var a=UA(this,n),o=(this.style.removeProperty(n),UA(this,n));return a===o?null:a===e&&o===t?i:i=l(e=a,t=o)}}(n,t)).on("end.style."+n,ID(n)):"function"==typeof l?this.styleTween(n,function(n,l,e){var t,i,a;return function(){var o=UA(this,n),r=e(this),u=r+"";return null==r&&(this.style.removeProperty(n),u=r=UA(this,n)),o===u?null:o===t&&u===i?a:(i=u,a=l(t=o,r))}}(n,t,sD(this,"style."+n,l))).each(function(n,l){var e,t,i,a,o="style."+l,r="end."+o;return function(){var u=YP(this,n),s=u.on,c=null==u.value[o]?a||(a=ID(l)):void 0;s===e&&i===c||(t=(e=s).copy()).on(r,i=c),u.on=t}}(this._id,n)):this.styleTween(n,function(n,l,e){var t,i,a=e+"";return function(){var o=UA(this,n);return o===a?null:o===t?i:i=l(t=o,e)}}(n,t,l),e).on("end.style."+n,null)},styleTween:function(n,l,e){var t="style."+(n+="");if(arguments.length<2)return(t=this.tween(t))&&t._value;if(null==l)return this.tween(t,null);if("function"!=typeof l)throw new Error;return this.tween(t,AD(n,l,null==e?"":e))},text:function(n){return this.tween("text","function"==typeof n?function(n){return function(){var l=n(this);this.textContent=null==l?"":l}}(sD(this,"text",n)):function(n){return function(){this.textContent=n}}(null==n?"":n+""))},textTween:function(n){var l="text";if(arguments.length<1)return(l=this.tween(l))&&l._value;if(null==n)return this.tween(l,null);if("function"!=typeof n)throw new Error;return this.tween(l,MD(n))},remove:function(){return this.on("end.remove",(n=this._id,function(){var l=this.parentNode;for(var e in this.__transition)if(+e!==n)return;l&&l.removeChild(this)}));var n},tween:function(n,l){var e=this._id;if(n+="",arguments.length<2){for(var t,i=JP(this.node(),e).tween,a=0,o=i.length;a<o;++a)if((t=i[a]).name===n)return t.value;return null}return this.each((null==l?rD:uD)(e,n,l))},delay:function(n){var l=this._id;return arguments.length?this.each(("function"==typeof n?_D:yD)(l,n)):JP(this.node(),l).delay},duration:function(n){var l=this._id;return arguments.length?this.each(("function"==typeof n?wD:xD)(l,n)):JP(this.node(),l).duration},ease:function(n){var l=this._id;return arguments.length?this.each(CD(l,n)):JP(this.node(),l).ease},end:function(){var n,l,e=this,t=e._id,i=e.size();return new Promise((function(a,o){var r={value:o},u={value:function(){0==--i&&a()}};e.each((function(){var e=YP(this,t),i=e.on;i!==n&&((l=(n=i).copy())._.cancel.push(r),l._.interrupt.push(r),l._.end.push(u)),e.on=l}))}))}};var OD={time:null,delay:0,duration:250,ease:function(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}};function TD(n,l){for(var e;!(e=n.__transition)||!(e=e[l]);)if(!(n=n.parentNode))return OD.time=DP(),OD;return e}function LD(n){return{type:n}}MM.prototype.interrupt=function(n){return this.each((function(){!function(n,l){var e,t,i,a=n.__transition,o=!0;if(a){for(i in l=null==l?null:l+"",a)(e=a[i]).name===l?(t=e.state>UP&&e.state<HP,e.state=GP,e.timer.stop(),e.on.call(t?"interrupt":"cancel",n,n.__data__,e.index,e.group),delete a[i]):o=!1;o&&delete n.__transition}}(this,n)}))},MM.prototype.transition=function(n){var l,e;n instanceof DD?(l=n._id,n=n._name):(l=FD(),(e=OD).time=DP(),n=null==n?null:n+"");for(var t=this._groups,i=t.length,a=0;a<i;++a)for(var o,r=t[a],u=r.length,s=0;s<u;++s)(o=r[s])&&WP(o,n,l,s,r,e||TD(o,l));return new DD(t,this._parents,n,l)},["w","e"].map(LD),["n","s"].map(LD),["n","w","e","s","nw","ne","sw","se"].map(LD);var RD=function(n,l){return n<l?-1:n>l?1:n>=l?0:NaN},ND=function(n){let l=n,e=n;function t(n,l,t,i){for(null==t&&(t=0),null==i&&(i=n.length);t<i;){const a=t+i>>>1;e(n[a],l)<0?t=a+1:i=a}return t}return 1===n.length&&(l=(l,e)=>n(l)-e,e=function(n){return(l,e)=>RD(n(l),e)}(n)),{left:t,center:function(n,e,i,a){null==i&&(i=0),null==a&&(a=n.length);const o=t(n,e,i,a-1);return o>i&&l(n[o-1],e)>-l(n[o],e)?o-1:o},right:function(n,l,t,i){for(null==t&&(t=0),null==i&&(i=n.length);t<i;){const a=t+i>>>1;e(n[a],l)>0?i=a:t=a+1}return t}}};Math.sqrt(50),Math.sqrt(10),Math.sqrt(2);var jD=new Date,VD=new Date;function qD(n,l,e,t){function i(l){return n(l=0===arguments.length?new Date:new Date(+l)),l}return i.floor=function(l){return n(l=new Date(+l)),l},i.ceil=function(e){return n(e=new Date(e-1)),l(e,1),n(e),e},i.round=function(n){var l=i(n),e=i.ceil(n);return n-l<e-n?l:e},i.offset=function(n,e){return l(n=new Date(+n),null==e?1:Math.floor(e)),n},i.range=function(e,t,a){var o,r=[];if(e=i.ceil(e),a=null==a?1:Math.floor(a),!(e<t&&a>0))return r;do{r.push(o=new Date(+e)),l(e,a),n(e)}while(o<e&&e<t);return r},i.filter=function(e){return qD((function(l){if(l>=l)for(;n(l),!e(l);)l.setTime(l-1)}),(function(n,t){if(n>=n)if(t<0)for(;++t<=0;)for(;l(n,-1),!e(n););else for(;--t>=0;)for(;l(n,1),!e(n););}))},e&&(i.count=function(l,t){return jD.setTime(+l),VD.setTime(+t),n(jD),n(VD),Math.floor(e(jD,VD))},i.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?i.filter(t?function(l){return t(l)%n==0}:function(l){return i.count(0,l)%n==0}):i:null}),i}qD((function(n){n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,l){n.setFullYear(n.getFullYear()+l)}),(function(n,l){return l.getFullYear()-n.getFullYear()}),(function(n){return n.getFullYear()})).every=function(n){return isFinite(n=Math.floor(n))&&n>0?qD((function(l){l.setFullYear(Math.floor(l.getFullYear()/n)*n),l.setMonth(0,1),l.setHours(0,0,0,0)}),(function(l,e){l.setFullYear(l.getFullYear()+e*n)})):null},qD((function(n){n.setDate(1),n.setHours(0,0,0,0)}),(function(n,l){n.setMonth(n.getMonth()+l)}),(function(n,l){return l.getMonth()-n.getMonth()+12*(l.getFullYear()-n.getFullYear())}),(function(n){return n.getMonth()}));var zD=6e4,UD=6048e5;function BD(n){return qD((function(l){l.setDate(l.getDate()-(l.getDay()+7-n)%7),l.setHours(0,0,0,0)}),(function(n,l){n.setDate(n.getDate()+7*l)}),(function(n,l){return(l-n-(l.getTimezoneOffset()-n.getTimezoneOffset())*zD)/UD}))}BD(0),BD(1),BD(2),BD(3),BD(4),BD(5),BD(6),qD(n=>n.setHours(0,0,0,0),(n,l)=>n.setDate(n.getDate()+l),(n,l)=>(l-n-(l.getTimezoneOffset()-n.getTimezoneOffset())*zD)/864e5,n=>n.getDate()-1),qD((function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds()-n.getMinutes()*zD)}),(function(n,l){n.setTime(+n+36e5*l)}),(function(n,l){return(l-n)/36e5}),(function(n){return n.getHours()})),qD((function(n){n.setTime(n-n.getMilliseconds()-1e3*n.getSeconds())}),(function(n,l){n.setTime(+n+l*zD)}),(function(n,l){return(l-n)/zD}),(function(n){return n.getMinutes()})),qD((function(n){n.setTime(n-n.getMilliseconds())}),(function(n,l){n.setTime(+n+1e3*l)}),(function(n,l){return(l-n)/1e3}),(function(n){return n.getUTCSeconds()}));var $D=qD((function(){}),(function(n,l){n.setTime(+n+l)}),(function(n,l){return l-n}));$D.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?qD((function(l){l.setTime(Math.floor(l/n)*n)}),(function(l,e){l.setTime(+l+e*n)}),(function(l,e){return(e-l)/n})):$D:null};var HD=new Date,GD=new Date;function WD(n,l,e,t){function i(l){return n(l=0===arguments.length?new Date:new Date(+l)),l}return i.floor=function(l){return n(l=new Date(+l)),l},i.ceil=function(e){return n(e=new Date(e-1)),l(e,1),n(e),e},i.round=function(n){var l=i(n),e=i.ceil(n);return n-l<e-n?l:e},i.offset=function(n,e){return l(n=new Date(+n),null==e?1:Math.floor(e)),n},i.range=function(e,t,a){var o,r=[];if(e=i.ceil(e),a=null==a?1:Math.floor(a),!(e<t&&a>0))return r;do{r.push(o=new Date(+e)),l(e,a),n(e)}while(o<e&&e<t);return r},i.filter=function(e){return WD((function(l){if(l>=l)for(;n(l),!e(l);)l.setTime(l-1)}),(function(n,t){if(n>=n)if(t<0)for(;++t<=0;)for(;l(n,-1),!e(n););else for(;--t>=0;)for(;l(n,1),!e(n););}))},e&&(i.count=function(l,t){return HD.setTime(+l),GD.setTime(+t),n(HD),n(GD),Math.floor(e(HD,GD))},i.every=function(n){return n=Math.floor(n),isFinite(n)&&n>0?n>1?i.filter(t?function(l){return t(l)%n==0}:function(l){return i.count(0,l)%n==0}):i:null}),i}var KD=6e4,YD=6048e5;function JD(n){return WD((function(l){l.setUTCDate(l.getUTCDate()-(l.getUTCDay()+7-n)%7),l.setUTCHours(0,0,0,0)}),(function(n,l){n.setUTCDate(n.getUTCDate()+7*l)}),(function(n,l){return(l-n)/YD}))}var ZD=JD(0),QD=JD(1),XD=(JD(2),JD(3),JD(4)),nF=(JD(5),JD(6),WD((function(n){n.setUTCHours(0,0,0,0)}),(function(n,l){n.setUTCDate(n.getUTCDate()+l)}),(function(n,l){return(l-n)/864e5}),(function(n){return n.getUTCDate()-1})));function lF(n){return WD((function(l){l.setDate(l.getDate()-(l.getDay()+7-n)%7),l.setHours(0,0,0,0)}),(function(n,l){n.setDate(n.getDate()+7*l)}),(function(n,l){return(l-n-(l.getTimezoneOffset()-n.getTimezoneOffset())*KD)/YD}))}var eF=lF(0),tF=lF(1),iF=(lF(2),lF(3),lF(4)),aF=(lF(5),lF(6),WD((function(n){n.setHours(0,0,0,0)}),(function(n,l){n.setDate(n.getDate()+l)}),(function(n,l){return(l-n-(l.getTimezoneOffset()-n.getTimezoneOffset())*KD)/864e5}),(function(n){return n.getDate()-1}))),oF=WD((function(n){n.setMonth(0,1),n.setHours(0,0,0,0)}),(function(n,l){n.setFullYear(n.getFullYear()+l)}),(function(n,l){return l.getFullYear()-n.getFullYear()}),(function(n){return n.getFullYear()}));oF.every=function(n){return isFinite(n=Math.floor(n))&&n>0?WD((function(l){l.setFullYear(Math.floor(l.getFullYear()/n)*n),l.setMonth(0,1),l.setHours(0,0,0,0)}),(function(l,e){l.setFullYear(l.getFullYear()+e*n)})):null};var rF=oF,uF=WD((function(n){n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0)}),(function(n,l){n.setUTCFullYear(n.getUTCFullYear()+l)}),(function(n,l){return l.getUTCFullYear()-n.getUTCFullYear()}),(function(n){return n.getUTCFullYear()}));uF.every=function(n){return isFinite(n=Math.floor(n))&&n>0?WD((function(l){l.setUTCFullYear(Math.floor(l.getUTCFullYear()/n)*n),l.setUTCMonth(0,1),l.setUTCHours(0,0,0,0)}),(function(l,e){l.setUTCFullYear(l.getUTCFullYear()+e*n)})):null};var sF=uF;var cF={"-":"",_:" ",0:"0"},dF=/[\\^$*+?|[\]().{}]/g;function pF(n,l,e){var t=n<0?"-":"",i=(t?-n:n)+"",a=i.length;return t+(a<e?new Array(e-a+1).join(l)+i:i)}function mF(n){return n.replace(dF,"\\$&")}function fF(n){return new RegExp("^(?:"+n.map(mF).join("|")+")","i")}function hF(n){for(var l={},e=-1,t=n.length;++e<t;)l[n[e].toLowerCase()]=e;return l}function gF(n,l){return pF(n.getDate(),l,2)}function bF(n,l){return pF(n.getHours(),l,2)}function vF(n,l){return pF(n.getHours()%12||12,l,2)}function _F(n,l){return pF(1+aF.count(rF(n),n),l,3)}function yF(n,l){return pF(n.getMilliseconds(),l,3)}function wF(n,l){return yF(n,l)+"000"}function xF(n,l){return pF(n.getMonth()+1,l,2)}function CF(n,l){return pF(n.getMinutes(),l,2)}function kF(n,l){return pF(n.getSeconds(),l,2)}function SF(n){var l=n.getDay();return 0===l?7:l}function IF(n,l){return pF(eF.count(rF(n)-1,n),l,2)}function AF(n){var l=n.getDay();return l>=4||0===l?iF(n):iF.ceil(n)}function MF(n,l){return n=AF(n),pF(iF.count(rF(n),n)+(4===rF(n).getDay()),l,2)}function PF(n){return n.getDay()}function DF(n,l){return pF(tF.count(rF(n)-1,n),l,2)}function FF(n,l){return pF(n.getFullYear()%100,l,2)}function EF(n,l){return pF((n=AF(n)).getFullYear()%100,l,2)}function OF(n,l){return pF(n.getFullYear()%1e4,l,4)}function TF(n,l){var e=n.getDay();return pF((n=e>=4||0===e?iF(n):iF.ceil(n)).getFullYear()%1e4,l,4)}function LF(n){var l=n.getTimezoneOffset();return(l>0?"-":(l*=-1,"+"))+pF(l/60|0,"0",2)+pF(l%60,"0",2)}function RF(n,l){return pF(n.getUTCDate(),l,2)}function NF(n,l){return pF(n.getUTCHours(),l,2)}function jF(n,l){return pF(n.getUTCHours()%12||12,l,2)}function VF(n,l){return pF(1+nF.count(sF(n),n),l,3)}function qF(n,l){return pF(n.getUTCMilliseconds(),l,3)}function zF(n,l){return qF(n,l)+"000"}function UF(n,l){return pF(n.getUTCMonth()+1,l,2)}function BF(n,l){return pF(n.getUTCMinutes(),l,2)}function $F(n,l){return pF(n.getUTCSeconds(),l,2)}function HF(n){var l=n.getUTCDay();return 0===l?7:l}function GF(n,l){return pF(ZD.count(sF(n)-1,n),l,2)}function WF(n){var l=n.getUTCDay();return l>=4||0===l?XD(n):XD.ceil(n)}function KF(n,l){return n=WF(n),pF(XD.count(sF(n),n)+(4===sF(n).getUTCDay()),l,2)}function YF(n){return n.getUTCDay()}function JF(n,l){return pF(QD.count(sF(n)-1,n),l,2)}function ZF(n,l){return pF(n.getUTCFullYear()%100,l,2)}function QF(n,l){return pF((n=WF(n)).getUTCFullYear()%100,l,2)}function XF(n,l){return pF(n.getUTCFullYear()%1e4,l,4)}function nE(n,l){var e=n.getUTCDay();return pF((n=e>=4||0===e?XD(n):XD.ceil(n)).getUTCFullYear()%1e4,l,4)}function lE(){return"+0000"}function eE(){return"%"}function tE(n){return+n}function iE(n){return Math.floor(+n/1e3)}!function(n){var l=n.dateTime,e=n.date,t=n.time,i=n.periods,a=n.days,o=n.shortDays,r=n.months,u=n.shortMonths,s=(fF(i),hF(i),fF(a),hF(a),fF(o),hF(o),fF(r),hF(r),fF(u),hF(u),{a:function(n){return o[n.getDay()]},A:function(n){return a[n.getDay()]},b:function(n){return u[n.getMonth()]},B:function(n){return r[n.getMonth()]},c:null,d:gF,e:gF,f:wF,g:EF,G:TF,H:bF,I:vF,j:_F,L:yF,m:xF,M:CF,p:function(n){return i[+(n.getHours()>=12)]},q:function(n){return 1+~~(n.getMonth()/3)},Q:tE,s:iE,S:kF,u:SF,U:IF,V:MF,w:PF,W:DF,x:null,X:null,y:FF,Y:OF,Z:LF,"%":eE}),c={a:function(n){return o[n.getUTCDay()]},A:function(n){return a[n.getUTCDay()]},b:function(n){return u[n.getUTCMonth()]},B:function(n){return r[n.getUTCMonth()]},c:null,d:RF,e:RF,f:zF,g:QF,G:nE,H:NF,I:jF,j:VF,L:qF,m:UF,M:BF,p:function(n){return i[+(n.getUTCHours()>=12)]},q:function(n){return 1+~~(n.getUTCMonth()/3)},Q:tE,s:iE,S:$F,u:HF,U:GF,V:KF,w:YF,W:JF,x:null,X:null,y:ZF,Y:XF,Z:lE,"%":eE};function d(n,l){return function(e){var t,i,a,o=[],r=-1,u=0,s=n.length;for(e instanceof Date||(e=new Date(+e));++r<s;)37===n.charCodeAt(r)&&(o.push(n.slice(u,r)),null!=(i=cF[t=n.charAt(++r)])?t=n.charAt(++r):i="e"===t?" ":"0",(a=l[t])&&(t=a(e,i)),o.push(t),u=r+1);return o.push(n.slice(u,r)),o.join("")}}s.x=d(e,s),s.X=d(t,s),s.c=d(l,s),c.x=d(e,c),c.X=d(t,c),c.c=d(l,c)}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),ND(RD),ND((function(n){return null===n?NaN:+n}));var aE=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function oE(n){if(!(l=aE.exec(n)))throw new Error("invalid format: "+n);var l;return new rE({fill:l[1],align:l[2],sign:l[3],symbol:l[4],zero:l[5],width:l[6],comma:l[7],precision:l[8]&&l[8].slice(1),trim:l[9],type:l[10]})}function rE(n){this.fill=void 0===n.fill?" ":n.fill+"",this.align=void 0===n.align?">":n.align+"",this.sign=void 0===n.sign?"-":n.sign+"",this.symbol=void 0===n.symbol?"":n.symbol+"",this.zero=!!n.zero,this.width=void 0===n.width?void 0:+n.width,this.comma=!!n.comma,this.precision=void 0===n.precision?void 0:+n.precision,this.trim=!!n.trim,this.type=void 0===n.type?"":n.type+""}oE.prototype=rE.prototype,rE.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var uE,sE=Array.prototype.map;function cE(n){this._context=n}void 0===(uE={decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}).grouping||void 0===uE.thousands||sE.call(uE.grouping,Number),void 0===uE.numerals||sE.call(uE.numerals,String),Symbol("implicit"),cE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,l){switch(n=+n,l=+l,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,l):this._context.moveTo(n,l);break;case 1:this._point=2;default:this._context.lineTo(n,l)}}};var dE=Math.PI,pE=2*dE,mE=pE-1e-6;function fE(){this._x0=this._y0=this._x1=this._y1=null,this._=""}fE.prototype=(function(){return new fE}).prototype={constructor:fE,moveTo:function(n,l){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+l)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(n,l){this._+="L"+(this._x1=+n)+","+(this._y1=+l)},quadraticCurveTo:function(n,l,e,t){this._+="Q"+ +n+","+ +l+","+(this._x1=+e)+","+(this._y1=+t)},bezierCurveTo:function(n,l,e,t,i,a){this._+="C"+ +n+","+ +l+","+ +e+","+ +t+","+(this._x1=+i)+","+(this._y1=+a)},arcTo:function(n,l,e,t,i){var a=this._x1,o=this._y1,r=(e=+e)-(n=+n),u=(t=+t)-(l=+l),s=a-n,c=o-l,d=s*s+c*c;if((i=+i)<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=n)+","+(this._y1=l);else if(d>1e-6)if(Math.abs(c*r-u*s)>1e-6&&i){var p=e-a,m=t-o,f=r*r+u*u,h=p*p+m*m,g=Math.sqrt(f),b=Math.sqrt(d),v=i*Math.tan((dE-Math.acos((f+d-h)/(2*g*b)))/2),_=v/b,y=v/g;Math.abs(_-1)>1e-6&&(this._+="L"+(n+_*s)+","+(l+_*c)),this._+="A"+i+","+i+",0,0,"+ +(c*p>s*m)+","+(this._x1=n+y*r)+","+(this._y1=l+y*u)}else this._+="L"+(this._x1=n)+","+(this._y1=l)},arc:function(n,l,e,t,i,a){n=+n,l=+l,a=!!a;var o=(e=+e)*Math.cos(t),r=e*Math.sin(t),u=n+o,s=l+r,c=1^a,d=a?t-i:i-t;if(e<0)throw new Error("negative radius: "+e);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>1e-6||Math.abs(this._y1-s)>1e-6)&&(this._+="L"+u+","+s),e&&(d<0&&(d=d%pE+pE),d>mE?this._+="A"+e+","+e+",0,1,"+c+","+(n-o)+","+(l-r)+"A"+e+","+e+",0,1,"+c+","+(this._x1=u)+","+(this._y1=s):d>1e-6&&(this._+="A"+e+","+e+",0,"+ +(d>=dE)+","+c+","+(this._x1=n+e*Math.cos(i))+","+(this._y1=l+e*Math.sin(i))))},rect:function(n,l,e,t){this._+="M"+(this._x0=this._x1=+n)+","+(this._y0=this._y1=+l)+"h"+ +e+"v"+ +t+"h"+-e+"Z"},toString:function(){return this._}};var hE=function(){};function gE(n,l,e){n._context.bezierCurveTo(n._x1+n._k*(n._x2-n._x0),n._y1+n._k*(n._y2-n._y0),n._x2+n._k*(n._x1-l),n._y2+n._k*(n._y1-e),n._x2,n._y2)}function bE(n,l){this._context=n,this._k=(1-l)/6}function vE(n,l){this._context=n,this._k=(1-l)/6}function _E(n){this._curve=n}bE.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:gE(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(n,l){switch(n=+n,l=+l,this._point){case 0:this._point=1,this._line?this._context.lineTo(n,l):this._context.moveTo(n,l);break;case 1:this._point=2,this._x1=n,this._y1=l;break;case 2:this._point=3;default:gE(this,n,l)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=l}},function n(l){function e(n){return new bE(n,l)}return e.tension=function(l){return n(+l)},e}(0),vE.prototype={areaStart:hE,areaEnd:hE,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(n,l){switch(n=+n,l=+l,this._point){case 0:this._point=1,this._x3=n,this._y3=l;break;case 1:this._point=2,this._context.moveTo(this._x4=n,this._y4=l);break;case 2:this._point=3,this._x5=n,this._y5=l;break;default:gE(this,n,l)}this._x0=this._x1,this._x1=this._x2,this._x2=n,this._y0=this._y1,this._y1=this._y2,this._y2=l}},function n(l){function e(n){return new vE(n,l)}return e.tension=function(l){return n(+l)},e}(0),_E.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(n,l){this._curve.point(l*Math.sin(n),l*-Math.cos(n))}},Math,Math,Math,Math,Math,Math,Math,Math;var yE=function(n,l,e,t,i){for(var a,o=n.children,r=-1,u=o.length,s=n.value&&(t-l)/n.value;++r<u;)(a=o[r]).y0=e,a.y1=i,a.x0=l,a.x1=l+=a.value*s},wE=function(n,l,e,t,i){for(var a,o=n.children,r=-1,u=o.length,s=n.value&&(i-e)/n.value;++r<u;)(a=o[r]).x0=l,a.x1=t,a.y0=e,a.y1=e+=a.value*s};function xE(n){var l=0,e=n.children,t=e&&e.length;if(t)for(;--t>=0;)l+=e[t].value;else l=1;n.value=l}function CE(n,l){var e,t,i,a,o,r=new AE(n),u=+n.value&&(r.value=n.value),s=[r];for(null==l&&(l=kE);e=s.pop();)if(u&&(e.value=+e.data.value),(i=l(e.data))&&(o=i.length))for(e.children=new Array(o),a=o-1;a>=0;--a)s.push(t=e.children[a]=new AE(i[a])),t.parent=e,t.depth=e.depth+1;return r.eachBefore(IE)}function kE(n){return n.children}function SE(n){n.data=n.data.data}function IE(n){var l=0;do{n.height=l}while((n=n.parent)&&n.height<++l)}function AE(n){this.data=n,this.depth=this.height=0,this.parent=null}!function n(l){function e(n,e,t,i,a){!function(n,l,e,t,i,a){for(var o,r,u,s,c,d,p,m,f,h,g,b=[],v=l.children,_=0,y=0,w=v.length,x=l.value;_<w;){u=i-e,s=a-t;do{c=v[y++].value}while(!c&&y<w);for(d=p=c,g=c*c*(h=Math.max(s/u,u/s)/(x*n)),f=Math.max(p/g,g/d);y<w;++y){if(c+=r=v[y].value,r<d&&(d=r),r>p&&(p=r),g=c*c*h,(m=Math.max(p/g,g/d))>f){c-=r;break}f=m}b.push(o={value:c,dice:u<s,children:v.slice(_,y)}),o.dice?yE(o,e,t,i,x?t+=s*c/x:a):wE(o,e,t,x?e+=u*c/x:i,a),x-=c,_=y}}(l,n,e,t,i,a)}return e.ratio=function(l){return n((l=+l)>1?l:1)},e}((1+Math.sqrt(5))/2),AE.prototype=CE.prototype={constructor:AE,count:function(){return this.eachAfter(xE)},each:function(n){var l,e,t,i,a=this,o=[a];do{for(l=o.reverse(),o=[];a=l.pop();)if(n(a),e=a.children)for(t=0,i=e.length;t<i;++t)o.push(e[t])}while(o.length);return this},eachAfter:function(n){for(var l,e,t,i=this,a=[i],o=[];i=a.pop();)if(o.push(i),l=i.children)for(e=0,t=l.length;e<t;++e)a.push(l[e]);for(;i=o.pop();)n(i);return this},eachBefore:function(n){for(var l,e,t=this,i=[t];t=i.pop();)if(n(t),l=t.children)for(e=l.length-1;e>=0;--e)i.push(l[e]);return this},sum:function(n){return this.eachAfter((function(l){for(var e=+n(l.data)||0,t=l.children,i=t&&t.length;--i>=0;)e+=t[i].value;l.value=e}))},sort:function(n){return this.eachBefore((function(l){l.children&&l.children.sort(n)}))},path:function(n){for(var l=this,e=function(n,l){if(n===l)return n;var e=n.ancestors(),t=l.ancestors(),i=null;for(n=e.pop(),l=t.pop();n===l;)i=n,n=e.pop(),l=t.pop();return i}(l,n),t=[l];l!==e;)t.push(l=l.parent);for(var i=t.length;n!==e;)t.splice(i,0,n),n=n.parent;return t},ancestors:function(){for(var n=this,l=[n];n=n.parent;)l.push(n);return l},descendants:function(){var n=[];return this.each((function(l){n.push(l)})),n},leaves:function(){var n=[];return this.eachBefore((function(l){l.children||n.push(l)})),n},links:function(){var n=this,l=[];return n.each((function(e){e!==n&&l.push({source:e.parent,target:e})})),l},copy:function(){return CE(this).eachBefore(SE)}};var ME=function(){function n(n,l,e){this.applicationRef=n,this.componentFactoryResolver=l,this.injector=e}var l;return l=n,n.setGlobalRootViewContainer=function(n){l.globalRootViewContainer=n},n.prototype.getRootViewContainer=function(){if(this._container)return this._container;if(l.globalRootViewContainer)return l.globalRootViewContainer;if(this.applicationRef.components.length)return this.applicationRef.components[0];throw new Error("View Container not found! ngUpgrade needs to manually set this via setRootViewContainer or setGlobalRootViewContainer.")},n.prototype.setRootViewContainer=function(n){this._container=n},n.prototype.getComponentRootNode=function(n){return n.element?n.element.nativeElement:n.hostView&&n.hostView.rootNodes.length>0?n.hostView.rootNodes[0]:n.location.nativeElement},n.prototype.getRootViewContainerNode=function(n){return this.getComponentRootNode(n)},n.prototype.projectComponentBindings=function(n,l){var e,i,a,o;if(l){if(void 0!==l.inputs){var r=Object.getOwnPropertyNames(l.inputs);try{for(var u=Object(t.__values)(r),s=u.next();!s.done;s=u.next()){var c=s.value;n.instance[c]=l.inputs[c]}}catch(h){e={error:h}}finally{try{s&&!s.done&&(i=u.return)&&i.call(u)}finally{if(e)throw e.error}}}if(void 0!==l.outputs){var d=Object.getOwnPropertyNames(l.outputs);try{for(var p=Object(t.__values)(d),m=p.next();!m.done;m=p.next()){var f=m.value;n.instance[f]=l.outputs[f]}}catch(g){a={error:g}}finally{try{m&&!m.done&&(o=p.return)&&o.call(p)}finally{if(a)throw a.error}}}}return n},n.prototype.appendComponent=function(n,l,e){void 0===l&&(l={}),e||(e=this.getRootViewContainer());var t=this.getComponentRootNode(e),i=new fu(t,this.componentFactoryResolver,this.applicationRef,this.injector),a=new cu(n),o=i.attach(a);return this.projectComponentBindings(o,l),o},n.globalRootViewContainer=null,n}();function PE(n,l,e){var t,i,a;e=e||{};var o=null,r=0;function u(){r=!1===e.leading?0:+new Date,o=null,a=n.apply(t,i)}return function(){var s=+new Date;r||!1!==e.leading||(r=s);var c=l-(s-r);return t=this,i=arguments,c<=0?(clearTimeout(o),o=null,r=s,a=n.apply(t,i)):o||!1===e.trailing||(o=setTimeout(u,c)),a}}var DE=function(n){return n[n.top="top"]="top",n[n.bottom="bottom"]="bottom",n[n.left="left"]="left",n[n.right="right"]="right",n}({}),FE=7;function EE(n,l,e){return"top"===e?n.top-FE:"bottom"===e?n.top+n.height-l.height+FE:"center"===e?n.top+n.height/2-l.height/2:void 0}function OE(n,l,e){return"left"===e?n.left-FE:"right"===e?n.left+n.width-l.width+FE:"center"===e?n.left+n.width/2-l.width/2:void 0}var TE=function(){function n(){}return n.calculateVerticalAlignment=function(n,l,e){var t=EE(n,l,e);return t+l.height>window.innerHeight&&(t=window.innerHeight-l.height),t},n.calculateVerticalCaret=function(n,l,e,t){var i;"top"===t&&(i=n.height/2-e.height/2+FE),"bottom"===t&&(i=l.height-n.height/2-e.height/2-FE),"center"===t&&(i=l.height/2-e.height/2);var a=EE(n,l,t);return a+l.height>window.innerHeight&&(i+=a+l.height-window.innerHeight),i},n.calculateHorizontalAlignment=function(n,l,e){var t=OE(n,l,e);return t+l.width>window.innerWidth&&(t=window.innerWidth-l.width),t},n.calculateHorizontalCaret=function(n,l,e,t){var i;"left"===t&&(i=n.width/2-e.width/2+FE),"right"===t&&(i=l.width-n.width/2-e.width/2-FE),"center"===t&&(i=l.width/2-e.width/2);var a=OE(n,l,t);return a+l.width>window.innerWidth&&(i+=a+l.width-window.innerWidth),i},n.shouldFlip=function(n,l,e,t){var i=!1;return"right"===e&&n.left+n.width+l.width+t>window.innerWidth&&(i=!0),"left"===e&&n.left-l.width-t<0&&(i=!0),"top"===e&&n.top-l.height-t<0&&(i=!0),"bottom"===e&&n.top+n.height+l.height+t>window.innerHeight&&(i=!0),i},n.positionCaret=function(l,e,t,i,a){var o=0,r=0;return l===DE.right?(r=-7,o=n.calculateVerticalCaret(t,e,i,a)):l===DE.left?(r=e.width,o=n.calculateVerticalCaret(t,e,i,a)):l===DE.top?(o=e.height,r=n.calculateHorizontalCaret(t,e,i,a)):l===DE.bottom&&(o=-7,r=n.calculateHorizontalCaret(t,e,i,a)),{top:o,left:r}},n.positionContent=function(l,e,t,i,a){var o=0,r=0;return l===DE.right?(r=t.left+t.width+i,o=n.calculateVerticalAlignment(t,e,a)):l===DE.left?(r=t.left-e.width-i,o=n.calculateVerticalAlignment(t,e,a)):l===DE.top?(o=t.top-e.height-i,r=n.calculateHorizontalAlignment(t,e,a)):l===DE.bottom&&(o=t.top+t.height+i,r=n.calculateHorizontalAlignment(t,e,a)),{top:o,left:r}},n.determinePlacement=function(l,e,t,i){if(n.shouldFlip(t,e,l,i)){if(l===DE.right)return DE.left;if(l===DE.left)return DE.right;if(l===DE.top)return DE.bottom;if(l===DE.bottom)return DE.top}return l},n}(),LE=function(){function n(n,l){this.element=n,this.renderer=l}return Object.defineProperty(n.prototype,"cssClasses",{get:function(){var n="ngx-charts-tooltip-content";return n+=" position-"+this.placement,(n+=" type-"+this.type)+" "+this.cssClass},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){setTimeout(this.position.bind(this))},n.prototype.position=function(){var n=this,l=this.element.nativeElement,e=this.host.nativeElement.getBoundingClientRect();if(e.height||e.width){var t=l.getBoundingClientRect();this.checkFlip(e,t),this.positionContent(l,e,t),this.showCaret&&this.positionCaret(e,t),setTimeout((function(){return n.renderer.addClass(l,"animate")}),1)}},n.prototype.positionContent=function(n,l,e){var t=TE.positionContent(this.placement,e,l,this.spacing,this.alignment),i=t.left;this.renderer.setStyle(n,"top",t.top+"px"),this.renderer.setStyle(n,"left",i+"px")},n.prototype.positionCaret=function(n,l){var e=this.caretElm.nativeElement,t=e.getBoundingClientRect(),i=TE.positionCaret(this.placement,l,n,t,this.alignment),a=i.left;this.renderer.setStyle(e,"top",i.top+"px"),this.renderer.setStyle(e,"left",a+"px")},n.prototype.checkFlip=function(n,l){this.placement=TE.determinePlacement(this.placement,l,n,this.spacing)},n.prototype.onWindowResize=function(){this.position()},Object(t.__decorate)([function(n,l,e){return{configurable:!0,enumerable:e.enumerable,get:function(){return Object.defineProperty(this,l,{configurable:!0,enumerable:e.enumerable,value:PE(e.value,100,void 0)}),this[l]}}}],n.prototype,"onWindowResize",null),n}(),RE=function(n){function l(l){var e=n.call(this,l)||this;return e.type=LE,e}return Object(t.__extends)(l,n),l}(function(){function n(n){this.injectionService=n,this.defaults={},this.components=new Map}return n.prototype.getByType=function(n){return void 0===n&&(n=this.type),this.components.get(n)},n.prototype.create=function(n){return this.createByType(this.type,n)},n.prototype.createByType=function(n,l){l=this.assignDefaults(l);var e=this.injectComponent(n,l);return this.register(n,e),e},n.prototype.destroy=function(n){var l=this.components.get(n.componentType);if(l&&l.length){var e=l.indexOf(n);e>-1&&(l[e].destroy(),l.splice(e,1))}},n.prototype.destroyAll=function(){this.destroyByType(this.type)},n.prototype.destroyByType=function(n){var l=this.components.get(n);if(l&&l.length)for(var e=l.length-1;e>=0;)this.destroy(l[e--])},n.prototype.injectComponent=function(n,l){return this.injectionService.appendComponent(n,l)},n.prototype.assignDefaults=function(n){var l=Object(t.__assign)({},this.defaults.inputs),e=Object(t.__assign)({},this.defaults.outputs);return n.inputs||n.outputs||(n={inputs:n}),l&&(n.inputs=Object(t.__assign)(Object(t.__assign)({},l),n.inputs)),e&&(n.outputs=Object(t.__assign)(Object(t.__assign)({},e),n.outputs)),n},n.prototype.register=function(n,l){this.components.has(n)||this.components.set(n,[]),this.components.get(n).push(l)},n}()),NE=function(){return function(){}}(),jE=function(){return function(){}}();"undefined"!=typeof window?window:"undefined"!=typeof global&&global;var VE=function(){return function(){}}(),qE=function(){return function(){}}(),zE=function(){return function(){}}(),UE=function(){return function(){}}(),BE=function(){return function(){}}(),$E=function(){return function(){}}();Math;var HE=function(){return function(){}}(),GE=function(){return function(){}}(),WE=function(){return function(){}}(),KE=function(){return function(){}}(),YE=function(){return function(){}}(),JE=function(){return function(){"undefined"!=typeof SVGElement&&void 0===SVGElement.prototype.contains&&(SVGElement.prototype.contains=HTMLDivElement.prototype.contains)}}(),ZE=yt({encapsulation:2,styles:[".ngx-charts-tooltip-content{position:fixed;border-radius:3px;z-index:5000;display:block;font-weight:400;opacity:0;pointer-events:none!important}.ngx-charts-tooltip-content.type-popover{background:#fff;color:#060709;border:1px solid #72809b;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);font-size:13px;padding:4px}.ngx-charts-tooltip-content.type-popover .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid #fff}.ngx-charts-tooltip-content.type-popover .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #fff}.ngx-charts-tooltip-content.type-tooltip{color:#fff;background:rgba(0,0,0,.75);font-size:12px;padding:0 10px;text-align:center;pointer-events:auto}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-left{border-top:7px solid transparent;border-bottom:7px solid transparent;border-left:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-top{border-left:7px solid transparent;border-right:7px solid transparent;border-top:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-right{border-top:7px solid transparent;border-bottom:7px solid transparent;border-right:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content.type-tooltip .tooltip-caret.position-bottom{border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid rgba(0,0,0,.75)}.ngx-charts-tooltip-content .tooltip-label{display:block;line-height:1em;padding:8px 5px 5px;font-size:1em}.ngx-charts-tooltip-content .tooltip-val{display:block;font-size:1.3em;line-height:1em;padding:0 5px 8px}.ngx-charts-tooltip-content .tooltip-caret{position:absolute;z-index:5001;width:0;height:0}.ngx-charts-tooltip-content.position-right{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}.ngx-charts-tooltip-content.position-left{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}.ngx-charts-tooltip-content.position-top{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}.ngx-charts-tooltip-content.position-bottom{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}.ngx-charts-tooltip-content.animate{opacity:1;-webkit-transition:opacity .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s,-webkit-transform .3s;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);pointer-events:auto}.area-tooltip-container{padding:5px 0;pointer-events:none}.tooltip-item{text-align:left;line-height:1.2em;padding:5px 0}.tooltip-item .tooltip-item-color{display:inline-block;height:12px;width:12px;margin-right:5px;color:#5b646b;border-radius:3px}"],data:{}});function QE(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function XE(n){return jo(0,[(n()(),_o(0,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,QE)),Di(2,540672,null,0,Is,[lt],{ngTemplateOutletContext:[0,"ngTemplateOutletContext"],ngTemplateOutlet:[1,"ngTemplateOutlet"]},null),Oo(3,{model:0})],(function(n,l){var e=l.component,t=n(l,3,0,e.context);n(l,2,0,t,e.template)}),null)}function nO(n){return jo(0,[(n()(),_o(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.title)}))}function lO(n){return jo(0,[ko(402653184,1,{caretElm:0}),(n()(),_o(1,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),_o(2,0,[[1,0],["caretElm",1]],null,0,"span",[],[[8,"hidden",0],[8,"className",0]],null,null,null,null)),(n()(),_o(3,0,null,null,4,"div",[["class","tooltip-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,XE)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nO)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,!e.title),n(l,7,0,e.title)}),(function(n,l){var e=l.component;n(l,2,0,!e.showCaret,Wt(1,"tooltip-caret position-",e.placement,""))}))}function eO(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ngx-tooltip-content",[],[[8,"className",0]],[["window","resize"]],(function(n,l,e){var t=!0;return"window:resize"===l&&(t=!1!==bi(n,1).onWindowResize()&&t),t}),lO,ZE)),Di(1,4243456,null,0,LE,[Pe,Te],null,null)],null,(function(n,l){n(l,0,0,bi(l,1).cssClasses)}))}var tO=oi("ngx-tooltip-content",LE,eO,{host:"host",showCaret:"showCaret",type:"type",placement:"placement",alignment:"alignment",spacing:"spacing",cssClass:"cssClass",title:"title",template:"template",context:"context"},{},[]),iO=100,aO=Kb(function(){return function(n){this._elementRef=n}}(),"primary"),oO=new On("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:iO}}}),rO=function(n){function l(e,t,i,a,o){var r=n.call(this,e)||this;r._elementRef=e,r._document=i,r._diameter=iO,r._value=0,r._fallbackAnimation=!1,r.mode="determinate";var u=l._diameters;return u.has(i.head)||u.set(i.head,new Set([iO])),r._fallbackAnimation=t.EDGE||t.TRIDENT,r._noopAnimations="NoopAnimations"===a&&!!o&&!o._forceAnimations,o&&(o.diameter&&(r.diameter=o.diameter),o.strokeWidth&&(r.strokeWidth=o.strokeWidth)),r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"diameter",{get:function(){return this._diameter},set:function(n){this._diameter=Jf(n),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"strokeWidth",{get:function(){return this._strokeWidth||this.diameter/10},set:function(n){this._strokeWidth=Jf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return"determinate"===this.mode?this._value:0},set:function(n){this._value=Math.max(0,Math.min(100,Jf(n)))},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){var n=this._elementRef.nativeElement;this._styleRoot=function(n,l){if("undefined"!=typeof window){var e=l.head;if(e&&(e.createShadowRoot||e.attachShadow)){var t=n.getRootNode?n.getRootNode():null;if(t instanceof window.ShadowRoot)return t}}return null}(n,this._document)||this._document.head,this._attachStyleNode(),n.classList.add("mat-progress-spinner-indeterminate"+(this._fallbackAnimation?"-fallback":"")+"-animation")},Object.defineProperty(l.prototype,"_circleRadius",{get:function(){return(this.diameter-10)/2},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_viewBox",{get:function(){var n=2*this._circleRadius+this.strokeWidth;return"0 0 "+n+" "+n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_strokeCircumference",{get:function(){return 2*Math.PI*this._circleRadius},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_strokeDashOffset",{get:function(){return"determinate"===this.mode?this._strokeCircumference*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._strokeCircumference:null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_circleStrokeWidth",{get:function(){return this.strokeWidth/this.diameter*100},enumerable:!0,configurable:!0}),l.prototype._attachStyleNode=function(){var n=this._styleRoot,e=this._diameter,t=l._diameters,i=t.get(n);if(!i||!i.has(e)){var a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",e+""),a.textContent=this._getAnimationText(),n.appendChild(a),i||(i=new Set,t.set(n,i)),i.add(e)}},l.prototype._getAnimationText=function(){return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n 0% { stroke-dashoffset: START_VALUE; transform: rotate(0); }\n 12.5% { stroke-dashoffset: END_VALUE; transform: rotate(0); }\n 12.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n 25% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(72.5deg); }\n\n 25.0001% { stroke-dashoffset: START_VALUE; transform: rotate(270deg); }\n 37.5% { stroke-dashoffset: END_VALUE; transform: rotate(270deg); }\n 37.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n 50% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(161.5deg); }\n\n 50.0001% { stroke-dashoffset: START_VALUE; transform: rotate(180deg); }\n 62.5% { stroke-dashoffset: END_VALUE; transform: rotate(180deg); }\n 62.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n 75% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(251.5deg); }\n\n 75.0001% { stroke-dashoffset: START_VALUE; transform: rotate(90deg); }\n 87.5% { stroke-dashoffset: END_VALUE; transform: rotate(90deg); }\n 87.5001% { stroke-dashoffset: END_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n 100% { stroke-dashoffset: START_VALUE; transform: rotateX(180deg) rotate(341.5deg); }\n }\n".replace(/START_VALUE/g,""+.95*this._strokeCircumference).replace(/END_VALUE/g,""+.2*this._strokeCircumference).replace(/DIAMETER/g,""+this.diameter)},l._diameters=new WeakMap,l}(aO),uO=function(n){function l(l,e,t,i,a){var o=n.call(this,l,e,t,i,a)||this;return o.mode="indeterminate",o}return Object(t.__extends)(l,n),l}(rO),sO=function(){return function(){}}(),cO=yt({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function dO(n){return jo(0,[(n()(),_o(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e._circleRadius,"mat-progress-spinner-stroke-rotate-"+e.diameter,e._strokeDashOffset,e._strokeCircumference,e._circleStrokeWidth)}))}function pO(n){return jo(0,[(n()(),_o(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e._circleRadius,e._strokeDashOffset,e._strokeCircumference,e._circleStrokeWidth)}))}function mO(n){return jo(2,[(n()(),_o(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),Di(1,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),vo(16777216,null,null,1,null,dO)),Di(3,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,pO)),Di(5,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,l){n(l,1,0,"indeterminate"===l.component.mode),n(l,3,0,!0),n(l,5,0,!1)}),(function(n,l){var e=l.component;n(l,0,0,e.diameter,e.diameter,e._viewBox)}))}var fO=yt({encapsulation:2,styles:[".mat-progress-spinner{display:block;position:relative}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{animation:mat-progress-spinner-linear-rotate 2s linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4s;animation-timing-function:cubic-bezier(.35,0,.25,1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{animation:mat-progress-spinner-stroke-rotate-fallback 10s cubic-bezier(.87,.03,.33,1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate]{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.60617px;transform:rotate(0)}12.5%{stroke-dashoffset:56.54867px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.60617px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.54867px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.60617px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.54867px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.60617px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.54867px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.54867px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.60617px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}"],data:{}});function hO(n){return jo(0,[(n()(),_o(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"animation-name",null],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e._circleRadius,"mat-progress-spinner-stroke-rotate-"+e.diameter,e._strokeDashOffset,e._strokeCircumference,e._circleStrokeWidth)}))}function gO(n){return jo(0,[(n()(),_o(0,0,null,null,0,":svg:circle",[["cx","50%"],["cy","50%"]],[[1,"r",0],[4,"stroke-dashoffset","px"],[4,"stroke-dasharray","px"],[4,"stroke-width","%"]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e._circleRadius,e._strokeDashOffset,e._strokeCircumference,e._circleStrokeWidth)}))}function bO(n){return jo(2,[(n()(),_o(0,0,null,null,5,":svg:svg",[["focusable","false"],["preserveAspectRatio","xMidYMid meet"]],[[4,"width","px"],[4,"height","px"],[1,"viewBox",0]],null,null,null,null)),Di(1,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),vo(16777216,null,null,1,null,hO)),Di(3,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,gO)),Di(5,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,l){n(l,1,0,"indeterminate"===l.component.mode),n(l,3,0,!0),n(l,5,0,!1)}),(function(n,l){var e=l.component;n(l,0,0,e.diameter,e.diameter,e._viewBox)}))}var vO=function(){return function(){}}(),_O=function(){return function(){}}(),yO=function(){return function(){}}(),wO=function(){return function(){}}(),xO=function(){return function(n){this._animationMode=n}}(),CO=function(){return function(){}}(),kO=function(){return function(){}}(),SO=yt({encapsulation:2,styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}@media (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-actions,.mat-card-content,.mat-card-subtitle{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media (max-width:599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child:not(.mat-card-footer),.mat-card>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child,.mat-card-actions .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}"],data:{}});function IO(n){return jo(2,[Po(null,0),Po(null,1)],null,null)}var AO=yt({encapsulation:2,styles:[],data:{}});function MO(n){return jo(2,[Po(null,0),(n()(),_o(1,0,null,null,1,"div",[["class","mat-card-header-text"]],null,null,null,null,null)),Po(null,1),Po(null,2)],null,null)}function PO(n){throw Error("A drawer was already declared for 'position=\""+n+"\"'")}var DO=new On("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),FO=function(n){function l(l,e,t,i,a){var o=n.call(this,t,i,a)||this;return o._changeDetectorRef=l,o._container=e,o}return Object(t.__extends)(l,n),l.prototype.ngAfterContentInit=function(){var n=this;this._container._contentMarginChanges.subscribe((function(){n._changeDetectorRef.markForCheck()}))},l}(xg),EO=function(){function n(n,l,e,t,i,a){var o=this;this._elementRef=n,this._focusTrapFactory=l,this._focusMonitor=e,this._platform=t,this._ngZone=i,this._doc=a,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._autoFocus=!0,this._animationStarted=new M,this._animationEnd=new M,this._animationState="void",this.openedChange=new la(!0),this._destroyed=new M,this.onPositionChanged=new la,this._modeChanged=new M,this._opened=!1,this.openedChange.subscribe((function(n){n?(o._doc&&(o._elementFocusedBeforeDrawerWasOpened=o._doc.activeElement),o._isFocusTrapEnabled&&o._focusTrap&&o._trapFocus()):o._restoreFocus()})),this._ngZone.runOutsideAngular((function(){Vh(o._elementRef.nativeElement,"keydown").pipe(tc((function(n){return n.keyCode===eh&&!o.disableClose&&!oh(n)})),Ph(o._destroyed)).subscribe((function(n){return o._ngZone.run((function(){o.close(),n.stopPropagation(),n.preventDefault()}))}))})),this._animationEnd.pipe(Gh((function(n,l){return n.fromState===l.fromState&&n.toState===l.toState}))).subscribe((function(n){var l=n.fromState,e=n.toState;(0===e.indexOf("open")&&"void"===l||"void"===e&&0===l.indexOf("open"))&&o.openedChange.emit(o._opened)}))}return Object.defineProperty(n.prototype,"position",{get:function(){return this._position},set:function(n){(n="end"===n?"end":"start")!=this._position&&(this._position=n,this.onPositionChanged.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"mode",{get:function(){return this._mode},set:function(n){this._mode=n,this._updateFocusTrapState(),this._modeChanged.next()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disableClose",{get:function(){return this._disableClose},set:function(n){this._disableClose=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"autoFocus",{get:function(){return this._autoFocus},set:function(n){this._autoFocus=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_openedStream",{get:function(){return this.openedChange.pipe(tc((function(n){return n})),q((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"openedStart",{get:function(){return this._animationStarted.pipe(tc((function(n){return n.fromState!==n.toState&&0===n.toState.indexOf("open")})),q((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_closedStream",{get:function(){return this.openedChange.pipe(tc((function(n){return!n})),q((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"closedStart",{get:function(){return this._animationStarted.pipe(tc((function(n){return n.fromState!==n.toState&&"void"===n.toState})),q((function(){})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"_isFocusTrapEnabled",{get:function(){return this.opened&&"side"!==this.mode},enumerable:!0,configurable:!0}),n.prototype._trapFocus=function(){var n=this;this.autoFocus&&this._focusTrap.focusInitialElementWhenReady().then((function(l){l||"function"!=typeof n._elementRef.nativeElement.focus||n._elementRef.nativeElement.focus()}))},n.prototype._restoreFocus=function(){if(this.autoFocus){var n=this._doc&&this._doc.activeElement;n&&this._elementRef.nativeElement.contains(n)&&(this._elementFocusedBeforeDrawerWasOpened instanceof HTMLElement?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}},n.prototype.ngAfterContentInit=function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()},n.prototype.ngAfterContentChecked=function(){this._platform.isBrowser&&(this._enableAnimations=!0)},n.prototype.ngOnDestroy=function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()},Object.defineProperty(n.prototype,"opened",{get:function(){return this._opened},set:function(n){this.toggle(Yf(n))},enumerable:!0,configurable:!0}),n.prototype.open=function(n){return this.toggle(!0,n)},n.prototype.close=function(){return this.toggle(!1)},n.prototype.toggle=function(n,l){var e=this;return void 0===n&&(n=!this.opened),void 0===l&&(l="program"),this._opened=n,n?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=l):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(n){e.openedChange.pipe(_c(1)).subscribe((function(l){return n(l?"open":"close")}))}))},Object.defineProperty(n.prototype,"_width",{get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0},enumerable:!0,configurable:!0}),n.prototype._updateFocusTrapState=function(){this._focusTrap&&(this._focusTrap.enabled=this._isFocusTrapEnabled)},n.prototype._animationStartListener=function(n){this._animationStarted.next(n)},n.prototype._animationDoneListener=function(n){this._animationEnd.next(n)},n}(),OO=function(){function n(n,l,e,t,i,a,o){var r=this;void 0===a&&(a=!1),this._dir=n,this._element=l,this._ngZone=e,this._changeDetectorRef=t,this._animationMode=o,this.backdropClick=new la,this._destroyed=new M,this._doCheckSubject=new M,this._contentMargins={left:null,right:null},this._contentMarginChanges=new M,n&&n.change.pipe(Ph(this._destroyed)).subscribe((function(){r._validateDrawers(),r.updateContentMargins()})),i.change().pipe(Ph(this._destroyed)).subscribe((function(){return r.updateContentMargins()})),this._autosize=a}return Object.defineProperty(n.prototype,"start",{get:function(){return this._start},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"end",{get:function(){return this._end},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"autosize",{get:function(){return this._autosize},set:function(n){this._autosize=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(n){this._backdropOverride=null==n?null:Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"scrollable",{get:function(){return this._userContent||this._content},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){var n=this;this._drawers.changes.pipe(Pc(null)).subscribe((function(){n._validateDrawers(),n._drawers.forEach((function(l){n._watchDrawerToggle(l),n._watchDrawerPosition(l),n._watchDrawerMode(l)})),(!n._drawers.length||n._isDrawerOpen(n._start)||n._isDrawerOpen(n._end))&&n.updateContentMargins(),n._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(Sh(10),Ph(this._destroyed)).subscribe((function(){return n.updateContentMargins()}))},n.prototype.ngOnDestroy=function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._destroyed.next(),this._destroyed.complete()},n.prototype.open=function(){this._drawers.forEach((function(n){return n.open()}))},n.prototype.close=function(){this._drawers.forEach((function(n){return n.close()}))},n.prototype.updateContentMargins=function(){var n=this,l=0,e=0;if(this._left&&this._left.opened&&("side"==this._left.mode?l+=this._left._width:"push"==this._left.mode&&(l+=t=this._left._width,e-=t)),this._right&&this._right.opened)if("side"==this._right.mode)e+=this._right._width;else if("push"==this._right.mode){var t;e+=t=this._right._width,l-=t}e=e||null,(l=l||null)===this._contentMargins.left&&e===this._contentMargins.right||(this._contentMargins={left:l,right:e},this._ngZone.run((function(){return n._contentMarginChanges.next(n._contentMargins)})))},n.prototype.ngDoCheck=function(){var n=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return n._doCheckSubject.next()}))},n.prototype._watchDrawerToggle=function(n){var l=this;n._animationStarted.pipe(tc((function(n){return n.fromState!==n.toState})),Ph(this._drawers.changes)).subscribe((function(n){"open-instant"!==n.toState&&"NoopAnimations"!==l._animationMode&&l._element.nativeElement.classList.add("mat-drawer-transition"),l.updateContentMargins(),l._changeDetectorRef.markForCheck()})),"side"!==n.mode&&n.openedChange.pipe(Ph(this._drawers.changes)).subscribe((function(){return l._setContainerClass(n.opened)}))},n.prototype._watchDrawerPosition=function(n){var l=this;n&&n.onPositionChanged.pipe(Ph(this._drawers.changes)).subscribe((function(){l._ngZone.onMicrotaskEmpty.asObservable().pipe(_c(1)).subscribe((function(){l._validateDrawers()}))}))},n.prototype._watchDrawerMode=function(n){var l=this;n&&n._modeChanged.pipe(Ph(Z(this._drawers.changes,this._destroyed))).subscribe((function(){l.updateContentMargins(),l._changeDetectorRef.markForCheck()}))},n.prototype._setContainerClass=function(n){var l=this._element.nativeElement.classList,e="mat-drawer-container-has-open";n?l.add(e):l.remove(e)},n.prototype._validateDrawers=function(){var n=this;this._start=this._end=null,this._drawers.forEach((function(l){"end"==l.position?(null!=n._end&&PO("end"),n._end=l):(null!=n._start&&PO("start"),n._start=l)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)},n.prototype._isPushed=function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode},n.prototype._onBackdropClicked=function(){this.backdropClick.emit(),this._closeModalDrawer()},n.prototype._closeModalDrawer=function(){var n=this;[this._start,this._end].filter((function(l){return l&&!l.disableClose&&n._canHaveBackdrop(l)})).forEach((function(n){return n.close()}))},n.prototype._isShowingBackdrop=function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)},n.prototype._canHaveBackdrop=function(n){return"side"!==n.mode||!!this._backdropOverride},n.prototype._isDrawerOpen=function(n){return null!=n&&n.opened},n}(),TO=function(n){function l(l,e,t,i,a){return n.call(this,l,e,t,i,a)||this}return Object(t.__extends)(l,n),l}(FO),LO=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._fixedInViewport=!1,l._fixedTopGap=0,l._fixedBottomGap=0,l}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"fixedInViewport",{get:function(){return this._fixedInViewport},set:function(n){this._fixedInViewport=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fixedTopGap",{get:function(){return this._fixedTopGap},set:function(n){this._fixedTopGap=Jf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fixedBottomGap",{get:function(){return this._fixedBottomGap},set:function(n){this._fixedBottomGap=Jf(n)},enumerable:!0,configurable:!0}),l}(EO),RO=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(OO),NO=function(){return function(){}}(),jO=yt({encapsulation:2,styles:[],data:{}});function VO(n){return jo(2,[Po(null,0)],null,null)}var qO=yt({encapsulation:2,styles:[],data:{animation:[{type:7,name:"transform",definitions:[{type:0,name:"open, open-instant",styles:{type:6,styles:{transform:"none",visibility:"visible"},offset:null},options:void 0},{type:0,name:"void",styles:{type:6,styles:{"box-shadow":"none",visibility:"hidden"},offset:null},options:void 0},{type:1,expr:"void => open-instant",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"void <=> open, open-instant => void",animation:{type:4,styles:null,timings:"400ms cubic-bezier(0.25, 0.8, 0.25, 1)"},options:null}],options:{}}]}});function zO(n){return jo(2,[(n()(),_o(0,0,null,null,1,"div",[["class","mat-drawer-inner-container"]],null,null,null,null,null)),Po(null,0)],null,null)}var UO=yt({encapsulation:2,styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:background-color,visibility}@media (-ms-high-contrast:active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%,0,0)}@media (-ms-high-contrast:active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media (-ms-high-contrast:active){.mat-drawer.mat-drawer-end,[dir=rtl] .mat-drawer{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer{transform:translate3d(100%,0,0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%,0,0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}"],data:{}});function BO(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","mat-drawer-backdrop"]],[[2,"mat-drawer-shown",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component._onBackdropClicked()&&t),t}),null,null))],null,(function(n,l){n(l,0,0,l.component._isShowingBackdrop())}))}function $O(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-sidenav-content",[["cdkScrollable",""],["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(1,212992,null,0,xg,[Pe,wg,La,[2,bb]],null,null),Di(2,1294336,null,0,TO,[Nl,RO,Pe,wg,La],null,null),Po(0,2)],(function(n,l){n(l,1,0),n(l,2,0)}),(function(n,l){n(l,0,0,bi(l,2)._container._contentMargins.left,bi(l,2)._container._contentMargins.right)}))}function HO(n){return jo(2,[ko(671088640,1,{_userContent:0}),(n()(),vo(16777216,null,null,1,null,BO)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Po(null,0),Po(null,1),(n()(),vo(16777216,null,null,1,null,$O)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.hasBackdrop),n(l,6,0,!e._content)}),null)}var GO=function(){function n(n){this.headerService=n,this.lang=Kr,this.config={}}return n.prototype.ngOnInit=function(){},n}(),WO=yt({encapsulation:0,styles:[[".bg-head-title-label[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{position:absolute;margin-left:-35px;margin-top:-10px}.headerIcon[_ngcontent-%COMP%]{font-size:22px}"]],data:{}});function KO(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["mat-icon-button",""],["style","font-size:20px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.headerService.sideNavLeft.open()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-stream mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.openSidePanel,""),bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function YO(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.headerService.headerMessageIcon," headerIcon"))}))}function JO(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,KO)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,YO)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,1,"span",[["class","admin-toolbar-title-small"]],null,null,null,null,null)),(n()(),Lo(7,null,["",""]))],(function(n,l){var e=l.component;n(l,2,0,!e.headerService.sideNavLeft.opened),n(l,4,0,""!==e.headerService.headerMessageIcon)}),(function(n,l){var e=l.component;n(l,5,0,e.headerService.headerMessage),n(l,7,0,e.headerService.subHeaderMessage)}))}function ZO(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,JO)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,void 0!==l.component.headerService.sideNavLeft)}),null)}var QO=0,XO=function(){return function(){this.id="mat-error-"+QO++}}(),nT=function(){return function(){}}();function lT(n){return Error("A hint was already declared for 'align=\""+n+"\"'.")}var eT=0,tT=function(){return function(){this.align="start",this.id="mat-hint-"+eT++}}(),iT=function(){return function(){}}(),aT=function(){return function(){}}(),oT=function(){return function(){}}(),rT=0,uT=Kb(function(){return function(n){this._elementRef=n}}(),"primary"),sT=new On("MAT_FORM_FIELD_DEFAULT_OPTIONS"),cT=function(n){function l(l,e,t,i,a,o,r,u){var s=n.call(this,l)||this;return s._elementRef=l,s._changeDetectorRef=e,s._dir=i,s._defaults=a,s._platform=o,s._ngZone=r,s._outlineGapCalculationNeededImmediately=!1,s._outlineGapCalculationNeededOnStable=!1,s._destroyed=new M,s._showAlwaysAnimate=!1,s._subscriptAnimationState="",s._hintLabel="",s._hintLabelId="mat-hint-"+rT++,s._labelId="mat-form-field-label-"+rT++,s._labelOptions=t||{},s.floatLabel=s._labelOptions.float||"auto",s._animationsEnabled="NoopAnimations"!==u,s.appearance=a&&a.appearance?a.appearance:"legacy",s._hideRequiredMarker=!(!a||null==a.hideRequiredMarker)&&a.hideRequiredMarker,s}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"appearance",{get:function(){return this._appearance},set:function(n){var l=this._appearance;this._appearance=n||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&l!==n&&(this._outlineGapCalculationNeededOnStable=!0)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hideRequiredMarker",{get:function(){return this._hideRequiredMarker},set:function(n){this._hideRequiredMarker=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_shouldAlwaysFloat",{get:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_canLabelFloat",{get:function(){return"never"!==this.floatLabel},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hintLabel",{get:function(){return this._hintLabel},set:function(n){this._hintLabel=n,this._processHints()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"floatLabel",{get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(n){n!==this._floatLabel&&(this._floatLabel=n||this._labelOptions.float||"auto",this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_control",{get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(n){this._explicitFormFieldControl=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_labelChild",{get:function(){return this._labelChildNonStatic||this._labelChildStatic},enumerable:!0,configurable:!0}),l.prototype.getConnectedOverlayOrigin=function(){return this._connectionContainerRef||this._elementRef},l.prototype.ngAfterContentInit=function(){var n=this;this._validateControlChild();var l=this._control;l.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-"+l.controlType),l.stateChanges.pipe(Pc(null)).subscribe((function(){n._validatePlaceholders(),n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()})),l.ngControl&&l.ngControl.valueChanges&&l.ngControl.valueChanges.pipe(Ph(this._destroyed)).subscribe((function(){return n._changeDetectorRef.markForCheck()})),this._ngZone.runOutsideAngular((function(){n._ngZone.onStable.asObservable().pipe(Ph(n._destroyed)).subscribe((function(){n._outlineGapCalculationNeededOnStable&&n.updateOutlineGap()}))})),Z(this._prefixChildren.changes,this._suffixChildren.changes).subscribe((function(){n._outlineGapCalculationNeededOnStable=!0,n._changeDetectorRef.markForCheck()})),this._hintChildren.changes.pipe(Pc(null)).subscribe((function(){n._processHints(),n._changeDetectorRef.markForCheck()})),this._errorChildren.changes.pipe(Pc(null)).subscribe((function(){n._syncDescribedByIds(),n._changeDetectorRef.markForCheck()})),this._dir&&this._dir.change.pipe(Ph(this._destroyed)).subscribe((function(){return n.updateOutlineGap()}))},l.prototype.ngAfterContentChecked=function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()},l.prototype.ngAfterViewInit=function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()},l.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},l.prototype._shouldForward=function(n){var l=this._control?this._control.ngControl:null;return l&&l[n]},l.prototype._hasPlaceholder=function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)},l.prototype._hasLabel=function(){return!!this._labelChild},l.prototype._shouldLabelFloat=function(){return this._canLabelFloat&&(this._control.shouldLabelFloat||this._shouldAlwaysFloat)},l.prototype._hideControlPlaceholder=function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()},l.prototype._hasFloatingLabel=function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()},l.prototype._getDisplayedMessages=function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"},l.prototype._animateAndLockLabel=function(){var n=this;this._hasFloatingLabel()&&this._canLabelFloat&&(this._animationsEnabled&&(this._showAlwaysAnimate=!0,Vh(this._label.nativeElement,"transitionend").pipe(_c(1)).subscribe((function(){n._showAlwaysAnimate=!1}))),this.floatLabel="always",this._changeDetectorRef.markForCheck())},l.prototype._validatePlaceholders=function(){if(this._control.placeholder&&this._placeholderChild)throw Error("Placeholder attribute and child element were both specified.")},l.prototype._processHints=function(){this._validateHints(),this._syncDescribedByIds()},l.prototype._validateHints=function(){var n,l,e=this;this._hintChildren&&this._hintChildren.forEach((function(t){if("start"===t.align){if(n||e.hintLabel)throw lT("start");n=t}else if("end"===t.align){if(l)throw lT("end");l=t}}))},l.prototype._syncDescribedByIds=function(){if(this._control){var n=[];if("hint"===this._getDisplayedMessages()){var l=this._hintChildren?this._hintChildren.find((function(n){return"start"===n.align})):null,e=this._hintChildren?this._hintChildren.find((function(n){return"end"===n.align})):null;l?n.push(l.id):this._hintLabel&&n.push(this._hintLabelId),e&&n.push(e.id)}else this._errorChildren&&(n=this._errorChildren.map((function(n){return n.id})));this._control.setDescribedByIds(n)}},l.prototype._validateControlChild=function(){if(!this._control)throw Error("mat-form-field must contain a MatFormFieldControl.")},l.prototype.updateOutlineGap=function(){var n=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&n&&n.children.length&&n.textContent.trim()&&this._platform.isBrowser)if(document.documentElement.contains(this._elementRef.nativeElement)){var l=0,e=0,t=this._connectionContainerRef.nativeElement,i=t.querySelectorAll(".mat-form-field-outline-start"),a=t.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=t.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var r=this._getStartEnd(o),u=this._getStartEnd(n.children[0].getBoundingClientRect()),s=0,c=0,d=n.children;c<d.length;c++)s+=d[c].offsetWidth;l=u-r-5,e=s>0?.75*s+10:0}for(var p=0;p<i.length;p++)i.item(p).style.width=l+"px";for(p=0;p<a.length;p++)a.item(p).style.width=e+"px";this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0},l.prototype._getStartEnd=function(n){return this._dir&&"rtl"===this._dir.value?n.right:n.left},l}(uT),dT=function(){return function(){}}(),pT=yt({encapsulation:2,styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}@media (-ms-high-contrast:active){.mat-form-field-infix{border-image:linear-gradient(transparent,transparent)}}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label,.mat-form-field-empty.mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scaleY(1.0001)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(.5);opacity:0;transition:background-color .3s cubic-bezier(.55,0,.55,.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:scaleX(1);transition:transform .3s cubic-bezier(.25,.8,.25,1),opacity .1s cubic-bezier(.25,.8,.25,1),background-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-label-wrapper .mat-icon,.mat-form-field-subscript-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}",".mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:'';display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}",".mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=month]::after,.mat-input-element[type=time]::after,.mat-input-element[type=week]::after{content:' ';white-space:pre;width:1px}.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button,.mat-input-element::-webkit-inner-spin-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent!important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:0 0}@media (-ms-high-contrast:active){.mat-focused select.mat-input-element::-ms-value{color:inherit}}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:'';width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}",".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-start{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start{border-width:2px;transition:border-color .3s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity .1s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline{transition:none}",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:2px}}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}@media (-ms-high-contrast:active){.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity .6s cubic-bezier(.25,.8,.25,1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}"],data:{animation:[{type:7,name:"transitionMessages",definitions:[{type:0,name:"enter",styles:{type:6,styles:{opacity:1,transform:"translateY(0%)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:[{type:6,styles:{opacity:0,transform:"translateY(-100%)"},offset:null},{type:4,styles:null,timings:"300ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function mT(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","mat-form-field-outline"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,3,"div",[["class","mat-form-field-outline mat-form-field-outline-thick"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,0,"div",[["class","mat-form-field-outline-start"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,0,"div",[["class","mat-form-field-outline-gap"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,0,"div",[["class","mat-form-field-outline-end"]],null,null,null,null,null))],null,null)}function fT(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","mat-form-field-prefix"]],null,null,null,null,null)),Po(null,0)],null,null)}function hT(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),Po(null,2),(n()(),_o(2,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,3,0,l.component._control.placeholder)}))}function gT(n){return jo(0,[Po(null,3),(n()(),vo(0,null,null,0))],null,null)}function bT(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["aria-hidden","true"],["class","mat-placeholder-required mat-form-field-required-marker"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" *"]))],null,null)}function vT(n){return jo(0,[(n()(),_o(0,0,[[4,0],["label",1]],null,8,"label",[["class","mat-form-field-label"]],[[8,"id",0],[1,"for",0],[1,"aria-owns",0],[2,"mat-empty",null],[2,"mat-form-field-empty",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"cdkObserveContent"]],(function(n,l,e){var t=!0;return"cdkObserveContent"===l&&(t=!1!==n.component.updateOutlineGap()&&t),t}),null,null)),Di(1,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),Di(2,1196032,null,0,fb,[mb,Pe,La],{disabled:[0,"disabled"]},{event:"cdkObserveContent"}),(n()(),vo(16777216,null,null,1,null,hT)),Di(4,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,gT)),Di(6,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,bT)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e._hasLabel()),n(l,2,0,"outline"!=e.appearance),n(l,4,0,!1),n(l,6,0,!0),n(l,8,0,!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}),(function(n,l){var e=l.component;n(l,0,0,e._labelId,e._control.id,e._control.id,e._control.empty&&!e._shouldAlwaysFloat,e._control.empty&&!e._shouldAlwaysFloat,"accent"==e.color,"warn"==e.color)}))}function _T(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","mat-form-field-suffix"]],null,null,null,null,null)),Po(null,4)],null,null)}function yT(n){return jo(0,[(n()(),_o(0,0,[[1,0],["underline",1]],null,1,"div",[["class","mat-form-field-underline"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"span",[["class","mat-form-field-ripple"]],[[2,"mat-accent",null],[2,"mat-warn",null]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,1,0,"accent"==e.color,"warn"==e.color)}))}function wT(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],[[24,"@transitionMessages",0]],null,null,null,null)),Po(null,5)],null,(function(n,l){n(l,0,0,l.component._subscriptAnimationState)}))}function xT(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","mat-hint"]],[[8,"id",0]],null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e._hintLabelId),n(l,1,0,e.hintLabel)}))}function CT(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","mat-form-field-hint-wrapper"]],[[24,"@transitionMessages",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xT)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Po(null,6),(n()(),_o(4,0,null,null,0,"div",[["class","mat-form-field-hint-spacer"]],null,null,null,null,null)),Po(null,7)],(function(n,l){n(l,2,0,l.component.hintLabel)}),(function(n,l){n(l,0,0,l.component._subscriptAnimationState)}))}function kT(n){return jo(2,[ko(671088640,1,{underlineRef:0}),ko(402653184,2,{_connectionContainerRef:0}),ko(671088640,3,{_inputContainerRef:0}),ko(671088640,4,{_label:0}),(n()(),_o(4,0,null,null,20,"div",[["class","mat-form-field-wrapper"]],null,null,null,null,null)),(n()(),_o(5,0,[[2,0],["connectionContainer",1]],null,11,"div",[["class","mat-form-field-flex"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==(i._control.onContainerClick&&i._control.onContainerClick(e))&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,mT)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fT)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,[[3,0],["inputContainer",1]],null,4,"div",[["class","mat-form-field-infix"]],null,null,null,null,null)),Po(null,1),(n()(),_o(12,0,null,null,2,"span",[["class","mat-form-field-label-wrapper"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,vT)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,_T)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,yT)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(19,0,null,null,5,"div",[["class","mat-form-field-subscript-wrapper"]],null,null,null,null,null)),Di(20,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),vo(16777216,null,null,1,null,wT)),Di(22,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,CT)),Di(24,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,l){var e=l.component;n(l,7,0,"outline"==e.appearance),n(l,9,0,e._prefixChildren.length),n(l,14,0,e._hasFloatingLabel()),n(l,16,0,e._suffixChildren.length),n(l,18,0,"outline"!=e.appearance),n(l,20,0,e._getDisplayedMessages()),n(l,22,0,"error"),n(l,24,0,"hint")}),null)}var ST=mh({passive:!0}),IT=function(){function n(n,l){this._platform=n,this._ngZone=l,this._monitoredElements=new Map}return n.prototype.monitor=function(n){var l=this;if(!this._platform.isBrowser)return Xs;var e=nh(n),t=this._monitoredElements.get(e);if(t)return t.subject.asObservable();var i=new M,a="cdk-text-field-autofilled",o=function(n){"cdk-text-field-autofill-start"!==n.animationName||e.classList.contains(a)?"cdk-text-field-autofill-end"===n.animationName&&e.classList.contains(a)&&(e.classList.remove(a),l._ngZone.run((function(){return i.next({target:n.target,isAutofilled:!1})}))):(e.classList.add(a),l._ngZone.run((function(){return i.next({target:n.target,isAutofilled:!0})})))};return this._ngZone.runOutsideAngular((function(){e.addEventListener("animationstart",o,ST),e.classList.add("cdk-text-field-autofill-monitored")})),this._monitoredElements.set(e,{subject:i,unlisten:function(){e.removeEventListener("animationstart",o,ST)}}),i.asObservable()},n.prototype.stopMonitoring=function(n){var l=nh(n),e=this._monitoredElements.get(l);e&&(e.unlisten(),e.subject.complete(),l.classList.remove("cdk-text-field-autofill-monitored"),l.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(l))},n.prototype.ngOnDestroy=function(){var n=this;this._monitoredElements.forEach((function(l,e){return n.stopMonitoring(e)}))},n.ngInjectableDef=yn({factory:function(){return new n(Bn(sh),Bn(La))},token:n,providedIn:"root"}),n}(),AT=function(){function n(n,l,e){this._elementRef=n,this._platform=l,this._ngZone=e,this._destroyed=new M,this._enabled=!0,this._previousMinRows=-1,this._textareaElement=this._elementRef.nativeElement}return Object.defineProperty(n.prototype,"minRows",{get:function(){return this._minRows},set:function(n){this._minRows=n,this._setMinHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"maxRows",{get:function(){return this._maxRows},set:function(n){this._maxRows=n,this._setMaxHeight()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"enabled",{get:function(){return this._enabled},set:function(n){n=Yf(n),this._enabled!==n&&((this._enabled=n)?this.resizeToFitContent(!0):this.reset())},enumerable:!0,configurable:!0}),n.prototype._setMinHeight=function(){var n=this.minRows&&this._cachedLineHeight?this.minRows*this._cachedLineHeight+"px":null;n&&(this._textareaElement.style.minHeight=n)},n.prototype._setMaxHeight=function(){var n=this.maxRows&&this._cachedLineHeight?this.maxRows*this._cachedLineHeight+"px":null;n&&(this._textareaElement.style.maxHeight=n)},n.prototype.ngAfterViewInit=function(){var n=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular((function(){Vh(window,"resize").pipe(ng(16),Ph(n._destroyed)).subscribe((function(){return n.resizeToFitContent(!0)}))})))},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},n.prototype._cacheTextareaLineHeight=function(){if(!this._cachedLineHeight){var n=this._textareaElement.cloneNode(!1);n.rows=1,n.style.position="absolute",n.style.visibility="hidden",n.style.border="none",n.style.padding="0",n.style.height="",n.style.minHeight="",n.style.maxHeight="",n.style.overflow="hidden",this._textareaElement.parentNode.appendChild(n),this._cachedLineHeight=n.clientHeight,this._textareaElement.parentNode.removeChild(n),this._setMinHeight(),this._setMaxHeight()}},n.prototype.ngDoCheck=function(){this._platform.isBrowser&&this.resizeToFitContent()},n.prototype.resizeToFitContent=function(n){var l=this;if(void 0===n&&(n=!1),this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var e=this._elementRef.nativeElement,t=e.value;if(n||this._minRows!==this._previousMinRows||t!==this._previousValue){var i=e.placeholder;e.classList.add("cdk-textarea-autosize-measuring"),e.placeholder="",e.style.height=e.scrollHeight-4+"px",e.classList.remove("cdk-textarea-autosize-measuring"),e.placeholder=i,this._ngZone.runOutsideAngular((function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame((function(){return l._scrollToCaretPosition(e)})):setTimeout((function(){return l._scrollToCaretPosition(e)}))})),this._previousValue=t,this._previousMinRows=this._minRows}}},n.prototype.reset=function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)},n.prototype._noopInputHandler=function(){},n.prototype._scrollToCaretPosition=function(n){this._destroyed.isStopped||document.activeElement!==n||n.setSelectionRange(n.selectionStart,n.selectionEnd)},n}(),MT=function(){return function(){}}(),PT=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"matAutosizeMinRows",{get:function(){return this.minRows},set:function(n){this.minRows=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"matAutosizeMaxRows",{get:function(){return this.maxRows},set:function(n){this.maxRows=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"matAutosize",{get:function(){return this.enabled},set:function(n){this.enabled=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"matTextareaAutosize",{get:function(){return this.enabled},set:function(n){this.enabled=n},enumerable:!0,configurable:!0}),l}(AT),DT=new On("MAT_INPUT_VALUE_ACCESSOR"),FT=["button","checkbox","file","hidden","image","radio","range","reset","submit"],ET=0,OT=function(n){function l(l,e,t,i,a,o,r,u,s){var c=n.call(this,o,i,a,t)||this;c._elementRef=l,c._platform=e,c.ngControl=t,c._autofillMonitor=u,c._uid="mat-input-"+ET++,c._isServer=!1,c._isNativeSelect=!1,c.focused=!1,c.stateChanges=new M,c.controlType="mat-input",c.autofilled=!1,c._disabled=!1,c._required=!1,c._type="text",c._readonly=!1,c._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter((function(n){return ph().has(n)}));var d=c._elementRef.nativeElement;return c._inputValueAccessor=r||d,c._previousNativeValue=c.value,c.id=c.id,e.IOS&&s.runOutsideAngular((function(){l.nativeElement.addEventListener("keyup",(function(n){var l=n.target;l.value||l.selectionStart||l.selectionEnd||(l.setSelectionRange(1,1),l.setSelectionRange(0,0))}))})),c._isServer=!c._platform.isBrowser,c._isNativeSelect="select"===d.nodeName.toLowerCase(),c._isNativeSelect&&(c.controlType=d.multiple?"mat-native-select-multiple":"mat-native-select"),c}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"disabled",{get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(n){this._disabled=Yf(n),this.focused&&(this.focused=!1,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"id",{get:function(){return this._id},set:function(n){this._id=n||this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"required",{get:function(){return this._required},set:function(n){this._required=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"type",{get:function(){return this._type},set:function(n){this._type=n||"text",this._validateType(),!this._isTextarea()&&ph().has(this._type)&&(this._elementRef.nativeElement.type=this._type)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._inputValueAccessor.value},set:function(n){n!==this.value&&(this._inputValueAccessor.value=n,this.stateChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"readonly",{get:function(){return this._readonly},set:function(n){this._readonly=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){var n=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe((function(l){n.autofilled=l.isAutofilled,n.stateChanges.next()}))},l.prototype.ngOnChanges=function(){this.stateChanges.next()},l.prototype.ngOnDestroy=function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)},l.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue()},l.prototype.focus=function(n){this._elementRef.nativeElement.focus(n)},l.prototype._focusChanged=function(n){n===this.focused||this.readonly&&n||(this.focused=n,this.stateChanges.next())},l.prototype._onInput=function(){},l.prototype._dirtyCheckNativeValue=function(){var n=this._elementRef.nativeElement.value;this._previousNativeValue!==n&&(this._previousNativeValue=n,this.stateChanges.next())},l.prototype._validateType=function(){if(FT.indexOf(this._type)>-1)throw Error('Input type "'+this._type+"\" isn't supported by matInput.")},l.prototype._isNeverEmpty=function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1},l.prototype._isBadInput=function(){var n=this._elementRef.nativeElement.validity;return n&&n.badInput},l.prototype._isTextarea=function(){return"textarea"===this._elementRef.nativeElement.nodeName.toLowerCase()},Object.defineProperty(l.prototype,"empty",{get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"shouldLabelFloat",{get:function(){if(this._isNativeSelect){var n=this._elementRef.nativeElement,l=n.options[0];return this.focused||n.multiple||!this.empty||!!(n.selectedIndex>-1&&l&&l.label)}return this.focused||!this.empty},enumerable:!0,configurable:!0}),l.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},l.prototype.onContainerClick=function(){this.focused||this.focus()},l}(Zb(function(){return function(n,l,e,t){this._defaultErrorStateMatcher=n,this._parentForm=l,this._parentFormGroup=e,this.ngControl=t}}())),TT=function(){return function(){}}();function LT(n,l){void 0===l&&(l=kh);var e,t=(e=n)instanceof Date&&!isNaN(+e)?+n-l.now():Math.abs(n);return function(n){return n.lift(new RT(t,l))}}var RT=function(){function n(n,l){this.delay=n,this.scheduler=l}return n.prototype.call=function(n,l){return l.subscribe(new NT(n,this.delay,this.scheduler))},n}(),NT=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.delay=e,i.scheduler=t,i.queue=[],i.active=!1,i.errored=!1,i}return t.__extends(l,n),l.dispatch=function(n){for(var l=n.source,e=l.queue,t=n.scheduler,i=n.destination;e.length>0&&e[0].time-t.now()<=0;)e.shift().notification.observe(i);if(e.length>0){var a=Math.max(0,e[0].time-t.now());this.schedule(n,a)}else this.unsubscribe(),l.active=!1},l.prototype._schedule=function(n){this.active=!0,this.destination.add(n.schedule(l.dispatch,this.delay,{source:this,destination:this.destination,scheduler:n}))},l.prototype.scheduleNotification=function(n){if(!0!==this.errored){var l=this.scheduler,e=new jT(l.now()+this.delay,n);this.queue.push(e),!1===this.active&&this._schedule(l)}},l.prototype._next=function(n){this.scheduleNotification(rg.createNext(n))},l.prototype._error=function(n){this.errored=!0,this.queue=[],this.destination.error(n),this.unsubscribe()},l.prototype._complete=function(){this.scheduleNotification(rg.createComplete()),this.unsubscribe()},l}(g),jT=function(){return function(n,l){this.time=n,this.notification=l}}(),VT=function(){function n(n,l,e,t,i,a,o){this._template=n,this._componentFactoryResolver=l,this._appRef=e,this._injector=t,this._viewContainerRef=i,this._document=a,this._changeDetectorRef=o,this._attached=new M}return n.prototype.attach=function(n){void 0===n&&(n={}),this._portal||(this._portal=new du(this._template,this._viewContainerRef)),this.detach(),this._outlet||(this._outlet=new mu(this._document.createElement("div"),this._componentFactoryResolver,this._appRef,this._injector));var l=this._template.elementRef.nativeElement;l.parentNode.insertBefore(this._outlet.outletElement,l),this._changeDetectorRef&&this._changeDetectorRef.markForCheck(),this._portal.attach(this._outlet,n),this._attached.next()},n.prototype.detach=function(){this._portal.isAttached&&this._portal.detach()},n.prototype.ngOnDestroy=function(){this._outlet&&this._outlet.dispose()},n}(),qT=new On("MAT_MENU_PANEL"),zT=function(n){function l(l,e,t,i){var a=n.call(this)||this;return a._elementRef=l,a._focusMonitor=t,a._parentMenu=i,a.role="menuitem",a._hovered=new M,a._highlighted=!1,a._triggersSubmenu=!1,t&&t.monitor(a._elementRef,!1),i&&i.addItem&&i.addItem(a),a._document=e,a}return Object(t.__extends)(l,n),l.prototype.focus=function(n,l){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._getHostElement(),n,l):this._getHostElement().focus(l)},l.prototype.ngOnDestroy=function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete()},l.prototype._getTabIndex=function(){return this.disabled?"-1":"0"},l.prototype._getHostElement=function(){return this._elementRef.nativeElement},l.prototype._checkDisabled=function(n){this.disabled&&(n.preventDefault(),n.stopPropagation())},l.prototype._handleMouseEnter=function(){this._hovered.next(this)},l.prototype.getLabel=function(){var n=this._elementRef.nativeElement,l=this._document?this._document.TEXT_NODE:3,e="";if(n.childNodes)for(var t=n.childNodes.length,i=0;i<t;i++)n.childNodes[i].nodeType===l&&(e+=n.childNodes[i].textContent);return e.trim()},l}(Yb(Wb(function(){return function(){}}()))),UT=new On("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),BT=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(function(){function n(n,l,e){this._elementRef=n,this._ngZone=l,this._defaultOptions=e,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new ta,this._tabSubscription=s.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new M,this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new la,this.close=this.closed}return Object.defineProperty(n.prototype,"xPosition",{get:function(){return this._xPosition},set:function(n){"before"!==n&&"after"!==n&&function(){throw Error('xPosition value must be either \'before\' or after\'.\n Example: <mat-menu xPosition="before" #menu="matMenu"></mat-menu>')}(),this._xPosition=n,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"yPosition",{get:function(){return this._yPosition},set:function(n){"above"!==n&&"below"!==n&&function(){throw Error('yPosition value must be either \'above\' or below\'.\n Example: <mat-menu yPosition="above" #menu="matMenu"></mat-menu>')}(),this._yPosition=n,this.setPositionClasses()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"overlapTrigger",{get:function(){return this._overlapTrigger},set:function(n){this._overlapTrigger=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasBackdrop",{get:function(){return this._hasBackdrop},set:function(n){this._hasBackdrop=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"panelClass",{set:function(n){var l=this,e=this._previousPanelClass;e&&e.length&&e.split(" ").forEach((function(n){l._classList[n]=!1})),this._previousPanelClass=n,n&&n.length&&(n.split(" ").forEach((function(n){l._classList[n]=!0})),this._elementRef.nativeElement.className="")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"classList",{get:function(){return this.panelClass},set:function(n){this.panelClass=n},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this.setPositionClasses()},n.prototype.ngAfterContentInit=function(){var n=this;this._updateDirectDescendants(),this._keyManager=new Ab(this._directDescendantItems).withWrap().withTypeAhead(),this._tabSubscription=this._keyManager.tabOut.subscribe((function(){return n.closed.emit("tab")}))},n.prototype.ngOnDestroy=function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()},n.prototype._hovered=function(){return this._directDescendantItems.changes.pipe(Pc(this._directDescendantItems),Sc((function(n){return Z.apply(void 0,n.map((function(n){return n._hovered})))})))},n.prototype.addItem=function(n){},n.prototype.removeItem=function(n){},n.prototype._handleKeydown=function(n){var l=n.keyCode,e=this._keyManager;switch(l){case eh:oh(n)||(n.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;case 36:case 35:oh(n)||(36===l?e.setFirstItemActive():e.setLastItemActive(),n.preventDefault());break;default:38!==l&&40!==l||e.setFocusOrigin("keyboard"),e.onKeydown(n)}},n.prototype.focusFirstItem=function(n){void 0===n&&(n="program");var l=this._keyManager;if(this.lazyContent?this._ngZone.onStable.asObservable().pipe(_c(1)).subscribe((function(){return l.setFocusOrigin(n).setFirstItemActive()})):l.setFocusOrigin(n).setFirstItemActive(),!l.activeItem&&this._directDescendantItems.length)for(var e=this._directDescendantItems.first._getHostElement().parentElement;e;){if("menu"===e.getAttribute("role")){e.focus();break}e=e.parentElement}},n.prototype.resetActiveItem=function(){this._keyManager.setActiveItem(-1)},n.prototype.setElevation=function(n){var l="mat-elevation-z"+(4+n),e=Object.keys(this._classList).find((function(n){return n.startsWith("mat-elevation-z")}));e&&e!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[l]=!0,this._previousElevation=l)},n.prototype.setPositionClasses=function(n,l){void 0===n&&(n=this.xPosition),void 0===l&&(l=this.yPosition);var e=this._classList;e["mat-menu-before"]="before"===n,e["mat-menu-after"]="after"===n,e["mat-menu-above"]="above"===l,e["mat-menu-below"]="below"===l},n.prototype._startAnimation=function(){this._panelAnimationState="enter"},n.prototype._resetAnimation=function(){this._panelAnimationState="void"},n.prototype._onAnimationDone=function(n){this._animationDone.next(n),this._isAnimating=!1},n.prototype._onAnimationStart=function(n){this._isAnimating=!0,"enter"===n.toState&&0===this._keyManager.activeItemIndex&&(n.element.scrollTop=0)},n.prototype._updateDirectDescendants=function(){var n=this;this._allItems.changes.pipe(Pc(this._allItems)).subscribe((function(l){n._directDescendantItems.reset(l.filter((function(l){return l._parentMenu===n}))),n._directDescendantItems.notifyOnChanges()}))},n}()),$T=function(n){function l(l,e,t){return n.call(this,l,e,t)||this}return Object(t.__extends)(l,n),l}(BT),HT=new On("mat-menu-scroll-strategy");function GT(n){return function(){return n.scrollStrategies.reposition()}}var WT=mh({passive:!0}),KT=function(){function n(n,l,e,t,i,a,o,r){var u=this;this._overlay=n,this._element=l,this._viewContainerRef=e,this._parentMenu=i,this._menuItemInstance=a,this._dir=o,this._focusMonitor=r,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=s.EMPTY,this._hoverSubscription=s.EMPTY,this._menuCloseSubscription=s.EMPTY,this._handleTouchStart=function(){return u._openedBy="touch"},this._openedBy=null,this.restoreFocus=!0,this.menuOpened=new la,this.onMenuOpen=this.menuOpened,this.menuClosed=new la,this.onMenuClose=this.menuClosed,l.nativeElement.addEventListener("touchstart",this._handleTouchStart,WT),a&&(a._triggersSubmenu=this.triggersSubmenu()),this._scrollStrategy=t}return Object.defineProperty(n.prototype,"_deprecatedMatMenuTriggerFor",{get:function(){return this.menu},set:function(n){this.menu=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"menu",{get:function(){return this._menu},set:function(n){var l=this;n!==this._menu&&(this._menu=n,this._menuCloseSubscription.unsubscribe(),n&&(this._menuCloseSubscription=n.close.asObservable().subscribe((function(n){l._destroyMenu(),"click"!==n&&"tab"!==n||!l._parentMenu||l._parentMenu.closed.emit(n)}))))},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._checkMenu(),this._handleHover()},n.prototype.ngOnDestroy=function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,WT),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()},Object.defineProperty(n.prototype,"menuOpen",{get:function(){return this._menuOpen},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dir",{get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},enumerable:!0,configurable:!0}),n.prototype.triggersSubmenu=function(){return!(!this._menuItemInstance||!this._parentMenu)},n.prototype.toggleMenu=function(){return this._menuOpen?this.closeMenu():this.openMenu()},n.prototype.openMenu=function(){var n=this;if(!this._menuOpen){this._checkMenu();var l=this._createOverlay(),e=l.getConfig();this._setPosition(e.positionStrategy),e.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,l.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe((function(){return n.closeMenu()})),this._initMenu(),this.menu instanceof BT&&this.menu._startAnimation()}},n.prototype.closeMenu=function(){this.menu.close.emit()},n.prototype.focus=function(n,l){void 0===n&&(n="program"),this._focusMonitor?this._focusMonitor.focusVia(this._element,n,l):this._element.nativeElement.focus(l)},n.prototype._destroyMenu=function(){var n=this;if(this._overlayRef&&this.menuOpen){var l=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),l instanceof BT?(l._resetAnimation(),l.lazyContent?l._animationDone.pipe(tc((function(n){return"void"===n.toState})),_c(1),Ph(l.lazyContent._attached)).subscribe({next:function(){return l.lazyContent.detach()},complete:function(){return n._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),l.lazyContent&&l.lazyContent.detach()),this._restoreFocus()}},n.prototype._initMenu=function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this._setIsMenuOpen(!0),this.menu.focusFirstItem(this._openedBy||"program")},n.prototype._setMenuElevation=function(){if(this.menu.setElevation){for(var n=0,l=this.menu.parentMenu;l;)n++,l=l.parentMenu;this.menu.setElevation(n)}},n.prototype._restoreFocus=function(){this.restoreFocus&&(this._openedBy?this.triggersSubmenu()||this.focus(this._openedBy):this.focus()),this._openedBy=null},n.prototype._setIsMenuOpen=function(n){this._menuOpen=n,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=n)},n.prototype._checkMenu=function(){this.menu||function(){throw Error('matMenuTriggerFor: must pass in an mat-menu instance.\n\n Example:\n <mat-menu #menu="matMenu"></mat-menu>\n <button [matMenuTriggerFor]="menu"></button>')}()},n.prototype._createOverlay=function(){if(!this._overlayRef){var n=this._getOverlayConfig();this._subscribeToPositions(n.positionStrategy),this._overlayRef=this._overlay.create(n),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef},n.prototype._getOverlayConfig=function(){return new Ng({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",scrollStrategy:this._scrollStrategy(),direction:this._dir})},n.prototype._subscribeToPositions=function(n){var l=this;this.menu.setPositionClasses&&n.positionChanges.subscribe((function(n){l.menu.setPositionClasses("start"===n.connectionPair.overlayX?"after":"before","top"===n.connectionPair.overlayY?"below":"above")}))},n.prototype._setPosition=function(n){var l="before"===this.menu.xPosition?["end","start"]:["start","end"],e=l[0],t=l[1],i="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],a=i[0],o=i[1],r=[a,o],u=r[0],s=r[1],c=[e,t],d=c[0],p=c[1],m=0;this.triggersSubmenu()?(p=e="before"===this.menu.xPosition?"start":"end",t=d="end"===e?"start":"end",m="bottom"===a?8:-8):this.menu.overlapTrigger||(u="top"===a?"bottom":"top",s="top"===o?"bottom":"top"),n.withPositions([{originX:e,originY:u,overlayX:d,overlayY:a,offsetY:m},{originX:t,originY:u,overlayX:p,overlayY:a,offsetY:m},{originX:e,originY:s,overlayX:d,overlayY:o,offsetY:-m},{originX:t,originY:s,overlayX:p,overlayY:o,offsetY:-m}])},n.prototype._menuClosingActions=function(){var n=this,l=this._overlayRef.backdropClick(),e=this._overlayRef.detachments();return Z(l,this._parentMenu?this._parentMenu.closed:lu(),this._parentMenu?this._parentMenu._hovered().pipe(tc((function(l){return l!==n._menuItemInstance})),tc((function(){return n._menuOpen}))):lu(),e)},n.prototype._handleMousedown=function(n){Ub(n)||(this._openedBy=0===n.button?"mouse":null,this.triggersSubmenu()&&n.preventDefault())},n.prototype._handleKeydown=function(n){var l=n.keyCode;this.triggersSubmenu()&&(39===l&&"ltr"===this.dir||37===l&&"rtl"===this.dir)&&this.openMenu()},n.prototype._handleClick=function(n){this.triggersSubmenu()?(n.stopPropagation(),this.openMenu()):this.toggleMenu()},n.prototype._handleHover=function(){var n=this;this.triggersSubmenu()&&(this._hoverSubscription=this._parentMenu._hovered().pipe(tc((function(l){return l===n._menuItemInstance&&!l.disabled})),LT(0,Hh)).subscribe((function(){n._openedBy="mouse",n.menu instanceof BT&&n.menu._isAnimating?n.menu._animationDone.pipe(_c(1),LT(0,Hh),Ph(n._parentMenu._hovered())).subscribe((function(){return n.openMenu()})):n.openMenu()})))},n.prototype._getPortal=function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new du(this.menu.templateRef,this._viewContainerRef)),this._portal},n}(),YT=function(){return function(){}}(),JT=function(){return function(){}}(),ZT=yt({encapsulation:2,styles:[".mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:0;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}@media (-ms-high-contrast:active){.mat-menu-item-highlighted,.mat-menu-item.cdk-keyboard-focused,.mat-menu-item.cdk-program-focused{outline:dotted 1px}}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:'';display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}"],data:{animation:[{type:7,name:"transformMenu",definitions:[{type:0,name:"void",styles:{type:6,styles:{opacity:0,transform:"scale(0.8)"},offset:null},options:void 0},{type:1,expr:"void => enter",animation:{type:3,steps:[{type:11,selector:".mat-menu-content, .mat-mdc-menu-content",animation:{type:4,styles:{type:6,styles:{opacity:1},offset:null},timings:"100ms linear"},options:null},{type:4,styles:{type:6,styles:{transform:"scale(1)"},offset:null},timings:"120ms cubic-bezier(0, 0, 0.2, 1)"}],options:null},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}},{type:7,name:"fadeInItems",definitions:[{type:0,name:"showing",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:1,expr:"void => *",animation:[{type:6,styles:{opacity:0},offset:null},{type:4,styles:null,timings:"400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"}],options:null}],options:{}}]}});function QT(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","mat-menu-panel"],["role","menu"],["tabindex","-1"]],[[24,"@transformMenu",0]],[[null,"keydown"],[null,"click"],[null,"@transformMenu.start"],[null,"@transformMenu.done"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==i._handleKeydown(e)&&t),"click"===l&&(t=!1!==i.closed.emit("click")&&t),"@transformMenu.start"===l&&(t=!1!==i._onAnimationStart(e)&&t),"@transformMenu.done"===l&&(t=!1!==i._onAnimationDone(e)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),(n()(),_o(3,0,null,null,1,"div",[["class","mat-menu-content"]],null,null,null,null,null)),Po(null,0)],(function(n,l){n(l,2,0,"mat-menu-panel",l.component._classList)}),(function(n,l){n(l,0,0,l.component._panelAnimationState)}))}function XT(n){return jo(2,[ko(671088640,1,{templateRef:0}),(n()(),vo(0,[[1,2]],null,0,null,QT))],null,null)}var nL=yt({encapsulation:2,styles:[],data:{}});function lL(n){return jo(2,[Po(null,0),(n()(),_o(1,0,null,null,1,"div",[["class","mat-menu-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(2,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.disableRipple||e.disabled,e._getHostElement())}),(function(n,l){n(l,1,0,bi(l,2).unbounded)}))}var eL=function(){function n(n,l,e,t,i,a,o){this.http=n,this.router=l,this.dialog=e,this.appService=t,this.headerService=i,this.functions=a,this.privilegeService=o,this.lang=Kr,this.config={},this.menus=[],this.hideSearch=!0}return n.prototype.ngOnInit=function(){this.menus=this.privilegeService.getCurrentUserMenus()},n.prototype.gotToMenu=function(n){"indexing"==n.id&&n.groups.length>1?(this.config={panelClass:"maarch-modal",data:{indexingGroups:n.groups,link:n.route}},this.dialogRef=this.dialog.open(RI,this.config)):!0===n.angular?this.router.navigate([n.route]):location.href=n.route},n.prototype.showSearchInput=function(){var n=this;this.hideSearch=!this.hideSearch,setTimeout((function(){n.searchInput.focus()}),200)},n}(),tL=yt({encapsulation:0,styles:[[".bg-head-title-tool[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.bg-head-title-tool[_ngcontent-%COMP%] .mat-form-field-label-wrapper{font-style:italic}.bg-head-title-tool[_ngcontent-%COMP%] .mat-form-field-label{color:#fff;font-size:12px;opacity:.5}.noAvailableMenu[_ngcontent-%COMP%]{text-align:center;font-size:14px;opacity:.5;font-style:italic;padding:22px}"]],data:{}});function iL(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["mat-icon-button",""],["matSuffix",""],["style","opacity:0.5;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(1,16384,[[10,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["role","img"],["style","font-size:22px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function aL(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"],["style","width:100%;margin-top: -3px;margin-left:-13px;font-size: 12px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","welcome"],["type","text"]],[[8,"title",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,12)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,12)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,12)._onInput()&&t),"blur"===l&&(t=0!=(i.hideSearch=!i.hideSearch)&&t),t}),null,null)),Di(12,999424,[[1,4],["searchInput",4]],0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,iL)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,12,0,Wt(1,"",e.lang.searchMails,""),"text"),n(l,15,0,!e.appService.getViewMode())}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,0,Wt(1,"",e.lang.searchMails,""),bi(l,12)._isServer,bi(l,12).id,bi(l,12).placeholder,bi(l,12).disabled,bi(l,12).required,bi(l,12).readonly&&!bi(l,12)._isNativeSelect||null,bi(l,12)._ariaDescribedby||null,bi(l,12).errorState,bi(l,12).required.toString())}))}function oL(n){return jo(0,[(n()(),_o(0,0,null,null,6,"form",[["action","index.php?display=true&dir=indexing_searching&page=search_adv_result"],["id","choose_query"],["method","post"],["name","choose_query"],["ngNoForm",""],["style","height: 40px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"input",[["name","meta[]"],["type","hidden"],["value","baskets_clause#baskets_clause#select_simple"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"input",[["name","meta[]"],["type","hidden"],["value","welcome#welcome#welcome"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"input",[["name","baskets_clause"],["type","hidden"],["value","true"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,aL)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,[["searchHome",1]],null,0,"input",[["name","submit"],["style","display:none;"],["type","submit"],["value",""]],null,null,null,null,null))],(function(n,l){n(l,5,0,l.component.privilegeService.hasCurrentUserPrivilege("adv_search_mlb"))}),null)}function rL(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["mat-icon-button",""],["style","opacity:0.5;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showSearchInput()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["role","img"],["style","font-size:22px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",e.lang.quickSearchInfo+" : "+e.lang.quickSearchTarget,""),bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function uL(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"mousedown"],[null,"click"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fa fa-th mat-icon notranslate"],["role","img"],["style","font-size:22px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.menu,"")),n(l,3,0,bi(l.parent,14)),n(l,5,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function sL(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,16777216,null,null,5,"button",[["class","col-md-4 col-xs-6"],["color","primary"],["mat-button",""],["style","white-space:inherit;height: 100px;line-height:20px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(t=!1!==i.gotToMenu(n.context.$implicit)&&t),t}),PC,MC)),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),_o(5,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),Lo(6,0,[""," "])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,Wt(1,"",l.context.$implicit.comment,"")),n(l,3,0,"primary")}),(function(n,l){n(l,1,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,Wt(1,"",l.context.$implicit.style," fa-2x")),n(l,6,0,l.context.$implicit.label)}))}function cL(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noAvailableMenu"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noAvailableMenu)}))}function dL(n){return jo(0,[(n()(),_o(0,16777216,null,null,12,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,2,"mat-icon",[["class","fa fa-user fa-2x mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","color:white; margin:0px 12px 8px 0px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(5,16384,null,0,iI,[],null,null),(n()(),_o(6,0,null,0,2,"span",[],null,null,null,null,null)),(n()(),Lo(7,null,["",""])),Fo(8,1),(n()(),Lo(-1,0,[" "])),(n()(),_o(10,0,null,0,2,"b",[],null,null,null,null,null)),(n()(),Lo(11,null,["",""])),Fo(12,1),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,30)),n(l,4,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color);var t=bt(l,7,0,n(l,8,0,bi(l.parent,1),e.headerService.user.firstname));n(l,7,0,t);var i=bt(l,11,0,n(l,12,0,bi(l.parent,2),e.headerService.user.lastname));n(l,11,0,i)}))}function pL(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,2,"mat-icon",[["class","fa fa-user fa-2x mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","color:white;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(5,16384,null,0,iI,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,30)),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function mL(n){return jo(0,[(n()(),_o(0,0,null,null,7,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,17,{_lines:1}),ko(603979776,18,{_avatar:0}),ko(603979776,19,{_icon:0}),(n()(),_o(5,0,null,1,2,"p",[["class","mat-line"],["mat-line",""],["style","color:white;opacity:0.5;"]],null,null,null,null,null)),Di(6,16384,[[17,4]],0,pv,[],null,null),(n()(),Lo(7,null,[" "," "]))],null,(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,7,0,l.context.$implicit.group_desc)}))}function fL(n){return jo(0,[(n()(),_o(0,0,null,null,7,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,20,{_lines:1}),ko(603979776,21,{_avatar:0}),ko(603979776,22,{_icon:0}),(n()(),_o(5,0,null,1,2,"p",[["class","mat-line"],["mat-line",""],["style","color:white;opacity:0.5;"]],null,null,null,null,null)),Di(6,16384,[[20,4]],0,pv,[],null,null),(n()(),Lo(7,null,[" "," "]))],null,(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,7,0,l.context.$implicit.entity_label)}))}function hL(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,Ts,[]),Fi(0,Ls,[]),ko(671088640,1,{searchInput:0}),(n()(),_o(4,0,null,null,63,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,oL)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rL)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,uL)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,11,"mat-menu",[["class","headerMaarchShortcut"]],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(14,1294336,[["applications",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,11,{_allItems:1}),ko(603979776,12,{items:1}),ko(603979776,13,{lazyContent:0}),(n()(),vo(16777216,null,0,2,null,sL)),Di(19,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(20,2),(n()(),vo(16777216,null,0,1,null,cL)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dL)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,pL)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,null,40,"mat-menu",[["class","headerMaarch"]],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(30,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,14,{_allItems:1}),ko(603979776,15,{items:1}),ko(603979776,16,{lazyContent:0}),(n()(),_o(34,0,null,0,0,"canvas",[["class","header-bg"],["height","70"],["style","margin-top:-8px;background-image: url('static.php?filename=login-banner.jpg');background-size:cover;border-bottom: solid 1px white;"],["width","250"]],null,null,null,null,null)),(n()(),_o(35,0,null,0,1,"i",[["routerLink","/profile"],["style","cursor:pointer;z-index:1;color:white;position: absolute;left: 85px;top: 17px;background-image: url('static.php?filename=logo_only.svg');width: 70px;height: 70px;background-size: cover;background-position: top center;border-radius: 50%;border: solid white;background-color:white;"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,36).onClick()&&t),t}),null,null)),Di(36,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),(n()(),_o(37,0,null,0,20,"div",[["class","content"],["style","padding-top:20px;color:white;max-height:250px;overflow-y:auto;overflow-x:hidden;"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,3,"p",[["class","text-center"],["routerLink","/profile"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,39).onClick()&&t),t}),null,null)),Di(39,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),(n()(),Lo(40,null,[""," ",""])),Fo(41,1),(n()(),_o(42,0,null,null,15,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(43,704512,null,0,tI,[Pe],null,null),(n()(),_o(44,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""],["style","color:white;"]],null,null,null,null,null)),Di(45,16384,null,0,aI,[],null,null),(n()(),Lo(46,null,["",""])),(n()(),_o(47,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(48,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,mL)),Di(50,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(51,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""],["style","color:white;"]],null,null,null,null,null)),Di(52,16384,null,0,aI,[],null,null),(n()(),Lo(53,null,["",""])),(n()(),_o(54,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(55,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,fL)),Di(57,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(58,0,null,0,9,"div",[["style","display:flex;padding: 5px;"]],null,null,null,null,null)),(n()(),_o(59,0,null,null,4,"div",[["style","text-align:left;flex:1"]],null,null,null,null,null)),(n()(),_o(60,0,null,null,3,"a",[["routerLink","/profile"],["style","color: white;padding-left: 10px;"]],[[1,"target",0],[8,"href",4]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,61).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),null,null)),Di(61,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),(n()(),_o(62,0,null,null,1,"span",[["class","badge"],["color","primary"],["style","background:white;"]],null,null,null,null,null)),(n()(),Lo(63,null,["",""])),(n()(),_o(64,0,null,null,3,"div",[["style","text-align:right;flex:2;"]],null,null,null,null,null)),(n()(),_o(65,0,null,null,2,"a",[["href","index.php?display=true&page=logout&logout=true"],["style","color: white;padding-right: 10px;"]],null,null,null,null,null)),(n()(),_o(66,0,null,null,1,"span",[["class","badge"],["color","primary"],["style","background:white;"]],null,null,null,null,null)),(n()(),Lo(67,null,["",""]))],(function(n,l){var e=l.component;n(l,6,0,!e.hideSearch),n(l,8,0,e.hideSearch&&e.privilegeService.hasCurrentUserPrivilege("adv_search_mlb")),n(l,10,0,!e.appService.getViewMode()),n(l,14,0,"headerMaarchShortcut");var t=bt(l,19,0,n(l,20,0,bi(l,0),e.menus,"label"));n(l,19,0,t),n(l,22,0,e.functions.empty(e.menus)),n(l,24,0,!e.appService.getViewMode()),n(l,26,0,e.appService.getViewMode()),n(l,30,0,"headerMaarch"),n(l,36,0,"/profile"),n(l,39,0,"/profile"),n(l,50,0,e.headerService.user.groups),n(l,57,0,e.headerService.user.entities),n(l,61,0,"/profile")}),(function(n,l){var e=l.component;n(l,35,0,Wt(1,"",e.lang.myProfileAccess,""));var t=e.headerService.user.firstname,i=bt(l,40,1,n(l,41,0,bi(l,2),e.headerService.user.lastname));n(l,40,0,t,i),n(l,46,0,e.lang.groups),n(l,47,0,bi(l,48).vertical?"vertical":"horizontal",bi(l,48).vertical,!bi(l,48).vertical,bi(l,48).inset),n(l,53,0,e.lang.entities),n(l,54,0,bi(l,55).vertical?"vertical":"horizontal",bi(l,55).vertical,!bi(l,55).vertical,bi(l,55).inset),n(l,60,0,bi(l,61).target,bi(l,61).href),n(l,63,0,e.lang.myProfile),n(l,67,0,e.lang.logout)}))}var gL=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.router=l,this.headerService=e,this.appService=t,this.privilegeService=i,this.latinisePipe=a,this.notify=o,this.functionService=r,this.lang=Kr,this.loading=!1,this.shortcutsAdmin=[],this.organisationServices=[],this.productionServices=[],this.classementServices=[],this.supervisionServices=[],this.searchService=new sy,this.administrations=[]}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration),this.organisationServices=this.privilegeService.getCurrentUserAdministrationsByUnit("organisation"),this.productionServices=this.privilegeService.getCurrentUserAdministrationsByUnit("production"),this.classementServices=this.privilegeService.getCurrentUserAdministrationsByUnit("classement"),this.supervisionServices=this.privilegeService.getCurrentUserAdministrationsByUnit("supervision"),this.administrations=this.organisationServices.concat(this.productionServices).concat(this.classementServices).concat(this.supervisionServices),this.shortcutsAdmin=this.administrations.filter((function(n){return["admin_users","admin_groups","manage_entities"].indexOf(n.id)>-1})).map((function(n){return Object(t.__assign)({},n,{count:0})})),this.getNbShortcuts(),this.filteredAdministrations=this.searchService.valueChanges.pipe(Pc(""),q((function(l){return n._filter(l,"administrations")}))),this.loading=!1,setTimeout((function(){n.searchServiceInput.nativeElement.focus()}),0)},n.prototype.goToSpecifiedAdministration=function(n){!0===n.angular?this.router.navigate([n.route]):window.location.assign(n.route)},n.prototype._filter=function(n,l){var e=this;if("string"==typeof n){var t=this.latinisePipe.transform(n.toLowerCase());return this[l].filter((function(n){return e.latinisePipe.transform(n.label.toLowerCase()).includes(t)}))}return this[l]},n.prototype.getNbShortcuts=function(){var n=this;this.http.get("../../rest/administration/details").pipe(Yr((function(l){n.functionService.empty(l.count.users)||(n.shortcutsAdmin.filter((function(n){return"admin_users"===n.id}))[0].count=l.count.users),n.functionService.empty(l.count.groups)||(n.shortcutsAdmin.filter((function(n){return"admin_groups"===n.id}))[0].count=l.count.groups),n.functionService.empty(l.count.entities)||(n.shortcutsAdmin.filter((function(n){return"manage_entities"===n.id}))[0].count=l.count.entities)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),bL=yt({encapsulation:0,styles:[[".adminArea[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-flow:row wrap}.adminArea_1[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;overflow:hidden;padding:20px}.adminArea_2[_ngcontent-%COMP%], .adminArea_3[_ngcontent-%COMP%], .adminArea_4[_ngcontent-%COMP%]{overflow:hidden;padding:20px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%}.adminArea-label[_ngcontent-%COMP%]{font-size:20px;font-weight:bolder;opacity:.2;text-align:center}.adminArea-button[_ngcontent-%COMP%]{white-space:inherit;height:100px;line-height:20px} .autocompleteServices .mat-optgroup-label{position:-webkit-sticky;position:sticky;top:0;background:#fff;z-index:1}.countCard[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;gap:10px;height:100px;color:#fff;background:#135f7f;cursor:pointer}.avatarCount[_ngcontent-%COMP%]{color:#135f7f;-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;font-size:20px;background:#fff;border-radius:40px;padding:10px}.avatarCount2[_ngcontent-%COMP%]{color:#fff;-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;font-size:30px;background:#135f7f;border-radius:40px;padding:10px;width:55px!important;height:55px!important}.countLabel[_ngcontent-%COMP%]{color:#135f7f;font-size:16px}"]],data:{}});function vL(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function _L(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-card",[["class","countCard mat-card mat-ripple"],["matRipple",""]],[[2,"_mat-animation-noopable",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goToSpecifiedAdministration(n.context.$implicit)&&t),t}),IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),Di(2,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],null,null),(n()(),_o(3,0,null,0,2,"div",[["class","avatarCount mat-card-avatar"],["mat-card-avatar",""],["style","margin-right: 10px;"]],null,null,null,null,null)),Di(4,16384,null,0,wO,[],null,null),(n()(),_o(5,0,null,null,0,"i",[["style","position: absolute;"]],[[8,"className",0]],null,null,null,null)),(n()(),_o(6,0,null,0,1,"span",[["style","font-size: 40px;"]],null,null,null,null,null)),(n()(),Lo(7,null,["",""])),(n()(),Lo(8,0,[" "," "]))],(function(n,l){n(l,2,0)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).unbounded),n(l,5,0,Wt(1,"",l.context.$implicit.style,"")),n(l,7,0,l.context.$implicit.count),n(l,8,0,l.context.$implicit.label)}))}function yL(n){return jo(0,[(n()(),_o(0,0,null,null,6,"button",[["mat-button",""],["style","font-size:20px;height:80px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goToSpecifiedAdministration(n.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,4,"div",[["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["style","padding-right: 10px;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),_o(5,0,null,null,1,"span",[["class","countLabel"],["style","white-space: initial;text-align: left;"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.context.$implicit.comment,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,Wt(1,"avatarCount2 ",l.context.$implicit.style,"")),n(l,6,0,l.context.$implicit.label)}))}function wL(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{searchServiceInput:0}),(n()(),_o(3,0,null,null,52,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(7,0,null,1,43,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,0,32,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,null,31,"div",[["class","container-content"],["style","display: flex;flex-direction: column;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,vL)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,null,2,"div",[["style","display: grid;grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));gap: 20px;padding:20px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_L)),Di(24,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(25,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(26,49152,null,0,mI,[],null,null),(n()(),_o(27,0,null,null,18,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;font-size: 10px;width: 250px !important;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(28,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(38,0,[[2,0],["searchServiceInput",1]],1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,39)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,39).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,39)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,39)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,44)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,44)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,44)._onInput()&&t),t}),null,null)),Di(39,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(41,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(43,16384,null,0,y_,[[4,v_]],null,null),Di(44,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[5,4],[6,4]],nT,null,[OT]),(n()(),_o(46,0,null,null,4,"div",[["style","margin: 20px;display: grid;grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));gap: 20px;padding:20px;padding-top:0px;margin-top:0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,3,null,yL)),Di(48,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(50,2),(n()(),_o(51,0,null,0,4,"mat-sidenav",[["autoFocus","false"],["class","panel-right mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,55)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,55)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(53,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(54,{width:0}),Di(55,3325952,[[3,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"],fixedInViewport:[4,"fixedInViewport"]},null)],(function(n,l){var e=l.component;n(l,4,0),n(l,8,0),n(l,13,0),n(l,16,0),n(l,21,0,e.loading),n(l,24,0,e.shortcutsAdmin),n(l,41,0,e.searchService),n(l,44,0,e.lang.filterBy);var t=bt(l,48,0,n(l,50,0,bi(l,0),bt(l,48,0,bi(l,49).transform(e.filteredAdministrations)),"label"));n(l,48,0,t);var i=n(l,54,0,e.appService.getViewMode()?"80%":"30%");n(l,53,0,i),n(l,55,0,"end",e.appService.getViewMode()?"over":"side","false",(e.appService.getViewMode(),!1),e.appService.getViewMode())}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,25,0,bi(l,26).vertical?"vertical":"horizontal",bi(l,26).vertical,!bi(l,26).vertical,bi(l,26).inset),n(l,27,1,["standard"==bi(l,28).appearance,"fill"==bi(l,28).appearance,"outline"==bi(l,28).appearance,"legacy"==bi(l,28).appearance,bi(l,28)._control.errorState,bi(l,28)._canLabelFloat,bi(l,28)._shouldLabelFloat(),bi(l,28)._hasFloatingLabel(),bi(l,28)._hideControlPlaceholder(),bi(l,28)._control.disabled,bi(l,28)._control.autofilled,bi(l,28)._control.focused,"accent"==bi(l,28).color,"warn"==bi(l,28).color,bi(l,28)._shouldForward("untouched"),bi(l,28)._shouldForward("touched"),bi(l,28)._shouldForward("pristine"),bi(l,28)._shouldForward("dirty"),bi(l,28)._shouldForward("valid"),bi(l,28)._shouldForward("invalid"),bi(l,28)._shouldForward("pending"),!bi(l,28)._animationsEnabled]),n(l,38,1,[bi(l,43).ngClassUntouched,bi(l,43).ngClassTouched,bi(l,43).ngClassPristine,bi(l,43).ngClassDirty,bi(l,43).ngClassValid,bi(l,43).ngClassInvalid,bi(l,43).ngClassPending,bi(l,44)._isServer,bi(l,44).id,bi(l,44).placeholder,bi(l,44).disabled,bi(l,44).required,bi(l,44).readonly&&!bi(l,44)._isNativeSelect||null,bi(l,44)._ariaDescribedby||null,bi(l,44).errorState,bi(l,44).required.toString()]),n(l,51,0,null,"end"===bi(l,55).position,"over"===bi(l,55).mode,"push"===bi(l,55).mode,"side"===bi(l,55).mode,bi(l,55).opened,bi(l,55).fixedInViewport,bi(l,55).fixedInViewport?bi(l,55).fixedTopGap:null,bi(l,55).fixedInViewport?bi(l,55).fixedBottomGap:null,bi(l,55)._animationState)}))}function xL(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,wL,bL)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,gL,[nS,uf,_u,yu,TI,QS,tu,$S],null,null)],(function(n,l){n(l,2,0)}),null)}var CL=oi("ng-component",gL,xL,{},{},[]),kL=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l.sortables=new Map,l._stateChanges=new M,l.start="asc",l._direction="",l.sortChange=new la,l}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"direction",{get:function(){return this._direction},set:function(n){if(sl()&&n&&"asc"!==n&&"desc"!==n)throw function(n){return Error(n+" is not a valid sort direction ('asc' or 'desc').")}(n);this._direction=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.register=function(n){if(!n.id)throw Error("MatSortHeader must be provided with a unique id.");if(this.sortables.has(n.id))throw Error("Cannot have two MatSortables with the same id ("+n.id+").");this.sortables.set(n.id,n)},l.prototype.deregister=function(n){this.sortables.delete(n.id)},l.prototype.sort=function(n){this.active!=n.id?(this.active=n.id,this.direction=n.start?n.start:this.start):this.direction=this.getNextSortDirection(n),this.sortChange.emit({active:this.active,direction:this.direction})},l.prototype.getNextSortDirection=function(n){if(!n)return"";var l,e,t=(l=null!=n.disableClear?n.disableClear:this.disableClear,e=["asc","desc"],"desc"==(n.start||this.start)&&e.reverse(),l||e.push(""),e),i=t.indexOf(this.direction)+1;return i>=t.length&&(i=0),t[i]},l.prototype.ngOnInit=function(){this._markInitialized()},l.prototype.ngOnChanges=function(){this._stateChanges.next()},l.prototype.ngOnDestroy=function(){this._stateChanges.complete()},l}(Qb(Wb(function(){return function(){}}()))),SL=function(){function n(){this.changes=new M,this.sortButtonLabel=function(n){return"Change sorting for "+n}}return n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}();function IL(n){return n||new SL}var AL=function(n){function l(l,e,t,i){var a=n.call(this)||this;if(a._intl=l,a._sort=t,a._columnDef=i,a._showIndicatorHint=!1,a._arrowDirection="",a._disableViewStateAnimation=!1,a.arrowPosition="after",!t)throw Error("MatSortHeader must be placed within a parent element with the MatSort directive.");return a._rerenderSubscription=Z(t.sortChange,t._stateChanges,l.changes).subscribe((function(){a._isSorted()&&a._updateArrowDirection(),!a._isSorted()&&a._viewState&&"active"===a._viewState.toState&&(a._disableViewStateAnimation=!1,a._setAnimationTransitionState({fromState:"active",toState:a._arrowDirection})),e.markForCheck()})),a}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"disableClear",{get:function(){return this._disableClear},set:function(n){this._disableClear=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)},l.prototype.ngOnDestroy=function(){this._sort.deregister(this),this._rerenderSubscription.unsubscribe()},l.prototype._setIndicatorHintVisible=function(n){this._isDisabled()&&n||(this._showIndicatorHint=n,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))},l.prototype._setAnimationTransitionState=function(n){this._viewState=n,this._disableViewStateAnimation&&(this._viewState={toState:n.toState})},l.prototype._handleClick=function(){if(!this._isDisabled()){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0);var n=this._isSorted()?{fromState:this._arrowDirection,toState:"active"}:{fromState:"active",toState:this._arrowDirection};this._setAnimationTransitionState(n),this._showIndicatorHint=!1}},l.prototype._isSorted=function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)},l.prototype._getArrowDirectionState=function(){return(this._isSorted()?"active-":"")+this._arrowDirection},l.prototype._getArrowViewState=function(){var n=this._viewState.fromState;return(n?n+"-to-":"")+this._viewState.toState},l.prototype._updateArrowDirection=function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start},l.prototype._isDisabled=function(){return this._sort.disabled||this.disabled},l.prototype._getAriaSortAttribute=function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":null},l.prototype._renderArrow=function(){return!this._isDisabled()||this._isSorted()},l}(Wb(function(){return function(){}}())),ML=function(){return function(){}}(),PL=yt({encapsulation:2,styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-button{border:none;background:0 0;display:flex;align-items:center;padding:0;cursor:inherit;outline:0;font:inherit;color:currentColor}.mat-sort-header-button::-moz-focus-inner{border:0}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}@media (-ms-high-contrast:active){.mat-sort-header-stem{width:0;border-left:solid 2px}}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}@media (-ms-high-contrast:active){.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}"],data:{animation:[{type:7,name:"indicator",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"translateY(0px)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"translateY(10px)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"leftPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"rightPointer",definitions:[{type:0,name:"active-asc, asc",styles:{type:6,styles:{transform:"rotate(45deg)"},offset:null},options:void 0},{type:0,name:"active-desc, desc",styles:{type:6,styles:{transform:"rotate(-45deg)"},offset:null},options:void 0},{type:1,expr:"active-asc <=> active-desc",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowOpacity",definitions:[{type:0,name:"desc-to-active, asc-to-active, active",styles:{type:6,styles:{opacity:1},offset:null},options:void 0},{type:0,name:"desc-to-hint, asc-to-hint, hint",styles:{type:6,styles:{opacity:.54},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",styles:{type:6,styles:{opacity:0},offset:null},options:void 0},{type:1,expr:"* => asc, * => desc, * => active, * => hint, * => void",animation:{type:4,styles:null,timings:"0ms"},options:null},{type:1,expr:"* <=> *",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"arrowPosition",definitions:[{type:1,expr:"* => desc-to-hint, * => desc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(-25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-desc, * => active-to-desc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => asc-to-hint, * => asc-to-active",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(25%)"},offset:null},{type:6,styles:{transform:"translateY(0)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:1,expr:"* => hint-to-asc, * => active-to-asc",animation:{type:4,styles:{type:5,steps:[{type:6,styles:{transform:"translateY(0)"},offset:null},{type:6,styles:{transform:"translateY(-25%)"},offset:null}]},timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null},{type:0,name:"desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",styles:{type:6,styles:{transform:"translateY(0)"},offset:null},options:void 0},{type:0,name:"hint-to-desc, active-to-desc, desc",styles:{type:6,styles:{transform:"translateY(-25%)"},offset:null},options:void 0},{type:0,name:"hint-to-asc, active-to-asc, asc",styles:{type:6,styles:{transform:"translateY(25%)"},offset:null},options:void 0}],options:{}},{type:7,name:"allowChildren",definitions:[{type:1,expr:"* <=> *",animation:[{type:11,selector:"@*",animation:{type:9,options:null},options:{optional:!0}}],options:null}],options:{}}]}});function DL(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","mat-sort-header-arrow"]],[[24,"@arrowOpacity",0],[24,"@arrowPosition",0],[24,"@allowChildren",0]],[[null,"@arrowPosition.start"],[null,"@arrowPosition.done"]],(function(n,l,e){var t=!0,i=n.component;return"@arrowPosition.start"===l&&(t=0!=(i._disableViewStateAnimation=!0)&&t),"@arrowPosition.done"===l&&(t=0!=(i._disableViewStateAnimation=!1)&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"div",[["class","mat-sort-header-stem"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"div",[["class","mat-sort-header-indicator"]],[[24,"@indicator",0]],null,null,null,null)),(n()(),_o(3,0,null,null,0,"div",[["class","mat-sort-header-pointer-left"]],[[24,"@leftPointer",0]],null,null,null,null)),(n()(),_o(4,0,null,null,0,"div",[["class","mat-sort-header-pointer-right"]],[[24,"@rightPointer",0]],null,null,null,null)),(n()(),_o(5,0,null,null,0,"div",[["class","mat-sort-header-pointer-middle"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e._getArrowViewState(),e._getArrowViewState(),e._getArrowDirectionState()),n(l,2,0,e._getArrowDirectionState()),n(l,3,0,e._getArrowDirectionState()),n(l,4,0,e._getArrowDirectionState())}))}function FL(n){return jo(2,[(n()(),_o(0,0,null,null,4,"div",[["class","mat-sort-header-container"]],[[2,"mat-sort-header-sorted",null],[2,"mat-sort-header-position-before",null]],null,null,null,null)),(n()(),_o(1,0,null,null,1,"button",[["class","mat-sort-header-button"],["type","button"]],[[1,"disabled",0],[1,"aria-label",0]],[[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==i._setIndicatorHintVisible(!0)&&t),"blur"===l&&(t=!1!==i._setIndicatorHintVisible(!1)&&t),t}),null,null)),Po(null,0),(n()(),vo(16777216,null,null,1,null,DL)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,4,0,l.component._renderArrow())}),(function(n,l){var e=l.component;n(l,0,0,e._isSorted(),"before"==e.arrowPosition),n(l,1,0,e._isDisabled()||null,e._intl.sortButtonLabel(e.id))}))}function EL(n){return function(n){function l(){for(var l=[],e=0;e<arguments.length;e++)l[e]=arguments[e];var t=n.apply(this,l)||this;return t._sticky=!1,t._hasStickyChanged=!1,t}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"sticky",{get:function(){return this._sticky},set:function(n){var l=this._sticky;this._sticky=Yf(n),this._hasStickyChanged=l!==this._sticky},enumerable:!0,configurable:!0}),l.prototype.hasStickyChanged=function(){var n=this._hasStickyChanged;return this._hasStickyChanged=!1,n},l.prototype.resetStickyChanged=function(){this._hasStickyChanged=!1},l}(n)}var OL=function(){return function(n){this.template=n}}(),TL=function(){return function(n){this.template=n}}(),LL=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._stickyEnd=!1,l}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"name",{get:function(){return this._name},set:function(n){n&&(this._name=n,this.cssClassFriendlyName=n.replace(/[^a-z0-9_-]/gi,"-"))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"stickyEnd",{get:function(){return this._stickyEnd},set:function(n){var l=this._stickyEnd;this._stickyEnd=Yf(n),this._hasStickyChanged=l!==this._stickyEnd},enumerable:!0,configurable:!0}),l}(EL(function(){return function(){}}())),RL=function(){return function(n,l){l.nativeElement.classList.add("cdk-column-"+n.cssClassFriendlyName)}}(),NL=function(n){function l(l,e){return n.call(this,l,e)||this}return Object(t.__extends)(l,n),l}(RL),jL=function(n){function l(l,e){return n.call(this,l,e)||this}return Object(t.__extends)(l,n),l}(RL),VL=function(){function n(n,l){this.template=n,this._differs=l}return n.prototype.ngOnChanges=function(n){if(!this._columnsDiffer){var l=n.columns&&n.columns.currentValue||[];this._columnsDiffer=this._differs.find(l).create(),this._columnsDiffer.diff(l)}},n.prototype.getColumnsDiff=function(){return this._columnsDiffer.diff(this.columns)},n.prototype.extractCellTemplate=function(n){return this instanceof qL?n.headerCell.template:this instanceof zL?n.footerCell.template:n.cell.template},n}(),qL=function(n){function l(l,e){return n.call(this,l,e)||this}return Object(t.__extends)(l,n),l.prototype.ngOnChanges=function(l){n.prototype.ngOnChanges.call(this,l)},l}(EL(function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(VL))),zL=function(n){function l(l,e){return n.call(this,l,e)||this}return Object(t.__extends)(l,n),l.prototype.ngOnChanges=function(l){n.prototype.ngOnChanges.call(this,l)},l}(EL(function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(VL))),UL=function(n){function l(l,e){return n.call(this,l,e)||this}return Object(t.__extends)(l,n),l}(VL),BL=function(){function n(l){this._viewContainer=l,n.mostRecentCellOutlet=this}return n.prototype.ngOnDestroy=function(){n.mostRecentCellOutlet===this&&(n.mostRecentCellOutlet=null)},n.mostRecentCellOutlet=null,n}(),$L=function(){return function(){}}(),HL=function(){return function(){}}(),GL=["top","bottom","left","right"],WL=function(){function n(n,l,e,t){void 0===t&&(t=!0),this._isNativeHtmlTable=n,this._stickCellCss=l,this.direction=e,this._isBrowser=t}return n.prototype.clearStickyPositioning=function(n,l){for(var e=0,t=n;e<t.length;e++){var i=t[e];if(i.nodeType===i.ELEMENT_NODE){this._removeStickyStyle(i,l);for(var a=0;a<i.children.length;a++)this._removeStickyStyle(i.children[a],l)}}},n.prototype.updateStickyColumns=function(n,l,e){var t=l.some((function(n){return n}))||e.some((function(n){return n}));if(n.length&&t&&this._isBrowser)for(var i=n[0],a=i.children.length,o=this._getCellWidths(i),r=this._getStickyStartColumnPositions(o,l),u=this._getStickyEndColumnPositions(o,e),s="rtl"===this.direction,c=0,d=n;c<d.length;c++)for(var p=d[c],m=0;m<a;m++){var f=p.children[m];l[m]&&this._addStickyStyle(f,s?"right":"left",r[m]),e[m]&&this._addStickyStyle(f,s?"left":"right",u[m])}},n.prototype.stickRows=function(n,l,e){if(this._isBrowser)for(var t="bottom"===e?n.reverse():n,i=0,a=0;a<t.length;a++)if(l[a]){var o=t[a];if(this._isNativeHtmlTable)for(var r=0;r<o.children.length;r++)this._addStickyStyle(o.children[r],e,i);else this._addStickyStyle(o,e,i);if(a===t.length-1)return;i+=o.getBoundingClientRect().height}},n.prototype.updateStickyFooterContainer=function(n,l){if(this._isNativeHtmlTable){var e=n.querySelector("tfoot");l.some((function(n){return!n}))?this._removeStickyStyle(e,["bottom"]):this._addStickyStyle(e,"bottom",0)}},n.prototype._removeStickyStyle=function(n,l){for(var e=0,t=l;e<t.length;e++)n.style[t[e]]="";n.style.zIndex=this._getCalculatedZIndex(n),GL.some((function(l){return!!n.style[l]}))||(n.style.position="",n.classList.remove(this._stickCellCss))},n.prototype._addStickyStyle=function(n,l,e){n.classList.add(this._stickCellCss),n.style[l]=e+"px",n.style.cssText+="position: -webkit-sticky; position: sticky; ",n.style.zIndex=this._getCalculatedZIndex(n)},n.prototype._getCalculatedZIndex=function(n){for(var l={top:100,bottom:10,left:1,right:1},e=0,t=0,i=GL;t<i.length;t++){var a=i[t];n.style[a]&&(e+=l[a])}return e?""+e:""},n.prototype._getCellWidths=function(n){for(var l=[],e=n.children,t=0;t<e.length;t++)l.push(e[t].getBoundingClientRect().width);return l},n.prototype._getStickyStartColumnPositions=function(n,l){for(var e=[],t=0,i=0;i<n.length;i++)l[i]&&(e[i]=t,t+=n[i]);return e},n.prototype._getStickyEndColumnPositions=function(n,l){for(var e=[],t=0,i=n.length;i>0;i--)l[i]&&(e[i]=t,t+=n[i]);return e},n}();function KL(n){return Error('Could not find column with id "'+n+'".')}var YL=function(){return function(n,l){this.viewContainer=n,this.elementRef=l}}(),JL=function(){return function(n,l){this.viewContainer=n,this.elementRef=l}}(),ZL=function(){return function(n,l){this.viewContainer=n,this.elementRef=l}}(),QL=function(){function n(n,l,e,t,i,a,o){this._differs=n,this._changeDetectorRef=l,this._elementRef=e,this._dir=i,this._platform=o,this._onDestroy=new M,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this._multiTemplateDataRows=!1,this.viewChange=new Gs({start:0,end:Number.MAX_VALUE}),t||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object.defineProperty(n.prototype,"trackBy",{get:function(){return this._trackByFn},set:function(n){sl()&&null!=n&&"function"!=typeof n&&console&&console.warn&&console.warn("trackBy must be a function, but received "+JSON.stringify(n)+"."),this._trackByFn=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(n){this._dataSource!==n&&this._switchDataSource(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multiTemplateDataRows",{get:function(){return this._multiTemplateDataRows},set:function(n){this._multiTemplateDataRows=Yf(n),this._rowOutlet&&this._rowOutlet.viewContainer.length&&this._forceRenderDataRows()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((function(l,e){return n.trackBy?n.trackBy(e.dataIndex,e.data):e}))},n.prototype.ngAfterContentChecked=function(){if(this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&!this._rowDefs.length)throw Error("Missing definitions for header, footer, and row; cannot determine which columns should be rendered.");this._renderUpdatedColumns(),this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription&&this._observeRenderChanges(),this._checkStickyStates()},n.prototype.ngOnDestroy=function(){this._rowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),mg(this.dataSource)&&this.dataSource.disconnect(this)},n.prototype.renderRows=function(){var n=this;this._renderRows=this._getAllRenderRows();var l=this._dataDiffer.diff(this._renderRows);if(l){var e=this._rowOutlet.viewContainer;l.forEachOperation((function(l,t,i){if(null==l.previousIndex)n._insertRow(l.item,i);else if(null==i)e.remove(t);else{var a=e.get(t);e.move(a,i)}})),this._updateRowIndexContext(),l.forEachIdentityChange((function(n){e.get(n.currentIndex).context.$implicit=n.item.data})),this.updateStickyColumnStyles()}},n.prototype.setHeaderRowDef=function(n){this._customHeaderRowDefs=new Set([n]),this._headerRowDefChanged=!0},n.prototype.setFooterRowDef=function(n){this._customFooterRowDefs=new Set([n]),this._footerRowDefChanged=!0},n.prototype.addColumnDef=function(n){this._customColumnDefs.add(n)},n.prototype.removeColumnDef=function(n){this._customColumnDefs.delete(n)},n.prototype.addRowDef=function(n){this._customRowDefs.add(n)},n.prototype.removeRowDef=function(n){this._customRowDefs.delete(n)},n.prototype.addHeaderRowDef=function(n){this._customHeaderRowDefs.add(n),this._headerRowDefChanged=!0},n.prototype.removeHeaderRowDef=function(n){this._customHeaderRowDefs.delete(n),this._headerRowDefChanged=!0},n.prototype.addFooterRowDef=function(n){this._customFooterRowDefs.add(n),this._footerRowDefChanged=!0},n.prototype.removeFooterRowDef=function(n){this._customFooterRowDefs.delete(n),this._footerRowDefChanged=!0},n.prototype.updateStickyHeaderRowStyles=function(){var n=this._getRenderedRows(this._headerRowOutlet),l=this._elementRef.nativeElement.querySelector("thead");l&&(l.style.display=n.length?"":"none");var e=this._headerRowDefs.map((function(n){return n.sticky}));this._stickyStyler.clearStickyPositioning(n,["top"]),this._stickyStyler.stickRows(n,e,"top"),this._headerRowDefs.forEach((function(n){return n.resetStickyChanged()}))},n.prototype.updateStickyFooterRowStyles=function(){var n=this._getRenderedRows(this._footerRowOutlet),l=this._elementRef.nativeElement.querySelector("tfoot");l&&(l.style.display=n.length?"":"none");var e=this._footerRowDefs.map((function(n){return n.sticky}));this._stickyStyler.clearStickyPositioning(n,["bottom"]),this._stickyStyler.stickRows(n,e,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,e),this._footerRowDefs.forEach((function(n){return n.resetStickyChanged()}))},n.prototype.updateStickyColumnStyles=function(){var n=this,l=this._getRenderedRows(this._headerRowOutlet),e=this._getRenderedRows(this._rowOutlet),t=this._getRenderedRows(this._footerRowOutlet);this._stickyStyler.clearStickyPositioning(l.concat(e,t),["left","right"]),l.forEach((function(l,e){n._addStickyColumnStyles([l],n._headerRowDefs[e])})),this._rowDefs.forEach((function(l){for(var t=[],i=0;i<e.length;i++)n._renderRows[i].rowDef===l&&t.push(e[i]);n._addStickyColumnStyles(t,l)})),t.forEach((function(l,e){n._addStickyColumnStyles([l],n._footerRowDefs[e])})),Array.from(this._columnDefsByName.values()).forEach((function(n){return n.resetStickyChanged()}))},n.prototype._getAllRenderRows=function(){var n=[],l=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var e=0;e<this._data.length;e++){var t=this._data[e],i=this._getRenderRowsForData(t,e,l.get(t));this._cachedRenderRowsMap.has(t)||this._cachedRenderRowsMap.set(t,new WeakMap);for(var a=0;a<i.length;a++){var o=i[a],r=this._cachedRenderRowsMap.get(o.data);r.has(o.rowDef)?r.get(o.rowDef).push(o):r.set(o.rowDef,[o]),n.push(o)}}return n},n.prototype._getRenderRowsForData=function(n,l,e){return this._getRowDefs(n,l).map((function(t){var i=e&&e.has(t)?e.get(t):[];if(i.length){var a=i.shift();return a.dataIndex=l,a}return{data:n,rowDef:t,dataIndex:l}}))},n.prototype._cacheColumnDefs=function(){var n=this;this._columnDefsByName.clear(),XL(this._contentColumnDefs,this._customColumnDefs).forEach((function(l){if(n._columnDefsByName.has(l.name))throw Error('Duplicate column definition name provided: "'+l.name+'".');n._columnDefsByName.set(l.name,l)}))},n.prototype._cacheRowDefs=function(){this._headerRowDefs=XL(this._contentHeaderRowDefs,this._customHeaderRowDefs),this._footerRowDefs=XL(this._contentFooterRowDefs,this._customFooterRowDefs),this._rowDefs=XL(this._contentRowDefs,this._customRowDefs);var n=this._rowDefs.filter((function(n){return!n.when}));if(!this.multiTemplateDataRows&&n.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultRowDef=n[0]},n.prototype._renderUpdatedColumns=function(){var n=function(n,l){return n||!!l.getColumnsDiff()};this._rowDefs.reduce(n,!1)&&this._forceRenderDataRows(),this._headerRowDefs.reduce(n,!1)&&this._forceRenderHeaderRows(),this._footerRowDefs.reduce(n,!1)&&this._forceRenderFooterRows()},n.prototype._switchDataSource=function(n){this._data=[],mg(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),n||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=n},n.prototype._observeRenderChanges=function(){var n=this;if(this.dataSource){var l;if(mg(this.dataSource)?l=this.dataSource.connect(this):this.dataSource instanceof x?l=this.dataSource:Array.isArray(this.dataSource)&&(l=lu(this.dataSource)),void 0===l)throw Error("Provided data source did not match an array, Observable, or DataSource");this._renderChangeSubscription=l.pipe(Ph(this._onDestroy)).subscribe((function(l){n._data=l||[],n.renderRows()}))}},n.prototype._forceRenderHeaderRows=function(){var n=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((function(l,e){return n._renderRow(n._headerRowOutlet,l,e)})),this.updateStickyHeaderRowStyles(),this.updateStickyColumnStyles()},n.prototype._forceRenderFooterRows=function(){var n=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((function(l,e){return n._renderRow(n._footerRowOutlet,l,e)})),this.updateStickyFooterRowStyles(),this.updateStickyColumnStyles()},n.prototype._addStickyColumnStyles=function(n,l){var e=this,t=Array.from(l.columns||[]).map((function(n){var l=e._columnDefsByName.get(n);if(!l)throw KL(n);return l})),i=t.map((function(n){return n.sticky})),a=t.map((function(n){return n.stickyEnd}));this._stickyStyler.updateStickyColumns(n,i,a)},n.prototype._getRenderedRows=function(n){for(var l=[],e=0;e<n.viewContainer.length;e++){var t=n.viewContainer.get(e);l.push(t.rootNodes[0])}return l},n.prototype._getRowDefs=function(n,l){if(1==this._rowDefs.length)return[this._rowDefs[0]];var e=[];if(this.multiTemplateDataRows)e=this._rowDefs.filter((function(e){return!e.when||e.when(l,n)}));else{var t=this._rowDefs.find((function(e){return e.when&&e.when(l,n)}))||this._defaultRowDef;t&&e.push(t)}if(!e.length)throw function(n){return Error("Could not find a matching row definition for theprovided row data: "+JSON.stringify(n))}(n);return e},n.prototype._insertRow=function(n,l){this._renderRow(this._rowOutlet,n.rowDef,l,{$implicit:n.data})},n.prototype._renderRow=function(n,l,e,t){void 0===t&&(t={}),n.viewContainer.createEmbeddedView(l.template,t,e);for(var i=0,a=this._getCellTemplates(l);i<a.length;i++)BL.mostRecentCellOutlet&&BL.mostRecentCellOutlet._viewContainer.createEmbeddedView(a[i],t);this._changeDetectorRef.markForCheck()},n.prototype._updateRowIndexContext=function(){for(var n=this._rowOutlet.viewContainer,l=0,e=n.length;l<e;l++){var t=n.get(l).context;t.count=e,t.first=0===l,t.last=l===e-1,t.even=l%2==0,t.odd=!t.even,this.multiTemplateDataRows?(t.dataIndex=this._renderRows[l].dataIndex,t.renderIndex=l):t.index=this._renderRows[l].dataIndex}},n.prototype._getCellTemplates=function(n){var l=this;return n&&n.columns?Array.from(n.columns,(function(e){var t=l._columnDefsByName.get(e);if(!t)throw KL(e);return n.extractCellTemplate(t)})):[]},n.prototype._applyNativeTableSections=function(){for(var n=this._document.createDocumentFragment(),l=0,e=[{tag:"thead",outlet:this._headerRowOutlet},{tag:"tbody",outlet:this._rowOutlet},{tag:"tfoot",outlet:this._footerRowOutlet}];l<e.length;l++){var t=e[l],i=this._document.createElement(t.tag);i.setAttribute("role","rowgroup"),i.appendChild(t.outlet.elementRef.nativeElement),n.appendChild(i)}this._elementRef.nativeElement.appendChild(n)},n.prototype._forceRenderDataRows=function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows(),this.updateStickyColumnStyles()},n.prototype._checkStickyStates=function(){var n=function(n,l){return n||l.hasStickyChanged()};this._headerRowDefs.reduce(n,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(n,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(n,!1)&&this.updateStickyColumnStyles()},n.prototype._setupStickyStyler=function(){var n=this;this._stickyStyler=new WL(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._platform.isBrowser),(this._dir?this._dir.change:lu()).pipe(Ph(this._onDestroy)).subscribe((function(l){n._stickyStyler.direction=l,n.updateStickyColumnStyles()}))},n}();function XL(n,l){return n.toArray().concat(Array.from(l))}var nR=function(){return function(){}}(),lR=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l.stickyCssClass="mat-table-sticky",l}return Object(t.__extends)(l,n),l}(QL),eR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(OL),tR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(TL),iR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(LL),aR=function(n){function l(l,e){var t=n.call(this,l,e)||this;return e.nativeElement.classList.add("mat-column-"+l.cssClassFriendlyName),t}return Object(t.__extends)(l,n),l}(NL),oR=function(n){function l(l,e){var t=n.call(this,l,e)||this;return e.nativeElement.classList.add("mat-column-"+l.cssClassFriendlyName),t}return Object(t.__extends)(l,n),l}(jL),rR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(qL),uR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(UL),sR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}($L),cR=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(HL),dR=function(){return function(){}}(),pR=9007199254740991,mR=function(n){function l(l){void 0===l&&(l=[]);var e=n.call(this)||this;return e._renderData=new Gs([]),e._filter=new Gs(""),e._internalPageChanges=new M,e._renderChangesSubscription=s.EMPTY,e.sortingDataAccessor=function(n,l){var e=n[l];if(Zf(e)){var t=Number(e);return t<pR?t:e}return e},e.sortData=function(n,l){var t=l.active,i=l.direction;return t&&""!=i?n.sort((function(n,l){var a=e.sortingDataAccessor(n,t),o=e.sortingDataAccessor(l,t),r=0;return null!=a&&null!=o?a>o?r=1:a<o&&(r=-1):null!=a?r=1:null!=o&&(r=-1),r*("asc"==i?1:-1)})):n},e.filterPredicate=function(n,l){var e=Object.keys(n).reduce((function(l,e){return l+n[e]+"â—¬"}),"").toLowerCase(),t=l.trim().toLowerCase();return-1!=e.indexOf(t)},e._data=new Gs(l),e._updateChangeSubscription(),e}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"data",{get:function(){return this._data.value},set:function(n){this._data.next(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"filter",{get:function(){return this._filter.value},set:function(n){this._filter.next(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"sort",{get:function(){return this._sort},set:function(n){this._sort=n,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"paginator",{get:function(){return this._paginator},set:function(n){this._paginator=n,this._updateChangeSubscription()},enumerable:!0,configurable:!0}),l.prototype._updateChangeSubscription=function(){var n=this,l=this._sort?Z(this._sort.sortChange,this._sort.initialized):lu(null),e=this._paginator?Z(this._paginator.page,this._internalPageChanges,this._paginator.initialized):lu(null),t=Js(this._data,this._filter).pipe(q((function(l){return n._filterData(l[0])}))),i=Js(t,l).pipe(q((function(l){return n._orderData(l[0])}))),a=Js(i,e).pipe(q((function(l){return n._pageData(l[0])})));this._renderChangesSubscription.unsubscribe(),this._renderChangesSubscription=a.subscribe((function(l){return n._renderData.next(l)}))},l.prototype._filterData=function(n){var l=this;return this.filteredData=this.filter?n.filter((function(n){return l.filterPredicate(n,l.filter)})):n,this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData},l.prototype._orderData=function(n){return this.sort?this.sortData(n.slice(),this.sort):n},l.prototype._pageData=function(n){if(!this.paginator)return n;var l=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(l,l+this.paginator.pageSize)},l.prototype._updatePaginator=function(n){var l=this;Promise.resolve().then((function(){var e=l.paginator;if(e&&(e.length=n,e.pageIndex>0)){var t=Math.ceil(e.length/e.pageSize)-1||0,i=Math.min(e.pageIndex,t);i!==e.pageIndex&&(e.pageIndex=i,l._internalPageChanges.next())}}))},l.prototype.connect=function(){return this._renderData},l.prototype.disconnect=function(){},l}(pg),fR=yt({encapsulation:2,styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-footer-row,mat-row{min-height:48px}mat-footer-row,mat-header-row,mat-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-footer-row::after,mat-header-row::after,mat-row::after{display:inline-block;min-height:inherit;content:''}mat-cell:first-of-type,mat-footer-cell:first-of-type,mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type,[dir=rtl] mat-footer-cell:first-of-type,[dir=rtl] mat-header-cell:first-of-type{padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-footer-cell:last-of-type,mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type,[dir=rtl] mat-footer-cell:last-of-type,[dir=rtl] mat-header-cell:last-of-type{padding-right:0;padding-left:24px}mat-cell,mat-footer-cell,mat-header-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-footer-row,tr.mat-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}td.mat-cell,td.mat-footer-cell,th.mat-header-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type,th.mat-header-cell:first-of-type{padding-left:24px}[dir=rtl] td.mat-cell:first-of-type,[dir=rtl] td.mat-footer-cell:first-of-type,[dir=rtl] th.mat-header-cell:first-of-type{padding-left:0;padding-right:24px}td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type,th.mat-header-cell:last-of-type{padding-right:24px}[dir=rtl] td.mat-cell:last-of-type,[dir=rtl] td.mat-footer-cell:last-of-type,[dir=rtl] th.mat-header-cell:last-of-type{padding-right:0;padding-left:24px}"],data:{}});function hR(n){return jo(0,[ko(402653184,1,{_rowOutlet:0}),ko(402653184,2,{_headerRowOutlet:0}),ko(402653184,3,{_footerRowOutlet:0}),Po(null,0),(n()(),_o(4,16777216,null,null,1,null,null,null,null,null,null,null)),Di(5,16384,[[2,4]],0,JL,[lt,Pe],null,null),(n()(),_o(6,16777216,null,null,1,null,null,null,null,null,null,null)),Di(7,16384,[[1,4]],0,YL,[lt,Pe],null,null),(n()(),_o(8,16777216,null,null,1,null,null,null,null,null,null,null)),Di(9,16384,[[3,4]],0,ZL,[lt,Pe],null,null)],null,null)}var gR=yt({encapsulation:2,styles:[],data:{}});function bR(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,null,null,null,null,null,null,null)),Di(1,147456,null,0,BL,[lt],null,null)],null,null)}var vR=yt({encapsulation:2,styles:[],data:{}});function _R(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,null,null,null,null,null,null,null)),Di(1,147456,null,0,BL,[lt],null,null)],null,null)}var yR=new On("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS"),wR=function(){return function(){}}(),xR=0,CR=function(){return function(n,l){this.source=n,this.value=l}}(),kR=function(){function n(n,l){this._changeDetector=n,this._vertical=!1,this._multiple=!1,this._disabled=!1,this._controlValueAccessorChangeFn=function(){},this._onTouched=function(){},this._name="mat-button-toggle-group-"+xR++,this.valueChange=new la,this.change=new la,this.appearance=l&&l.appearance?l.appearance:"standard"}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(n){var l=this;this._name=n,this._buttonToggles&&this._buttonToggles.forEach((function(n){n.name=l._name,n._markForCheck()}))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"vertical",{get:function(){return this._vertical},set:function(n){this._vertical=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){var n=this._selectionModel?this._selectionModel.selected:[];return this.multiple?n.map((function(n){return n.value})):n[0]?n[0].value:void 0},set:function(n){this._setSelectionByValue(n),this.valueChange.emit(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){var n=this._selectionModel?this._selectionModel.selected:[];return this.multiple?n:n[0]||null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"multiple",{get:function(){return this._multiple},set:function(n){this._multiple=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n),this._buttonToggles&&this._buttonToggles.forEach((function(n){return n._markForCheck()}))},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this._selectionModel=new hg(this.multiple,void 0,!1)},n.prototype.ngAfterContentInit=function(){var n;(n=this._selectionModel).select.apply(n,this._buttonToggles.filter((function(n){return n.checked})))},n.prototype.writeValue=function(n){this.value=n,this._changeDetector.markForCheck()},n.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},n.prototype.registerOnTouched=function(n){this._onTouched=n},n.prototype.setDisabledState=function(n){this.disabled=n},n.prototype._emitChangeEvent=function(){var n=this.selected,l=Array.isArray(n)?n[n.length-1]:n,e=new CR(l,this.value);this._controlValueAccessorChangeFn(e.value),this.change.emit(e)},n.prototype._syncButtonToggle=function(n,l,e,t){void 0===e&&(e=!1),void 0===t&&(t=!1),this.multiple||!this.selected||n.checked||(this.selected.checked=!1),this._selectionModel?l?this._selectionModel.select(n):this._selectionModel.deselect(n):t=!0,t||this._updateModelValue(e)},n.prototype._isSelected=function(n){return this._selectionModel&&this._selectionModel.isSelected(n)},n.prototype._isPrechecked=function(n){return void 0!==this._rawValue&&(this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some((function(l){return null!=n.value&&l===n.value})):n.value===this._rawValue)},n.prototype._setSelectionByValue=function(n){var l=this;if(this._rawValue=n,this._buttonToggles)if(this.multiple&&n){if(!Array.isArray(n))throw Error("Value must be an array in multiple-selection mode.");this._clearSelection(),n.forEach((function(n){return l._selectValue(n)}))}else this._clearSelection(),this._selectValue(n)},n.prototype._clearSelection=function(){this._selectionModel.clear(),this._buttonToggles.forEach((function(n){return n.checked=!1}))},n.prototype._selectValue=function(n){var l=this._buttonToggles.find((function(l){return null!=l.value&&l.value===n}));l&&(l.checked=!0,this._selectionModel.select(l))},n.prototype._updateModelValue=function(n){n&&this._emitChangeEvent(),this.valueChange.emit(this.value)},n}(),SR=function(n){function l(l,e,t,i,a,o){var r=n.call(this)||this;r._changeDetectorRef=e,r._elementRef=t,r._focusMonitor=i,r._isSingleSelector=!1,r._checked=!1,r.ariaLabelledby=null,r._disabled=!1,r.change=new la;var u=Number(a);return r.tabIndex=u||0===u?u:null,r.buttonToggleGroup=l,r.appearance=o&&o.appearance?o.appearance:"standard",r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"buttonId",{get:function(){return this.id+"-button"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"appearance",{get:function(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance},set:function(n){this._appearance=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"checked",{get:function(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked},set:function(n){var l=Yf(n);l!==this._checked&&(this._checked=l,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disabled",{get:function(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){this._isSingleSelector=this.buttonToggleGroup&&!this.buttonToggleGroup.multiple,this._type=this._isSingleSelector?"radio":"checkbox",this.id=this.id||"mat-button-toggle-"+xR++,this._isSingleSelector&&(this.name=this.buttonToggleGroup.name),this.buttonToggleGroup&&this.buttonToggleGroup._isPrechecked(this)&&(this.checked=!0),this._focusMonitor.monitor(this._elementRef,!0)},l.prototype.ngOnDestroy=function(){var n=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),n&&n._isSelected(this)&&n._syncButtonToggle(this,!1,!1,!0)},l.prototype.focus=function(n){this._buttonElement.nativeElement.focus(n)},l.prototype._onButtonClick=function(){var n=!!this._isSingleSelector||!this._checked;n!==this._checked&&(this._checked=n,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.change.emit(new CR(this,this.value))},l.prototype._markForCheck=function(){this._changeDetectorRef.markForCheck()},l}(Yb(function(){return function(){}}())),IR=function(){return function(){}}(),AR=yt({encapsulation:2,styles:[".mat-button-toggle-group,.mat-button-toggle-standalone{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;border-radius:2px;-webkit-tap-highlight-color:transparent}@media (-ms-high-contrast:active){.mat-button-toggle-group,.mat-button-toggle-standalone{outline:solid 1px}}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{border-radius:4px}@media (-ms-high-contrast:active){.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{outline:0}}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:1}@media (-ms-high-contrast:active){.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:.5}}.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{opacity:.04}.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.12}@media (-ms-high-contrast:active){.mat-button-toggle-appearance-standard.cdk-keyboard-focused:not(.mat-button-toggle-disabled) .mat-button-toggle-focus-overlay{opacity:.5}}@media (hover:none){.mat-button-toggle-appearance-standard:not(.mat-button-toggle-disabled):hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;line-height:36px;padding:0 16px;position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{line-height:48px;padding:0 12px}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{border-radius:inherit;pointer-events:none;opacity:0;top:0;left:0;right:0;bottom:0;position:absolute}.mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 36px}@media (-ms-high-contrast:active){.mat-button-toggle-checked .mat-button-toggle-focus-overlay{opacity:.5;height:0}}@media (-ms-high-contrast:active){.mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 48px}}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:0 0;color:inherit;padding:0;margin:0;font:inherit;outline:0;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}"],data:{}});function MR(n){return jo(2,[ko(671088640,1,{_buttonElement:0}),(n()(),_o(1,0,[[1,0],["button",1]],null,2,"button",[["class","mat-button-toggle-button"],["type","button"]],[[8,"id",0],[1,"tabindex",0],[1,"aria-pressed",0],[8,"disabled",0],[1,"name",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component._onButtonClick()&&t),t}),null,null)),(n()(),_o(2,0,null,null,1,"div",[["class","mat-button-toggle-label-content"]],null,null,null,null,null)),Po(null,0),(n()(),_o(4,0,null,null,0,"div",[["class","mat-button-toggle-focus-overlay"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"div",[["class","mat-button-toggle-ripple mat-ripple"],["matRipple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(6,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"],trigger:[1,"trigger"]},null)],(function(n,l){var e=l.component;n(l,6,0,e.disableRipple||e.disabled,bi(l,1))}),(function(n,l){var e=l.component;n(l,1,0,e.buttonId,e.disabled?-1:e.tabIndex,e.checked,e.disabled||null,e.name||null,e.ariaLabel,e.ariaLabelledby),n(l,5,0,bi(l,6).unbounded)}))}var PR=function(){function n(){this.changes=new M,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(n,l,e){if(0==e||0==l)return"0 of "+e;var t=n*l;return t+1+" – "+(t<(e=Math.max(e,0))?Math.min(t+l,e):t+l)+" of "+e}}return n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),DR=function(n){function l(l,e){var t=n.call(this)||this;return t._intl=l,t._changeDetectorRef=e,t._pageIndex=0,t._length=0,t._pageSizeOptions=[],t._hidePageSize=!1,t._showFirstLastButtons=!1,t.page=new la,t._intlChanges=l.changes.subscribe((function(){return t._changeDetectorRef.markForCheck()})),t}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"pageIndex",{get:function(){return this._pageIndex},set:function(n){this._pageIndex=Math.max(Jf(n),0),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"length",{get:function(){return this._length},set:function(n){this._length=Jf(n),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pageSize",{get:function(){return this._pageSize},set:function(n){this._pageSize=Math.max(Jf(n),0),this._updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"pageSizeOptions",{get:function(){return this._pageSizeOptions},set:function(n){this._pageSizeOptions=(n||[]).map((function(n){return Jf(n)})),this._updateDisplayedPageSizeOptions()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"hidePageSize",{get:function(){return this._hidePageSize},set:function(n){this._hidePageSize=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"showFirstLastButtons",{get:function(){return this._showFirstLastButtons},set:function(n){this._showFirstLastButtons=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()},l.prototype.ngOnDestroy=function(){this._intlChanges.unsubscribe()},l.prototype.nextPage=function(){if(this.hasNextPage()){var n=this.pageIndex;this.pageIndex++,this._emitPageEvent(n)}},l.prototype.previousPage=function(){if(this.hasPreviousPage()){var n=this.pageIndex;this.pageIndex--,this._emitPageEvent(n)}},l.prototype.firstPage=function(){if(this.hasPreviousPage()){var n=this.pageIndex;this.pageIndex=0,this._emitPageEvent(n)}},l.prototype.lastPage=function(){if(this.hasNextPage()){var n=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(n)}},l.prototype.hasPreviousPage=function(){return this.pageIndex>=1&&0!=this.pageSize},l.prototype.hasNextPage=function(){var n=this.getNumberOfPages()-1;return this.pageIndex<n&&0!=this.pageSize},l.prototype.getNumberOfPages=function(){return this.pageSize?Math.ceil(this.length/this.pageSize):0},l.prototype._changePageSize=function(n){var l=this.pageIndex;this.pageIndex=Math.floor(this.pageIndex*this.pageSize/n)||0,this.pageSize=n,this._emitPageEvent(l)},l.prototype._nextButtonsDisabled=function(){return this.disabled||!this.hasNextPage()},l.prototype._previousButtonsDisabled=function(){return this.disabled||!this.hasPreviousPage()},l.prototype._updateDisplayedPageSizeOptions=function(){this._initialized&&(this.pageSize||(this._pageSize=0!=this.pageSizeOptions.length?this.pageSizeOptions[0]:50),this._displayedPageSizeOptions=this.pageSizeOptions.slice(),-1===this._displayedPageSizeOptions.indexOf(this.pageSize)&&this._displayedPageSizeOptions.push(this.pageSize),this._displayedPageSizeOptions.sort((function(n,l){return n-l})),this._changeDetectorRef.markForCheck())},l.prototype._emitPageEvent=function(n){this.page.emit({previousPageIndex:n,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})},l}(Wb(Qb(function(){return function(){}}()))),FR=function(){return function(){}}(),ER=0,OR=new On("mat-select-scroll-strategy");function TR(n){return function(){return n.scrollStrategies.reposition()}}var LR=function(){return function(n,l){this.source=n,this.value=l}}(),RR=Yb(Jb(Wb(Zb(function(){return function(n,l,e,t,i){this._elementRef=n,this._defaultErrorStateMatcher=l,this._parentForm=e,this._parentFormGroup=t,this.ngControl=i}}())))),NR=function(){return function(){}}(),jR=function(n){function l(l,e,t,i,a,o,r,u,s,c,d,p,m){var f=n.call(this,a,i,r,u,c)||this;return f._viewportRuler=l,f._changeDetectorRef=e,f._ngZone=t,f._dir=o,f._parentFormField=s,f.ngControl=c,f._liveAnnouncer=m,f._panelOpen=!1,f._required=!1,f._scrollTop=0,f._multiple=!1,f._compareWith=function(n,l){return n===l},f._uid="mat-select-"+ER++,f._destroy=new M,f._triggerFontSize=0,f._onChange=function(){},f._onTouched=function(){},f._optionIds="",f._transformOrigin="top",f._panelDoneAnimatingStream=new M,f._offsetY=0,f._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],f._disableOptionCentering=!1,f._focused=!1,f.controlType="mat-select",f.ariaLabel="",f.optionSelectionChanges=lc((function(){var n=f.options;return n?n.changes.pipe(Pc(n),Sc((function(){return Z.apply(void 0,n.map((function(n){return n.onSelectionChange})))}))):f._ngZone.onStable.asObservable().pipe(_c(1),Sc((function(){return f.optionSelectionChanges})))})),f.openedChange=new la,f._openedStream=f.openedChange.pipe(tc((function(n){return n})),q((function(){}))),f._closedStream=f.openedChange.pipe(tc((function(n){return!n})),q((function(){}))),f.selectionChange=new la,f.valueChange=new la,f.ngControl&&(f.ngControl.valueAccessor=f),f._scrollStrategyFactory=p,f._scrollStrategy=f._scrollStrategyFactory(),f.tabIndex=parseInt(d)||0,f.id=f.id,f}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"focused",{get:function(){return this._focused||this._panelOpen},set:function(n){this._focused=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"placeholder",{get:function(){return this._placeholder},set:function(n){this._placeholder=n,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"required",{get:function(){return this._required},set:function(n){this._required=Yf(n),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"multiple",{get:function(){return this._multiple},set:function(n){if(this._selectionModel)throw Error("Cannot change `multiple` mode of select after initialization.");this._multiple=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disableOptionCentering",{get:function(){return this._disableOptionCentering},set:function(n){this._disableOptionCentering=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"compareWith",{get:function(){return this._compareWith},set:function(n){if("function"!=typeof n)throw Error("`compareWith` must be a function.");this._compareWith=n,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(n){n!==this._value&&(this.writeValue(n),this._value=n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"id",{get:function(){return this._id},set:function(n){this._id=n||this._uid,this.stateChanges.next()},enumerable:!0,configurable:!0}),l.prototype.ngOnInit=function(){var n=this;this._selectionModel=new hg(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Gh(),Ph(this._destroy)).subscribe((function(){n.panelOpen?(n._scrollTop=0,n.openedChange.emit(!0)):(n.openedChange.emit(!1),n.overlayDir.offsetX=0,n._changeDetectorRef.markForCheck())})),this._viewportRuler.change().pipe(Ph(this._destroy)).subscribe((function(){n._panelOpen&&(n._triggerRect=n.trigger.nativeElement.getBoundingClientRect(),n._changeDetectorRef.markForCheck())}))},l.prototype.ngAfterContentInit=function(){var n=this;this._initKeyManager(),this._selectionModel.onChange.pipe(Ph(this._destroy)).subscribe((function(n){n.added.forEach((function(n){return n.select()})),n.removed.forEach((function(n){return n.deselect()}))})),this.options.changes.pipe(Pc(null),Ph(this._destroy)).subscribe((function(){n._resetOptions(),n._initializeSelection()}))},l.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},l.prototype.ngOnChanges=function(n){n.disabled&&this.stateChanges.next(),n.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)},l.prototype.ngOnDestroy=function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()},l.prototype.toggle=function(){this.panelOpen?this.close():this.open()},l.prototype.open=function(){var n=this;!this.disabled&&this.options&&this.options.length&&!this._panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._calculateOverlayPosition(),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this._ngZone.onStable.asObservable().pipe(_c(1)).subscribe((function(){n._triggerFontSize&&n.overlayDir.overlayRef&&n.overlayDir.overlayRef.overlayElement&&(n.overlayDir.overlayRef.overlayElement.style.fontSize=n._triggerFontSize+"px")})))},l.prototype.close=function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())},l.prototype.writeValue=function(n){this.options&&this._setSelectionByValue(n)},l.prototype.registerOnChange=function(n){this._onChange=n},l.prototype.registerOnTouched=function(n){this._onTouched=n},l.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetectorRef.markForCheck(),this.stateChanges.next()},Object.defineProperty(l.prototype,"panelOpen",{get:function(){return this._panelOpen},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"triggerValue",{get:function(){if(this.empty)return"";if(this._multiple){var n=this._selectionModel.selected.map((function(n){return n.viewValue}));return this._isRtl()&&n.reverse(),n.join(", ")}return this._selectionModel.selected[0].viewValue},enumerable:!0,configurable:!0}),l.prototype._isRtl=function(){return!!this._dir&&"rtl"===this._dir.value},l.prototype._handleKeydown=function(n){this.disabled||(this.panelOpen?this._handleOpenKeydown(n):this._handleClosedKeydown(n))},l.prototype._handleClosedKeydown=function(n){var l=n.keyCode,e=40===l||38===l||37===l||39===l,t=this._keyManager;if((13===l||32===l)&&!oh(n)||(this.multiple||n.altKey)&&e)n.preventDefault(),this.open();else if(!this.multiple){var i=this.selected;36===l||35===l?(36===l?t.setFirstItemActive():t.setLastItemActive(),n.preventDefault()):t.onKeydown(n);var a=this.selected;this._liveAnnouncer&&a&&i!==a&&this._liveAnnouncer.announce(a.viewValue,1e4)}},l.prototype._handleOpenKeydown=function(n){var l=n.keyCode,e=40===l||38===l,t=this._keyManager;if(36===l||35===l)n.preventDefault(),36===l?t.setFirstItemActive():t.setLastItemActive();else if(e&&n.altKey)n.preventDefault(),this.close();else if(13!==l&&32!==l||!t.activeItem||oh(n))if(this._multiple&&65===l&&n.ctrlKey){n.preventDefault();var i=this.options.some((function(n){return!n.disabled&&!n.selected}));this.options.forEach((function(n){n.disabled||(i?n.select():n.deselect())}))}else{var a=t.activeItemIndex;t.onKeydown(n),this._multiple&&e&&n.shiftKey&&t.activeItem&&t.activeItemIndex!==a&&t.activeItem._selectViaInteraction()}else n.preventDefault(),t.activeItem._selectViaInteraction()},l.prototype._onFocus=function(){this.disabled||(this._focused=!0,this.stateChanges.next())},l.prototype._onBlur=function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())},l.prototype._onAttached=function(){var n=this;this.overlayDir.positionChange.pipe(_c(1)).subscribe((function(){n._changeDetectorRef.detectChanges(),n._calculateOverlayOffsetX(),n.panel.nativeElement.scrollTop=n._scrollTop}))},l.prototype._getPanelTheme=function(){return this._parentFormField?"mat-"+this._parentFormField.color:""},Object.defineProperty(l.prototype,"empty",{get:function(){return!this._selectionModel||this._selectionModel.isEmpty()},enumerable:!0,configurable:!0}),l.prototype._initializeSelection=function(){var n=this;Promise.resolve().then((function(){n._setSelectionByValue(n.ngControl?n.ngControl.value:n._value),n.stateChanges.next()}))},l.prototype._setSelectionByValue=function(n){var l=this;if(this.multiple&&n){if(!Array.isArray(n))throw Error("Value must be an array in multiple-selection mode.");this._selectionModel.clear(),n.forEach((function(n){return l._selectValue(n)})),this._sortValues()}else{this._selectionModel.clear();var e=this._selectValue(n);e&&this._keyManager.setActiveItem(e)}this._changeDetectorRef.markForCheck()},l.prototype._selectValue=function(n){var l=this,e=this.options.find((function(e){try{return null!=e.value&&l._compareWith(e.value,n)}catch(t){return sl()&&console.warn(t),!1}}));return e&&this._selectionModel.select(e),e},l.prototype._initKeyManager=function(){var n=this;this._keyManager=new Ib(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Ph(this._destroy)).subscribe((function(){n.focus(),n.close()})),this._keyManager.change.pipe(Ph(this._destroy)).subscribe((function(){n._panelOpen&&n.panel?n._scrollActiveOptionIntoView():n._panelOpen||n.multiple||!n._keyManager.activeItem||n._keyManager.activeItem._selectViaInteraction()}))},l.prototype._resetOptions=function(){var n=this,l=Z(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Ph(l)).subscribe((function(l){n._onSelect(l.source,l.isUserInput),l.isUserInput&&!n.multiple&&n._panelOpen&&(n.close(),n.focus())})),Z.apply(void 0,this.options.map((function(n){return n._stateChanges}))).pipe(Ph(l)).subscribe((function(){n._changeDetectorRef.markForCheck(),n.stateChanges.next()})),this._setOptionIds()},l.prototype._onSelect=function(n,l){var e=this._selectionModel.isSelected(n);null!=n.value||this._multiple?(n.selected?this._selectionModel.select(n):this._selectionModel.deselect(n),l&&this._keyManager.setActiveItem(n),this.multiple&&(this._sortValues(),l&&this.focus())):(n.deselect(),this._selectionModel.clear(),this._propagateChanges(n.value)),e!==this._selectionModel.isSelected(n)&&this._propagateChanges(),this.stateChanges.next()},l.prototype._sortValues=function(){var n=this;if(this.multiple){var l=this.options.toArray();this._selectionModel.sort((function(e,t){return n.sortComparator?n.sortComparator(e,t,l):l.indexOf(e)-l.indexOf(t)})),this.stateChanges.next()}},l.prototype._propagateChanges=function(n){var l;l=this.multiple?this.selected.map((function(n){return n.value})):this.selected?this.selected.value:n,this._value=l,this.valueChange.emit(l),this._onChange(l),this.selectionChange.emit(new LR(this,l)),this._changeDetectorRef.markForCheck()},l.prototype._setOptionIds=function(){this._optionIds=this.options.map((function(n){return n.id})).join(" ")},l.prototype._highlightCorrectOption=function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))},l.prototype._scrollActiveOptionIntoView=function(){var n=this._keyManager.activeItemIndex||0,l=Ov(n,this.options,this.optionGroups);this.panel.nativeElement.scrollTop=Tv(n+l,this._getItemHeight(),this.panel.nativeElement.scrollTop,256)},l.prototype.focus=function(n){this._elementRef.nativeElement.focus(n)},l.prototype._getOptionIndex=function(n){return this.options.reduce((function(l,e,t){return void 0===l?n===e?t:void 0:l}),void 0)},l.prototype._calculateOverlayPosition=function(){var n=this._getItemHeight(),l=this._getItemCount(),e=Math.min(l*n,256),t=l*n-e,i=this.empty?0:this._getOptionIndex(this._selectionModel.selected[0]);i+=Ov(i,this.options,this.optionGroups);var a=e/2;this._scrollTop=this._calculateOverlayScroll(i,a,t),this._offsetY=this._calculateOverlayOffsetY(i,a,t),this._checkOverlayWithinViewport(t)},l.prototype._calculateOverlayScroll=function(n,l,e){var t=this._getItemHeight();return Math.min(Math.max(0,t*n-l+t/2),e)},l.prototype._getAriaLabel=function(){return this.ariaLabelledby?null:this.ariaLabel||this.placeholder},l.prototype._getAriaLabelledby=function(){return this.ariaLabelledby?this.ariaLabelledby:this._parentFormField&&this._parentFormField._hasFloatingLabel()&&!this._getAriaLabel()&&this._parentFormField._labelId||null},l.prototype._getAriaActiveDescendant=function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null},l.prototype._calculateOverlayOffsetX=function(){var n,l=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),e=this._viewportRuler.getViewportSize(),t=this._isRtl(),i=this.multiple?56:32;if(this.multiple)n=40;else{var a=this._selectionModel.selected[0]||this.options.first;n=a&&a.group?32:16}t||(n*=-1);var o=0-(l.left+n-(t?i:0)),r=l.right+n-e.width+(t?0:i);o>0?n+=o+8:r>0&&(n-=r+8),this.overlayDir.offsetX=Math.round(n),this.overlayDir.overlayRef.updatePosition()},l.prototype._calculateOverlayOffsetY=function(n,l,e){var t,i=this._getItemHeight(),a=(i-this._triggerRect.height)/2,o=Math.floor(256/i);return this._disableOptionCentering?0:(t=0===this._scrollTop?n*i:this._scrollTop===e?(n-(this._getItemCount()-o))*i+(i-(this._getItemCount()*i-256)%i):l-i/2,Math.round(-1*t-a))},l.prototype._checkOverlayWithinViewport=function(n){var l=this._getItemHeight(),e=this._viewportRuler.getViewportSize(),t=this._triggerRect.top-8,i=e.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*l,256)-a-this._triggerRect.height;o>i?this._adjustPanelUp(o,i):a>t?this._adjustPanelDown(a,t,n):this._transformOrigin=this._getOriginBasedOnOption()},l.prototype._adjustPanelUp=function(n,l){var e=Math.round(n-l);this._scrollTop-=e,this._offsetY-=e,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")},l.prototype._adjustPanelDown=function(n,l,e){var t=Math.round(n-l);if(this._scrollTop+=t,this._offsetY+=t,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=e)return this._scrollTop=e,this._offsetY=0,void(this._transformOrigin="50% top 0px")},l.prototype._getOriginBasedOnOption=function(){var n=this._getItemHeight(),l=(n-this._triggerRect.height)/2;return"50% "+(Math.abs(this._offsetY)-l+n/2)+"px 0px"},l.prototype._getItemCount=function(){return this.options.length+this.optionGroups.length},l.prototype._getItemHeight=function(){return 3*this._triggerFontSize},l.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},l.prototype.onContainerClick=function(){this.focus(),this.open()},Object.defineProperty(l.prototype,"shouldLabelFloat",{get:function(){return this._panelOpen||!this.empty},enumerable:!0,configurable:!0}),l}(RR),VR=function(){return function(){}}(),qR=yt({encapsulation:2,styles:[".mat-select{display:inline-block;width:100%;outline:0}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform .4s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px}@media (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color .4s .133s cubic-bezier(.25,.8,.25,1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}"],data:{animation:[{type:7,name:"transformPanelWrap",definitions:[{type:1,expr:"* => void",animation:{type:11,selector:"@transformPanel",animation:[{type:9,options:null}],options:{optional:!0}},options:null}],options:{}},{type:7,name:"transformPanel",definitions:[{type:0,name:"void",styles:{type:6,styles:{transform:"scaleY(0.8)",minWidth:"100%",opacity:0},offset:null},options:void 0},{type:0,name:"showing",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:0,name:"showing-multiple",styles:{type:6,styles:{opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"},offset:null},options:void 0},{type:1,expr:"void => *",animation:{type:4,styles:null,timings:"120ms cubic-bezier(0, 0, 0.2, 1)"},options:null},{type:1,expr:"* => void",animation:{type:4,styles:{type:6,styles:{opacity:0},offset:null},timings:"100ms 25ms linear"},options:null}],options:{}}]}});function zR(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","mat-select-placeholder"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.placeholder||" ")}))}function UR(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.triggerValue||" ")}))}function BR(n){return jo(0,[Po(null,0),(n()(),vo(0,null,null,0))],null,null)}function $R(n){return jo(0,[(n()(),_o(0,0,null,null,5,"span",[["class","mat-select-value-text"]],null,null,null,null,null)),Di(1,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),vo(16777216,null,null,1,null,UR)),Di(3,16384,null,0,xs,[lt,Xe,ys],null,null),(n()(),vo(16777216,null,null,1,null,BR)),Di(5,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null)],(function(n,l){n(l,1,0,!!l.component.customTrigger),n(l,5,0,!0)}),null)}function HR(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","mat-select-panel-wrap"]],[[24,"@transformPanelWrap",0]],null,null,null,null)),(n()(),_o(1,0,[[2,0],["panel",1]],null,3,"div",[],[[24,"@transformPanel",0],[4,"transformOrigin",null],[4,"font-size","px"]],[[null,"@transformPanel.done"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"@transformPanel.done"===l&&(t=!1!==i._panelDoneAnimatingStream.next(e.toState)&&t),"keydown"===l&&(t=!1!==i._handleKeydown(e)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(3,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Po(null,1)],(function(n,l){var e=l.component;n(l,3,0,Wt(1,"mat-select-panel ",e._getPanelTheme(),""),e.panelClass)}),(function(n,l){var e=l.component;n(l,0,0,void 0),n(l,1,0,e.multiple?"showing-multiple":"showing",e._transformOrigin,e._triggerFontSize)}))}function GR(n){return jo(2,[ko(671088640,1,{trigger:0}),ko(671088640,2,{panel:0}),ko(671088640,3,{overlayDir:0}),(n()(),_o(3,0,[[1,0],["trigger",1]],null,9,"div",[["aria-hidden","true"],["cdk-overlay-origin",""],["class","mat-select-trigger"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggle()&&t),t}),null,null)),Di(4,16384,[["origin",4]],0,nb,[Pe],null,null),(n()(),_o(5,0,null,null,5,"div",[["class","mat-select-value"]],null,null,null,null,null)),Di(6,16384,null,0,ys,[],{ngSwitch:[0,"ngSwitch"]},null),(n()(),vo(16777216,null,null,1,null,zR)),Di(8,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),vo(16777216,null,null,1,null,$R)),Di(10,278528,null,0,ws,[lt,Xe,ys],{ngSwitchCase:[0,"ngSwitchCase"]},null),(n()(),_o(11,0,null,null,1,"div",[["class","mat-select-arrow-wrapper"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,0,"div",[["class","mat-select-arrow"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,(function(n,l,e){var t=!0,i=n.component;return"backdropClick"===l&&(t=!1!==i.close()&&t),"attach"===l&&(t=!1!==i._onAttached()&&t),"detach"===l&&(t=!1!==i.close()&&t),t}),HR)),Di(14,671744,[[3,4]],0,lb,[Zg,Xe,lt,Xg,[2,bb]],{origin:[0,"origin"],positions:[1,"positions"],offsetY:[2,"offsetY"],minWidth:[3,"minWidth"],backdropClass:[4,"backdropClass"],scrollStrategy:[5,"scrollStrategy"],open:[6,"open"],hasBackdrop:[7,"hasBackdrop"],lockPosition:[8,"lockPosition"]},{backdropClick:"backdropClick",attach:"attach",detach:"detach"})],(function(n,l){var e=l.component;n(l,6,0,e.empty),n(l,8,0,!0),n(l,10,0,!1),n(l,14,0,bi(l,4),e._positions,e._offsetY,null==e._triggerRect?null:e._triggerRect.width,"cdk-overlay-transparent-backdrop",e._scrollStrategy,e.panelOpen,"","")}),null)}var WR=yt({encapsulation:2,styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;min-height:56px;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}"],data:{}});function KR(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[10,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function YR(n){return jo(0,[(n()(),_o(0,0,null,null,19,"mat-form-field",[["class","mat-paginator-page-size-select mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{color:[0,"color"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(11,0,null,1,8,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,13)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,13)._onBlur()&&t),"selectionChange"===l&&(t=!1!==i._changePageSize(e.value)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(13,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[8,null],[8,null],OR,Rb],{disabled:[0,"disabled"],value:[1,"value"],ariaLabel:[2,"ariaLabel"]},{selectionChange:"selectionChange"}),ko(603979776,10,{options:1}),ko(603979776,11,{optionGroups:1}),ko(603979776,12,{customTrigger:0}),Ei(2048,[[1,4],[2,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,KR)),Di(19,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.color),n(l,13,0,e.disabled,e.pageSize,e._intl.itemsPerPageLabel),n(l,19,0,e._displayedPageSizeOptions)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).id,bi(l,13).tabIndex,bi(l,13)._getAriaLabel(),bi(l,13)._getAriaLabelledby(),bi(l,13).required.toString(),bi(l,13).disabled.toString(),bi(l,13).errorState,bi(l,13).panelOpen?bi(l,13)._optionIds:null,bi(l,13).multiple,bi(l,13)._ariaDescribedby||null,bi(l,13)._getAriaActiveDescendant(),bi(l,13).disabled,bi(l,13).errorState,bi(l,13).required,bi(l,13).empty])}))}function JR(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.pageSize)}))}function ZR(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","mat-paginator-page-size"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","mat-paginator-page-size-label"]],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),vo(16777216,null,null,1,null,YR)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,JR)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e._displayedPageSizeOptions.length>1),n(l,6,0,e._displayedPageSizeOptions.length<=1)}),(function(n,l){n(l,2,0,l.component._intl.itemsPerPageLabel)}))}function QR(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-first"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(t=!1!==i.firstPage()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(n()(),_o(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,":svg:path",[["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"]],null,null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e._previousButtonsDisabled()),n(l,2,0,"above",e._previousButtonsDisabled(),e._intl.firstPageLabel)}),(function(n,l){n(l,0,0,l.component._intl.firstPageLabel,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode)}))}function XR(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["class","mat-paginator-navigation-last"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(t=!1!==i.lastPage()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(n()(),_o(3,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,":svg:path",[["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],null,null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e._nextButtonsDisabled()),n(l,2,0,"above",e._nextButtonsDisabled(),e._intl.lastPageLabel)}),(function(n,l){n(l,0,0,l.component._intl.lastPageLabel,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode)}))}function nN(n){return jo(2,[(n()(),_o(0,0,null,null,20,"div",[["class","mat-paginator-outer-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"div",[["class","mat-paginator-container"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ZR)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,16,"div",[["class","mat-paginator-range-actions"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"div",[["class","mat-paginator-range-label"]],null,null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),vo(16777216,null,null,1,null,QR)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,16777216,null,null,4,"button",[["class","mat-paginator-navigation-previous"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,11).show()&&t),"keydown"===l&&(t=!1!==bi(n,11)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,11)._handleTouchend()&&t),"click"===l&&(t=!1!==i.previousPage()&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(11,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(n()(),_o(12,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,0,":svg:path",[["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"]],null,null,null,null,null)),(n()(),_o(14,16777216,null,null,4,"button",[["class","mat-paginator-navigation-next"],["mat-icon-button",""],["type","button"]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,16).show()&&t),"keydown"===l&&(t=!1!==bi(n,16)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,16)._handleTouchend()&&t),"click"===l&&(t=!1!==i.nextPage()&&t),t}),PC,MC)),Di(15,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(16,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{position:[0,"position"],disabled:[1,"disabled"],message:[2,"message"]},null),(n()(),_o(17,0,null,0,1,":svg:svg",[["class","mat-paginator-icon"],["focusable","false"],["viewBox","0 0 24 24"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,0,":svg:path",[["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,XR)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,!e.hidePageSize),n(l,8,0,e.showFirstLastButtons),n(l,10,0,e._previousButtonsDisabled()),n(l,11,0,"above",e._previousButtonsDisabled(),e._intl.previousPageLabel),n(l,15,0,e._nextButtonsDisabled()),n(l,16,0,"above",e._nextButtonsDisabled(),e._intl.nextPageLabel),n(l,20,0,e.showFirstLastButtons)}),(function(n,l){var e=l.component;n(l,6,0,e._intl.getRangeLabel(e.pageIndex,e.pageSize,e.length)),n(l,9,0,e._intl.previousPageLabel,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,14,0,e._intl.nextPageLabel,bi(l,15).disabled||null,"NoopAnimations"===bi(l,15)._animationMode)}))}var lN=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.functions=a,this.viewContainerRef=o,this.lang=Kr,this.loading=!1,this.updateListModel=!0,this.updateListInstance=!0,this.data=[],this.config={},this.userDestRedirect={},this.userDestRedirectModels=[],this.listinstances=[],this.quota={},this.user={},this.withWebserviceAccount=!1,this.webserviceAccounts=[],this.noWebserviceAccounts=[],this.dataSource=new mR(this.data),this.displayedColumns=["id","user_id","lastname","firstname","status","mail","actions"],$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["id","user_id","lastname","firstname","mail"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.users),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.user=angularGlobals.user,this.loading=!0,this.http.get("../../rest/users").subscribe((function(l){n.data=l.users,n.data.forEach((function(l){l.statusLabel=n.lang["user"+l.status],"restMode"==l.loginmode?n.webserviceAccounts.push(l):n.noWebserviceAccounts.push(l)})),n.data=n.noWebserviceAccounts,n.quota=l.quota,n.quota.actives>n.quota.userQuota&&n.notify.error(n.lang.quotaExceeded),n.loading=!1,n.setDatasource()}),(function(l){n.notify.handleErrors(l)}))},n.prototype.setDatasource=function(){var n=this;setTimeout((function(){n.dataSource=new mR(n.data),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="user_id",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)},n.prototype.activateUser=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.authorize+" « "+n.user_id+" »")&&(n.status="OK",this.http.put("../../rest/users/"+n.id,n).subscribe((function(){l.notify.success(l.lang.userAuthorized),l.quota.userQuota&&(l.quota.inactives--,l.quota.actives++,l.quota.actives>l.quota.userQuota&&l.notify.error(l.lang.quotaExceeded))}),(function(e){n.status="SPD",l.notify.error(e.error.errors)})))},n.prototype.deleteUser=function(n,l){var e=this;n.mode=l,this.http.get("../../rest/users/"+n.id+"/isDeletable").subscribe((function(l){l&&l.hasOwnProperty("errors")?e.notify.error(l.errors):(n.isDeletable=l.isDeletable,e.config=l.isDeletable?{panelClass:"maarch-modal",data:{userDestRedirect:n,isDeletable:l.isDeletable,redirectListInstances:l.listInstances,redirectListModels:l.listTemplates}}:{panelClass:"maarch-modal",data:{userDestRedirect:n,isDeletable:l.isDeletable,listInstanceEntities:l.listInstanceEntities,listTemplateEntities:l.listTemplateEntities}},e.dialogRef=e.dialog.open(eN,e.config),e.dialogRef.afterClosed().subscribe((function(l){l&&n.isDeletable&&(n.inDiffListDest=l.inDiffListDest,n.isResDestUser=l.isResDestUser,l.inDiffListDest&&(n.redirectListModels=l.redirectListModels),l.isResDestUser&&(n.redirectDestResUserId=l.redirectDestResUserId,l.redirectListInstances.forEach((function(l){l.listInstances.forEach((function(l){"dest"==l.item_mode&&l.item_id==n.user_id&&(l.item_id=n.redirectDestResUserId)}))})),n.redirectListInstances=l.redirectListInstances),n.inDiffListDest&&n.isResDestUser?e.http.put("../../rest/listTemplates/entityDest/itemId/"+n.id,n).subscribe((function(){e.http.put("../../rest/listinstances",n.redirectListInstances).subscribe((function(l){null!=l&&l.errors?e.notify.error(l.errors):"delete"==n.mode?e.http.delete("../../rest/users/"+n.id).subscribe((function(){for(var l in e.data)e.data[l].id==n.id&&e.data.splice(Number(l),1);e.setDatasource(),e.quota.userQuota&&"SPD"!=n.status?e.quota.actives--:e.quota.userQuota&&"SPD"==n.status&&e.quota.inactives--,e.notify.success(e.lang.userDeleted+" « "+n.user_id+" »")}),(function(n){e.notify.error(n.error.errors)})):"suspend"==n.mode&&e.http.put("../../rest/users/"+n.id+"/suspend",n).subscribe((function(){n.status="SPD",e.notify.success(e.lang.userSuspended),e.quota.userQuota&&(e.quota.inactives++,e.quota.actives--)}),(function(l){n.status="OK",e.notify.error(l.error.errors)}))}),(function(n){e.notify.error(n.error.errors)}))}),(function(n){e.notify.error(n.error.errors)})):n.inDiffListDest&&!n.isResDestUser?e.http.put("../../rest/listTemplates/entityDest/itemId/"+n.id,n).subscribe((function(){"delete"==n.mode?e.http.delete("../../rest/users/"+n.id).subscribe((function(){for(var l in e.data)e.data[l].id==n.id&&e.data.splice(Number(l),1);e.setDatasource(),e.quota.userQuota&&"OK"==n.status?e.quota.actives--:e.quota.userQuota&&"SPD"==n.status&&e.quota.inactives--,e.notify.success(e.lang.userDeleted+" « "+n.user_id+" »")}),(function(n){e.notify.error(n.error.errors)})):"suspend"==n.mode&&e.http.put("../../rest/users/"+n.id+"/suspend",n).subscribe((function(){n.status="SPD",e.notify.success(e.lang.userSuspended),e.quota.userQuota&&(e.quota.inactives++,e.quota.actives--)}),(function(l){n.status="OK",e.notify.error(l.error.errors)}))}),(function(n){e.notify.error(n.error.errors)})):!n.inDiffListDest&&n.isResDestUser?e.http.put("../../rest/listinstances",n.redirectListInstances).subscribe((function(l){l&&l.hasOwnProperty("errors")?e.notify.error(l.errors):"delete"==n.mode?e.http.delete("../../rest/users/"+n.id).subscribe((function(){for(var l in e.data)e.data[l].id==n.id&&e.data.splice(Number(l),1);e.setDatasource(),e.quota.userQuota&&"OK"==n.status?e.quota.actives--:e.quota.userQuota&&"SPD"==n.status&&e.quota.inactives--,e.notify.success(e.lang.userDeleted+" « "+n.user_id+" »")}),(function(n){e.notify.error(n.error.errors)})):"suspend"==n.mode&&e.http.put("../../rest/users/"+n.id+"/suspend",n).subscribe((function(){n.status="SPD",e.notify.success(e.lang.userSuspended),e.quota.userQuota&&(e.quota.inactives++,e.quota.actives--)}),(function(l){n.status="OK",e.notify.error(l.error.errors)}))}),(function(n){e.notify.error(n.error.errors)})):n.inDiffListDest||n.isResDestUser||("delete"==n.mode?e.http.delete("../../rest/users/"+n.id).subscribe((function(){for(var l in e.data)e.data[l].id==n.id&&e.data.splice(Number(l),1);e.setDatasource(),e.quota.userQuota&&"OK"==n.status?e.quota.actives--:e.quota.userQuota&&"SPD"==n.status&&e.quota.inactives--,e.notify.success(e.lang.userDeleted+" « "+n.user_id+" »")}),(function(n){e.notify.error(n.error.errors)})):"suspend"==n.mode&&e.http.put("../../rest/users/"+n.id+"/suspend",n).subscribe((function(){n.status="SPD",e.notify.success(e.lang.userSuspended),e.quota.userQuota&&(e.quota.inactives++,e.quota.actives--)}),(function(l){n.status="OK",e.notify.error(l.error.errors)}))))})))}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.toggleWebserviceAccount=function(){this.withWebserviceAccount=!this.withWebserviceAccount,this.data=this.withWebserviceAccount?this.webserviceAccounts:this.noWebserviceAccounts,this.setDatasource()},n}(),eN=function(){function n(n,l,e,t){this.http=n,this.data=l,this.dialogRef=e,this.notify=t,this.lang=Kr,this.loadModel=!1,this.loadInstance=!1,this.modalTitle=this.lang.confirmAction}return n.prototype.ngOnInit=function(){this.data.isDeletable?(this.data.redirectListModels.length>0&&(this.data.inDiffListDest=!0),this.data.redirectListInstances.length>0&&(this.data.isResDestUser=!0)):(this.modalTitle="delete"==this.data.userDestRedirect.mode?this.lang.unableToDelete:this.lang.unableToSuspend,this.data.listTemplateEntities.length>0&&(this.data.inTemplateList=!0),this.data.listInstanceEntities.length>0&&(this.data.inInstanceList=!0))},n.prototype.setRedirectUserListModels=function(n,l){this.data.userDestRedirect.user_id!=l.id?this.data.redirectListModels[n].redirectUserId=l.id:(this.data.redirectListModels[n].redirectUserId=null,this.notify.error(this.lang.userUnauthorized))},n.prototype.setRedirectUserRes=function(n){this.data.userDestRedirect.user_id!=n.id?this.data.redirectDestResUserId=n.id:(this.data.redirectDestResUserId=null,this.notify.error(this.lang.userUnauthorized))},n.prototype.sendFunction=function(){var n=!0;return this.data.inDiffListDest&&this.data.redirectListModels.forEach((function(l){l.redirectUserId||(n=!1)})),this.data.isResDestUser&&(this.data.redirectDestResUserId||(n=!1)),n},n}(),tN=[".banner[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin-top:30px;border-radius:20px;border:1px solid #ccc;position:relative;padding:20px;width:100%}.banner[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;letter-spacing:2px;position:absolute;top:-18px;left:20px;padding:0;margin:0;color:#135f7f}.banner[_ngcontent-%COMP%] .title-divider[_ngcontent-%COMP%]{position:absolute;width:99%;z-index:-1;top:17px;background:#fff;height:1px}.banner[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:50%;padding-right:10px}.banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:16px}.fieldRow[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-top:10px;padding-bottom:10px}.fieldLabel[_ngcontent-%COMP%]{color:#4a4a4a}.fieldLabel[_ngcontent-%COMP%] .cdk-drag-handle[_ngcontent-%COMP%]{margin-right:10px}.fieldState[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;width:40px;-webkit-box-pack:center;justify-content:center;-webkit-box-align:normal!important;align-items:normal!important;padding-top:15px}.fieldState[_ngcontent-%COMP%] .fieldRequired[_ngcontent-%COMP%]{font-size:5px;color:#135f7f}.fieldState[_ngcontent-%COMP%] .fieldError[_ngcontent-%COMP%]{font-size:15px;color:#f99830}.fieldState[_ngcontent-%COMP%] .fieldFull[_ngcontent-%COMP%]{font-size:15px;color:green}.fieldInput[_ngcontent-%COMP%]{position:relative}.fieldInput[_ngcontent-%COMP%], .fieldLabel[_ngcontent-%COMP%]{font-size:13px;-webkit-box-flex:1;flex:1}@media (max-width:768px){.fieldInput[_ngcontent-%COMP%], .fieldLabel[_ngcontent-%COMP%]{font-size:1em}}.fieldInput[_ngcontent-%COMP%], .fieldLabel[_ngcontent-%COMP%], .fieldState[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex}.input-form[_ngcontent-%COMP%]{font-size:13px;color:#666;width:500px}.input-form[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{color:#135f7f;padding-left:20px}.input-form[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.input-form[_ngcontent-%COMP%] .mat-select-value-text{padding-left:20px;color:#135f7f}.input-form[_ngcontent-%COMP%] .mat-form-field-label{top:15px;left:20px}.input-form[_ngcontent-%COMP%] .mat-form-field-infix{display:-webkit-box;display:flex;padding-top:0;padding-bottom:5px}.input-form[_ngcontent-%COMP%] .mat-form-field-label-wrapper{top:-13px}.input-form[_ngcontent-%COMP%] .mat-form-field-flex{background:#fff;height:40px;border-radius:10px;border:1px solid #135f7f}.input-form[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.input-form[_ngcontent-%COMP%] .mat-form-field-suffix{margin-right:20px}.input-form[_ngcontent-%COMP%] .mat-select-arrow-wrapper{padding-right:20px}.input-form[_ngcontent-%COMP%] .mat-list-option{color:rgba(0,0,0,.54)}.input-form[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.input-form[_ngcontent-%COMP%] .mat-datepicker-toggle-default-icon{height:auto}.input-form.search-select[_ngcontent-%COMP%] .mat-form-field-label-wrapper{top:-15px}.input-form.input-date[_ngcontent-%COMP%] .mat-form-field-infix{padding-top:5px}.input-form-filled[_ngcontent-%COMP%]{color:#fff;width:500px;-webkit-transition:.1s;transition:all .1s}.input-form-filled[_ngcontent-%COMP%]:hover .mat-form-field-flex, .input-form-filled[aria-expanded=true][_ngcontent-%COMP%] .mat-form-field-flex{background:#fff!important;border:1px solid #fff!important;color:#135f7f!important;-webkit-transition:.1s;transition:all .1s}.input-form-filled[_ngcontent-%COMP%]:hover .mat-select-placeholder, .input-form-filled[aria-expanded=true][_ngcontent-%COMP%] .mat-select-placeholder{color:#135f7f!important}.input-form-filled[_ngcontent-%COMP%]:hover .mat-form-field-label, .input-form-filled[aria-expanded=true][_ngcontent-%COMP%] .mat-form-field-label{color:#135f7f!important}.input-form-filled[_ngcontent-%COMP%]:hover .mat-select-arrow, .input-form-filled[aria-expanded=true][_ngcontent-%COMP%] .mat-select-arrow{color:rgba(19,95,127,.54)}.input-form-filled[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{color:#135f7f;padding-left:20px}.input-form-filled[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.input-form-filled[_ngcontent-%COMP%] .mat-select-value{text-align:left;font-weight:400}.input-form-filled[_ngcontent-%COMP%] .mat-select-value-text{padding-left:20px;color:#fff}.input-form-filled[_ngcontent-%COMP%] .mat-form-field-label{color:#fff;left:20px}.input-form-filled[_ngcontent-%COMP%] .mat-form-field-infix{padding-bottom:15px}.input-form-filled[_ngcontent-%COMP%] .mat-form-field-flex{background:#135f7f;border-radius:30px;border:1px solid #fff}.input-form-filled[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.input-form-filled[_ngcontent-%COMP%] .mat-form-field-suffix{margin-right:20px}.input-form-filled[_ngcontent-%COMP%] .mat-select-arrow-wrapper{padding-right:20px}.input-form-filled[_ngcontent-%COMP%] .mat-select-arrow{color:rgba(255,255,255,.54)}.input-form-filled[_ngcontent-%COMP%] .mat-select-placeholder{color:#fff}.input-form-filled[_ngcontent-%COMP%] .mat-list-option{color:rgba(0,0,0,.54)}.input-form-filled[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.input-form-filled[_ngcontent-%COMP%] textarea.cdk-textarea-autosize-measuring[_ngcontent-%COMP%]{padding:4px 0!important}.input-form-filled[_ngcontent-%COMP%] .mat-datepicker-toggle-default-icon{height:auto}.input-form.mat-form-field-disabled[_ngcontent-%COMP%] .mat-input-element{cursor:not-allowed;padding-left:20px}.input-form.mat-form-field-disabled[_ngcontent-%COMP%] .mat-form-field-flex{cursor:not-allowed;border:1px dashed #353232}.opt-group[_ngcontent-%COMP%]{font-weight:700}.smallInput[_ngcontent-%COMP%]{font-size:11px;padding-left:20px;padding-right:20px}.smallInput[_ngcontent-%COMP%] .mat-form-field-infix{padding:0 0 5px}.button-form-primary[_ngcontent-%COMP%]{background:#fff;border:1px solid #135f7f;color:#135f7f;border-radius:30px;padding-left:20px;padding-right:20px;width:240px;height:45px;-webkit-transition:.1s;transition:all .1s}@media (max-width:768px){.button-form-primary[_ngcontent-%COMP%]{width:auto}}.button-form-primary[_ngcontent-%COMP%]:hover, .button-form-primary[aria-expanded=true][_ngcontent-%COMP%]{background:#135f7f!important;border:1px solid #fff!important;color:#fff!important;-webkit-transition:.1s;transition:all .1s}.button-form-primary[_ngcontent-%COMP%] .mat-button-wrapper{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:100%}.button-form-primary[_ngcontent-%COMP%] .mat-button-wrapper .menu-label{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;margin-right:10px}.button-form-primary[_ngcontent-%COMP%] .mat-button-wrapper .menu-icon{display:-webkit-box;display:flex}.button-form-primary-filled[_ngcontent-%COMP%]{background:#135f7f;border:1px solid #fff;color:#fff;border-radius:30px;padding-left:20px;padding-right:20px;width:240px;height:45px;-webkit-transition:.1s;transition:all .1s}@media (max-width:768px){.button-form-primary-filled[_ngcontent-%COMP%]{width:auto}}.button-form-primary-filled[_ngcontent-%COMP%] .mat-button-wrapper{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:100%}.button-form-primary-filled[_ngcontent-%COMP%] .mat-button-wrapper .menu-label{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;margin-right:10px}.button-form-primary-filled[_ngcontent-%COMP%] .mat-button-wrapper .menu-icon{display:-webkit-box;display:flex}.button-form-primary-alt[_ngcontent-%COMP%]{font-size:13px;background:#135f7f;border:1px solid #fff;color:#fff;border-radius:30px;padding:5px 20px;width:240px;-webkit-transition:.1s;transition:all .1s}.button-form-primary-alt[_ngcontent-%COMP%]:hover, .button-form-primary-alt[aria-expanded=true][_ngcontent-%COMP%]{background:#fff!important;border:1px solid #fff!important;color:#135f7f!important;-webkit-transition:.1s;transition:all .1s}.button-form-primary-alt[_ngcontent-%COMP%] .mat-button-wrapper{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:100%}.button-form-primary-alt[_ngcontent-%COMP%] .mat-button-wrapper .menu-label{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.button-form-primary-alt[_ngcontent-%COMP%] .mat-button-wrapper .menu-icon{display:-webkit-box;display:flex}.button-form-primary[aria-expanded=true][_ngcontent-%COMP%]{color:#135f7f;background:#fff;-webkit-transition:.1s;transition:all .1s;border:1px solid #135f7f}.button-form[_ngcontent-%COMP%]{background:#fff;color:#135f7f;border-radius:30px;padding:5px 20px;width:240px;-webkit-transition:.1s;transition:all .1s}.button-form[aria-expanded=true][_ngcontent-%COMP%]{-webkit-transition:.1s;transition:all .1s;border-radius:30px 30px 0 0} .menuForm{width:240px;border-radius:30px;border:1px solid #fff;min-height:auto} .menuForm .mat-menu-content{padding-top:0;padding-bottom:0} .menuForm .mat-menu-content .mat-menu-item{-webkit-transition:.1s;transition:all .1s;font-size:13px;color:#666} .menuForm .mat-menu-content .mat-menu-item:hover{-webkit-transition:.1s;transition:all .1s;color:#fff;background:#1a80ab}.div-list[_ngcontent-%COMP%]{padding:0;max-height:150px;overflow:auto}.div-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:13px}@media (max-width:768px){.button-form-primary-alt[_ngcontent-%COMP%]{font-size:1em} .menuForm .mat-menu-content .mat-menu-item{font-size:1em}.div-list[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{font-size:1em}}.checkbox-form[_ngcontent-%COMP%]{width:100%;padding:0;border:1px solid #135f7f;border-radius:30px;overflow:hidden}.checkbox-selected-list[_ngcontent-%COMP%]{margin-top:10px;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}.checkbox-selected-list[_ngcontent-%COMP%] .mat-chip-list-wrapper{-webkit-box-pack:center;justify-content:center}.checkbox-selected-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{font-size:13px}.radio-form[_ngcontent-%COMP%]{padding-left:20px;display:grid;grid-template-columns:repeat(2,1fr);width:100%}.radio-form[_ngcontent-%COMP%] .mat-radio-button[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.radio-form[_ngcontent-%COMP%] .mat-radio-button[_ngcontent-%COMP%] .mat-radio-label-content{font-weight:400;color:rgba(0,0,0,.54)}.input-radio[_ngcontent-%COMP%] .mat-form-field-infix{overflow:auto;padding-top:0}.input-radio[_ngcontent-%COMP%] .mat-form-field-flex{height:auto}.input-radio[_ngcontent-%COMP%] .mat-form-field-label{top:0;font-size:12px}.disabled[_ngcontent-%COMP%]{opacity:.2}.customFieldRow[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-top:20px;padding-bottom:20px}.customFieldDrag[_ngcontent-%COMP%]{cursor:move;width:50px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.cdk-drag-preview[_ngcontent-%COMP%]{background:#fff;box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.indexingModelsCustomFieldsList.cdk-drop-list-dragging[_ngcontent-%COMP%] .indexingModelsCustomFieldsList[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.advancedInput[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.noMandatory[_ngcontent-%COMP%]{visibility:hidden}.checkboxInput[_ngcontent-%COMP%]{display:block}.categoryLabel[_ngcontent-%COMP%]{letter-spacing:1px;font-size:13px;color:#135f7f;font-weight:700}@media (max-width:768px){.categoryLabel[_ngcontent-%COMP%], .checkbox-selected-list[_ngcontent-%COMP%] .mat-chip[_ngcontent-%COMP%]{font-size:1em}}.textareaInput[_ngcontent-%COMP%] .mat-form-field{line-height:normal}.textareaInput[_ngcontent-%COMP%] .mat-input-element[_ngcontent-%COMP%]{padding:0;margin:0;color:#135f7f}.textareaInput[_ngcontent-%COMP%] .mat-form-field-flex{padding-left:20px;height:auto!important;min-height:40px!important}.textareaInput[_ngcontent-%COMP%] .mat-form-field-label{left:0}.linkRes[_ngcontent-%COMP%]{display:-webkit-inline-box;display:inline-flex;font-size:15px;text-align:center;color:#8e3e52;padding-top:10px;overflow-x:hidden;font-weight:700}"],iN=function(n){function l(l,e,t,i,a,o){var r=n.call(this,l)||this;return r._elementRef=l,r._ngZone=e,r._changeDetectorRef=o,r._hasFocus=!1,r.chipListSelectable=!0,r._chipListMultiple=!1,r._selected=!1,r._selectable=!0,r._removable=!0,r._onFocus=new M,r._onBlur=new M,r.selectionChange=new la,r.destroyed=new la,r.removed=new la,r._addHostClassName(),r._chipRipple=new wv(r,e,l,t),r._chipRipple.setupTriggerEvents(l),r.rippleConfig=i||{},r._animationsDisabled="NoopAnimations"===a,r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"rippleDisabled",{get:function(){return this.disabled||this.disableRipple||!!this.rippleConfig.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"selected",{get:function(){return this._selected},set:function(n){var l=Yf(n);l!==this._selected&&(this._selected=l,this._dispatchSelectionChange())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(n){this._value=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"selectable",{get:function(){return this._selectable&&this.chipListSelectable},set:function(n){this._selectable=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"removable",{get:function(){return this._removable},set:function(n){this._removable=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"ariaSelected",{get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null},enumerable:!0,configurable:!0}),l.prototype._addHostClassName=function(){var n=this._elementRef.nativeElement;n.hasAttribute("mat-basic-chip")||"mat-basic-chip"===n.tagName.toLowerCase()?n.classList.add("mat-basic-chip"):n.classList.add("mat-standard-chip")},l.prototype.ngOnDestroy=function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()},l.prototype.select=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._markForCheck())},l.prototype.deselect=function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._markForCheck())},l.prototype.selectViaInteraction=function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._markForCheck())},l.prototype.toggleSelected=function(n){return void 0===n&&(n=!1),this._selected=!this.selected,this._dispatchSelectionChange(n),this._markForCheck(),this.selected},l.prototype.focus=function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0},l.prototype.remove=function(){this.removable&&this.removed.emit({chip:this})},l.prototype._handleClick=function(n){this.disabled?n.preventDefault():n.stopPropagation()},l.prototype._handleKeydown=function(n){if(!this.disabled)switch(n.keyCode){case 46:case 8:this.remove(),n.preventDefault();break;case 32:this.selectable&&this.toggleSelected(!0),n.preventDefault()}},l.prototype._blur=function(){var n=this;this._ngZone.onStable.asObservable().pipe(_c(1)).subscribe((function(){n._ngZone.run((function(){n._hasFocus=!1,n._onBlur.next({chip:n})}))}))},l.prototype._dispatchSelectionChange=function(n){void 0===n&&(n=!1),this.selectionChange.emit({source:this,isUserInput:n,selected:this._selected})},l.prototype._markForCheck=function(){this._changeDetectorRef&&this._changeDetectorRef.markForCheck()},l}(Kb(Yb(Wb(function(){return function(n){this._elementRef=n}}())),"primary")),aN=function(){function n(n){this._parentChip=n}return n.prototype._handleClick=function(n){var l=this._parentChip;l.removable&&!l.disabled&&l.remove(),n.stopPropagation()},n}(),oN=new On("mat-chips-default-options"),rN=Zb(function(){return function(n,l,e,t){this._defaultErrorStateMatcher=n,this._parentForm=l,this._parentFormGroup=e,this.ngControl=t}}()),uN=0,sN=function(){return function(n,l){this.source=n,this.value=l}}(),cN=function(n){function l(l,e,t,i,a,o,r){var u=n.call(this,o,i,a,r)||this;return u._elementRef=l,u._changeDetectorRef=e,u._dir=t,u.ngControl=r,u.controlType="mat-chip-list",u._lastDestroyedChipIndex=null,u._destroyed=new M,u._uid="mat-chip-list-"+uN++,u._tabIndex=0,u._userTabIndex=null,u._onTouched=function(){},u._onChange=function(){},u._multiple=!1,u._compareWith=function(n,l){return n===l},u._required=!1,u._disabled=!1,u.ariaOrientation="horizontal",u._selectable=!0,u.change=new la,u.valueChange=new la,u.ngControl&&(u.ngControl.valueAccessor=u),u}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"selected",{get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"role",{get:function(){return this.empty?null:"listbox"},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"multiple",{get:function(){return this._multiple},set:function(n){this._multiple=Yf(n),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"compareWith",{get:function(){return this._compareWith},set:function(n){this._compareWith=n,this._selectionModel&&this._initializeSelection()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(n){this.writeValue(n),this._value=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"id",{get:function(){return this._chipInput?this._chipInput.id:this._uid},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"required",{get:function(){return this._required},set:function(n){this._required=Yf(n),this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"placeholder",{get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(n){this._placeholder=n,this.stateChanges.next()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"focused",{get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"empty",{get:function(){return(!this._chipInput||this._chipInput.empty)&&0===this.chips.length},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"shouldLabelFloat",{get:function(){return!this.empty||this.focused},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disabled",{get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(n){this._disabled=Yf(n),this._syncChipsState()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"selectable",{get:function(){return this._selectable},set:function(n){var l=this;this._selectable=Yf(n),this.chips&&this.chips.forEach((function(n){return n.chipListSelectable=l._selectable}))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tabIndex",{set:function(n){this._userTabIndex=n,this._tabIndex=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"chipSelectionChanges",{get:function(){return Z.apply(void 0,this.chips.map((function(n){return n.selectionChange})))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"chipFocusChanges",{get:function(){return Z.apply(void 0,this.chips.map((function(n){return n._onFocus})))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"chipBlurChanges",{get:function(){return Z.apply(void 0,this.chips.map((function(n){return n._onBlur})))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"chipRemoveChanges",{get:function(){return Z.apply(void 0,this.chips.map((function(n){return n.destroyed})))},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentInit=function(){var n=this;this._keyManager=new Ab(this.chips).withWrap().withVerticalOrientation().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Ph(this._destroyed)).subscribe((function(l){return n._keyManager.withHorizontalOrientation(l)})),this._keyManager.tabOut.pipe(Ph(this._destroyed)).subscribe((function(){n._allowFocusEscape()})),this.chips.changes.pipe(Pc(null),Ph(this._destroyed)).subscribe((function(){n.disabled&&Promise.resolve().then((function(){n._syncChipsState()})),n._resetChips(),n._initializeSelection(),n._updateTabIndex(),n._updateFocusForDestroyedChips(),n.stateChanges.next()}))},l.prototype.ngOnInit=function(){this._selectionModel=new hg(this.multiple,void 0,!1),this.stateChanges.next()},l.prototype.ngDoCheck=function(){this.ngControl&&this.updateErrorState()},l.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()},l.prototype.registerInput=function(n){this._chipInput=n},l.prototype.setDescribedByIds=function(n){this._ariaDescribedby=n.join(" ")},l.prototype.writeValue=function(n){this.chips&&this._setSelectionByValue(n,!1)},l.prototype.registerOnChange=function(n){this._onChange=n},l.prototype.registerOnTouched=function(n){this._onTouched=n},l.prototype.setDisabledState=function(n){this.disabled=n,this.stateChanges.next()},l.prototype.onContainerClick=function(n){this._originatesFromChip(n)||this.focus()},l.prototype.focus=function(n){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(n),this.stateChanges.next()))},l.prototype._focusInput=function(n){this._chipInput&&this._chipInput.focus(n)},l.prototype._keydown=function(n){var l=n.target;8===n.keyCode&&this._isInputEmpty(l)?(this._keyManager.setLastItemActive(),n.preventDefault()):l&&l.classList.contains("mat-chip")&&(36===n.keyCode?(this._keyManager.setFirstItemActive(),n.preventDefault()):35===n.keyCode?(this._keyManager.setLastItemActive(),n.preventDefault()):this._keyManager.onKeydown(n),this.stateChanges.next())},l.prototype._updateTabIndex=function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)},l.prototype._updateFocusForDestroyedChips=function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var n=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(n)}else this.focus();this._lastDestroyedChipIndex=null},l.prototype._isValidIndex=function(n){return n>=0&&n<this.chips.length},l.prototype._isInputEmpty=function(n){return!(!n||"input"!==n.nodeName.toLowerCase()||n.value)},l.prototype._setSelectionByValue=function(n,l){var e=this;if(void 0===l&&(l=!0),this._clearSelection(),this.chips.forEach((function(n){return n.deselect()})),Array.isArray(n))n.forEach((function(n){return e._selectValue(n,l)})),this._sortValues();else{var t=this._selectValue(n,l);t&&l&&this._keyManager.setActiveItem(t)}},l.prototype._selectValue=function(n,l){var e=this;void 0===l&&(l=!0);var t=this.chips.find((function(l){return null!=l.value&&e._compareWith(l.value,n)}));return t&&(l?t.selectViaInteraction():t.select(),this._selectionModel.select(t)),t},l.prototype._initializeSelection=function(){var n=this;Promise.resolve().then((function(){(n.ngControl||n._value)&&(n._setSelectionByValue(n.ngControl?n.ngControl.value:n._value,!1),n.stateChanges.next())}))},l.prototype._clearSelection=function(n){this._selectionModel.clear(),this.chips.forEach((function(l){l!==n&&l.deselect()})),this.stateChanges.next()},l.prototype._sortValues=function(){var n=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach((function(l){l.selected&&n._selectionModel.select(l)})),this.stateChanges.next())},l.prototype._propagateChanges=function(n){var l;l=Array.isArray(this.selected)?this.selected.map((function(n){return n.value})):this.selected?this.selected.value:n,this._value=l,this.change.emit(new sN(this,l)),this.valueChange.emit(l),this._onChange(l),this._changeDetectorRef.markForCheck()},l.prototype._blur=function(){var n=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout((function(){n.focused||n._markAsTouched()})):this._markAsTouched())},l.prototype._markAsTouched=function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()},l.prototype._allowFocusEscape=function(){var n=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout((function(){n._tabIndex=n._userTabIndex||0,n._changeDetectorRef.markForCheck()})))},l.prototype._resetChips=function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()},l.prototype._dropSubscriptions=function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)},l.prototype._listenToChipsSelection=function(){var n=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe((function(l){l.source.selected?n._selectionModel.select(l.source):n._selectionModel.deselect(l.source),n.multiple||n.chips.forEach((function(l){!n._selectionModel.isSelected(l)&&l.selected&&l.deselect()})),l.isUserInput&&n._propagateChanges()}))},l.prototype._listenToChipsFocus=function(){var n=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe((function(l){var e=n.chips.toArray().indexOf(l.chip);n._isValidIndex(e)&&n._keyManager.updateActiveItemIndex(e),n.stateChanges.next()})),this._chipBlurSubscription=this.chipBlurChanges.subscribe((function(){n._blur(),n.stateChanges.next()}))},l.prototype._listenToChipsRemoved=function(){var n=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe((function(l){var e=l.chip,t=n.chips.toArray().indexOf(l.chip);n._isValidIndex(t)&&e._hasFocus&&(n._lastDestroyedChipIndex=t)}))},l.prototype._originatesFromChip=function(n){for(var l=n.target;l&&l!==this._elementRef.nativeElement;){if(l.classList.contains("mat-chip"))return!0;l=l.parentElement}return!1},l.prototype._hasFocusedChip=function(){return this.chips.some((function(n){return n._hasFocus}))},l.prototype._syncChipsState=function(){var n=this;this.chips&&this.chips.forEach((function(l){l.disabled=n._disabled,l._chipListMultiple=n.multiple}))},l}(rN),dN=0,pN=function(){function n(n,l){this._elementRef=n,this._defaultOptions=l,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new la,this.placeholder="",this.id="mat-chip-list-input-"+dN++,this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return Object.defineProperty(n.prototype,"chipList",{set:function(n){n&&(this._chipList=n,this._chipList.registerInput(this))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"addOnBlur",{get:function(){return this._addOnBlur},set:function(n){this._addOnBlur=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"empty",{get:function(){return!this._inputElement.value},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(){this._chipList.stateChanges.next()},n.prototype._keydown=function(n){n&&9===n.keyCode&&!oh(n,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(n)},n.prototype._blur=function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()},n.prototype._focus=function(){this.focused=!0,this._chipList.stateChanges.next()},n.prototype._emitChipEnd=function(n){!this._inputElement.value&&n&&this._chipList._keydown(n),n&&!this._isSeparatorKey(n)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),n&&n.preventDefault())},n.prototype._onInput=function(){this._chipList.stateChanges.next()},n.prototype.focus=function(n){this._inputElement.focus(n)},n.prototype._isSeparatorKey=function(n){if(oh(n))return!1;var l=this.separatorKeyCodes,e=n.keyCode;return Array.isArray(l)?l.indexOf(e)>-1:l.has(e)},n}(),mN=function(){return function(){}}(),fN=yt({encapsulation:2,styles:[".mat-chip{position:relative;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0)}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:'';pointer-events:none;transition:opacity .2s cubic-bezier(.35,0,.25,1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:0}.mat-standard-chip:focus::after{opacity:.16}@media (-ms-high-contrast:active){.mat-standard-chip{outline:solid 1px}.mat-standard-chip:focus{outline:dotted 2px}}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper .mat-standard-chip,.mat-chip-list-wrapper input.mat-input-element{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}"],data:{}});function hN(n){return jo(2,[(n()(),_o(0,0,null,null,1,"div",[["class","mat-chip-list-wrapper"]],null,null,null,null,null)),Po(null,0)],null,null)}var gN=0,bN=function(){return function(n,l){this.source=n,this.option=l}}(),vN=Yb(function(){return function(){}}()),_N=new On("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),yN=function(n){function l(l,e,t){var i=n.call(this)||this;return i._changeDetectorRef=l,i._elementRef=e,i.showPanel=!1,i._isOpen=!1,i.displayWith=null,i.optionSelected=new la,i.opened=new la,i.closed=new la,i._classList={},i.id="mat-autocomplete-"+gN++,i._autoActiveFirstOption=!!t.autoActiveFirstOption,i}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"isOpen",{get:function(){return this._isOpen&&this.showPanel},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"autoActiveFirstOption",{get:function(){return this._autoActiveFirstOption},set:function(n){this._autoActiveFirstOption=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"classList",{set:function(n){this._classList=n&&n.length?n.split(" ").reduce((function(n,l){return n[l.trim()]=!0,n}),{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentInit=function(){this._keyManager=new Ib(this.options).withWrap(),this._setVisibility()},l.prototype._setScrollTop=function(n){this.panel&&(this.panel.nativeElement.scrollTop=n)},l.prototype._getScrollTop=function(){return this.panel?this.panel.nativeElement.scrollTop:0},l.prototype._setVisibility=function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()},l.prototype._emitSelectEvent=function(n){var l=new bN(this,n);this.optionSelected.emit(l)},l.prototype._setVisibilityClasses=function(n){n["mat-autocomplete-visible"]=this.showPanel,n["mat-autocomplete-hidden"]=!this.showPanel},l}(vN),wN=new On("mat-autocomplete-scroll-strategy");function xN(n){return function(){return n.scrollStrategies.reposition()}}var CN=function(){function n(n,l,e,t,i,a,o,r,u,c){var d=this;this._element=n,this._overlay=l,this._viewContainerRef=e,this._zone=t,this._changeDetectorRef=i,this._dir=o,this._formField=r,this._document=u,this._viewportRuler=c,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=s.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new M,this._windowBlurHandler=function(){d._canOpenOnNextFocus=d._document.activeElement!==d._element.nativeElement||d.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=lc((function(){return d.autocomplete&&d.autocomplete.options?Z.apply(void 0,d.autocomplete.options.map((function(n){return n.onSelectionChange}))):d._zone.onStable.asObservable().pipe(_c(1),Sc((function(){return d.optionSelections})))})),this._scrollStrategy=a}return Object.defineProperty(n.prototype,"autocompleteDisabled",{get:function(){return this._autocompleteDisabled},set:function(n){this._autocompleteDisabled=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;if("undefined"!=typeof window&&(this._zone.runOutsideAngular((function(){window.addEventListener("blur",n._windowBlurHandler)})),vh())){var l=this._element.nativeElement,e=l.getRootNode?l.getRootNode():null;this._isInsideShadowRoot=e instanceof window.ShadowRoot}},n.prototype.ngOnChanges=function(n){n.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())},n.prototype.ngOnDestroy=function(){"undefined"!=typeof window&&window.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()},Object.defineProperty(n.prototype,"panelOpen",{get:function(){return this._overlayAttached&&this.autocomplete.showPanel},enumerable:!0,configurable:!0}),n.prototype.openPanel=function(){this._attachOverlay(),this._floatLabel()},n.prototype.closePanel=function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())},n.prototype.updatePosition=function(){this._overlayAttached&&this._overlayRef.updatePosition()},Object.defineProperty(n.prototype,"panelClosingActions",{get:function(){var n=this;return Z(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(tc((function(){return n._overlayAttached}))),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(tc((function(){return n._overlayAttached}))):lu()).pipe(q((function(n){return n instanceof Dv?n:null})))},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"activeOption",{get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null},enumerable:!0,configurable:!0}),n.prototype._getOutsideClickStream=function(){var n=this;return Z(Vh(this._document,"click"),Vh(this._document,"touchend")).pipe(tc((function(l){var e=n._isInsideShadowRoot&&l.composedPath?l.composedPath()[0]:l.target,t=n._formField?n._formField._elementRef.nativeElement:null;return n._overlayAttached&&e!==n._element.nativeElement&&(!t||!t.contains(e))&&!!n._overlayRef&&!n._overlayRef.overlayElement.contains(e)})))},n.prototype.writeValue=function(n){var l=this;Promise.resolve(null).then((function(){return l._setTriggerValue(n)}))},n.prototype.registerOnChange=function(n){this._onChange=n},n.prototype.registerOnTouched=function(n){this._onTouched=n},n.prototype.setDisabledState=function(n){this._element.nativeElement.disabled=n},n.prototype._handleKeydown=function(n){var l=n.keyCode;if(l===eh&&n.preventDefault(),this.activeOption&&13===l&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),n.preventDefault();else if(this.autocomplete){var e=this.autocomplete._keyManager.activeItem,t=38===l||40===l;this.panelOpen||9===l?this.autocomplete._keyManager.onKeydown(n):t&&this._canOpen()&&this.openPanel(),(t||this.autocomplete._keyManager.activeItem!==e)&&this._scrollToOption()}},n.prototype._handleInput=function(n){var l=n.target,e=l.value;"number"===l.type&&(e=""==e?null:parseFloat(e)),this._previousValue!==e&&(this._previousValue=e,this._onChange(e),this._canOpen()&&this._document.activeElement===n.target&&this.openPanel())},n.prototype._handleFocus=function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0},n.prototype._floatLabel=function(n){void 0===n&&(n=!1),this._formField&&"auto"===this._formField.floatLabel&&(n?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)},n.prototype._resetLabel=function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)},n.prototype._scrollToOption=function(){var n=this.autocomplete._keyManager.activeItemIndex||0,l=Tv(n+Ov(n,this.autocomplete.options,this.autocomplete.optionGroups),48,this.autocomplete._getScrollTop(),256);this.autocomplete._setScrollTop(l)},n.prototype._subscribeToClosingActions=function(){var n=this;return Z(this._zone.onStable.asObservable().pipe(_c(1)),this.autocomplete.options.changes.pipe(Yr((function(){return n._positionStrategy.reapplyLastPosition()})),LT(0))).pipe(Sc((function(){var l=n.panelOpen;return n._resetActiveItem(),n.autocomplete._setVisibility(),n.panelOpen&&(n._overlayRef.updatePosition(),l!==n.panelOpen&&n.autocomplete.opened.emit()),n.panelClosingActions})),_c(1)).subscribe((function(l){return n._setValueAndClose(l)}))},n.prototype._destroyPanel=function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)},n.prototype._setTriggerValue=function(n){var l=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(n):n,e=null!=l?l:"";this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e},n.prototype._setValueAndClose=function(n){n&&n.source&&(this._clearPreviousSelectedOption(n.source),this._setTriggerValue(n.source.value),this._onChange(n.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(n.source)),this.closePanel()},n.prototype._clearPreviousSelectedOption=function(n){this.autocomplete.options.forEach((function(l){l!=n&&l.selected&&l.deselect()}))},n.prototype._attachOverlay=function(){var n=this;if(!this.autocomplete)throw Error("Attempting to open an undefined instance of `mat-autocomplete`. Make sure that the id passed to the `matAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.");var l=this._overlayRef;l?(this._positionStrategy.setOrigin(this._getConnectedElement()),l.updateSize({width:this._getPanelWidth()})):(this._portal=new du(this.autocomplete.template,this._viewContainerRef),l=this._overlay.create(this._getOverlayConfig()),this._overlayRef=l,l.keydownEvents().subscribe((function(l){(l.keyCode===eh||38===l.keyCode&&l.altKey)&&(n._resetActiveItem(),n._closeKeyEventStream.next(),l.stopPropagation(),l.preventDefault())})),this._viewportRuler&&(this._viewportSubscription=this._viewportRuler.change().subscribe((function(){n.panelOpen&&l&&l.updateSize({width:n._getPanelWidth()})})))),l&&!l.hasAttached()&&(l.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var e=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&e!==this.panelOpen&&this.autocomplete.opened.emit()},n.prototype._getOverlayConfig=function(){return new Ng({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir})},n.prototype._getOverlayPosition=function(){var n=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(n),this._positionStrategy=n,n},n.prototype._setStrategyPositions=function(n){var l={originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},e={originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-autocomplete-panel-above"};n.withPositions("above"===this.position?[e]:"below"===this.position?[l]:[l,e])},n.prototype._getConnectedElement=function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element},n.prototype._getPanelWidth=function(){return this.autocomplete.panelWidth||this._getHostWidth()},n.prototype._getHostWidth=function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width},n.prototype._resetActiveItem=function(){this.autocomplete._keyManager.setActiveItem(this.autocomplete.autoActiveFirstOption?0:-1)},n.prototype._canOpen=function(){var n=this._element.nativeElement;return!n.readOnly&&!n.disabled&&!this._autocompleteDisabled},n}(),kN=function(){return function(){}}(),SN=yt({encapsulation:2,styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}@media (-ms-high-contrast:active){.mat-autocomplete-panel{outline:solid 1px}}"],data:{}});function IN(n){return jo(0,[(n()(),_o(0,0,[[2,0],["panel",1]],null,3,"div",[["class","mat-autocomplete-panel"],["role","listbox"]],[[8,"id",0]],null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Po(null,0)],(function(n,l){n(l,2,0,"mat-autocomplete-panel",l.component._classList)}),(function(n,l){n(l,0,0,l.component.id)}))}function AN(n){return jo(2,[ko(402653184,1,{template:0}),ko(671088640,2,{panel:0}),(n()(),vo(0,[[1,2]],null,0,null,IN))],null,null)}function MN(n,l){return l?function(e){return e.pipe(MN((function(e,t){return $(n(e,t)).pipe(q((function(n,i){return l(e,n,t,i)})))})))}:function(l){return l.lift(new PN(n))}}var PN=function(){function n(n){this.project=n}return n.prototype.call=function(n,l){return l.subscribe(new DN(n,this.project))},n}(),DN=function(n){function l(l,e){var t=n.call(this,l)||this;return t.project=e,t.hasSubscription=!1,t.hasCompleted=!1,t.index=0,t}return t.__extends(l,n),l.prototype._next=function(n){this.hasSubscription||this.tryNext(n)},l.prototype.tryNext=function(n){var l,e=this.index++;try{l=this.project(n,e)}catch(t){return void this.destination.error(t)}this.hasSubscription=!0,this._innerSub(l,n,e)},l.prototype._innerSub=function(n,l,e){var t=new F(this,void 0,void 0);this.destination.add(t),j(this,n,l,e,t)},l.prototype._complete=function(){this.hasCompleted=!0,this.hasSubscription||this.destination.complete(),this.unsubscribe()},l.prototype.notifyNext=function(n,l,e,t,i){this.destination.next(l)},l.prototype.notifyError=function(n){this.destination.error(n)},l.prototype.notifyComplete=function(n){this.destination.remove(n),this.hasSubscription=!1,this.hasCompleted&&this.destination.complete()},l}(V),FN=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialog=e,this.latinisePipe=t,this.lang=Kr,this.myControl=new sy,this.loading=!1,this.type={user:"fa-user",entity:"fa-sitemap"},this.selectedOpt=new la,this.valuesToDisplay={}}return n.prototype.ngOnInit=function(){this.appearance=void 0===this.appearance?"legacy":"outline",this.singleMode=void 0!==this.singleMode,this.optGroupLabel=void 0===this.optGroupLabel?this.lang.availableValues:this.optGroupLabel,this.placeholder=void 0===this.placeholder?this.lang.chooseValue:this.placeholder,void 0!==this.controlAutocomplete&&(this.controlAutocomplete.setValue(null===this.controlAutocomplete.value||""===this.controlAutocomplete.value?[]:this.controlAutocomplete.value),this.initFormValue()),this.size=void 0===this.size?"default":this.size,void 0!==this.routeDatas?this.initAutocompleteRoute():this.initAutocompleteData()},n.prototype.initAutocompleteData=function(){var n=this;this.listInfo=this.lang.noAvailableValue,this.filteredOptions=this.myControl.valueChanges.pipe(Pc(""),q((function(l){return n._filter(l)})))},n.prototype.initAutocompleteRoute=function(){var n=this;this.listInfo=this.lang.autocompleteInfo,this.options=[],this.myControl.valueChanges.pipe(Sh(300),tc((function(n){return n.length>2})),Yr((function(){return n.loading=!0})),Sc((function(l){return n.getDatas(l)})),Yr((function(l){n.listInfo=0===l.length?void 0!==n.manageDatas?n.lang.noAvailableValue+" <div>"+n.lang.typeEnterToCreate+"</div>":n.lang.noAvailableValue:"",n.options=l,n.filteredOptions=lu(n.options),n.loading=!1}))).subscribe()},n.prototype.getDatas=function(n){var l=this,e=[],t=[];return this.routeDatas.forEach((function(t){e.push(l.http.get("../.."+t,{params:{search:n}}))})),s_(e).pipe(q((function(n){return n.forEach((function(n){n.forEach((function(n){t.push(n)}))})),t})))},n.prototype.selectOpt=function(n){this.singleMode?this.myControl.setValue(n.option.value[this.key]):void 0!==this.controlAutocomplete&&this.setFormValue(n.option.value),void 0!==this.selectedOpt&&(this.resetAutocomplete(),this.autoCompleteInput.nativeElement.blur(),this.selectedOpt.emit(n.option.value))},n.prototype.initFormValue=function(){var n=this;this.controlAutocomplete.value.forEach((function(l){n.http.get("../.."+n.manageDatas+"/"+l).pipe(Yr((function(l){for(var e in l)n.valuesToDisplay[l[e].id]=l[e].label}))).subscribe()}))},n.prototype.setFormValue=function(n){if(-1===this.controlAutocomplete.value.indexOf(n.id)){var l=[];null!==this.controlAutocomplete.value&&(l=this.controlAutocomplete.value),l.push(n.id),this.valuesToDisplay[n.id]=n[this.key],this.controlAutocomplete.setValue(l)}},n.prototype.resetAutocomplete=function(){!1===this.singleMode&&this.myControl.setValue(""),void 0!==this.routeDatas&&(this.options=[],this.listInfo=this.lang.autocompleteInfo)},n.prototype._filter=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.options.filter((function(n){return l.latinisePipe.transform(n[l.key].toLowerCase()).includes(e)}))}return this.options},n.prototype.unsetValue=function(){this.controlAutocomplete.setValue(""),this.myControl.setValue(""),this.myControl.enable()},n.prototype.removeItem=function(n){var l=this.controlAutocomplete.value;l.splice(n,1),this.controlAutocomplete.setValue(l)},n.prototype.addItem=function(){var n=this;if(void 0!==this.manageDatas){var l={};l[this.key]=this.myControl.value,this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.confirm,msg:"Voulez-vous créer cet élément <b>"+l[this.key]+"</b> ?"}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.post("../.."+n.manageDatas,{label:l[n.key]})})),Yr((function(e){for(var t in e)l.id=e[t];n.setFormValue(l),n.notify.success(n.lang.elementAdded)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}},n.prototype.getValue=function(){return this.myControl.value},n.prototype.resetValue=function(){return this.myControl.setValue("")},n}(),EN=yt({encapsulation:0,styles:[[".mat-form-field-appearance-outline[_ngcontent-%COMP%]{font-size:11px} .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#135f7f} .mat-form-field-prefix{top:0!important}.mat-option[_ngcontent-%COMP%] .mat-option-text{display:-webkit-box;display:flex}.mat-option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:110%;font-weight:700}.autcompleteIcon[_ngcontent-%COMP%]{width:20px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.smallInput[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.smallInput[_ngcontent-%COMP%] .mat-form-field-infix{padding:0 0 5px}.smallInputInfo[_ngcontent-%COMP%]{font-size:9px;white-space:normal;line-height:13px;display:table-cell;vertical-align:middle}.input-form[_ngcontent-%COMP%] .mat-form-field-prefix{left:15px}.activeListAutocomplete[_ngcontent-%COMP%]{font-size:13px;height:auto}.noResult[_ngcontent-%COMP%]{text-align:center;font-style:italic;opacity:.5}.autoCompleteInfoResult[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}"],tN],data:{}});function ON(n){return jo(0,[(n()(),_o(0,0,null,null,5,"input",[["type","hidden"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(3,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(5,16384,null,0,y_,[[4,v_]],null,null)],(function(n,l){n(l,3,0,l.component.controlAutocomplete)}),(function(n,l){n(l,0,0,bi(l,5).ngClassUntouched,bi(l,5).ngClassTouched,bi(l,5).ngClassPristine,bi(l,5).ngClassDirty,bi(l,5).ngClassValid,bi(l,5).ngClassInvalid,bi(l,5).ngClassPending)}))}function TN(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),Di(1,16384,[[4,4],[5,4]],0,iT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.placeholder)}))}function LN(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["matPrefix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,16384,[[9,4]],0,aT,[],null,null),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"primary")}),(function(n,l){n(l,0,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function RN(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-icon-button",""],["matSuffix",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.unsetValue()&&t),t}),PC,MC)),Di(1,16384,[[10,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["color","warn"],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang.delete,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function NN(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,Wt(1,"autcompleteIcon fas ",l.component.type[l.parent.context.$implicit.type],""),bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function jN(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),vo(16777216,null,0,1,null,NN)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,0,[" "])),(n()(),_o(5,0,null,0,1,"span",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),Lo(-1,0,[" "])),(n()(),_o(8,0,null,0,1,"small",[],null,null,null,null,null)),(n()(),Lo(9,null,["",""]))],(function(n,l){var e=l.component;n(l,1,0,l.context.$implicit),n(l,3,0,e.type[l.context.$implicit.type])}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,6,0,l.context.$implicit[e.key]),n(l,9,0,l.context.$implicit[e.subInfoKey])}))}function VN(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,3,null,jN)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(4,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=bt(l,2,0,n(l,4,0,bi(l.parent,0),bt(l,2,0,bi(l,3).transform(e.filteredOptions)),e.key));n(l,2,0,t)}),null)}function qN(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.listInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function zN(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function UN(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-chip",[["class","activeListAutocomplete mat-chip"],["color","default"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeItem(n.context.index)&&t),t}),null,null)),Di(1,147456,[[13,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,14,{avatar:0}),ko(603979776,15,{trailingIcon:0}),ko(603979776,16,{removeIcon:0}),(n()(),_o(5,0,null,null,0,"span",[["style","display: flex;flex: 1;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(6,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8)._handleClick(e)&&t),t}),FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(8,16384,[[16,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0,"default",!0),n(l,7,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.valuesToDisplay[l.context.$implicit]),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color)}))}function BN(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noResult"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noSelectedValue)}))}function $N(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-chip-list",[["class","mat-chip-list-stacked mat-chip-list"],["color","default"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,3).focus()&&t),"blur"===l&&(t=!1!==bi(n,3)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,3)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(3,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,13,{chips:1}),(n()(),vo(16777216,null,0,1,null,UN)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,BN)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,3,0),n(l,6,0,e.controlAutocomplete.value),n(l,8,0,0===e.controlAutocomplete.value.length)}),(function(n,l){n(l,1,1,[bi(l,3).disabled?null:bi(l,3)._tabIndex,bi(l,3)._ariaDescribedby||null,bi(l,3).required.toString(),bi(l,3).disabled.toString(),bi(l,3).errorState,bi(l,3).multiple,bi(l,3).role,bi(l,3).disabled,bi(l,3).errorState,bi(l,3).required,bi(l,3).ariaOrientation,bi(l,3)._uid])}))}function HN(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{autoCompleteInput:0}),(n()(),_o(2,0,null,null,47,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,ON)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,38,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"smallInput",null],[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(10,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),vo(16777216,null,3,1,null,TN)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,LN)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,16777216,[[1,0],["autoCompleteInput",1]],1,10,"input",[["aria-label","Number"],["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["id","autoCompleteInput"],["matInput",""],["type","text"]],[[1,"required",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"focus"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,25)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,25)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,25)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,28)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,28)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,28)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,28)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),"keyup.enter"===l&&(t=!1!==i.addItem()&&t),t}),null,null)),Di(25,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(26,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(28,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(30,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(32,16384,null,0,y_,[[4,v_]],null,null),Di(33,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,RN)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectOpt(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(39,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,VN)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,qN)),Di(45,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,zN)),Di(47,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$N)),Di(49,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,8,0,void 0!==e.controlAutocomplete),n(l,10,0,e.appearance,"never"),n(l,21,0,e.singleMode),n(l,23,0,"small"!==e.size&&e.myControl.enabled&&!e.singleMode),n(l,26,0,e.required),n(l,28,0,bi(l,39)),n(l,30,0,e.myControl),n(l,33,0,"autoCompleteInput",e.singleMode?"":e.placeholder,e.required,"text"),n(l,36,0,e.myControl.disabled),n(l,43,0,e.options.length>0&&!e.loading),n(l,45,0,0===e.options.length&&!e.loading),n(l,47,0,e.loading),n(l,49,0,void 0!==e.controlAutocomplete)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,9,1,["small"===e.size,"standard"==bi(l,10).appearance,"fill"==bi(l,10).appearance,"outline"==bi(l,10).appearance,"legacy"==bi(l,10).appearance,bi(l,10)._control.errorState,bi(l,10)._canLabelFloat,bi(l,10)._shouldLabelFloat(),bi(l,10)._hasFloatingLabel(),bi(l,10)._hideControlPlaceholder(),bi(l,10)._control.disabled,bi(l,10)._control.autofilled,bi(l,10)._control.focused,"accent"==bi(l,10).color,"warn"==bi(l,10).color,bi(l,10)._shouldForward("untouched"),bi(l,10)._shouldForward("touched"),bi(l,10)._shouldForward("pristine"),bi(l,10)._shouldForward("dirty"),bi(l,10)._shouldForward("valid"),bi(l,10)._shouldForward("invalid"),bi(l,10)._shouldForward("pending"),!bi(l,10)._animationsEnabled]),n(l,24,1,[bi(l,26).required?"":null,bi(l,28).autocompleteAttribute,bi(l,28).autocompleteDisabled?null:"combobox",bi(l,28).autocompleteDisabled?null:"list",bi(l,28).panelOpen&&bi(l,28).activeOption?bi(l,28).activeOption.id:null,bi(l,28).autocompleteDisabled?null:bi(l,28).panelOpen.toString(),bi(l,28).autocompleteDisabled||!bi(l,28).panelOpen?null:null==bi(l,28).autocomplete?null:bi(l,28).autocomplete.id,!bi(l,28).autocompleteDisabled,bi(l,32).ngClassUntouched,bi(l,32).ngClassTouched,bi(l,32).ngClassPristine,bi(l,32).ngClassDirty,bi(l,32).ngClassValid,bi(l,32).ngClassInvalid,bi(l,32).ngClassPending,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()])}))}var GN=yt({encapsulation:0,styles:[["button[_ngcontent-%COMP%]:disabled{opacity:.3!important}.statusUserLabelWarn[_ngcontent-%COMP%]{color:#8e3e52}.statusUserLabelPrimary[_ngcontent-%COMP%]{color:#135f7f}.webserviceAccount[_ngcontent-%COMP%]{color:#666;width:37px;height:37px;font-size:x-small;border-radius:18px!important}.mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#f99830!important;color:#fff}"]],data:{}});function WN(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(1,49152,null,0,mI,[],null,null)],null,(function(n,l){n(l,0,0,bi(l,1).vertical?"vertical":"horizontal",bi(l,1).vertical,!bi(l,1).vertical,bi(l,1).inset)}))}function KN(n){return jo(0,[(n()(),_o(0,0,null,null,13,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","margin-left:20px"]],null,null,null,null,null)),Di(6,16384,null,0,pv,[],null,null),(n()(),Lo(7,null,[""," : ",""])),(n()(),_o(8,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","margin-left:20px"]],null,null,null,null,null)),Di(9,16384,null,0,pv,[],null,null),(n()(),Lo(10,null,[""," : ",""])),(n()(),_o(11,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","margin-left:20px"]],null,null,null,null,null)),Di(12,16384,null,0,pv,[],null,null),(n()(),Lo(13,null,[""," : ",""]))],null,(function(n,l){var e=l.component;n(l,4,0,e.lang.quota),n(l,7,0,e.lang.actives,e.quota.actives),n(l,10,0,e.lang.inactives,e.quota.inactives),n(l,13,0,e.lang.quota,e.quota.userQuota)}))}function YN(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/users/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(18,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,null,1,null,WN)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,KN)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,6,0,"/administration/users/new"),n(l,12,0,"primary"),n(l,20,0,e.quota.userQuota),n(l,22,0,e.quota.userQuota)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add),n(l,17,0,bi(l,18).vertical?"vertical":"horizontal",bi(l,18).vertical,!bi(l,18).vertical,bi(l,18).inset)}))}function JN(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function ZN(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.technicalId)}))}function QN(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.id)}))}function XN(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function nj(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.user_id)}))}function lj(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.lastname)}))}function ej(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.lastname)}))}function tj(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.firstname)}))}function ij(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.firstname)}))}function aj(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.status)}))}function oj(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,6,"span",[["class","label"]],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(4,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(5,2),Eo(6,2),Oo(7,{statusUserLabelWarn:0,statusUserLabelPrimary:1}),(n()(),Lo(8,null,["",""]))],(function(n,l){var e=n(l,7,0,n(l,5,0,"SPD","ABS").indexOf(l.context.$implicit.status)>-1,-1==n(l,6,0,"SPD","ABS").indexOf(l.context.$implicit.status));n(l,4,0,"label",e)}),(function(n,l){n(l,8,0,l.component.lang["user"+l.context.$implicit.status])}))}function rj(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.email)}))}function uj(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.mail)}))}function sj(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function cj(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteUser(n.parent.context.$implicit,"suspend")&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-pause fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.suspend,"")),n(l,2,0,l.parent.context.$implicit.user_id==e.user.user_id,"primary"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function dj(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","accent"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.activateUser(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-check fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.authorize,"")),n(l,2,0,"accent"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function pj(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,cj)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dj)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,16777216,null,null,4,"button",[["color","warn"],["data-target","#changeDiffListDest"],["data-toggle","modal"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,7).show()&&t),"keydown"===l&&(t=!1!==bi(n,7)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,7)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteUser(n.context.$implicit,"delete")&&t),t}),PC,MC)),Di(7,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(9,0,null,0,1,"mat-icon",[["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,3,0,"SPD"!=l.context.$implicit.status),n(l,5,0,"SPD"==l.context.$implicit.status),n(l,7,0,Wt(1,"",e.lang.delete,"")),n(l,8,0,l.context.$implicit.user_id==e.user.user_id,"warn"),n(l,10,0)}),(function(n,l){n(l,6,0,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color)}))}function mj(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function fj(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/users/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function hj(n){return jo(0,[(n()(),_o(0,0,null,null,132,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,23,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,19,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,4,4,"mat-button-toggle",[["class","webserviceAccount mat-button-toggle"],["matSuffix",""]],[[8,"title",0],[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"click"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,20).focus()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.toggleWebserviceAccount()&&t),t}),MR,AR)),Di(19,16384,[[17,4]],0,oT,[],null,null),Di(20,245760,null,0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{checked:[0,"checked"]},null),(n()(),_o(21,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-user-shield fa-2x"],["fontSet","fas"],["role","img"],["style","margin-left: -2px; margin-top: -4px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(22,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(23,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(25,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(26,0,null,0,104,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","user_id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(28,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(33,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(34,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(36,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,ZN)),Di(42,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,QN)),Di(45,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(47,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(49,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,XN)),Di(55,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,nj)),Di(58,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(60,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(62,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,lj)),Di(68,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,ej)),Di(71,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(73,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(75,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,tj)),Di(81,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,ij)),Di(84,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),_o(86,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(88,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,34,{cell:0}),ko(603979776,35,{headerCell:0}),ko(603979776,36,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,aj)),Di(94,16384,null,0,tR,[Xe],null,null),Ei(2048,[[35,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,oj)),Di(97,16384,null,0,eR,[Xe],null,null),Ei(2048,[[34,4]],OL,null,[eR]),(n()(),_o(99,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(101,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,37,{cell:0}),ko(603979776,38,{headerCell:0}),ko(603979776,39,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,rj)),Di(107,16384,null,0,tR,[Xe],null,null),Ei(2048,[[38,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,uj)),Di(110,16384,null,0,eR,[Xe],null,null),Ei(2048,[[37,4]],OL,null,[eR]),(n()(),_o(112,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(114,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,40,{cell:0}),ko(603979776,41,{headerCell:0}),ko(603979776,42,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,sj)),Di(120,16384,null,0,tR,[Xe],null,null),Ei(2048,[[41,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,pj)),Di(123,16384,null,0,eR,[Xe],null,null),Ei(2048,[[40,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,mj)),Di(126,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,fj)),Di(129,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(131,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(132,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,e.withWebserviceAccount),n(l,22,0,"fas","fa-user-shield fa-2x"),n(l,25,0,100,10,!0),n(l,28,0,e.dataSource),n(l,33,0,"user_id","asc"),n(l,36,0,"id"),n(l,49,0,"user_id"),n(l,62,0,"lastname"),n(l,75,0,"firstname"),n(l,88,0,"status"),n(l,101,0,"mail"),n(l,114,0,"actions"),n(l,126,0,e.displayedColumns),n(l,129,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,18,0,Wt(1,"",e.lang.displayWebserviceAccount,""),!bi(l,20).buttonToggleGroup,bi(l,20).checked,bi(l,20).disabled,"standard"===bi(l,20).appearance,-1,bi(l,20).id,null),n(l,21,0,bi(l,22).inline,"primary"!==bi(l,22).color&&"accent"!==bi(l,22).color&&"warn"!==bi(l,22).color),n(l,132,0,e.data.length,e.lang.usersAlt)}))}function gj(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,YN)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,JN)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hj)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function bj(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,gj,GN)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,lN,[nS,tu,Jv,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var vj=oi("ng-component",lN,bj,{},{},[]),_j=yt({encapsulation:0,styles:[["mat-icon[_ngcontent-%COMP%]{height:auto!important}.alert-message[_ngcontent-%COMP%]{max-width:100%}"]],data:{}});function yj(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","form-group"]],[[8,"id",0]],null,null,null,null)),(n()(),_o(1,0,null,null,2,"plugin-autocomplete",[["required",""],["singleMode",""]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setRedirectUserListModels(n.context.index,e)&&t),t}),HN,EN)),Di(2,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],required:[1,"required"],routeDatas:[2,"routeDatas"],placeholder:[3,"placeholder"],optGroupLabel:[4,"optGroupLabel"],key:[5,"key"],subInfoKey:[6,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(3,1)],(function(n,l){var e=l.component,t=n(l,3,0,"/rest/autocomplete/users");n(l,2,0,"","",t,e.lang.newDest+" : "+l.context.$implicit.title,e.lang.availableUsers,"idToDisplay","descriptionToDisplay")}),(function(n,l){n(l,0,0,Wt(1,"",l.context.$implicit.object_id,""))}))}function wj(n){return jo(0,[(n()(),_o(0,0,null,null,10,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),_o(3,0,null,null,5,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,[""," ",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(7,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),Lo(-1,null,[" : "])),(n()(),vo(16777216,null,null,1,null,yj)),Di(10,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,10,0,l.component.data.redirectListModels)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.redirectUserListDiff),n(l,5,0,e.data.userDestRedirect.firstname,e.data.userDestRedirect.lastname),n(l,7,0,e.lang.chooseNewDest)}))}function xj(n){return jo(0,[(n()(),_o(0,0,null,null,12,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),_o(3,0,null,null,5,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,[""," ",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(7,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),Lo(-1,null,[" : "])),(n()(),_o(9,0,null,null,3,"div",[["class","form-group"]],[[8,"id",0]],null,null,null,null)),(n()(),_o(10,0,null,null,2,"plugin-autocomplete",[["required",""],["singleMode",""]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setRedirectUserRes(e)&&t),t}),HN,EN)),Di(11,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],required:[1,"required"],routeDatas:[2,"routeDatas"],placeholder:[3,"placeholder"],optGroupLabel:[4,"optGroupLabel"],key:[5,"key"],subInfoKey:[6,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(12,1)],(function(n,l){var e=l.component,t=n(l,12,0,"/rest/autocomplete/users");n(l,11,0,"","",t,e.lang.newDestRes,e.lang.availableUsers,"idToDisplay","descriptionToDisplay")}),(function(n,l){var e=l.component;n(l,2,0,e.lang.redirectUserListInstances),n(l,5,0,e.data.userDestRedirect.firstname,e.data.userDestRedirect.lastname),n(l,7,0,e.lang.chooseNewDestUser),n(l,9,0,Wt(1,"",e.data.userDestRedirect.user_id,""))}))}function Cj(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(1,null,[""," "," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.delete,e.data.userDestRedirect.firstname,e.data.userDestRedirect.lastname)}))}function kj(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(1,null,[""," "," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.suspend,e.data.userDestRedirect.firstname,e.data.userDestRedirect.lastname)}))}function Sj(n){return jo(0,[(n()(),_o(0,0,null,null,7,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","alert"],["role","alert"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Cj)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" "])),(n()(),vo(16777216,null,null,1,null,kj)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" "]))],(function(n,l){var e=l.component;n(l,3,0,"delete"==e.data.userDestRedirect.mode),n(l,6,0,"suspend"==e.data.userDestRedirect.mode)}),null)}function Ij(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wj)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,xj)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Sj)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.data.inDiffListDest),n(l,4,0,e.data.isResDestUser),n(l,6,0,!e.data.inDiffListDest&&!e.data.isResDestUser)}),null)}function Aj(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(5,0,null,0,3,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(8,0,null,0,0,"i",[["class","fa fa-share-alt"],["color","primary"]],null,null,null,null,null)),(n()(),_o(9,0,null,1,3,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[1,4]],0,pv,[],null,null),(n()(),_o(11,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(12,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,12,0,l.context.$implicit)}))}function Mj(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(2,704512,null,0,tI,[Pe],null,null),(n()(),_o(3,0,null,0,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(4,16384,null,0,pv,[],null,null),(n()(),Lo(5,null,["",""])),(n()(),vo(16777216,null,0,1,null,Aj)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,7,0,l.component.data.listTemplateEntities)}),(function(n,l){n(l,5,0,l.component.lang.diffusionList)}))}function Pj(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(5,0,null,0,3,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(8,0,null,0,0,"i",[["class","fa fa-inbox"],["color","primary"]],null,null,null,null,null)),(n()(),_o(9,0,null,1,3,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[4,4]],0,pv,[],null,null),(n()(),_o(11,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(12,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,12,0,l.context.$implicit)}))}function Dj(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(2,704512,null,0,tI,[Pe],null,null),(n()(),_o(3,0,null,0,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(4,16384,null,0,pv,[],null,null),(n()(),Lo(5,null,["",""])),(n()(),vo(16777216,null,0,1,null,Pj)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,7,0,l.component.data.listInstanceEntities)}),(function(n,l){n(l,5,0,l.component.lang.mailEntitiesList)}))}function Fj(n){return jo(0,[(n()(),_o(0,0,null,null,12,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,4,"p",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,[""," ",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(7,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),_o(8,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Mj)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Dj)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,10,0,e.data.inTemplateList),n(l,12,0,e.data.inInstanceList)}),(function(n,l){var e=l.component;n(l,3,0,e.lang.userIsNotDeletable),n(l,5,0,e.data.userDestRedirect.firstname,e.data.userDestRedirect.lastname),n(l,8,0,e.lang.userIsDeletableBy)}))}function Ej(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","btn btn-danger"],["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close(i.data)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,[""," ",""]))],(function(n,l){n(l,1,0,!l.component.sendFunction(),"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete,e.lang.user)}))}function Oj(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close(i.data)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,[""," ",""]))],(function(n,l){n(l,1,0,!l.component.sendFunction(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.suspend,e.lang.user)}))}function Tj(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.close)}))}function Lj(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,5,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Ij)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Fj)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(12,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,Ej)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Oj)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Tj)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0,e.data.isDeletable),n(l,9,0,!e.data.isDeletable),n(l,14,0,"delete"==e.data.userDestRedirect.mode&&e.data.isDeletable),n(l,16,0,"suspend"==e.data.userDestRedirect.mode&&e.data.isDeletable),n(l,18,0,!e.data.isDeletable)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.modalTitle)}))}function Rj(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Lj,_j)),Di(1,114688,null,0,eN,[nS,Gv,Hv,tu],null,null)],(function(n,l){n(l,1,0)}),null)}var Nj=oi("ng-component",eN,Rj,{},{},[]),jj=0,Vj=function(){function n(){this._stateChanges=new M,this._openCloseAllActions=new M,this.id="cdk-accordion-"+jj++,this._multi=!1}return Object.defineProperty(n.prototype,"multi",{get:function(){return this._multi},set:function(n){this._multi=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.openAll=function(){this._openCloseAll(!0)},n.prototype.closeAll=function(){this._openCloseAll(!1)},n.prototype.ngOnChanges=function(n){this._stateChanges.next(n)},n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n.prototype._openCloseAll=function(n){this.multi&&this._openCloseAllActions.next(n)},n}(),qj=0,zj=function(){function n(n,l,e){var t=this;this.accordion=n,this._changeDetectorRef=l,this._expansionDispatcher=e,this._openCloseAllSubscription=s.EMPTY,this.closed=new la,this.opened=new la,this.destroyed=new la,this.expandedChange=new la,this.id="cdk-accordion-child-"+qj++,this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=e.listen((function(n,l){t.accordion&&!t.accordion.multi&&t.accordion.id===l&&t.id!==n&&(t.expanded=!1)})),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object.defineProperty(n.prototype,"expanded",{get:function(){return this._expanded},set:function(n){n=Yf(n),this._expanded!==n&&(this._expanded=n,this.expandedChange.emit(n),n?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()},n.prototype.toggle=function(){this.disabled||(this.expanded=!this.expanded)},n.prototype.close=function(){this.disabled||(this.expanded=!1)},n.prototype.open=function(){this.disabled||(this.expanded=!0)},n.prototype._subscribeToOpenCloseAllActions=function(){var n=this;return this.accordion._openCloseAllActions.subscribe((function(l){n.disabled||(n.expanded=l)}))},n}(),Uj=function(){return function(){}}(),Bj=new On("MAT_ACCORDION"),Hj=function(){return function(n){this._template=n}}(),Gj=0,Wj=new On("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),Kj=function(n){function l(l,e,t,i,a,o,r){var u=n.call(this,l,e,t)||this;return u._viewContainerRef=i,u._animationMode=o,u._hideToggle=!1,u.afterExpand=new la,u.afterCollapse=new la,u._inputChanges=new M,u._headerId="mat-expansion-panel-header-"+Gj++,u._bodyAnimationDone=new M,u.accordion=l,u._document=a,u._bodyAnimationDone.pipe(Gh((function(n,l){return n.fromState===l.fromState&&n.toState===l.toState}))).subscribe((function(n){"void"!==n.fromState&&("expanded"===n.toState?u.afterExpand.emit():"collapsed"===n.toState&&u.afterCollapse.emit())})),r&&(u.hideToggle=r.hideToggle),u}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"hideToggle",{get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(n){this._hideToggle=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"togglePosition",{get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(n){this._togglePosition=n},enumerable:!0,configurable:!0}),l.prototype._hasSpacing=function(){return!!this.accordion&&"default"===(this.expanded?this.accordion.displayMode:this._getExpandedState())},l.prototype._getExpandedState=function(){return this.expanded?"expanded":"collapsed"},l.prototype.ngAfterContentInit=function(){var n=this;this._lazyContent&&this.opened.pipe(Pc(null),tc((function(){return n.expanded&&!n._portal})),_c(1)).subscribe((function(){n._portal=new du(n._lazyContent._template,n._viewContainerRef)}))},l.prototype.ngOnChanges=function(n){this._inputChanges.next(n)},l.prototype.ngOnDestroy=function(){n.prototype.ngOnDestroy.call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()},l.prototype._containsFocus=function(){if(this._body){var n=this._document.activeElement,l=this._body.nativeElement;return n===l||l.contains(n)}return!1},l}(zj),Yj=function(){function n(n,l,e,t,i){var a=this;this.panel=n,this._element=l,this._focusMonitor=e,this._changeDetectorRef=t,this._parentChangeSubscription=s.EMPTY,this._animationsDisabled=!0;var o=n.accordion?n.accordion._stateChanges.pipe(tc((function(n){return!(!n.hideToggle&&!n.togglePosition)}))):Xs;this._parentChangeSubscription=Z(n.opened,n.closed,o,n._inputChanges.pipe(tc((function(n){return!!(n.hideToggle||n.disabled||n.togglePosition)})))).subscribe((function(){return a._changeDetectorRef.markForCheck()})),n.closed.pipe(tc((function(){return n._containsFocus()}))).subscribe((function(){return e.focusVia(l,"program")})),e.monitor(l).subscribe((function(l){l&&n.accordion&&n.accordion._handleHeaderFocus(a)})),i&&(this.expandedHeight=i.expandedHeight,this.collapsedHeight=i.collapsedHeight)}return n.prototype._animationStarted=function(){this._animationsDisabled=!1},Object.defineProperty(n.prototype,"disabled",{get:function(){return this.panel.disabled},enumerable:!0,configurable:!0}),n.prototype._toggle=function(){this.panel.toggle()},n.prototype._isExpanded=function(){return this.panel.expanded},n.prototype._getExpandedState=function(){return this.panel._getExpandedState()},n.prototype._getPanelId=function(){return this.panel.id},n.prototype._getTogglePosition=function(){return this.panel.togglePosition},n.prototype._showToggle=function(){return!this.panel.hideToggle&&!this.panel.disabled},n.prototype._keydown=function(n){switch(n.keyCode){case 32:case 13:oh(n)||(n.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(n))}},n.prototype.focus=function(n,l){void 0===n&&(n="program"),this._focusMonitor.focusVia(this._element,n,l)},n.prototype.ngOnDestroy=function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)},n}(),Jj=function(){return function(){}}(),Zj=function(){return function(){}}(),Qj=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l._hideToggle=!1,l.displayMode="default",l.togglePosition="after",l}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"hideToggle",{get:function(){return this._hideToggle},set:function(n){this._hideToggle=Yf(n)},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentInit=function(){this._keyManager=new Ab(this._headers).withWrap()},l.prototype._handleHeaderKeydown=function(n){var l=n.keyCode,e=this._keyManager;36===l?oh(n)||(e.setFirstItemActive(),n.preventDefault()):35===l?oh(n)||(e.setLastItemActive(),n.preventDefault()):this._keyManager.onKeydown(n)},l.prototype._handleHeaderFocus=function(n){this._keyManager.updateActiveItem(n)},l}(Vj),Xj=function(){return function(){}}(),nV=yt({encapsulation:2,styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(.4,0,.2,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (-ms-high-contrast:active){.mat-expansion-panel{outline:solid 1px}}.mat-expansion-panel._mat-animation-noopable,.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base{margin-left:0;margin-right:8px}"],data:{animation:[{type:7,name:"bodyExpansion",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"0px",visibility:"hidden"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{height:"*",visibility:"visible"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}}]}});function lV(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function eV(n){return jo(2,[ko(671088640,1,{_body:0}),Po(null,0),(n()(),_o(2,0,[[1,0],["body",1]],null,5,"div",[["class","mat-expansion-panel-content"],["role","region"]],[[24,"@bodyExpansion",0],[1,"aria-labelledby",0],[8,"id",0]],[[null,"@bodyExpansion.done"]],(function(n,l,e){var t=!0;return"@bodyExpansion.done"===l&&(t=!1!==n.component._bodyAnimationDone.next(e)&&t),t}),null,null)),(n()(),_o(3,0,null,null,3,"div",[["class","mat-expansion-panel-body"]],null,null,null,null,null)),Po(null,1),(n()(),vo(16777216,null,null,1,null,lV)),Di(6,212992,null,0,gu,[Se,lt],{portal:[0,"portal"]},null),Po(null,2)],(function(n,l){n(l,6,0,l.component._portal)}),(function(n,l){var e=l.component;n(l,2,0,e._getExpandedState(),e._headerId,e.id)}))}var tV=yt({encapsulation:2,styles:[".mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:0}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-description,[dir=rtl] .mat-expansion-panel-header-title{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:'';display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}"],data:{animation:[{type:7,name:"indicatorRotate",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{transform:"rotate(0deg)"},offset:null},options:void 0},{type:0,name:"expanded",styles:{type:6,styles:{transform:"rotate(180deg)"},offset:null},options:void 0},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"},options:null}],options:{}},{type:7,name:"expansionHeight",definitions:[{type:0,name:"collapsed, void",styles:{type:6,styles:{height:"{{collapsedHeight}}"},offset:null},options:{params:{collapsedHeight:"48px"}}},{type:0,name:"expanded",styles:{type:6,styles:{height:"{{expandedHeight}}"},offset:null},options:{params:{expandedHeight:"64px"}}},{type:1,expr:"expanded <=> collapsed, void => collapsed",animation:{type:3,steps:[{type:11,selector:"@indicatorRotate",animation:{type:9,options:null},options:{optional:!0}},{type:4,styles:null,timings:"225ms cubic-bezier(0.4,0.0,0.2,1)"}],options:null},options:null}],options:{}}]}});function iV(n){return jo(0,[(n()(),_o(0,0,null,null,0,"span",[["class","mat-expansion-indicator"]],[[24,"@indicatorRotate",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component._getExpandedState())}))}function aV(n){return jo(2,[(n()(),_o(0,0,null,null,3,"span",[["class","mat-content"]],null,null,null,null,null)),Po(null,0),Po(null,1),Po(null,2),(n()(),vo(16777216,null,null,1,null,iV)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,5,0,l.component._showToggle())}),null)}var oV=new On("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1,disableDragValue:!1}}}),rV=0,uV=function(){return function(n,l){this.source=n,this.checked=l}}(),sV=function(n){function l(l,e,t,i,a,o,r,u){var s=n.call(this,l)||this;return s._focusMonitor=e,s._changeDetectorRef=t,s._ngZone=a,s.defaults=o,s._animationMode=r,s._dir=u,s._onChange=function(n){},s._onTouched=function(){},s._uniqueId="mat-slide-toggle-"+ ++rV,s._required=!1,s._checked=!1,s._dragging=!1,s.name=null,s.id=s._uniqueId,s.labelPosition="after",s.ariaLabel=null,s.ariaLabelledby=null,s.change=new la,s.toggleChange=new la,s.dragChange=new la,s.tabIndex=parseInt(i)||0,s}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"required",{get:function(){return this._required},set:function(n){this._required=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"checked",{get:function(){return this._checked},set:function(n){this._checked=Yf(n),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentInit=function(){var n=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(l){l||Promise.resolve().then((function(){return n._onTouched()}))}))},l.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef)},l.prototype._onChangeEvent=function(n){n.stopPropagation(),this._dragging||this.toggleChange.emit(),this._dragging||this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())},l.prototype._onInputClick=function(n){n.stopPropagation()},l.prototype.writeValue=function(n){this.checked=!!n},l.prototype.registerOnChange=function(n){this._onChange=n},l.prototype.registerOnTouched=function(n){this._onTouched=n},l.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetectorRef.markForCheck()},l.prototype.focus=function(n){this._focusMonitor.focusVia(this._inputElement,"keyboard",n)},l.prototype.toggle=function(){this.checked=!this.checked,this._onChange(this.checked)},l.prototype._emitChangeEvent=function(){this._onChange(this.checked),this.change.emit(new uV(this,this.checked))},l.prototype._getDragPercentage=function(n){var l=n/this._thumbBarWidth*100;return this._previousChecked&&(l+=100),Math.max(0,Math.min(l,100))},l.prototype._onDragStart=function(){if(!this.disabled&&!this._dragging){var n=this._thumbEl.nativeElement;this._thumbBarWidth=this._thumbBarEl.nativeElement.clientWidth-n.clientWidth,n.classList.add("mat-dragging"),this._previousChecked=this.checked,this._dragging=!0}},l.prototype._onDrag=function(n){if(this._dragging){var l=this._dir&&"rtl"===this._dir.value?-1:1;this._dragPercentage=this._getDragPercentage(n.deltaX*l),this._thumbEl.nativeElement.style.transform="translate3d("+this._dragPercentage/100*this._thumbBarWidth*l+"px, 0, 0)"}},l.prototype._onDragEnd=function(){var n=this;if(this._dragging){var l=this._dragPercentage>50;l!==this.checked&&(this.dragChange.emit(),this.defaults.disableDragValue||(this.checked=l,this._emitChangeEvent())),this._ngZone.runOutsideAngular((function(){return setTimeout((function(){n._dragging&&(n._dragging=!1,n._thumbEl.nativeElement.classList.remove("mat-dragging"),n._thumbEl.nativeElement.style.transform="")}))}))}},l.prototype._onLabelTextChange=function(){this._changeDetectorRef.detectChanges()},l}(Jb(Kb(Yb(Wb(function(){return function(n){this._elementRef=n}}())),"accent"))),cV=function(){return function(){}}(),dV=function(){return function(){}}(),pV=yt({encapsulation:2,styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px,0,0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px,0,0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}.mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-bar,[dir=rtl] .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform;cursor:-webkit-grab;cursor:grab}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb-container:active{cursor:-webkit-grabbing;cursor:grabbing}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media (hover:none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}@media (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background:#000;border:1px solid #fff}.mat-slide-toggle-bar{background:#fff}.mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:1px dotted;outline-offset:5px}}@media (-ms-high-contrast:black-on-white){.mat-slide-toggle-bar{border:1px solid #000}}"],data:{}});function mV(n){return jo(2,[ko(671088640,1,{_thumbEl:0}),ko(671088640,2,{_thumbBarEl:0}),ko(671088640,3,{_inputElement:0}),(n()(),_o(3,0,[["label",1]],null,13,"label",[["class","mat-slide-toggle-label"]],[[1,"for",0]],null,null,null,null)),(n()(),_o(4,0,[[2,0],["toggleBar",1]],null,7,"div",[["class","mat-slide-toggle-bar"]],[[2,"mat-slide-toggle-bar-no-side-margin",null]],null,null,null,null)),(n()(),_o(5,0,[[3,0],["input",1]],null,0,"input",[["class","mat-slide-toggle-input cdk-visually-hidden"],["role","switch"],["type","checkbox"]],[[8,"id",0],[8,"required",0],[8,"tabIndex",0],[8,"checked",0],[8,"disabled",0],[1,"name",0],[1,"aria-checked",0],[1,"aria-label",0],[1,"aria-labelledby",0]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"change"===l&&(t=!1!==i._onChangeEvent(e)&&t),"click"===l&&(t=!1!==i._onInputClick(e)&&t),t}),null,null)),(n()(),_o(6,0,[[1,0],["thumbContainer",1]],null,5,"div",[["class","mat-slide-toggle-thumb-container"]],null,[[null,"slidestart"],[null,"slide"],[null,"slideend"]],(function(n,l,e){var t=!0,i=n.component;return"slidestart"===l&&(t=!1!==i._onDragStart()&&t),"slide"===l&&(t=!1!==i._onDrag(e)&&t),"slideend"===l&&(t=!1!==i._onDragEnd()&&t),t}),null,null)),(n()(),_o(7,0,null,null,0,"div",[["class","mat-slide-toggle-thumb"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,3,"div",[["class","mat-slide-toggle-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(9,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),Oo(10,{enterDuration:0}),(n()(),_o(11,0,null,null,0,"div",[["class","mat-ripple-element mat-slide-toggle-persistent-ripple"]],null,null,null,null,null)),(n()(),_o(12,0,[["labelContent",1]],null,4,"span",[["class","mat-slide-toggle-content"]],null,[[null,"cdkObserveContent"]],(function(n,l,e){var t=!0;return"cdkObserveContent"===l&&(t=!1!==n.component._onLabelTextChange()&&t),t}),null,null)),Di(13,1196032,null,0,fb,[mb,Pe,La],null,{event:"cdkObserveContent"}),(n()(),_o(14,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),Po(null,0)],(function(n,l){var e=l.component,t=n(l,10,0,150);n(l,9,0,!0,20,t,e.disableRipple||e.disabled,bi(l,3))}),(function(n,l){var e=l.component;n(l,3,0,e.inputId),n(l,4,0,!bi(l,12).textContent||!bi(l,12).textContent.trim()),n(l,5,0,e.inputId,e.required,e.tabIndex,e.checked,e.disabled,e.name,e.checked.toString(),e.ariaLabel,e.ariaLabelledby),n(l,8,0,bi(l,9).unbounded)}))}var fV=new On("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(n){return{left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"}}}}),hV=function(){function n(n,l,e,t){this._elementRef=n,this._ngZone=l,this._inkBarPositioner=e,this._animationMode=t}return n.prototype.alignToElement=function(n){var l=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular((function(){requestAnimationFrame((function(){return l._setStyles(n)}))})):this._setStyles(n)},n.prototype.show=function(){this._elementRef.nativeElement.style.visibility="visible"},n.prototype.hide=function(){this._elementRef.nativeElement.style.visibility="hidden"},n.prototype._setStyles=function(n){var l=this._inkBarPositioner(n),e=this._elementRef.nativeElement;e.style.left=l.left,e.style.width=l.width},n}(),gV=function(){return function(n){this.template=n}}(),bV=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(hu),vV=function(n){function l(l){var e=n.call(this)||this;return e._viewContainerRef=l,e.textLabel="",e._contentPortal=null,e._stateChanges=new M,e.position=null,e.origin=null,e.isActive=!1,e}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"content",{get:function(){return this._contentPortal},enumerable:!0,configurable:!0}),l.prototype.ngOnChanges=function(n){(n.hasOwnProperty("textLabel")||n.hasOwnProperty("disabled"))&&this._stateChanges.next()},l.prototype.ngOnDestroy=function(){this._stateChanges.complete()},l.prototype.ngOnInit=function(){this._contentPortal=new du(this._explicitContent||this._implicitContent,this._viewContainerRef)},l}(Wb(function(){return function(){}}())),_V=function(n){function l(l,e,t){var i=n.call(this,l,e)||this;return i._host=t,i._centeringSub=s.EMPTY,i._leavingSub=s.EMPTY,i}return Object(t.__extends)(l,n),l.prototype.ngOnInit=function(){var l=this;n.prototype.ngOnInit.call(this),this._centeringSub=this._host._beforeCentering.pipe(Pc(this._host._isCenterPosition(this._host._position))).subscribe((function(n){n&&!l.hasAttached()&&l.attach(l._host._content)})),this._leavingSub=this._host._afterLeavingCenter.subscribe((function(){l.detach()}))},l.prototype.ngOnDestroy=function(){n.prototype.ngOnDestroy.call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()},l}(gu),yV=function(n){function l(l,e,t){return n.call(this,l,e,t)||this}return Object(t.__extends)(l,n),l}(function(){function n(n,l,e){var t=this;this._elementRef=n,this._dir=l,this._dirChangeSubscription=s.EMPTY,this._translateTabComplete=new M,this._onCentering=new la,this._beforeCentering=new la,this._afterLeavingCenter=new la,this._onCentered=new la(!0),this.animationDuration="500ms",l&&(this._dirChangeSubscription=l.change.subscribe((function(n){t._computePositionAnimationState(n),e.markForCheck()}))),this._translateTabComplete.pipe(Gh((function(n,l){return n.fromState===l.fromState&&n.toState===l.toState}))).subscribe((function(n){t._isCenterPosition(n.toState)&&t._isCenterPosition(t._position)&&t._onCentered.emit(),t._isCenterPosition(n.fromState)&&!t._isCenterPosition(t._position)&&t._afterLeavingCenter.emit()}))}return Object.defineProperty(n.prototype,"position",{set:function(n){this._positionIndex=n,this._computePositionAnimationState()},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin())},n.prototype.ngOnDestroy=function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()},n.prototype._onTranslateTabStarted=function(n){var l=this._isCenterPosition(n.toState);this._beforeCentering.emit(l),l&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)},n.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._isCenterPosition=function(n){return"center"==n||"left-origin-center"==n||"right-origin-center"==n},n.prototype._computePositionAnimationState=function(n){void 0===n&&(n=this._getLayoutDirection()),this._position=this._positionIndex<0?"ltr"==n?"left":"right":this._positionIndex>0?"ltr"==n?"right":"left":"center"},n.prototype._computePositionFromOrigin=function(){var n=this._getLayoutDirection();return"ltr"==n&&this.origin<=0||"rtl"==n&&this.origin>0?"left-origin-center":"right-origin-center"},n}()),wV=0,xV=function(){return function(){}}(),CV=new On("MAT_TABS_CONFIG"),kV=function(n){function l(l,e,t,i){return n.call(this,l,e,t,i)||this}return Object(t.__extends)(l,n),l}(function(n){function l(l,e,t,i){var a=n.call(this,l)||this;return a._changeDetectorRef=e,a._animationMode=i,a._indexToSelect=0,a._tabBodyWrapperHeight=0,a._tabsSubscription=s.EMPTY,a._tabLabelSubscription=s.EMPTY,a._dynamicHeight=!1,a._selectedIndex=null,a.headerPosition="above",a.selectedIndexChange=new la,a.focusChange=new la,a.animationDone=new la,a.selectedTabChange=new la(!0),a._groupId=wV++,a.animationDuration=t&&t.animationDuration?t.animationDuration:"500ms",a}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"dynamicHeight",{get:function(){return this._dynamicHeight},set:function(n){this._dynamicHeight=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){this._indexToSelect=Jf(n,null)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"animationDuration",{get:function(){return this._animationDuration},set:function(n){this._animationDuration=/^\d+$/.test(n)?n+"ms":n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(n){var l=this._elementRef.nativeElement;l.classList.remove("mat-background-"+this.backgroundColor),n&&l.classList.add("mat-background-"+n),this._backgroundColor=n},enumerable:!0,configurable:!0}),l.prototype.ngAfterContentChecked=function(){var n=this,l=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=l){var e=null==this._selectedIndex;e||this.selectedTabChange.emit(this._createChangeEvent(l)),Promise.resolve().then((function(){n._tabs.forEach((function(n,e){return n.isActive=e===l})),e||n.selectedIndexChange.emit(l)}))}this._tabs.forEach((function(e,t){e.position=t-l,null==n._selectedIndex||0!=e.position||e.origin||(e.origin=l-n._selectedIndex)})),this._selectedIndex!==l&&(this._selectedIndex=l,this._changeDetectorRef.markForCheck())},l.prototype.ngAfterContentInit=function(){var n=this;this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe((function(){if(n._clampTabIndex(n._indexToSelect)===n._selectedIndex)for(var l=n._tabs.toArray(),e=0;e<l.length;e++)if(l[e].isActive){n._indexToSelect=n._selectedIndex=e;break}n._subscribeToTabLabels(),n._changeDetectorRef.markForCheck()}))},l.prototype.ngOnDestroy=function(){this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()},l.prototype.realignInkBar=function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()},l.prototype._focusChanged=function(n){this.focusChange.emit(this._createChangeEvent(n))},l.prototype._createChangeEvent=function(n){var l=new xV;return l.index=n,this._tabs&&this._tabs.length&&(l.tab=this._tabs.toArray()[n]),l},l.prototype._subscribeToTabLabels=function(){var n=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=Z.apply(void 0,this._tabs.map((function(n){return n._stateChanges}))).subscribe((function(){return n._changeDetectorRef.markForCheck()}))},l.prototype._clampTabIndex=function(n){return Math.min(this._tabs.length-1,Math.max(n||0,0))},l.prototype._getTabLabelId=function(n){return"mat-tab-label-"+this._groupId+"-"+n},l.prototype._getTabContentId=function(n){return"mat-tab-content-"+this._groupId+"-"+n},l.prototype._setTabBodyWrapperHeight=function(n){if(this._dynamicHeight&&this._tabBodyWrapperHeight){var l=this._tabBodyWrapper.nativeElement;l.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(l.style.height=n+"px")}},l.prototype._removeTabBodyWrapperHeight=function(){var n=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=n.clientHeight,n.style.height="",this.animationDone.emit()},l.prototype._handleClick=function(n,l,e){n.disabled||(this.selectedIndex=l.focusIndex=e)},l.prototype._getTabIndex=function(n,l){return n.disabled?null:this.selectedIndex===l?0:-1},l}(Kb(Yb(function(){return function(n){this._elementRef=n}}()),"primary"))),SV=function(n){function l(l){var e=n.call(this)||this;return e.elementRef=l,e}return Object(t.__extends)(l,n),l.prototype.focus=function(){this.elementRef.nativeElement.focus()},l.prototype.getOffsetLeft=function(){return this.elementRef.nativeElement.offsetLeft},l.prototype.getOffsetWidth=function(){return this.elementRef.nativeElement.offsetWidth},l}(Wb(function(){return function(){}}())),IV=mh({passive:!0}),AV=function(n){function l(l,e,t,i,a,o,r){return n.call(this,l,e,t,i,a,o,r)||this}return Object(t.__extends)(l,n),l}(function(n){function l(l,e,t,i,a,o,r){var u=n.call(this,l,e,t,i,a,o,r)||this;return u._disableRipple=!1,u}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"disableRipple",{get:function(){return this._disableRipple},set:function(n){this._disableRipple=Yf(n)},enumerable:!0,configurable:!0}),l.prototype._itemSelected=function(n){n.preventDefault()},l}(function(){function n(n,l,e,t,i,a,o){var r=this;this._elementRef=n,this._changeDetectorRef=l,this._viewportRuler=e,this._dir=t,this._ngZone=i,this._platform=a,this._animationMode=o,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new M,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new M,this._selectedIndex=0,this.selectFocusedIndex=new la,this.indexFocused=new la,i.runOutsideAngular((function(){Vh(n.nativeElement,"mouseleave").pipe(Ph(r._destroyed)).subscribe((function(){r._stopInterval()}))}))}return Object.defineProperty(n.prototype,"selectedIndex",{get:function(){return this._selectedIndex},set:function(n){n=Jf(n),this._selectedIndex!=n&&(this._selectedIndexChanged=!0,this._selectedIndex=n,this._keyManager&&this._keyManager.updateActiveItemIndex(n))},enumerable:!0,configurable:!0}),n.prototype.ngAfterViewInit=function(){var n=this;Vh(this._previousPaginator.nativeElement,"touchstart",IV).pipe(Ph(this._destroyed)).subscribe((function(){n._handlePaginatorPress("before")})),Vh(this._nextPaginator.nativeElement,"touchstart",IV).pipe(Ph(this._destroyed)).subscribe((function(){n._handlePaginatorPress("after")}))},n.prototype.ngAfterContentInit=function(){var n=this,l=this._dir?this._dir.change:lu(null),e=this._viewportRuler.change(150),t=function(){n.updatePagination(),n._alignInkBarToSelectedTab()};this._keyManager=new Ab(this._items).withHorizontalOrientation(this._getLayoutDirection()).withWrap(),this._keyManager.updateActiveItem(0),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(t):t(),Z(l,e,this._items.changes).pipe(Ph(this._destroyed)).subscribe((function(){t(),n._keyManager.withHorizontalOrientation(n._getLayoutDirection())})),this._keyManager.change.pipe(Ph(this._destroyed)).subscribe((function(l){n.indexFocused.emit(l),n._setTabFocus(l)}))},n.prototype.ngAfterContentChecked=function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()},n.prototype._handleKeydown=function(n){if(!oh(n))switch(n.keyCode){case 36:this._keyManager.setFirstItemActive(),n.preventDefault();break;case 35:this._keyManager.setLastItemActive(),n.preventDefault();break;case 13:case 32:this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(n);break;default:this._keyManager.onKeydown(n)}},n.prototype._onContentChanges=function(){var n=this,l=this._elementRef.nativeElement.textContent;l!==this._currentTextContent&&(this._currentTextContent=l||"",this._ngZone.run((function(){n.updatePagination(),n._alignInkBarToSelectedTab(),n._changeDetectorRef.markForCheck()})))},n.prototype.updatePagination=function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()},Object.defineProperty(n.prototype,"focusIndex",{get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(n){this._isValidIndex(n)&&this.focusIndex!==n&&this._keyManager&&this._keyManager.setActiveItem(n)},enumerable:!0,configurable:!0}),n.prototype._isValidIndex=function(n){if(!this._items)return!0;var l=this._items?this._items.toArray()[n]:null;return!!l&&!l.disabled},n.prototype._setTabFocus=function(n){if(this._showPaginationControls&&this._scrollToLabel(n),this._items&&this._items.length){this._items.toArray()[n].focus();var l=this._tabListContainer.nativeElement,e=this._getLayoutDirection();l.scrollLeft="ltr"==e?0:l.scrollWidth-l.offsetWidth}},n.prototype._getLayoutDirection=function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"},n.prototype._updateTabScrollPosition=function(){var n=this.scrollDistance,l=this._platform,e="ltr"===this._getLayoutDirection()?-n:n;this._tabList.nativeElement.style.transform="translateX("+Math.round(e)+"px)",l&&(l.TRIDENT||l.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)},Object.defineProperty(n.prototype,"scrollDistance",{get:function(){return this._scrollDistance},set:function(n){this._scrollTo(n)},enumerable:!0,configurable:!0}),n.prototype._scrollHeader=function(n){return this._scrollTo(this._scrollDistance+("before"==n?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)},n.prototype._handlePaginatorClick=function(n){this._stopInterval(),this._scrollHeader(n)},n.prototype._scrollToLabel=function(n){var l=this._items?this._items.toArray()[n]:null;if(l){var e,t,i=this._tabListContainer.nativeElement.offsetWidth,a=l.elementRef.nativeElement,o=a.offsetLeft,r=a.offsetWidth;"ltr"==this._getLayoutDirection()?t=(e=o)+r:e=(t=this._tabList.nativeElement.offsetWidth-o)-r;var u=this.scrollDistance,s=this.scrollDistance+i;e<u?this.scrollDistance-=u-e+60:t>s&&(this.scrollDistance+=t-s+60)}},n.prototype._checkPaginationEnabled=function(){var n=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;n||(this.scrollDistance=0),n!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=n},n.prototype._checkScrollingControls=function(){this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck()},n.prototype._getMaxScrollDistance=function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0},n.prototype._alignInkBarToSelectedTab=function(){var n=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,l=n?n.elementRef.nativeElement:null;l?this._inkBar.alignToElement(l):this._inkBar.hide()},n.prototype._stopInterval=function(){this._stopScrolling.next()},n.prototype._handlePaginatorPress=function(n){var l=this;this._stopInterval(),Qh(650,100).pipe(Ph(Z(this._stopScrolling,this._destroyed))).subscribe((function(){var e=l._scrollHeader(n),t=e.distance;(0===t||t>=e.maxScrollDistance)&&l._stopInterval()}))},n.prototype._scrollTo=function(n){var l=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(l,n)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:l,distance:this._scrollDistance}},n}())),MV=function(){return function(){}}(),PV=yt({encapsulation:2,styles:[".mat-tab-group{display:flex;flex-direction:column}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{padding:0 12px}}@media (max-width:959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}"],data:{}});function DV(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function FV(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,DV)),Di(1,212992,null,0,gu,[Se,lt],{portal:[0,"portal"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.parent.context.$implicit.templateLabel)}),null)}function EV(n){return jo(0,[(n()(),Lo(0,null,["",""]))],null,(function(n,l){n(l,0,0,l.parent.context.$implicit.textLabel)}))}function OV(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["cdkMonitorElementFocus",""],["class","mat-tab-label mat-ripple"],["mat-ripple",""],["matTabLabelWrapper",""],["role","tab"]],[[8,"id",0],[1,"tabIndex",0],[1,"aria-posinset",0],[1,"aria-setsize",0],[1,"aria-controls",0],[1,"aria-selected",0],[1,"aria-label",0],[1,"aria-labelledby",0],[2,"mat-tab-label-active",null],[2,"mat-ripple-unbounded",null],[2,"mat-tab-disabled",null],[1,"aria-disabled",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component._handleClick(n.context.$implicit,bi(n.parent,3),n.context.index)&&t),t}),null,null)),Di(1,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"]},null),Di(2,147456,null,0,zb,[Pe,qb],null,null),Di(3,16384,[[3,4]],0,SV,[Pe],{disabled:[0,"disabled"]},null),(n()(),_o(4,0,null,null,4,"div",[["class","mat-tab-label-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,FV)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,EV)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,l.context.$implicit.disabled||l.component.disableRipple),n(l,3,0,l.context.$implicit.disabled),n(l,6,0,l.context.$implicit.templateLabel),n(l,8,0,!l.context.$implicit.templateLabel)}),(function(n,l){var e=l.component;n(l,0,1,[e._getTabLabelId(l.context.index),e._getTabIndex(l.context.$implicit,l.context.index),l.context.index+1,e._tabs.length,e._getTabContentId(l.context.index),e.selectedIndex==l.context.index,l.context.$implicit.ariaLabel||null,!l.context.$implicit.ariaLabel&&l.context.$implicit.ariaLabelledby?l.context.$implicit.ariaLabelledby:null,e.selectedIndex==l.context.index,bi(l,1).unbounded,bi(l,3).disabled,!!bi(l,3).disabled])}))}function TV(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-tab-body",[["class","mat-tab-body"],["role","tabpanel"]],[[8,"id",0],[1,"aria-labelledby",0],[2,"mat-tab-body-active",null]],[[null,"_onCentered"],[null,"_onCentering"]],(function(n,l,e){var t=!0,i=n.component;return"_onCentered"===l&&(t=!1!==i._removeTabBodyWrapperHeight()&&t),"_onCentering"===l&&(t=!1!==i._setTabBodyWrapperHeight(e)&&t),t}),jV,RV)),Di(1,245760,null,0,yV,[Pe,[2,bb],Nl],{_content:[0,"_content"],origin:[1,"origin"],animationDuration:[2,"animationDuration"],position:[3,"position"]},{_onCentering:"_onCentering",_onCentered:"_onCentered"})],(function(n,l){n(l,1,0,l.context.$implicit.content,l.context.$implicit.origin,l.component.animationDuration,l.context.$implicit.position)}),(function(n,l){var e=l.component;n(l,0,0,e._getTabContentId(l.context.index),e._getTabLabelId(l.context.index),e.selectedIndex==l.context.index)}))}function LV(n){return jo(2,[ko(671088640,1,{_tabBodyWrapper:0}),ko(671088640,2,{_tabHeader:0}),(n()(),_o(2,0,null,null,4,"mat-tab-header",[["class","mat-tab-header"]],[[2,"mat-tab-header-pagination-controls-enabled",null],[2,"mat-tab-header-rtl",null]],[[null,"indexFocused"],[null,"selectFocusedIndex"]],(function(n,l,e){var t=!0,i=n.component;return"indexFocused"===l&&(t=!1!==i._focusChanged(e)&&t),"selectFocusedIndex"===l&&(t=!1!==(i.selectedIndex=e)&&t),t}),qV,VV)),Di(3,7520256,[[2,4],["tabHeader",4]],1,AV,[Pe,Nl,Mg,[2,bb],La,sh,[2,SC]],{selectedIndex:[0,"selectedIndex"],disableRipple:[1,"disableRipple"]},{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"}),ko(603979776,3,{_items:1}),(n()(),vo(16777216,null,0,1,null,OV)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(7,0,[[1,0],["tabBodyWrapper",1]],null,2,"div",[["class","mat-tab-body-wrapper"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,TV)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedIndex,e.disableRipple),n(l,6,0,e._tabs),n(l,9,0,e._tabs)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._showPaginationControls,"rtl"==bi(l,3)._getLayoutDirection()),n(l,7,0,"NoopAnimations"===e._animationMode)}))}var RV=yt({encapsulation:2,styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}"],data:{animation:[{type:7,name:"translateTab",definitions:[{type:0,name:"center, void, left-origin-center, right-origin-center",styles:{type:6,styles:{transform:"none"},offset:null},options:void 0},{type:0,name:"left",styles:{type:6,styles:{transform:"translate3d(-100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:0,name:"right",styles:{type:6,styles:{transform:"translate3d(100%, 0, 0)",minHeight:"1px"},offset:null},options:void 0},{type:1,expr:"* => left, * => right, left => center, right => center",animation:{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"},options:null},{type:1,expr:"void => left-origin-center",animation:[{type:6,styles:{transform:"translate3d(-100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null},{type:1,expr:"void => right-origin-center",animation:[{type:6,styles:{transform:"translate3d(100%, 0, 0)"},offset:null},{type:4,styles:null,timings:"{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"}],options:null}],options:{}}]}});function NV(n){return jo(0,[(n()(),vo(0,null,null,0))],null,null)}function jV(n){return jo(2,[ko(671088640,1,{_portalHost:0}),(n()(),_o(1,0,[["content",1]],null,4,"div",[["class","mat-tab-body-content"]],[[24,"@translateTab",0]],[[null,"@translateTab.start"],[null,"@translateTab.done"]],(function(n,l,e){var t=!0,i=n.component;return"@translateTab.start"===l&&(t=!1!==i._onTranslateTabStarted(e)&&t),"@translateTab.done"===l&&(t=!1!==i._translateTabComplete.next(e)&&t),t}),null,null)),Oo(2,{animationDuration:0}),Oo(3,{value:0,params:1}),(n()(),vo(16777216,null,null,1,null,NV)),Di(5,212992,null,0,_V,[Se,lt,yV],null,null)],(function(n,l){n(l,5,0)}),(function(n,l){var e=l.component,t=n(l,3,0,e._position,n(l,2,0,e.animationDuration));n(l,1,0,t)}))}var VV=yt({encapsulation:2,styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}@media (-ms-high-contrast:active){.mat-ink-bar{outline:solid 2px;height:0}}.mat-tab-labels{display:flex}[mat-align-tabs=center] .mat-tab-labels{justify-content:center}[mat-align-tabs=end] .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:0}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}@media (-ms-high-contrast:active){.mat-tab-label:focus{outline:dotted 2px}}.mat-tab-label.mat-tab-disabled{cursor:default}@media (-ms-high-contrast:active){.mat-tab-label.mat-tab-disabled{opacity:.5}}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}@media (-ms-high-contrast:active){.mat-tab-label{opacity:1}}@media (max-width:599px){.mat-tab-label{min-width:72px}}"],data:{}});function qV(n){return jo(2,[ko(402653184,1,{_inkBar:0}),ko(402653184,2,{_tabListContainer:0}),ko(402653184,3,{_tabList:0}),ko(671088640,4,{_nextPaginator:0}),ko(671088640,5,{_previousPaginator:0}),(n()(),_o(5,0,[[5,0],["previousPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"],[null,"mousedown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i._handlePaginatorClick("before")&&t),"mousedown"===l&&(t=!1!==i._handlePaginatorPress("before")&&t),"touchend"===l&&(t=!1!==i._stopInterval()&&t),t}),null,null)),Di(6,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(7,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null)),(n()(),_o(8,0,[[2,0],["tabListContainer",1]],null,6,"div",[["class","mat-tab-label-container"]],null,[[null,"keydown"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==n.component._handleKeydown(e)&&t),t}),null,null)),(n()(),_o(9,0,[[3,0],["tabList",1]],null,5,"div",[["class","mat-tab-list"],["role","tablist"]],[[2,"_mat-animation-noopable",null]],[[null,"cdkObserveContent"]],(function(n,l,e){var t=!0;return"cdkObserveContent"===l&&(t=!1!==n.component._onContentChanges()&&t),t}),null,null)),Di(10,1196032,null,0,fb,[mb,Pe,La],null,{event:"cdkObserveContent"}),(n()(),_o(11,0,null,null,1,"div",[["class","mat-tab-labels"]],null,null,null,null,null)),Po(null,0),(n()(),_o(13,0,null,null,1,"mat-ink-bar",[["class","mat-ink-bar"]],[[2,"_mat-animation-noopable",null]],null,null,null,null)),Di(14,16384,[[1,4]],0,hV,[Pe,La,fV,[2,SC]],null,null),(n()(),_o(15,0,[[4,0],["nextPaginator",1]],null,2,"div",[["aria-hidden","true"],["class","mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4 mat-ripple"],["mat-ripple",""]],[[2,"mat-tab-header-pagination-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"mousedown"],[null,"click"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==i._handlePaginatorPress("after")&&t),"click"===l&&(t=!1!==i._handlePaginatorClick("after")&&t),"touchend"===l&&(t=!1!==i._stopInterval()&&t),t}),null,null)),Di(16,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(17,0,null,null,0,"div",[["class","mat-tab-header-pagination-chevron"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,6,0,e._disableScrollBefore||e.disableRipple),n(l,16,0,e._disableScrollAfter||e.disableRipple)}),(function(n,l){var e=l.component;n(l,5,0,e._disableScrollBefore,bi(l,6).unbounded),n(l,9,0,"NoopAnimations"===e._animationMode),n(l,13,0,"NoopAnimations"===bi(l,14)._animationMode),n(l,15,0,e._disableScrollAfter,bi(l,16).unbounded)}))}var zV=yt({encapsulation:2,styles:[],data:{}});function UV(n){return jo(0,[Po(null,0),(n()(),vo(0,null,null,0))],null,null)}function BV(n){return jo(2,[ko(402653184,1,{_implicitContent:0}),(n()(),vo(0,[[1,2]],null,0,null,UV))],null,null)}function $V(n){return null!=n}var HV=function(){return function(n){this.name=n}}();HV.COPY=new HV("copy"),HV.LINK=new HV("link"),HV.MOVE=new HV("move"),HV.NONE=new HV("none");var GV=function(){return function(){this.onDragStartClass="dnd-drag-start",this.onDragEnterClass="dnd-drag-enter",this.onDragOverClass="dnd-drag-over",this.onSortableDragClass="dnd-sortable-drag",this.dragEffect=HV.MOVE,this.dropEffect=HV.MOVE,this.dragCursor="move",this.defaultCursor="pointer"}}();function WV(){return new KV}var KV=function(){return function(){this.allowedDropZones=[]}}();function YV(n){return new JV(n)}KV=Object(t.__decorate)([Zl()],KV);var JV=function(){function n(n){this._config=n}return Object.defineProperty(n.prototype,"elem",{get:function(){return this._elem},enumerable:!0,configurable:!0}),n.prototype.markSortable=function(n){$V(this._elem)&&this._elem.classList.remove(this._config.onSortableDragClass),$V(n)&&(this._elem=n,this._elem.classList.add(this._config.onSortableDragClass))},n}();JV=Object(t.__decorate)([Zl(),Object(t.__metadata)("design:paramtypes",[GV])],JV);var ZV=function(){function n(n,l,e,t){var i=this;this._dragDropService=l,this._config=e,this._cdr=t,this._dragEnabled=!1,this.dropEnabled=!1,this.dropZones=[],this.cloneItem=!1,this._defaultCursor=e.defaultCursor,this._elem=n.nativeElement,this._elem.style.cursor=this._defaultCursor,this._elem.ondragenter=function(n){i._onDragEnter(n)},this._elem.ondragover=function(n){return i._onDragOver(n),null!=n.dataTransfer&&(n.dataTransfer.dropEffect=i._config.dropEffect.name),!1},this._elem.ondragleave=function(n){i._onDragLeave(n)},this._elem.ondrop=function(n){i._onDrop(n)},this._elem.onmousedown=function(n){i._target=n.target},this._elem.ondragstart=function(n){if(!i._dragHandle||i._dragHandle.contains(i._target)){if(i._onDragStart(n),null!=n.dataTransfer){if(n.dataTransfer.setData("text",""),n.dataTransfer.effectAllowed=i.effectAllowed||i._config.dragEffect.name,$V(i.dragImage))if("string"==typeof i.dragImage)n.dataTransfer.setDragImage(function(n){var l=new HTMLImageElement;return l.src=n,l}(i.dragImage));else if("function"==typeof i.dragImage)n.dataTransfer.setDragImage((0,i.dragImage)());else{var l=i.dragImage;n.dataTransfer.setDragImage(l.imageElement,l.x_offset,l.y_offset)}else if($V(i._config.dragImage)){var e=i._config.dragImage;n.dataTransfer.setDragImage(e.imageElement,e.x_offset,e.y_offset)}else i.cloneItem&&(i._dragHelper=i._elem.cloneNode(!0),i._dragHelper.classList.add("dnd-drag-item"),i._dragHelper.style.position="absolute",i._dragHelper.style.top="0px",i._dragHelper.style.left="-1000px",i._elem.parentElement.appendChild(i._dragHelper),n.dataTransfer.setDragImage(i._dragHelper,n.offsetX,n.offsetY));(i._dragHandle?i._dragHandle:i._elem).style.cursor=i._dragEnabled?i.effectCursor?i.effectCursor:i._config.dragCursor:i._defaultCursor}}else n.preventDefault()},this._elem.ondragend=function(n){i._elem.parentElement&&i._dragHelper&&i._elem.parentElement.removeChild(i._dragHelper),i._onDragEnd(n),(i._dragHandle?i._dragHandle:i._elem).style.cursor=i._defaultCursor}}return Object.defineProperty(n.prototype,"dragEnabled",{get:function(){return this._dragEnabled},set:function(n){this._dragEnabled=!!n,this._elem.draggable=this._dragEnabled},enumerable:!0,configurable:!0}),n.prototype.setDragHandle=function(n){this._dragHandle=n},n.prototype.detectChanges=function(){var n=this;setTimeout((function(){n._cdr&&!n._cdr.destroyed&&n._cdr.detectChanges()}),250)},n.prototype._onDragEnter=function(n){this._isDropAllowed(n)&&this._onDragEnterCallback(n)},n.prototype._onDragOver=function(n){this._isDropAllowed(n)&&(n.preventDefault&&n.preventDefault(),this._onDragOverCallback(n))},n.prototype._onDragLeave=function(n){this._isDropAllowed(n)&&this._onDragLeaveCallback(n)},n.prototype._onDrop=function(n){this._isDropAllowed(n)&&(this._preventAndStop(n),this._onDropCallback(n),this.detectChanges())},n.prototype._isDropAllowed=function(n){if((this._dragDropService.isDragged||n.dataTransfer&&n.dataTransfer.files)&&this.dropEnabled){if(this.allowDrop)return this.allowDrop(this._dragDropService.dragData);if(0===this.dropZones.length&&0===this._dragDropService.allowedDropZones.length)return!0;for(var l=0;l<this._dragDropService.allowedDropZones.length;l++)if(-1!==this.dropZones.indexOf(this._dragDropService.allowedDropZones[l]))return!0}return!1},n.prototype._preventAndStop=function(n){n.preventDefault&&n.preventDefault(),n.stopPropagation&&n.stopPropagation()},n.prototype._onDragStart=function(n){this._dragEnabled&&(this._dragDropService.allowedDropZones=this.dropZones,this._onDragStartCallback(n))},n.prototype._onDragEnd=function(n){this._dragDropService.allowedDropZones=[],this._onDragEndCallback(n)},n.prototype._onDragEnterCallback=function(n){},n.prototype._onDragOverCallback=function(n){},n.prototype._onDragLeaveCallback=function(n){},n.prototype._onDropCallback=function(n){},n.prototype._onDragStartCallback=function(n){},n.prototype._onDragEndCallback=function(n){},n}();ZV=Object(t.__decorate)([Zl(),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,Nl])],ZV);var QV=function(){return function(n,l,e,t,i){this._dragDropService=l,this._config=e,this._Component=t,this._cdr=i,this._elem=n.nativeElement,this._Component.setDragHandle(this._elem)}}(),XV=function(n){function l(l,e,t,i){var a=n.call(this,l,e,t,i)||this;return a.onDragStart=new la,a.onDragEnd=new la,a.onDragSuccessCallback=new la,a._defaultCursor=a._elem.style.cursor,a.dragEnabled=!0,a}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"draggable",{set:function(n){this.dragEnabled=!!n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dropzones",{set:function(n){this.dropZones=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"effectallowed",{set:function(n){this.effectAllowed=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"effectcursor",{set:function(n){this.effectCursor=n},enumerable:!0,configurable:!0}),l.prototype._onDragStartCallback=function(n){this._dragDropService.isDragged=!0,this._dragDropService.dragData=this.dragData,this._dragDropService.onDragSuccessCallback=this.onDragSuccessCallback,this._elem.classList.add(this._config.onDragStartClass),this.onDragStart.emit({dragData:this.dragData,mouseEvent:n})},l.prototype._onDragEndCallback=function(n){this._dragDropService.isDragged=!1,this._dragDropService.dragData=null,this._dragDropService.onDragSuccessCallback=null,this._elem.classList.remove(this._config.onDragStartClass),this.onDragEnd.emit({dragData:this.dragData,mouseEvent:n})},l}(ZV);Object(t.__decorate)([aa("dragEnabled"),Object(t.__metadata)("design:type",Boolean),Object(t.__metadata)("design:paramtypes",[Boolean])],XV.prototype,"draggable",null),Object(t.__decorate)([oa(),Object(t.__metadata)("design:type",la)],XV.prototype,"onDragStart",void 0),Object(t.__decorate)([oa(),Object(t.__metadata)("design:type",la)],XV.prototype,"onDragEnd",void 0),Object(t.__decorate)([aa(),Object(t.__metadata)("design:type",Object)],XV.prototype,"dragData",void 0),Object(t.__decorate)([oa("onDragSuccess"),Object(t.__metadata)("design:type",la)],XV.prototype,"onDragSuccessCallback",void 0),Object(t.__decorate)([aa("dropZones"),Object(t.__metadata)("design:type",Array),Object(t.__metadata)("design:paramtypes",[Array])],XV.prototype,"dropzones",null),Object(t.__decorate)([aa("effectAllowed"),Object(t.__metadata)("design:type",String),Object(t.__metadata)("design:paramtypes",[String])],XV.prototype,"effectallowed",null),Object(t.__decorate)([aa("effectCursor"),Object(t.__metadata)("design:type",String),Object(t.__metadata)("design:paramtypes",[String])],XV.prototype,"effectcursor",null),Object(t.__decorate)([aa(),Object(t.__metadata)("design:type",Object)],XV.prototype,"dragImage",void 0),Object(t.__decorate)([aa(),Object(t.__metadata)("design:type",Boolean)],XV.prototype,"cloneItem",void 0),XV=Object(t.__decorate)([ia({selector:"[dnd-draggable]"}),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,Nl])],XV);var nq=function(n){function l(l,e,t,i,a){return n.call(this,l,e,t,i,a)||this}return Object(t.__extends)(l,n),l}(QV);nq=Object(t.__decorate)([ia({selector:"[dnd-draggable-handle]"}),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,XV,Nl])],nq);var lq=function(n){function l(l,e,t,i){var a=n.call(this,l,e,t,i)||this;return a.onDropSuccess=new la,a.onDragEnter=new la,a.onDragOver=new la,a.onDragLeave=new la,a.dropEnabled=!0,a}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"droppable",{set:function(n){this.dropEnabled=!!n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"allowdrop",{set:function(n){this.allowDrop=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dropzones",{set:function(n){this.dropZones=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"effectallowed",{set:function(n){this.effectAllowed=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"effectcursor",{set:function(n){this.effectCursor=n},enumerable:!0,configurable:!0}),l.prototype._onDragEnterCallback=function(n){this._dragDropService.isDragged&&(this._elem.classList.add(this._config.onDragEnterClass),this.onDragEnter.emit({dragData:this._dragDropService.dragData,mouseEvent:n}))},l.prototype._onDragOverCallback=function(n){this._dragDropService.isDragged&&(this._elem.classList.add(this._config.onDragOverClass),this.onDragOver.emit({dragData:this._dragDropService.dragData,mouseEvent:n}))},l.prototype._onDragLeaveCallback=function(n){this._dragDropService.isDragged&&(this._elem.classList.remove(this._config.onDragOverClass),this._elem.classList.remove(this._config.onDragEnterClass),this.onDragLeave.emit({dragData:this._dragDropService.dragData,mouseEvent:n}))},l.prototype._onDropCallback=function(n){var l=n.dataTransfer;(this._dragDropService.isDragged||l&&l.files)&&(this.onDropSuccess.emit({dragData:this._dragDropService.dragData,mouseEvent:n}),this._dragDropService.onDragSuccessCallback&&this._dragDropService.onDragSuccessCallback.emit({dragData:this._dragDropService.dragData,mouseEvent:n}),this._elem.classList.remove(this._config.onDragOverClass),this._elem.classList.remove(this._config.onDragEnterClass))},l}(ZV);Object(t.__decorate)([aa("dropEnabled"),Object(t.__metadata)("design:type",Boolean),Object(t.__metadata)("design:paramtypes",[Boolean])],lq.prototype,"droppable",null),Object(t.__decorate)([oa(),Object(t.__metadata)("design:type",la)],lq.prototype,"onDropSuccess",void 0),Object(t.__decorate)([oa(),Object(t.__metadata)("design:type",la)],lq.prototype,"onDragEnter",void 0),Object(t.__decorate)([oa(),Object(t.__metadata)("design:type",la)],lq.prototype,"onDragOver",void 0),Object(t.__decorate)([oa(),Object(t.__metadata)("design:type",la)],lq.prototype,"onDragLeave",void 0),Object(t.__decorate)([aa("allowDrop"),Object(t.__metadata)("design:type",Function),Object(t.__metadata)("design:paramtypes",[Function])],lq.prototype,"allowdrop",null),Object(t.__decorate)([aa("dropZones"),Object(t.__metadata)("design:type",Array),Object(t.__metadata)("design:paramtypes",[Array])],lq.prototype,"dropzones",null),Object(t.__decorate)([aa("effectAllowed"),Object(t.__metadata)("design:type",String),Object(t.__metadata)("design:paramtypes",[String])],lq.prototype,"effectallowed",null),Object(t.__decorate)([aa("effectCursor"),Object(t.__metadata)("design:type",String),Object(t.__metadata)("design:paramtypes",[String])],lq.prototype,"effectcursor",null),lq=Object(t.__decorate)([ia({selector:"[dnd-droppable]"}),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,Nl])],lq);var eq=function(n){function l(l,e,t,i,a){var o=n.call(this,l,e,t,i)||this;return o._sortableDataService=a,o._sortableData=[],o.dragEnabled=!1,o}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"draggable",{set:function(n){this.dragEnabled=!!n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"sortableData",{get:function(){return this._sortableData},set:function(n){this._sortableData=n,this.sortableHandler=n instanceof dy?new iq:new tq,this.dropEnabled=!!this._sortableData},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"dropzones",{set:function(n){this.dropZones=n},enumerable:!0,configurable:!0}),l.prototype._onDragEnterCallback=function(n){if(this._sortableDataService.isDragged){var l=this._sortableDataService.sortableContainer.getItemAt(this._sortableDataService.index);-1===this.indexOf(l)&&(this._sortableDataService.sortableContainer.removeItemAt(this._sortableDataService.index),0===this._sortableDataService.sortableContainer._sortableData.length&&(this._sortableDataService.sortableContainer.dropEnabled=!0),this.insertItemAt(l,0),this._sortableDataService.sortableContainer=this,this._sortableDataService.index=0),this.detectChanges()}},l.prototype.getItemAt=function(n){return this.sortableHandler.getItemAt(this._sortableData,n)},l.prototype.indexOf=function(n){return this.sortableHandler.indexOf(this._sortableData,n)},l.prototype.removeItemAt=function(n){this.sortableHandler.removeItemAt(this._sortableData,n)},l.prototype.insertItemAt=function(n,l){this.sortableHandler.insertItemAt(this._sortableData,n,l)},l}(ZV);Object(t.__decorate)([aa("dragEnabled"),Object(t.__metadata)("design:type",Boolean),Object(t.__metadata)("design:paramtypes",[Boolean])],eq.prototype,"draggable",null),Object(t.__decorate)([aa(),Object(t.__metadata)("design:type",Object),Object(t.__metadata)("design:paramtypes",[Object])],eq.prototype,"sortableData",null),Object(t.__decorate)([aa("dropZones"),Object(t.__metadata)("design:type",Array),Object(t.__metadata)("design:paramtypes",[Array])],eq.prototype,"dropzones",null),eq=Object(t.__decorate)([ia({selector:"[dnd-sortable-container]"}),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,Nl,JV])],eq);var tq=function(){function n(){}return n.prototype.getItemAt=function(n,l){return n[l]},n.prototype.indexOf=function(n,l){return n.indexOf(l)},n.prototype.removeItemAt=function(n,l){n.splice(l,1)},n.prototype.insertItemAt=function(n,l,e){n.splice(e,0,l)},n}(),iq=function(){function n(){}return n.prototype.getItemAt=function(n,l){return n.at(l)},n.prototype.indexOf=function(n,l){return n.controls.indexOf(l)},n.prototype.removeItemAt=function(n,l){n.removeAt(l)},n.prototype.insertItemAt=function(n,l,e){n.insert(e,l)},n}(),aq=function(n){function l(l,e,t,i,a,o){var r=n.call(this,l,e,t,o)||this;return r._sortableContainer=i,r._sortableDataService=a,r.onDragSuccessCallback=new la,r.onDragStartCallback=new la,r.onDragOverCallback=new la,r.onDragEndCallback=new la,r.onDropSuccessCallback=new la,r.dropZones=r._sortableContainer.dropZones,r.dragEnabled=!0,r.dropEnabled=!0,r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"draggable",{set:function(n){this.dragEnabled=!!n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"droppable",{set:function(n){this.dropEnabled=!!n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"effectallowed",{set:function(n){this.effectAllowed=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"effectcursor",{set:function(n){this.effectCursor=n},enumerable:!0,configurable:!0}),l.prototype._onDragStartCallback=function(n){this._sortableDataService.isDragged=!0,this._sortableDataService.sortableContainer=this._sortableContainer,this._sortableDataService.index=this.index,this._sortableDataService.markSortable(this._elem),this._dragDropService.isDragged=!0,this._dragDropService.dragData=this.dragData,this._dragDropService.onDragSuccessCallback=this.onDragSuccessCallback,this.onDragStartCallback.emit(this._dragDropService.dragData)},l.prototype._onDragOverCallback=function(n){this._sortableDataService.isDragged&&this._elem!==this._sortableDataService.elem&&(this._sortableDataService.sortableContainer=this._sortableContainer,this._sortableDataService.index=this.index,this._sortableDataService.markSortable(this._elem),this.onDragOverCallback.emit(this._dragDropService.dragData))},l.prototype._onDragEndCallback=function(n){this._sortableDataService.isDragged=!1,this._sortableDataService.sortableContainer=null,this._sortableDataService.index=null,this._sortableDataService.markSortable(null),this._dragDropService.isDragged=!1,this._dragDropService.dragData=null,this._dragDropService.onDragSuccessCallback=null,this.onDragEndCallback.emit(this._dragDropService.dragData)},l.prototype._onDragEnterCallback=function(n){if(this._sortableDataService.isDragged&&(this._sortableDataService.markSortable(this._elem),this.index!==this._sortableDataService.index||this._sortableDataService.sortableContainer.sortableData!==this._sortableContainer.sortableData)){var l=this._sortableDataService.sortableContainer.getItemAt(this._sortableDataService.index);this._sortableDataService.sortableContainer.removeItemAt(this._sortableDataService.index),0===this._sortableDataService.sortableContainer.sortableData.length&&(this._sortableDataService.sortableContainer.dropEnabled=!0),this._sortableContainer.insertItemAt(l,this.index),this._sortableContainer.dropEnabled&&(this._sortableContainer.dropEnabled=!1),this._sortableDataService.sortableContainer=this._sortableContainer,this._sortableDataService.index=this.index,this.detectChanges()}},l.prototype._onDropCallback=function(n){this._sortableDataService.isDragged&&(this.onDropSuccessCallback.emit(this._dragDropService.dragData),this._dragDropService.onDragSuccessCallback&&this._dragDropService.onDragSuccessCallback.emit(this._dragDropService.dragData),this._sortableContainer.detectChanges())},l}(ZV);Object(t.__decorate)([aa("sortableIndex"),Object(t.__metadata)("design:type",Number)],aq.prototype,"index",void 0),Object(t.__decorate)([aa("dragEnabled"),Object(t.__metadata)("design:type",Boolean),Object(t.__metadata)("design:paramtypes",[Boolean])],aq.prototype,"draggable",null),Object(t.__decorate)([aa("dropEnabled"),Object(t.__metadata)("design:type",Boolean),Object(t.__metadata)("design:paramtypes",[Boolean])],aq.prototype,"droppable",null),Object(t.__decorate)([aa(),Object(t.__metadata)("design:type",Object)],aq.prototype,"dragData",void 0),Object(t.__decorate)([aa("effectAllowed"),Object(t.__metadata)("design:type",String),Object(t.__metadata)("design:paramtypes",[String])],aq.prototype,"effectallowed",null),Object(t.__decorate)([aa("effectCursor"),Object(t.__metadata)("design:type",String),Object(t.__metadata)("design:paramtypes",[String])],aq.prototype,"effectcursor",null),Object(t.__decorate)([oa("onDragSuccess"),Object(t.__metadata)("design:type",la)],aq.prototype,"onDragSuccessCallback",void 0),Object(t.__decorate)([oa("onDragStart"),Object(t.__metadata)("design:type",la)],aq.prototype,"onDragStartCallback",void 0),Object(t.__decorate)([oa("onDragOver"),Object(t.__metadata)("design:type",la)],aq.prototype,"onDragOverCallback",void 0),Object(t.__decorate)([oa("onDragEnd"),Object(t.__metadata)("design:type",la)],aq.prototype,"onDragEndCallback",void 0),Object(t.__decorate)([oa("onDropSuccess"),Object(t.__metadata)("design:type",la)],aq.prototype,"onDropSuccessCallback",void 0),aq=Object(t.__decorate)([ia({selector:"[dnd-sortable]"}),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,eq,JV,Nl])],aq);var oq=function(n){function l(l,e,t,i,a){return n.call(this,l,e,t,i,a)||this}return Object(t.__extends)(l,n),l}(QV);oq=Object(t.__decorate)([ia({selector:"[dnd-sortable-handle]"}),Object(t.__metadata)("design:paramtypes",[Pe,KV,GV,aq,Nl])],oq);var rq,uq=[GV,{provide:KV,useFactory:WV},{provide:JV,useFactory:YV,deps:[GV]}],sq=rq=function(){function n(){}return n.forRoot=function(){return{ngModule:rq,providers:uq}},n}(),cq=function(){function n(n,l,e,t){this.http=n,this.data=l,this.dialogRef=e,this.notify=t,this.lang=Kr,this.externalUser={inMaarchParapheur:!1,login:"",firstname:"",lastname:"",email:"",picture:""}}return n.prototype.ngOnInit=function(){var n=this;this.http.get("../../rest/autocomplete/maarchParapheurUsers",{params:{search:this.data.user.mail,exludeAlreadyConnected:"true"}}).subscribe((function(l){l.length>0?(n.externalUser=l[0],n.externalUser.inMaarchParapheur=!0,n.http.get("../../rest/maarchParapheur/user/"+n.externalUser.id+"/picture").subscribe((function(l){n.externalUser.picture=l.picture}),(function(l){n.notify.handleErrors(l)}))):(n.externalUser.inMaarchParapheur=!1,n.externalUser=n.data.user,n.externalUser.login=n.data.user.user_id,n.externalUser.email=n.data.user.mail)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.selectUser=function(n){var l=this;this.externalUser=n,this.externalUser.inMaarchParapheur=!0,this.http.get("../../rest/maarchParapheur/user/"+this.externalUser.id+"/picture").subscribe((function(n){l.externalUser.picture=n.picture}),(function(n){l.notify.handleErrors(n)}))},n.prototype.unlinkMaarchParapheurAccount=function(){this.externalUser.inMaarchParapheur=!1,this.externalUser=this.data.user,this.externalUser.login=this.data.user.user_id,this.externalUser.email=this.data.user.mail},n}(),dq=function(){function n(n,l,e,t,i,a,o,r,u,s,c){var d=this;this.http=n,this.route=l,this.router=e,this.zone=t,this.notify=i,this.dialog=a,this.headerService=o,this._formBuilder=r,this.appService=u,this.privilegeService=s,this.viewContainerRef=c,this.lang=Kr,this.loading=!1,this.config={},this.mode="",this.user={},this._search="",this.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""},this.userAbsenceModel=[],this.userList=[],this.maarchParapheurLink={login:"",picture:""},this.selectedSignature=-1,this.selectedSignatureLabel="",this.loadingSign=!1,this.data=[],this.CurrentYear=(new Date).getFullYear(),this.currentMonth=(new Date).getMonth()+1,this.minDate=new Date,this.ruleText="",this.validPassword=!1,this.showPassword=!1,this.hidePassword=!0,this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.displayedColumns=["event_date","record_id","info","remote_ip"],this.dataSource=new mR(this.data),this.selectedTabIndex=0,this.maarchParapheurConnectionStatus=!0,this.canViewPersonalDatas=!1,this.canManagePersonalDatas=!1,this.selectionBaskets=new hg(!0,[]),$j("link[href='merged_css.php']").remove(),window.angularUserAdministrationComponent={componentAfterUpload:function(n){return d.processAfterUpload(n)}}}return n.prototype.applyFilter=function(n){n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n},n.prototype.masterToggleBaskets=function(n){var l=this;n.checked?this.user.baskets.forEach((function(n){n.userToDisplay||l.selectionBaskets.select(n)})):this.selectionBaskets.clear()},n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.userCreation),n.creationMode=!0,n.canViewPersonalDatas=!1,n.canManagePersonalDatas=n.privilegeService.hasCurrentUserPrivilege("manage_personal_data"),n.loading=!1):(n.creationMode=!1,n.serialId=l.id,n.http.get("../../rest/users/"+n.serialId+"/details").subscribe((function(l){n.user=l,n.headerService.user.id===n.user.id?(n.canViewPersonalDatas=!0,n.canManagePersonalDatas=!0):(n.canViewPersonalDatas=n.privilegeService.hasCurrentUserPrivilege("view_personal_data"),n.canManagePersonalDatas=n.privilegeService.hasCurrentUserPrivilege("manage_personal_data")),n.canManagePersonalDatas&&(n.canViewPersonalDatas=!0),n.canViewPersonalDatas||(n.user.phone="****"),n.data=l.history,n.userId=l.user_id,n.minDate=new Date(n.CurrentYear+"-"+n.currentMonth+"-01"),n.headerService.setHeader(n.lang.userModification,l.firstname+" "+l.lastname),void 0!==n.user.external_id.maarchParapheur&&n.checkInfoMaarchParapheurAccount(),n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.data),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)})))}))},n.prototype.checkInfoMaarchParapheurAccount=function(){var n=this;this.http.get("../../rest/users/"+this.serialId+"/statusInMaarchParapheur").subscribe((function(l){n.maarchParapheurLink.login=l.link,n.loading=!1,""!==n.maarchParapheurLink.login?n.loadAvatarMaarchParapheur(n.user.external_id.maarchParapheur):n.maarchParapheurConnectionStatus=!1}))},n.prototype.linkMaarchParapheurAccount=function(){var n=this;this.dialog.open(cq,{panelClass:"maarch-modal",autoFocus:!1,data:{user:this.user}}).afterClosed().subscribe((function(l){l&&(l.inMaarchParapheur?n.linkAccountToMaarchParahpeur(l.id):n.createAccountToMaarchParahpeur(l.id,l.login))}))},n.prototype.linkAccountToMaarchParahpeur=function(n){var l=this;this.http.put("../../rest/users/"+this.serialId+"/linkToMaarchParapheur",{maarchParapheurUserId:n}).subscribe((function(){l.user.canCreateMaarchParapheurUser=!1,l.user.external_id.maarchParapheur=n,l.checkInfoMaarchParapheurAccount(),l.notify.success(l.lang.accountLinked)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.createAccountToMaarchParahpeur=function(n,l){var e=this;this.http.put("../../rest/users/"+n+"/createInMaarchParapheur",{login:l}).subscribe((function(n){e.user.canCreateMaarchParapheurUser=!1,e.user.external_id.maarchParapheur=n.externalId,e.checkInfoMaarchParapheurAccount(),e.notify.success(e.lang.accountAdded)}),(function(n){"Login already exists"==n.error.errors&&(n.error.errors=e.lang.loginAlreadyExistsInMaarchParapheur),e.notify.error(n.error.errors)}))},n.prototype.loadAvatarMaarchParapheur=function(n){var l=this;this.http.get("../../rest/maarchParapheur/user/"+n+"/picture").subscribe((function(n){l.maarchParapheurLink.picture=n.picture}),(function(n){l.notify.handleErrors(n)}))},n.prototype.unlinkMaarchParapheurAccount=function(){var n=this;confirm(this.lang.confirmAction+" "+this.lang.unlinkAccount)&&this.http.put("../../rest/users/"+this.serialId+"/unlinkToMaarchParapheur",{}).subscribe((function(){n.user.canCreateMaarchParapheurUser=!0,n.maarchParapheurLink.login="",n.maarchParapheurLink.picture="",n.notify.success(n.lang.accountUnlinked),n.maarchParapheurConnectionStatus=!0}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.toogleRedirect=function(n){var l=this;$j("#redirectUser_"+n.group_id+"_"+n.basket_id).toggle(),this.http.get("../../rest/users").subscribe((function(n){}),(function(n){l.notify.handleErrors(n)}))},n.prototype.initService=function(){var n=this;if(0==$j(".jstree-container-ul").length){$j("#jstree").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:this.user.allEntities},plugins:["checkbox","search"]}),$j("#jstree").on("select_node.jstree",(function(l,e){""==n.mode&&n.addEntity(e.node.id)})).on("deselect_node.jstree",(function(l,e){n.deleteEntity(e.node.id)})).jstree();var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))}},n.prototype.processAfterUpload=function(n){var l=this;this.zone.run((function(){return l.resfreshUpload(n)}))},n.prototype.resfreshUpload=function(n){this.signatureModel.size<=2e6?(this.signatureModel.base64=n.replace(/^data:.*?;base64,/,""),this.signatureModel.base64ForJs=n):(this.signatureModel.name="",this.signatureModel.size=0,this.signatureModel.type="",this.signatureModel.base64="",this.signatureModel.base64ForJs="",this.notify.error("Taille maximum de fichier dépassée (2 MB)"))},n.prototype.clickOnUploader=function(n){$j("#"+n).click()},n.prototype.uploadSignatureTrigger=function(n){var l=this;if(n.target.files&&n.target.files[0]){var e=new FileReader;this.signatureModel.name=n.target.files[0].name,this.signatureModel.size=n.target.files[0].size,this.signatureModel.type=n.target.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),e.readAsDataURL(n.target.files[0]),e.onload=function(n){window.angularUserAdministrationComponent.componentAfterUpload(n.target.result),l.submitSignature()}}},n.prototype.displaySignatureEditionForm=function(n){this.selectedSignature=n,this.selectedSignatureLabel=this.user.signatures[n].signature_label},n.prototype.resendActivationNotification=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.sendActivationNotification)&&this.http.put("../../rest/users/"+this.serialId+"/accountActivationNotification",{}).subscribe((function(n){l.notify.success(l.lang.activationNotificationSend)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.toggleGroup=function(n){var l=this;1==$j("#"+n.group_id+"-input").is(":checked")?this.http.post("../../rest/users/"+this.serialId+"/groups",{groupId:n.group_id,role:n.role}).subscribe((function(n){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.user.groups=n.groups,this.user.baskets=n.baskets,this.headerService.user.id!=this.serialId?[3,2]:[4,this.headerService.resfreshCurrentUser()];case 1:l.sent(),this.privilegeService.resfreshUserShortcuts(),l.label=2;case 2:return this.notify.success(this.lang.groupAdded),[2]}}))}))}),(function(n){l.notify.error(n.error.errors)})):this.http.delete("../../rest/users/"+this.serialId+"/groups/"+n.group_id).subscribe((function(n){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.user.groups=n.groups,this.user.baskets=n.baskets,this.user.redirectedBaskets=n.redirectedBaskets,this.headerService.user.id!=this.serialId?[3,2]:[4,this.headerService.resfreshCurrentUser()];case 1:l.sent(),this.privilegeService.resfreshUserShortcuts(),l.label=2;case 2:return this.notify.success(this.lang.groupDeleted),[2]}}))}))}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.updateGroup=function(n){var l=this;this.http.put("../../rest/users/"+this.serialId+"/groups/"+n.group_id,n).subscribe((function(n){l.notify.success(l.lang.groupUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.addEntity=function(n){var l=this;this.http.post("../../rest/users/"+this.serialId+"/entities",{entityId:n,role:""}).subscribe((function(n){l.user.entities=n.entities,l.user.allEntities=n.allEntities,l.headerService.user.id==l.serialId&&l.headerService.resfreshCurrentUser(),l.notify.success(l.lang.entityAdded)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.updateEntity=function(n){var l=this;this.http.put("../../rest/users/"+this.serialId+"/entities/"+n.entity_id,n).subscribe((function(){l.notify.success(l.lang.entityUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.updatePrimaryEntity=function(n){var l=this;this.http.put("../../rest/users/"+this.serialId+"/entities/"+n.entity_id+"/primaryEntity",{}).subscribe((function(e){l.user.entities=e.entities,l.notify.success(l.lang.entityTooglePrimary+" « "+n.entity_id+" »")}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.deleteEntity=function(n){var l=this;this.http.get("../../rest/users/"+this.serialId+"/entities/"+n).subscribe((function(e){e.hasConfidentialityInstances||e.hasListTemplates?(l.config={panelClass:"maarch-modal",data:{hasConfidentialityInstances:e.hasConfidentialityInstances,hasListTemplates:e.hasListTemplates}},l.dialogRef=l.dialog.open(pq,l.config),l.dialogRef.afterClosed().subscribe((function(e){l.mode="delete",e?(l.mode=e.processMode,l.http.request("DELETE","../../rest/users/"+l.serialId+"/entities/"+n,{body:{mode:l.mode,newUser:e.newUser}}).subscribe((function(n){l.user.entities=n.entities,l.user.allEntities=n.allEntities,l.headerService.user.id==l.serialId&&l.headerService.resfreshCurrentUser(),l.notify.success(l.lang.entityDeleted)}),(function(n){l.notify.error(n.error.errors)}))):($j("#jstree").jstree("select_node",n),l.mode=""),l.dialogRef=null}))):l.http.delete("../../rest/users/"+l.serialId+"/entities/"+n).subscribe((function(n){l.user.entities=n.entities,l.user.allEntities=n.allEntities,l.headerService.user.id==l.serialId&&l.headerService.resfreshCurrentUser(),l.notify.success(l.lang.entityDeleted)}),(function(n){l.notify.error(n.error.errors)}))}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.submitSignature=function(){var n=this;this.http.post("../../rest/users/"+this.serialId+"/signatures",this.signatureModel).subscribe((function(l){n.user.signatures=l.signatures,n.notify.success(n.lang.signAdded),n.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""}}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.updateSignature=function(n){var l=this;this.http.put("../../rest/users/"+this.serialId+"/signatures/"+this.user.signatures[n].id,{label:this.user.signatures[n].signature_label}).subscribe((function(e){l.user.signatures[n].signature_label=e.signature.signature_label,l.notify.success(l.lang.signUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.deleteSignature=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+n.signature_label+" »")&&this.http.delete("../../rest/users/"+this.serialId+"/signatures/"+n.id).subscribe((function(n){l.user.signatures=n.signatures,l.notify.success(l.lang.signDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.test=function(n){var l=this;if(n.mouseEvent.dataTransfer.files&&n.mouseEvent.dataTransfer.files[0]){var e=new FileReader;this.signatureModel.name=n.mouseEvent.dataTransfer.files[0].name,this.signatureModel.size=n.mouseEvent.dataTransfer.files[0].size,this.signatureModel.type=n.mouseEvent.dataTransfer.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),e.readAsDataURL(n.mouseEvent.dataTransfer.files[0]),e.onload=function(n){window.angularUserAdministrationComponent.componentAfterUpload(n.target.result),l.submitSignature()}}},n.prototype.addBasketRedirection=function(n){var l=this,e=[];this.selectionBaskets.selected.forEach((function(l){e.push({actual_user_id:n.serialId,basket_id:l.basket_id,group_id:l.groupSerialId,originalOwner:null})})),confirm(this.lang.confirmAction+" "+this.lang.redirectBasket)&&this.http.post("../../rest/users/"+this.serialId+"/redirectedBaskets",e).subscribe((function(n){l.user.baskets=n.baskets,l.user.redirectedBaskets=n.redirectedBaskets,l.selectionBaskets.clear(),l.notify.success(l.lang.basketUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.reassignBasketRedirection=function(n,l,e){var t=this;confirm(this.lang.confirmAction+" "+this.lang.redirectBasket)&&this.http.post("../../rest/users/"+this.serialId+"/redirectedBaskets",[{actual_user_id:n.serialId,basket_id:l.basket_id,group_id:l.group_id,originalOwner:l.owner_user_id}]).subscribe((function(n){t.user.baskets=n.baskets,t.user.assignedBaskets.splice(e,1),t.notify.success(t.lang.basketUpdated)}),(function(n){t.notify.error(n.error.errors)}))},n.prototype.delBasketRedirection=function(n,l){var e=this;confirm(this.lang.confirmAction)&&this.http.delete("../../rest/users/"+this.serialId+"/redirectedBaskets?redirectedBasketIds[]="+n.id).subscribe((function(n){e.user.baskets=n.baskets,e.user.redirectedBaskets.splice(l,1),e.notify.success(e.lang.basketUpdated)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.delBasketAssignRedirection=function(n,l){var e=this;confirm(this.lang.confirmAction)&&this.http.delete("../../rest/users/"+this.serialId+"/redirectedBaskets?redirectedBasketIds[]="+n.id).subscribe((function(n){e.user.baskets=n.baskets,e.user.assignedBaskets.splice(l,1),e.notify.success(e.lang.basketUpdated)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.toggleBasket=function(n){var l=this,e=[];this.user.baskets.forEach((function(t){l.selectionBaskets.selected.forEach((function(l){t.basket_id==l.basket_id&&t.group_id==l.group_id&&t.allowed!=n&&(t.allowed=n,e.push({basketId:t.basket_id,groupSerialId:t.groupSerialId,allowed:n}))}))})),e.length>0&&this.http.put("../../rest/users/"+this.serialId+"/baskets",{baskets:e}).subscribe((function(n){l.selectionBaskets.clear(),l.notify.success(l.lang.basketsUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.activateAbsence=function(){var n=this;this.http.put("../../rest/users/"+this.serialId+"/status",{status:"ABS"}).subscribe((function(l){n.user.status=l.user.status,n.userAbsenceModel=[],n.notify.success(n.lang.absOn)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.desactivateAbsence=function(){var n=this;this.http.put("../../rest/users/"+this.serialId+"/status",{status:"OK"}).subscribe((function(l){n.user.status=l.user.status,n.notify.success(n.lang.absOff)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.getErrorMessage=function(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!=this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.lang.requiredField+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.lang.passwordminLength+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.lang.passwordcomplexityUpper+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.lang.passwordcomplexityNumber+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.lang.passwordcomplexitySpecial+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")},n.prototype.matchValidator=function(n){return n.controls.newPasswordCtrl.value!=n.controls.retypePasswordCtrl.value&&(n.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})},n.prototype.regexValidator=function(n,l){return function(e){return e.value?n.test(e.value)?null:l:null}},n.prototype.changePasswd=function(){var n=this;this.http.get("../../rest/passwordRules").subscribe((function(l){var e=[],t=[],i=[];e.push(S_.required),l.rules.forEach((function(l){"minLength"==l.label?(n.passwordRules.minLength.enabled=l.enabled,n.passwordRules.minLength.value=l.value,l.enabled&&(e.push(S_.minLength(n.passwordRules.minLength.value)),t.push(l.value+" "+n.lang["password"+l.label]))):"complexityUpper"==l.label?(n.passwordRules.complexityUpper.enabled=l.enabled,n.passwordRules.complexityUpper.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),t.push(n.lang["password"+l.label]))):"complexityNumber"==l.label?(n.passwordRules.complexityNumber.enabled=l.enabled,n.passwordRules.complexityNumber.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),t.push(n.lang["password"+l.label]))):"complexitySpecial"==l.label?(n.passwordRules.complexitySpecial.enabled=l.enabled,n.passwordRules.complexitySpecial.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),t.push(n.lang["password"+l.label]))):"renewal"==l.label?(n.passwordRules.renewal.enabled=l.enabled,n.passwordRules.renewal.value=l.value,l.enabled&&i.push(n.lang["password"+l.label]+" <b>"+l.value+" "+n.lang.days+"</b>. "+n.lang["password2"+l.label]+".")):"historyLastUse"==l.label&&(n.passwordRules.historyLastUse.enabled=l.enabled,n.passwordRules.historyLastUse.value=l.value,l.enabled&&i.push(n.lang.passwordhistoryLastUseDesc+" <b>"+l.value+"</b> "+n.lang.passwordhistoryLastUseDesc2+"."))})),n.ruleText=t.join(", "),n.otherRuleText=i.join("<br/>"),n.firstFormGroup.controls.newPasswordCtrl.setValidators(e)}),(function(l){n.notify.error(l.error.errors)})),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",S_.compose([S_.required])],currentPasswordCtrl:["",S_.compose([S_.required])]},{validator:this.matchValidator}),this.validPassword=!1,this.firstFormGroup.controls.currentPasswordCtrl.setErrors(null),this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.firstFormGroup.controls.retypePasswordCtrl.setErrors(null),this.showPassword=!0,this.selectedTabIndex=0},n.prototype.updatePassword=function(){var n=this;this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.reNewPassword=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../../rest/users/"+this.serialId+"/password",this.passwordModel).subscribe((function(){n.showPassword=!1,n.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},n.notify.success(n.lang.passwordUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.onSubmit=function(){var n=this;if(this.creationMode){var l=!0;this.http.get("../../rest/users/"+this.user.userId+"/status").subscribe((function(e){var t=!1;e.status&&"DEL"==e.status&&(l=confirm(n.lang.reactivateUserDeleted),t=!0),l&&n.http.post("../../rest/users",n.user).subscribe((function(l){n.notify.success(t?n.lang.userUpdated:n.lang.userAdded),n.router.navigate(["/administration/users/"+l.id])}),(function(l){n.notify.error(l.error.errors)}))}),(function(l){n.notify.error(l.error.errors)}))}else this.http.put("../../rest/users/"+this.serialId,this.user).subscribe((function(l){n.headerService.user.id==n.serialId&&n.headerService.resfreshCurrentUser(),n.notify.success(n.lang.userUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.setUserModeLogin=function(n){this.user.loginmode=n.checked?"restMode":"standard"},n.prototype.sendToMaarchParapheur=function(){var n=this;confirm(this.lang.confirmAction+" "+this.lang.createUserInMaarchParapheur)&&this.http.put("../../rest/users/"+this.serialId+"/maarchParapheur","").subscribe((function(l){n.notify.success(n.lang.userCreatedInMaarchParapheur),n.user.external_id.maarchParapheur=l.externalId,n.user.canCreateMaarchParapheurUser=!1}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.setLowerUserId=function(){this.user.userId=this.user.userId.toLowerCase()},n.prototype.syncMP=function(){var n=this;this.loadingSign=!0,this.http.put("../../rest/users/"+this.user.id+"/externalSignatures",{}).subscribe((function(l){n.loadingSign=!1,n.notify.success(n.lang.signsSynchronized)}),(function(l){n.loadingSign=!1,n.notify.error(l.error.errors)}))},n}(),pq=function(){function n(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr,this.redirectUser="",this.processMode=""}return n.prototype.setRedirectUser=function(n){this.redirectUser=n},n}(),mq=new On("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),fq=0,hq=function(){return function(n,l){this.source=n,this.value=l}}(),gq=function(){function n(n){this._changeDetector=n,this._value=null,this._name="mat-radio-group-"+fq++,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new la}return Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(n){this._name=n,this._updateRadioButtonNames()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"labelPosition",{get:function(){return this._labelPosition},set:function(n){this._labelPosition="before"===n?"before":"after",this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())},enumerable:!0,configurable:!0}),n.prototype._checkSelectedRadioButton=function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)},Object.defineProperty(n.prototype,"selected",{get:function(){return this._selected},set:function(n){this._selected=n,this.value=n?n.value:null,this._checkSelectedRadioButton()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"required",{get:function(){return this._required},set:function(n){this._required=Yf(n),this._markRadiosForCheck()},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){this._isInitialized=!0},n.prototype._touch=function(){this.onTouched&&this.onTouched()},n.prototype._updateRadioButtonNames=function(){var n=this;this._radios&&this._radios.forEach((function(l){l.name=n.name,l._markForCheck()}))},n.prototype._updateSelectedRadioFromValue=function(){var n=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach((function(l){l.checked=n.value===l.value,l.checked&&(n._selected=l)})))},n.prototype._emitChangeEvent=function(){this._isInitialized&&this.change.emit(new hq(this._selected,this._value))},n.prototype._markRadiosForCheck=function(){this._radios&&this._radios.forEach((function(n){return n._markForCheck()}))},n.prototype.writeValue=function(n){this.value=n,this._changeDetector.markForCheck()},n.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype.setDisabledState=function(n){this.disabled=n,this._changeDetector.markForCheck()},n}(),bq=function(n){function l(l,e,t,i,a,o,r){var u=n.call(this,e)||this;return u._changeDetector=t,u._focusMonitor=i,u._radioDispatcher=a,u._animationMode=o,u._providerOverride=r,u._uniqueId="mat-radio-"+ ++fq,u.id=u._uniqueId,u.change=new la,u._checked=!1,u._value=null,u._removeUniqueSelectionListener=function(){},u.radioGroup=l,u._removeUniqueSelectionListener=a.listen((function(n,l){n!==u.id&&l===u.name&&(u.checked=!1)})),u}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"checked",{get:function(){return this._checked},set:function(n){var l=Yf(n);this._checked!==l&&(this._checked=l,l&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!l&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),l&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(n){this._value!==n&&(this._value=n,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===n),this.checked&&(this.radioGroup.selected=this)))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"labelPosition",{get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(n){this._labelPosition=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"disabled",{get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(n){var l=Yf(n);this._disabled!==l&&(this._disabled=l,this._changeDetector.markForCheck())},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"required",{get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(n){this._required=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"color",{get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(n){this._color=n},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"inputId",{get:function(){return(this.id||this._uniqueId)+"-input"},enumerable:!0,configurable:!0}),l.prototype.focus=function(n){this._focusMonitor.focusVia(this._inputElement,"keyboard",n)},l.prototype._markForCheck=function(){this._changeDetector.markForCheck()},l.prototype.ngOnInit=function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.name=this.radioGroup.name)},l.prototype.ngAfterViewInit=function(){var n=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(l){!l&&n.radioGroup&&n.radioGroup._touch()}))},l.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()},l.prototype._emitChangeEvent=function(){this.change.emit(new hq(this,this._value))},l.prototype._isRippleDisabled=function(){return this.disableRipple||this.disabled},l.prototype._onInputClick=function(n){n.stopPropagation()},l.prototype._onInputChange=function(n){n.stopPropagation();var l=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),l&&this.radioGroup._emitChangeEvent())},l}(Yb(Jb(function(){return function(n){this._elementRef=n}}()))),vq=function(){return function(){}}(),_q=yt({encapsulation:2,styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(.001)}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}@media (-ms-high-contrast:active){.mat-radio-checked .mat-radio-inner-circle{border:solid 10px}}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple,.mat-radio-persistent-ripple{opacity:0}@media (hover:none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}@media (-ms-high-contrast:active){.mat-radio-disabled{opacity:.5}}"],data:{}});function yq(n){return jo(2,[ko(671088640,1,{_inputElement:0}),(n()(),_o(1,0,[["label",1]],null,12,"label",[["class","mat-radio-label"]],[[1,"for",0]],null,null,null,null)),(n()(),_o(2,0,null,null,7,"div",[["class","mat-radio-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"div",[["class","mat-radio-outer-circle"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"div",[["class","mat-radio-inner-circle"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,3,"div",[["class","mat-radio-ripple mat-ripple"],["mat-ripple",""]],[[2,"mat-ripple-unbounded",null]],null,null,null,null)),Di(6,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],{centered:[0,"centered"],radius:[1,"radius"],animation:[2,"animation"],disabled:[3,"disabled"],trigger:[4,"trigger"]},null),Oo(7,{enterDuration:0}),(n()(),_o(8,0,null,null,0,"div",[["class","mat-ripple-element mat-radio-persistent-ripple"]],null,null,null,null,null)),(n()(),_o(9,0,[[1,0],["input",1]],null,0,"input",[["class","mat-radio-input cdk-visually-hidden"],["type","radio"]],[[8,"id",0],[8,"checked",0],[8,"disabled",0],[8,"tabIndex",0],[1,"name",0],[1,"value",0],[8,"required",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"change"===l&&(t=!1!==i._onInputChange(e)&&t),"click"===l&&(t=!1!==i._onInputClick(e)&&t),t}),null,null)),(n()(),_o(10,0,null,null,3,"div",[["class","mat-radio-label-content"]],[[2,"mat-radio-label-before",null]],null,null,null,null)),(n()(),_o(11,0,null,null,1,"span",[["style","display:none"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),Po(null,0)],(function(n,l){var e=l.component,t=n(l,7,0,150);n(l,6,0,!0,20,t,e._isRippleDisabled(),bi(l,1))}),(function(n,l){var e=l.component;n(l,1,0,e.inputId),n(l,5,0,bi(l,6).unbounded),n(l,9,0,e.inputId,e.checked,e.disabled,e.tabIndex,e.name,e.value,e.required,e.ariaLabel,e.ariaLabelledby,e.ariaDescribedby),n(l,10,0,"before"==e.labelPosition)}))}var wq=yt({encapsulation:0,styles:[[".avatar[_ngcontent-%COMP%]{text-decoration:none;background:#135f7f;color:#fff;width:100px;height:100px;border-radius:5px;display:block;overflow:hidden;margin:5px}.form-group[_ngcontent-%COMP%]{margin:0}.vertical-divider[_ngcontent-%COMP%]{height:80%}.avatarAccount[_ngcontent-%COMP%]{border:3px solid #f99830;height:45px!important;width:45px!important;background-size:cover;background-repeat:no-repeat;background-position:center}.accountInfo[_ngcontent-%COMP%]{margin-left:20px!important;display:-webkit-box!important;display:flex!important}.accountInfo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex}"]],data:{}});function xq(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.activateAbsence()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-plane mat-icon notranslate mat-list-icon"],["color","warn"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.activateAbsence)}))}function Cq(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.desactivateAbsence()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-check mat-icon notranslate mat-list-icon"],["color","accent"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"accent")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.desactivateAbsence)}))}function kq(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.resendActivationNotification()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-paper-plane mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[15,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.sendActivationNotification)}))}function Sq(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changePasswd()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,16,{_lines:1}),ko(603979776,17,{_avatar:0}),ko(603979776,18,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-key mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[18,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[16,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.changePassword)}))}function Iq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:11px;color:red"]],null,null,null,null,null)),Di(1,16384,[[19,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.maarchParapheurLinkbroken)}))}function Aq(n){return jo(0,[(n()(),_o(0,0,null,null,12,"a",[["class","mat-list-item"],["mat-list-item",""]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.linkMaarchParapheurAccount()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,19,{_lines:1}),ko(603979776,20,{_avatar:0}),ko(603979776,21,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-link mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[21,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[19,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),vo(16777216,null,1,1,null,Iq)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"primary"),n(l,12,0,!e.maarchParapheurConnectionStatus)}),(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",e.lang.createUserInMaarchParapheur,""),bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.linkAccount)}))}function Mq(n){return jo(0,[(n()(),_o(0,0,null,null,14,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,0,1,null,xq)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Cq)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,kq)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Sq)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Aq)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"ABS"!=e.user.status),n(l,8,0,"ABS"==e.user.status),n(l,10,0,e.user.canSendActivationNotification),n(l,12,0,e.user.canModifyPassword),n(l,14,0,e.user.canCreateMaarchParapheurUser||""===e.maarchParapheurLink.login)}),(function(n,l){n(l,4,0,l.component.lang.actions)}))}function Pq(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(-1,null,["Compte Maarch Parapheur"])),(n()(),_o(5,0,null,0,15,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,22,{_lines:1}),ko(603979776,23,{_avatar:0}),ko(603979776,24,{_icon:0}),(n()(),_o(10,0,null,0,2,"mat-icon",[["class","avatarAccount mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[4,"background-image",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[24,4]],0,iI,[],null,null),(n()(),_o(13,0,null,1,7,"p",[["class","accountInfo mat-line"],["mat-line",""]],null,null,null,null,null)),Di(14,16384,[[22,4]],0,pv,[],null,null),(n()(),_o(15,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.unlinkMaarchParapheurAccount()&&t),t}),PC,MC)),Di(18,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(19,0,null,0,1,"mat-icon",[["class","fas fa-unlink mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(20,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,11,0,"primary"),n(l,18,0,"warn"),n(l,20,0)}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,"url("+e.maarchParapheurLink.picture+")",bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,16,0,e.maarchParapheurLink.login),n(l,17,0,Wt(1,"",e.lang.unlinkAccount,""),bi(l,18).disabled||null,"NoopAnimations"===bi(l,18)._animationMode),n(l,19,0,bi(l,20).inline,"primary"!==bi(l,20).color&&"accent"!==bi(l,20).color&&"warn"!==bi(l,20).color)}))}function Dq(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Mq)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(2,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(3,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,null,1,null,Pq)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,!e.creationMode&&!e.loading),n(l,5,0,""!==e.maarchParapheurLink.login)}),(function(n,l){n(l,2,0,bi(l,3).vertical?"vertical":"horizontal",bi(l,3).vertical,!bi(l,3).vertical,bi(l,3).inset)}))}function Fq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Eq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[33,4]],0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.lang.requiredField)}))}function Oq(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[43,4]],0,tT,[],null,null),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-check"],["color","accent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["color","accent"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,4,0,e.lang.passwordValid)}))}function Tq(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[52,4]],0,tT,[],null,null),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-check"],["color","accent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["color","accent"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,4,0,e.lang.passwordMatch)}))}function Lq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","col-sm-12"],["style","padding-left:0px;padding-right:0px;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"div",[["class","alert alert-warning"],["role","alert"],["style","text-align:center;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,2,0,l.component.otherRuleText)}))}function Rq(n){return jo(0,[(n()(),_o(0,0,null,null,114,"div",[["style","margin-bottom: 5%"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,113,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,3).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,3).onReset()&&t),t}),null,null)),Di(2,16384,null,0,yy,[],null,null),Di(3,540672,null,0,Cy,[[8,null],[8,null]],{form:[0,"form"]},null),Ei(2048,null,g_,null,[Cy]),Di(5,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(6,0,null,null,29,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,28,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(8,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(18,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","currentPasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,19)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,19)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,19)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,26)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,26)._onInput()&&t),t}),null,null)),Di(19,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(20,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(23,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(25,16384,null,0,y_,[[4,v_]],null,null),Di(26,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT]),(n()(),_o(28,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(30,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(31,1),Di(32,16384,[[36,4]],0,oT,[],null,null),Di(33,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,5,1,null,Eq)),Di(35,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(36,0,null,null,68,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,1,"div",[["style","text-align:center;color: rgba(0,0,0,0.54);font-size: 75%;"]],null,null,null,null,null)),(n()(),Lo(38,null,[" ",""])),(n()(),_o(39,0,null,null,32,"div",[["class","col-sm-6"],["style","padding-left:0px;padding-right: 0px;"]],null,null,null,null,null)),(n()(),_o(40,0,null,null,31,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,37,{_controlNonStatic:0}),ko(335544320,38,{_controlStatic:0}),ko(603979776,39,{_labelChildNonStatic:0}),ko(335544320,40,{_labelChildStatic:0}),ko(603979776,41,{_placeholderChild:0}),ko(603979776,42,{_errorChildren:1}),ko(603979776,43,{_hintChildren:1}),ko(603979776,44,{_prefixChildren:1}),ko(603979776,45,{_suffixChildren:1}),(n()(),_o(51,0,[["inputPasswd",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,52)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,52).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,52)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,52)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,59)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,59)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,59)._onInput()&&t),t}),null,null)),Di(52,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(53,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(56,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(58,16384,null,0,y_,[[4,v_]],null,null),Di(59,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[37,4],[38,4]],nT,null,[OT]),(n()(),_o(61,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(63,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(64,1),Di(65,16384,[[45,4]],0,oT,[],null,null),Di(66,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,Oq)),Di(68,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(69,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(70,16384,[[42,4]],0,XO,[],null,null),(n()(),Lo(71,null,["",""])),(n()(),_o(72,0,null,null,32,"div",[["class","col-sm-6"],["style","padding-left:0px;padding-right:0px;"]],null,null,null,null,null)),(n()(),_o(73,0,null,null,31,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(74,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,46,{_controlNonStatic:0}),ko(335544320,47,{_controlStatic:0}),ko(603979776,48,{_labelChildNonStatic:0}),ko(335544320,49,{_labelChildStatic:0}),ko(603979776,50,{_placeholderChild:0}),ko(603979776,51,{_errorChildren:1}),ko(603979776,52,{_hintChildren:1}),ko(603979776,53,{_prefixChildren:1}),ko(603979776,54,{_suffixChildren:1}),(n()(),_o(84,0,[["inputPasswd2",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","retypePasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,85)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,85).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,85)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,85)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,92)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,92)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,92)._onInput()&&t),t}),null,null)),Di(85,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(86,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(89,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(91,16384,null,0,y_,[[4,v_]],null,null),Di(92,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[46,4],[47,4]],nT,null,[OT]),(n()(),_o(94,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(96,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(97,1),Di(98,16384,[[54,4]],0,oT,[],null,null),Di(99,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,Tq)),Di(101,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(102,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(103,16384,[[51,4]],0,XO,[],null,null),(n()(),Lo(104,null,[""," !"])),(n()(),vo(16777216,null,null,1,null,Lq)),Di(106,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(107,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(108,0,null,null,6,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(109,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updatePassword()&&t),t}),PC,MC)),Di(110,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(111,0,["",""])),(n()(),_o(112,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=0!=(n.component.showPassword=!1)&&t),t}),PC,MC)),Di(113,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(114,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,e.firstFormGroup),n(l,20,0,""),n(l,23,0,"currentPasswordCtrl"),n(l,26,0,Wt(1,"",e.lang.typeCurrentPassword,""),"",e.hidePassword?"password":"text");var t=n(l,31,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,30,0,"fa fa-2x",t),n(l,33,0),n(l,35,0,e.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),n(l,53,0,""),n(l,56,0,"newPasswordCtrl"),n(l,59,0,Wt(1,"",e.lang.typeNewPassword,""),"",e.hidePassword?"password":"text");var i=n(l,64,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,63,0,"fa fa-2x",i),n(l,66,0),n(l,68,0,e.validPassword),n(l,86,0,""),n(l,89,0,"retypePasswordCtrl"),n(l,92,0,Wt(1,"",e.lang.retypeNewPassword,""),"",e.hidePassword?"password":"text");var a=n(l,97,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,96,0,"fa fa-2x",a),n(l,99,0),n(l,101,0,!e.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=e.firstFormGroup.controls.retypePasswordCtrl.value),n(l,106,0,e.passwordRules.renewal.enabled||e.passwordRules.historyLastUse.enabled),n(l,110,0,!e.firstFormGroup.valid,"primary"),n(l,113,0,"default")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,5).ngClassUntouched,bi(l,5).ngClassTouched,bi(l,5).ngClassPristine,bi(l,5).ngClassDirty,bi(l,5).ngClassValid,bi(l,5).ngClassInvalid,bi(l,5).ngClassPending),n(l,7,1,["standard"==bi(l,8).appearance,"fill"==bi(l,8).appearance,"outline"==bi(l,8).appearance,"legacy"==bi(l,8).appearance,bi(l,8)._control.errorState,bi(l,8)._canLabelFloat,bi(l,8)._shouldLabelFloat(),bi(l,8)._hasFloatingLabel(),bi(l,8)._hideControlPlaceholder(),bi(l,8)._control.disabled,bi(l,8)._control.autofilled,bi(l,8)._control.focused,"accent"==bi(l,8).color,"warn"==bi(l,8).color,bi(l,8)._shouldForward("untouched"),bi(l,8)._shouldForward("touched"),bi(l,8)._shouldForward("pristine"),bi(l,8)._shouldForward("dirty"),bi(l,8)._shouldForward("valid"),bi(l,8)._shouldForward("invalid"),bi(l,8)._shouldForward("pending"),!bi(l,8)._animationsEnabled]),n(l,18,1,[bi(l,20).required?"":null,bi(l,25).ngClassUntouched,bi(l,25).ngClassTouched,bi(l,25).ngClassPristine,bi(l,25).ngClassDirty,bi(l,25).ngClassValid,bi(l,25).ngClassInvalid,bi(l,25).ngClassPending,bi(l,26)._isServer,bi(l,26).id,bi(l,26).placeholder,bi(l,26).disabled,bi(l,26).required,bi(l,26).readonly&&!bi(l,26)._isNativeSelect||null,bi(l,26)._ariaDescribedby||null,bi(l,26).errorState,bi(l,26).required.toString()]),n(l,28,0,bi(l,33).inline,"primary"!==bi(l,33).color&&"accent"!==bi(l,33).color&&"warn"!==bi(l,33).color),n(l,38,0,e.ruleText),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[bi(l,53).required?"":null,bi(l,58).ngClassUntouched,bi(l,58).ngClassTouched,bi(l,58).ngClassPristine,bi(l,58).ngClassDirty,bi(l,58).ngClassValid,bi(l,58).ngClassInvalid,bi(l,58).ngClassPending,bi(l,59)._isServer,bi(l,59).id,bi(l,59).placeholder,bi(l,59).disabled,bi(l,59).required,bi(l,59).readonly&&!bi(l,59)._isNativeSelect||null,bi(l,59)._ariaDescribedby||null,bi(l,59).errorState,bi(l,59).required.toString()]),n(l,61,0,bi(l,66).inline,"primary"!==bi(l,66).color&&"accent"!==bi(l,66).color&&"warn"!==bi(l,66).color),n(l,69,0,bi(l,70).id),n(l,71,0,e.getErrorMessage()),n(l,73,1,["standard"==bi(l,74).appearance,"fill"==bi(l,74).appearance,"outline"==bi(l,74).appearance,"legacy"==bi(l,74).appearance,bi(l,74)._control.errorState,bi(l,74)._canLabelFloat,bi(l,74)._shouldLabelFloat(),bi(l,74)._hasFloatingLabel(),bi(l,74)._hideControlPlaceholder(),bi(l,74)._control.disabled,bi(l,74)._control.autofilled,bi(l,74)._control.focused,"accent"==bi(l,74).color,"warn"==bi(l,74).color,bi(l,74)._shouldForward("untouched"),bi(l,74)._shouldForward("touched"),bi(l,74)._shouldForward("pristine"),bi(l,74)._shouldForward("dirty"),bi(l,74)._shouldForward("valid"),bi(l,74)._shouldForward("invalid"),bi(l,74)._shouldForward("pending"),!bi(l,74)._animationsEnabled]),n(l,84,1,[bi(l,86).required?"":null,bi(l,91).ngClassUntouched,bi(l,91).ngClassTouched,bi(l,91).ngClassPristine,bi(l,91).ngClassDirty,bi(l,91).ngClassValid,bi(l,91).ngClassInvalid,bi(l,91).ngClassPending,bi(l,92)._isServer,bi(l,92).id,bi(l,92).placeholder,bi(l,92).disabled,bi(l,92).required,bi(l,92).readonly&&!bi(l,92)._isNativeSelect||null,bi(l,92)._ariaDescribedby||null,bi(l,92).errorState,bi(l,92).required.toString()]),n(l,94,0,bi(l,99).inline,"primary"!==bi(l,99).color&&"accent"!==bi(l,99).color&&"warn"!==bi(l,99).color),n(l,102,0,bi(l,103).id),n(l,104,0,e.lang.passwordNotMatch),n(l,109,0,bi(l,110).disabled||null,"NoopAnimations"===bi(l,110)._animationMode),n(l,111,0,e.lang.update),n(l,112,0,bi(l,113).disabled||null,"NoopAnimations"===bi(l,113)._animationMode),n(l,114,0,e.lang.cancel)}))}function Nq(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","text-warning"],["style","position: absolute;opacity: 0.25;font-size: 120px;transform: rotate(324deg);-webkit-transform: rotate(324deg);margin-left: 35%;margin-top: 90px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" ",""]))],null,(function(n,l){n(l,1,0,l.component.user.status)}))}function jq(n){return jo(0,[(n()(),_o(0,0,null,null,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["name","user_id"],["pattern","^[\\w.@-]*$"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,10)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,10)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,10)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.userId=e)&&t),"keyup"===l&&(t=!1!==i.setLowerUserId()&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Di(3,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(4,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(7,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(9,16384,null,0,y_,[[4,v_]],null,null),Di(10,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[55,4],[56,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,""),n(l,3,0,"128"),n(l,4,0,"^[\\w.@-]*$"),n(l,7,0,"user_id",e.user.userId),n(l,10,0,Wt(1,"",e.lang.id,""),"","text")}),(function(n,l){n(l,0,1,[Wt(1,"",l.component.lang.id,""),bi(l,2).required?"":null,bi(l,3).maxlength?bi(l,3).maxlength:null,bi(l,4).pattern?bi(l,4).pattern:null,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending,bi(l,10)._isServer,bi(l,10).id,bi(l,10).placeholder,bi(l,10).disabled,bi(l,10).required,bi(l,10).readonly&&!bi(l,10)._isNativeSelect||null,bi(l,10)._ariaDescribedby||null,bi(l,10).errorState,bi(l,10).required.toString()])}))}function Vq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["type","text"]],[[8,"title",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,1)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,1)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,1)._onInput()&&t),t}),null,null)),Di(1,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"],value:[3,"value"]},null),Ei(2048,[[55,4],[56,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,1,0,"",Wt(1,"",e.lang.id,""),"text",Wt(1,"",e.user.user_id,""))}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.id,""),bi(l,1)._isServer,bi(l,1).id,bi(l,1).placeholder,bi(l,1).disabled,bi(l,1).required,bi(l,1).readonly&&!bi(l,1)._isNativeSelect||null,bi(l,1)._ariaDescribedby||null,bi(l,1).errorState,bi(l,1).required.toString())}))}function qq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,!bi(l.parent,2).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.save)}))}function zq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,!bi(l.parent,2).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.update)}))}function Uq(n){return jo(0,[(n()(),_o(0,0,null,null,171,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,2).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,2).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(1,16384,null,0,yy,[],null,null),Di(2,4210688,[["profileForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(4,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(5,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,19,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,2,"div",[["class","pull-left"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"div",[["class","avatar"],["style","font-size:90px;text-align:center;"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,0,"i",[["class","fa fa-user"],["style","font-size:90px;padding-top:5px;"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,15,"div",[["class","input-group"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,14,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,55,{_controlNonStatic:0}),ko(335544320,56,{_controlStatic:0}),ko(603979776,57,{_labelChildNonStatic:0}),ko(335544320,58,{_labelChildStatic:0}),ko(603979776,59,{_placeholderChild:0}),ko(603979776,60,{_errorChildren:1}),ko(603979776,61,{_hintChildren:1}),ko(603979776,62,{_prefixChildren:1}),ko(603979776,63,{_suffixChildren:1}),(n()(),vo(16777216,null,1,1,null,jq)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Vq)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,null,68,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,22,"div",[["class","col-sm-5"],["style","font-weight:bold;"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(29,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,64,{_controlNonStatic:0}),ko(335544320,65,{_controlStatic:0}),ko(603979776,66,{_labelChildNonStatic:0}),ko(335544320,67,{_labelChildStatic:0}),ko(603979776,68,{_placeholderChild:0}),ko(603979776,69,{_errorChildren:1}),ko(603979776,70,{_hintChildren:1}),ko(603979776,71,{_prefixChildren:1}),ko(603979776,72,{_suffixChildren:1}),(n()(),_o(39,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","lastname"],["matInput",""],["maxlength","255"],["name","lastname"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,40)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,40).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,40)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,40)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,48)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,48)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,48)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.lastname=e)&&t),t}),null,null)),Di(40,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(41,16384,null,0,My,[],{required:[0,"required"]},null),Di(42,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(45,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(47,16384,null,0,y_,[[4,v_]],null,null),Di(48,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[64,4],[65,4]],nT,null,[OT]),(n()(),_o(50,0,null,null,22,"div",[["class","col-sm-5"],["style","font-weight:bold;"]],null,null,null,null,null)),(n()(),_o(51,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(52,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,73,{_controlNonStatic:0}),ko(335544320,74,{_controlStatic:0}),ko(603979776,75,{_labelChildNonStatic:0}),ko(335544320,76,{_labelChildStatic:0}),ko(603979776,77,{_placeholderChild:0}),ko(603979776,78,{_errorChildren:1}),ko(603979776,79,{_hintChildren:1}),ko(603979776,80,{_prefixChildren:1}),ko(603979776,81,{_suffixChildren:1}),(n()(),_o(62,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","firstname"],["matInput",""],["maxlength","255"],["name","firstname"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,63)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,63).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,63)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,63)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,71)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,71)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,71)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.firstname=e)&&t),t}),null,null)),Di(63,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(64,16384,null,0,My,[],{required:[0,"required"]},null),Di(65,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(68,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(70,16384,null,0,y_,[[4,v_]],null,null),Di(71,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[73,4],[74,4]],nT,null,[OT]),(n()(),_o(73,0,null,null,21,"div",[["class","col-sm-2"],["style","font-style:italic;"]],null,null,null,null,null)),(n()(),_o(74,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(75,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,82,{_controlNonStatic:0}),ko(335544320,83,{_controlStatic:0}),ko(603979776,84,{_labelChildNonStatic:0}),ko(335544320,85,{_labelChildStatic:0}),ko(603979776,86,{_placeholderChild:0}),ko(603979776,87,{_errorChildren:1}),ko(603979776,88,{_hintChildren:1}),ko(603979776,89,{_prefixChildren:1}),ko(603979776,90,{_suffixChildren:1}),(n()(),_o(85,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","initials"],["matInput",""],["maxlength","32"],["name","initials"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,86)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,86).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,86)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,86)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,93)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,93)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,93)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.initials=e)&&t),t}),null,null)),Di(86,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(87,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(90,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(92,16384,null,0,y_,[[4,v_]],null,null),Di(93,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[82,4],[83,4]],nT,null,[OT]),(n()(),_o(95,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(96,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(97,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(98,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,91,{_controlNonStatic:0}),ko(335544320,92,{_controlStatic:0}),ko(603979776,93,{_labelChildNonStatic:0}),ko(335544320,94,{_labelChildStatic:0}),ko(603979776,95,{_placeholderChild:0}),ko(603979776,96,{_errorChildren:1}),ko(603979776,97,{_hintChildren:1}),ko(603979776,98,{_prefixChildren:1}),ko(603979776,99,{_suffixChildren:1}),(n()(),_o(108,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","phone"],["matInput",""],["maxlength","32"],["name","phone"],["pattern","\\+?((|\\ |\\.|\\(|\\)|\\-)?(\\d)*)*\\d$"],["type","tel"]],[[8,"title",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,109)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,109).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,109)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,109)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,117)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,117)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,117)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.phone=e)&&t),t}),null,null)),Di(109,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(110,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(111,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(114,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(116,16384,null,0,y_,[[4,v_]],null,null),Di(117,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],type:[3,"type"]},null),Ei(2048,[[91,4],[92,4]],nT,null,[OT]),(n()(),_o(119,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(120,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(121,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(122,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,100,{_controlNonStatic:0}),ko(335544320,101,{_controlStatic:0}),ko(603979776,102,{_labelChildNonStatic:0}),ko(335544320,103,{_labelChildStatic:0}),ko(603979776,104,{_placeholderChild:0}),ko(603979776,105,{_errorChildren:1}),ko(603979776,106,{_hintChildren:1}),ko(603979776,107,{_prefixChildren:1}),ko(603979776,108,{_suffixChildren:1}),(n()(),_o(132,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","mail"],["matInput",""],["maxlength","255"],["name","mail"],["pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"],["required",""],["type","email"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,133)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,133).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,133)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,133)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,142)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,142)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,142)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.mail=e)&&t),t}),null,null)),Di(133,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(134,16384,null,0,My,[],{required:[0,"required"]},null),Di(135,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(136,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(139,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(141,16384,null,0,y_,[[4,v_]],null,null),Di(142,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[100,4],[101,4]],nT,null,[OT]),(n()(),_o(144,0,null,null,21,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(145,1720320,null,1,Qj,[],null,null),ko(603979776,109,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(148,16777216,null,null,17,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(149,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,110,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(152,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,153)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,153)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,153)._animationStarted()&&t),t}),aV,tV)),Di(153,180224,[[109,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(154,{collapsedHeight:0,expandedHeight:1}),Oo(155,{value:0,params:1}),(n()(),_o(156,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["style","color: rgba(0,0,0,0.54);"]],null,null,null,null,null)),Di(157,16384,null,0,Zj,[],null,null),(n()(),Lo(158,null,[" "," "])),(n()(),_o(159,0,null,1,6,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(160,0,null,null,5,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(161,16777216,null,null,4,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["name","loginmode"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,164).show()&&t),"keydown"===l&&(t=!1!==bi(n,164)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,164)._handleTouchend()&&t),"change"===l&&(t=!1!==i.setUserModeLogin(e)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(163,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),Di(164,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(165,0,[" "," "])),(n()(),_o(166,0,null,null,5,"div",[["class","form-group"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(167,0,null,null,4,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,qq)),Di(169,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zq)),Di(171,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,23,0,e.creationMode),n(l,25,0,!e.creationMode),n(l,41,0,""),n(l,42,0,"255"),n(l,45,0,"lastname",e.user.lastname),n(l,48,0,"lastname",Wt(1,"",e.lang.lastname,""),"","text"),n(l,64,0,""),n(l,65,0,"255"),n(l,68,0,"firstname",e.user.firstname),n(l,71,0,"firstname",Wt(1,"",e.lang.firstname,""),"","text"),n(l,87,0,"32"),n(l,90,0,"initials",e.user.initials),n(l,93,0,"initials",Wt(1,"",e.lang.initials,""),"text"),n(l,110,0,"32"),n(l,111,0,"\\+?((|\\ |\\.|\\(|\\)|\\-)?(\\d)*)*\\d$"),n(l,114,0,"phone",e.creationMode&&!e.canManagePersonalDatas||!e.creationMode&&(!e.canManagePersonalDatas||!e.canViewPersonalDatas),e.user.phone),n(l,117,0,e.creationMode&&!e.canManagePersonalDatas||!e.creationMode&&(!e.canManagePersonalDatas||!e.canViewPersonalDatas),"phone",Wt(1,"",e.lang.phoneNumber,""),"tel"),n(l,134,0,""),n(l,135,0,"255"),n(l,136,0,"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"),n(l,139,0,"mail",e.user.mail),n(l,142,0,"mail",Wt(1,"",e.lang.email,""),"","email"),n(l,163,0,"primary","loginmode","restMode"==e.user.loginmode),n(l,164,0,Wt(1,"",e.lang.webserviceAccountDesc,"")),n(l,169,0,e.creationMode),n(l,171,0,!e.creationMode)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,4).ngClassUntouched,bi(l,4).ngClassTouched,bi(l,4).ngClassPristine,bi(l,4).ngClassDirty,bi(l,4).ngClassValid,bi(l,4).ngClassInvalid,bi(l,4).ngClassPending),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,28,1,["standard"==bi(l,29).appearance,"fill"==bi(l,29).appearance,"outline"==bi(l,29).appearance,"legacy"==bi(l,29).appearance,bi(l,29)._control.errorState,bi(l,29)._canLabelFloat,bi(l,29)._shouldLabelFloat(),bi(l,29)._hasFloatingLabel(),bi(l,29)._hideControlPlaceholder(),bi(l,29)._control.disabled,bi(l,29)._control.autofilled,bi(l,29)._control.focused,"accent"==bi(l,29).color,"warn"==bi(l,29).color,bi(l,29)._shouldForward("untouched"),bi(l,29)._shouldForward("touched"),bi(l,29)._shouldForward("pristine"),bi(l,29)._shouldForward("dirty"),bi(l,29)._shouldForward("valid"),bi(l,29)._shouldForward("invalid"),bi(l,29)._shouldForward("pending"),!bi(l,29)._animationsEnabled]),n(l,39,1,[Wt(1,"",e.lang.lastname,""),bi(l,41).required?"":null,bi(l,42).maxlength?bi(l,42).maxlength:null,bi(l,47).ngClassUntouched,bi(l,47).ngClassTouched,bi(l,47).ngClassPristine,bi(l,47).ngClassDirty,bi(l,47).ngClassValid,bi(l,47).ngClassInvalid,bi(l,47).ngClassPending,bi(l,48)._isServer,bi(l,48).id,bi(l,48).placeholder,bi(l,48).disabled,bi(l,48).required,bi(l,48).readonly&&!bi(l,48)._isNativeSelect||null,bi(l,48)._ariaDescribedby||null,bi(l,48).errorState,bi(l,48).required.toString()]),n(l,51,1,["standard"==bi(l,52).appearance,"fill"==bi(l,52).appearance,"outline"==bi(l,52).appearance,"legacy"==bi(l,52).appearance,bi(l,52)._control.errorState,bi(l,52)._canLabelFloat,bi(l,52)._shouldLabelFloat(),bi(l,52)._hasFloatingLabel(),bi(l,52)._hideControlPlaceholder(),bi(l,52)._control.disabled,bi(l,52)._control.autofilled,bi(l,52)._control.focused,"accent"==bi(l,52).color,"warn"==bi(l,52).color,bi(l,52)._shouldForward("untouched"),bi(l,52)._shouldForward("touched"),bi(l,52)._shouldForward("pristine"),bi(l,52)._shouldForward("dirty"),bi(l,52)._shouldForward("valid"),bi(l,52)._shouldForward("invalid"),bi(l,52)._shouldForward("pending"),!bi(l,52)._animationsEnabled]),n(l,62,1,[Wt(1,"",e.lang.firstname,""),bi(l,64).required?"":null,bi(l,65).maxlength?bi(l,65).maxlength:null,bi(l,70).ngClassUntouched,bi(l,70).ngClassTouched,bi(l,70).ngClassPristine,bi(l,70).ngClassDirty,bi(l,70).ngClassValid,bi(l,70).ngClassInvalid,bi(l,70).ngClassPending,bi(l,71)._isServer,bi(l,71).id,bi(l,71).placeholder,bi(l,71).disabled,bi(l,71).required,bi(l,71).readonly&&!bi(l,71)._isNativeSelect||null,bi(l,71)._ariaDescribedby||null,bi(l,71).errorState,bi(l,71).required.toString()]),n(l,74,1,["standard"==bi(l,75).appearance,"fill"==bi(l,75).appearance,"outline"==bi(l,75).appearance,"legacy"==bi(l,75).appearance,bi(l,75)._control.errorState,bi(l,75)._canLabelFloat,bi(l,75)._shouldLabelFloat(),bi(l,75)._hasFloatingLabel(),bi(l,75)._hideControlPlaceholder(),bi(l,75)._control.disabled,bi(l,75)._control.autofilled,bi(l,75)._control.focused,"accent"==bi(l,75).color,"warn"==bi(l,75).color,bi(l,75)._shouldForward("untouched"),bi(l,75)._shouldForward("touched"),bi(l,75)._shouldForward("pristine"),bi(l,75)._shouldForward("dirty"),bi(l,75)._shouldForward("valid"),bi(l,75)._shouldForward("invalid"),bi(l,75)._shouldForward("pending"),!bi(l,75)._animationsEnabled]),n(l,85,1,[Wt(1,"",e.lang.initials,""),bi(l,87).maxlength?bi(l,87).maxlength:null,bi(l,92).ngClassUntouched,bi(l,92).ngClassTouched,bi(l,92).ngClassPristine,bi(l,92).ngClassDirty,bi(l,92).ngClassValid,bi(l,92).ngClassInvalid,bi(l,92).ngClassPending,bi(l,93)._isServer,bi(l,93).id,bi(l,93).placeholder,bi(l,93).disabled,bi(l,93).required,bi(l,93).readonly&&!bi(l,93)._isNativeSelect||null,bi(l,93)._ariaDescribedby||null,bi(l,93).errorState,bi(l,93).required.toString()]),n(l,97,1,["standard"==bi(l,98).appearance,"fill"==bi(l,98).appearance,"outline"==bi(l,98).appearance,"legacy"==bi(l,98).appearance,bi(l,98)._control.errorState,bi(l,98)._canLabelFloat,bi(l,98)._shouldLabelFloat(),bi(l,98)._hasFloatingLabel(),bi(l,98)._hideControlPlaceholder(),bi(l,98)._control.disabled,bi(l,98)._control.autofilled,bi(l,98)._control.focused,"accent"==bi(l,98).color,"warn"==bi(l,98).color,bi(l,98)._shouldForward("untouched"),bi(l,98)._shouldForward("touched"),bi(l,98)._shouldForward("pristine"),bi(l,98)._shouldForward("dirty"),bi(l,98)._shouldForward("valid"),bi(l,98)._shouldForward("invalid"),bi(l,98)._shouldForward("pending"),!bi(l,98)._animationsEnabled]),n(l,108,1,[Wt(1,"",e.lang.phoneNumber,""),bi(l,110).maxlength?bi(l,110).maxlength:null,bi(l,111).pattern?bi(l,111).pattern:null,bi(l,116).ngClassUntouched,bi(l,116).ngClassTouched,bi(l,116).ngClassPristine,bi(l,116).ngClassDirty,bi(l,116).ngClassValid,bi(l,116).ngClassInvalid,bi(l,116).ngClassPending,bi(l,117)._isServer,bi(l,117).id,bi(l,117).placeholder,bi(l,117).disabled,bi(l,117).required,bi(l,117).readonly&&!bi(l,117)._isNativeSelect||null,bi(l,117)._ariaDescribedby||null,bi(l,117).errorState,bi(l,117).required.toString()]),n(l,121,1,["standard"==bi(l,122).appearance,"fill"==bi(l,122).appearance,"outline"==bi(l,122).appearance,"legacy"==bi(l,122).appearance,bi(l,122)._control.errorState,bi(l,122)._canLabelFloat,bi(l,122)._shouldLabelFloat(),bi(l,122)._hasFloatingLabel(),bi(l,122)._hideControlPlaceholder(),bi(l,122)._control.disabled,bi(l,122)._control.autofilled,bi(l,122)._control.focused,"accent"==bi(l,122).color,"warn"==bi(l,122).color,bi(l,122)._shouldForward("untouched"),bi(l,122)._shouldForward("touched"),bi(l,122)._shouldForward("pristine"),bi(l,122)._shouldForward("dirty"),bi(l,122)._shouldForward("valid"),bi(l,122)._shouldForward("invalid"),bi(l,122)._shouldForward("pending"),!bi(l,122)._animationsEnabled]),n(l,132,1,[Wt(1,"",e.lang.email,""),bi(l,134).required?"":null,bi(l,135).maxlength?bi(l,135).maxlength:null,bi(l,136).pattern?bi(l,136).pattern:null,bi(l,141).ngClassUntouched,bi(l,141).ngClassTouched,bi(l,141).ngClassPristine,bi(l,141).ngClassDirty,bi(l,141).ngClassValid,bi(l,141).ngClassInvalid,bi(l,141).ngClassPending,bi(l,142)._isServer,bi(l,142).id,bi(l,142).placeholder,bi(l,142).disabled,bi(l,142).required,bi(l,142).readonly&&!bi(l,142)._isNativeSelect||null,bi(l,142)._ariaDescribedby||null,bi(l,142).errorState,bi(l,142).required.toString()]),n(l,148,0,bi(l,149).expanded,"NoopAnimations"===bi(l,149)._animationMode,bi(l,149)._hasSpacing());var t=bi(l,153).panel._headerId,i=bi(l,153).disabled?-1:0,a=bi(l,153)._getPanelId(),o=bi(l,153)._isExpanded(),r=bi(l,153).panel.disabled,u=bi(l,153)._isExpanded(),s="after"===bi(l,153)._getTogglePosition(),c="before"===bi(l,153)._getTogglePosition(),d=bi(l,153)._animationsDisabled,p=n(l,155,0,bi(l,153)._getExpandedState(),n(l,154,0,bi(l,153).collapsedHeight,bi(l,153).expandedHeight));n(l,152,0,t,i,a,o,r,u,s,c,d,p),n(l,158,0,e.lang.otherInformations),n(l,161,0,bi(l,163).id,null,bi(l,163).indeterminate,bi(l,163).checked,bi(l,163).disabled,"before"==bi(l,163).labelPosition,"NoopAnimations"===bi(l,163)._animationMode),n(l,165,0,e.lang.webserviceAccount)}))}function Bq(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-list-item",[["class","mat-list-item"],["disableRipple","true"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,113,{_lines:1}),ko(603979776,114,{_avatar:0}),ko(603979776,115,{_icon:0}),(n()(),_o(5,0,null,2,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,7)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleGroup(n.context.$implicit)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(7,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{disabled:[0,"disabled"],color:[1,"color"],id:[2,"id"],checked:[3,"checked"]},{change:"change"}),(n()(),Lo(8,0,[" ",""]))],(function(n,l){n(l,1,0,"true"),n(l,7,0,!l.context.$implicit.enabled,"primary",Wt(1,"",l.context.$implicit.group_id,""),1==l.context.$implicit.checked)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,7).id,bi(l,7).disabled?null:-1,bi(l,7).checked,bi(l,7).disabled,"before"==bi(l,7).labelPosition,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,l.context.$implicit.group_desc)}))}function $q(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,111,{templateLabel:0}),ko(335544320,112,{_explicitContent:0}),(n()(),_o(4,0,null,0,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(5,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,Bq)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.groups,"")),n(l,7,0,e.user.allGroups)}),null)}function Hq(n){return jo(0,[(n()(),_o(0,16777216,null,null,21,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,116,{templateLabel:0}),ko(335544320,117,{_explicitContent:0}),(n()(),_o(4,0,null,0,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,118,{_controlNonStatic:0}),ko(335544320,119,{_controlStatic:0}),ko(603979776,120,{_labelChildNonStatic:0}),ko(335544320,121,{_labelChildStatic:0}),ko(603979776,122,{_placeholderChild:0}),ko(603979776,123,{_errorChildren:1}),ko(603979776,124,{_hintChildren:1}),ko(603979776,125,{_prefixChildren:1}),ko(603979776,126,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[118,4],[119,4]],nT,null,[OT]),(n()(),_o(18,0,null,6,2,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(19,16384,[[124,4]],0,tT,[],null,null),(n()(),Lo(20,null,["",""])),(n()(),_o(21,0,null,0,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.entities,"")),n(l,16,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text")}),(function(n,l){var e=l.component;n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,18,0,"end"==bi(l,19).align,bi(l,19).id,null),n(l,20,0,e.lang.linkEntityToUserInfo)}))}function Gq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","mat-line"],["mat-line",""],["style","opacity: 0.5;font-style: italic;font-size: 80%;margin-top:10px;"]],null,null,null,null,null)),Di(1,16384,[[129,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.selectAll)}))}function Wq(n){return jo(0,[(n()(),_o(0,0,null,null,29,"p",[["class","mat-line"],["mat-line",""],["style","margin-top:10px;"]],null,null,null,null,null)),Di(1,16384,[[129,4]],0,pv,[],null,null),(n()(),_o(2,16777216,null,null,7,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"mousedown"],[null,"click"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"mousedown"===l&&(t=!1!==bi(n,5)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,5)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,5)._handleClick(e)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(5,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","fa fa-reply mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(8,0,null,0,1,"mat-divider",[["class","vertical-divider mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(9,49152,null,0,mI,[],{vertical:[0,"vertical"]},null),(n()(),_o(10,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,11).show()&&t),"keydown"===l&&(t=!1!==bi(n,11)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,11)._handleTouchend()&&t),"click"===l&&(t=!1!==i.toggleBasket(!1)&&t),t}),PC,MC)),Di(11,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(12,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(13,0,null,0,1,"mat-icon",[["class","fa fa-ban mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(14,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(15,16777216,null,null,4,"button",[["color","accent"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,16).show()&&t),"keydown"===l&&(t=!1!==bi(n,16)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,16)._handleTouchend()&&t),"click"===l&&(t=!1!==i.toggleBasket(!0)&&t),t}),PC,MC)),Di(16,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(17,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(18,0,null,0,1,"mat-icon",[["class","fa fa-check mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(19,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(20,0,null,null,9,"mat-menu",[["style","width:200px !important;"]],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(23,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,132,{_allItems:1}),ko(603979776,133,{items:1}),ko(603979776,134,{lazyContent:0}),(n()(),_o(27,0,null,0,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.addBasketRedirection(e)&&t),t}),HN,EN)),Di(28,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(29,1)],(function(n,l){var e=l.component;n(l,3,0,Wt(1,"",e.lang.redirectBaskets,"")),n(l,5,0,bi(l,23)),n(l,7,0),n(l,9,0,!0),n(l,11,0,Wt(1,"",e.lang.disableBasket,"")),n(l,12,0,"warn"),n(l,14,0),n(l,16,0,Wt(1,"",e.lang.enableBasket,"")),n(l,17,0,"accent"),n(l,19,0),n(l,23,0);var t=n(l,29,0,"/rest/autocomplete/users");n(l,28,0,"outline",t,e.lang.redirectBaskets,"idToDisplay","descriptionToDisplay")}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode,bi(l,5).menuOpen||null),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,8,0,bi(l,9).vertical?"vertical":"horizontal",bi(l,9).vertical,!bi(l,9).vertical,bi(l,9).inset),n(l,10,0,bi(l,12).disabled||null,"NoopAnimations"===bi(l,12)._animationMode),n(l,13,0,bi(l,14).inline,"primary"!==bi(l,14).color&&"accent"!==bi(l,14).color&&"warn"!==bi(l,14).color),n(l,15,0,bi(l,17).disabled||null,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,bi(l,19).inline,"primary"!==bi(l,19).color&&"accent"!==bi(l,19).color&&"warn"!==bi(l,19).color)}))}function Kq(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[137,4]],0,iI,[],null,null),(n()(),_o(3,0,null,0,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"change"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==e.stopPropagation()&&t),"change"===l&&(t=!1!==(e?i.selectionBaskets.toggle(n.parent.parent.context.$implicit):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(5,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"})],(function(n,l){var e=l.component;n(l,1,0,"primary"),n(l,5,0,"primary",e.selectionBaskets.isSelected(l.parent.parent.context.$implicit))}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color),n(l,3,0,bi(l,5).id,null,bi(l,5).indeterminate,bi(l,5).checked,bi(l,5).disabled,"before"==bi(l,5).labelPosition,"NoopAnimations"===bi(l,5)._animationMode)}))}function Yq(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-list-item",[["class","mat-list-item"],["style","cursor: pointer;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,135,{_lines:1}),ko(603979776,136,{_avatar:0}),ko(603979776,137,{_icon:0}),(n()(),vo(16777216,null,0,1,null,Kq)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,1,9,"h4",[["class","mat-line"],["color","primary"],["mat-line",""],["style","display: flex;align-items: center;"]],null,null,null,null,null)),Di(8,16384,[[135,4]],0,pv,[],null,null),(n()(),_o(9,16777216,null,null,7,"span",[["style","flex: 2;overflow: hidden;text-overflow: ellipsis;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,13).show()&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,13)._handleTouchend()&&t),"click"===l&&(t=!1!==i.selectionBaskets.toggle(n.parent.context.$implicit)&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(11,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(12,{opacity:0}),Di(13,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(14,null,[" "," "])),(n()(),_o(15,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(16,null,["",""]))],(function(n,l){n(l,6,0,l.parent.context.$implicit.enabled);var e=n(l,12,0,l.parent.context.$implicit.allowed?"1":"0.5");n(l,11,0,e),n(l,13,0,Wt(2,"",l.parent.context.$implicit.basket_name," [",l.parent.context.$implicit.group_desc,"]"))}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,14,0,l.parent.context.$implicit.basket_name),n(l,16,0,l.parent.context.$implicit.group_desc)}))}function Jq(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Yq)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,null==l.context.$implicit.userToDisplay)}),null)}function Zq(n){return jo(0,[(n()(),_o(0,0,null,null,35,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,34,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,141,{_lines:1}),ko(603979776,142,{_avatar:0}),ko(603979776,143,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-paper-plane mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-top:-60px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[143,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,4,"h4",[["class","mat-line"],["color","primary"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[141,4]],0,pv,[],null,null),(n()(),Lo(11,null,[""," "])),(n()(),_o(12,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,21,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[141,4]],0,pv,[],null,null),(n()(),_o(16,0,null,null,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,144,{_controlNonStatic:0}),ko(335544320,145,{_controlStatic:0}),ko(603979776,146,{_labelChildNonStatic:0}),ko(335544320,147,{_labelChildStatic:0}),ko(603979776,148,{_placeholderChild:0}),ko(603979776,149,{_errorChildren:1}),ko(603979776,150,{_hintChildren:1}),ko(603979776,151,{_prefixChildren:1}),ko(603979776,152,{_suffixChildren:1}),(n()(),_o(27,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["color","warn"],["disabled",""],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,28)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,28)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,28)._onInput()&&t),t}),null,null)),Di(28,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),Ei(2048,[[144,4],[145,4]],nT,null,[OT]),(n()(),_o(30,16777216,null,4,5,"button",[["aria-label","Clear"],["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,32).show()&&t),"keydown"===l&&(t=!1!==bi(n,32)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,32)._handleTouchend()&&t),"click"===l&&(t=!1!==i.delBasketRedirection(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(31,16384,[[152,4]],0,oT,[],null,null),Di(32,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(33,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(34,0,null,0,1,"mat-icon",[["class","fa fa-times text-danger mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(35,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=l.component;n(l,7,0,"primary"),n(l,28,0,"","text",Wt(2,"",e.lang.redirectedTo," ",l.context.$implicit.userToDisplay,"")),n(l,32,0,Wt(1,"",e.lang.deleteRedirection,"")),n(l,33,0,"warn"),n(l,35,0,"warn")}),(function(n,l){n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.basket_name),n(l,13,0,l.context.$implicit.group_desc),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,0,bi(l,28)._isServer,bi(l,28).id,bi(l,28).placeholder,bi(l,28).disabled,bi(l,28).required,bi(l,28).readonly&&!bi(l,28)._isNativeSelect||null,bi(l,28)._ariaDescribedby||null,bi(l,28).errorState,bi(l,28).required.toString()),n(l,30,0,bi(l,33).disabled||null,"NoopAnimations"===bi(l,33)._animationMode),n(l,34,0,bi(l,35).inline,"primary"!==bi(l,35).color&&"accent"!==bi(l,35).color&&"warn"!==bi(l,35).color)}))}function Qq(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.reassignBasketRedirection(e,n.parent.context.$implicit,n.parent.context.index)&&t),t}),HN,EN)),Di(1,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(2,1)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/users");n(l,1,0,"outline",t,e.lang.redirectBaskets,"idToDisplay","descriptionToDisplay")}),null)}function Xq(n){return jo(0,[(n()(),_o(0,0,null,null,43,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,42,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,156,{_lines:1}),ko(603979776,157,{_avatar:0}),ko(603979776,158,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-reply mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-top:-60px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[158,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,4,"h4",[["class","mat-line"],["color","primary"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[156,4]],0,pv,[],null,null),(n()(),Lo(11,null,[""," "])),(n()(),_o(12,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,29,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[156,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,Qq)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(19,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,159,{_controlNonStatic:0}),ko(335544320,160,{_controlStatic:0}),ko(603979776,161,{_labelChildNonStatic:0}),ko(335544320,162,{_labelChildStatic:0}),ko(603979776,163,{_placeholderChild:0}),ko(603979776,164,{_errorChildren:1}),ko(603979776,165,{_hintChildren:1}),ko(603979776,166,{_prefixChildren:1}),ko(603979776,167,{_suffixChildren:1}),(n()(),_o(29,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["color","warn"],["disabled",""],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),t}),null,null)),Di(30,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),Ei(2048,[[159,4],[160,4]],nT,null,[OT]),(n()(),_o(32,16777216,null,4,5,"button",[["aria-label","Clear"],["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,34).show()&&t),"keydown"===l&&(t=!1!==bi(n,34)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,34)._handleTouchend()&&t),"click"===l&&(t=!1!==(n.context.$implicit.userToDisplay=null)&&t),t}),PC,MC)),Di(33,16384,[[167,4]],0,oT,[],null,null),Di(34,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(35,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(36,0,null,0,1,"mat-icon",[["class","fa fa-edit mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(37,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(38,16777216,null,4,5,"button",[["aria-label","Clear"],["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,40).show()&&t),"keydown"===l&&(t=!1!==bi(n,40)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,40)._handleTouchend()&&t),"click"===l&&(t=!1!==i.delBasketAssignRedirection(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(39,16384,[[167,4]],0,oT,[],null,null),Di(40,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(41,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(42,0,null,0,1,"mat-icon",[["class","fa fa-times text-danger mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(43,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=l.component;n(l,7,0,"primary"),n(l,17,0,null==l.context.$implicit.userToDisplay),n(l,30,0,"","text",Wt(2,"",e.lang.assignBy," ",l.context.$implicit.userToDisplay,"")),n(l,34,0,Wt(1,"",e.lang.reassign,"")),n(l,35,0,"warn"),n(l,37,0,"primary"),n(l,40,0,Wt(1,"",e.lang.deleteAssignation,"")),n(l,41,0,"warn"),n(l,43,0,"warn")}),(function(n,l){n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.basket_name),n(l,13,0,l.context.$implicit.group_desc),n(l,18,1,["standard"==bi(l,19).appearance,"fill"==bi(l,19).appearance,"outline"==bi(l,19).appearance,"legacy"==bi(l,19).appearance,bi(l,19)._control.errorState,bi(l,19)._canLabelFloat,bi(l,19)._shouldLabelFloat(),bi(l,19)._hasFloatingLabel(),bi(l,19)._hideControlPlaceholder(),bi(l,19)._control.disabled,bi(l,19)._control.autofilled,bi(l,19)._control.focused,"accent"==bi(l,19).color,"warn"==bi(l,19).color,bi(l,19)._shouldForward("untouched"),bi(l,19)._shouldForward("touched"),bi(l,19)._shouldForward("pristine"),bi(l,19)._shouldForward("dirty"),bi(l,19)._shouldForward("valid"),bi(l,19)._shouldForward("invalid"),bi(l,19)._shouldForward("pending"),!bi(l,19)._animationsEnabled]),n(l,29,0,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()),n(l,32,0,bi(l,35).disabled||null,"NoopAnimations"===bi(l,35)._animationMode),n(l,36,0,bi(l,37).inline,"primary"!==bi(l,37).color&&"accent"!==bi(l,37).color&&"warn"!==bi(l,37).color),n(l,38,0,bi(l,41).disabled||null,"NoopAnimations"===bi(l,41)._animationMode),n(l,42,0,bi(l,43).inline,"primary"!==bi(l,43).color&&"accent"!==bi(l,43).color&&"warn"!==bi(l,43).color)}))}function nz(n){return jo(0,[(n()(),_o(0,16777216,null,null,49,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,127,{templateLabel:0}),ko(335544320,128,{_explicitContent:0}),(n()(),_o(4,0,null,0,22,"div",[["class","col-sm-6"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,21,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(6,704512,null,0,tI,[Pe],null,null),(n()(),_o(7,0,null,0,15,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(8,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,129,{_lines:1}),ko(603979776,130,{_avatar:0}),ko(603979776,131,{_icon:0}),(n()(),_o(12,0,null,0,6,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(14,16384,[[131,4]],0,iI,[],null,null),(n()(),_o(15,16777216,null,0,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,18).show()&&t),"keydown"===l&&(t=!1!==bi(n,18)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,18)._handleTouchend()&&t),"change"===l&&(t=!1!==(e?i.masterToggleBaskets(e):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(17,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),Di(18,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),vo(16777216,null,1,1,null,Gq)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Wq)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(23,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(24,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,Jq)),Di(26,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(27,0,null,0,22,"div",[["class","col-sm-6"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,10,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(29,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,138,{_tabs:1}),(n()(),_o(31,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(32,770048,[[138,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,139,{templateLabel:0}),ko(335544320,140,{_explicitContent:0}),(n()(),_o(35,0,null,0,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(36,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,Zq)),Di(38,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(39,0,null,null,10,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(40,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,153,{_tabs:1}),(n()(),_o(42,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(43,770048,[[153,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,154,{templateLabel:0}),ko(335544320,155,{_explicitContent:0}),(n()(),_o(46,0,null,0,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(47,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,Xq)),Di(49,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.baskets,"")),n(l,13,0,"primary"),n(l,17,0,"primary",e.selectionBaskets.hasValue()),n(l,18,0,Wt(1,"",e.lang.selectAll,"")),n(l,20,0,!e.selectionBaskets.hasValue()),n(l,22,0,e.selectionBaskets.hasValue()),n(l,26,0,e.user.baskets),n(l,32,0,Wt(1,"",e.lang.basketsRedirected,"")),n(l,38,0,e.user.redirectedBaskets),n(l,43,0,Wt(1,"",e.lang.basketsAssigned,"")),n(l,49,0,e.user.assignedBaskets)}),(function(n,l){n(l,7,0,bi(l,8)._avatar||bi(l,8)._icon,bi(l,8)._avatar||bi(l,8)._icon),n(l,12,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,15,0,bi(l,17).id,null,bi(l,17).indeterminate,bi(l,17).checked,bi(l,17).disabled,"before"==bi(l,17).labelPosition,"NoopAnimations"===bi(l,17)._animationMode),n(l,23,0,bi(l,24).vertical?"vertical":"horizontal",bi(l,24).vertical,!bi(l,24).vertical,bi(l,24).inset),n(l,28,0,bi(l,29).dynamicHeight,"below"===bi(l,29).headerPosition),n(l,39,0,bi(l,40).dynamicHeight,"below"===bi(l,40).headerPosition)}))}function lz(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"div",[["class","dndFile"],["dnd-droppable",""]],[[2,"dndFileHighlighted",null]],[[null,"click"],[null,"dragover"],[null,"dragleave"],[null,"onDropSuccess"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.clickOnUploader("uploadSignFile")&&t),"dragover"===l&&(t=0!=(i.highlightMe=!0)&&t),"dragleave"===l&&(t=0!=(i.highlightMe=!1)&&t),"onDropSuccess"===l&&(i.test(e),t=0!=(i.highlightMe=!1)&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,16384,null,0,lq,[Pe,KV,GV,Nl],null,{onDropSuccess:"onDropSuccess"}),(n()(),Lo(3,null,[" "," "])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.uploadSignFileInfo,""))}),(function(n,l){var e=l.component;n(l,0,0,e.highlightMe),n(l,3,0,e.lang.uploadSignFile)}))}function ez(n){return jo(0,[(n()(),_o(0,0,null,null,30,"div",[["class","col-md-3 col-sm-6 col-xm-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,29,"mat-card",[["class","mat-card"],["style","margin-bottom:10px;overflow:hidden;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(2,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(3,0,null,0,27,"mat-card-content",[["class","mat-card-content"],["style","text-align:center;"]],null,null,null,null,null)),Di(4,16384,null,0,vO,[],null,null),(n()(),_o(5,0,null,null,24,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(6,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,170,{_controlNonStatic:0}),ko(335544320,171,{_controlStatic:0}),ko(603979776,172,{_labelChildNonStatic:0}),ko(335544320,173,{_labelChildStatic:0}),ko(603979776,174,{_placeholderChild:0}),ko(603979776,175,{_errorChildren:1}),ko(603979776,176,{_hintChildren:1}),ko(603979776,177,{_prefixChildren:1}),ko(603979776,178,{_suffixChildren:1}),(n()(),_o(16,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","selectedSignatureLabel"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.signature_label=e)&&t),"change"===l&&(t=!1!==i.updateSignature(n.context.index)&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[170,4],[171,4]],nT,null,[OT]),(n()(),_o(24,16777216,null,4,5,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,26).show()&&t),"keydown"===l&&(t=!1!==bi(n,26)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,26)._handleTouchend()&&t),"click"===l&&(t=!1!==i.deleteSignature(n.context.$implicit)&&t),t}),PC,MC)),Di(25,16384,[[178,4]],0,oT,[],null,null),Di(26,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(28,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(29,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(30,0,null,null,0,"img",[["alt","Signature"],["style","width:auto;height:60px;"]],[[8,"src",4]],null,null,null,null))],(function(n,l){var e=l.component;n(l,6,0,"never"),n(l,19,0,"selectedSignatureLabel",!e.canManagePersonalDatas,l.context.$implicit.signature_label),n(l,22,0,!e.canManagePersonalDatas,Wt(1,"",e.lang.label,""),"text"),n(l,26,0,Wt(1,"",e.lang.delete,"")),n(l,27,0,!e.canManagePersonalDatas,"warn"),n(l,29,0)}),(function(n,l){var e=l.component;n(l,1,0,"NoopAnimations"===bi(l,2)._animationMode),n(l,5,1,["standard"==bi(l,6).appearance,"fill"==bi(l,6).appearance,"outline"==bi(l,6).appearance,"legacy"==bi(l,6).appearance,bi(l,6)._control.errorState,bi(l,6)._canLabelFloat,bi(l,6)._shouldLabelFloat(),bi(l,6)._hasFloatingLabel(),bi(l,6)._hideControlPlaceholder(),bi(l,6)._control.disabled,bi(l,6)._control.autofilled,bi(l,6)._control.focused,"accent"==bi(l,6).color,"warn"==bi(l,6).color,bi(l,6)._shouldForward("untouched"),bi(l,6)._shouldForward("touched"),bi(l,6)._shouldForward("pristine"),bi(l,6)._shouldForward("dirty"),bi(l,6)._shouldForward("valid"),bi(l,6)._shouldForward("invalid"),bi(l,6)._shouldForward("pending"),!bi(l,6)._animationsEnabled]),n(l,16,1,[bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()]),n(l,24,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,bi(l,29).inline,"primary"!==bi(l,29).color&&"accent"!==bi(l,29).color&&"warn"!==bi(l,29).color),n(l,30,0,Wt(2,"../../rest/users/",e.user.id,"/signatures/",l.context.$implicit.id,"/content"))}))}function tz(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.syncMP()&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-sync-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"fa-spin",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.syncSignsToMaarchParapheur,"")),n(l,2,0,!e.user.external_id.maarchParapheur||e.loadingSign,"primary"),n(l,4,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.loadingSign,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function iz(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","col-md-2"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"img",[["alt","Invalid image"],["id","signaturePreview"],["style","width: 100%;"]],[[8,"src",4]],null,null,null,null))],null,(function(n,l){n(l,1,0,Wt(1,"",l.component.signatureModel.base64ForJs,""))}))}function az(n){return jo(0,[(n()(),_o(0,16777216,null,null,42,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{disabled:[0,"disabled"],textLabel:[1,"textLabel"]},null),ko(603979776,168,{templateLabel:0}),ko(335544320,169,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,lz)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,0,6,"div",[["style","display: flex;align-items: flex-start;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,2,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ez)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(10,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tz)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,0,null,0,29,"form",[["novalidate",""],["style","display:none;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,15).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,15).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.submitSignature()&&t),t}),null,null)),Di(14,16384,null,0,yy,[],null,null),Di(15,4210688,[["signatureForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(17,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(18,0,null,null,11,"div",[["class","col-md-11"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,7,"input",[["class","form-control"],["id","signLabel"],["name","label"],["required",""],["type","text"]],[[8,"placeholder",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,20)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,20)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,20)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(i.signatureModel.label=e)&&t),t}),null,null)),Di(20,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(21,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(24,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(26,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(27,0,null,null,2,"div",[["class","form-inline hide"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,1,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,0,"input",[["accept","image/*"],["id","uploadSignFile"],["name","files[]"],["type","file"]],null,[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.uploadSignatureTrigger(e)&&t),t}),null,null)),(n()(),_o(30,0,null,null,2,"div",[["class","col-md-1"],["style","margin-bottom:5px;"]],null,null,null,null,null)),(n()(),_o(31,0,null,null,1,"button",[["class","form-control btn btn-sm btn-success"],["type","submit"]],[[8,"disabled",0]],null,null,null,null)),(n()(),_o(32,0,null,null,0,"i",[["class","fa fa-plus"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,7,"div",[],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(35,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Eo(36,1),(n()(),_o(37,0,null,null,3,"div",[["class","upload-drop-zone"],["style","cursor:pointer"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.clickOnUploader("uploadSignFile")&&t),t}),null,null)),(n()(),Lo(38,null,[" "," "])),(n()(),_o(39,0,null,null,0,"i",[["class","fa fa-upload fa-2x"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" ( < 2MB ) "])),(n()(),vo(16777216,null,null,1,null,iz)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,!e.canViewPersonalDatas,Wt(1,"",e.lang.signatures,"")),n(l,5,0,e.canManagePersonalDatas),n(l,9,0,e.user.signatures),n(l,12,0,e.user.signatures.length>0&&e.canManagePersonalDatas),n(l,21,0,""),n(l,24,0,"label",e.signatureModel.label);var t=n(l,36,0,""!=e.signatureModel.size?"col-md-10":"col-md-12");n(l,35,0,t),n(l,42,0,e.signatureModel.size)}),(function(n,l){var e=l.component;n(l,13,0,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending),n(l,19,0,Wt(1,"",e.lang.label,""),bi(l,21).required?"":null,bi(l,26).ngClassUntouched,bi(l,26).ngClassTouched,bi(l,26).ngClassPristine,bi(l,26).ngClassDirty,bi(l,26).ngClassValid,bi(l,26).ngClassInvalid,bi(l,26).ngClassPending),n(l,31,0,!bi(l,15).form.valid||!e.signatureModel.size),n(l,38,0,e.lang.clickOn)}))}function oz(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.date)}))}function rz(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" ",""])),Fo(3,2)],null,(function(n,l){var e=bt(l,2,0,n(l,3,0,bi(l.parent.parent.parent,0),l.context.$implicit.event_date,"dd/MM/y HH:mm"));n(l,2,0,e)}))}function uz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.technicalId)}))}function sz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.context.$implicit.record_id)}))}function cz(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function dz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.info)}))}function pz(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.ip)}))}function mz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.remote_ip)}))}function fz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function hz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function gz(n){return jo(0,[(n()(),_o(0,16777216,null,null,120,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,179,{templateLabel:0}),ko(335544320,180,{_explicitContent:0}),(n()(),_o(4,0,null,0,116,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,115,"div",[],null,null,null,null,null)),(n()(),_o(6,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(9,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,181,{_controlNonStatic:0}),ko(335544320,182,{_controlStatic:0}),ko(603979776,183,{_labelChildNonStatic:0}),ko(335544320,184,{_labelChildStatic:0}),ko(603979776,185,{_placeholderChild:0}),ko(603979776,186,{_errorChildren:1}),ko(603979776,187,{_hintChildren:1}),ko(603979776,188,{_prefixChildren:1}),ko(603979776,189,{_suffixChildren:1}),(n()(),_o(19,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(20,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[181,4],[182,4]],nT,null,[OT]),(n()(),_o(22,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(24,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(25,0,null,null,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","event_date"],["matSortDirection","desc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(27,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,190,{_contentColumnDefs:1}),ko(603979776,191,{_contentRowDefs:1}),ko(603979776,192,{_contentHeaderRowDefs:1}),ko(603979776,193,{_contentFooterRowDefs:1}),Di(32,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(33,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(35,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,194,{cell:0}),ko(603979776,195,{headerCell:0}),ko(603979776,196,{footerCell:0}),Ei(2048,[[190,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,oz)),Di(41,16384,null,0,tR,[Xe],null,null),Ei(2048,[[195,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,rz)),Di(44,16384,null,0,eR,[Xe],null,null),Ei(2048,[[194,4]],OL,null,[eR]),(n()(),_o(46,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(48,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,197,{cell:0}),ko(603979776,198,{headerCell:0}),ko(603979776,199,{footerCell:0}),Ei(2048,[[190,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,uz)),Di(54,16384,null,0,tR,[Xe],null,null),Ei(2048,[[198,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,sz)),Di(57,16384,null,0,eR,[Xe],null,null),Ei(2048,[[197,4]],OL,null,[eR]),(n()(),_o(59,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(61,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,200,{cell:0}),ko(603979776,201,{headerCell:0}),ko(603979776,202,{footerCell:0}),Ei(2048,[[190,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,cz)),Di(67,16384,null,0,tR,[Xe],null,null),Ei(2048,[[201,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,dz)),Di(70,16384,null,0,eR,[Xe],null,null),Ei(2048,[[200,4]],OL,null,[eR]),(n()(),_o(72,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(74,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,203,{cell:0}),ko(603979776,204,{headerCell:0}),ko(603979776,205,{footerCell:0}),Ei(2048,[[190,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,pz)),Di(80,16384,null,0,tR,[Xe],null,null),Ei(2048,[[204,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,mz)),Di(83,16384,null,0,eR,[Xe],null,null),Ei(2048,[[203,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,fz)),Di(86,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[192,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,hz)),Di(89,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[191,4]],UL,null,[uR]),(n()(),_o(91,0,null,null,29,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(92,0,null,null,28,"div",[["class","col-md-3 pull-right"],["style","padding-top:10px;"]],null,null,null,null,null)),(n()(),_o(93,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(94,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,206,{_controlNonStatic:0}),ko(335544320,207,{_controlStatic:0}),ko(603979776,208,{_labelChildNonStatic:0}),ko(335544320,209,{_labelChildStatic:0}),ko(603979776,210,{_placeholderChild:0}),ko(603979776,211,{_errorChildren:1}),ko(603979776,212,{_hintChildren:1}),ko(603979776,213,{_prefixChildren:1}),ko(603979776,214,{_suffixChildren:1}),(n()(),_o(104,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,105)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,105).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,105)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,105)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,106)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,106)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,106)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,106)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,113)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,113)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,113)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.minDate=e)&&t),t}),null,null)),Di(105,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(106,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],disabled:[1,"disabled"]},null),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(109,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(111,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(113,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[206,4],[207,4]],nT,null,[OT]),(n()(),_o(115,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,117)._button.focus()&&t),t}),nk,QC)),Di(116,16384,[[214,4]],0,oT,[],null,null),Di(117,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,215,{_customIcon:0}),(n()(),_o(119,16777216,null,1,1,"mat-datepicker",[["startView","month"]],null,null,null,ZC,JC)),Di(120,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{startAt:[0,"startAt"],startView:[1,"startView"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.history,"")),n(l,20,0,Wt(1,"",e.lang.filterBy,"")),n(l,24,0,100,10,!0),n(l,27,0,e.dataSource),n(l,32,0,"event_date","desc"),n(l,35,0,"event_date"),n(l,48,0,"record_id"),n(l,61,0,"info"),n(l,74,0,"remote_ip"),n(l,86,0,e.displayedColumns),n(l,89,0,e.displayedColumns),n(l,106,0,bi(l,120),""),n(l,109,0,"",e.minDate),n(l,113,0,"",Wt(1,"",e.lang.since,"")),n(l,117,0,bi(l,120)),n(l,120,0,e.minDate,"month")}),(function(n,l){n(l,8,1,["standard"==bi(l,9).appearance,"fill"==bi(l,9).appearance,"outline"==bi(l,9).appearance,"legacy"==bi(l,9).appearance,bi(l,9)._control.errorState,bi(l,9)._canLabelFloat,bi(l,9)._shouldLabelFloat(),bi(l,9)._hasFloatingLabel(),bi(l,9)._hideControlPlaceholder(),bi(l,9)._control.disabled,bi(l,9)._control.autofilled,bi(l,9)._control.focused,"accent"==bi(l,9).color,"warn"==bi(l,9).color,bi(l,9)._shouldForward("untouched"),bi(l,9)._shouldForward("touched"),bi(l,9)._shouldForward("pristine"),bi(l,9)._shouldForward("dirty"),bi(l,9)._shouldForward("valid"),bi(l,9)._shouldForward("invalid"),bi(l,9)._shouldForward("pending"),!bi(l,9)._animationsEnabled]),n(l,19,0,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()),n(l,93,1,["standard"==bi(l,94).appearance,"fill"==bi(l,94).appearance,"outline"==bi(l,94).appearance,"legacy"==bi(l,94).appearance,bi(l,94)._control.errorState,bi(l,94)._canLabelFloat,bi(l,94)._shouldLabelFloat(),bi(l,94)._hasFloatingLabel(),bi(l,94)._hideControlPlaceholder(),bi(l,94)._control.disabled,bi(l,94)._control.autofilled,bi(l,94)._control.focused,"accent"==bi(l,94).color,"warn"==bi(l,94).color,bi(l,94)._shouldForward("untouched"),bi(l,94)._shouldForward("touched"),bi(l,94)._shouldForward("pristine"),bi(l,94)._shouldForward("dirty"),bi(l,94)._shouldForward("valid"),bi(l,94)._shouldForward("invalid"),bi(l,94)._shouldForward("pending"),!bi(l,94)._animationsEnabled]),n(l,104,1,[bi(l,106)._datepicker?"dialog":null,(null==bi(l,106)._datepicker?null:bi(l,106)._datepicker.opened)&&bi(l,106)._datepicker.id||null,bi(l,106).min?bi(l,106)._dateAdapter.toIso8601(bi(l,106).min):null,bi(l,106).max?bi(l,106)._dateAdapter.toIso8601(bi(l,106).max):null,bi(l,106).disabled,bi(l,111).ngClassUntouched,bi(l,111).ngClassTouched,bi(l,111).ngClassPristine,bi(l,111).ngClassDirty,bi(l,111).ngClassValid,bi(l,111).ngClassInvalid,bi(l,111).ngClassPending,bi(l,113)._isServer,bi(l,113).id,bi(l,113).placeholder,bi(l,113).disabled,bi(l,113).required,bi(l,113).readonly&&!bi(l,113)._isNativeSelect||null,bi(l,113)._ariaDescribedby||null,bi(l,113).errorState,bi(l,113).required.toString()]),n(l,115,0,-1,bi(l,117).datepicker&&bi(l,117).datepicker.opened,bi(l,117).datepicker&&"accent"===bi(l,117).datepicker.color,bi(l,117).datepicker&&"warn"===bi(l,117).datepicker.color)}))}function bz(n){return jo(0,[(n()(),_o(0,0,null,null,24,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,22,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"],[null,"selectedTabChange"]],(function(n,l,e){var t=!0,i=n.component;return"selectedIndexChange"===l&&(t=!1!==(i.selectedTabIndex=e)&&t),"selectedTabChange"===l&&(t=!1!==i.initService()&&t),t}),LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange",selectedTabChange:"selectedTabChange"}),ko(603979776,25,{_tabs:1}),(n()(),_o(5,16777216,null,null,9,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,26,{templateLabel:0}),ko(335544320,27,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,Rq)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Nq)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Uq)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$q)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Hq)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nz)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,az)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,gz)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedTabIndex),n(l,6,0,Wt(1,"",e.lang.informations,"")),n(l,10,0,e.showPassword),n(l,12,0,"ABS"==e.user.status&&!e.showPassword),n(l,14,0,!e.showPassword),n(l,16,0,!e.creationMode),n(l,18,0,!e.creationMode),n(l,20,0,!e.creationMode),n(l,22,0,!e.creationMode),n(l,24,0,!e.creationMode)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition)}))}function vz(n){return jo(0,[(n()(),_o(0,0,null,null,35,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,216,{_lines:1}),ko(603979776,217,{_avatar:0}),ko(603979776,218,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-users mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[218,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"h4",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[216,4]],0,pv,[],null,null),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,1,24,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(12,16384,[[216,4]],0,pv,[],null,null),(n()(),_o(13,0,null,null,22,"mat-form-field",[["class","mat-form-field"],["style","font-size:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,219,{_controlNonStatic:0}),ko(335544320,220,{_controlStatic:0}),ko(603979776,221,{_labelChildNonStatic:0}),ko(335544320,222,{_labelChildStatic:0}),ko(603979776,223,{_placeholderChild:0}),ko(603979776,224,{_errorChildren:1}),ko(603979776,225,{_hintChildren:1}),ko(603979776,226,{_prefixChildren:1}),ko(603979776,227,{_suffixChildren:1}),(n()(),_o(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","role"],["matInput",""],["name","role"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,25)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,25)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,25)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.role=e)&&t),"change"===l&&(t=!1!==i.updateGroup(n.context.$implicit)&&t),t}),null,null)),Di(25,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(27,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(29,16384,null,0,y_,[[4,v_]],null,null),Di(30,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[219,4],[220,4]],nT,null,[OT]),(n()(),_o(32,16777216,null,6,3,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,34).show()&&t),"keydown"===l&&(t=!1!==bi(n,34)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,34)._handleTouchend()&&t),t}),null,null)),Di(33,16384,[[225,4]],0,tT,[],null,null),Di(34,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(35,null,["",""]))],(function(n,l){var e=l.component;n(l,6,0,"primary"),n(l,27,0,"role",l.context.$implicit.role),n(l,30,0,"role",Wt(1,"",e.lang.role,""),"text"),n(l,34,0,Wt(1,"",e.lang.perimeter,""))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,l.context.$implicit.group_desc),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,24,1,[Wt(1,"",e.lang.role,""),bi(l,29).ngClassUntouched,bi(l,29).ngClassTouched,bi(l,29).ngClassPristine,bi(l,29).ngClassDirty,bi(l,29).ngClassValid,bi(l,29).ngClassInvalid,bi(l,29).ngClassPending,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()]),n(l,32,0,"end"==bi(l,33).align,bi(l,33).id,null),n(l,35,0,l.context.$implicit.maarch_comment)}))}function _z(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-sitemap mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[230,4]],0,iI,[],null,null)],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function yz(n){return jo(0,[(n()(),_o(0,0,null,null,7,"mat-icon",[["class","fa fa-sitemap mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","position:relative;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[230,4]],0,iI,[],null,null),(n()(),_o(3,16777216,null,0,4,"button",[["mat-icon-button",""],["style","cursor:pointer;position: absolute;right: -20px;top: -20px;font-size:10px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,4).show()&&t),"keydown"===l&&(t=!1!==bi(n,4)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,4)._handleTouchend()&&t),"click"===l&&(t=!1!==i.updatePrimaryEntity(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(4,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","fa fa-arrow-up mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,1,0,"primary"),n(l,4,0,Wt(1,"",e.lang.entityTooglePrimary,"")),n(l,7,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color),n(l,3,0,bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color)}))}function wz(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.primary)}))}function xz(n){return jo(0,[(n()(),_o(0,0,null,null,38,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,228,{_lines:1}),ko(603979776,229,{_avatar:0}),ko(603979776,230,{_icon:0}),(n()(),vo(16777216,null,0,1,null,_z)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,yz)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,16777216,null,1,8,"h4",[["class","mat-line"],["mat-line",""]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,13).show()&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,13)._handleTouchend()&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(11,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(12,{"font-weight":0}),Di(13,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(14,16384,[[228,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,wz)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,1,20,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(19,16384,[[228,4]],0,pv,[],null,null),(n()(),_o(20,0,null,null,18,"mat-form-field",[["class","mat-form-field"],["style","font-size:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(21,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,231,{_controlNonStatic:0}),ko(335544320,232,{_controlStatic:0}),ko(603979776,233,{_labelChildNonStatic:0}),ko(335544320,234,{_labelChildStatic:0}),ko(603979776,235,{_placeholderChild:0}),ko(603979776,236,{_errorChildren:1}),ko(603979776,237,{_hintChildren:1}),ko(603979776,238,{_prefixChildren:1}),ko(603979776,239,{_suffixChildren:1}),(n()(),_o(31,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","role"],["matInput",""],["name","role"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,32)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,32).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,32)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,32)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,37)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,37)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,37)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.user_role=e)&&t),"change"===l&&(t=!1!==i.updateEntity(n.context.$implicit)&&t),t}),null,null)),Di(32,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(34,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(36,16384,null,0,y_,[[4,v_]],null,null),Di(37,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[231,4],[232,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,6,0,"Y"==l.context.$implicit.primary_entity),n(l,8,0,"Y"!=l.context.$implicit.primary_entity);var t=n(l,12,0,"Y"==l.context.$implicit.primary_entity?"bold":"normal");n(l,11,0,t),n(l,13,0,Wt(1,"",l.context.$implicit.entity_label,"")),n(l,17,0,"Y"==l.context.$implicit.primary_entity),n(l,34,0,"role",l.context.$implicit.user_role),n(l,37,0,"role",Wt(1,"",e.lang.role,""),"text")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,15,0,l.context.$implicit.entity_label),n(l,20,1,["standard"==bi(l,21).appearance,"fill"==bi(l,21).appearance,"outline"==bi(l,21).appearance,"legacy"==bi(l,21).appearance,bi(l,21)._control.errorState,bi(l,21)._canLabelFloat,bi(l,21)._shouldLabelFloat(),bi(l,21)._hasFloatingLabel(),bi(l,21)._hideControlPlaceholder(),bi(l,21)._control.disabled,bi(l,21)._control.autofilled,bi(l,21)._control.focused,"accent"==bi(l,21).color,"warn"==bi(l,21).color,bi(l,21)._shouldForward("untouched"),bi(l,21)._shouldForward("touched"),bi(l,21)._shouldForward("pristine"),bi(l,21)._shouldForward("dirty"),bi(l,21)._shouldForward("valid"),bi(l,21)._shouldForward("invalid"),bi(l,21)._shouldForward("pending"),!bi(l,21)._animationsEnabled]),n(l,31,1,[Wt(1,"",e.lang.role,""),bi(l,36).ngClassUntouched,bi(l,36).ngClassTouched,bi(l,36).ngClassPristine,bi(l,36).ngClassDirty,bi(l,36).ngClassValid,bi(l,36).ngClassInvalid,bi(l,36).ngClassPending,bi(l,37)._isServer,bi(l,37).id,bi(l,37).placeholder,bi(l,37).disabled,bi(l,37).required,bi(l,37).readonly&&!bi(l,37)._isNativeSelect||null,bi(l,37)._ariaDescribedby||null,bi(l,37).errorState,bi(l,37).required.toString()])}))}function Cz(n){return jo(0,[Fi(0,Rs,[ba]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(5,0,null,null,37,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(6,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,Dq)),(n()(),_o(10,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(11,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(12,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(16,114688,null,0,GO,[_u],null,null),(n()(),_o(17,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(19,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(20,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(22,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Fq)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bz)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,0,15,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;max-width:500px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,28)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,28)._animationDoneListener(e)&&t),t}),zO,qO)),Di(28,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(29,0,null,0,13,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(30,704512,null,0,tI,[Pe],null,null),(n()(),_o(31,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(32,16384,null,0,aI,[],null,null),(n()(),Lo(33,null,["",""])),(n()(),vo(16777216,null,0,1,null,vz)),Di(35,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(36,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(37,49152,null,0,mI,[],null,null),(n()(),_o(38,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(39,16384,null,0,aI,[],null,null),(n()(),Lo(40,null,["",""])),(n()(),vo(16777216,null,0,1,null,xz)),Di(42,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,""),n(l,11,0),n(l,16,0),n(l,19,0),n(l,24,0,e.loading),n(l,26,0,!e.loading),n(l,28,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode()&&!e.creationMode,e.appService.getViewMode(),"56"),n(l,35,0,e.user.groups),n(l,42,0,e.user.entities)}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6)._backdropOverride),n(l,10,0,bi(l,11)._container._contentMargins.left,bi(l,11)._container._contentMargins.right),n(l,13,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,21,0,e.appService.getViewMode()),n(l,27,0,null,"end"===bi(l,28).position,"over"===bi(l,28).mode,"push"===bi(l,28).mode,"side"===bi(l,28).mode,bi(l,28).opened,bi(l,28).fixedInViewport,bi(l,28).fixedInViewport?bi(l,28).fixedTopGap:null,bi(l,28).fixedInViewport?bi(l,28).fixedBottomGap:null,bi(l,28)._animationState),n(l,33,0,e.lang.groups),n(l,36,0,bi(l,37).vertical?"vertical":"horizontal",bi(l,37).vertical,!bi(l,37).vertical,bi(l,37).inset),n(l,40,0,e.lang.entities)}))}function kz(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,Cz,wq)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,dq,[nS,Zp,uf,La,tu,Jv,_u,Oy,yu,TI,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var Sz=oi("ng-component",dq,kz,{},{},[]),Iz=yt({encapsulation:0,styles:[".mat-dialog-content[_ngcontent-%COMP%]{max-height: 65vh;width:600px;}"],data:{}});function Az(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.redirectConfidentialInfo)}))}function Mz(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.redirectModelInfo)}))}function Pz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["required",""],["singleMode",""]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setRedirectUser(e)&&t),t}),HN,EN)),Di(1,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],required:[1,"required"],routeDatas:[2,"routeDatas"],placeholder:[3,"placeholder"],optGroupLabel:[4,"optGroupLabel"],key:[5,"key"],subInfoKey:[6,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(2,1)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/users");n(l,1,0,"","",t,e.lang.userReplacement,e.lang.availableUsers,"idToDisplay","descriptionToDisplay")}),null)}function Dz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.doNothingRedirectInformations)}))}function Fz(n){return jo(0,[(n()(),_o(0,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.removeUserRedirectInformations)}))}function Ez(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.reaffectUserRedirectInformations)}))}function Oz(n){return jo(0,[(n()(),_o(0,0,null,null,46,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,36,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,34,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,8).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,8).onReset()&&t),t}),null,null)),Di(7,16384,null,0,yy,[],null,null),Di(8,4210688,[["redirectConfForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(10,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,Az)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mz)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,25,"div",[["class","input-group"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,15,"mat-radio-group",[["class","mat-radio-group"],["color","primary"],["id","processMode"],["name","processMode"],["role","radiogroup"],["style","display: inline-flex;flex-direction: column;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.processMode=e)&&t),t}),null,null)),Di(17,1064960,null,1,gq,[Nl],{color:[0,"color"],name:[1,"name"]},null),ko(603979776,1,{_radios:1}),Ei(1024,null,d_,(function(n){return[n]}),[gq]),Di(20,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(22,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(23,0,null,null,2,"mat-radio-button",[["checked","true"],["class","mat-radio-button"],["color","primary"],["value",""]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,24)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(24,4440064,[[1,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{checked:[0,"checked"],value:[1,"value"],color:[2,"color"]},null),(n()(),Lo(25,0,[" "," "])),(n()(),_o(26,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["value","delete"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,27)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(27,4440064,[[1,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"],color:[1,"color"]},null),(n()(),Lo(28,0,[" "," "])),(n()(),_o(29,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["value","reaffect"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,30)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(30,4440064,[[1,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"],color:[1,"color"]},null),(n()(),Lo(31,0,[" "," "])),(n()(),vo(16777216,null,null,1,null,Pz)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(34,0,null,null,6,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","max-width: inherit;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Dz)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Fz)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ez)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(41,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(42,0,null,null,4,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(43,16384,null,0,l_,[],null,null),(n()(),_o(44,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close({newUser:i.redirectUser,processMode:i.processMode})&&t),t}),PC,MC)),Di(45,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(46,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,12,0,e.data.hasConfidentialityInstances),n(l,14,0,e.data.hasListTemplates),n(l,17,0,"primary","processMode"),n(l,20,0,"processMode",e.processMode),n(l,24,0,"true","","primary"),n(l,27,0,"delete","primary"),n(l,30,0,"reaffect","primary"),n(l,33,0,"reaffect"==e.processMode),n(l,36,0,""==e.processMode),n(l,38,0,"delete"==e.processMode),n(l,40,0,"reaffect"==e.processMode),n(l,45,0,!e.redirectUser&&"reaffect"==e.processMode,"primary")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.redirects),n(l,6,0,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending),n(l,16,0,bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending),n(l,23,1,[bi(l,24).checked,bi(l,24).disabled,"NoopAnimations"===bi(l,24)._animationMode,"primary"===bi(l,24).color,"accent"===bi(l,24).color,"warn"===bi(l,24).color,-1,bi(l,24).id,null,null,null]),n(l,25,0,e.lang.doNothingRedirect),n(l,26,1,[bi(l,27).checked,bi(l,27).disabled,"NoopAnimations"===bi(l,27)._animationMode,"primary"===bi(l,27).color,"accent"===bi(l,27).color,"warn"===bi(l,27).color,-1,bi(l,27).id,null,null,null]),n(l,28,0,e.lang.removeUserRedirect),n(l,29,1,[bi(l,30).checked,bi(l,30).disabled,"NoopAnimations"===bi(l,30)._animationMode,"primary"===bi(l,30).color,"accent"===bi(l,30).color,"warn"===bi(l,30).color,-1,bi(l,30).id,null,null,null]),n(l,31,0,e.lang.reaffectUserRedirect),n(l,44,0,bi(l,45).disabled||null,"NoopAnimations"===bi(l,45)._animationMode),n(l,46,0,e.lang.validate)}))}function Tz(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Oz,Iz)),Di(1,49152,null,0,pq,[nS,Gv,Hv],null,null)],null,null)}var Lz=oi("ng-component",pq,Tz,{},{},[]),Rz=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.functions=a,this.viewContainerRef=o,this.lang=Kr,this.loading=!1,this.config={},this.groups=[],this.groupsForAssign=[],this.displayedColumns=["group_id","group_desc","actions"],this.dataSource=new mR(this.groups),$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["group_id","group_desc"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.groups),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/groups").subscribe((function(l){n.groups=l.groups,n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.groups),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="group_desc",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.preDelete=function(n){var l=this;0==n.users.length?confirm(this.lang.reallyWantToDeleteThisGroup)&&this.deleteGroup(n):(this.groupsForAssign=[],this.groups.forEach((function(e){n.group_id!=e.group_id&&l.groupsForAssign.push(e)})),this.config={panelClass:"maarch-modal",data:{id:n.id,group_desc:n.group_desc,groupsForAssign:this.groupsForAssign,users:n.users}},this.dialogRef=this.dialog.open(Nz,this.config),this.dialogRef.afterClosed().subscribe((function(e){e&&("_NO_REPLACEMENT"==e?l.deleteGroup(n):l.http.put("../../rest/groups/"+n.id+"/reassign/"+e,{}).subscribe((function(e){l.deleteGroup(n)}),(function(n){l.notify.error(n.error.errors)}))),l.dialogRef=null})))},n.prototype.deleteGroup=function(n){var l=this;this.http.delete("../../rest/groups/"+n.id).subscribe((function(n){setTimeout((function(){l.groups=n.groups,l.dataSource=new mR(l.groups),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort}),0),l.notify.success(l.lang.groupDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),Nz=function(){return function(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr}}(),jz=yt({encapsulation:2,styles:[],data:{}});function Vz(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/groups/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/groups/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function qz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function zz(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function Uz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.group_id)}))}function Bz(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function $z(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.group_desc)}))}function Hz(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function Gz(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.preDelete(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function Wz(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function Kz(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/groups/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function Yz(n){return jo(0,[(n()(),_o(0,0,null,null,75,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,10,{_controlNonStatic:0}),ko(335544320,11,{_controlStatic:0}),ko(603979776,12,{_labelChildNonStatic:0}),ko(335544320,13,{_labelChildStatic:0}),ko(603979776,14,{_placeholderChild:0}),ko(603979776,15,{_errorChildren:1}),ko(603979776,16,{_hintChildren:1}),ko(603979776,17,{_prefixChildren:1}),ko(603979776,18,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[10,4],[11,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,52,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","group_desc"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,19,{_contentColumnDefs:1}),ko(603979776,20,{_contentRowDefs:1}),ko(603979776,21,{_contentHeaderRowDefs:1}),ko(603979776,22,{_contentFooterRowDefs:1}),Di(28,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,23,{cell:0}),ko(603979776,24,{headerCell:0}),ko(603979776,25,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,zz)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[24,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Uz)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[23,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Bz)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,$z)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Hz)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Gz)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Wz)),Di(69,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[21,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,Kz)),Di(72,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],UL,null,[uR]),(n()(),_o(74,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(75,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"group_desc","asc"),n(l,31,0,"group_id"),n(l,44,0,"group_desc"),n(l,57,0,"actions"),n(l,69,0,e.displayedColumns),n(l,72,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,75,0,e.groups.length,e.lang.groups)}))}function Jz(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,Vz)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,qz)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Yz)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode())}))}function Zz(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,Jz,jz)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,Rz,[nS,tu,Jv,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var Qz=oi("ng-component",Rz,Zz,{},{},[]),Xz=yt({encapsulation:2,styles:[],data:{}});function nU(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-list-item",[["class","mat-list-item"],["style","height:25px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-user mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,1,"h4",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[1,4]],0,pv,[],null,null),(n()(),_o(10,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(11,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(12,null,[" "," ",""]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,12,0,l.context.$implicit.firstname,l.context.$implicit.lastname)}))}function lU(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.group_desc)}))}function eU(n){return jo(0,[(n()(),_o(0,0,null,null,58,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h2",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,48,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,46,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,8).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,8).onReset()&&t),t}),null,null)),Di(7,16384,null,0,yy,[],null,null),Di(8,4210688,[["changeGroupUsersForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(10,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(11,0,null,null,11,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" Le groupe "])),(n()(),_o(13,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(14,null,["",""])),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(17,null,["",""])),(n()(),Lo(18,null,[" ",": "])),(n()(),_o(19,0,null,null,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(20,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,nU)),Di(22,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(23,0,null,null,29,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(24,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(34,0,null,1,18,"mat-select",[["class","mat-select"],["id","groups_redirect"],["name","groups_redirect"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,40)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,40)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,40)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.data.group_redirect=e)&&t),t}),GR,qR)),Di(35,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(37,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(39,16384,null,0,y_,[[4,v_]],null,null),Di(40,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,13,{options:1}),ko(603979776,14,{optionGroups:1}),ko(603979776,15,{customTrigger:0}),Ei(2048,[[4,4],[5,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(46,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","_NO_REPLACEMENT"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,47)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,47)._handleKeydown(e)&&t),t}),bI,hI)),Di(47,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(48,0,["-- "," --"])),(n()(),_o(49,0,null,1,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(50,49152,[[14,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,lU)),Di(52,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(53,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,4,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(55,16384,null,0,l_,[],null,null),(n()(),_o(56,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close(i.data.group_redirect)&&t),t}),PC,MC)),Di(57,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(58,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,22,0,e.data.users),n(l,35,0,""),n(l,37,0,"groups_redirect",e.data.group_redirect),n(l,40,0,Wt(1,"",e.lang.chooseRedirectGroup,""),"","groups_redirect"),n(l,47,0,"_NO_REPLACEMENT"),n(l,50,0,Wt(1,"",e.lang.groups,"")),n(l,52,0,e.data.groupsForAssign),n(l,57,0,!bi(l,8).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.groupRedirect),n(l,6,0,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending),n(l,14,0,e.data.group_desc),n(l,15,0,e.lang.isAssociatedTo),n(l,17,0,e.data.users.length),n(l,18,0,e.lang.usersAlt),n(l,23,1,["standard"==bi(l,24).appearance,"fill"==bi(l,24).appearance,"outline"==bi(l,24).appearance,"legacy"==bi(l,24).appearance,bi(l,24)._control.errorState,bi(l,24)._canLabelFloat,bi(l,24)._shouldLabelFloat(),bi(l,24)._hasFloatingLabel(),bi(l,24)._hideControlPlaceholder(),bi(l,24)._control.disabled,bi(l,24)._control.autofilled,bi(l,24)._control.focused,"accent"==bi(l,24).color,"warn"==bi(l,24).color,bi(l,24)._shouldForward("untouched"),bi(l,24)._shouldForward("touched"),bi(l,24)._shouldForward("pristine"),bi(l,24)._shouldForward("dirty"),bi(l,24)._shouldForward("valid"),bi(l,24)._shouldForward("invalid"),bi(l,24)._shouldForward("pending"),!bi(l,24)._animationsEnabled]),n(l,34,1,[Wt(1,"",e.lang.chooseRedirectGroup,""),bi(l,35).required?"":null,bi(l,39).ngClassUntouched,bi(l,39).ngClassTouched,bi(l,39).ngClassPristine,bi(l,39).ngClassDirty,bi(l,39).ngClassValid,bi(l,39).ngClassInvalid,bi(l,39).ngClassPending,bi(l,40).id,bi(l,40).tabIndex,bi(l,40)._getAriaLabel(),bi(l,40)._getAriaLabelledby(),bi(l,40).required.toString(),bi(l,40).disabled.toString(),bi(l,40).errorState,bi(l,40).panelOpen?bi(l,40)._optionIds:null,bi(l,40).multiple,bi(l,40)._ariaDescribedby||null,bi(l,40)._getAriaActiveDescendant(),bi(l,40).disabled,bi(l,40).errorState,bi(l,40).required,bi(l,40).empty]),n(l,46,0,bi(l,47)._getTabIndex(),bi(l,47).selected,bi(l,47).multiple,bi(l,47).active,bi(l,47).id,bi(l,47)._getAriaSelected(),bi(l,47).disabled.toString(),bi(l,47).disabled),n(l,48,0,e.lang.noReplacement),n(l,49,0,bi(l,50).disabled,bi(l,50).disabled.toString(),bi(l,50)._labelId),n(l,56,0,bi(l,57).disabled||null,"NoopAnimations"===bi(l,57)._animationMode),n(l,58,0,e.lang.validate)}))}function tU(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,eU,Xz)),Di(1,49152,null,0,Nz,[nS,Gv,Hv],null,null)],null,null)}var iU=oi("ng-component",Nz,tU,{},{},[]);function aU(n){var l=n.subscriber,e=n.counter,t=n.period;l.next(e),this.schedule({subscriber:l,counter:e+1,period:t},t)}function oU(n,l){for(var e in l)l.hasOwnProperty(e)&&(n[e]=l[e]);return n}function rU(n,l){var e=l?"":"none";oU(n.style,{touchAction:l?"":"none",webkitUserDrag:l?"":"none",webkitTapHighlightColor:l?"":"transparent",userSelect:e,msUserSelect:e,webkitUserSelect:e,MozUserSelect:e})}function uU(n){var l=n.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(n)*l}function sU(n,l){return n.getPropertyValue(l).split(",").map((function(n){return n.trim()}))}var cU=mh({passive:!0}),dU=mh({passive:!1}),pU=function(){function n(n,l,e,t,i,a){var o=this;this._config=l,this._document=e,this._ngZone=t,this._viewportRuler=i,this._dragDropRegistry=a,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new M,this._pointerMoveSubscription=s.EMPTY,this._pointerUpSubscription=s.EMPTY,this._scrollSubscription=s.EMPTY,this._resizeSubscription=s.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new M,this.started=new M,this.released=new M,this.ended=new M,this.entered=new M,this.exited=new M,this.dropped=new M,this.moved=this._moveEvents.asObservable(),this._pointerDown=function(n){if(o.beforeStarted.next(),o._handles.length){var l=o._handles.find((function(l){var e=n.target;return!!e&&(e===l||l.contains(e))}));!l||o._disabledHandles.has(l)||o.disabled||o._initializeDragSequence(l,n)}else o.disabled||o._initializeDragSequence(o._rootElement,n)},this._pointerMove=function(n){if(o._hasStartedDragging){o._boundaryElement&&(o._previewRect&&(o._previewRect.width||o._previewRect.height)||(o._previewRect=(o._preview||o._rootElement).getBoundingClientRect()));var l=o._getConstrainedPointerPosition(n);if(o._hasMoved=!0,n.preventDefault(),o._updatePointerDirectionDelta(l),o._dropContainer)o._updateActiveDropContainer(l);else{var e=o._activeTransform;e.x=l.x-o._pickupPositionOnPage.x+o._passiveTransform.x,e.y=l.y-o._pickupPositionOnPage.y+o._passiveTransform.y,o._applyRootElementTransform(e.x,e.y),"undefined"!=typeof SVGElement&&o._rootElement instanceof SVGElement&&o._rootElement.setAttribute("transform","translate("+e.x+" "+e.y+")")}o._moveEvents.observers.length&&o._ngZone.run((function(){o._moveEvents.next({source:o,pointerPosition:l,event:n,distance:o._getDragDistance(l),delta:o._pointerDirectionDelta})}))}else{var t=o._getPointerPositionOnPage(n);if(Math.abs(t.x-o._pickupPositionOnPage.x)+Math.abs(t.y-o._pickupPositionOnPage.y)>=o._config.dragStartThreshold){if(!(Date.now()>=o._dragStartTime+(o.dragStartDelay||0)))return void o._endDragSequence(n);o._dropContainer&&o._dropContainer.isDragging()||(o._hasStartedDragging=!0,o._ngZone.run((function(){return o._startDragSequence(n)})))}}},this._pointerUp=function(n){o._endDragSequence(n)},this.withRootElement(n),a.registerDragItem(this)}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(n){var l=Yf(n);l!==this._disabled&&(this._disabled=l,this._toggleNativeDragInteractions())},enumerable:!0,configurable:!0}),n.prototype.getPlaceholderElement=function(){return this._placeholder},n.prototype.getRootElement=function(){return this._rootElement},n.prototype.withHandles=function(n){return this._handles=n.map((function(n){return nh(n)})),this._handles.forEach((function(n){return rU(n,!1)})),this._toggleNativeDragInteractions(),this},n.prototype.withPreviewTemplate=function(n){return this._previewTemplate=n,this},n.prototype.withPlaceholderTemplate=function(n){return this._placeholderTemplate=n,this},n.prototype.withRootElement=function(n){var l=nh(n);return l!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),l.addEventListener("mousedown",this._pointerDown,dU),l.addEventListener("touchstart",this._pointerDown,cU),this._initialTransform=void 0,this._rootElement=l),this},n.prototype.withBoundaryElement=function(n){var l=this;return this._boundaryElement=n?nh(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((function(){return l._containInsideBoundaryOnResize()}))),this},n.prototype.dispose=function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&gU(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._nextSibling=null},n.prototype.isDragging=function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)},n.prototype.reset=function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}},n.prototype.disableHandle=function(n){this._handles.indexOf(n)>-1&&this._disabledHandles.add(n)},n.prototype.enableHandle=function(n){this._disabledHandles.delete(n)},n.prototype.withDirection=function(n){return this._direction=n,this},n.prototype._withDropContainer=function(n){this._dropContainer=n},n.prototype.getFreeDragPosition=function(){var n=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:n.x,y:n.y}},n.prototype.setFreeDragPosition=function(n){return this._activeTransform={x:0,y:0},this._passiveTransform.x=n.x,this._passiveTransform.y=n.y,this._dropContainer||this._applyRootElementTransform(n.x,n.y),this},n.prototype._sortFromLastPointerPosition=function(){var n=this._pointerPositionAtLastDirectionChange;n&&this._dropContainer&&this._updateActiveDropContainer(n)},n.prototype._removeSubscriptions=function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()},n.prototype._destroyPreview=function(){this._preview&&gU(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null},n.prototype._destroyPlaceholder=function(){this._placeholder&&gU(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null},n.prototype._endDragSequence=function(n){var l=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((function(){l._cleanupDragArtifacts(n),l._cleanupCachedDimensions(),l._dragDropRegistry.stopDragging(l)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((function(){l.ended.next({source:l,distance:l._getDragDistance(l._getPointerPositionOnPage(n))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))},n.prototype._startDragSequence=function(n){if(this.started.next({source:this}),bU(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions(),this._dropContainer){var l=this._rootElement;this._nextSibling=l.nextSibling;var e=this._preview=this._createPreviewElement(),t=this._placeholder=this._createPlaceholderElement();l.style.display="none",this._document.body.appendChild(l.parentNode.replaceChild(t,l)),(i=this._document,i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement||i.body).appendChild(e),this._dropContainer.start()}var i},n.prototype._initializeDragSequence=function(n,l){var e=this;l.stopPropagation();var t=this.isDragging(),i=bU(l),a=!i&&0!==l.button,o=this._rootElement,r=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(l.target&&l.target.draggable&&"mousedown"===l.type&&l.preventDefault(),!(t||a||r)){this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor,o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._initialContainer=this._dropContainer,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.pipe(Pc(null)).subscribe((function(){e._scrollPosition=e._viewportRuler.getViewportScrollPosition()})),this._boundaryElement&&(this._boundaryRect=this._boundaryElement.getBoundingClientRect()),this._pickupPositionInElement=this._previewTemplate&&this._previewTemplate.template?{x:0,y:0}:this._getPointerPositionInElement(n,l);var u=this._pickupPositionOnPage=this._getPointerPositionOnPage(l);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,l)}},n.prototype._cleanupDragArtifacts=function(n){var l=this;this._rootElement.style.display="",this._nextSibling?this._nextSibling.parentNode.insertBefore(this._rootElement,this._nextSibling):nh(this._initialContainer.element).appendChild(this._rootElement),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((function(){var e=l._dropContainer,t=e.getItemIndex(l),i=l._getPointerPositionOnPage(n),a=l._getDragDistance(l._getPointerPositionOnPage(n)),o=e._isOverContainer(i.x,i.y);l.ended.next({source:l,distance:a}),l.dropped.next({item:l,currentIndex:t,previousIndex:l._initialContainer.getItemIndex(l),container:e,previousContainer:l._initialContainer,isPointerOverContainer:o,distance:a}),e.drop(l,t,l._initialContainer,o,a),l._dropContainer=l._initialContainer}))},n.prototype._updateActiveDropContainer=function(n){var l=this,e=n.x,t=n.y,i=this._initialContainer._getSiblingContainerFromPosition(this,e,t);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(e,t)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run((function(){l.exited.next({item:l,container:l._dropContainer}),l._dropContainer.exit(l),l._dropContainer=i,l._dropContainer.enter(l,e,t),l.entered.next({item:l,container:i,currentIndex:i.getItemIndex(l)})})),this._dropContainer._startScrollingIfNecessary(e,t),this._dropContainer._sortItem(this,e,t,this._pointerDirectionDelta),this._preview.style.transform=mU(e-this._pickupPositionInElement.x,t-this._pickupPositionInElement.y)},n.prototype._createPreviewElement=function(){var n,l=this._previewTemplate,e=l?l.template:null;if(e){var t=l.viewContainer.createEmbeddedView(e,l.context);n=vU(t,this._document),this._previewRef=t,n.style.transform=mU(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var i=this._rootElement,a=i.getBoundingClientRect();(n=fU(i)).style.width=a.width+"px",n.style.height=a.height+"px",n.style.transform=mU(a.left,a.top)}return oU(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:"1000"}),rU(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),n},n.prototype._animatePreviewToPlaceholder=function(){var n=this;if(!this._hasMoved)return Promise.resolve();var l=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=mU(l.left,l.top);var e=function(n){var l=getComputedStyle(n),e=sU(l,"transition-property"),t=e.find((function(n){return"transform"===n||"all"===n}));if(!t)return 0;var i=e.indexOf(t),a=sU(l,"transition-duration"),o=sU(l,"transition-delay");return uU(a[i])+uU(o[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular((function(){return new Promise((function(l){var t=function(e){(!e||e.target===n._preview&&"transform"===e.propertyName)&&(n._preview.removeEventListener("transitionend",t),l(),clearTimeout(i))},i=setTimeout(t,1.5*e);n._preview.addEventListener("transitionend",t)}))}))},n.prototype._createPlaceholderElement=function(){var n,l=this._placeholderTemplate,e=l?l.template:null;return e?(this._placeholderRef=l.viewContainer.createEmbeddedView(e,l.context),n=vU(this._placeholderRef,this._document)):n=fU(this._rootElement),n.classList.add("cdk-drag-placeholder"),n},n.prototype._getPointerPositionInElement=function(n,l){var e=this._rootElement.getBoundingClientRect(),t=n===this._rootElement?null:n,i=t?t.getBoundingClientRect():e,a=bU(l)?l.targetTouches[0]:l;return{x:i.left-e.left+(a.pageX-i.left-this._scrollPosition.left),y:i.top-e.top+(a.pageY-i.top-this._scrollPosition.top)}},n.prototype._getPointerPositionOnPage=function(n){var l=bU(n)?n.touches[0]||n.changedTouches[0]:n;return{x:l.pageX-this._scrollPosition.left,y:l.pageY-this._scrollPosition.top}},n.prototype._getConstrainedPointerPosition=function(n){var l=this._getPointerPositionOnPage(n),e=this.constrainPosition?this.constrainPosition(l,this):l,t=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===t?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==t||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){var i=this._pickupPositionInElement,a=i.x,o=i.y,r=this._boundaryRect,u=this._previewRect,s=r.top+o,c=r.bottom-(u.height-o);e.x=hU(e.x,r.left+a,r.right-(u.width-a)),e.y=hU(e.y,s,c)}return e},n.prototype._updatePointerDirectionDelta=function(n){var l=n.x,e=n.y,t=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,a=Math.abs(l-i.x),o=Math.abs(e-i.y);return a>this._config.pointerDirectionChangeThreshold&&(t.x=l>i.x?1:-1,i.x=l),o>this._config.pointerDirectionChangeThreshold&&(t.y=e>i.y?1:-1,i.y=e),t},n.prototype._toggleNativeDragInteractions=function(){if(this._rootElement&&this._handles){var n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,rU(this._rootElement,n))}},n.prototype._removeRootElementListeners=function(n){n.removeEventListener("mousedown",this._pointerDown,dU),n.removeEventListener("touchstart",this._pointerDown,cU)},n.prototype._applyRootElementTransform=function(n,l){var e=mU(n,l);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?e+" "+this._initialTransform:e},n.prototype._getDragDistance=function(n){var l=this._pickupPositionOnPage;return l?{x:n.x-l.x,y:n.y-l.y}:{x:0,y:0}},n.prototype._cleanupCachedDimensions=function(){this._boundaryRect=this._previewRect=void 0},n.prototype._containInsideBoundaryOnResize=function(){var n=this._passiveTransform,l=n.x,e=n.y;if(!(0===l&&0===e||this.isDragging())&&this._boundaryElement){var t=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect(),a=t.left-i.left,o=i.right-t.right,r=t.top-i.top,u=i.bottom-t.bottom;t.width>i.width?(a>0&&(l+=a),o>0&&(l-=o)):l=0,t.height>i.height?(r>0&&(e+=r),u>0&&(e-=u)):e=0,l===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:l})}},n}();function mU(n,l){return"translate3d("+Math.round(n)+"px, "+Math.round(l)+"px, 0)"}function fU(n){var l=n.cloneNode(!0),e=l.querySelectorAll("[id]"),t=n.querySelectorAll("canvas");l.removeAttribute("id");for(var i=0;i<e.length;i++)e[i].removeAttribute("id");if(t.length){var a=l.querySelectorAll("canvas");for(i=0;i<t.length;i++){var o=a[i].getContext("2d");o&&o.drawImage(t[i],0,0)}}return l}function hU(n,l,e){return Math.max(l,Math.min(e,n))}function gU(n){n&&n.parentNode&&n.parentNode.removeChild(n)}function bU(n){return"t"===n.type[0]}function vU(n,l){var e=n.rootNodes[0];if(e.nodeType!==l.ELEMENT_NODE){var t=l.createElement("div");return t.appendChild(e),t}return e}function _U(n,l,e){var t=wU(l,n.length-1),i=wU(e,n.length-1);if(t!==i){for(var a=n[t],o=i<t?-1:1,r=t;r!==i;r+=o)n[r]=n[r+o];n[i]=a}}function yU(n,l,e,t){var i=wU(e,n.length-1),a=wU(t,l.length);n.length&&l.splice(a,0,n.splice(i,1)[0])}function wU(n,l){return Math.max(0,Math.min(l,n))}var xU=0,CU=.05,kU=2,SU=function(){function n(n,l,e,t,i){var a=this;this._dragDropRegistry=l,this._ngZone=t,this._viewportRuler=i,this.id="cdk-drop-list-ref-"+xU++,this.disabled=!1,this.sortingDisabled=!1,this.autoScrollDisabled=!1,this.enterPredicate=function(){return!0},this.beforeStarted=new M,this.entered=new M,this.exited=new M,this.dropped=new M,this.sorted=new M,this._isDragging=!1,this._itemPositions=[],this._scrollPosition={top:0,left:0},this._viewportScrollPosition={top:0,left:0},this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=s.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new M,this._handleScroll=function(){if(a.isDragging()){var n=nh(a.element);a._updateAfterScroll(a._scrollPosition,n.scrollTop,n.scrollLeft)}},this._startScrollInterval=function(){var n,l;a._stopScrolling(),(n=0,l=zh,void 0===n&&(n=0),void 0===l&&(l=kh),(!Zh(n)||n<0)&&(n=0),l&&"function"==typeof l.schedule||(l=kh),new x((function(e){return e.add(l.schedule(aU,n,{subscriber:e,counter:0,period:n})),e}))).pipe(Ph(a._stopScrollTimers)).subscribe((function(){var n=a._scrollNode;1===a._verticalScrollDirection?DU(n,-kU):2===a._verticalScrollDirection&&DU(n,kU),1===a._horizontalScrollDirection?FU(n,-kU):2===a._horizontalScrollDirection&&FU(n,kU)}))};var o=this.element=nh(n);this._shadowRoot=function(n){if(vh()){var l=n.getRootNode?n.getRootNode():null;if(l instanceof ShadowRoot)return l}return null}(o)||e,l.registerDropContainer(this)}return n.prototype.dispose=function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._removeListeners(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._dragDropRegistry.removeDropContainer(this)},n.prototype.isDragging=function(){return this._isDragging},n.prototype.start=function(){var n=this,l=nh(this.element);this.beforeStarted.next(),this._isDragging=!0,this._cacheItems(),this._siblings.forEach((function(l){return l._startReceiving(n)})),this._removeListeners(),this._ngZone?this._ngZone.runOutsideAngular((function(){return l.addEventListener("scroll",n._handleScroll)})):l.addEventListener("scroll",this._handleScroll),this._viewportRuler&&this._listenToScrollEvents()},n.prototype.enter=function(n,l,e){this.start();var t=this.sortingDisabled?this._draggables.indexOf(n):-1;-1===t&&(t=this._getItemIndexFromPointerPosition(n,l,e));var i=this._activeDraggables,a=i.indexOf(n),o=n.getPlaceholderElement(),r=i[t];if(r===n&&(r=i[t+1]),a>-1&&i.splice(a,1),r&&!this._dragDropRegistry.isDragging(r)){var u=r.getRootElement();u.parentElement.insertBefore(o,u),i.splice(t,0,n)}else nh(this.element).appendChild(o),i.push(n);o.style.transform="",this._cacheItemPositions(),this.entered.next({item:n,container:this,currentIndex:this.getItemIndex(n)})},n.prototype.exit=function(n){this._reset(),this.exited.next({item:n,container:this})},n.prototype.drop=function(n,l,e,t,i){void 0===i&&(i={x:0,y:0}),this._reset(),this.dropped.next({item:n,currentIndex:l,previousIndex:e.getItemIndex(n),container:this,previousContainer:e,isPointerOverContainer:t,distance:i})},n.prototype.withItems=function(n){var l=this;return this._draggables=n,n.forEach((function(n){return n._withDropContainer(l)})),this.isDragging()&&this._cacheItems(),this},n.prototype.withDirection=function(n){return this._direction=n,this},n.prototype.connectedTo=function(n){return this._siblings=n.slice(),this},n.prototype.withOrientation=function(n){return this._orientation=n,this},n.prototype.getItemIndex=function(n){return this._isDragging?AU("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,(function(l){return l.drag===n})):this._draggables.indexOf(n)},n.prototype.isReceiving=function(){return this._activeSiblings.size>0},n.prototype._sortItem=function(n,l,e,t){if(!this.sortingDisabled&&this._isPointerNearDropContainer(l,e)){var i=this._itemPositions,a=this._getItemIndexFromPointerPosition(n,l,e,t);if(!(-1===a&&i.length>0)){var o="horizontal"===this._orientation,r=AU(i,(function(l){return l.drag===n})),u=i[a],s=i[r].clientRect,c=u.clientRect,d=r>a?1:-1;this._previousSwap.drag=u.drag,this._previousSwap.delta=o?t.x:t.y;var p=this._getItemOffsetPx(s,c,d),m=this._getSiblingOffsetPx(r,i,d),f=i.slice();_U(i,r,a),this.sorted.next({previousIndex:r,currentIndex:a,container:this,item:n}),i.forEach((function(l,e){if(f[e]!==l){var t=l.drag===n,i=t?p:m,a=t?n.getPlaceholderElement():l.drag.getRootElement();l.offset+=i,o?(a.style.transform="translate3d("+Math.round(l.offset)+"px, 0, 0)",IU(l.clientRect,0,i)):(a.style.transform="translate3d(0, "+Math.round(l.offset)+"px, 0)",IU(l.clientRect,i,0))}}))}}},n.prototype._startScrollingIfNecessary=function(n,l){var e;if(!this.autoScrollDisabled){var t,i=0,a=0;if(this._isPointerNearDropContainer(n,l)){var o=nh(this.element);e=function(n,l,e,t){var i=EU(l,t),a=OU(l,e),o=0,r=0;if(i){var u=n.scrollTop;1===i?u>0&&(o=1):n.scrollHeight-u>n.clientHeight&&(o=2)}if(a){var s=n.scrollLeft;1===a?s>0&&(r=1):n.scrollWidth-s>n.clientWidth&&(r=2)}return[o,r]}(o,this._clientRect,n,l),a=e[1],((i=e[0])||a)&&(t=o)}if(this._viewportRuler&&!i&&!a){var r=this._viewportRuler.getViewportSize(),u=r.width,s=r.height,c={width:u,height:s,top:0,right:u,bottom:s,left:0};i=EU(c,l),a=OU(c,n),t=window}!t||i===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&t===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=a,this._scrollNode=t,(i||a)&&t?this._ngZone?this._ngZone.runOutsideAngular(this._startScrollInterval):this._startScrollInterval():this._stopScrolling())}},n.prototype._stopScrolling=function(){this._stopScrollTimers.next()},n.prototype._cacheOwnPosition=function(){var n=nh(this.element);this._clientRect=PU(n),this._scrollPosition={top:n.scrollTop,left:n.scrollLeft}},n.prototype._cacheItemPositions=function(){var n=this,l="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map((function(l){var e=n._dragDropRegistry.isDragging(l)?l.getPlaceholderElement():l.getRootElement();return{drag:l,offset:0,clientRect:PU(e)}})).sort((function(n,e){return l?n.clientRect.left-e.clientRect.left:n.clientRect.top-e.clientRect.top}))},n.prototype._reset=function(){var n=this;this._isDragging=!1,this._activeDraggables.forEach((function(n){return n.getRootElement().style.transform=""})),this._siblings.forEach((function(l){return l._stopReceiving(n)})),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._removeListeners()},n.prototype._getSiblingOffsetPx=function(n,l,e){var t="horizontal"===this._orientation,i=l[n].clientRect,a=l[n+-1*e],o=i[t?"width":"height"]*e;if(a){var r=t?"left":"top",u=t?"right":"bottom";-1===e?o-=a.clientRect[r]-i[u]:o+=i[r]-a.clientRect[u]}return o},n.prototype._isPointerNearDropContainer=function(n,l){var e=this._clientRect,t=.05*e.width,i=.05*e.height;return l>e.top-i&&l<e.bottom+i&&n>e.left-t&&n<e.right+t},n.prototype._getItemOffsetPx=function(n,l,e){var t="horizontal"===this._orientation,i=t?l.left-n.left:l.top-n.top;return-1===e&&(i+=t?l.width-n.width:l.height-n.height),i},n.prototype._getItemIndexFromPointerPosition=function(n,l,e,t){var i=this,a="horizontal"===this._orientation;return AU(this._itemPositions,(function(o,r,u){var s=o.drag,c=o.clientRect;return s===n?u.length<2:(!t||s!==i._previousSwap.drag||(a?t.x:t.y)!==i._previousSwap.delta)&&(a?l>=Math.floor(c.left)&&l<=Math.floor(c.right):e>=Math.floor(c.top)&&e<=Math.floor(c.bottom))}))},n.prototype._cacheItems=function(){this._activeDraggables=this._draggables.slice(),this._cacheItemPositions(),this._cacheOwnPosition()},n.prototype._updateAfterScroll=function(n,l,e,t){var i=this,a=n.top-l,o=n.left-e;t&&IU(t,a,o),this._itemPositions.forEach((function(n){IU(n.clientRect,a,o)})),this._itemPositions.forEach((function(n){var l=n.drag;i._dragDropRegistry.isDragging(l)&&l._sortFromLastPointerPosition()})),n.top=l,n.left=e},n.prototype._removeListeners=function(){nh(this.element).removeEventListener("scroll",this._handleScroll),this._viewportScrollSubscription.unsubscribe()},n.prototype._isOverContainer=function(n,l){return MU(this._clientRect,n,l)},n.prototype._getSiblingContainerFromPosition=function(n,l,e){return this._siblings.find((function(t){return t._canReceive(n,l,e)}))},n.prototype._canReceive=function(n,l,e){if(!this.enterPredicate(n,this)||!MU(this._clientRect,l,e))return!1;var t=this._shadowRoot.elementFromPoint(l,e);if(!t)return!1;var i=nh(this.element);return t===i||i.contains(t)},n.prototype._startReceiving=function(n){var l=this._activeSiblings;l.has(n)||(l.add(n),this._cacheOwnPosition(),this._listenToScrollEvents())},n.prototype._stopReceiving=function(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe()},n.prototype._listenToScrollEvents=function(){var n=this;this._viewportScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe((function(){if(n.isDragging()){var l=n._viewportRuler.getViewportScrollPosition();n._updateAfterScroll(n._viewportScrollPosition,l.top,l.left,n._clientRect)}else n.isReceiving()&&n._cacheOwnPosition()}))},n}();function IU(n,l,e){n.top+=l,n.bottom=n.top+n.height,n.left+=e,n.right=n.left+n.width}function AU(n,l){for(var e=0;e<n.length;e++)if(l(n[e],e,n))return e;return-1}function MU(n,l,e){return e>=n.top&&e<=n.bottom&&l>=n.left&&l<=n.right}function PU(n){var l=n.getBoundingClientRect();return{top:l.top,right:l.right,bottom:l.bottom,left:l.left,width:l.width,height:l.height}}function DU(n,l){n===window?n.scrollBy(0,l):n.scrollTop+=l}function FU(n,l){n===window?n.scrollBy(l,0):n.scrollLeft+=l}function EU(n,l){var e=n.top,t=n.bottom,i=n.height*CU;return l>=e-i&&l<=e+i?1:l>=t-i&&l<=t+i?2:0}function OU(n,l){var e=n.left,t=n.right,i=n.width*CU;return l>=e-i&&l<=e+i?1:l>=t-i&&l<=t+i?2:0}var TU=mh({passive:!1,capture:!0}),LU=function(){function n(n,l){var e=this;this._ngZone=n,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new M,this.pointerUp=new M,this.scroll=new M,this._preventDefaultWhileDragging=function(n){e._activeDragInstances.size&&n.preventDefault()},this._document=l}return n.prototype.registerDropContainer=function(n){if(!this._dropInstances.has(n)){if(this.getDropContainer(n.id))throw Error('Drop instance with id "'+n.id+'" has already been registered.');this._dropInstances.add(n)}},n.prototype.registerDragItem=function(n){var l=this;this._dragInstances.add(n),1===this._dragInstances.size&&this._ngZone.runOutsideAngular((function(){l._document.addEventListener("touchmove",l._preventDefaultWhileDragging,TU)}))},n.prototype.removeDropContainer=function(n){this._dropInstances.delete(n)},n.prototype.removeDragItem=function(n){this._dragInstances.delete(n),this.stopDragging(n),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,TU)},n.prototype.startDragging=function(n,l){var e=this;if(!this._activeDragInstances.has(n)&&(this._activeDragInstances.add(n),1===this._activeDragInstances.size)){var t=l.type.startsWith("touch"),i=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:function(n){return e.pointerMove.next(n)},options:TU}).set(i,{handler:function(n){return e.pointerUp.next(n)},options:!0}).set("scroll",{handler:function(n){return e.scroll.next(n)}}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:TU}),this._ngZone.runOutsideAngular((function(){e._globalListeners.forEach((function(n,l){e._document.addEventListener(l,n.handler,n.options)}))}))}},n.prototype.stopDragging=function(n){this._activeDragInstances.delete(n),0===this._activeDragInstances.size&&this._clearGlobalListeners()},n.prototype.isDragging=function(n){return this._activeDragInstances.has(n)},n.prototype.getDropContainer=function(n){return Array.from(this._dropInstances).find((function(l){return l.id===n}))},n.prototype.ngOnDestroy=function(){var n=this;this._dragInstances.forEach((function(l){return n.removeDragItem(l)})),this._dropInstances.forEach((function(l){return n.removeDropContainer(l)})),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()},n.prototype._clearGlobalListeners=function(){var n=this;this._globalListeners.forEach((function(l,e){n._document.removeEventListener(e,l.handler,l.options)})),this._globalListeners.clear()},n.ngInjectableDef=yn({factory:function(){return new n(Bn(La),Bn(qs))},token:n,providedIn:"root"}),n}(),RU={dragStartThreshold:5,pointerDirectionChangeThreshold:5},NU=function(){function n(n,l,e,t){this._document=n,this._ngZone=l,this._viewportRuler=e,this._dragDropRegistry=t}return n.prototype.createDrag=function(n,l){return void 0===l&&(l=RU),new pU(n,l,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)},n.prototype.createDropList=function(n){return new SU(n,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)},n.ngInjectableDef=yn({factory:function(){return new n(Bn(qs),Bn(La),Bn(Mg),Bn(LU))},token:n,providedIn:"root"}),n}(),jU=new On("CDK_DROP_LIST"),VU=new On("CDK_DRAG_PARENT"),qU=function(){function n(n,l){this.element=n,this._stateChanges=new M,this._disabled=!1,this._parentDrag=l,rU(n.nativeElement,!1)}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n),this._stateChanges.next(this)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._stateChanges.complete()},n}(),zU=function(){return function(n){this.templateRef=n}}(),UU=function(){return function(n){this.templateRef=n}}(),BU=new On("CDK_DRAG_CONFIG",{providedIn:"root",factory:function(){return{dragStartThreshold:5,pointerDirectionChangeThreshold:5}}}),$U=function(){function n(n,l,e,t,i,a,o,r,u){var s=this;this.element=n,this.dropContainer=l,this._document=e,this._ngZone=t,this._viewContainerRef=i,this._dir=o,this._changeDetectorRef=u,this._destroyed=new M,this.dragStartDelay=0,this._disabled=!1,this.started=new la,this.released=new la,this.ended=new la,this.entered=new la,this.exited=new la,this.dropped=new la,this.moved=new x((function(n){var l=s._dragRef.moved.pipe(q((function(n){return{source:s,pointerPosition:n.pointerPosition,event:n.event,delta:n.delta,distance:n.distance}}))).subscribe(n);return function(){l.unsubscribe()}})),this._dragRef=r.createDrag(n,a),this._dragRef.data=this,this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return Object.defineProperty(n.prototype,"boundaryElementSelector",{get:function(){return"string"==typeof this.boundaryElement?this.boundaryElement:void 0},set:function(n){this.boundaryElement=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(n){this._disabled=Yf(n),this._dragRef.disabled=this._disabled},enumerable:!0,configurable:!0}),n.prototype.getPlaceholderElement=function(){return this._dragRef.getPlaceholderElement()},n.prototype.getRootElement=function(){return this._dragRef.getRootElement()},n.prototype.reset=function(){this._dragRef.reset()},n.prototype.getFreeDragPosition=function(){return this._dragRef.getFreeDragPosition()},n.prototype.ngAfterViewInit=function(){var n=this;this._ngZone.onStable.asObservable().pipe(_c(1),Ph(this._destroyed)).subscribe((function(){n._updateRootElement(),n._handles.changes.pipe(Pc(n._handles),Yr((function(l){var e=l.filter((function(l){return l._parentDrag===n})).map((function(n){return n.element}));n._dragRef.withHandles(e)})),Sc((function(n){return Z.apply(void 0,n.map((function(n){return n._stateChanges})))})),Ph(n._destroyed)).subscribe((function(l){var e=n._dragRef,t=l.element.nativeElement;l.disabled?e.disableHandle(t):e.enableHandle(t)})),n.freeDragPosition&&n._dragRef.setFreeDragPosition(n.freeDragPosition)}))},n.prototype.ngOnChanges=function(n){var l=n.rootElementSelector,e=n.freeDragPosition;l&&!l.firstChange&&this._updateRootElement(),e&&!e.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()},n.prototype._updateRootElement=function(){var n=this.element.nativeElement,l=this.rootElementSelector?HU(n,this.rootElementSelector):n;if(l&&l.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'+l.nodeName+'".');this._dragRef.withRootElement(l||n)},n.prototype._getBoundaryElement=function(){var n=this.boundaryElement;if(!n)return null;if("string"==typeof n)return HU(this.element.nativeElement,n);var l=nh(n);if(sl()&&!l.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return l},n.prototype._syncInputs=function(n){var l=this;n.beforeStarted.subscribe((function(){if(!n.isDragging()){var e=l._dir,t=l._placeholderTemplate?{template:l._placeholderTemplate.templateRef,context:l._placeholderTemplate.data,viewContainer:l._viewContainerRef}:null,i=l._previewTemplate?{template:l._previewTemplate.templateRef,context:l._previewTemplate.data,viewContainer:l._viewContainerRef}:null;n.disabled=l.disabled,n.lockAxis=l.lockAxis,n.dragStartDelay=Jf(l.dragStartDelay),n.constrainPosition=l.constrainPosition,n.withBoundaryElement(l._getBoundaryElement()).withPlaceholderTemplate(t).withPreviewTemplate(i),e&&n.withDirection(e.value)}}))},n.prototype._handleEvents=function(n){var l=this;n.started.subscribe((function(){l.started.emit({source:l}),l._changeDetectorRef.markForCheck()})),n.released.subscribe((function(){l.released.emit({source:l})})),n.ended.subscribe((function(n){l.ended.emit({source:l,distance:n.distance}),l._changeDetectorRef.markForCheck()})),n.entered.subscribe((function(n){l.entered.emit({container:n.container.data,item:l,currentIndex:n.currentIndex})})),n.exited.subscribe((function(n){l.exited.emit({container:n.container.data,item:l})})),n.dropped.subscribe((function(n){l.dropped.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,previousContainer:n.previousContainer.data,container:n.container.data,isPointerOverContainer:n.isPointerOverContainer,item:l,distance:n.distance})}))},n}();function HU(n,l){for(var e=n.parentElement;e;){if(e.matches?e.matches(l):e.msMatchesSelector(l))return e;e=e.parentElement}return null}var GU=function(){function n(){this._items=new Set,this._disabled=!1}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._items.clear()},n}(),WU=0,KU=function(){function n(l,e,t,i,a){var o=this;this.element=l,this._changeDetectorRef=t,this._dir=i,this._group=a,this._destroyed=new M,this.connectedTo=[],this.orientation="vertical",this.id="cdk-drop-list-"+WU++,this._disabled=!1,this._sortingDisabled=!1,this.enterPredicate=function(){return!0},this.autoScrollDisabled=!1,this.dropped=new la,this.entered=new la,this.exited=new la,this.sorted=new la,this._dropListRef=e.createDropList(l),this._dropListRef.data=this,this._dropListRef.enterPredicate=function(n,l){return o.enterPredicate(n.data,l.data)},this._syncInputs(this._dropListRef),this._handleEvents(this._dropListRef),n._dropLists.push(this),a&&a._items.add(this)}return Object.defineProperty(n.prototype,"disabled",{get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(n){this._disabled=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"sortingDisabled",{get:function(){return this._sortingDisabled},set:function(n){this._sortingDisabled=Yf(n)},enumerable:!0,configurable:!0}),n.prototype.ngAfterContentInit=function(){var n=this;this._draggables.changes.pipe(Pc(this._draggables),Ph(this._destroyed)).subscribe((function(l){n._dropListRef.withItems(l.map((function(n){return n._dragRef})))}))},n.prototype.ngOnDestroy=function(){var l=n._dropLists.indexOf(this);l>-1&&n._dropLists.splice(l,1),this._group&&this._group._items.delete(this),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()},n.prototype.start=function(){this._dropListRef.start()},n.prototype.drop=function(n,l,e,t){this._dropListRef.drop(n._dragRef,l,e._dropListRef,t)},n.prototype.enter=function(n,l,e){this._dropListRef.enter(n._dragRef,l,e)},n.prototype.exit=function(n){this._dropListRef.exit(n._dragRef)},n.prototype.getItemIndex=function(n){return this._dropListRef.getItemIndex(n._dragRef)},n.prototype._sortItem=function(n,l,e,t){return this._dropListRef._sortItem(n._dragRef,l,e,t)},n.prototype._getSiblingContainerFromPosition=function(n,l,e){var t=this._dropListRef._getSiblingContainerFromPosition(n._dragRef,l,e);return t?t.data:null},n.prototype._isOverContainer=function(n,l){return this._dropListRef._isOverContainer(n,l)},n.prototype._syncInputs=function(l){var e=this;this._dir&&this._dir.change.pipe(Pc(this._dir.value),Ph(this._destroyed)).subscribe((function(n){return l.withDirection(n)})),l.beforeStarted.subscribe((function(){var t=Qf(e.connectedTo).map((function(l){return"string"==typeof l?n._dropLists.find((function(n){return n.id===l})):l}));e._group&&e._group._items.forEach((function(n){-1===t.indexOf(n)&&t.push(n)})),l.disabled=e.disabled,l.lockAxis=e.lockAxis,l.sortingDisabled=e.sortingDisabled,l.autoScrollDisabled=e.autoScrollDisabled,l.connectedTo(t.filter((function(n){return n&&n!==e})).map((function(n){return n._dropListRef}))).withOrientation(e.orientation)}))},n.prototype._handleEvents=function(n){var l=this;n.beforeStarted.subscribe((function(){l._changeDetectorRef.markForCheck()})),n.entered.subscribe((function(n){l.entered.emit({container:l,item:n.item.data,currentIndex:n.currentIndex})})),n.exited.subscribe((function(n){l.exited.emit({container:l,item:n.item.data}),l._changeDetectorRef.markForCheck()})),n.sorted.subscribe((function(n){l.sorted.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,container:l,item:n.item.data})})),n.dropped.subscribe((function(n){l.dropped.emit({previousIndex:n.previousIndex,currentIndex:n.currentIndex,previousContainer:n.previousContainer.data,container:n.container.data,item:n.item.data,isPointerOverContainer:n.isPointerOverContainer,distance:n.distance}),l._changeDetectorRef.markForCheck()}))},n._dropLists=[],n}(),YU=function(){return function(){}}(),JU=e("pWCv"),ZU=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.headerService=e,this.dialog=t,this.lang=Kr,this.loading=!0,this.resfreshShortcut=new la,this.keywordEntities=[],this.actionList=[],this.indexingInfo={canIndex:!1,actions:[],keywords:[],entities:[]},this.keywordEntities=[{id:"ALL_ENTITIES",keyword:"ALL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.allEntities},{id:"ENTITIES_JUST_BELOW",keyword:"ENTITIES_JUST_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.immediatelyBelowMyPrimaryEntity},{id:"ENTITIES_BELOW",keyword:"ENTITIES_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.belowAllMyEntities},{id:"ALL_ENTITIES_BELOW",keyword:"ALL_ENTITIES_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.belowMyPrimaryEntity},{id:"MY_ENTITIES",keyword:"MY_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.myEntities},{id:"MY_PRIMARY_ENTITY",keyword:"MY_PRIMARY_ENTITY",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.myPrimaryEntity},{id:"SAME_LEVEL_ENTITIES",keyword:"SAME_LEVEL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.sameLevelMyPrimaryEntity},{id:"ENTITIES_JUST_UP",keyword:"ENTITIES_JUST_UP",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:this.lang.immediatelySuperiorMyPrimaryEntity}]}return n.prototype.ngOnInit=function(){var n=this;this.getIndexingInformations().pipe(Object(JU.tap)((function(l){return n.indexingInfo.canIndex=l.group.canIndex})),Object(JU.tap)((function(l){return n.getActions(l.actions)})),Object(JU.tap)((function(l){return n.getSelectedActions(l.group.indexationParameters.actions)})),q((function(l){return n.getEntities(l)})),q((function(l){return n.getSelectedEntities(l)})),Object(JU.tap)((function(l){return n.initEntitiesTree(l)})),iu((function(){return n.loading=!1}))).subscribe()},n.prototype.initEntitiesTree=function(n){var l=this;$j("#jstree").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:n},plugins:["checkbox","search"]});var e=!1;$j("#jstree_search").keyup((function(){e&&clearTimeout(e),e=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)})),$j("#jstree").on("select_node.jstree",(function(n,e){isNaN(e.node.id)?l.addKeyword(e.node.id):l.addEntity(e.node.id)})).on("deselect_node.jstree",(function(n,e){isNaN(e.node.id)?l.removeKeyword(e.node.id):l.removeEntity(e.node.id)})).jstree()},n.prototype.getEntities=function(n){return this.keywordEntities.forEach((function(l){l.state=n.group.indexationParameters.keywords.indexOf(l.id)>-1?{opened:!0,selected:!0}:{opened:!0,selected:!1}})),n.entities=this.keywordEntities.concat(n.entities),n},n.prototype.getSelectedEntities=function(n){return this.indexingInfo.entities=n.group.indexationParameters.entities.slice(),this.indexingInfo.keywords=n.group.indexationParameters.keywords.slice(),n.entities},n.prototype.getActions=function(n){this.actionList=n},n.prototype.getIndexingInformations=function(){return this.http.get("../../rest/groups/"+this.groupId+"/indexing")},n.prototype.getSelectedActions=function(n){var l=this,e=-1;n.forEach((function(n){(e=l.actionList.findIndex((function(l){return l.id==n})))>-1&&(l.indexingInfo.actions.push(l.actionList[e]),l.actionList.splice(e,1))}))},n.prototype.addEntity=function(n){var l=this,e=this.indexingInfo.entities.concat([n]);this.http.put("../../rest/groups/"+this.groupId+"/indexing",{entities:e}).pipe(Object(JU.tap)((function(){l.indexingInfo.entities.push(n)})),Object(JU.tap)((function(){l.notify.success(l.lang.entityAdded)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.removeEntity=function(n){var l=this,e=this.indexingInfo.entities.indexOf(n),t=this.indexingInfo.entities.slice();t.splice(e,1),this.http.put("../../rest/groups/"+this.groupId+"/indexing",{entities:t}).pipe(Object(JU.tap)((function(){l.indexingInfo.entities.splice(e,1)})),Object(JU.tap)((function(){l.notify.success(l.lang.entityDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.addKeyword=function(n){var l=this,e=this.indexingInfo.keywords.concat([n]);this.http.put("../../rest/groups/"+this.groupId+"/indexing",{keywords:e}).pipe(Object(JU.tap)((function(){l.indexingInfo.keywords.push(n)})),Object(JU.tap)((function(){l.notify.success(l.lang.keywordAdded)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.removeKeyword=function(n){var l=this,e=this.indexingInfo.keywords.indexOf(n),t=this.indexingInfo.keywords.slice();t.splice(e,1),this.http.put("../../rest/groups/"+this.groupId+"/indexing",{keywords:t}).pipe(Object(JU.tap)((function(){l.indexingInfo.keywords.splice(e,1)})),Object(JU.tap)((function(){l.notify.success(l.lang.keywordDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.addAction=function(n){var l=this,e=this.indexingInfo.actions.map((function(n){return n.id})).concat([n].map((function(n){return n.id})));this.http.put("../../rest/groups/"+this.groupId+"/indexing",{actions:e}).pipe(Object(JU.tap)((function(){var e=l.actionList.findIndex((function(l){return l.id===n.id})),i=Object(t.__assign)({},l.actionList[e]);l.indexingInfo.actions.push(i),l.actionList.splice(e,1)})),Object(JU.tap)((function(){l.notify.success(l.lang.actionAdded)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.removeAction=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),q((function(){l.dialogRef=null;var e=l.indexingInfo.actions.slice();return e.splice(n,1),e.map((function(n){return n.id}))})),MN((function(n){return l.http.put("../../rest/groups/"+l.groupId+"/indexing",{actions:n})})),Object(JU.tap)((function(){l.actionList.push(l.indexingInfo.actions[n]),l.indexingInfo.actions.splice(n,1)})),Object(JU.tap)((function(){l.notify.success(l.lang.actionDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.toggleIndex=function(n){var l=this;this.http.put("../../rest/groups/"+this.groupId+"/indexing",{canIndex:n}).pipe(Object(JU.tap)((function(){l.indexingInfo.canIndex=n,l.resfreshShortcut.emit()})),Object(JU.tap)((function(){l.notify.success(l.indexingInfo.canIndex?l.lang.indexEnabled:l.lang.indexDisabled)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.drop=function(n){var l=this;if(n.previousContainer===n.container){_U(n.container.data,n.previousIndex,n.currentIndex);var e=this.indexingInfo.actions.map((function(n){return n.id}));this.http.put("../../rest/groups/"+this.groupId+"/indexing",{actions:e}).pipe(Object(JU.tap)((function(){l.notify.success(l.lang.actionAdded)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()}},n}(),QU=yt({encapsulation:0,styles:[[".loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;position:absolute;width:100%;background:#fff;z-index:2}.selectedActionList[_ngcontent-%COMP%]{width:100%}.infoActions[_ngcontent-%COMP%]{font-size:80%}.selectedAction[_ngcontent-%COMP%]{height:70px}.selectedAction[_ngcontent-%COMP%] .actionLabel[_ngcontent-%COMP%]{padding-left:10px;-webkit-box-flex:1;flex:1}.formType[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;background:#fff;position:absolute;top:-18px;left:10px;padding:0;margin:0;color:#135f7f}.alert-message[_ngcontent-%COMP%]{max-width:100%}a[_ngcontent-%COMP%]{cursor:pointer}.jstreeEntities[_ngcontent-%COMP%] .mat-form-field-appearance-outline[_ngcontent-%COMP%]{font-size:11px}.cdk-drag-preview[_ngcontent-%COMP%]{background:#fff;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-preview[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{visibility:hidden}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.selectedAction[_ngcontent-%COMP%]:last-child{border:none}.selectedAction.cdk-drop-list-dragging[_ngcontent-%COMP%] .selectedAction[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}"]],data:{}});function XU(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function nB(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","alert-message alert-message-danger"],["role","alert"],["style","margin-top: 30px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,2,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.toggleIndex(!i.indexingInfo.canIndex)&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(4,0,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.warnIndex),n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.enableIndex)}))}function lB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.toggleIndex(!i.indexingInfo.canIndex)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.disableIndex)}))}function eB(n){return jo(0,[(n()(),_o(0,16777216,null,null,21,"mat-list-item",[["cdkDrag",""],["cdkDragLockAxis","y"],["class","selectedAction mat-list-item cdk-drag"],["role","listitem"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,2,{_lines:1}),ko(603979776,3,{_avatar:0}),ko(603979776,4,{_icon:0}),Di(5,4866048,[[1,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"],lockAxis:[1,"lockAxis"]},null),ko(603979776,5,{_handles:1}),ko(603979776,6,{_previewTemplate:0}),ko(603979776,7,{_placeholderTemplate:0}),Ei(2048,null,VU,null,[$U]),(n()(),_o(10,0,null,2,2,"div",[],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"i",[["cdkDragHandle",""],["class","fas fa-bars fa-2x cdk-drag-handle"],["color","primary"],["style","cursor: move"]],null,null,null,null,null)),Di(12,147456,[[5,4]],0,qU,[Pe,[2,VU]],null,null),(n()(),_o(13,0,null,2,1,"div",[["class","actionLabel"]],null,null,null,null,null)),(n()(),Lo(14,null,[" ",""])),(n()(),_o(15,0,null,2,4,"div",[],null,null,null,null,null)),(n()(),_o(16,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeAction(n.context.index)&&t),t}),PC,MC)),Di(17,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(18,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(19,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(20,0,null,2,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(21,49152,null,0,mI,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,5,0,l.context.$implicit,"y"),n(l,17,0,"warn"),n(l,19,0)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon,bi(l,5).disabled,bi(l,5)._dragRef.isDragging()),n(l,14,0,l.context.$implicit.label_action),n(l,16,0,bi(l,17).disabled||null,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,bi(l,19).inline,"primary"!==bi(l,19).color&&"accent"!==bi(l,19).color&&"warn"!==bi(l,19).color),n(l,20,0,bi(l,21).vertical?"vertical":"horizontal",bi(l,21).vertical,!bi(l,21).vertical,bi(l,21).inset)}))}function tB(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,XU)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(2,0,null,null,43,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,4,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,nB)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,lB)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,null,15,"div",[["class","col-md-8"],["style","margin-top:20px;"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,14,"div",[["class","formType"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,null,1,"mat-hint",[["class","infoActions mat-hint"]],[[8,"innerHTML",1],[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(13,16384,null,0,tT,[],null,null),(n()(),_o(14,0,null,null,1,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.addAction(e)&&t),t}),HN,EN)),Di(15,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],options:[1,"options"],placeholder:[2,"placeholder"],key:[3,"key"]},{selectedOpt:"triggerEvent"}),(n()(),_o(16,0,null,null,7,"mat-list",[["cdkDropList",""],["class","selectedActionList mat-list mat-list-base cdk-drop-list"],["role","list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),SI,kI)),Ei(6144,null,jU,null,[KU]),Di(18,704512,null,0,tI,[Pe],null,null),Di(19,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),ko(603979776,1,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,0,1,null,eB)),Di(23,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(24,0,null,null,21,"div",[["class","col-md-4"],["style","margin-top:20px;"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,20,"div",[["class","formType jstreeEntities"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(27,null,[" "," "])),(n()(),_o(28,0,null,null,16,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(29,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,8,{_controlNonStatic:0}),ko(335544320,9,{_controlStatic:0}),ko(603979776,10,{_labelChildNonStatic:0}),ko(335544320,11,{_labelChildStatic:0}),ko(603979776,12,{_placeholderChild:0}),ko(603979776,13,{_errorChildren:1}),ko(603979776,14,{_hintChildren:1}),ko(603979776,15,{_prefixChildren:1}),ko(603979776,16,{_suffixChildren:1}),(n()(),_o(39,0,null,0,2,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["matPrefix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(40,16384,[[15,4]],0,aT,[],null,null),Di(41,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(42,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,43)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,43)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,43)._onInput()&&t),t}),null,null)),Di(43,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[8,4],[9,4]],nT,null,[OT]),(n()(),_o(45,0,[["jstree",1]],null,0,"div",[["id","jstree"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,1,0,e.loading),n(l,5,0,!e.indexingInfo.canIndex),n(l,7,0,e.indexingInfo.canIndex),n(l,15,0,"outline",e.actionList,e.lang.linkNewAction,"label_action"),n(l,19,0,e.indexingInfo.actions),n(l,23,0,e.indexingInfo.actions),n(l,29,0,"outline"),n(l,41,0,"primary"),n(l,43,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text")}),(function(n,l){var e=l.component;n(l,11,0,e.lang.availableIndexingActions),n(l,12,0,e.lang.actionsInfo,"end"==bi(l,13).align,bi(l,13).id,null),n(l,16,0,bi(l,19).id,bi(l,19).disabled,bi(l,19)._dropListRef.isDragging(),bi(l,19)._dropListRef.isReceiving()),n(l,27,0,e.lang.authorizedEntities),n(l,28,1,["standard"==bi(l,29).appearance,"fill"==bi(l,29).appearance,"outline"==bi(l,29).appearance,"legacy"==bi(l,29).appearance,bi(l,29)._control.errorState,bi(l,29)._canLabelFloat,bi(l,29)._shouldLabelFloat(),bi(l,29)._hasFloatingLabel(),bi(l,29)._hideControlPlaceholder(),bi(l,29)._control.disabled,bi(l,29)._control.autofilled,bi(l,29)._control.focused,"accent"==bi(l,29).color,"warn"==bi(l,29).color,bi(l,29)._shouldForward("untouched"),bi(l,29)._shouldForward("touched"),bi(l,29)._shouldForward("pristine"),bi(l,29)._shouldForward("dirty"),bi(l,29)._shouldForward("valid"),bi(l,29)._shouldForward("invalid"),bi(l,29)._shouldForward("pending"),!bi(l,29)._animationsEnabled]),n(l,39,0,bi(l,41).inline,"primary"!==bi(l,41).color&&"accent"!==bi(l,41).color&&"warn"!==bi(l,41).color),n(l,42,0,bi(l,43)._isServer,bi(l,43).id,bi(l,43).placeholder,bi(l,43).disabled,bi(l,43).required,bi(l,43).readonly&&!bi(l,43)._isNativeSelect||null,bi(l,43)._ariaDescribedby||null,bi(l,43).errorState,bi(l,43).required.toString())}))}var iB=function(){function n(n){this.latinisePipe=n}return n.prototype.transform=function(n,l,e){var t=this;if(void 0!==e){var i=l.toLocaleLowerCase();return i?n.filter((function(n){return-1!=t.latinisePipe.transform(n[e].toLocaleLowerCase()).indexOf(t.latinisePipe.transform(i))})):n}console.log("Init filter failed for values : "),console.log(n)},n}(),aB=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.privilegeService=o,this.dialog=r,this.lang=Kr,this.loading=!1,this.paramsLoading=!1,this.group={security:{}},this.menus={},this.usersDisplayedColumns=["firstname","lastname"],this.basketsDisplayedColumns=["basket_name","basket_desc"],this.unitPrivileges=[],this.administrationPrivileges=[],this.authorizedGroupsUserParams=[],this.panelMode="keywordInfos",$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){n=(n=n.trim()).toLowerCase(),this.usersDataSource.filter=n},n.prototype.applyBasketsFilter=function(n){n=(n=n.trim()).toLowerCase(),this.basketsDataSource.filter=n},n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.groupCreation),n.creationMode=!0,n.loading=!1):(n.creationMode=!1,n.http.get("../../rest/groups/"+l.id+"/details").subscribe((function(l){n.group=l.group,n.administrationPrivileges=n.privilegeService.getAdministrations(),n.administrationPrivileges=n.administrationPrivileges.map((function(l){return Object(t.__assign)({},l,{checked:n.group.privileges.indexOf(l.id)>-1})})),n.privilegeService.getUnitsPrivileges().forEach((function(l){var e=n.privilegeService.getPrivilegesByUnit(l);if("diffusionList"===l)e=[{id:"indexing_diffList",label:n.lang.diffListPrivilegeMsgIndexing,current:void 0!==n.group.privileges.filter((function(n){return["update_diffusion_indexing","update_diffusion_except_recipient_indexing"].indexOf(n)>-1}))[0]?n.group.privileges.filter((function(n){return["update_diffusion_indexing","update_diffusion_except_recipient_indexing"].indexOf(n)>-1}))[0]:"",services:n.privilegeService.getPrivileges(["update_diffusion_indexing","update_diffusion_except_recipient_indexing"])},{id:"process_diffList",label:n.lang.diffListPrivilegeMsgProcess,current:void 0!==n.group.privileges.filter((function(n){return["update_diffusion_process","update_diffusion_except_recipient_process"].indexOf(n)>-1}))[0]?n.group.privileges.filter((function(n){return["update_diffusion_process","update_diffusion_except_recipient_process"].indexOf(n)>-1}))[0]:"",services:n.privilegeService.getPrivileges(["update_diffusion_process","update_diffusion_except_recipient_process"])},{id:"details_diffList",label:n.lang.diffListPrivilegeMsgDetails,current:void 0!==n.group.privileges.filter((function(n){return["update_diffusion_details","update_diffusion_except_recipient_details"].indexOf(n)>-1}))[0]?n.group.privileges.filter((function(n){return["update_diffusion_details","update_diffusion_except_recipient_details"].indexOf(n)>-1}))[0]:"",services:n.privilegeService.getPrivileges(["update_diffusion_details","update_diffusion_except_recipient_details"])}];else if("confidentialityAndSecurity"===l){var t="";n.group.privileges.filter((function(n){return"manage_personal_data"===n}))[0]?t="manage_personal_data":n.group.privileges.filter((function(n){return"view_personal_data"===n}))[0]&&(t="view_personal_data"),e=[{id:"confidentialityAndSecurity_personal_data",label:n.lang.personalDataMsg,current:t,services:n.privilegeService.getPrivileges(["view_personal_data","manage_personal_data"])}]}n.unitPrivileges.push({id:l,label:n.lang[l],services:e})})),n.headerService.setHeader(n.lang.groupModification,n.group.group_desc),n.loading=!1,setTimeout((function(){n.usersDataSource=new mR(n.group.users),n.usersDataSource.paginator=n.paginator,n.usersDataSource.sort=n.sortUsers,n.basketsDataSource=new mR(n.group.baskets),n.basketsDataSource.paginator=n.paginatorBaskets,n.basketsDataSource.sort=n.sortBaskets}),0)}),(function(l){n.notify.handleErrors(l)})))}))},n.prototype.changeDifflistPrivilege=function(n,l){"indexing_diffList"===l?"update_diffusion_indexing"===n.value?this.manageServices(["update_diffusion_indexing","update_diffusion_except_recipient_indexing"]):"update_diffusion_except_recipient_indexing"===n.value?this.manageServices(["update_diffusion_except_recipient_indexing","update_diffusion_indexing"]):this.manageServices(["update_diffusion_indexing","update_diffusion_except_recipient_indexing"],"deleteAll"):"process_diffList"===l?"update_diffusion_process"===n.value?this.manageServices(["update_diffusion_process","update_diffusion_except_recipient_process"]):"update_diffusion_except_recipient_process"===n.value?this.manageServices(["update_diffusion_except_recipient_process","update_diffusion_process"]):this.manageServices(["update_diffusion_process","update_diffusion_except_recipient_process"],"deleteAll"):"update_diffusion_details"===n.value?this.manageServices(["update_diffusion_details","update_diffusion_except_recipient_details"]):"update_diffusion_except_recipient_details"===n.value?this.manageServices(["update_diffusion_except_recipient_details","update_diffusion_details"]):this.manageServices(["update_diffusion_details","update_diffusion_except_recipient_details"],"deleteAll")},n.prototype.manageServices=function(n,l){var e=this;void 0===l&&(l=null),"deleteAll"!==l?this.http.post("../../rest/groups/"+this.group.id+"/privileges/"+n[0],{}).pipe(Yr((function(){e.group.privileges.push(n[0])})),MN((function(){return e.http.delete("../../rest/groups/"+e.group.id+"/privileges/"+n[1])})),Yr((function(){e.group.privileges.splice(e.group.privileges.indexOf(n[1]),1),e.headerService.resfreshCurrentUser(),e.notify.success(e.lang.groupServicesUpdated)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe():this.http.delete("../../rest/groups/"+this.group.id+"/privileges/"+n[0]).pipe(Yr((function(){e.group.privileges.splice(e.group.privileges.indexOf(n[0]),1)})),MN((function(){return e.http.delete("../../rest/groups/"+e.group.id+"/privileges/"+n[1])})),Yr((function(){e.group.privileges.splice(e.group.privileges.indexOf(n[1]),1),e.headerService.resfreshCurrentUser(),e.notify.success(e.lang.groupServicesUpdated)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.changePersonalDataPrivilege=function(n){var l=this;"view_personal_data"===n.value?this.manageServices(["view_personal_data","manage_personal_data"]):"manage_personal_data"===n.value?this.http.post("../../rest/groups/"+this.group.id+"/privileges/view_personal_data",{}).pipe(Yr((function(){l.group.privileges.push("view_personal_data")})),MN((function(){return l.http.post("../../rest/groups/"+l.group.id+"/privileges/manage_personal_data",{})})),Yr((function(){l.group.privileges.splice(l.group.privileges.indexOf("manage_personal_data"),1),l.headerService.resfreshCurrentUser(),l.notify.success(l.lang.groupServicesUpdated)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe():this.manageServices(["view_personal_data","manage_personal_data"],"deleteAll")},n.prototype.resfreshShortcut=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.headerService.resfreshCurrentUser()];case 1:return n.sent(),this.privilegeService.resfreshUserShortcuts(),[2]}}))}))},n.prototype.getCurrentPrivListDiff=function(n){return this.group.privileges.indexOf(n)>-1},n.prototype.onSubmit=function(){var n=this;this.creationMode?this.http.post("../../rest/groups",this.group).subscribe((function(l){n.notify.success(n.lang.groupAdded),n.router.navigate(["/administration/groups/"+l.group])}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/groups/"+this.group.id,{description:this.group.group_desc,security:this.group.security}).subscribe((function(){n.notify.success(n.lang.groupUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.toggleService=function(n,l){var e=this;n.checked?"admin_groups"===l.id?this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.confirmAction,msg:this.lang.enableGroupMsg}}).afterClosed().pipe(Yr((function(n){"ok"!==n&&(l.checked=!1)})),tc((function(n){return"ok"===n})),Yr((function(){e.addService(l)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe():this.addService(l):(this.sidenavRight.close(),this.removeService(l))},n.prototype.addService=function(n){var l=this;this.http.post("../../rest/groups/"+this.group.id+"/privileges/"+n.id,{}).pipe(Yr((function(){l.group.privileges.push(n.id),l.headerService.resfreshCurrentUser(),l.notify.success(l.lang.groupServicesUpdated)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.removeService=function(n){var l=this;this.http.delete("../../rest/groups/"+this.group.id+"/privileges/"+n.id).pipe(Yr((function(){l.group.privileges.splice(l.group.privileges.indexOf(n.id),1),l.headerService.resfreshCurrentUser(),l.notify.success(l.lang.groupServicesUpdated)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.linkUser=function(n){var l=this;this.http.post("../../rest/users/"+n.id+"/groups",{groupId:this.group.group_id,role:this.group.role}).subscribe((function(){var e=n.idToDisplay.split(" ");l.group.users.push({id:n.id,user_id:n.otherInfo,firstname:e[0],lastname:e[1],allowed:!0}),l.usersDataSource=new mR(l.group.users),l.usersDataSource.paginator=l.paginator,l.usersDataSource.sort=l.sortUsers,l.notify.success(l.lang.userAdded)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.openUserParams=function(n){var l=this;this.sidenavRight.toggle(),this.sidenavRight.opened?(this.panelMode=n,this.paramsLoading=!0,this.http.get("../../rest/groups").pipe(q((function(n){return n.groups=n.groups.map((function(n){return{id:n.id,label:n.group_desc}})),n})),Yr((function(n){l.authorizedGroupsUserParams=n.groups})),MN((function(){return l.http.get("../../rest/groups/"+l.group.id+"/privileges/"+l.panelMode+"/parameters?parameter=groups")})),Yr((function(n){var e=n;l.authorizedGroupsUserParams.forEach((function(n){n.checked=e.indexOf(n.id)>-1}))})),iu((function(){return l.paramsLoading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()):this.panelMode=""},n.prototype.updatePrivilegeParams=function(n){var l=this,e={};"admin_users"===this.panelMode&&(e={groups:n.map((function(n){return n.value}))}),this.http.put("../../rest/groups/"+this.group.id+"/privileges/"+this.panelMode+"/parameters",{parameters:e}).pipe(Yr((function(){l.notify.success(l.lang.parameterUpdated)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.goToUserAdmin=function(n){n.allowed&&this.router.navigate(["/administration/users/"+n.id])},n}(),oB=yt({encapsulation:0,styles:[["textarea.mat-input-element[_ngcontent-%COMP%]{padding:0;margin:0}.active[_ngcontent-%COMP%]{color:#f99830}.emptyExpansionPanel[_ngcontent-%COMP%]{height:0}"]],data:{}});function rB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function uB(n){return jo(0,[(n()(),_o(0,0,null,null,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","32"],["name","identifier"],["pattern","^[\\w.-]*$"],["required",""]],[[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,10)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,10)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,10)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.group.group_id=e)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Di(3,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(4,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(7,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(9,16384,null,0,y_,[[4,v_]],null,null),Di(10,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[11,4],[12,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,""),n(l,3,0,"32"),n(l,4,0,"^[\\w.-]*$"),n(l,7,0,"identifier",e.group.group_id),n(l,10,0,Wt(1,"",e.lang.id,""),"")}),(function(n,l){n(l,0,1,[bi(l,2).required?"":null,bi(l,3).maxlength?bi(l,3).maxlength:null,bi(l,4).pattern?bi(l,4).pattern:null,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending,bi(l,10)._isServer,bi(l,10).id,bi(l,10).placeholder,bi(l,10).disabled,bi(l,10).required,bi(l,10).readonly&&!bi(l,10)._isNativeSelect||null,bi(l,10)._ariaDescribedby||null,bi(l,10).errorState,bi(l,10).required.toString()])}))}function sB(n){return jo(0,[(n()(),_o(0,0,null,null,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","identifier"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,6)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,6)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,6)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.group.group_id=e)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(3,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(5,16384,null,0,y_,[[4,v_]],null,null),Di(6,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[11,4],[12,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,3,0,"identifier","",e.group.group_id),n(l,6,0,"",Wt(1,"",e.lang.id,""))}),(function(n,l){n(l,0,1,[Wt(1,"",l.component.lang.id,""),bi(l,5).ngClassUntouched,bi(l,5).ngClassTouched,bi(l,5).ngClassPristine,bi(l,5).ngClassDirty,bi(l,5).ngClassValid,bi(l,5).ngClassInvalid,bi(l,5).ngClassPending,bi(l,6)._isServer,bi(l,6).id,bi(l,6).placeholder,bi(l,6).disabled,bi(l,6).required,bi(l,6).readonly&&!bi(l,6)._isNativeSelect||null,bi(l,6)._ariaDescribedby||null,bi(l,6).errorState,bi(l,6).required.toString()])}))}function cB(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,52,{_lines:1}),ko(603979776,53,{_avatar:0}),ko(603979776,54,{_icon:0}),(n()(),_o(5,16777216,null,2,4,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,7)._inputElement.nativeElement.focus()&&t),"longpress"===l&&(t=!1!==bi(n,8).show()&&t),"keydown"===l&&(t=!1!==bi(n,8)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,8)._handleTouchend()&&t),"change"===l&&(t=!1!==i.toggleService(e,n.context.$implicit)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(7,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),Di(8,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(9,0,[" ",""]))],(function(n,l){var e=l.component;n(l,7,0,"primary",Wt(1,"",l.context.$implicit.label,""),e.group.privileges.indexOf(l.context.$implicit.id)>-1),n(l,8,0,Wt(1,"",l.context.$implicit.comment,""))}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,7).id,bi(l,7).disabled?null:-1,bi(l,7).checked,bi(l,7).disabled,"before"==bi(l,7).labelPosition,"NoopAnimations"===bi(l,7)._animationMode),n(l,9,0,l.context.$implicit.label)}))}function dB(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[2,"active",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.openUserParams(n.parent.context.$implicit.id)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-cogs mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,-1===l.component.group.privileges.indexOf(l.parent.context.$implicit.id),"primary"),n(l,3,0)}),(function(n,l){var e=l.component;n(l,0,0,e.panelMode===l.parent.context.$implicit.id,e.lang.goToAdminParams,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function pB(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","col-md-3"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,7,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,2)._inputElement.nativeElement.focus()&&t),"longpress"===l&&(t=!1!==bi(n,7).show()&&t),"keydown"===l&&(t=!1!==bi(n,7)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,7)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.checked=e)&&t),"change"===l&&(t=!1!==i.toggleService(e,n.context.$implicit)&&t),t}),mV,pV)),Di(2,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(4,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(6,16384,null,0,y_,[[4,v_]],null,null),Di(7,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(8,0,[""," "])),(n()(),vo(16777216,null,null,1,null,dB)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"primary",Wt(1,"",l.context.$implicit.label,""),l.context.$implicit.checked),n(l,4,0,Wt(1,"",l.context.$implicit.label,""),l.context.$implicit.checked),n(l,7,0,Wt(1,"",l.context.$implicit.comment,"")),n(l,10,0,l.context.$implicit.hasParams)}),(function(n,l){n(l,1,1,[bi(l,2).id,bi(l,2).disabled?null:-1,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending]),n(l,8,0,l.context.$implicit.label)}))}function mB(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,78,{_lines:1}),ko(603979776,79,{_avatar:0}),ko(603979776,80,{_icon:0}),(n()(),_o(5,16777216,null,2,4,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,7)._inputElement.nativeElement.focus()&&t),"longpress"===l&&(t=!1!==bi(n,8).show()&&t),"keydown"===l&&(t=!1!==bi(n,8)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,8)._handleTouchend()&&t),"change"===l&&(t=!1!==i.toggleService(e,n.context.$implicit)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(7,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),Di(8,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(9,0,[""," "]))],(function(n,l){var e=l.component;n(l,7,0,"primary",Wt(1,"",l.context.$implicit.label,""),e.group.privileges.indexOf(l.context.$implicit.id)>-1),n(l,8,0,Wt(1,"",l.context.$implicit.comment,""))}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,7).id,bi(l,7).disabled?null:-1,bi(l,7).checked,bi(l,7).disabled,"before"==bi(l,7).labelPosition,"NoopAnimations"===bi(l,7)._animationMode),n(l,9,0,l.context.$implicit.label)}))}function fB(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(2,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,3,null,mB)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(5,2),Fo(6,3)],(function(n,l){var e=bt(l,4,0,n(l,6,0,bi(l.parent.parent.parent.parent.parent,1),bt(l,4,0,n(l,5,0,bi(l.parent.parent.parent.parent.parent,0),l.parent.context.$implicit.services,"label")),bi(l.parent.parent,49).value,"label"));n(l,4,0,e)}),null)}function hB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[93,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function gB(n){return jo(0,[(n()(),_o(0,0,null,null,32,"mat-list-item",[["class","mat-list-item"],["color","primary"],["style","font-size: 16px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,81,{_lines:1}),ko(603979776,82,{_avatar:0}),ko(603979776,83,{_icon:0}),(n()(),_o(5,0,null,2,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(6,0,null,2,25,"mat-form-field",[["class","mat-form-field"],["style","width: 250px !important;padding-left: 10px;padding-right: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,84,{_controlNonStatic:0}),ko(335544320,85,{_controlStatic:0}),ko(603979776,86,{_labelChildNonStatic:0}),ko(335544320,87,{_labelChildStatic:0}),ko(603979776,88,{_placeholderChild:0}),ko(603979776,89,{_errorChildren:1}),ko(603979776,90,{_hintChildren:1}),ko(603979776,91,{_prefixChildren:1}),ko(603979776,92,{_suffixChildren:1}),(n()(),_o(17,0,null,1,14,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,21)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,21)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,21)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.current=e)&&t),"selectionChange"===l&&(t=!1!==i.changeDifflistPrivilege(e,n.context.$implicit.id)&&t),t}),GR,qR)),Di(18,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,93,{options:1}),ko(603979776,94,{optionGroups:1}),ko(603979776,95,{customTrigger:0}),Ei(2048,[[84,4],[85,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,28)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,28)._handleKeydown(e)&&t),t}),bI,hI)),Di(28,8568832,[[93,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(29,0,["",""])),(n()(),vo(16777216,null,1,1,null,hB)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),Lo(-1,2,[". "]))],(function(n,l){n(l,18,0,l.context.$implicit.current),n(l,21,0),n(l,28,0,""),n(l,31,0,l.context.$implicit.services)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,l.context.$implicit.label),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,1,[bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21).id,bi(l,21).tabIndex,bi(l,21)._getAriaLabel(),bi(l,21)._getAriaLabelledby(),bi(l,21).required.toString(),bi(l,21).disabled.toString(),bi(l,21).errorState,bi(l,21).panelOpen?bi(l,21)._optionIds:null,bi(l,21).multiple,bi(l,21)._ariaDescribedby||null,bi(l,21)._getAriaActiveDescendant(),bi(l,21).disabled,bi(l,21).errorState,bi(l,21).required,bi(l,21).empty]),n(l,27,0,bi(l,28)._getTabIndex(),bi(l,28).selected,bi(l,28).multiple,bi(l,28).active,bi(l,28).id,bi(l,28)._getAriaSelected(),bi(l,28).disabled.toString(),bi(l,28).disabled),n(l,29,0,e.lang.noRole)}))}function bB(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,gB)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.parent.context.$implicit.services)}),null)}function vB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[108,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function _B(n){return jo(0,[(n()(),_o(0,0,null,null,32,"mat-list-item",[["class","mat-list-item"],["color","primary"],["style","font-size: 16px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,96,{_lines:1}),ko(603979776,97,{_avatar:0}),ko(603979776,98,{_icon:0}),(n()(),_o(5,0,null,2,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(6,0,null,2,25,"mat-form-field",[["class","mat-form-field"],["style","width: 300px !important;padding-left: 10px;padding-right: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,99,{_controlNonStatic:0}),ko(335544320,100,{_controlStatic:0}),ko(603979776,101,{_labelChildNonStatic:0}),ko(335544320,102,{_labelChildStatic:0}),ko(603979776,103,{_placeholderChild:0}),ko(603979776,104,{_errorChildren:1}),ko(603979776,105,{_hintChildren:1}),ko(603979776,106,{_prefixChildren:1}),ko(603979776,107,{_suffixChildren:1}),(n()(),_o(17,0,null,1,14,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,21)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,21)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,21)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.current=e)&&t),"selectionChange"===l&&(t=!1!==i.changePersonalDataPrivilege(e)&&t),t}),GR,qR)),Di(18,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,108,{options:1}),ko(603979776,109,{optionGroups:1}),ko(603979776,110,{customTrigger:0}),Ei(2048,[[99,4],[100,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(27,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,28)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,28)._handleKeydown(e)&&t),t}),bI,hI)),Di(28,8568832,[[108,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(29,0,["",""])),(n()(),vo(16777216,null,1,1,null,vB)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),Lo(-1,2,[". "]))],(function(n,l){n(l,18,0,l.context.$implicit.current),n(l,21,0),n(l,28,0,""),n(l,31,0,l.context.$implicit.services)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,l.context.$implicit.label),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,1,[bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21).id,bi(l,21).tabIndex,bi(l,21)._getAriaLabel(),bi(l,21)._getAriaLabelledby(),bi(l,21).required.toString(),bi(l,21).disabled.toString(),bi(l,21).errorState,bi(l,21).panelOpen?bi(l,21)._optionIds:null,bi(l,21).multiple,bi(l,21)._ariaDescribedby||null,bi(l,21)._getAriaActiveDescendant(),bi(l,21).disabled,bi(l,21).errorState,bi(l,21).required,bi(l,21).empty]),n(l,27,0,bi(l,28)._getTabIndex(),bi(l,28).selected,bi(l,28).multiple,bi(l,28).active,bi(l,28).id,bi(l,28)._getAriaSelected(),bi(l,28).disabled.toString(),bi(l,28).disabled),n(l,29,0,e.lang.notVisible)}))}function yB(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_B)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.parent.context.$implicit.services)}),null)}function wB(n){return jo(0,[(n()(),_o(0,16777216,null,null,18,"mat-expansion-panel",[["class","mat-expansion-panel"],["expanded",""]],[[2,"emptyExpansionPanel",null],[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,77,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),Fo(4,3),(n()(),_o(5,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,6)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,6)._animationStarted()&&t),t}),aV,tV)),Di(6,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(7,{collapsedHeight:0,expandedHeight:1}),Oo(8,{value:0,params:1}),(n()(),_o(9,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(10,16384,null,0,Zj,[],null,null),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,1,2,null,fB)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(14,2),(n()(),vo(16777216,null,1,1,null,bB)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,yB)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"");var e=-1===n(l,14,0,"diffusionList","confidentialityAndSecurity").indexOf(l.context.$implicit.id);n(l,13,0,e),n(l,16,0,"diffusionList"===l.context.$implicit.id),n(l,18,0,"confidentialityAndSecurity"===l.context.$implicit.id)}),(function(n,l){var e=0==bt(l,0,0,n(l,4,0,bi(l.parent.parent.parent.parent,1),l.context.$implicit.services,bi(l.parent,49).value,"label")).length;n(l,0,0,e,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,6).panel._headerId,i=bi(l,6).disabled?-1:0,a=bi(l,6)._getPanelId(),o=bi(l,6)._isExpanded(),r=bi(l,6).panel.disabled,u=bi(l,6)._isExpanded(),s="after"===bi(l,6)._getTogglePosition(),c="before"===bi(l,6)._getTogglePosition(),d=bi(l,6)._animationsDisabled,p=n(l,8,0,bi(l,6)._getExpandedState(),n(l,7,0,bi(l,6).collapsedHeight,bi(l,6).expandedHeight));n(l,5,0,t,i,a,o,r,u,s,c,d,p),n(l,11,0,l.context.$implicit.label)}))}function xB(n){return jo(0,[(n()(),_o(0,0,null,null,54,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedTabIndex_2=e)&&t),t}),LV,PV)),Di(1,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,49,{_tabs:1}),(n()(),_o(3,16777216,null,null,8,"mat-tab",[],null,null,null,BV,zV)),Di(4,770048,[[49,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,50,{templateLabel:0}),ko(335544320,51,{_explicitContent:0}),(n()(),_o(7,0,null,0,4,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(8,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,2,null,cB)),Di(10,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(11,2),(n()(),_o(12,16777216,null,null,21,"mat-tab",[],null,null,null,BV,zV)),Di(13,770048,[[49,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,55,{templateLabel:0}),ko(335544320,56,{_explicitContent:0}),(n()(),_o(16,0,null,0,13,"mat-form-field",[["appearance","outline"],["class","basketsFilter mat-form-field"],["floatLabel","never"],["style","padding-left:20px;padding-right:20px;font-size: 11px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,57,{_controlNonStatic:0}),ko(335544320,58,{_controlStatic:0}),ko(603979776,59,{_labelChildNonStatic:0}),ko(335544320,60,{_labelChildStatic:0}),ko(603979776,61,{_placeholderChild:0}),ko(603979776,62,{_errorChildren:1}),ko(603979776,63,{_hintChildren:1}),ko(603979776,64,{_prefixChildren:1}),ko(603979776,65,{_suffixChildren:1}),(n()(),_o(27,0,[["listFilterAdmin",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,28)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,28)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,28)._onInput()&&t),t}),null,null)),Di(28,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[57,4],[58,4]],nT,null,[OT]),(n()(),vo(16777216,null,0,3,null,pB)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(32,2),Fo(33,3),(n()(),_o(34,16777216,null,null,20,"mat-tab",[],null,null,null,BV,zV)),Di(35,770048,[[49,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,66,{templateLabel:0}),ko(335544320,67,{_explicitContent:0}),(n()(),_o(38,0,null,0,13,"mat-form-field",[["appearance","outline"],["class","basketsFilter mat-form-field"],["floatLabel","never"],["style","padding-left:20px;padding-right:20px;font-size: 11px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(39,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,68,{_controlNonStatic:0}),ko(335544320,69,{_controlStatic:0}),ko(603979776,70,{_labelChildNonStatic:0}),ko(335544320,71,{_labelChildStatic:0}),ko(603979776,72,{_placeholderChild:0}),ko(603979776,73,{_errorChildren:1}),ko(603979776,74,{_hintChildren:1}),ko(603979776,75,{_prefixChildren:1}),ko(603979776,76,{_suffixChildren:1}),(n()(),_o(49,0,[["listFilter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,50)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,50)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,50)._onInput()&&t),t}),null,null)),Di(50,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[68,4],[69,4]],nT,null,[OT]),(n()(),vo(16777216,null,0,2,null,wB)),Di(53,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(54,2)],(function(n,l){var e=l.component;n(l,1,0,e.selectedTabIndex_2),n(l,4,0,Wt(1,"",e.lang.menus,""));var t=bt(l,10,0,n(l,11,0,bi(l.parent.parent.parent,0),e.privilegeService.getMenus(),"label"));n(l,10,0,t),n(l,13,0,Wt(1,"",e.lang.administrationServices,"")),n(l,17,0,"outline","never"),n(l,28,0,Wt(1,"",e.lang.filterBy,""));var i=bt(l,31,0,n(l,33,0,bi(l.parent.parent.parent,1),bt(l,31,0,n(l,32,0,bi(l.parent.parent.parent,0),e.administrationPrivileges,"label")),bi(l,27).value,"label"));n(l,31,0,i),n(l,35,0,Wt(1,"",e.lang.functionnalities,"")),n(l,39,0,"outline","never"),n(l,50,0,Wt(1,"",e.lang.filterBy,""));var a=bt(l,53,0,n(l,54,0,bi(l.parent.parent.parent,0),e.unitPrivileges,"label"));n(l,53,0,a)}),(function(n,l){n(l,0,0,bi(l,1).dynamicHeight,"below"===bi(l,1).headerPosition),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,0,bi(l,28)._isServer,bi(l,28).id,bi(l,28).placeholder,bi(l,28).disabled,bi(l,28).required,bi(l,28).readonly&&!bi(l,28)._isNativeSelect||null,bi(l,28)._ariaDescribedby||null,bi(l,28).errorState,bi(l,28).required.toString()),n(l,38,1,["standard"==bi(l,39).appearance,"fill"==bi(l,39).appearance,"outline"==bi(l,39).appearance,"legacy"==bi(l,39).appearance,bi(l,39)._control.errorState,bi(l,39)._canLabelFloat,bi(l,39)._shouldLabelFloat(),bi(l,39)._hasFloatingLabel(),bi(l,39)._hideControlPlaceholder(),bi(l,39)._control.disabled,bi(l,39)._control.autofilled,bi(l,39)._control.focused,"accent"==bi(l,39).color,"warn"==bi(l,39).color,bi(l,39)._shouldForward("untouched"),bi(l,39)._shouldForward("touched"),bi(l,39)._shouldForward("pristine"),bi(l,39)._shouldForward("dirty"),bi(l,39)._shouldForward("valid"),bi(l,39)._shouldForward("invalid"),bi(l,39)._shouldForward("pending"),!bi(l,39)._animationsEnabled]),n(l,49,0,bi(l,50)._isServer,bi(l,50).id,bi(l,50).placeholder,bi(l,50).disabled,bi(l,50).required,bi(l,50).readonly&&!bi(l,50)._isNativeSelect||null,bi(l,50)._ariaDescribedby||null,bi(l,50).errorState,bi(l,50).required.toString())}))}function CB(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[8,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,47,{templateLabel:0}),ko(335544320,48,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,xB)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.privileges,"")),n(l,5,0,!e.creationMode)}),null)}function kB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-indexing-administration",[],null,[[null,"resfreshShortcut"]],(function(n,l,e){var t=!0;return"resfreshShortcut"===l&&(t=!1!==n.component.resfreshShortcut()&&t),t}),tB,QU)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,null,0,ZU,[nS,tu,_u,Jv],{groupId:[0,"groupId"]},{resfreshShortcut:"resfreshShortcut"})],(function(n,l){n(l,2,0,l.component.group.id)}),null)}function SB(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[8,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,111,{templateLabel:0}),ko(335544320,112,{_explicitContent:0}),(n()(),vo(0,[[112,2]],0,1,null,kB)),Di(5,16384,null,0,gV,[Xe],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.indexation,""))}),null)}function IB(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","col-md-12"],["style","padding:5px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"plugin-autocomplete",[],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.linkUser(e)&&t),t}),HN,EN)),Di(2,114688,null,0,FN,[nS,tu,Jv,QS],{routeDatas:[0,"routeDatas"],placeholder:[1,"placeholder"],optGroupLabel:[2,"optGroupLabel"],key:[3,"key"]},{selectedOpt:"triggerEvent"}),Eo(3,1),(n()(),_o(4,0,null,null,0,"hr",[],null,null,null,null,null))],(function(n,l){var e=l.component,t=n(l,3,0,"/rest/autocomplete/users/administration");n(l,2,0,t,e.lang.linkUser,e.lang.availableUsers,"idToDisplay")}),null)}function AB(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.firstname)}))}function MB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.firstname)}))}function PB(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.lastname)}))}function DB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.lastname)}))}function FB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function EB(n){return jo(0,[(n()(),_o(0,16777216,null,null,6,"mat-row",[["class","mat-row"],["role","row"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,5).show()&&t),"keydown"===l&&(t=!1!==bi(n,5)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,5)._handleTouchend()&&t),"click"===l&&(t=!1!==i.goToUserAdmin(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(3,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(4,{cursor:0,opacity:1}),Di(5,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{disabled:[0,"disabled"],message:[1,"message"]},null),Di(6,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=n(l,4,0,l.context.$implicit.allowed?"pointer":"",l.context.$implicit.allowed?"1":"0.6");n(l,3,0,t),n(l,5,0,!l.context.$implicit.allowed,Wt(1,"",e.lang.view,""))}),null)}function OB(n){return jo(0,[(n()(),_o(0,16777216,null,null,64,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[8,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,113,{templateLabel:0}),ko(335544320,114,{_explicitContent:0}),(n()(),_o(4,0,null,0,20,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,IB)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(9,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,115,{_controlNonStatic:0}),ko(335544320,116,{_controlStatic:0}),ko(603979776,117,{_labelChildNonStatic:0}),ko(335544320,118,{_labelChildStatic:0}),ko(603979776,119,{_placeholderChild:0}),ko(603979776,120,{_errorChildren:1}),ko(603979776,121,{_hintChildren:1}),ko(603979776,122,{_prefixChildren:1}),ko(603979776,123,{_suffixChildren:1}),(n()(),_o(19,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(20,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[115,4],[116,4]],nT,null,[OT]),(n()(),_o(22,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(24,245760,[[4,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(25,0,null,0,39,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","lastname"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(27,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,124,{_contentColumnDefs:1}),ko(603979776,125,{_contentRowDefs:1}),ko(603979776,126,{_contentHeaderRowDefs:1}),ko(603979776,127,{_contentFooterRowDefs:1}),Di(32,737280,[[5,4],["sortUsers",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(33,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(35,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,128,{cell:0}),ko(603979776,129,{headerCell:0}),ko(603979776,130,{footerCell:0}),Ei(2048,[[124,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,AB)),Di(41,16384,null,0,tR,[Xe],null,null),Ei(2048,[[129,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,MB)),Di(44,16384,null,0,eR,[Xe],null,null),Ei(2048,[[128,4]],OL,null,[eR]),(n()(),_o(46,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(48,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,131,{cell:0}),ko(603979776,132,{headerCell:0}),ko(603979776,133,{footerCell:0}),Ei(2048,[[124,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,PB)),Di(54,16384,null,0,tR,[Xe],null,null),Ei(2048,[[132,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,DB)),Di(57,16384,null,0,eR,[Xe],null,null),Ei(2048,[[131,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,FB)),Di(60,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[126,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,EB)),Di(63,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[125,4]],UL,null,[uR]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.relatedUsers,"")),n(l,6,0,e.group.canAdminUsers),n(l,20,0,Wt(1,"",e.lang.filterBy,"")),n(l,24,0,100,10,!0),n(l,27,0,e.usersDataSource),n(l,32,0,"lastname","asc"),n(l,35,0,"firstname"),n(l,48,0,"lastname"),n(l,60,0,e.usersDisplayedColumns),n(l,63,0,e.usersDisplayedColumns)}),(function(n,l){n(l,8,1,["standard"==bi(l,9).appearance,"fill"==bi(l,9).appearance,"outline"==bi(l,9).appearance,"legacy"==bi(l,9).appearance,bi(l,9)._control.errorState,bi(l,9)._canLabelFloat,bi(l,9)._shouldLabelFloat(),bi(l,9)._hasFloatingLabel(),bi(l,9)._hideControlPlaceholder(),bi(l,9)._control.disabled,bi(l,9)._control.autofilled,bi(l,9)._control.focused,"accent"==bi(l,9).color,"warn"==bi(l,9).color,bi(l,9)._shouldForward("untouched"),bi(l,9)._shouldForward("touched"),bi(l,9)._shouldForward("pristine"),bi(l,9)._shouldForward("dirty"),bi(l,9)._shouldForward("valid"),bi(l,9)._shouldForward("invalid"),bi(l,9)._shouldForward("pending"),!bi(l,9)._animationsEnabled]),n(l,19,0,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString())}))}function TB(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function LB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.basket_name)}))}function RB(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function NB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.basket_desc)}))}function jB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function VB(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/baskets/",l.context.$implicit.basket_id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function qB(n){return jo(0,[(n()(),_o(0,16777216,null,null,62,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[8,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,134,{templateLabel:0}),ko(335544320,135,{_explicitContent:0}),(n()(),_o(4,0,null,0,18,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,136,{_controlNonStatic:0}),ko(335544320,137,{_controlStatic:0}),ko(603979776,138,{_labelChildNonStatic:0}),ko(335544320,139,{_labelChildStatic:0}),ko(603979776,140,{_placeholderChild:0}),ko(603979776,141,{_errorChildren:1}),ko(603979776,142,{_hintChildren:1}),ko(603979776,143,{_prefixChildren:1}),ko(603979776,144,{_suffixChildren:1}),(n()(),_o(17,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyBasketsFilter(e.target.value)&&t),t}),null,null)),Di(18,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[136,4],[137,4]],nT,null,[OT]),(n()(),_o(20,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(22,245760,[[4,4],[2,4],["paginatorBaskets",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(23,0,null,0,39,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","basket_name"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(25,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,145,{_contentColumnDefs:1}),ko(603979776,146,{_contentRowDefs:1}),ko(603979776,147,{_contentHeaderRowDefs:1}),ko(603979776,148,{_contentFooterRowDefs:1}),Di(30,737280,[[3,4],["sortBaskets",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(31,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(33,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,149,{cell:0}),ko(603979776,150,{headerCell:0}),ko(603979776,151,{footerCell:0}),Ei(2048,[[145,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,TB)),Di(39,16384,null,0,tR,[Xe],null,null),Ei(2048,[[150,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,LB)),Di(42,16384,null,0,eR,[Xe],null,null),Ei(2048,[[149,4]],OL,null,[eR]),(n()(),_o(44,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(46,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,152,{cell:0}),ko(603979776,153,{headerCell:0}),ko(603979776,154,{footerCell:0}),Ei(2048,[[145,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,RB)),Di(52,16384,null,0,tR,[Xe],null,null),Ei(2048,[[153,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,NB)),Di(55,16384,null,0,eR,[Xe],null,null),Ei(2048,[[152,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,jB)),Di(58,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[147,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,VB)),Di(61,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[146,4]],UL,null,[uR]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.relatedBaskets,"")),n(l,18,0,Wt(1,"",e.lang.filterBy,"")),n(l,22,0,100,10,!0),n(l,25,0,e.basketsDataSource),n(l,30,0,"basket_name","asc"),n(l,33,0,"basket_name"),n(l,46,0,"basket_desc"),n(l,58,0,e.basketsDisplayedColumns),n(l,61,0,e.basketsDisplayedColumns)}),(function(n,l){n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,0,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString())}))}function zB(n){return jo(0,[(n()(),_o(0,0,null,null,107,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,105,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedTabIndex_1=e)&&t),t}),LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,8,{_tabs:1}),(n()(),_o(5,16777216,null,null,94,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[8,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,9,{templateLabel:0}),ko(335544320,10,{_explicitContent:0}),(n()(),_o(9,0,null,0,90,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[["groupForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,14,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(15,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,11,{_controlNonStatic:0}),ko(335544320,12,{_controlStatic:0}),ko(603979776,13,{_labelChildNonStatic:0}),ko(335544320,14,{_labelChildStatic:0}),ko(603979776,15,{_placeholderChild:0}),ko(603979776,16,{_errorChildren:1}),ko(603979776,17,{_hintChildren:1}),ko(603979776,18,{_prefixChildren:1}),ko(603979776,19,{_suffixChildren:1}),(n()(),vo(16777216,null,1,1,null,uB)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,sB)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(29,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(30,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,20,{_controlNonStatic:0}),ko(335544320,21,{_controlStatic:0}),ko(603979776,22,{_labelChildNonStatic:0}),ko(335544320,23,{_labelChildStatic:0}),ko(603979776,24,{_placeholderChild:0}),ko(603979776,25,{_errorChildren:1}),ko(603979776,26,{_hintChildren:1}),ko(603979776,27,{_prefixChildren:1}),ko(603979776,28,{_suffixChildren:1}),(n()(),_o(40,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","255"],["name","description"],["required",""]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,41)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,41).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,41)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,41)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,49)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,49)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,49)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.group.group_desc=e)&&t),t}),null,null)),Di(41,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(42,16384,null,0,My,[],{required:[0,"required"]},null),Di(43,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(46,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(48,16384,null,0,y_,[[4,v_]],null,null),Di(49,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[20,4],[21,4]],nT,null,[OT]),(n()(),_o(51,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(52,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(62,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","comment"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,63)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,63).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,63)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,63)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,68)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,68)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,68)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.group.security.maarch_comment=e)&&t),t}),null,null)),Di(63,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(65,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(67,16384,null,0,y_,[[4,v_]],null,null),Di(68,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[29,4],[30,4]],nT,null,[OT]),(n()(),_o(70,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(71,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,38,{_controlNonStatic:0}),ko(335544320,39,{_controlStatic:0}),ko(603979776,40,{_labelChildNonStatic:0}),ko(335544320,41,{_labelChildStatic:0}),ko(603979776,42,{_placeholderChild:0}),ko(603979776,43,{_errorChildren:1}),ko(603979776,44,{_hintChildren:1}),ko(603979776,45,{_prefixChildren:1}),ko(603979776,46,{_suffixChildren:1}),(n()(),_o(81,0,null,1,10,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matAutosizeMaxRows","5"],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["name","clause"],["required",""],["rows","1"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,82)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,82).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,82)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,82)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,89)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,89)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,89)._onInput()&&t),"input"===l&&(t=!1!==bi(n,90)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.group.security.where_clause=e)&&t),t}),null,null)),Di(82,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(83,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(86,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(88,16384,null,0,y_,[[4,v_]],null,null),Di(89,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Di(90,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matAutosizeMaxRows:[1,"matAutosizeMaxRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[38,4],[39,4]],nT,null,[OT]),(n()(),_o(92,16777216,null,4,3,"mat-icon",[["class","fa fa-info-circle mat-icon notranslate"],["color","primary"],["matSuffix",""],["role","img"],["style","cursor:pointer;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,94).show()&&t),"keydown"===l&&(t=!1!==bi(n,94)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,94)._handleTouchend()&&t),"click"===l&&(i.panelMode="keywordInfos",t=!1!==bi(n.parent,29).toggle()&&t),t}),FS,DS)),Di(93,16384,[[46,4]],0,oT,[],null,null),Di(94,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(95,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(96,0,null,null,3,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(97,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(98,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(99,0,["",""])),(n()(),vo(16777216,null,null,1,null,CB)),Di(101,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,SB)),Di(103,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,OB)),Di(105,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qB)),Di(107,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedTabIndex_1),n(l,6,0,Wt(1,"",e.lang.informations,"")),n(l,26,0,e.creationMode),n(l,28,0,!e.creationMode),n(l,42,0,""),n(l,43,0,"255"),n(l,46,0,"description",e.group.group_desc),n(l,49,0,Wt(1,"",e.lang.label,""),""),n(l,65,0,"comment",e.group.security.maarch_comment),n(l,68,0,Wt(1,"",e.lang.description,"")),n(l,83,0,""),n(l,86,0,"clause",e.group.security.where_clause),n(l,89,0,Wt(1,"",e.lang.clauseGroup,""),""),n(l,90,0,"1","5",""),n(l,94,0,Wt(1,"",e.lang.keywordHelper,"")),n(l,95,0,"primary"),n(l,98,0,!bi(l,11).form.valid,"primary"),n(l,101,0,!e.creationMode),n(l,103,0,!e.creationMode),n(l,105,0,!e.creationMode),n(l,107,0,!e.creationMode)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,14,1,["standard"==bi(l,15).appearance,"fill"==bi(l,15).appearance,"outline"==bi(l,15).appearance,"legacy"==bi(l,15).appearance,bi(l,15)._control.errorState,bi(l,15)._canLabelFloat,bi(l,15)._shouldLabelFloat(),bi(l,15)._hasFloatingLabel(),bi(l,15)._hideControlPlaceholder(),bi(l,15)._control.disabled,bi(l,15)._control.autofilled,bi(l,15)._control.focused,"accent"==bi(l,15).color,"warn"==bi(l,15).color,bi(l,15)._shouldForward("untouched"),bi(l,15)._shouldForward("touched"),bi(l,15)._shouldForward("pristine"),bi(l,15)._shouldForward("dirty"),bi(l,15)._shouldForward("valid"),bi(l,15)._shouldForward("invalid"),bi(l,15)._shouldForward("pending"),!bi(l,15)._animationsEnabled]),n(l,29,1,["standard"==bi(l,30).appearance,"fill"==bi(l,30).appearance,"outline"==bi(l,30).appearance,"legacy"==bi(l,30).appearance,bi(l,30)._control.errorState,bi(l,30)._canLabelFloat,bi(l,30)._shouldLabelFloat(),bi(l,30)._hasFloatingLabel(),bi(l,30)._hideControlPlaceholder(),bi(l,30)._control.disabled,bi(l,30)._control.autofilled,bi(l,30)._control.focused,"accent"==bi(l,30).color,"warn"==bi(l,30).color,bi(l,30)._shouldForward("untouched"),bi(l,30)._shouldForward("touched"),bi(l,30)._shouldForward("pristine"),bi(l,30)._shouldForward("dirty"),bi(l,30)._shouldForward("valid"),bi(l,30)._shouldForward("invalid"),bi(l,30)._shouldForward("pending"),!bi(l,30)._animationsEnabled]),n(l,40,1,[Wt(1,"",e.lang.label,""),bi(l,42).required?"":null,bi(l,43).maxlength?bi(l,43).maxlength:null,bi(l,48).ngClassUntouched,bi(l,48).ngClassTouched,bi(l,48).ngClassPristine,bi(l,48).ngClassDirty,bi(l,48).ngClassValid,bi(l,48).ngClassInvalid,bi(l,48).ngClassPending,bi(l,49)._isServer,bi(l,49).id,bi(l,49).placeholder,bi(l,49).disabled,bi(l,49).required,bi(l,49).readonly&&!bi(l,49)._isNativeSelect||null,bi(l,49)._ariaDescribedby||null,bi(l,49).errorState,bi(l,49).required.toString()]),n(l,51,1,["standard"==bi(l,52).appearance,"fill"==bi(l,52).appearance,"outline"==bi(l,52).appearance,"legacy"==bi(l,52).appearance,bi(l,52)._control.errorState,bi(l,52)._canLabelFloat,bi(l,52)._shouldLabelFloat(),bi(l,52)._hasFloatingLabel(),bi(l,52)._hideControlPlaceholder(),bi(l,52)._control.disabled,bi(l,52)._control.autofilled,bi(l,52)._control.focused,"accent"==bi(l,52).color,"warn"==bi(l,52).color,bi(l,52)._shouldForward("untouched"),bi(l,52)._shouldForward("touched"),bi(l,52)._shouldForward("pristine"),bi(l,52)._shouldForward("dirty"),bi(l,52)._shouldForward("valid"),bi(l,52)._shouldForward("invalid"),bi(l,52)._shouldForward("pending"),!bi(l,52)._animationsEnabled]),n(l,62,1,[Wt(1,"",e.lang.description,""),bi(l,67).ngClassUntouched,bi(l,67).ngClassTouched,bi(l,67).ngClassPristine,bi(l,67).ngClassDirty,bi(l,67).ngClassValid,bi(l,67).ngClassInvalid,bi(l,67).ngClassPending,bi(l,68)._isServer,bi(l,68).id,bi(l,68).placeholder,bi(l,68).disabled,bi(l,68).required,bi(l,68).readonly&&!bi(l,68)._isNativeSelect||null,bi(l,68)._ariaDescribedby||null,bi(l,68).errorState,bi(l,68).required.toString()]),n(l,70,1,["standard"==bi(l,71).appearance,"fill"==bi(l,71).appearance,"outline"==bi(l,71).appearance,"legacy"==bi(l,71).appearance,bi(l,71)._control.errorState,bi(l,71)._canLabelFloat,bi(l,71)._shouldLabelFloat(),bi(l,71)._hasFloatingLabel(),bi(l,71)._hideControlPlaceholder(),bi(l,71)._control.disabled,bi(l,71)._control.autofilled,bi(l,71)._control.focused,"accent"==bi(l,71).color,"warn"==bi(l,71).color,bi(l,71)._shouldForward("untouched"),bi(l,71)._shouldForward("touched"),bi(l,71)._shouldForward("pristine"),bi(l,71)._shouldForward("dirty"),bi(l,71)._shouldForward("valid"),bi(l,71)._shouldForward("invalid"),bi(l,71)._shouldForward("pending"),!bi(l,71)._animationsEnabled]),n(l,81,1,[Wt(1,"",e.lang.clauseGroup,""),bi(l,83).required?"":null,bi(l,88).ngClassUntouched,bi(l,88).ngClassTouched,bi(l,88).ngClassPristine,bi(l,88).ngClassDirty,bi(l,88).ngClassValid,bi(l,88).ngClassInvalid,bi(l,88).ngClassPending,bi(l,89)._isServer,bi(l,89).id,bi(l,89).placeholder,bi(l,89).disabled,bi(l,89).required,bi(l,89).readonly&&!bi(l,89)._isNativeSelect||null,bi(l,89)._ariaDescribedby||null,bi(l,89).errorState,bi(l,89).required.toString()]),n(l,92,0,bi(l,95).inline,"primary"!==bi(l,95).color&&"accent"!==bi(l,95).color&&"warn"!==bi(l,95).color),n(l,97,0,bi(l,98).disabled||null,"NoopAnimations"===bi(l,98)._animationMode),n(l,99,0,e.lang.save)}))}function UB(n){return jo(0,[(n()(),_o(0,0,null,null,78,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(2,704512,null,0,eI,[],null,null),(n()(),_o(3,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(4,16384,null,0,aI,[],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,72,"mat-list",[["class","mat-list mat-list-base"],["role","list"],["style","width: 400px;padding: 5px;"]],null,null,null,SI,kI)),Di(7,704512,null,0,tI,[Pe],null,null),(n()(),_o(8,0,null,0,1,"p",[["style","font-size:10px;"]],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),_o(10,0,null,0,2,"div",[["style","border:1px black solid; padding:3px;font-size:10px;"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(-1,null,["DESTINATION = @my_primary_entity or DESTINATION in (@subentities[@my_primary_entity])"])),(n()(),_o(13,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(14,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@user :"])),(n()(),_o(16,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(17,16384,null,0,pv,[],null,null),(n()(),Lo(18,null,["",""])),(n()(),_o(19,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(20,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@user_id :"])),(n()(),_o(22,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(23,16384,null,0,pv,[],null,null),(n()(),Lo(24,null,["",""])),(n()(),_o(25,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(26,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@email :"])),(n()(),_o(28,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(29,16384,null,0,pv,[],null,null),(n()(),Lo(30,null,["",""])),(n()(),_o(31,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(32,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@my_entities :"])),(n()(),_o(34,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(35,16384,null,0,pv,[],null,null),(n()(),Lo(36,null,["",""])),(n()(),_o(37,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(38,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@my_primary_entity :"])),(n()(),_o(40,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(41,16384,null,0,pv,[],null,null),(n()(),Lo(42,null,["",""])),(n()(),_o(43,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(44,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@subentities[('entity_1',...,'entity_n')] : "])),(n()(),_o(46,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(47,16384,null,0,pv,[],null,null),(n()(),Lo(48,null,["",""])),(n()(),_o(49,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(50,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@parent_entity['entity_id'] :"])),(n()(),_o(52,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(53,16384,null,0,pv,[],null,null),(n()(),Lo(54,null,["",""])),(n()(),_o(55,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(56,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@sisters_entities['entity_id'] :"])),(n()(),_o(58,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(59,16384,null,0,pv,[],null,null),(n()(),Lo(60,null,["",""])),(n()(),_o(61,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(62,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@entity_type['type'] :"])),(n()(),_o(64,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(65,16384,null,0,pv,[],null,null),(n()(),Lo(66,null,["",""])),(n()(),_o(67,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(68,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@all_entities :"])),(n()(),_o(70,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(71,16384,null,0,pv,[],null,null),(n()(),Lo(72,null,["",""])),(n()(),_o(73,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(74,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@immediate_children['entity_1',..., 'entity_id'] : "])),(n()(),_o(76,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(77,16384,null,0,pv,[],null,null),(n()(),Lo(78,null,["",""]))],null,(function(n,l){var e=l.component;n(l,5,0,e.lang.keywordHelp),n(l,9,0,e.lang.keywordHelpDesc_11),n(l,18,0,e.lang.keywordHelpDesc_1),n(l,24,0,e.lang.keywordHelpDesc_12),n(l,30,0,e.lang.keywordHelpDesc_2),n(l,36,0,e.lang.keywordHelpDesc_3),n(l,42,0,e.lang.keywordHelpDesc_4),n(l,48,0,e.lang.keywordHelpDesc_5),n(l,54,0,e.lang.keywordHelpDesc_6),n(l,60,0,e.lang.keywordHelpDesc_7),n(l,66,0,e.lang.keywordHelpDesc_8),n(l,72,0,e.lang.keywordHelpDesc_9),n(l,78,0,e.lang.keywordHelpDesc_10)}))}function BB(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["color","primary"],["role","option"],["style","font-size: 13px;"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[155,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],color:[1,"color"],value:[2,"value"],selected:[3,"selected"]},null),ko(603979776,156,{_avatar:0}),ko(603979776,157,{_icon:0}),ko(603979776,158,{_lines:1}),(n()(),Lo(5,0,[" "," "]))],(function(n,l){n(l,1,0,"before","primary",l.context.$implicit.id,l.context.$implicit.checked)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,l.context.$implicit.label)}))}function $B(n){return jo(0,[(n()(),_o(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(2,704512,null,0,eI,[],null,null),(n()(),_o(3,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(4,16384,null,0,aI,[],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,9,"mat-list",[["class","mat-list mat-list-base"],["role","list"],["style","width: 400px;padding: 5px;"]],null,null,null,SI,kI)),Di(7,704512,null,0,tI,[Pe],null,null),(n()(),_o(8,0,null,0,1,"p",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(9,null,[" "," : "])),(n()(),_o(10,0,null,0,5,"mat-selection-list",[["aria-multiselectable","true"],["class","mat-selection-list mat-list-base"],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0]],[[null,"selectionChange"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,12)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,12)._keydown(e)&&t),"selectionChange"===l&&(t=!1!==i.updatePrivilegeParams(bi(n,12).selectedOptions.selected)&&t),t}),FI,DI)),Ei(5120,null,d_,(function(n){return[n]}),[dI]),Di(12,1753088,[["paramsList",4]],1,dI,[Pe,[8,null]],null,{selectionChange:"selectionChange"}),ko(603979776,155,{options:1}),(n()(),vo(16777216,null,0,1,null,BB)),Di(15,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,15,0,l.component.authorizedGroupsUserParams)}),(function(n,l){var e=l.component;n(l,5,0,e.lang.adminParamsUsers),n(l,9,0,e.lang.chooseAllowedGroups),n(l,10,0,bi(l,12).tabIndex,bi(l,12).disabled.toString())}))}function HB(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,iB,[QS]),ko(402653184,1,{sidenavRight:0}),ko(671088640,2,{paginatorBaskets:0}),ko(402653184,3,{sortBaskets:0}),ko(671088640,4,{paginator:0}),ko(402653184,5,{sortUsers:0}),(n()(),_o(7,0,null,null,26,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(8,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,6,{_drawers:1}),ko(603979776,7,{_content:0}),(n()(),_o(11,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(12,1294336,[[7,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(13,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(17,114688,null,0,GO,[_u],null,null),(n()(),_o(18,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(20,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(21,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(22,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(23,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,rB)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zB)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,0,5,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,29)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,29)._animationDoneListener(e)&&t),t}),zO,qO)),Di(29,3325952,[[6,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),vo(16777216,null,0,1,null,UB)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,$B)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,8,0,""),n(l,12,0),n(l,17,0),n(l,20,0),n(l,25,0,e.loading),n(l,27,0,!e.loading),n(l,29,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56"),n(l,31,0,"keywordInfos"===e.panelMode),n(l,33,0,"admin_users"===e.panelMode)}),(function(n,l){var e=l.component;n(l,7,0,bi(l,8)._backdropOverride),n(l,11,0,bi(l,12)._container._contentMargins.left,bi(l,12)._container._contentMargins.right),n(l,14,0,e.appService.getViewMode()),n(l,21,0,e.appService.getViewMode()),n(l,22,0,e.appService.getViewMode()),n(l,28,0,null,"end"===bi(l,29).position,"over"===bi(l,29).mode,"push"===bi(l,29).mode,"side"===bi(l,29).mode,bi(l,29).opened,bi(l,29).fixedInViewport,bi(l,29).fixedInViewport?bi(l,29).fixedTopGap:null,bi(l,29).fixedInViewport?bi(l,29).fixedBottomGap:null,bi(l,29)._animationState)}))}function GB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,HB,oB)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,aB,[nS,Zp,uf,tu,_u,yu,TI,Jv],null,null)],(function(n,l){n(l,2,0)}),null)}var WB=oi("ng-component",aB,GB,{},{},[]),KB=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.loading=!1,this.baskets=[],this.basketsOrder=[],this.displayedColumns=["basket_id","basket_name","basket_desc","actions"],$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["basket_id","basket_name","basket_desc"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.headerService.setHeader(this.lang.administration+" "+this.lang.baskets),this.loading=!0,this.http.get("../../rest/baskets").subscribe((function(l){n.baskets=l.baskets,n.loading=!1,setTimeout((function(){n.http.get("../../rest/sortedBaskets").subscribe((function(l){n.basketsOrder=l.baskets}),(function(l){n.notify.handleErrors(l)})),n.dataSource=new mR(n.baskets),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="basket_id",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.delete=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+n.basket_name+" »")&&this.http.delete("../../rest/baskets/"+n.basket_id).subscribe((function(n){l.notify.success(l.lang.basketDeleted),l.baskets=n.baskets,l.dataSource=new mR(l.baskets),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.http.get("../../rest/sortedBaskets").subscribe((function(n){l.basketsOrder=n.baskets}),(function(n){l.notify.handleErrors(n)}))}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.updateBasketOrder=function(n){var l=this;this.http.put("../../rest/sortedBaskets/"+n.basket_id,this.basketsOrder).subscribe((function(n){l.baskets=n.baskets,l.notify.success(l.lang.modificationSaved)}),(function(n){l.notify.error(n.error.errors)}))},n}(),YB=yt({encapsulation:2,styles:[],data:{}});function JB(n){return jo(0,[(n()(),_o(0,0,null,null,27,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/baskets/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n.parent,27).toggle()&&t),t}),AI,II)),Di(18,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(22,0,null,0,2,"mat-icon",[["class","fa fa-list-ol mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(23,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(24,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(25,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(26,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(27,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/baskets/new"),n(l,12,0,"primary"),n(l,23,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add),n(l,17,0,bi(l,18)._avatar||bi(l,18)._icon,bi(l,18)._avatar||bi(l,18)._icon),n(l,22,0,bi(l,23).inline,"primary"!==bi(l,23).color&&"accent"!==bi(l,23).color&&"warn"!==bi(l,23).color),n(l,27,0,e.lang.basketsOrder)}))}function ZB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function QB(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function XB(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.basket_id)}))}function n$(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function l$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.basket_name)}))}function e$(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function t$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.basket_desc)}))}function i$(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function a$(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.delete(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function o$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function r$(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/baskets/",l.context.$implicit.basket_id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function u$(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","basket_id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,22,{_contentColumnDefs:1}),ko(603979776,23,{_contentRowDefs:1}),ko(603979776,24,{_contentHeaderRowDefs:1}),ko(603979776,25,{_contentFooterRowDefs:1}),Di(28,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,QB)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,XB)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,n$)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,l$)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,32,{cell:0}),ko(603979776,33,{headerCell:0}),ko(603979776,34,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,e$)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[33,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,t$)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[32,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,35,{cell:0}),ko(603979776,36,{headerCell:0}),ko(603979776,37,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,i$)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[36,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,a$)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[35,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,o$)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[24,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,r$)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[23,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"basket_id","asc"),n(l,31,0,"basket_id"),n(l,44,0,"basket_name"),n(l,57,0,"basket_desc"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.baskets.length,e.lang.baskets)}))}function s$(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-list-item",[["class","mat-list-item"],["disableRipple","true"],["dnd-sortable",""]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"onDropSuccess"]],(function(n,l,e){var t=!0;return"onDropSuccess"===l&&(t=!1!==n.component.updateBasketOrder(n.context.$implicit)&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,38,{_lines:1}),ko(603979776,39,{_avatar:0}),ko(603979776,40,{_icon:0}),Di(5,16384,null,0,aq,[Pe,KV,GV,eq,JV,Nl],{index:[0,"index"]},{onDropSuccessCallback:"onDropSuccess"}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-inbox mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[40,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[38,4]],0,pv,[],null,null),(n()(),Lo(11,null,[""," - ",""]))],(function(n,l){n(l,1,0,"true"),n(l,5,0,l.context.index),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.move,""),bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.index+1,l.context.$implicit.basket_name)}))}function c$(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,32,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,JB)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ZB)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,u$)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,0,10,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,27)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,27)._animationDoneListener(e)&&t),t}),zO,qO)),Di(27,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(28,0,null,0,1,"p",[["style","font-size:15px;padding:10px"]],null,null,null,null,null)),(n()(),Lo(29,null,[" "," "])),(n()(),_o(30,0,null,0,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(31,704512,null,0,tI,[Pe],null,null),(n()(),_o(32,0,null,0,4,"span",[["dnd-sortable-container",""]],null,null,null,null,null)),Di(33,16384,null,0,eq,[Pe,KV,GV,Nl,JV],{sortableData:[0,"sortableData"],dropzones:[1,"dropzones"]},null),Eo(34,1),(n()(),vo(16777216,null,null,1,null,s$)),Di(36,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading),n(l,27,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56");var t=e.basketsOrder,i=n(l,34,0,"boxers-zone");n(l,33,0,t,i),n(l,36,0,e.basketsOrder)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,26,0,null,"end"===bi(l,27).position,"over"===bi(l,27).mode,"push"===bi(l,27).mode,"side"===bi(l,27).mode,bi(l,27).opened,bi(l,27).fixedInViewport,bi(l,27).fixedInViewport?bi(l,27).fixedTopGap:null,bi(l,27).fixedInViewport?bi(l,27).fixedBottomGap:null,bi(l,27)._animationState),n(l,29,0,e.lang.basketHelpDesc)}))}function d$(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,c$,YB)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,KB,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var p$=oi("ng-component",KB,d$,{},{},[]),m$=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i._platform=e,i._document=t,i}return Object(t.__extends)(l,n),l.prototype.ngAfterViewInit=function(){var n=this;sl()&&this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe((function(){return n._checkToolbarMixedModes()})))},l.prototype._checkToolbarMixedModes=function(){var n=this;this._toolbarRows.length&&Array.from(this._elementRef.nativeElement.childNodes).filter((function(n){return!(n.classList&&n.classList.contains("mat-toolbar-row"))})).filter((function(l){return l.nodeType!==(n._document?n._document.COMMENT_NODE:8)})).some((function(n){return!(!n.textContent||!n.textContent.trim())}))&&function(){throw Error("MatToolbar: Attempting to combine different toolbar modes. Either specify multiple `<mat-toolbar-row>` elements explicitly or just place content inside of a `<mat-toolbar>` for a single row.")}()},l}(Kb(function(){return function(n){this._elementRef=n}}())),f$=function(){return function(){}}(),h$=yt({encapsulation:2,styles:["@media (-ms-high-contrast:active){.mat-toolbar{outline:solid 1px}}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}.mat-toolbar-multiple-rows{min-height:64px}.mat-toolbar-row,.mat-toolbar-single-row{height:64px}@media (max-width:599px){.mat-toolbar-multiple-rows{min-height:56px}.mat-toolbar-row,.mat-toolbar-single-row{height:56px}}"],data:{}});function g$(n){return jo(2,[Po(null,0),Po(null,1)],null,null)}var b$=function(){function n(n,l){this.http=n,this.notify=l,this.lang=Kr,this.loading=!1,this.displayedMainData=[{value:"chronoNumberShort",label:this.lang.chronoNumberShort,sample:"MAARCH/2019A/1",cssClasses:["align_centerData","normalData"],icon:""},{value:"object",label:this.lang.object,sample:this.lang.objectSample,cssClasses:["longData"],icon:""}],this.availableData=[{value:"getPriority",label:this.lang.getPriority,sample:this.lang.getPrioritySample,cssClasses:["align_leftData"],icon:"fa-traffic-light"},{value:"getCategory",label:this.lang.getCategory,sample:this.lang.incoming,cssClasses:["align_leftData"],icon:"fa-exchange-alt"},{value:"getDoctype",label:this.lang.getDoctype,sample:this.lang.getDoctypeSample,cssClasses:["align_leftData"],icon:"fa-suitcase"},{value:"getAssignee",label:this.lang.getAssignee,sample:this.lang.getAssigneeSample,cssClasses:["align_leftData"],icon:"fa-sitemap"},{value:"getRecipients",label:this.lang.getRecipients,sample:"Patricia PETIT",cssClasses:["align_leftData"],icon:"fa-user"},{value:"getSenders",label:this.lang.getSenders,sample:"Alain DUBOIS (MAARCH)",cssClasses:["align_leftData"],icon:"fa-book"},{value:"getCreationAndProcessLimitDates",label:this.lang.getCreationAndProcessLimitDates,sample:this.lang.getCreationAndProcessLimitDatesSample,cssClasses:["align_leftData"],icon:"fa-calendar"},{value:"getCreationDate",label:this.lang.getCreationDate,sample:this.lang.getCreationDateSample,cssClasses:["align_leftData"],icon:"fa-calendar"},{value:"getProcessLimitDate",label:this.lang.getProcessLimitDate,sample:this.lang.getProcessLimitDateSample,cssClasses:["align_leftData"],icon:"fa-stopwatch"},{value:"getVisaWorkflow",label:this.lang.getVisaWorkflow,sample:'<i color="accent" class="fa fa-check"></i> Barbara BAIN -> <i class="fa fa-hourglass-half"></i> <b>Bruno BOULE</b> -> <i class="fa fa-hourglass-half"></i> Patricia PETIT',cssClasses:["align_leftData"],icon:"fa-list-ol"},{value:"getSignatories",label:this.lang.getSignatories,sample:"Denis DAULL, Patricia PETIT",cssClasses:["align_leftData"],icon:"fa-certificate"},{value:"getModificationDate",label:this.lang.getModificationDate,sample:"01-01-2019",cssClasses:["align_leftData"],icon:"fa-calendar-check"},{value:"getOpinionLimitDate",label:this.lang.getOpinionLimitDate,sample:"01-01-2019",cssClasses:["align_leftData"],icon:"fa-stopwatch"},{value:"getParallelOpinionsNumber",label:this.lang.getParallelOpinionsNumber,sample:this.lang.getParallelOpinionsNumberSample,cssClasses:["align_leftData"],icon:"fa-comment-alt"},{value:"getFolders",label:this.lang.getFolders,sample:this.lang.getFoldersSample,cssClasses:["align_leftData"],icon:"fa-folder"}],this.availableDataClone=[],this.displayedSecondaryData=[],this.displayedSecondaryDataClone=[],this.displayMode="label",this.dataControl=new sy,this.listEvent=[{id:"detailDoc",value:"documentDetails"},{id:"eventVisaMail",value:"signatureBookAction"},{id:"eventProcessDoc",value:"processDocument"},{id:"eventViewDoc",value:"viewDoc"}],this.selectedListEvent=null,this.selectedListEventClone=null,this.processTool=[{id:"dashboard",icon:"fas fa-columns",label:this.lang.newsFeed},{id:"history",icon:"fas fa-history",label:this.lang.history},{id:"notes",icon:"fas fa-pen-square",label:this.lang.notesAlt},{id:"attachments",icon:"fas fa-paperclip",label:this.lang.attachments},{id:"linkedResources",icon:"fas fa-link",label:this.lang.links},{id:"diffusionList",icon:"fas fa-share-alt",label:this.lang.diffusionList},{id:"emails",icon:"fas fa-envelope",label:this.lang.mailsSentAlt},{id:"visaCircuit",icon:"fas fa-list-ol",label:this.lang.visaWorkflow},{id:"opinionCircuit",icon:"fas fa-comment-alt",label:this.lang.avis},{id:"info",icon:"fas fa-info-circle",label:this.lang.informations}],this.selectedProcessTool={defaultTab:null,canUpdate:!1,canUpdateModel:!1,canUpdateDocument:!1},this.selectedProcessToolClone=null,this.refreshBasketGroup=new la}return n.prototype.ngOnInit=function(){var n=this;this.filteredDataOptions=this.dataControl.valueChanges.pipe(Pc(""),q((function(l){return n._filterData(l)}))),this.availableDataClone=JSON.parse(JSON.stringify(this.availableData)),this.displayedSecondaryData=[];var l=0;this.basketGroup.list_display.forEach((function(e){-1!==(l=n.availableData.map((function(n){return n.value})).indexOf(e.value))&&(n.availableData[l].cssClasses=e.cssClasses,n.displayedSecondaryData.push(n.availableData[l]),n.availableData.splice(l,1))})),this.selectedListEvent=this.basketGroup.list_event,this.selectedListEventClone=this.selectedListEvent,"processDocument"===this.basketGroup.list_event?(this.selectedProcessTool.defaultTab=null===this.basketGroup.list_event_data?"dashboard":this.basketGroup.list_event_data.defaultTab,this.selectedProcessTool.canUpdate=null!==this.basketGroup.list_event_data&&this.basketGroup.list_event_data.canUpdate,this.selectedProcessTool.canUpdateModel=null!==this.basketGroup.list_event_data&&this.basketGroup.list_event_data.canUpdateModel):"signatureBookAction"===this.basketGroup.list_event&&(this.selectedProcessTool.canUpdateDocument=null!==this.basketGroup.list_event_data&&this.basketGroup.list_event_data.canUpdateDocument),this.selectedProcessToolClone=JSON.parse(JSON.stringify(this.selectedProcessTool)),this.displayedSecondaryDataClone=JSON.parse(JSON.stringify(this.displayedSecondaryData))},n.prototype.toggleData=function(){this.dataControl.disabled?this.dataControl.enable():this.dataControl.disable(),this.displayMode="label"===this.displayMode?"sample":"label"},n.prototype.setStyle=function(n,l){var e=l.split("_");2===e.length&&n.cssClasses.forEach((function(t,i){t.includes(e[0])&&t!==l&&n.cssClasses.splice(i,1)}));var t=n.cssClasses.indexOf(l);-1===t?n.cssClasses.push(l):n.cssClasses.splice(t,1)},n.prototype.addData=function(n){if(this.displayedSecondaryData.filter((function(n){return"getFolders"!==n.value})).length>=7&&"getFolders"!==n.option.value.value)this.dataControl.setValue(""),alert(this.lang.warnMaxDataList);else{var l=this.availableData.map((function(n){return n.value})).indexOf(n.option.value.value);this.displayedSecondaryData.push(n.option.value),this.availableData.splice(l,1),$j("#availableData").blur(),this.dataControl.setValue("")}},n.prototype.removeData=function(n,l){this.availableData.push(n),this.displayedSecondaryData.splice(l,1),this.dataControl.setValue("")},n.prototype.removeAllData=function(){this.availableData=this.availableData.concat(this.displayedSecondaryData),this.displayedSecondaryData=[],this.dataControl.setValue("")},n.prototype.drop=function(n){n.previousContainer===n.container&&_U(n.container.data,n.previousIndex,n.currentIndex)},n.prototype.saveTemplate=function(){var n=this,l=[];this.displayedSecondaryData.forEach((function(n){l.push({value:n.value,cssClasses:n.cssClasses,icon:n.icon})})),this.http.put("../../rest/baskets/"+this.basketGroup.basket_id+"/groups/"+this.basketGroup.group_id,{list_display:l,list_event:this.selectedListEvent,list_event_data:this.selectedProcessTool}).subscribe((function(){n.displayedSecondaryDataClone=JSON.parse(JSON.stringify(n.displayedSecondaryData)),n.basketGroup.list_display=l,n.basketGroup.list_event=n.selectedListEvent,n.selectedListEventClone=n.selectedListEvent,n.basketGroup.list_event_data=n.selectedProcessTool,n.selectedProcessToolClone=JSON.parse(JSON.stringify(n.selectedProcessTool)),n.notify.success(n.lang.modificationsProcessed),n.refreshBasketGroup.emit(n.basketGroup)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype._filterData=function(n){var l="";return"string"==typeof n?l=n.toLowerCase():null!==n&&(l=n.label.toLowerCase()),this.availableData.filter((function(n){return n.label.toLowerCase().includes(l)}))},n.prototype.checkModif=function(){return JSON.stringify(this.displayedSecondaryData)===JSON.stringify(this.displayedSecondaryDataClone)&&this.selectedListEvent===this.selectedListEventClone&&JSON.stringify(this.selectedProcessTool)===JSON.stringify(this.selectedProcessToolClone)},n.prototype.cancelModification=function(){var n=this;this.displayedSecondaryData=JSON.parse(JSON.stringify(this.displayedSecondaryDataClone)),this.selectedListEvent=this.selectedListEventClone,this.selectedProcessTool=JSON.parse(JSON.stringify(this.selectedProcessToolClone)),this.availableData=JSON.parse(JSON.stringify(this.availableDataClone));var l=0;this.displayedSecondaryData.forEach((function(e){l=n.availableData.map((function(n){return n.value})).indexOf(e.value),n.availableData.splice(l,1)})),this.dataControl.setValue("")},n.prototype.hasFolder=function(){return this.displayedSecondaryData.map((function(n){return n.value})).indexOf("getFolders")>-1},n.prototype.changeEventList=function(n){this.selectedProcessTool="processDocument"===n.value?{defaultTab:"dashboard"}:{}},n.prototype.toggleCanUpdate=function(n){n||(this.selectedProcessTool.canUpdateModel=n)},n}(),v$=yt({encapsulation:0,styles:[[".availableData[_ngcontent-%COMP%]{margin:10px;display:-webkit-box;display:flex}.secondaryInformations[_ngcontent-%COMP%]{border:1px solid #f9983066;font-size:10px;height:30px;color:#666}.secondaryInformations_icon[_ngcontent-%COMP%]{height:auto}.secondaryInformations_label[_ngcontent-%COMP%]{width:100%}.resultRow[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;padding:5px}.resultRow-mobile[_ngcontent-%COMP%]{font-size:80%}.resultCol[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.resultCol-mobile[_ngcontent-%COMP%]{overflow:inherit;text-overflow:inherit;word-break:break-all}.resultCol_chrono[_ngcontent-%COMP%]{color:rgba(0,0,0,.4);font-size:90%}.actions[_ngcontent-%COMP%]{text-align:right;box-shadow:none;border:none;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;overflow:inherit}.elemToDrag[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;border:1px dashed;padding:10px;height:10px;line-height:0;cursor:move;margin-right:5px;margin-left:5px}.columns[_ngcontent-%COMP%]{width:100%;height:90px;padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;box-sizing:border-box;background:#fff;font-size:14px}.mat-badge-content[_ngcontent-%COMP%]{background:#f99830}.example-list[_ngcontent-%COMP%]{max-width:100%;height:30px;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;border-radius:4px;overflow:hidden;border:1px solid #f9983066;font-size:10px;background:#f5f5f5}.example-box[_ngcontent-%COMP%]{padding:20px 10px;color:#666;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;box-sizing:border-box;cursor:move;background:#f5f5f5;-webkit-box-flex:1;flex-grow:1;flex-basis:0}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.example-box[_ngcontent-%COMP%]:last-child{border:none}.example-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .example-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.editorTool[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:44px;font-size:10px;margin-bottom:30px}.editorTool[_ngcontent-%COMP%] .area[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.editorTool[_ngcontent-%COMP%] .area[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}.editorTool[_ngcontent-%COMP%] .separator[_ngcontent-%COMP%]{border-left:1px solid #666;height:70%;margin-left:10px;margin-right:10px}.editorTool[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{height:35px}.editorTool[_ngcontent-%COMP%] .mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{background:inherit}.editorTool[_ngcontent-%COMP%] .mat-form-field-outline{background:#fff}.optionContent[_ngcontent-%COMP%]{display:-webkit-box!important;display:flex!important}.optionContent[_ngcontent-%COMP%] .dataIcon[_ngcontent-%COMP%]{width:30px}.optionContent[_ngcontent-%COMP%] .dataIcon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:14px}.optionContent[_ngcontent-%COMP%] .dataLabel[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.isSelectedMenu[_ngcontent-%COMP%]{background:rgba(249,152,48,.14)}.align_leftData[_ngcontent-%COMP%]{text-align:left}.align_centerData[_ngcontent-%COMP%]{text-align:center}.align_rightData[_ngcontent-%COMP%]{text-align:right}.boldFontData[_ngcontent-%COMP%]{font-weight:700}.bigFontData[_ngcontent-%COMP%]{font-size:14px}.smallFontData[_ngcontent-%COMP%]{font-size:10px}.normalData[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.longData[_ngcontent-%COMP%]{-webkit-box-flex:3;flex:3}.eventList[_ngcontent-%COMP%]{padding-top:10px}.badge-folder[_ngcontent-%COMP%]{cursor:default;background:#135f7f;margin:5px;font-size:8px;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;margin-bottom:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}"]],data:{}});function _$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[10,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang[l.context.$implicit.id])}))}function y$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[22,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function w$(n){return jo(0,[(n()(),_o(0,0,null,null,45,"div",[["class","formType ratio-2 col-sm-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),(n()(),_o(3,0,null,null,26,"mat-form-field",[["appearance","outline"],["class","eventList mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(4,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(14,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(15,16384,[[15,4],[16,4]],0,iT,[],null,null),(n()(),Lo(16,null,["",""])),(n()(),_o(17,0,null,1,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,22)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,22)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,22)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedProcessTool.defaultTab=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(19,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,null),ko(603979776,22,{options:1}),ko(603979776,23,{optionGroups:1}),ko(603979776,24,{customTrigger:0}),Ei(2048,[[13,4],[14,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,2,null,y$)),Di(28,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(29,2),(n()(),_o(30,0,null,null,7,"div",[["style","padding: 10px;"]],null,null,null,null,null)),(n()(),_o(31,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,32)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedProcessTool.canUpdate=e)&&t),"change"===l&&(t=!1!==i.toggleCanUpdate(e.checked)&&t),t}),mV,pV)),Di(32,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(34,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(36,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(37,0,["",""])),(n()(),_o(38,0,null,null,7,"div",[["style","padding: 10px;"]],null,null,null,null,null)),(n()(),_o(39,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,40)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedProcessTool.canUpdateModel=e)&&t),t}),mV,pV)),Di(40,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{disabled:[0,"disabled"],color:[1,"color"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(42,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(44,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(45,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0,"outline"),n(l,19,0,e.selectedProcessTool.defaultTab),n(l,22,0);var t=bt(l,28,0,n(l,29,0,bi(l.parent,0),e.processTool,"label"));n(l,28,0,t),n(l,32,0,"primary"),n(l,34,0,e.selectedProcessTool.canUpdate),n(l,40,0,!e.selectedProcessTool.canUpdate,"primary"),n(l,42,0,!e.selectedProcessTool.canUpdate,e.selectedProcessTool.canUpdateModel)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.options),n(l,3,1,["standard"==bi(l,4).appearance,"fill"==bi(l,4).appearance,"outline"==bi(l,4).appearance,"legacy"==bi(l,4).appearance,bi(l,4)._control.errorState,bi(l,4)._canLabelFloat,bi(l,4)._shouldLabelFloat(),bi(l,4)._hasFloatingLabel(),bi(l,4)._hideControlPlaceholder(),bi(l,4)._control.disabled,bi(l,4)._control.autofilled,bi(l,4)._control.focused,"accent"==bi(l,4).color,"warn"==bi(l,4).color,bi(l,4)._shouldForward("untouched"),bi(l,4)._shouldForward("touched"),bi(l,4)._shouldForward("pristine"),bi(l,4)._shouldForward("dirty"),bi(l,4)._shouldForward("valid"),bi(l,4)._shouldForward("invalid"),bi(l,4)._shouldForward("pending"),!bi(l,4)._animationsEnabled]),n(l,16,0,e.lang.tabProcessPosition),n(l,17,1,[bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22).id,bi(l,22).tabIndex,bi(l,22)._getAriaLabel(),bi(l,22)._getAriaLabelledby(),bi(l,22).required.toString(),bi(l,22).disabled.toString(),bi(l,22).errorState,bi(l,22).panelOpen?bi(l,22)._optionIds:null,bi(l,22).multiple,bi(l,22)._ariaDescribedby||null,bi(l,22)._getAriaActiveDescendant(),bi(l,22).disabled,bi(l,22).errorState,bi(l,22).required,bi(l,22).empty]),n(l,31,1,[bi(l,32).id,bi(l,32).disabled?null:-1,bi(l,32).checked,bi(l,32).disabled,"before"==bi(l,32).labelPosition,"NoopAnimations"===bi(l,32)._animationMode,bi(l,36).ngClassUntouched,bi(l,36).ngClassTouched,bi(l,36).ngClassPristine,bi(l,36).ngClassDirty,bi(l,36).ngClassValid,bi(l,36).ngClassInvalid,bi(l,36).ngClassPending]),n(l,37,0,e.lang.canUpdateData),n(l,39,1,[bi(l,40).id,bi(l,40).disabled?null:-1,bi(l,40).checked,bi(l,40).disabled,"before"==bi(l,40).labelPosition,"NoopAnimations"===bi(l,40)._animationMode,bi(l,44).ngClassUntouched,bi(l,44).ngClassTouched,bi(l,44).ngClassPristine,bi(l,44).ngClassDirty,bi(l,44).ngClassValid,bi(l,44).ngClassInvalid,bi(l,44).ngClassPending]),n(l,45,0,e.lang.canUpdateIndexingModel)}))}function x$(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","formType ratio-2 col-sm-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),(n()(),_o(3,0,null,null,7,"div",[["style","padding: 10px;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,5)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedProcessTool.canUpdateDocument=e)&&t),t}),mV,pV)),Di(5,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(7,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(9,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(10,0,["",""]))],(function(n,l){var e=l.component;n(l,5,0,"primary"),n(l,7,0,e.selectedProcessTool.canUpdateDocument)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.options),n(l,4,1,[bi(l,5).id,bi(l,5).disabled?null:-1,bi(l,5).checked,bi(l,5).disabled,"before"==bi(l,5).labelPosition,"NoopAnimations"===bi(l,5)._animationMode,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending]),n(l,10,0,e.lang.canUpdateResourcesInSignatureBook)}))}function C$(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleData()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-eye"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0,"fas","fa-eye")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.preview,""),bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function k$(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleData()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-edit"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0,"fas","fa-edit")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.edition,""),bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function S$(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-option",[["class","dataList mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[35,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,4,"span",[["class","optionContent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["class","dataIcon"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"i",[["color","primary"]],[[8,"className",0]],null,null,null,null)),(n()(),_o(5,0,null,null,1,"span",[["class","dataLabel"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,4,0,Wt(1,"fa ",l.context.$implicit.icon," fa-2x")),n(l,6,0,l.context.$implicit.label)}))}function I$(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-ellipsis-v fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"primary"),n(l,2,0,bi(l.parent,9)),n(l,4,0,"fas","fa-ellipsis-v fa-2x")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function A$(n){return jo(0,[(n()(),_o(0,16777216,null,null,56,"span",[["cdkDrag",""],["class","example-box cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Ei(6144,null,VU,null,[$U]),Di(2,4866048,[[38,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,39,{_handles:1}),ko(603979776,40,{_previewTemplate:0}),ko(603979776,41,{_placeholderTemplate:0}),(n()(),vo(16777216,null,null,1,null,I$)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,null,44,"mat-menu",[],null,null,null,XT,ZT)),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,42,{_allItems:1}),ko(603979776,43,{items:1}),ko(603979776,44,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(15,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,16)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,16)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.removeData(n.parent.context.$implicit,n.parent.context.index)&&t),t}),lL,nL)),Di(16,180224,[[42,4],[43,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(17,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["color","warn"],["fontIcon","fa-trash fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(18,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),(n()(),_o(19,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(20,null,["",""])),(n()(),_o(21,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(22,49152,null,0,mI,[],null,null),(n()(),_o(23,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[2,"isSelectedMenu",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,24)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,24)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setStyle(n.parent.context.$implicit,"boldFontData")&&t),t}),lL,nL)),Di(24,180224,[[42,4],[43,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(25,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["fontIcon","fa-bold fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(26,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(27,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(28,null,["",""])),(n()(),_o(29,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[2,"isSelectedMenu",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,30)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,30)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setStyle(n.parent.context.$implicit,"align_leftData")&&t),t}),lL,nL)),Di(30,180224,[[42,4],[43,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(31,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["fontIcon","fa-align-left fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(32,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(33,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(34,null,["",""])),(n()(),_o(35,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[2,"isSelectedMenu",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,36)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,36)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setStyle(n.parent.context.$implicit,"align_centerData")&&t),t}),lL,nL)),Di(36,180224,[[42,4],[43,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(37,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["fontIcon","fa-align-center fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(38,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(39,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(40,null,["",""])),(n()(),_o(41,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[2,"isSelectedMenu",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,42)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,42)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setStyle(n.parent.context.$implicit,"align_rightData")&&t),t}),lL,nL)),Di(42,180224,[[42,4],[43,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(43,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["fontIcon","fa-align-right fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(44,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(45,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(46,null,["",""])),(n()(),_o(47,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[2,"isSelectedMenu",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,48)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,48)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setStyle(n.parent.context.$implicit,"bigFontData")&&t),t}),lL,nL)),Di(48,180224,[[42,4],[43,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(49,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["fontIcon","fa-text-height fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(50,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(51,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(52,null,["",""])),(n()(),_o(53,0,null,null,3,"span",[["style","width:100%;"]],[[8,"className",0]],null,null,null,null)),(n()(),_o(54,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(56,0,null,null,0,"span",[["class","secondaryInformations_label"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){n(l,7,0,"label"==l.component.displayMode),n(l,9,0),n(l,18,0,"warn","fas","fa-trash fa-2x"),n(l,26,0,"fas","fa-bold fa-2x"),n(l,32,0,"fas","fa-align-left fa-2x"),n(l,38,0,"fas","fa-align-center fa-2x"),n(l,44,0,"fas","fa-align-right fa-2x"),n(l,50,0,"fas","fa-text-height fa-2x")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).disabled,bi(l,2)._dragRef.isDragging()),n(l,15,0,bi(l,16).role,bi(l,16)._highlighted,bi(l,16)._triggersSubmenu,bi(l,16)._getTabIndex(),bi(l,16).disabled.toString(),bi(l,16).disabled||null),n(l,17,0,bi(l,18).inline,"primary"!==bi(l,18).color&&"accent"!==bi(l,18).color&&"warn"!==bi(l,18).color),n(l,20,0,e.lang.delete),n(l,21,0,bi(l,22).vertical?"vertical":"horizontal",bi(l,22).vertical,!bi(l,22).vertical,bi(l,22).inset);var t=l.parent.context.$implicit.cssClasses.indexOf("boldFontData")>-1;n(l,23,0,t,bi(l,24).role,bi(l,24)._highlighted,bi(l,24)._triggersSubmenu,bi(l,24)._getTabIndex(),bi(l,24).disabled.toString(),bi(l,24).disabled||null),n(l,25,0,bi(l,26).inline,"primary"!==bi(l,26).color&&"accent"!==bi(l,26).color&&"warn"!==bi(l,26).color),n(l,28,0,e.lang.fontBold);var i=l.parent.context.$implicit.cssClasses.indexOf("align_leftData")>-1;n(l,29,0,i,bi(l,30).role,bi(l,30)._highlighted,bi(l,30)._triggersSubmenu,bi(l,30)._getTabIndex(),bi(l,30).disabled.toString(),bi(l,30).disabled||null),n(l,31,0,bi(l,32).inline,"primary"!==bi(l,32).color&&"accent"!==bi(l,32).color&&"warn"!==bi(l,32).color),n(l,34,0,e.lang.alignLeft);var a=l.parent.context.$implicit.cssClasses.indexOf("align_centerData")>-1;n(l,35,0,a,bi(l,36).role,bi(l,36)._highlighted,bi(l,36)._triggersSubmenu,bi(l,36)._getTabIndex(),bi(l,36).disabled.toString(),bi(l,36).disabled||null),n(l,37,0,bi(l,38).inline,"primary"!==bi(l,38).color&&"accent"!==bi(l,38).color&&"warn"!==bi(l,38).color),n(l,40,0,e.lang.alignCenter);var o=l.parent.context.$implicit.cssClasses.indexOf("align_rightData")>-1;n(l,41,0,o,bi(l,42).role,bi(l,42)._highlighted,bi(l,42)._triggersSubmenu,bi(l,42)._getTabIndex(),bi(l,42).disabled.toString(),bi(l,42).disabled||null),n(l,43,0,bi(l,44).inline,"primary"!==bi(l,44).color&&"accent"!==bi(l,44).color&&"warn"!==bi(l,44).color),n(l,46,0,e.lang.alignRight);var r=l.parent.context.$implicit.cssClasses.indexOf("bigFontData")>-1;n(l,47,0,r,bi(l,48).role,bi(l,48)._highlighted,bi(l,48)._triggersSubmenu,bi(l,48)._getTabIndex(),bi(l,48).disabled.toString(),bi(l,48).disabled||null),n(l,49,0,bi(l,50).inline,"primary"!==bi(l,50).color&&"accent"!==bi(l,50).color&&"warn"!==bi(l,50).color),n(l,52,0,e.lang.fontBig);var u=l.parent.context.$implicit.cssClasses.join(" ");n(l,53,0,u),n(l,54,0,Wt(1,"fa ",l.parent.context.$implicit.icon,"")),n(l,56,0,l.parent.context.$implicit[e.displayMode])}))}function M$(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,A$)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"getFolders"!=l.context.$implicit.value)}),null)}function P$(n){return jo(0,[(n()(),_o(0,0,null,null,9,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"mat-toolbar",[["cdkDropList",""],["cdkDropListOrientation","horizontal"],["class","secondaryInformations example-list mat-toolbar cdk-drop-list"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),g$,h$)),Ei(6144,null,jU,null,[KU]),Di(3,4243456,null,1,m$,[Pe,sh,qs],null,null),ko(603979776,37,{_toolbarRows:1}),Di(5,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{data:[0,"data"],orientation:[1,"orientation"]},{dropped:"cdkDropListDropped"}),ko(603979776,38,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,0,1,null,M$)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,e.displayedSecondaryData,"horizontal"),n(l,9,0,e.displayedSecondaryData)}),(function(n,l){n(l,1,0,bi(l,3)._toolbarRows.length>0,0===bi(l,3)._toolbarRows.length,bi(l,5).id,bi(l,5).disabled,bi(l,5)._dropListRef.isDragging(),bi(l,5)._dropListRef.isReceiving())}))}function D$(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fm fm-letter fm-2x mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function F$(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fm fm-letter-status-inprogress fm-2x mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,1,0,"warn")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function E$(n){return jo(0,[(n()(),_o(0,0,null,null,7,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,D$)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,F$)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(6,0,null,null,1,"span",[["class","resultCol_chrono"]],null,null,null,null,null)),(n()(),Lo(7,null,["",""]))],(function(n,l){var e=l.component;n(l,2,0,"label"==e.displayMode),n(l,4,0,"sample"==e.displayMode)}),(function(n,l){n(l,7,0,l.parent.context.$implicit[l.component.displayMode])}))}function O$(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit[l.component.displayMode])}))}function T$(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[["class","resultCol"]],[[8,"className",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,E$)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,O$)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,0==l.context.index),n(l,4,0,1==l.context.index)}),(function(n,l){var e=l.context.$implicit.cssClasses.join(" ");n(l,0,0,e)}))}function L$(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-ellipsis-v fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"primary"),n(l,2,0,bi(l.parent,4)),n(l,4,0,"fas","fa-ellipsis-v fa-2x")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function R$(n){return jo(0,[(n()(),_o(0,0,null,null,18,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,L$)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,12,"mat-menu",[],null,null,null,XT,ZT)),Di(4,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,46,{_allItems:1}),ko(603979776,47,{items:1}),ko(603979776,48,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(10,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,11)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,11)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.removeData(n.parent.context.$implicit,n.parent.context.index)&&t),t}),lL,nL)),Di(11,180224,[[46,4],[47,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(12,0,null,0,1,"mat-icon",[["class","secondaryInformations_icon mat-icon notranslate"],["color","warn"],["fontIcon","fa-trash fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),(n()(),_o(14,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(15,null,["",""])),(n()(),_o(16,0,null,null,2,"span",[["class","badge badge-folder"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,0,"i",[["class","fa fa-folder"]],null,null,null,null,null)),(n()(),Lo(18,null,[" ",""]))],(function(n,l){n(l,2,0,"label"==l.component.displayMode),n(l,4,0),n(l,13,0,"warn","fas","fa-trash fa-2x")}),(function(n,l){var e=l.component;n(l,10,0,bi(l,11).role,bi(l,11)._highlighted,bi(l,11)._triggersSubmenu,bi(l,11)._getTabIndex(),bi(l,11).disabled.toString(),bi(l,11).disabled||null),n(l,12,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,15,0,e.lang.delete),n(l,18,0,l.parent.context.$implicit[e.displayMode])}))}function N$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","folder-info"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,R$)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"getFolders"==l.context.$implicit.value)}),null)}function j$(n){return jo(0,[Fi(0,HS,[QS,$S]),(n()(),_o(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","eventList mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(13,16384,[[3,4],[4,4]],0,iT,[],null,null),(n()(),Lo(14,null,["",""])),(n()(),_o(15,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,20)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,20)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,20)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedListEvent=e)&&t),"selectionChange"===l&&(t=!1!==i.changeEventList(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(17,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,10,{options:1}),ko(603979776,11,{optionGroups:1}),ko(603979776,12,{customTrigger:0}),Ei(2048,[[1,4],[2,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,_$)),Di(26,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,w$)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,x$)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(31,0,null,null,0,"hr",[],null,null,null,null,null)),(n()(),_o(32,0,null,null,45,"mat-toolbar",[["class","editorTool mat-toolbar"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,g$,h$)),Di(33,4243456,null,1,m$,[Pe,sh,qs],null,null),ko(603979776,25,{_toolbarRows:1}),(n()(),_o(35,0,null,0,4,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,C$)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,k$)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(40,0,null,0,33,"span",[["class","area"]],null,null,null,null,null)),(n()(),_o(41,0,null,null,32,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,43).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,43).onReset()&&t),t}),null,null)),Di(42,16384,null,0,yy,[],null,null),Di(43,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(45,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(46,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(47,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,26,{_controlNonStatic:0}),ko(335544320,27,{_controlStatic:0}),ko(603979776,28,{_labelChildNonStatic:0}),ko(335544320,29,{_labelChildStatic:0}),ko(603979776,30,{_placeholderChild:0}),ko(603979776,31,{_errorChildren:1}),ko(603979776,32,{_hintChildren:1}),ko(603979776,33,{_prefixChildren:1}),ko(603979776,34,{_suffixChildren:1}),(n()(),_o(57,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["id","availableData"],["matInput",""],["name","availableData"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,58)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,58).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,58)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,58)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,59)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,59)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,59)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,59)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,64)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,64)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,64)._onInput()&&t),t}),null,null)),Di(58,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(59,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(61,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(63,16384,null,0,y_,[[4,v_]],null,null),Di(64,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[26,4],[27,4]],nT,null,[OT]),(n()(),_o(66,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.addData(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(68,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,35,{options:1}),ko(603979776,36,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,S$)),Di(72,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),_o(74,0,null,0,3,"span",[],null,null,null,null,null)),(n()(),_o(75,0,null,null,2,"button",[["color","warn"],["mat-button",""],["style","float:right;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeAllData()&&t),t}),PC,MC)),Di(76,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(77,0,[" "," "])),(n()(),_o(78,0,null,null,31,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(79,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,P$)),Di(81,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(82,0,null,0,25,"div",[["class","resultRow newRow"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,T$)),Di(84,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(85,0,null,null,22,"mat-button-toggle-group",[["class","actions mat-button-toggle-group"],["multiple",""],["role","group"]],[[1,"aria-disabled",0],[2,"mat-button-toggle-vertical",null],[2,"mat-button-toggle-group-appearance-standard",null]],null,null,null,null)),Ei(5120,null,d_,(function(n){return[n]}),[kR]),Ei(6144,null,wR,null,[kR]),Di(88,1130496,null,1,kR,[Nl,[2,yR]],{multiple:[0,"multiple"]},null),ko(603979776,45,{_buttonToggles:1}),(n()(),_o(90,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(91,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(92,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-comments fa-2x"],["fontSet","fas"],["matBadge","2"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(93,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),Di(94,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(95,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(96,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(97,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-paperclip fa-2x"],["fontSet","fas"],["matBadge","7"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(98,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),Di(99,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(100,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(101,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(102,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-sitemap fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(103,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(104,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(105,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(106,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-info-circle fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(107,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),vo(16777216,null,0,1,null,N$)),Di(109,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(110,0,null,null,7,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(111,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","margin-top:30px;"]],null,null,null,null,null)),(n()(),_o(112,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveTemplate()&&t),t}),PC,MC)),Di(113,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(114,0,[" "," "])),(n()(),_o(115,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelModification()&&t),t}),PC,MC)),Di(116,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(117,0,[" "," "]))],(function(n,l){var e=l.component;n(l,2,0,"outline"),n(l,17,0,e.selectedListEvent),n(l,20,0),n(l,26,0,e.listEvent),n(l,28,0,"processDocument"===e.selectedListEvent),n(l,30,0,"signatureBookAction"===e.selectedListEvent),n(l,37,0,"label"==e.displayMode),n(l,39,0,"sample"==e.displayMode),n(l,47,0,"outline","never"),n(l,59,0,bi(l,68)),n(l,61,0,e.dataControl),n(l,64,0,"availableData",Wt(1,"",e.lang.availableDatas,""),"text"),n(l,72,0,bt(l,72,0,bi(l,73).transform(e.filteredDataOptions))),n(l,76,0,"sample"==e.displayMode,"warn"),n(l,81,0,e.displayedSecondaryData.length>0&&"sample"==e.displayMode||"label"==e.displayMode),n(l,84,0,e.displayedMainData),n(l,88,0,""),n(l,91,0,"label"==e.displayMode,"primary"),n(l,93,0,"fas","fa-comments fa-2x"),n(l,94,0,"2","label"==e.displayMode),n(l,96,0,"label"==e.displayMode,"primary"),n(l,98,0,"fas","fa-paperclip fa-2x"),n(l,99,0,"7","label"==e.displayMode),n(l,101,0,"label"==e.displayMode,"primary"),n(l,103,0,"fas","fa-sitemap fa-2x"),n(l,105,0,"label"==e.displayMode,"primary"),n(l,107,0,"fas","fa-info-circle fa-2x"),n(l,109,0,e.displayedSecondaryData),n(l,113,0,e.checkModif(),"primary"),n(l,116,0,e.checkModif(),"default")}),(function(n,l){var e=l.component;n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,0,e.lang.eventList),n(l,15,1,[bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20).id,bi(l,20).tabIndex,bi(l,20)._getAriaLabel(),bi(l,20)._getAriaLabelledby(),bi(l,20).required.toString(),bi(l,20).disabled.toString(),bi(l,20).errorState,bi(l,20).panelOpen?bi(l,20)._optionIds:null,bi(l,20).multiple,bi(l,20)._ariaDescribedby||null,bi(l,20)._getAriaActiveDescendant(),bi(l,20).disabled,bi(l,20).errorState,bi(l,20).required,bi(l,20).empty]),n(l,32,0,bi(l,33)._toolbarRows.length>0,0===bi(l,33)._toolbarRows.length),n(l,41,0,bi(l,45).ngClassUntouched,bi(l,45).ngClassTouched,bi(l,45).ngClassPristine,bi(l,45).ngClassDirty,bi(l,45).ngClassValid,bi(l,45).ngClassInvalid,bi(l,45).ngClassPending),n(l,46,1,["standard"==bi(l,47).appearance,"fill"==bi(l,47).appearance,"outline"==bi(l,47).appearance,"legacy"==bi(l,47).appearance,bi(l,47)._control.errorState,bi(l,47)._canLabelFloat,bi(l,47)._shouldLabelFloat(),bi(l,47)._hasFloatingLabel(),bi(l,47)._hideControlPlaceholder(),bi(l,47)._control.disabled,bi(l,47)._control.autofilled,bi(l,47)._control.focused,"accent"==bi(l,47).color,"warn"==bi(l,47).color,bi(l,47)._shouldForward("untouched"),bi(l,47)._shouldForward("touched"),bi(l,47)._shouldForward("pristine"),bi(l,47)._shouldForward("dirty"),bi(l,47)._shouldForward("valid"),bi(l,47)._shouldForward("invalid"),bi(l,47)._shouldForward("pending"),!bi(l,47)._animationsEnabled]),n(l,57,1,[bi(l,59).autocompleteAttribute,bi(l,59).autocompleteDisabled?null:"combobox",bi(l,59).autocompleteDisabled?null:"list",bi(l,59).panelOpen&&bi(l,59).activeOption?bi(l,59).activeOption.id:null,bi(l,59).autocompleteDisabled?null:bi(l,59).panelOpen.toString(),bi(l,59).autocompleteDisabled||!bi(l,59).panelOpen?null:null==bi(l,59).autocomplete?null:bi(l,59).autocomplete.id,!bi(l,59).autocompleteDisabled,bi(l,63).ngClassUntouched,bi(l,63).ngClassTouched,bi(l,63).ngClassPristine,bi(l,63).ngClassDirty,bi(l,63).ngClassValid,bi(l,63).ngClassInvalid,bi(l,63).ngClassPending,bi(l,64)._isServer,bi(l,64).id,bi(l,64).placeholder,bi(l,64).disabled,bi(l,64).required,bi(l,64).readonly&&!bi(l,64)._isNativeSelect||null,bi(l,64)._ariaDescribedby||null,bi(l,64).errorState,bi(l,64).required.toString()]),n(l,75,0,bi(l,76).disabled||null,"NoopAnimations"===bi(l,76)._animationMode),n(l,77,0,e.lang.eraseAll),n(l,78,0,"NoopAnimations"===bi(l,79)._animationMode),n(l,85,0,bi(l,88).disabled,bi(l,88).vertical,"standard"===bi(l,88).appearance),n(l,90,0,Wt(1,"",e.lang.notes,""),bi(l,91).disabled||null,"NoopAnimations"===bi(l,91)._animationMode),n(l,92,1,[bi(l,93).inline,"primary"!==bi(l,93).color&&"accent"!==bi(l,93).color&&"warn"!==bi(l,93).color,bi(l,94).overlap,bi(l,94).isAbove(),!bi(l,94).isAbove(),!bi(l,94).isAfter(),bi(l,94).isAfter(),"small"===bi(l,94).size,"medium"===bi(l,94).size,"large"===bi(l,94).size,bi(l,94).hidden||!bi(l,94)._hasContent,bi(l,94).disabled]),n(l,95,0,Wt(1,"",e.lang.attachments,""),bi(l,96).disabled||null,"NoopAnimations"===bi(l,96)._animationMode),n(l,97,1,[bi(l,98).inline,"primary"!==bi(l,98).color&&"accent"!==bi(l,98).color&&"warn"!==bi(l,98).color,bi(l,99).overlap,bi(l,99).isAbove(),!bi(l,99).isAbove(),!bi(l,99).isAfter(),bi(l,99).isAfter(),"small"===bi(l,99).size,"medium"===bi(l,99).size,"large"===bi(l,99).size,bi(l,99).hidden||!bi(l,99)._hasContent,bi(l,99).disabled]),n(l,100,0,Wt(1,"",e.lang.diffusionList,""),bi(l,101).disabled||null,"NoopAnimations"===bi(l,101)._animationMode),n(l,102,0,bi(l,103).inline,"primary"!==bi(l,103).color&&"accent"!==bi(l,103).color&&"warn"!==bi(l,103).color),n(l,104,0,Wt(1,"",e.lang.linkDetails,""),bi(l,105).disabled||null,"NoopAnimations"===bi(l,105)._animationMode),n(l,106,0,bi(l,107).inline,"primary"!==bi(l,107).color&&"accent"!==bi(l,107).color&&"warn"!==bi(l,107).color),n(l,112,0,bi(l,113).disabled||null,"NoopAnimations"===bi(l,113)._animationMode),n(l,114,0,e.lang.validate),n(l,115,0,bi(l,116).disabled||null,"NoopAnimations"===bi(l,116)._animationMode),n(l,117,0,e.lang.cancel)}))}var V$=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.route=l,this.router=e,this.notify=t,this.dialog=i,this.headerService=a,this.appService=o,this.viewContainerRef=r,this.selectedIndex=0,this.lang=Kr,this.loading=!1,this.config={},this.basket={},this.basketClone={},this.basketGroups=[],this.allGroups=[],this.actionsList=[],this.list_display=[],this.displayedColumns=["label_action","actions"],this.orderColumns=["alt_identifier","creation_date","process_limit_date","res_id","priority"],this.orderByColumns=["asc","desc"],this.langVarName=[this.lang.chrono,this.lang.creationDate,this.lang.processLimitDate,this.lang.id,this.lang.priority],this.langOrderName=[this.lang.ascending,this.lang.descending],this.orderColumnsSelected=[{column:"res_id",order:"asc"}],$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n},n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.basketCreation),n.creationMode=!0,n.basketIdAvailable=!1,n.loading=!1):(n.orderColumnsSelected=[],n.creationMode=!1,n.basketIdAvailable=!0,n.id=l.id,n.http.get("../../rest/baskets/"+n.id).subscribe((function(l){if(n.headerService.setHeader(n.lang.basketModification,l.basket.basket_name),n.basket=l.basket,n.basket.id=l.basket.basket_id,n.basket.name=l.basket.basket_name,n.basket.description=l.basket.basket_desc,n.basket.clause=l.basket.basket_clause,n.basket.isSearchBasket="Y"!==l.basket.is_visible,n.basket.flagNotif="Y"===l.basket.flag_notif,""===n.basket.basket_res_order||null==n.basket.basket_res_order)n.orderColumnsSelected=[];else for(var e=n.basket.basket_res_order.split(", "),t=0;t<e.length;t++){var i=e[t].split(" ");i[1]||(i[1]="desc"),n.orderColumnsSelected.push({column:i[0],order:i[1]})}n.basketClone=JSON.parse(JSON.stringify(n.basket)),n.http.get("../../rest/baskets/"+n.id+"/groups").subscribe((function(l){n.allGroups=l.allGroups,n.allGroups.forEach((function(n){n.isUsed=!1,l.groups.forEach((function(l){n.group_id===l.group_id&&(n.isUsed=!0)}))})),l.groups.forEach((function(n){n.groupActions.forEach((function(n){n.used_in_basketlist="Y"===n.used_in_basketlist,n.used_in_action_page="Y"===n.used_in_action_page,n.default_action_list="Y"===n.default_action_list}))})),n.basketGroups=l.groups,n.loading=!1}),(function(l){n.notify.handleErrors(l)}))}),(function(l){n.notify.handleErrors(l)})))}))},n.prototype.openSettings=function(n,l){var e=this;this.config={panelClass:"maarch-modal",data:{group:n,action:l}},this.dialogRef=this.dialog.open(q$,this.config),this.dialogRef.afterClosed().subscribe((function(t){t&&e.http.put("../../rest/baskets/"+e.id+"/groups/"+t.group.group_id+"/actions",{groupActions:t.group.groupActions}).subscribe((function(){e.dialogRef=null,e.notify.success(e.lang.basketUpdated)}),(function(t){e.dialogRef=null,e.openSettings(n,l),e.notify.error(t.error.errors)}))}))},n.prototype.isAvailable=function(){var n=this;this.basket.id?this.http.get("../../rest/baskets/"+this.basket.id).subscribe((function(){n.basketIdAvailable=!1}),(function(l){n.basketIdAvailable=!1,l.error.errors===n.lang.basketNotFound&&(n.basketIdAvailable=!0)})):this.basketIdAvailable=!1},n.prototype.onSubmit=function(){var n=this;if(null!==this.orderColumnsSelected&&this.orderColumnsSelected.length>0){for(var l=[],e=0;e<this.orderColumnsSelected.length;e++)l[e]=this.orderColumnsSelected[e].column+" "+this.orderColumnsSelected[e].order;this.basket.basket_res_order=l.join(", ")}else this.basket.basket_res_order="";this.creationMode?this.http.post("../../rest/baskets",this.basket).subscribe((function(){n.notify.success(n.lang.basketAdded),n.router.navigate(["/administration/baskets/"+n.basket.id])}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/baskets/"+this.id,this.basket).subscribe((function(){n.notify.success(n.lang.basketUpdated),n.router.navigate(["/administration/baskets"])}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.addLine=function(){this.orderColumnsSelected.push(JSON.parse(JSON.stringify(this.orderColumnsSelected[0])))},n.prototype.removeLine=function(n){this.orderColumnsSelected.splice(n,1)},n.prototype.initAction=function(n){this.dataSource=new mR(this.basketGroups[n].groupActions),this.dataSource.sort=this.sort},n.prototype.setDefaultAction=function(n,l){n.groupActions.forEach((function(n){n.default_action_list=n.id===l.id})),this.addAction(n)},n.prototype.unlinkGroup=function(n){var l=this;confirm(this.lang.unlinkGroup+" ?")&&this.http.delete("../../rest/baskets/"+this.id+"/groups/"+this.basketGroups[n].group_id).subscribe((function(){l.allGroups.forEach((function(e){e.group_id===l.basketGroups[n].group_id&&(e.isUsed=!1)})),l.basketGroups.splice(n,1),l.notify.success(l.lang.basketUpdated),l.selectedIndex=0}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.linkGroup=function(){var n=this;this.config={panelClass:"maarch-modal",data:{basketId:this.basket.id,groups:this.allGroups,linkedGroups:this.basketGroups}},this.dialogRef=this.dialog.open(z$,this.config),this.dialogRef.afterClosed().subscribe((function(l){l&&(l.list_display=n.basketGroups.length>0?n.basketGroups[n.basketGroups.length-1].list_display:[],n.http.post("../../rest/baskets/"+n.id+"/groups",l).subscribe((function(){n.basketGroups.push(l),n.allGroups.forEach((function(n){n.group_id===l.group_id&&(n.isUsed=!0)})),n.notify.success(n.lang.basketUpdated),n.selectedIndex=n.basketGroups.length}),(function(l){n.notify.error(l.error.errors)}))),n.dialogRef=null}))},n.prototype.addAction=function(n){var l=this;this.http.put("../../rest/baskets/"+this.id+"/groups/"+n.group_id+"/actions",{groupActions:n.groupActions}).subscribe((function(){l.notify.success(l.lang.actionsGroupBasketUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.toggleIsSearchBasket=function(n){var l=this;n.isSearchBasket=!n.isSearchBasket,this.basketClone.isSearchBasket=n.isSearchBasket,this.http.put("../../rest/baskets/"+this.id,this.basketClone).subscribe((function(){l.notify.success(l.lang.basketUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.toggleFlagNotif=function(n){var l=this;n.flagNotif=!n.flagNotif,this.basketClone.flagNotif=n.flagNotif,this.http.put("../../rest/baskets/"+this.id,this.basketClone).subscribe((function(){l.notify.success(l.lang.basketUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.unlinkAction=function(n,l){var e=this;confirm(this.lang.unlinkAction+" ?")&&(l.checked=!1,this.http.put("../../rest/baskets/"+this.id+"/groups/"+n.group_id+"/actions",{groupActions:n.groupActions}).subscribe((function(){e.notify.success(e.lang.actionsGroupBasketUpdated)}),(function(n){e.notify.error(n.error.errors)})))},n}(),q$=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.data=e,this.dialogRef=t,this.lang=Kr,this.allEntities=[]}return n.prototype.ngOnInit=function(){var n=this;this.http.get("../../rest/entities").subscribe((function(l){[{id:"ALL_ENTITIES",keyword:"ALL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.allEntities},{id:"ENTITIES_JUST_BELOW",keyword:"ENTITIES_JUST_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.immediatelyBelowMyPrimaryEntity},{id:"ENTITIES_BELOW",keyword:"ENTITIES_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.belowAllMyEntities},{id:"ALL_ENTITIES_BELOW",keyword:"ALL_ENTITIES_BELOW",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.belowMyPrimaryEntity},{id:"MY_ENTITIES",keyword:"MY_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.myEntities},{id:"MY_PRIMARY_ENTITY",keyword:"MY_PRIMARY_ENTITY",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.myPrimaryEntity},{id:"SAME_LEVEL_ENTITIES",keyword:"SAME_LEVEL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.sameLevelMyPrimaryEntity},{id:"ENTITIES_JUST_UP",keyword:"ENTITIES_JUST_UP",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.immediatelySuperiorMyPrimaryEntity}].forEach((function(l){n.allEntities.push(l)})),l.entities.forEach((function(l){n.allEntities.push(l)}))}),(function(l){n.notify.handleErrors(l)}))},n.prototype.initService=function(){var n=this;this.allEntities.forEach((function(l){l.state={opened:!1,selected:!1},n.data.action.redirects.forEach((function(n){(l.id===n.keyword&&"ENTITY"===n.redirect_mode||l.id===n.entity_id&&"ENTITY"===n.redirect_mode)&&(l.state={opened:!0,selected:!0})}))})),$j("#jstree").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:this.allEntities},plugins:["checkbox","search"]}),$j("#jstree").on("select_node.jstree",(function(l,e){n.data.action.redirects.push(e.node.original.keyword?{action_id:n.data.action.id,entity_id:"",keyword:e.node.id,redirect_mode:"ENTITY"}:{action_id:n.data.action.id,entity_id:e.node.id,keyword:"",redirect_mode:"ENTITY"})})).on("deselect_node.jstree",(function(l,e){n.data.action.redirects.forEach((function(l){if(e.node.original.keyword){if(l.keyword===e.node.original.keyword){var t=n.data.action.redirects.indexOf(l);n.data.action.redirects.splice(t,1)}}else l.entity_id===e.node.id&&(t=n.data.action.redirects.indexOf(l),n.data.action.redirects.splice(t,1))}))})).jstree();var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))},n.prototype.initService2=function(){var n=this;this.allEntities.forEach((function(l){l.state={opened:!1,selected:!1},n.data.action.redirects.forEach((function(n){(l.id===n.keyword&&"USERS"===n.redirect_mode||l.id===n.entity_id&&"USERS"===n.redirect_mode)&&(l.state={opened:!0,selected:!0})}))})),$j("#jstree2").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:this.allEntities},plugins:["checkbox","search"]}),$j("#jstree2").on("select_node.jstree",(function(l,e){n.data.action.redirects.push(e.node.original.keyword?{action_id:n.data.action.id,entity_id:"",keyword:e.node.id,redirect_mode:"USERS"}:{action_id:n.data.action.id,entity_id:e.node.id,keyword:"",redirect_mode:"USERS"})})).on("deselect_node.jstree",(function(l,e){n.data.action.redirects.forEach((function(l){if(e.node.original.keyword){if(l.keyword===e.node.original.keyword){var t=n.data.action.redirects.indexOf(l);n.data.action.redirects.splice(t,1)}}else l.entity_id===e.node.id&&(t=n.data.action.redirects.indexOf(l),n.data.action.redirects.splice(t,1))}))})).jstree();var l=!1;$j("#jstree_search2").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search2").val();$j("#jstree2").jstree(!0).search(n)}),250)}))},n.prototype.saveSettings=function(){this.dialogRef.close(this.data)},n}(),z$=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.data=e,this.dialogRef=t,this.lang=Kr,this.actionAll=[],this.newBasketGroup={}}return n.prototype.ngOnInit=function(){var n=this;this.http.get("../../rest/actions").subscribe((function(l){l.actions.forEach((function(l){l.where_clause="",l.used_in_basketlist=!1,l.default_action_list=!1,l.used_in_action_page=!0,l.statuses=[],l.redirects=[],l.checked=!1,n.actionAll.push(l)}))}),(function(l){n.notify.handleErrors(l)})),this.data.groups.forEach((function(l){n.data.linkedGroups.forEach((function(e){if(l.group_id===e.group_id){var t=n.data.groups.indexOf(l);n.data.groups.splice(t,1)}}))}))},n.prototype.validateForm=function(n){0===this.data.linkedGroups.length?(this.actionAll[0].used_in_action_page=!0,this.actionAll[0].default_action_list=!0,this.actionAll[0].used_in_basketlist=!0,this.actionAll[0].checked=!0,this.newBasketGroup.groupActions=this.actionAll):this.newBasketGroup=JSON.parse(JSON.stringify(this.data.linkedGroups[this.data.linkedGroups.length-1])),this.newBasketGroup.basket_id=this.data.basketId,this.newBasketGroup.group_id=n.group_id,this.newBasketGroup.group_desc=n.group_desc,this.dialogRef.close(this.newBasketGroup)},n}(),U$=yt({encapsulation:0,styles:[[".basketActionsList[_ngcontent-%COMP%] .mat-expansion-panel-body{height:400px;overflow:auto}.mat-chip[_ngcontent-%COMP%]{padding:25px!important}textarea.mat-input-element[_ngcontent-%COMP%]{padding:0;margin:0}"]],data:{}});function B$(n){return jo(0,[(n()(),_o(0,0,null,null,53,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.linkGroup()&&t),t}),AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(10,0,null,0,2,"mat-icon",[["class","fa fa-link mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(13,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(14,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(17,49152,null,0,mI,[],null,null),(n()(),_o(18,16777216,null,0,17,"a",[["class","mat-list-item"],["disableRipple","true"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,19).show()&&t),"keydown"===l&&(t=!1!==bi(n,19)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,19)._handleTouchend()&&t),t}),AI,II)),Di(19,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(20,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(24,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(25,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(26,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(27,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,29)._inputElement.nativeElement.focus()&&t),"change"===l&&(i.toggleIsSearchBasket(i.basket),t=!1),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(29,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(30,0,null,1,5,"p",[["class","mat-line"],["mat-line",""]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.toggleIsSearchBasket(i.basket),t=!1),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(32,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(33,{opacity:0}),Di(34,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(35,null,[" "," "])),(n()(),_o(36,16777216,null,0,17,"a",[["class","mat-list-item"],["disableRipple","true"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,37).show()&&t),"keydown"===l&&(t=!1!==bi(n,37)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,37)._handleTouchend()&&t),t}),AI,II)),Di(37,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(38,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(42,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(43,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(44,16384,[[15,4]],0,iI,[],null,null),(n()(),_o(45,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,47)._inputElement.nativeElement.focus()&&t),"change"===l&&(i.toggleFlagNotif(i.basket),t=!1),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(47,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(48,0,null,1,5,"p",[["class","mat-line"],["mat-line",""]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.toggleFlagNotif(i.basket),t=!1),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(50,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(51,{opacity:0}),Di(52,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(53,null,[" "," "]))],(function(n,l){var e=l.component;n(l,11,0,"primary"),n(l,19,0,Wt(1,"",e.lang.isSearchBasketInfo,"")),n(l,20,0,"true"),n(l,25,0,"primary"),n(l,29,0,"primary",e.basket.isSearchBasket);var t=n(l,33,0,e.basket.isSearchBasket?"":"0.3");n(l,32,0,t),n(l,37,0,Wt(1,"",e.lang.basketNotification,"")),n(l,38,0,"true"),n(l,43,0,"primary"),n(l,47,0,"primary",e.basket.flagNotif);var i=n(l,51,0,e.basket.flagNotif?"":"0.3");n(l,50,0,i)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,15,0,e.lang.linkGroup),n(l,16,0,bi(l,17).vertical?"vertical":"horizontal",bi(l,17).vertical,!bi(l,17).vertical,bi(l,17).inset),n(l,18,0,bi(l,20)._avatar||bi(l,20)._icon,bi(l,20)._avatar||bi(l,20)._icon),n(l,24,0,bi(l,25).inline,"primary"!==bi(l,25).color&&"accent"!==bi(l,25).color&&"warn"!==bi(l,25).color),n(l,27,0,bi(l,29).id,bi(l,29).disabled?null:-1,bi(l,29).checked,bi(l,29).disabled,"before"==bi(l,29).labelPosition,"NoopAnimations"===bi(l,29)._animationMode),n(l,35,0,e.lang.isSearchBasket),n(l,36,0,bi(l,38)._avatar||bi(l,38)._icon,bi(l,38)._avatar||bi(l,38)._icon),n(l,42,0,bi(l,43).inline,"primary"!==bi(l,43).color&&"accent"!==bi(l,43).color&&"warn"!==bi(l,43).color),n(l,45,0,bi(l,47).id,bi(l,47).disabled?null:-1,bi(l,47).checked,bi(l,47).disabled,"before"==bi(l,47).labelPosition,"NoopAnimations"===bi(l,47)._animationMode),n(l,53,0,e.lang.activateNotification)}))}function $$(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,B$)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,!l.component.creationMode)}),null)}function H$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function G$(n){return jo(0,[(n()(),_o(0,0,null,null,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","32"],["name","identifier"],["pattern","^[\\w.-]*$"],["required",""]],[[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,10)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,10)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,10)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.basket.id=e)&&t),"blur"===l&&(t=!1!==i.isAvailable()&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Di(3,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(4,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(7,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(9,16384,null,0,y_,[[4,v_]],null,null),Di(10,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[19,4],[20,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,""),n(l,3,0,"32"),n(l,4,0,"^[\\w.-]*$"),n(l,7,0,"identifier",e.basket.id),n(l,10,0,Wt(1,"",e.lang.id,""),"")}),(function(n,l){n(l,0,1,[bi(l,2).required?"":null,bi(l,3).maxlength?bi(l,3).maxlength:null,bi(l,4).pattern?bi(l,4).pattern:null,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending,bi(l,10)._isServer,bi(l,10).id,bi(l,10).placeholder,bi(l,10).disabled,bi(l,10).required,bi(l,10).readonly&&!bi(l,10)._isNativeSelect||null,bi(l,10)._ariaDescribedby||null,bi(l,10).errorState,bi(l,10).required.toString()])}))}function W$(n){return jo(0,[(n()(),_o(0,0,null,null,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","identifier"],["required",""]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,8)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,8)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,8)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.basket.id=e)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(5,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(7,16384,null,0,y_,[[4,v_]],null,null),Di(8,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"]},null),Ei(2048,[[19,4],[20,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,""),n(l,5,0,"identifier","",e.basket.id),n(l,8,0,"",Wt(1,"",e.lang.id,""),"")}),(function(n,l){n(l,0,1,[Wt(1,"",l.component.lang.id,""),bi(l,2).required?"":null,bi(l,7).ngClassUntouched,bi(l,7).ngClassTouched,bi(l,7).ngClassPristine,bi(l,7).ngClassDirty,bi(l,7).ngClassValid,bi(l,7).ngClassInvalid,bi(l,7).ngClassPending,bi(l,8)._isServer,bi(l,8).id,bi(l,8).placeholder,bi(l,8).disabled,bi(l,8).required,bi(l,8).readonly&&!bi(l,8)._isNativeSelect||null,bi(l,8)._ariaDescribedby||null,bi(l,8).errorState,bi(l,8).required.toString()])}))}function K$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[73,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.langVarName[e.orderColumns.indexOf(l.context.$implicit)])}))}function Y$(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[85,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.langOrderName[e.orderByColumns.indexOf(l.context.$implicit)])}))}function J$(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addLine()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-plus-square fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,2==l.component.orderColumnsSelected.length,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Z$(n){return jo(0,[(n()(),_o(0,0,null,null,59,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,25,"div",[["class","col-md-5 col-xs-5 text-center"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,64,{_controlNonStatic:0}),ko(335544320,65,{_controlStatic:0}),ko(603979776,66,{_labelChildNonStatic:0}),ko(335544320,67,{_labelChildStatic:0}),ko(603979776,68,{_placeholderChild:0}),ko(603979776,69,{_errorChildren:1}),ko(603979776,70,{_hintChildren:1}),ko(603979776,71,{_prefixChildren:1}),ko(603979776,72,{_suffixChildren:1}),(n()(),_o(13,0,null,1,13,"mat-select",[["class","mat-select"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,20)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,20)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,20)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.orderColumnsSelected[n.context.index].column=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(15,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(17,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"]},null),ko(603979776,73,{options:1}),ko(603979776,74,{optionGroups:1}),ko(603979776,75,{customTrigger:0}),Ei(2048,[[64,4],[65,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,K$)),Di(26,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(27,0,null,null,25,"div",[["class","col-md-5 col-xs-5 text-center"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(29,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,76,{_controlNonStatic:0}),ko(335544320,77,{_controlStatic:0}),ko(603979776,78,{_labelChildNonStatic:0}),ko(335544320,79,{_labelChildStatic:0}),ko(603979776,80,{_placeholderChild:0}),ko(603979776,81,{_errorChildren:1}),ko(603979776,82,{_hintChildren:1}),ko(603979776,83,{_prefixChildren:1}),ko(603979776,84,{_suffixChildren:1}),(n()(),_o(39,0,null,1,13,"mat-select",[["class","mat-select"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,46)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,46)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,46)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.order=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(41,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(43,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(45,16384,null,0,y_,[[4,v_]],null,null),Di(46,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"]},null),ko(603979776,85,{options:1}),ko(603979776,86,{optionGroups:1}),ko(603979776,87,{customTrigger:0}),Ei(2048,[[76,4],[77,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,Y$)),Di(52,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(53,0,null,null,6,"div",[["class","col-md-2 col-xs-2 text-left"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeLine(n.context.index)&&t),t}),PC,MC)),Di(55,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(56,0,null,0,1,"mat-icon",[["class","fa fa-minus-square fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(57,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,J$)),Di(59,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,15,0,""),n(l,17,0,Wt(1,"basket_res_order",l.context.index,""),e.orderColumnsSelected[l.context.index].column),n(l,20,0,Wt(2,"",e.lang.defaultSort," ",l.context.index+1,""),""),n(l,26,0,e.orderColumns),n(l,41,0,""),n(l,43,0,Wt(1,"order_by_select",l.context.index,""),l.context.$implicit.order),n(l,46,0,Wt(1,"",e.lang.orderBy,""),""),n(l,52,0,e.orderByColumns),n(l,55,0,1==e.orderColumnsSelected.length,"warn"),n(l,57,0),n(l,59,0,e.orderColumnsSelected.length==l.context.index+1)}),(function(n,l){n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[bi(l,15).required?"":null,bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20).id,bi(l,20).tabIndex,bi(l,20)._getAriaLabel(),bi(l,20)._getAriaLabelledby(),bi(l,20).required.toString(),bi(l,20).disabled.toString(),bi(l,20).errorState,bi(l,20).panelOpen?bi(l,20)._optionIds:null,bi(l,20).multiple,bi(l,20)._ariaDescribedby||null,bi(l,20)._getAriaActiveDescendant(),bi(l,20).disabled,bi(l,20).errorState,bi(l,20).required,bi(l,20).empty]),n(l,28,1,["standard"==bi(l,29).appearance,"fill"==bi(l,29).appearance,"outline"==bi(l,29).appearance,"legacy"==bi(l,29).appearance,bi(l,29)._control.errorState,bi(l,29)._canLabelFloat,bi(l,29)._shouldLabelFloat(),bi(l,29)._hasFloatingLabel(),bi(l,29)._hideControlPlaceholder(),bi(l,29)._control.disabled,bi(l,29)._control.autofilled,bi(l,29)._control.focused,"accent"==bi(l,29).color,"warn"==bi(l,29).color,bi(l,29)._shouldForward("untouched"),bi(l,29)._shouldForward("touched"),bi(l,29)._shouldForward("pristine"),bi(l,29)._shouldForward("dirty"),bi(l,29)._shouldForward("valid"),bi(l,29)._shouldForward("invalid"),bi(l,29)._shouldForward("pending"),!bi(l,29)._animationsEnabled]),n(l,39,1,[bi(l,41).required?"":null,bi(l,45).ngClassUntouched,bi(l,45).ngClassTouched,bi(l,45).ngClassPristine,bi(l,45).ngClassDirty,bi(l,45).ngClassValid,bi(l,45).ngClassInvalid,bi(l,45).ngClassPending,bi(l,46).id,bi(l,46).tabIndex,bi(l,46)._getAriaLabel(),bi(l,46)._getAriaLabelledby(),bi(l,46).required.toString(),bi(l,46).disabled.toString(),bi(l,46).errorState,bi(l,46).panelOpen?bi(l,46)._optionIds:null,bi(l,46).multiple,bi(l,46)._ariaDescribedby||null,bi(l,46)._getAriaActiveDescendant(),bi(l,46).disabled,bi(l,46).errorState,bi(l,46).required,bi(l,46).empty]),n(l,54,0,bi(l,55).disabled||null,"NoopAnimations"===bi(l,55)._animationMode),n(l,56,0,bi(l,57).inline,"primary"!==bi(l,57).color&&"accent"!==bi(l,57).color&&"warn"!==bi(l,57).color)}))}function Q$(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""])),(n()(),_o(2,16777216,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(t=!1!==i.unlinkGroup(n.parent.context.index)&&t),t}),FS,DS)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.unlinkGroup,"")),n(l,4,0,"warn")}),(function(n,l){n(l,1,0,l.parent.context.$implicit.group_desc),n(l,2,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function X$(n){return jo(0,[(n()(),_o(0,0,null,null,1,"small",[],null,null,null,null,null)),(n()(),Lo(1,null,["(",")"]))],null,(function(n,l){n(l,1,0,l.component.lang.default)}))}function nH(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["color","warn"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),FS,DS)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(3,16384,[[96,4]],0,aN,[iN],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.delete,"")),n(l,2,0,"warn")}),(function(n,l){n(l,0,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function lH(n){return jo(0,[(n()(),_o(0,16777216,null,null,20,"mat-chip",[["class","mat-chip"],["color","primary"],["removable","true"],["role","option"],["selectable","true"],["style","cursor:pointer;margin:5px;border-radius:0px;display:flex;"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"removed"],[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,4).show()&&t),"keydown"===l&&(t=!1!==bi(n,4)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,4)._handleTouchend()&&t),"click"===l&&(t=!1!==bi(n,5)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,5)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,5).focus()&&t),"blur"===l&&(t=!1!==bi(n,5)._blur()&&t),"click"===l&&(t=!1!==i.openSettings(n.parent.parent.parent.context.$implicit,n.parent.context.$implicit)&&t),"removed"===l&&(t=!1!==i.unlinkAction(n.parent.parent.parent.context.$implicit,n.parent.context.$implicit)&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{"font-weight":0}),Di(4,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(5,147456,[[93,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],selectable:[1,"selectable"],removable:[2,"removable"]},{removed:"removed"}),ko(603979776,94,{avatar:0}),ko(603979776,95,{trailingIcon:0}),ko(603979776,96,{removeIcon:0}),(n()(),Lo(-1,null,["  "])),(n()(),_o(10,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(11,null,["",""])),(n()(),Lo(-1,null,[" "])),(n()(),vo(16777216,null,null,1,null,X$)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,0,"span",[["style","flex: 1 1 auto;"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,2,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.setDefaultAction(n.parent.parent.parent.context.$implicit,n.parent.context.$implicit)&&t),t}),PC,MC)),Di(17,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),Lo(18,0,["",""])),(n()(),vo(16777216,null,null,1,null,nH)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=n(l,3,0,1==l.parent.context.$implicit.default_action_list?"bold":"");n(l,2,0,e),n(l,4,0,Wt(1,"id : ",l.parent.context.$implicit.id,"")),n(l,5,0,"primary","true","true"),n(l,14,0,1==l.parent.context.$implicit.default_action_list),n(l,17,0,l.parent.context.$implicit.default_action_list),n(l,20,0,1!=l.parent.context.$implicit.default_action_list)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,5).disabled?null:-1,bi(l,5).selected,bi(l,5).avatar,bi(l,5).trailingIcon||bi(l,5).removeIcon,bi(l,5).disabled,bi(l,5)._animationsDisabled,bi(l,5).disabled||null,bi(l,5).disabled.toString(),bi(l,5).ariaSelected),n(l,11,0,l.parent.context.$implicit.label_action),n(l,16,0,bi(l,17).disabled||null,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,e.lang.setByDefault)}))}function eH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["style","width:100%;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,lH)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,1==l.context.$implicit.checked)}),null)}function tH(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function iH(n){return jo(0,[(n()(),_o(0,16777216,null,null,10,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:6;"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(3,0,null,null,7,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.addAction(n.parent.parent.context.$implicit)&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.checked=e)&&t),t}),sA,uA)),Di(4,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],disabled:[1,"disabled"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(6,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(8,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(9,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(10,null,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"id : ",l.context.$implicit.id,"")),n(l,4,0,"primary",1==l.context.$implicit.default_action_list),n(l,6,0,1==l.context.$implicit.default_action_list,l.context.$implicit.checked)}),(function(n,l){n(l,3,1,[bi(l,4).id,null,bi(l,4).indeterminate,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending]),n(l,10,0,l.context.$implicit.label_action)}))}function aH(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function oH(n){return jo(0,[(n()(),_o(0,16777216,null,null,26,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","text-align:right"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(3,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,5)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,5)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,5)._handleClick(e)&&t),t}),PC,MC)),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(5,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","fa fa-bars mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(8,0,null,null,18,"mat-menu",[],null,null,null,XT,ZT)),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,118,{_allItems:1}),ko(603979776,119,{items:1}),ko(603979776,120,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(15,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,16)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,16)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setDefaultAction(n.parent.parent.context.$implicit,n.context.$implicit)&&t),t}),lL,nL)),Di(16,180224,[[118,4],[119,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(17,0,null,0,1,"mat-icon",[["class","fa fa-check-circle mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(18,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(19,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(20,null,["",""])),(n()(),_o(21,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,22)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,22)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openSettings(n.parent.parent.context.$implicit,n.context.$implicit)&&t),t}),lL,nL)),Di(22,180224,[[118,4],[119,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(23,0,null,0,1,"mat-icon",[["class","fa fa-cogs mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(24,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(25,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(26,null,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"id : ",l.context.$implicit.id,"")),n(l,4,0,!l.context.$implicit.checked),n(l,5,0,bi(l,9)),n(l,7,0),n(l,9,0),n(l,16,0,1==l.context.$implicit.default_action_list),n(l,18,0),n(l,24,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode,bi(l,5).menuOpen||null),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,15,0,bi(l,16).role,bi(l,16)._highlighted,bi(l,16)._triggersSubmenu,bi(l,16)._getTabIndex(),bi(l,16).disabled.toString(),bi(l,16).disabled||null),n(l,17,0,bi(l,18).inline,"primary"!==bi(l,18).color&&"accent"!==bi(l,18).color&&"warn"!==bi(l,18).color),n(l,20,0,e.lang.defaultAction),n(l,21,0,bi(l,22).role,bi(l,22)._highlighted,bi(l,22)._triggersSubmenu,bi(l,22)._getTabIndex(),bi(l,22).disabled.toString(),bi(l,22).disabled||null),n(l,23,0,bi(l,24).inline,"primary"!==bi(l,24).color&&"accent"!==bi(l,24).color&&"warn"!==bi(l,24).color),n(l,26,0,e.lang.moreOptions)}))}function rH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function uH(n){return jo(0,[(n()(),_o(0,0,null,null,89,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(1,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,90,{_tabs:1}),(n()(),_o(3,16777216,null,null,80,"mat-tab",[],null,null,null,BV,zV)),Di(4,770048,[[90,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,91,{templateLabel:0}),ko(335544320,92,{_explicitContent:0}),(n()(),_o(7,0,null,0,9,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"h5",[],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),_o(10,0,null,null,6,"mat-chip-list",[["class","mat-chip-list-stacked mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,12).focus()&&t),"blur"===l&&(t=!1!==bi(n,12)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,12)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(12,1556480,[["chipList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,93,{chips:1}),(n()(),vo(16777216,null,0,2,null,eH)),Di(15,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(16,2),(n()(),_o(17,0,null,0,66,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,65,"mat-accordion",[["class","basketActionsList mat-accordion"]],null,null,null,null,null)),Di(19,1720320,null,1,Qj,[],null,null),ko(603979776,97,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(22,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"]],(function(n,l,e){var t=!0;return"opened"===l&&(t=!1!==n.component.initAction(n.parent.context.index)&&t),t}),eV,nV)),Di(23,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,{opened:"opened"}),ko(603979776,98,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(26,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,27)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,27)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,27)._animationStarted()&&t),t}),aV,tV)),Di(27,180224,[[97,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(28,{collapsedHeight:0,expandedHeight:1}),Oo(29,{value:0,params:1}),(n()(),_o(30,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(31,16384,null,0,Zj,[],null,null),(n()(),Lo(32,null,[" "," "])),(n()(),_o(33,0,null,1,50,"div",[],null,null,null,null,null)),(n()(),_o(34,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(35,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,99,{_controlNonStatic:0}),ko(335544320,100,{_controlStatic:0}),ko(603979776,101,{_labelChildNonStatic:0}),ko(335544320,102,{_labelChildStatic:0}),ko(603979776,103,{_placeholderChild:0}),ko(603979776,104,{_errorChildren:1}),ko(603979776,105,{_hintChildren:1}),ko(603979776,106,{_prefixChildren:1}),ko(603979776,107,{_suffixChildren:1}),(n()(),_o(45,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,46)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,46)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,46)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(46,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[99,4],[100,4]],nT,null,[OT]),(n()(),_o(48,0,null,null,35,"mat-table",[["class","mat-table"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(50,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,108,{_contentColumnDefs:1}),ko(603979776,109,{_contentRowDefs:1}),ko(603979776,110,{_contentHeaderRowDefs:1}),ko(603979776,111,{_contentFooterRowDefs:1}),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,112,{cell:0}),ko(603979776,113,{headerCell:0}),ko(603979776,114,{footerCell:0}),Ei(2048,[[108,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,tH)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[113,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,iH)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[112,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,115,{cell:0}),ko(603979776,116,{headerCell:0}),ko(603979776,117,{footerCell:0}),Ei(2048,[[108,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,aH)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[116,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,oH)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[115,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,rH)),Di(82,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[109,4]],UL,null,[uR]),(n()(),_o(84,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(85,770048,[[90,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,121,{templateLabel:0}),ko(335544320,122,{_explicitContent:0}),(n()(),_o(88,0,null,0,1,"list-administration",[],null,[[null,"refreshBasketGroup"]],(function(n,l,e){var t=!0;return"refreshBasketGroup"===l&&(t=!1!==(n.parent.context.$implicit=e)&&t),t}),j$,v$)),Di(89,114688,null,0,b$,[nS,tu],{basketGroup:[0,"basketGroup"]},{refreshBasketGroup:"refreshBasketGroup"})],(function(n,l){var e=l.component;n(l,4,0,Wt(1,"",e.lang.actions,"")),n(l,12,0);var t=bt(l,15,0,n(l,16,0,bi(l.parent.parent.parent,0),l.parent.context.$implicit.groupActions,"label_action"));n(l,15,0,t),n(l,46,0,Wt(1,"",e.lang.filterBy,"")),n(l,50,0,e.dataSource),n(l,57,0,"label_action"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,Wt(1,"",e.lang.resultPage,"")),n(l,89,0,l.parent.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).dynamicHeight,"below"===bi(l,1).headerPosition),n(l,9,0,e.lang.actionChosen),n(l,10,1,[bi(l,12).disabled?null:bi(l,12)._tabIndex,bi(l,12)._ariaDescribedby||null,bi(l,12).required.toString(),bi(l,12).disabled.toString(),bi(l,12).errorState,bi(l,12).multiple,bi(l,12).role,bi(l,12).disabled,bi(l,12).errorState,bi(l,12).required,bi(l,12).ariaOrientation,bi(l,12)._uid]),n(l,22,0,bi(l,23).expanded,"NoopAnimations"===bi(l,23)._animationMode,bi(l,23)._hasSpacing());var t=bi(l,27).panel._headerId,i=bi(l,27).disabled?-1:0,a=bi(l,27)._getPanelId(),o=bi(l,27)._isExpanded(),r=bi(l,27).panel.disabled,u=bi(l,27)._isExpanded(),s="after"===bi(l,27)._getTogglePosition(),c="before"===bi(l,27)._getTogglePosition(),d=bi(l,27)._animationsDisabled,p=n(l,29,0,bi(l,27)._getExpandedState(),n(l,28,0,bi(l,27).collapsedHeight,bi(l,27).expandedHeight));n(l,26,0,t,i,a,o,r,u,s,c,d,p),n(l,32,0,e.lang.actionAvailable),n(l,34,1,["standard"==bi(l,35).appearance,"fill"==bi(l,35).appearance,"outline"==bi(l,35).appearance,"legacy"==bi(l,35).appearance,bi(l,35)._control.errorState,bi(l,35)._canLabelFloat,bi(l,35)._shouldLabelFloat(),bi(l,35)._hasFloatingLabel(),bi(l,35)._hideControlPlaceholder(),bi(l,35)._control.disabled,bi(l,35)._control.autofilled,bi(l,35)._control.focused,"accent"==bi(l,35).color,"warn"==bi(l,35).color,bi(l,35)._shouldForward("untouched"),bi(l,35)._shouldForward("touched"),bi(l,35)._shouldForward("pristine"),bi(l,35)._shouldForward("dirty"),bi(l,35)._shouldForward("valid"),bi(l,35)._shouldForward("invalid"),bi(l,35)._shouldForward("pending"),!bi(l,35)._animationsEnabled]),n(l,45,0,bi(l,46)._isServer,bi(l,46).id,bi(l,46).placeholder,bi(l,46).disabled,bi(l,46).required,bi(l,46).readonly&&!bi(l,46)._isNativeSelect||null,bi(l,46)._ariaDescribedby||null,bi(l,46).errorState,bi(l,46).required.toString())}))}function sH(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[16,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,88,{templateLabel:0}),ko(335544320,89,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,Q$)),Di(5,16384,[[88,4]],0,bV,[Xe,lt],null,null),(n()(),vo(16777216,null,0,1,null,uH)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",l.context.$implicit.group_desc,"")),n(l,7,0,e.selectedIndex>0)}),null)}function cH(n){return jo(0,[(n()(),_o(0,0,null,null,133,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,131,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedIndex=e)&&t),t}),LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,16,{_tabs:1}),(n()(),_o(5,16777216,null,null,126,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[16,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,17,{templateLabel:0}),ko(335544320,18,{_explicitContent:0}),(n()(),_o(9,0,null,0,122,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[["basketForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,14,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(15,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,19,{_controlNonStatic:0}),ko(335544320,20,{_controlStatic:0}),ko(603979776,21,{_labelChildNonStatic:0}),ko(335544320,22,{_labelChildStatic:0}),ko(603979776,23,{_placeholderChild:0}),ko(603979776,24,{_errorChildren:1}),ko(603979776,25,{_hintChildren:1}),ko(603979776,26,{_prefixChildren:1}),ko(603979776,27,{_suffixChildren:1}),(n()(),vo(16777216,null,1,1,null,G$)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,W$)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(29,0,null,null,47,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(30,0,null,null,25,"div",[["class","col-md-11 col-xs-10"]],null,null,null,null,null)),(n()(),_o(31,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(32,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(42,0,null,1,13,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","255"],["name","label"],["required",""]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,46)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,46)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,46)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,54)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,54)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,54)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.basket.basket_name=e)&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(44,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(45,{color:0}),Di(46,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(47,16384,null,0,My,[],{required:[0,"required"]},null),Di(48,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(51,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(53,16384,null,0,y_,[[4,v_]],null,null),Di(54,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT]),(n()(),_o(56,0,null,null,20,"div",[["class","col-md-1 col-xs-2"]],null,null,null,null,null)),(n()(),_o(57,0,null,null,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(58,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,37,{_controlNonStatic:0}),ko(335544320,38,{_controlStatic:0}),ko(603979776,39,{_labelChildNonStatic:0}),ko(335544320,40,{_labelChildStatic:0}),ko(603979776,41,{_placeholderChild:0}),ko(603979776,42,{_errorChildren:1}),ko(603979776,43,{_hintChildren:1}),ko(603979776,44,{_prefixChildren:1}),ko(603979776,45,{_suffixChildren:1}),(n()(),_o(68,16777216,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","color"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,69)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,69).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,69)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,69)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,74)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,74)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,74)._onInput()&&t),"longpress"===l&&(t=!1!==bi(n,75).show()&&t),"keydown"===l&&(t=!1!==bi(n,75)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,75)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(i.basket.color=e)&&t),t}),null,null)),Di(69,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(71,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(73,16384,null,0,y_,[[4,v_]],null,null),Di(74,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{type:[0,"type"]},null),Di(75,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Ei(2048,[[37,4],[38,4]],nT,null,[OT]),(n()(),_o(77,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(78,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,46,{_controlNonStatic:0}),ko(335544320,47,{_controlStatic:0}),ko(603979776,48,{_labelChildNonStatic:0}),ko(335544320,49,{_labelChildStatic:0}),ko(603979776,50,{_placeholderChild:0}),ko(603979776,51,{_errorChildren:1}),ko(603979776,52,{_hintChildren:1}),ko(603979776,53,{_prefixChildren:1}),ko(603979776,54,{_suffixChildren:1}),(n()(),_o(88,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","255"],["name","description"],["required",""]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,89)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,89).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,89)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,89)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,97)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,97)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,97)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.basket.basket_desc=e)&&t),t}),null,null)),Di(89,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(90,16384,null,0,My,[],{required:[0,"required"]},null),Di(91,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(94,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(96,16384,null,0,y_,[[4,v_]],null,null),Di(97,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[46,4],[47,4]],nT,null,[OT]),(n()(),_o(99,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(100,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,55,{_controlNonStatic:0}),ko(335544320,56,{_controlStatic:0}),ko(603979776,57,{_labelChildNonStatic:0}),ko(335544320,58,{_labelChildStatic:0}),ko(603979776,59,{_placeholderChild:0}),ko(603979776,60,{_errorChildren:1}),ko(603979776,61,{_hintChildren:1}),ko(603979776,62,{_prefixChildren:1}),ko(603979776,63,{_suffixChildren:1}),(n()(),_o(110,0,null,1,10,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["name","clause"],["required",""],["rows","1"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,111)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,111).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,111)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,111)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,118)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,118)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,118)._onInput()&&t),"input"===l&&(t=!1!==bi(n,119)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.basket.clause=e)&&t),t}),null,null)),Di(111,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(112,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(115,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(117,16384,null,0,y_,[[4,v_]],null,null),Di(118,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Di(119,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matTextareaAutosize:[1,"matTextareaAutosize"]},null),Ei(2048,[[55,4],[56,4]],nT,null,[OT]),(n()(),_o(121,16777216,null,4,3,"mat-icon",[["class","fa fa-info-circle mat-icon notranslate"],["color","primary"],["matSuffix",""],["role","img"],["style","cursor:pointer;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,123).show()&&t),"keydown"===l&&(t=!1!==bi(n,123)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,123)._handleTouchend()&&t),"click"===l&&(t=!1!==bi(n.parent,28).toggle()&&t),t}),FS,DS)),Di(122,16384,[[63,4]],0,oT,[],null,null),Di(123,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(124,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(125,0,null,null,2,"div",[["id","listOrder"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Z$)),Di(127,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(128,0,null,null,3,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(129,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(130,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(131,0,["",""])),(n()(),vo(16777216,null,null,1,null,sH)),Di(133,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedIndex),n(l,6,0,Wt(1,"",e.lang.informations,"")),n(l,26,0,e.creationMode),n(l,28,0,!e.creationMode);var t=n(l,45,0,e.basket.color);n(l,44,0,t),n(l,47,0,""),n(l,48,0,"255"),n(l,51,0,"label",e.basket.basket_name),n(l,54,0,Wt(1,"",e.lang.label,""),""),n(l,71,0,"color",e.basket.color),n(l,74,0,"color"),n(l,75,0,Wt(1,"",e.lang.chooseColor,"")),n(l,90,0,""),n(l,91,0,"255"),n(l,94,0,"description",e.basket.basket_desc),n(l,97,0,Wt(1,"",e.lang.description,""),""),n(l,112,0,""),n(l,115,0,"clause",e.basket.clause),n(l,118,0,Wt(1,"",e.lang.clause,""),""),n(l,119,0,"1",""),n(l,123,0,Wt(1,"",e.lang.keywordHelper,"")),n(l,124,0,"primary"),n(l,127,0,e.orderColumnsSelected),n(l,130,0,!bi(l,11).form.valid||0==e.orderColumnsSelected.length,"primary"),n(l,133,0,e.basketGroups)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,14,1,["standard"==bi(l,15).appearance,"fill"==bi(l,15).appearance,"outline"==bi(l,15).appearance,"legacy"==bi(l,15).appearance,bi(l,15)._control.errorState,bi(l,15)._canLabelFloat,bi(l,15)._shouldLabelFloat(),bi(l,15)._hasFloatingLabel(),bi(l,15)._hideControlPlaceholder(),bi(l,15)._control.disabled,bi(l,15)._control.autofilled,bi(l,15)._control.focused,"accent"==bi(l,15).color,"warn"==bi(l,15).color,bi(l,15)._shouldForward("untouched"),bi(l,15)._shouldForward("touched"),bi(l,15)._shouldForward("pristine"),bi(l,15)._shouldForward("dirty"),bi(l,15)._shouldForward("valid"),bi(l,15)._shouldForward("invalid"),bi(l,15)._shouldForward("pending"),!bi(l,15)._animationsEnabled]),n(l,31,1,["standard"==bi(l,32).appearance,"fill"==bi(l,32).appearance,"outline"==bi(l,32).appearance,"legacy"==bi(l,32).appearance,bi(l,32)._control.errorState,bi(l,32)._canLabelFloat,bi(l,32)._shouldLabelFloat(),bi(l,32)._hasFloatingLabel(),bi(l,32)._hideControlPlaceholder(),bi(l,32)._control.disabled,bi(l,32)._control.autofilled,bi(l,32)._control.focused,"accent"==bi(l,32).color,"warn"==bi(l,32).color,bi(l,32)._shouldForward("untouched"),bi(l,32)._shouldForward("touched"),bi(l,32)._shouldForward("pristine"),bi(l,32)._shouldForward("dirty"),bi(l,32)._shouldForward("valid"),bi(l,32)._shouldForward("invalid"),bi(l,32)._shouldForward("pending"),!bi(l,32)._animationsEnabled]),n(l,42,1,[Wt(1,"",e.lang.label,""),bi(l,47).required?"":null,bi(l,48).maxlength?bi(l,48).maxlength:null,bi(l,53).ngClassUntouched,bi(l,53).ngClassTouched,bi(l,53).ngClassPristine,bi(l,53).ngClassDirty,bi(l,53).ngClassValid,bi(l,53).ngClassInvalid,bi(l,53).ngClassPending,bi(l,54)._isServer,bi(l,54).id,bi(l,54).placeholder,bi(l,54).disabled,bi(l,54).required,bi(l,54).readonly&&!bi(l,54)._isNativeSelect||null,bi(l,54)._ariaDescribedby||null,bi(l,54).errorState,bi(l,54).required.toString()]),n(l,57,1,["standard"==bi(l,58).appearance,"fill"==bi(l,58).appearance,"outline"==bi(l,58).appearance,"legacy"==bi(l,58).appearance,bi(l,58)._control.errorState,bi(l,58)._canLabelFloat,bi(l,58)._shouldLabelFloat(),bi(l,58)._hasFloatingLabel(),bi(l,58)._hideControlPlaceholder(),bi(l,58)._control.disabled,bi(l,58)._control.autofilled,bi(l,58)._control.focused,"accent"==bi(l,58).color,"warn"==bi(l,58).color,bi(l,58)._shouldForward("untouched"),bi(l,58)._shouldForward("touched"),bi(l,58)._shouldForward("pristine"),bi(l,58)._shouldForward("dirty"),bi(l,58)._shouldForward("valid"),bi(l,58)._shouldForward("invalid"),bi(l,58)._shouldForward("pending"),!bi(l,58)._animationsEnabled]),n(l,68,1,[bi(l,73).ngClassUntouched,bi(l,73).ngClassTouched,bi(l,73).ngClassPristine,bi(l,73).ngClassDirty,bi(l,73).ngClassValid,bi(l,73).ngClassInvalid,bi(l,73).ngClassPending,bi(l,74)._isServer,bi(l,74).id,bi(l,74).placeholder,bi(l,74).disabled,bi(l,74).required,bi(l,74).readonly&&!bi(l,74)._isNativeSelect||null,bi(l,74)._ariaDescribedby||null,bi(l,74).errorState,bi(l,74).required.toString()]),n(l,77,1,["standard"==bi(l,78).appearance,"fill"==bi(l,78).appearance,"outline"==bi(l,78).appearance,"legacy"==bi(l,78).appearance,bi(l,78)._control.errorState,bi(l,78)._canLabelFloat,bi(l,78)._shouldLabelFloat(),bi(l,78)._hasFloatingLabel(),bi(l,78)._hideControlPlaceholder(),bi(l,78)._control.disabled,bi(l,78)._control.autofilled,bi(l,78)._control.focused,"accent"==bi(l,78).color,"warn"==bi(l,78).color,bi(l,78)._shouldForward("untouched"),bi(l,78)._shouldForward("touched"),bi(l,78)._shouldForward("pristine"),bi(l,78)._shouldForward("dirty"),bi(l,78)._shouldForward("valid"),bi(l,78)._shouldForward("invalid"),bi(l,78)._shouldForward("pending"),!bi(l,78)._animationsEnabled]),n(l,88,1,[Wt(1,"",e.lang.description,""),bi(l,90).required?"":null,bi(l,91).maxlength?bi(l,91).maxlength:null,bi(l,96).ngClassUntouched,bi(l,96).ngClassTouched,bi(l,96).ngClassPristine,bi(l,96).ngClassDirty,bi(l,96).ngClassValid,bi(l,96).ngClassInvalid,bi(l,96).ngClassPending,bi(l,97)._isServer,bi(l,97).id,bi(l,97).placeholder,bi(l,97).disabled,bi(l,97).required,bi(l,97).readonly&&!bi(l,97)._isNativeSelect||null,bi(l,97)._ariaDescribedby||null,bi(l,97).errorState,bi(l,97).required.toString()]),n(l,99,1,["standard"==bi(l,100).appearance,"fill"==bi(l,100).appearance,"outline"==bi(l,100).appearance,"legacy"==bi(l,100).appearance,bi(l,100)._control.errorState,bi(l,100)._canLabelFloat,bi(l,100)._shouldLabelFloat(),bi(l,100)._hasFloatingLabel(),bi(l,100)._hideControlPlaceholder(),bi(l,100)._control.disabled,bi(l,100)._control.autofilled,bi(l,100)._control.focused,"accent"==bi(l,100).color,"warn"==bi(l,100).color,bi(l,100)._shouldForward("untouched"),bi(l,100)._shouldForward("touched"),bi(l,100)._shouldForward("pristine"),bi(l,100)._shouldForward("dirty"),bi(l,100)._shouldForward("valid"),bi(l,100)._shouldForward("invalid"),bi(l,100)._shouldForward("pending"),!bi(l,100)._animationsEnabled]),n(l,110,1,[Wt(1,"",e.lang.clause,""),bi(l,112).required?"":null,bi(l,117).ngClassUntouched,bi(l,117).ngClassTouched,bi(l,117).ngClassPristine,bi(l,117).ngClassDirty,bi(l,117).ngClassValid,bi(l,117).ngClassInvalid,bi(l,117).ngClassPending,bi(l,118)._isServer,bi(l,118).id,bi(l,118).placeholder,bi(l,118).disabled,bi(l,118).required,bi(l,118).readonly&&!bi(l,118)._isNativeSelect||null,bi(l,118)._ariaDescribedby||null,bi(l,118).errorState,bi(l,118).required.toString()]),n(l,121,0,bi(l,124).inline,"primary"!==bi(l,124).color&&"accent"!==bi(l,124).color&&"warn"!==bi(l,124).color),n(l,129,0,bi(l,130).disabled||null,"NoopAnimations"===bi(l,130)._animationMode),n(l,131,0,e.lang.save)}))}function dH(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(5,0,null,null,101,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(6,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,$$)),(n()(),_o(10,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(11,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(12,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(16,114688,null,0,GO,[_u],null,null),(n()(),_o(17,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(19,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(20,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(22,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,H$)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cH)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,0,79,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,28)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,28)._animationDoneListener(e)&&t),t}),zO,qO)),Di(28,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(29,0,null,0,4,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(30,704512,null,0,eI,[],null,null),(n()(),_o(31,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(32,16384,null,0,aI,[],null,null),(n()(),Lo(33,null,["",""])),(n()(),_o(34,0,null,0,72,"mat-list",[["class","mat-list mat-list-base"],["role","list"],["style","width: 300px;padding: 5px;"]],null,null,null,SI,kI)),Di(35,704512,null,0,tI,[Pe],null,null),(n()(),_o(36,0,null,0,1,"p",[["style","font-size:10px;"]],null,null,null,null,null)),(n()(),Lo(37,null,["",""])),(n()(),_o(38,0,null,0,2,"div",[["style","border:1px black solid; padding:3px;font-size:10px;"]],null,null,null,null,null)),(n()(),_o(39,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(-1,null,["DESTINATION = @my_primary_entity or DESTINATION in (@subentities[@my_primary_entity])"])),(n()(),_o(41,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(42,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@user :"])),(n()(),_o(44,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(45,16384,null,0,pv,[],null,null),(n()(),Lo(46,null,["",""])),(n()(),_o(47,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(48,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@user_id :"])),(n()(),_o(50,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(51,16384,null,0,pv,[],null,null),(n()(),Lo(52,null,["",""])),(n()(),_o(53,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(54,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@email :"])),(n()(),_o(56,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(57,16384,null,0,pv,[],null,null),(n()(),Lo(58,null,["",""])),(n()(),_o(59,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(60,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@my_entities :"])),(n()(),_o(62,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(63,16384,null,0,pv,[],null,null),(n()(),Lo(64,null,["",""])),(n()(),_o(65,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(66,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@my_primary_entity :"])),(n()(),_o(68,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(69,16384,null,0,pv,[],null,null),(n()(),Lo(70,null,["",""])),(n()(),_o(71,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(72,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@subentities[('entity_1',...,'entity_n')] :"])),(n()(),_o(74,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(75,16384,null,0,pv,[],null,null),(n()(),Lo(76,null,["",""])),(n()(),_o(77,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(78,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@parent_entity['entity_id'] :"])),(n()(),_o(80,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(81,16384,null,0,pv,[],null,null),(n()(),Lo(82,null,["",""])),(n()(),_o(83,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(84,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@sisters_entities['entity_id'] :"])),(n()(),_o(86,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(87,16384,null,0,pv,[],null,null),(n()(),Lo(88,null,["",""])),(n()(),_o(89,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(90,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@entity_type['type'] :"])),(n()(),_o(92,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(93,16384,null,0,pv,[],null,null),(n()(),Lo(94,null,["",""])),(n()(),_o(95,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(96,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@all_entities :"])),(n()(),_o(98,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(99,16384,null,0,pv,[],null,null),(n()(),Lo(100,null,["",""])),(n()(),_o(101,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(102,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@immediate_children['entity_1',..., 'entity_id'] :"])),(n()(),_o(104,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(105,16384,null,0,pv,[],null,null),(n()(),Lo(106,null,["",""]))],(function(n,l){var e=l.component;n(l,6,0,""),n(l,11,0),n(l,16,0),n(l,19,0),n(l,24,0,e.loading),n(l,26,0,!e.loading),n(l,28,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56")}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6)._backdropOverride),n(l,10,0,bi(l,11)._container._contentMargins.left,bi(l,11)._container._contentMargins.right),n(l,13,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,21,0,e.appService.getViewMode()),n(l,27,0,null,"end"===bi(l,28).position,"over"===bi(l,28).mode,"push"===bi(l,28).mode,"side"===bi(l,28).mode,bi(l,28).opened,bi(l,28).fixedInViewport,bi(l,28).fixedInViewport?bi(l,28).fixedTopGap:null,bi(l,28).fixedInViewport?bi(l,28).fixedBottomGap:null,bi(l,28)._animationState),n(l,33,0,e.lang.keywordHelp),n(l,37,0,e.lang.keywordHelpDesc_11),n(l,46,0,e.lang.keywordHelpDesc_1),n(l,52,0,e.lang.keywordHelpDesc_12),n(l,58,0,e.lang.keywordHelpDesc_2),n(l,64,0,e.lang.keywordHelpDesc_3),n(l,70,0,e.lang.keywordHelpDesc_4),n(l,76,0,e.lang.keywordHelpDesc_5),n(l,82,0,e.lang.keywordHelpDesc_6),n(l,88,0,e.lang.keywordHelpDesc_7),n(l,94,0,e.lang.keywordHelpDesc_8),n(l,100,0,e.lang.keywordHelpDesc_9),n(l,106,0,e.lang.keywordHelpDesc_10)}))}function pH(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,dH,U$)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,V$,[nS,Zp,uf,tu,Jv,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var mH=oi("ng-component",V$,pH,{},{},[]),fH=yt({encapsulation:0,styles:[".mat-dialog-content[_ngcontent-%COMP%]{height: 65vh;}"],data:{}});function hH(n){return jo(0,[(n()(),Lo(0,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.lang.redirects)}))}function gH(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,hH)),Di(1,16384,[[3,4]],0,bV,[Xe,lt],null,null),(n()(),vo(0,null,null,0))],null,null)}function bH(n){return jo(0,[(n()(),_o(0,16777216,null,null,25,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"]],(function(n,l,e){var t=!0;return"opened"===l&&(t=!1!==n.component.initService2()&&t),t}),eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,{opened:"opened"}),ko(603979776,16,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,[[5,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,17,{_controlNonStatic:0}),ko(335544320,18,{_controlStatic:0}),ko(603979776,19,{_labelChildNonStatic:0}),ko(335544320,20,{_labelChildStatic:0}),ko(603979776,21,{_placeholderChild:0}),ko(603979776,22,{_errorChildren:1}),ko(603979776,23,{_hintChildren:1}),ko(603979776,24,{_prefixChildren:1}),ko(603979776,25,{_suffixChildren:1}),(n()(),_o(22,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search2"],["matInput",""],["name","jstree_search2"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),t}),null,null)),Di(23,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[17,4],[18,4]],nT,null,[OT]),(n()(),_o(25,0,null,1,0,"div",[["id","jstree2"]],null,null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){n(l,23,0,"jstree_search2",Wt(1,"",l.component.lang.searchEntities,""),"text")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,0,e.lang.toUsersEntities),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,22,0,bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString())}))}function vH(n){return jo(0,[(n()(),_o(0,16777216,null,null,37,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[2,4]],2,vV,[lt],null,null),ko(603979776,3,{templateLabel:0}),ko(335544320,4,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,gH)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,0,31,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(7,1720320,null,1,Qj,[],null,null),ko(603979776,5,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(10,16777216,null,null,25,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"]],(function(n,l,e){var t=!0;return"opened"===l&&(t=!1!==n.component.initService()&&t),t}),eV,nV)),Di(11,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,{opened:"opened"}),ko(603979776,6,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(14,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,15)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,15)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,15)._animationStarted()&&t),t}),aV,tV)),Di(15,180224,[[5,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(16,{collapsedHeight:0,expandedHeight:1}),Oo(17,{value:0,params:1}),(n()(),_o(18,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(19,16384,null,0,Zj,[],null,null),(n()(),Lo(20,null,[" "," "])),(n()(),_o(21,0,null,1,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(22,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,7,{_controlNonStatic:0}),ko(335544320,8,{_controlStatic:0}),ko(603979776,9,{_labelChildNonStatic:0}),ko(335544320,10,{_labelChildStatic:0}),ko(603979776,11,{_placeholderChild:0}),ko(603979776,12,{_errorChildren:1}),ko(603979776,13,{_hintChildren:1}),ko(603979776,14,{_prefixChildren:1}),ko(603979776,15,{_suffixChildren:1}),(n()(),_o(32,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),t}),null,null)),Di(33,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[7,4],[8,4]],nT,null,[OT]),(n()(),_o(35,0,null,1,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,bH)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0),n(l,5,0,"redirect"==e.data.action.keyword),n(l,33,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text"),n(l,37,0,"redirect"==e.data.action.keyword)}),(function(n,l){var e=l.component;n(l,10,0,bi(l,11).expanded,"NoopAnimations"===bi(l,11)._animationMode,bi(l,11)._hasSpacing());var t=bi(l,15).panel._headerId,i=bi(l,15).disabled?-1:0,a=bi(l,15)._getPanelId(),o=bi(l,15)._isExpanded(),r=bi(l,15).panel.disabled,u=bi(l,15)._isExpanded(),s="after"===bi(l,15)._getTogglePosition(),c="before"===bi(l,15)._getTogglePosition(),d=bi(l,15)._animationsDisabled,p=n(l,17,0,bi(l,15)._getExpandedState(),n(l,16,0,bi(l,15).collapsedHeight,bi(l,15).expandedHeight));n(l,14,0,t,i,a,o,r,u,s,c,d,p),n(l,20,0,e.lang.toEntities),n(l,21,1,["standard"==bi(l,22).appearance,"fill"==bi(l,22).appearance,"outline"==bi(l,22).appearance,"legacy"==bi(l,22).appearance,bi(l,22)._control.errorState,bi(l,22)._canLabelFloat,bi(l,22)._shouldLabelFloat(),bi(l,22)._hasFloatingLabel(),bi(l,22)._hideControlPlaceholder(),bi(l,22)._control.disabled,bi(l,22)._control.autofilled,bi(l,22)._control.focused,"accent"==bi(l,22).color,"warn"==bi(l,22).color,bi(l,22)._shouldForward("untouched"),bi(l,22)._shouldForward("touched"),bi(l,22)._shouldForward("pristine"),bi(l,22)._shouldForward("dirty"),bi(l,22)._shouldForward("valid"),bi(l,22)._shouldForward("invalid"),bi(l,22)._shouldForward("pending"),!bi(l,22)._animationsEnabled]),n(l,32,0,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString())}))}function _H(n){return jo(0,[ko(402653184,1,{statusInput:0}),(n()(),_o(1,0,null,null,152,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,4,"h2",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,[""," "])),(n()(),_o(5,0,null,null,1,"small",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),_o(7,0,null,null,140,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(8,16384,null,0,n_,[],null,null),(n()(),_o(9,0,null,null,138,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[["settingGroupsBasket",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,16,"div",[["class","container-fluid"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,7,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["id","usedInActionPage"],["name","usedInActionPage"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.data.action.used_in_action_page=e)&&t),t}),sA,uA)),Di(17,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],id:[1,"id"],name:[2,"name"]},null),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(19,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(22,0,[" ",""])),(n()(),_o(23,0,null,null,7,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["id","usedInBasketlist"],["name","usedInBasketlist"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.data.action.used_in_basketlist=e)&&t),t}),sA,uA)),Di(25,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],id:[1,"id"],name:[2,"name"]},null),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(27,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(29,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(30,0,[" ",""])),(n()(),_o(31,0,null,null,116,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(32,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,2,{_tabs:1}),(n()(),vo(16777216,null,null,1,null,vH)),Di(35,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(36,16777216,null,null,111,"mat-tab",[],null,null,null,BV,zV)),Di(37,770048,[[2,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,26,{templateLabel:0}),ko(335544320,27,{_explicitContent:0}),(n()(),_o(40,0,null,0,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(51,0,null,1,8,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["name","clause"],["rows","1"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,52)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,52).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,52)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,52)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,57)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,57)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,57)._onInput()&&t),"input"===l&&(t=!1!==bi(n,58)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.data.action.where_clause=e)&&t),t}),null,null)),Di(52,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(54,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(56,16384,null,0,y_,[[4,v_]],null,null),Di(57,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Di(58,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matTextareaAutosize:[1,"matTextareaAutosize"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT]),(n()(),_o(60,0,null,0,87,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(61,1720320,null,1,Qj,[],null,null),ko(603979776,37,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(64,16777216,null,null,83,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(65,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,38,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(68,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,69)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,69)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,69)._animationStarted()&&t),t}),aV,tV)),Di(69,180224,[[37,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(70,{collapsedHeight:0,expandedHeight:1}),Oo(71,{value:0,params:1}),(n()(),_o(72,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(73,16384,null,0,Zj,[],null,null),(n()(),Lo(74,null,[" "," "])),(n()(),_o(75,0,null,1,72,"mat-list",[["class","mat-list mat-list-base"],["role","list"],["style","width: 400px;padding: 5px;"]],null,null,null,SI,kI)),Di(76,704512,null,0,tI,[Pe],null,null),(n()(),_o(77,0,null,0,1,"p",[["style","font-size:10px;"]],null,null,null,null,null)),(n()(),Lo(78,null,["",""])),(n()(),_o(79,0,null,0,2,"div",[["style","border:1px black solid; padding:3px;font-size:10px;"]],null,null,null,null,null)),(n()(),_o(80,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(-1,null,["DESTINATION = @my_primary_entity or DESTINATION in (@subentities[@my_primary_entity])"])),(n()(),_o(82,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(83,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@user :"])),(n()(),_o(85,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(86,16384,null,0,pv,[],null,null),(n()(),Lo(87,null,["",""])),(n()(),_o(88,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(89,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@user_id :"])),(n()(),_o(91,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(92,16384,null,0,pv,[],null,null),(n()(),Lo(93,null,["",""])),(n()(),_o(94,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(95,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@email :"])),(n()(),_o(97,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(98,16384,null,0,pv,[],null,null),(n()(),Lo(99,null,["",""])),(n()(),_o(100,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(101,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@my_entities :"])),(n()(),_o(103,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(104,16384,null,0,pv,[],null,null),(n()(),Lo(105,null,["",""])),(n()(),_o(106,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(107,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@my_primary_entity :"])),(n()(),_o(109,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(110,16384,null,0,pv,[],null,null),(n()(),Lo(111,null,["",""])),(n()(),_o(112,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(113,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,[" @subentities[('entity_1',...,'entity_n')] :"])),(n()(),_o(115,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(116,16384,null,0,pv,[],null,null),(n()(),Lo(117,null,["",""])),(n()(),_o(118,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(119,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@parent_entity['entity_id'] :"])),(n()(),_o(121,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(122,16384,null,0,pv,[],null,null),(n()(),Lo(123,null,["",""])),(n()(),_o(124,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(125,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@sisters_entities['entity_id'] : "])),(n()(),_o(127,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(128,16384,null,0,pv,[],null,null),(n()(),Lo(129,null,["",""])),(n()(),_o(130,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(131,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@entity_type['type'] :"])),(n()(),_o(133,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(134,16384,null,0,pv,[],null,null),(n()(),Lo(135,null,["",""])),(n()(),_o(136,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(137,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,["@all_entities :"])),(n()(),_o(139,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(140,16384,null,0,pv,[],null,null),(n()(),Lo(141,null,["",""])),(n()(),_o(142,0,null,0,2,"h4",[["class","mat-line"],["mat-line",""],["style","font-weight:bold;font-size:10px;"]],null,null,null,null,null)),Di(143,16384,null,0,pv,[],null,null),(n()(),Lo(-1,null,[" @immediate_children['entity_1',..., 'entity_id'] :"])),(n()(),_o(145,0,null,0,2,"p",[["class","mat-line"],["mat-line",""],["style","font-size:10px;"]],null,null,null,null,null)),Di(146,16384,null,0,pv,[],null,null),(n()(),Lo(147,null,["",""])),(n()(),_o(148,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(149,0,null,null,4,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(150,16384,null,0,l_,[],null,null),(n()(),_o(151,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["style","margin:auto;"],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveSettings()&&t),t}),PC,MC)),Di(152,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(153,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,17,0,"primary","usedInActionPage","usedInActionPage"),n(l,19,0,"usedInActionPage",e.data.action.used_in_action_page),n(l,25,0,"primary","usedInBasketlist","usedInBasketlist"),n(l,27,0,"usedInBasketlist",e.data.action.used_in_basketlist),n(l,35,0,"redirect"==e.data.action.keyword),n(l,37,0,Wt(1,"",e.lang.otherParameters,"")),n(l,54,0,"clause",e.data.action.where_clause),n(l,57,0,Wt(1,"",e.lang.whereClauseAction,"")),n(l,58,0,"1",""),n(l,152,0,!e.data.action.used_in_basketlist&&!e.data.action.used_in_action_page,"primary")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.lang.actionParameters),n(l,6,0,e.data.action.label_action),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,16,1,[bi(l,17).id,null,bi(l,17).indeterminate,bi(l,17).checked,bi(l,17).disabled,"before"==bi(l,17).labelPosition,"NoopAnimations"===bi(l,17)._animationMode,bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending]),n(l,22,0,e.lang.usedInActionPage),n(l,24,1,[bi(l,25).id,null,bi(l,25).indeterminate,bi(l,25).checked,bi(l,25).disabled,"before"==bi(l,25).labelPosition,"NoopAnimations"===bi(l,25)._animationMode,bi(l,29).ngClassUntouched,bi(l,29).ngClassTouched,bi(l,29).ngClassPristine,bi(l,29).ngClassDirty,bi(l,29).ngClassValid,bi(l,29).ngClassInvalid,bi(l,29).ngClassPending]),n(l,30,0,e.lang.usedInBasketlist),n(l,31,0,bi(l,32).dynamicHeight,"below"===bi(l,32).headerPosition),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[Wt(1,"",e.lang.whereClauseAction,""),bi(l,56).ngClassUntouched,bi(l,56).ngClassTouched,bi(l,56).ngClassPristine,bi(l,56).ngClassDirty,bi(l,56).ngClassValid,bi(l,56).ngClassInvalid,bi(l,56).ngClassPending,bi(l,57)._isServer,bi(l,57).id,bi(l,57).placeholder,bi(l,57).disabled,bi(l,57).required,bi(l,57).readonly&&!bi(l,57)._isNativeSelect||null,bi(l,57)._ariaDescribedby||null,bi(l,57).errorState,bi(l,57).required.toString()]),n(l,64,0,bi(l,65).expanded,"NoopAnimations"===bi(l,65)._animationMode,bi(l,65)._hasSpacing());var t=bi(l,69).panel._headerId,i=bi(l,69).disabled?-1:0,a=bi(l,69)._getPanelId(),o=bi(l,69)._isExpanded(),r=bi(l,69).panel.disabled,u=bi(l,69)._isExpanded(),s="after"===bi(l,69)._getTogglePosition(),c="before"===bi(l,69)._getTogglePosition(),d=bi(l,69)._animationsDisabled,p=n(l,71,0,bi(l,69)._getExpandedState(),n(l,70,0,bi(l,69).collapsedHeight,bi(l,69).expandedHeight));n(l,68,0,t,i,a,o,r,u,s,c,d,p),n(l,74,0,e.lang.keywordHelp),n(l,78,0,e.lang.keywordHelpDesc_11),n(l,87,0,e.lang.keywordHelpDesc_1),n(l,93,0,e.lang.keywordHelpDesc_12),n(l,99,0,e.lang.keywordHelpDesc_2),n(l,105,0,e.lang.keywordHelpDesc_3),n(l,111,0,e.lang.keywordHelpDesc_4),n(l,117,0,e.lang.keywordHelpDesc_5),n(l,123,0,e.lang.keywordHelpDesc_6),n(l,129,0,e.lang.keywordHelpDesc_7),n(l,135,0,e.lang.keywordHelpDesc_8),n(l,141,0,e.lang.keywordHelpDesc_9),n(l,147,0,e.lang.keywordHelpDesc_10),n(l,151,0,bi(l,152).disabled||null,"NoopAnimations"===bi(l,152)._animationMode),n(l,153,0,e.lang.validate)}))}function yH(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,_H,fH)),Di(1,114688,null,0,q$,[nS,tu,Gv,Hv],null,null)],(function(n,l){n(l,1,0)}),null)}var wH=oi("ng-component",q$,yH,{},{},[]),xH=yt({encapsulation:0,styles:[".mat-dialog-content[_ngcontent-%COMP%]{height: 65vh;}"],data:{}});function CH(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.validateForm(n.parent.context.$implicit)&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),Lo(5,2,[" "," "]))],null,(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,l.parent.context.$implicit.group_desc)}))}function kH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,CH)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,0==l.context.$implicit.isUsed)}),null)}function SH(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h2",[["class","mat-dialog-title"],["color","primary"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,5,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(7,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,kH)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,9,0,e.data.groups)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.linkGroup)}))}function IH(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,SH,xH)),Di(1,114688,null,0,z$,[nS,tu,Gv,Hv],null,null)],(function(n,l){n(l,1,0)}),null)}var AH=oi("ng-component",z$,IH,{},{},[]),MH=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.viewContainerRef=a,this.config={},this.lang=Kr,this.doctypes=[],this.currentType=!1,this.currentSecondLevel=!1,this.currentFirstLevel=!1,this.firstLevels=!1,this.types=!1,this.secondLevels=!1,this.processModes=!1,this.loading=!1,this.creationMode=!1,this.newSecondLevel=!1,this.newFirstLevel=!1,this.displayedColumns=["label","use","mandatory","column"],$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.documentTypes),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/doctypes").subscribe((function(l){n.doctypes=l.structure,setTimeout((function(){$j("#jstree").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:n.doctypes,check_callback:function(n,l,e,t,i){if("move_node"==n)return!(void 0!==i.ref&&(!isNaN(parseFloat(l.id))&&isFinite(l.id)&&0==i.ref.id.indexOf("secondlevel_")?i.ref.children.indexOf(l.id)>-1:0!=l.id.indexOf("secondlevel_")||0!=i.ref.id.indexOf("firstlevel_")||i.ref.children.indexOf(l.id)>-1))}},dnd:{is_draggable:function(n){return this.secondLevelSelected=n[0].id.replace("secondlevel_",""),!!(!isNaN(parseFloat(this.secondLevelSelected))&&isFinite(this.secondLevelSelected)||!isNaN(parseFloat(n[0].id))&&isFinite(n[0].id))}},plugins:["search","dnd","contextmenu"]});var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)})),$j("#jstree").on("select_node.jstree",(function(l,e){0==n.sidenavRight.opened&&n.sidenavRight.open(),n.loadDoctype(e,!1)})).on("move_node.jstree",(function(l,e){n.loadDoctype(e,!0)})).jstree()}),0),$j("#jstree").jstree("select_node",n.doctypes[0]),n.loading=!1}),(function(l){n.notify.handleErrors(l)}))},n.prototype.loadDoctype=function(n,l){var e=this;this.creationMode=!1,n.node.original.type_id?(this.currentFirstLevel=!1,this.currentSecondLevel=!1,this.http.get("../../rest/doctypes/types/"+n.node.original.type_id).subscribe((function(t){e.currentType=t.doctype,e.secondLevels=t.secondLevel,e.processModes=["NORMAL","SVA","SVR"],l&&(e.currentType?(e.newSecondLevel=n.parent.replace("secondlevel_",""),!isNaN(parseFloat(e.newSecondLevel))&&isFinite(e.newSecondLevel)?e.currentType.doctypes_second_level_id!=e.newSecondLevel&&(e.currentType.doctypes_second_level_id=e.newSecondLevel,e.saveType()):alert(e.lang.cantMoveDoctype)):alert(e.lang.noDoctypeSelected))}),(function(n){e.notify.error(n.error.errors)}))):n.node.original.doctypes_second_level_id?(this.currentFirstLevel=!1,this.currentType=!1,this.http.get("../../rest/doctypes/secondLevel/"+n.node.original.doctypes_second_level_id).subscribe((function(t){e.currentSecondLevel=t.secondLevel,e.firstLevels=t.firstLevel,l&&(e.currentSecondLevel?(e.newFirstLevel=n.parent.replace("firstlevel_",""),!isNaN(parseFloat(e.newFirstLevel))&&isFinite(e.newFirstLevel)?e.currentSecondLevel.doctypes_first_level_id!=e.newFirstLevel&&(e.currentSecondLevel.doctypes_first_level_id=e.newFirstLevel,e.saveSecondLevel()):alert(e.lang.cantMoveFirstLevel)):alert(e.lang.noFirstLevelSelected))}),(function(n){e.notify.error(n.error.errors)}))):(this.currentSecondLevel=!1,this.currentType=!1,this.http.get("../../rest/doctypes/firstLevel/"+n.node.original.doctypes_first_level_id).subscribe((function(n){e.currentFirstLevel=n.firstLevel}),(function(n){e.notify.error(n.error.errors)})))},n.prototype.resetDatas=function(){this.currentFirstLevel=!1,this.currentSecondLevel=!1,this.currentType=!1},n.prototype.refreshTree=function(){$j("#jstree").jstree(!0).settings.core.data=this.doctypes,$j("#jstree").jstree("refresh")},n.prototype.saveFirstLevel=function(){var n=this;this.creationMode?this.http.post("../../rest/doctypes/firstLevel",this.currentFirstLevel).subscribe((function(l){n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),n.notify.success(n.lang.firstLevelAdded)}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/doctypes/firstLevel/"+this.currentFirstLevel.doctypes_first_level_id,this.currentFirstLevel).subscribe((function(l){n.doctypes=l.doctypeTree,n.refreshTree(),n.notify.success(n.lang.firstLevelUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.saveSecondLevel=function(){var n=this;this.creationMode?this.http.post("../../rest/doctypes/secondLevel",this.currentSecondLevel).subscribe((function(l){n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),n.notify.success(n.lang.secondLevelAdded)}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/doctypes/secondLevel/"+this.currentSecondLevel.doctypes_second_level_id,this.currentSecondLevel).subscribe((function(l){n.doctypes=l.doctypeTree,n.refreshTree(),n.notify.success(n.lang.secondLevelUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.saveType=function(){var n=this;this.creationMode?this.http.post("../../rest/doctypes/types",this.currentType).subscribe((function(l){n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),n.notify.success(n.lang.documentTypeAdded)}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/doctypes/types/"+this.currentType.type_id,this.currentType).subscribe((function(l){n.doctypes=l.doctypeTree,n.refreshTree(),n.notify.success(n.lang.documentTypeUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.readMode=function(){this.creationMode=!1,$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",this.doctypes[0])},n.prototype.removeFirstLevel=function(){var n=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentFirstLevel.doctypes_first_level_label+" »")&&this.http.delete("../../rest/doctypes/firstLevel/"+this.currentFirstLevel.doctypes_first_level_id).subscribe((function(l){n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),n.doctypes[0]?$j("#jstree").jstree("select_node",n.doctypes[0]):1==n.sidenavRight.opened&&n.sidenavRight.close(),n.notify.success(n.lang.firstLevelDeleted)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.removeSecondLevel=function(){var n=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentSecondLevel.doctypes_second_level_label+" »")&&this.http.delete("../../rest/doctypes/secondLevel/"+this.currentSecondLevel.doctypes_second_level_id).subscribe((function(l){n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),$j("#jstree").jstree("select_node",n.doctypes[0]),n.notify.success(n.lang.secondLevelDeleted)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.removeType=function(){var n=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentType.description+" »")&&this.http.delete("../../rest/doctypes/types/"+this.currentType.type_id).subscribe((function(l){0==l.deleted?(n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),$j("#jstree").jstree("select_node",n.doctypes[0]),n.notify.success(n.lang.documentTypeDeleted)):(n.config={panelClass:"maarch-modal",data:{count:l.deleted,types:l.doctypes}},n.dialogRef=n.dialog.open(PH,n.config),n.dialogRef.afterClosed().subscribe((function(l){l&&n.http.put("../../rest/doctypes/types/"+n.currentType.type_id+"/redirect",l).subscribe((function(l){n.resetDatas(),n.readMode(),n.doctypes=l.doctypeTree,n.refreshTree(),$j("#jstree").jstree("select_node",n.doctypes[0]),n.notify.success(n.lang.documentTypeDeleted)}),(function(l){n.notify.error(l.error.errors)})),n.dialogRef=null})))}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.prepareDoctypeAdd=function(n){var l=this;this.currentFirstLevel=!1,this.currentSecondLevel=!1,this.currentType=!1,"firstLevel"==n&&(this.currentFirstLevel={}),"secondLevel"==n&&(this.currentSecondLevel={}),"doctype"==n&&(this.currentType={}),0==this.sidenavRight.opened&&this.sidenavRight.open(),$j("#jstree").jstree("deselect_all"),this.http.get("../../rest/administration/doctypes/new").subscribe((function(n){l.firstLevels=n.firstLevel,l.secondLevels=n.secondLevel,l.processModes=["NORMAL","SVA","SVR"]}),(function(n){l.notify.error(n.error.errors)})),this.creationMode=n},n}(),PH=function(){return function(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr}}(),DH=yt({encapsulation:2,styles:[],data:{}});function FH(n){return jo(0,[(n()(),_o(0,0,null,null,43,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,12,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.prepareDoctypeAdd("firstLevel")&&t),t}),AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(10,0,null,0,4,"mat-icon",[["class","fa-stack fa-fw mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-left:-3px; font-size:18px"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(13,0,null,0,0,"i",[["class","fa fa-folder"]],null,null,null,null,null)),(n()(),_o(14,0,null,0,0,"i",[["class","fa fa-plus"],["style","position:absolute"]],null,null,null,null,null)),(n()(),_o(15,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(16,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(17,null,[" "," "])),(n()(),_o(18,0,null,0,12,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.prepareDoctypeAdd("secondLevel")&&t),t}),AI,II)),Di(19,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(23,0,null,0,4,"mat-icon",[["class","fa-stack fa-fw mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-left:-3px; font-size:18px"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(24,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(25,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(26,0,null,0,0,"i",[["class","fa fa-folder"]],null,null,null,null,null)),(n()(),_o(27,0,null,0,0,"i",[["class","fa fa-plus"],["style","position:absolute"]],null,null,null,null,null)),(n()(),_o(28,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(29,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(30,null,[" "," "])),(n()(),_o(31,0,null,0,12,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.prepareDoctypeAdd("doctype")&&t),t}),AI,II)),Di(32,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(36,0,null,0,4,"mat-icon",[["class","fa-stack fa-fw mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-left:-3px; font-size:18px"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(37,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(38,16384,[[15,4]],0,iI,[],null,null),(n()(),_o(39,0,null,0,0,"i",[["class","fa fa-file"]],null,null,null,null,null)),(n()(),_o(40,0,null,0,0,"i",[["class","fa fa-plus"],["style","position:absolute"]],null,null,null,null,null)),(n()(),_o(41,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(42,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(43,null,[" "," "]))],(function(n,l){n(l,11,0,"primary"),n(l,24,0,"primary"),n(l,37,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,17,0,e.lang.addFirstLevel),n(l,18,0,bi(l,19)._avatar||bi(l,19)._icon,bi(l,19)._avatar||bi(l,19)._icon),n(l,23,0,bi(l,24).inline,"primary"!==bi(l,24).color&&"accent"!==bi(l,24).color&&"warn"!==bi(l,24).color),n(l,30,0,e.lang.addSecondLevel),n(l,31,0,bi(l,32)._avatar||bi(l,32)._icon,bi(l,32)._avatar||bi(l,32)._icon),n(l,36,0,bi(l,37).inline,"primary"!==bi(l,37).color&&"accent"!==bi(l,37).color&&"warn"!==bi(l,37).color),n(l,43,0,e.lang.addDoctype)}))}function EH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function OH(n){return jo(0,[(n()(),_o(0,0,null,null,18,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,16,{_controlNonStatic:0}),ko(335544320,17,{_controlStatic:0}),ko(603979776,18,{_labelChildNonStatic:0}),ko(335544320,19,{_labelChildStatic:0}),ko(603979776,20,{_placeholderChild:0}),ko(603979776,21,{_errorChildren:1}),ko(603979776,22,{_hintChildren:1}),ko(603979776,23,{_prefixChildren:1}),ko(603979776,24,{_suffixChildren:1}),(n()(),_o(13,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,14)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,14)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,14)._onInput()&&t),t}),null,null)),Di(14,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[16,4],[17,4]],nT,null,[OT]),(n()(),_o(16,0,null,0,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),_o(17,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(18,null,[" "," ",""]))],(function(n,l){n(l,14,0,"jstree_search",Wt(1,"",l.component.lang.search,""),"text")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,0,bi(l,14)._isServer,bi(l,14).id,bi(l,14).placeholder,bi(l,14).disabled,bi(l,14).required,bi(l,14).readonly&&!bi(l,14)._isNativeSelect||null,bi(l,14)._ariaDescribedby||null,bi(l,14).errorState,bi(l,14).required.toString()),n(l,18,0,e.doctypes.length,e.lang.documentTypesAlt)}))}function TH(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(13,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","doctypes_first_level_id"],["matInput",""],["maxlength","255"],["name","doctypes_first_level_id"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,14)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,14).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,14)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,14)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentFirstLevel.doctypes_first_level_id=e)&&t),t}),null,null)),Di(14,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(15,16384,null,0,My,[],{required:[0,"required"]},null),Di(16,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,15,0,""),n(l,16,0,"255"),n(l,19,0,"doctypes_first_level_id",!e.creationMode,e.currentFirstLevel.doctypes_first_level_id),n(l,22,0,!e.creationMode,"doctypes_first_level_id",Wt(1,"",e.lang.id,""),"","text")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.id,""),bi(l,15).required?"":null,bi(l,16).maxlength?bi(l,16).maxlength:null,bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()])}))}function LH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFirstLevel()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!bi(l.parent,6).form.valid||e.currentFirstLevel.hasChildren,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function RH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.readMode()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.cancel)}))}function NH(n){return jo(0,[(n()(),_o(0,16777216,null,null,43,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,26,{templateLabel:0}),ko(335544320,27,{_explicitContent:0}),(n()(),_o(4,0,null,0,39,"form",[["class","form-horizontal"],["novalidate",""],["style","overflow:hidden;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,6).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,6).onReset()&&t),t}),null,null)),Di(5,16384,null,0,yy,[],null,null),Di(6,4210688,[["firstLevelForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(8,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,TH)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,37,{_controlNonStatic:0}),ko(335544320,38,{_controlStatic:0}),ko(603979776,39,{_labelChildNonStatic:0}),ko(335544320,40,{_labelChildStatic:0}),ko(603979776,41,{_placeholderChild:0}),ko(603979776,42,{_errorChildren:1}),ko(603979776,43,{_hintChildren:1}),ko(603979776,44,{_prefixChildren:1}),ko(603979776,45,{_suffixChildren:1}),(n()(),_o(24,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","doctypes_first_level_label"],["matInput",""],["maxlength","255"],["name","doctypes_first_level_label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,25)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,25)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,25)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentFirstLevel.doctypes_first_level_label=e)&&t),t}),null,null)),Di(25,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(26,16384,null,0,My,[],{required:[0,"required"]},null),Di(27,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(30,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(32,16384,null,0,y_,[[4,v_]],null,null),Di(33,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[37,4],[38,4]],nT,null,[OT]),(n()(),_o(35,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,7,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveFirstLevel()&&t),t}),PC,MC)),Di(38,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(39,0,["",""])),(n()(),vo(16777216,null,null,1,null,LH)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,RH)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.firstLevelDoctype,"")),n(l,10,0,!e.creationMode),n(l,26,0,""),n(l,27,0,"255"),n(l,30,0,"doctypes_first_level_label",e.currentFirstLevel.doctypes_first_level_label),n(l,33,0,"doctypes_first_level_label",Wt(1,"",e.lang.label,""),"","text"),n(l,38,0,!bi(l,6).form.valid,"primary"),n(l,41,0,!e.creationMode),n(l,43,0,e.creationMode)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,24,1,[Wt(1,"",e.lang.label,""),bi(l,26).required?"":null,bi(l,27).maxlength?bi(l,27).maxlength:null,bi(l,32).ngClassUntouched,bi(l,32).ngClassTouched,bi(l,32).ngClassPristine,bi(l,32).ngClassDirty,bi(l,32).ngClassValid,bi(l,32).ngClassInvalid,bi(l,32).ngClassPending,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()]),n(l,37,0,bi(l,38).disabled||null,"NoopAnimations"===bi(l,38)._animationMode),n(l,39,0,e.lang.save)}))}function jH(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,48,{_controlNonStatic:0}),ko(335544320,49,{_controlStatic:0}),ko(603979776,50,{_labelChildNonStatic:0}),ko(335544320,51,{_labelChildStatic:0}),ko(603979776,52,{_placeholderChild:0}),ko(603979776,53,{_errorChildren:1}),ko(603979776,54,{_hintChildren:1}),ko(603979776,55,{_prefixChildren:1}),ko(603979776,56,{_suffixChildren:1}),(n()(),_o(13,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","doctypes_second_level_id"],["matInput",""],["maxlength","255"],["name","doctypes_second_level_id"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,14)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,14).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,14)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,14)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentSecondLevel.doctypes_second_level_id=e)&&t),t}),null,null)),Di(14,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(15,16384,null,0,My,[],{required:[0,"required"]},null),Di(16,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[48,4],[49,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,15,0,""),n(l,16,0,"255"),n(l,19,0,"doctypes_second_level_id",!e.creationMode,e.currentSecondLevel.doctypes_second_level_id),n(l,22,0,!e.creationMode,"doctypes_second_level_id",Wt(1,"",e.lang.id,""),"","text")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.id,""),bi(l,15).required?"":null,bi(l,16).maxlength?bi(l,16).maxlength:null,bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()])}))}function VH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[75,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.doctypes_first_level_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.doctypes_first_level_label)}))}function qH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeSecondLevel()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!bi(l.parent,6).form.valid||e.currentSecondLevel.hasChildren,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function zH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.readMode()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.cancel)}))}function UH(n){return jo(0,[(n()(),_o(0,16777216,null,null,70,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,46,{templateLabel:0}),ko(335544320,47,{_explicitContent:0}),(n()(),_o(4,0,null,0,66,"form",[["class","form-horizontal"],["novalidate",""],["style","overflow:hidden;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,6).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,6).onReset()&&t),t}),null,null)),Di(5,16384,null,0,yy,[],null,null),Di(6,4210688,[["secondLevelForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(8,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,jH)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,57,{_controlNonStatic:0}),ko(335544320,58,{_controlStatic:0}),ko(603979776,59,{_labelChildNonStatic:0}),ko(335544320,60,{_labelChildStatic:0}),ko(603979776,61,{_placeholderChild:0}),ko(603979776,62,{_errorChildren:1}),ko(603979776,63,{_hintChildren:1}),ko(603979776,64,{_prefixChildren:1}),ko(603979776,65,{_suffixChildren:1}),(n()(),_o(24,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","doctypes_second_level_label"],["matInput",""],["maxlength","255"],["name","doctypes_second_level_label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,25)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,25)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,25)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentSecondLevel.doctypes_second_level_label=e)&&t),t}),null,null)),Di(25,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(26,16384,null,0,My,[],{required:[0,"required"]},null),Di(27,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(30,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(32,16384,null,0,y_,[[4,v_]],null,null),Di(33,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[57,4],[58,4]],nT,null,[OT]),(n()(),_o(35,0,null,null,26,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,25,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(38,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,66,{_controlNonStatic:0}),ko(335544320,67,{_controlStatic:0}),ko(603979776,68,{_labelChildNonStatic:0}),ko(335544320,69,{_labelChildStatic:0}),ko(603979776,70,{_placeholderChild:0}),ko(603979776,71,{_errorChildren:1}),ko(603979776,72,{_hintChildren:1}),ko(603979776,73,{_prefixChildren:1}),ko(603979776,74,{_suffixChildren:1}),(n()(),_o(48,0,null,1,13,"mat-select",[["class","mat-select"],["id","doctypes_first_level_id"],["name","doctypes_first_level_id"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,55)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,55)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,55)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentSecondLevel.doctypes_first_level_id=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(50,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(52,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(54,16384,null,0,y_,[[4,v_]],null,null),Di(55,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,75,{options:1}),ko(603979776,76,{optionGroups:1}),ko(603979776,77,{customTrigger:0}),Ei(2048,[[66,4],[67,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,VH)),Di(61,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(62,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(63,0,null,null,7,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(64,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveSecondLevel()&&t),t}),PC,MC)),Di(65,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(66,0,["",""])),(n()(),vo(16777216,null,null,1,null,qH)),Di(68,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zH)),Di(70,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.secondLevelDoctype,"")),n(l,10,0,!e.creationMode),n(l,26,0,""),n(l,27,0,"255"),n(l,30,0,"doctypes_second_level_label",e.currentSecondLevel.doctypes_second_level_label),n(l,33,0,"doctypes_second_level_label",Wt(1,"",e.lang.label,""),"","text"),n(l,50,0,""),n(l,52,0,"doctypes_first_level_id",e.currentSecondLevel.doctypes_first_level_id),n(l,55,0,Wt(1,"",e.lang.firstLevelAttached,""),"","doctypes_first_level_id"),n(l,61,0,e.firstLevels),n(l,65,0,!bi(l,6).form.valid,"primary"),n(l,68,0,!e.creationMode),n(l,70,0,e.creationMode)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,24,1,[Wt(1,"",e.lang.label,""),bi(l,26).required?"":null,bi(l,27).maxlength?bi(l,27).maxlength:null,bi(l,32).ngClassUntouched,bi(l,32).ngClassTouched,bi(l,32).ngClassPristine,bi(l,32).ngClassDirty,bi(l,32).ngClassValid,bi(l,32).ngClassInvalid,bi(l,32).ngClassPending,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()]),n(l,37,1,["standard"==bi(l,38).appearance,"fill"==bi(l,38).appearance,"outline"==bi(l,38).appearance,"legacy"==bi(l,38).appearance,bi(l,38)._control.errorState,bi(l,38)._canLabelFloat,bi(l,38)._shouldLabelFloat(),bi(l,38)._hasFloatingLabel(),bi(l,38)._hideControlPlaceholder(),bi(l,38)._control.disabled,bi(l,38)._control.autofilled,bi(l,38)._control.focused,"accent"==bi(l,38).color,"warn"==bi(l,38).color,bi(l,38)._shouldForward("untouched"),bi(l,38)._shouldForward("touched"),bi(l,38)._shouldForward("pristine"),bi(l,38)._shouldForward("dirty"),bi(l,38)._shouldForward("valid"),bi(l,38)._shouldForward("invalid"),bi(l,38)._shouldForward("pending"),!bi(l,38)._animationsEnabled]),n(l,48,1,[Wt(1,"",e.lang.firstLevelAttached,""),bi(l,50).required?"":null,bi(l,54).ngClassUntouched,bi(l,54).ngClassTouched,bi(l,54).ngClassPristine,bi(l,54).ngClassDirty,bi(l,54).ngClassValid,bi(l,54).ngClassInvalid,bi(l,54).ngClassPending,bi(l,55).id,bi(l,55).tabIndex,bi(l,55)._getAriaLabel(),bi(l,55)._getAriaLabelledby(),bi(l,55).required.toString(),bi(l,55).disabled.toString(),bi(l,55).errorState,bi(l,55).panelOpen?bi(l,55)._optionIds:null,bi(l,55).multiple,bi(l,55)._ariaDescribedby||null,bi(l,55)._getAriaActiveDescendant(),bi(l,55).disabled,bi(l,55).errorState,bi(l,55).required,bi(l,55).empty]),n(l,64,0,bi(l,65).disabled||null,"NoopAnimations"===bi(l,65)._animationMode),n(l,66,0,e.lang.save)}))}function BH(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,80,{_controlNonStatic:0}),ko(335544320,81,{_controlStatic:0}),ko(603979776,82,{_labelChildNonStatic:0}),ko(335544320,83,{_labelChildStatic:0}),ko(603979776,84,{_placeholderChild:0}),ko(603979776,85,{_errorChildren:1}),ko(603979776,86,{_hintChildren:1}),ko(603979776,87,{_prefixChildren:1}),ko(603979776,88,{_suffixChildren:1}),(n()(),_o(13,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","type_id"],["matInput",""],["maxlength","255"],["name","type_id"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,14)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,14).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,14)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,14)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.type_id=e)&&t),t}),null,null)),Di(14,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(15,16384,null,0,My,[],{required:[0,"required"]},null),Di(16,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[80,4],[81,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,15,0,""),n(l,16,0,"255"),n(l,19,0,"type_id",!e.creationMode,e.currentType.type_id),n(l,22,0,!e.creationMode,"type_id",Wt(1,"",e.lang.id,""),"","text")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.id,""),bi(l,15).required?"":null,bi(l,16).maxlength?bi(l,16).maxlength:null,bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()])}))}function $H(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[107,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.doctypes_second_level_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.doctypes_second_level_label)}))}function HH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[146,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function GH(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.removeType()&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(3,0,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.toolTipDeleteDoctype,"")),n(l,2,0,!bi(l.parent,6).form.valid,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang.delete)}))}function WH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.readMode()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.cancel)}))}function KH(n){return jo(0,[(n()(),_o(0,16777216,null,null,264,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[25,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,78,{templateLabel:0}),ko(335544320,79,{_explicitContent:0}),(n()(),_o(4,0,null,0,260,"form",[["class","form-horizontal"],["novalidate",""],["style","overflow:hidden;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,6).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,6).onReset()&&t),t}),null,null)),Di(5,16384,null,0,yy,[],null,null),Di(6,4210688,[["typeForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(8,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,BH)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,89,{_controlNonStatic:0}),ko(335544320,90,{_controlStatic:0}),ko(603979776,91,{_labelChildNonStatic:0}),ko(335544320,92,{_labelChildStatic:0}),ko(603979776,93,{_placeholderChild:0}),ko(603979776,94,{_errorChildren:1}),ko(603979776,95,{_hintChildren:1}),ko(603979776,96,{_prefixChildren:1}),ko(603979776,97,{_suffixChildren:1}),(n()(),_o(24,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["maxlength","255"],["name","description"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,25)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,25)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,25)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.description=e)&&t),t}),null,null)),Di(25,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(26,16384,null,0,My,[],{required:[0,"required"]},null),Di(27,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(30,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(32,16384,null,0,y_,[[4,v_]],null,null),Di(33,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[89,4],[90,4]],nT,null,[OT]),(n()(),_o(35,0,null,null,26,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,25,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(38,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,98,{_controlNonStatic:0}),ko(335544320,99,{_controlStatic:0}),ko(603979776,100,{_labelChildNonStatic:0}),ko(335544320,101,{_labelChildStatic:0}),ko(603979776,102,{_placeholderChild:0}),ko(603979776,103,{_errorChildren:1}),ko(603979776,104,{_hintChildren:1}),ko(603979776,105,{_prefixChildren:1}),ko(603979776,106,{_suffixChildren:1}),(n()(),_o(48,0,null,1,13,"mat-select",[["class","mat-select"],["id","doctypes_second_level_id"],["name","doctypes_second_level_id"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,55)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,55)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,55)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.doctypes_second_level_id=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(50,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(52,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(54,16384,null,0,y_,[[4,v_]],null,null),Di(55,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,107,{options:1}),ko(603979776,108,{optionGroups:1}),ko(603979776,109,{customTrigger:0}),Ei(2048,[[98,4],[99,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,$H)),Di(61,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(62,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(63,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(64,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(65,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,110,{_controlNonStatic:0}),ko(335544320,111,{_controlStatic:0}),ko(603979776,112,{_labelChildNonStatic:0}),ko(335544320,113,{_labelChildStatic:0}),ko(603979776,114,{_placeholderChild:0}),ko(603979776,115,{_errorChildren:1}),ko(603979776,116,{_hintChildren:1}),ko(603979776,117,{_prefixChildren:1}),ko(603979776,118,{_suffixChildren:1}),(n()(),_o(75,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","process_delay"],["matInput",""],["name","process_delay"],["pattern","^[0-9]*$"],["required",""],["type","number"]],[[8,"title",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,76)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,76).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,76)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,76)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,77).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,77).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,77).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,85)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,85)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,85)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.process_delay=e)&&t),t}),null,null)),Di(76,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(77,16384,null,0,F_,[Te,Pe],null,null),Di(78,16384,null,0,My,[],{required:[0,"required"]},null),Di(79,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(82,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(84,16384,null,0,y_,[[4,v_]],null,null),Di(85,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[110,4],[111,4]],nT,null,[OT]),(n()(),_o(87,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(88,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(89,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(90,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,119,{_controlNonStatic:0}),ko(335544320,120,{_controlStatic:0}),ko(603979776,121,{_labelChildNonStatic:0}),ko(335544320,122,{_labelChildStatic:0}),ko(603979776,123,{_placeholderChild:0}),ko(603979776,124,{_errorChildren:1}),ko(603979776,125,{_hintChildren:1}),ko(603979776,126,{_prefixChildren:1}),ko(603979776,127,{_suffixChildren:1}),(n()(),_o(100,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","delay1"],["matInput",""],["name","delay1"],["pattern","^[0-9]*$"],["required",""],["type","number"]],[[8,"title",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,101)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,101).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,101)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,101)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,102).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,102).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,102).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,110)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,110)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,110)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.delay1=e)&&t),t}),null,null)),Di(101,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(102,16384,null,0,F_,[Te,Pe],null,null),Di(103,16384,null,0,My,[],{required:[0,"required"]},null),Di(104,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(107,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(109,16384,null,0,y_,[[4,v_]],null,null),Di(110,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[119,4],[120,4]],nT,null,[OT]),(n()(),_o(112,0,null,null,25,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(113,0,null,null,24,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(114,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(115,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,128,{_controlNonStatic:0}),ko(335544320,129,{_controlStatic:0}),ko(603979776,130,{_labelChildNonStatic:0}),ko(335544320,131,{_labelChildStatic:0}),ko(603979776,132,{_placeholderChild:0}),ko(603979776,133,{_errorChildren:1}),ko(603979776,134,{_hintChildren:1}),ko(603979776,135,{_prefixChildren:1}),ko(603979776,136,{_suffixChildren:1}),(n()(),_o(125,0,null,1,12,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","delay2"],["matInput",""],["maxlength","255"],["name","delay2"],["pattern","^[0-9]*$"],["required",""],["type","number"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,126)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,126).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,126)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,126)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,127).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,127).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,127).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,136)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,136)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,136)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.delay2=e)&&t),t}),null,null)),Di(126,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(127,16384,null,0,F_,[Te,Pe],null,null),Di(128,16384,null,0,My,[],{required:[0,"required"]},null),Di(129,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(130,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(133,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(135,16384,null,0,y_,[[4,v_]],null,null),Di(136,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[128,4],[129,4]],nT,null,[OT]),(n()(),_o(138,0,null,null,26,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(139,0,null,null,25,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(140,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(141,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,137,{_controlNonStatic:0}),ko(335544320,138,{_controlStatic:0}),ko(603979776,139,{_labelChildNonStatic:0}),ko(335544320,140,{_labelChildStatic:0}),ko(603979776,141,{_placeholderChild:0}),ko(603979776,142,{_errorChildren:1}),ko(603979776,143,{_hintChildren:1}),ko(603979776,144,{_prefixChildren:1}),ko(603979776,145,{_suffixChildren:1}),(n()(),_o(151,0,null,1,13,"mat-select",[["class","mat-select"],["id","process_mode"],["name","process_mode"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,158)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,158)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,158)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.process_mode=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(153,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(155,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(157,16384,null,0,y_,[[4,v_]],null,null),Di(158,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,146,{options:1}),ko(603979776,147,{optionGroups:1}),ko(603979776,148,{customTrigger:0}),Ei(2048,[[137,4],[138,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,HH)),Di(164,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(165,0,null,null,90,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(166,1720320,null,1,Qj,[],null,null),ko(603979776,149,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(169,16777216,null,null,86,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(170,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,150,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(173,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,174)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,174)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,174)._animationStarted()&&t),t}),aV,tV)),Di(174,180224,[[149,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(175,{collapsedHeight:0,expandedHeight:1}),Oo(176,{value:0,params:1}),(n()(),_o(177,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(178,16384,null,0,Zj,[],null,null),(n()(),Lo(179,null,[" "," "])),(n()(),_o(180,0,null,1,30,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(181,0,null,null,29,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(182,0,null,null,28,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(183,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,151,{_controlNonStatic:0}),ko(335544320,152,{_controlStatic:0}),ko(603979776,153,{_labelChildNonStatic:0}),ko(335544320,154,{_labelChildStatic:0}),ko(603979776,155,{_placeholderChild:0}),ko(603979776,156,{_errorChildren:1}),ko(603979776,157,{_hintChildren:1}),ko(603979776,158,{_prefixChildren:1}),ko(603979776,159,{_suffixChildren:1}),(n()(),_o(193,0,null,1,17,"mat-select",[["class","mat-select"],["id","retention_final_disposition"],["name","retention_final_disposition"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,197)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,197)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,197)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.retention_final_disposition=e)&&t),t}),GR,qR)),Di(194,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(196,16384,null,0,y_,[[4,v_]],null,null),Di(197,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],id:[1,"id"]},null),ko(603979776,160,{options:1}),ko(603979776,161,{optionGroups:1}),ko(603979776,162,{customTrigger:0}),Ei(2048,[[151,4],[152,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(203,0,null,1,1,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,204)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,204)._handleKeydown(e)&&t),t}),bI,hI)),Di(204,8568832,[[160,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(205,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","destruction"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,206)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,206)._handleKeydown(e)&&t),t}),bI,hI)),Di(206,8568832,[[160,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(207,0,["",""])),(n()(),_o(208,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","conservation"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,209)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,209)._handleKeydown(e)&&t),t}),bI,hI)),Di(209,8568832,[[160,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(210,0,["",""])),(n()(),_o(211,0,null,1,44,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(212,0,null,null,21,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(213,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(214,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,163,{_controlNonStatic:0}),ko(335544320,164,{_controlStatic:0}),ko(603979776,165,{_labelChildNonStatic:0}),ko(335544320,166,{_labelChildStatic:0}),ko(603979776,167,{_placeholderChild:0}),ko(603979776,168,{_errorChildren:1}),ko(603979776,169,{_hintChildren:1}),ko(603979776,170,{_prefixChildren:1}),ko(603979776,171,{_suffixChildren:1}),(n()(),_o(224,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","retention_rule"],["matInput",""],["maxlength","15"],["name","retention_rule"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,225)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,225).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,225)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,225)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,232)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,232)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,232)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.retention_rule=e)&&t),t}),null,null)),Di(225,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(226,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(229,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(231,16384,null,0,y_,[[4,v_]],null,null),Di(232,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[163,4],[164,4]],nT,null,[OT]),(n()(),_o(234,0,null,null,21,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(235,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(236,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,172,{_controlNonStatic:0}),ko(335544320,173,{_controlStatic:0}),ko(603979776,174,{_labelChildNonStatic:0}),ko(335544320,175,{_labelChildStatic:0}),ko(603979776,176,{_placeholderChild:0}),ko(603979776,177,{_errorChildren:1}),ko(603979776,178,{_hintChildren:1}),ko(603979776,179,{_prefixChildren:1}),ko(603979776,180,{_suffixChildren:1}),(n()(),_o(246,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","duration_current_use"],["matInput",""],["name","duration_current_use"],["pattern","^[0-9]*$"],["type","text"]],[[8,"title",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,247)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,247).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,247)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,247)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,254)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,254)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,254)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentType.duration_current_use=e)&&t),t}),null,null)),Di(247,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(248,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(251,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(253,16384,null,0,y_,[[4,v_]],null,null),Di(254,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[172,4],[173,4]],nT,null,[OT]),(n()(),_o(256,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(257,0,null,null,7,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(258,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveType()&&t),t}),PC,MC)),Di(259,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(260,0,["",""])),(n()(),vo(16777216,null,null,1,null,GH)),Di(262,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,WH)),Di(264,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.doctype,"")),n(l,10,0,!e.creationMode),n(l,26,0,""),n(l,27,0,"255"),n(l,30,0,"description",e.currentType.description),n(l,33,0,"description",Wt(1,"",e.lang.label,""),"","text"),n(l,50,0,""),n(l,52,0,"doctypes_second_level_id",e.currentType.doctypes_second_level_id),n(l,55,0,Wt(1,"",e.lang.secondLevelAttached,""),"","doctypes_second_level_id"),n(l,61,0,e.secondLevels),n(l,78,0,""),n(l,79,0,"^[0-9]*$"),n(l,82,0,"process_delay",e.currentType.process_delay),n(l,85,0,"process_delay",Wt(1,"",e.lang.processDelayDay,""),"","number"),n(l,103,0,""),n(l,104,0,"^[0-9]*$"),n(l,107,0,"delay1",e.currentType.delay1),n(l,110,0,"delay1",Wt(1,"",e.lang.delay1,""),"","number"),n(l,128,0,""),n(l,129,0,"255"),n(l,130,0,"^[0-9]*$"),n(l,133,0,"delay2",e.currentType.delay2),n(l,136,0,"delay2",Wt(1,"",e.lang.delay2,""),"","number"),n(l,153,0,""),n(l,155,0,"process_mode",e.currentType.process_mode),n(l,158,0,Wt(1,"",e.lang.processMode,""),"","process_mode"),n(l,164,0,e.processModes),n(l,194,0,"retention_final_disposition",e.currentType.retention_final_disposition),n(l,197,0,Wt(1,"",e.lang.retentionFinalDisposition,""),"retention_final_disposition"),n(l,204,0,""),n(l,206,0,"destruction"),n(l,209,0,"conservation"),n(l,226,0,"15"),n(l,229,0,"retention_rule",e.currentType.retention_rule),n(l,232,0,"retention_rule",Wt(1,"",e.lang.retentionRule,""),"text"),n(l,248,0,"^[0-9]*$"),n(l,251,0,"duration_current_use",e.currentType.duration_current_use),n(l,254,0,"duration_current_use",Wt(1,"",e.lang.durationCurrentUse,""),"text"),n(l,259,0,!bi(l,6).form.valid,"primary"),n(l,262,0,!e.creationMode),n(l,264,0,e.creationMode)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,24,1,[Wt(1,"",e.lang.label,""),bi(l,26).required?"":null,bi(l,27).maxlength?bi(l,27).maxlength:null,bi(l,32).ngClassUntouched,bi(l,32).ngClassTouched,bi(l,32).ngClassPristine,bi(l,32).ngClassDirty,bi(l,32).ngClassValid,bi(l,32).ngClassInvalid,bi(l,32).ngClassPending,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()]),n(l,37,1,["standard"==bi(l,38).appearance,"fill"==bi(l,38).appearance,"outline"==bi(l,38).appearance,"legacy"==bi(l,38).appearance,bi(l,38)._control.errorState,bi(l,38)._canLabelFloat,bi(l,38)._shouldLabelFloat(),bi(l,38)._hasFloatingLabel(),bi(l,38)._hideControlPlaceholder(),bi(l,38)._control.disabled,bi(l,38)._control.autofilled,bi(l,38)._control.focused,"accent"==bi(l,38).color,"warn"==bi(l,38).color,bi(l,38)._shouldForward("untouched"),bi(l,38)._shouldForward("touched"),bi(l,38)._shouldForward("pristine"),bi(l,38)._shouldForward("dirty"),bi(l,38)._shouldForward("valid"),bi(l,38)._shouldForward("invalid"),bi(l,38)._shouldForward("pending"),!bi(l,38)._animationsEnabled]),n(l,48,1,[Wt(1,"",e.lang.secondLevelAttached,""),bi(l,50).required?"":null,bi(l,54).ngClassUntouched,bi(l,54).ngClassTouched,bi(l,54).ngClassPristine,bi(l,54).ngClassDirty,bi(l,54).ngClassValid,bi(l,54).ngClassInvalid,bi(l,54).ngClassPending,bi(l,55).id,bi(l,55).tabIndex,bi(l,55)._getAriaLabel(),bi(l,55)._getAriaLabelledby(),bi(l,55).required.toString(),bi(l,55).disabled.toString(),bi(l,55).errorState,bi(l,55).panelOpen?bi(l,55)._optionIds:null,bi(l,55).multiple,bi(l,55)._ariaDescribedby||null,bi(l,55)._getAriaActiveDescendant(),bi(l,55).disabled,bi(l,55).errorState,bi(l,55).required,bi(l,55).empty]),n(l,64,1,["standard"==bi(l,65).appearance,"fill"==bi(l,65).appearance,"outline"==bi(l,65).appearance,"legacy"==bi(l,65).appearance,bi(l,65)._control.errorState,bi(l,65)._canLabelFloat,bi(l,65)._shouldLabelFloat(),bi(l,65)._hasFloatingLabel(),bi(l,65)._hideControlPlaceholder(),bi(l,65)._control.disabled,bi(l,65)._control.autofilled,bi(l,65)._control.focused,"accent"==bi(l,65).color,"warn"==bi(l,65).color,bi(l,65)._shouldForward("untouched"),bi(l,65)._shouldForward("touched"),bi(l,65)._shouldForward("pristine"),bi(l,65)._shouldForward("dirty"),bi(l,65)._shouldForward("valid"),bi(l,65)._shouldForward("invalid"),bi(l,65)._shouldForward("pending"),!bi(l,65)._animationsEnabled]),n(l,75,1,[Wt(1,"",e.lang.processDelayDay,""),bi(l,78).required?"":null,bi(l,79).pattern?bi(l,79).pattern:null,bi(l,84).ngClassUntouched,bi(l,84).ngClassTouched,bi(l,84).ngClassPristine,bi(l,84).ngClassDirty,bi(l,84).ngClassValid,bi(l,84).ngClassInvalid,bi(l,84).ngClassPending,bi(l,85)._isServer,bi(l,85).id,bi(l,85).placeholder,bi(l,85).disabled,bi(l,85).required,bi(l,85).readonly&&!bi(l,85)._isNativeSelect||null,bi(l,85)._ariaDescribedby||null,bi(l,85).errorState,bi(l,85).required.toString()]),n(l,89,1,["standard"==bi(l,90).appearance,"fill"==bi(l,90).appearance,"outline"==bi(l,90).appearance,"legacy"==bi(l,90).appearance,bi(l,90)._control.errorState,bi(l,90)._canLabelFloat,bi(l,90)._shouldLabelFloat(),bi(l,90)._hasFloatingLabel(),bi(l,90)._hideControlPlaceholder(),bi(l,90)._control.disabled,bi(l,90)._control.autofilled,bi(l,90)._control.focused,"accent"==bi(l,90).color,"warn"==bi(l,90).color,bi(l,90)._shouldForward("untouched"),bi(l,90)._shouldForward("touched"),bi(l,90)._shouldForward("pristine"),bi(l,90)._shouldForward("dirty"),bi(l,90)._shouldForward("valid"),bi(l,90)._shouldForward("invalid"),bi(l,90)._shouldForward("pending"),!bi(l,90)._animationsEnabled]),n(l,100,1,[Wt(1,"",e.lang.delay1,""),bi(l,103).required?"":null,bi(l,104).pattern?bi(l,104).pattern:null,bi(l,109).ngClassUntouched,bi(l,109).ngClassTouched,bi(l,109).ngClassPristine,bi(l,109).ngClassDirty,bi(l,109).ngClassValid,bi(l,109).ngClassInvalid,bi(l,109).ngClassPending,bi(l,110)._isServer,bi(l,110).id,bi(l,110).placeholder,bi(l,110).disabled,bi(l,110).required,bi(l,110).readonly&&!bi(l,110)._isNativeSelect||null,bi(l,110)._ariaDescribedby||null,bi(l,110).errorState,bi(l,110).required.toString()]),n(l,114,1,["standard"==bi(l,115).appearance,"fill"==bi(l,115).appearance,"outline"==bi(l,115).appearance,"legacy"==bi(l,115).appearance,bi(l,115)._control.errorState,bi(l,115)._canLabelFloat,bi(l,115)._shouldLabelFloat(),bi(l,115)._hasFloatingLabel(),bi(l,115)._hideControlPlaceholder(),bi(l,115)._control.disabled,bi(l,115)._control.autofilled,bi(l,115)._control.focused,"accent"==bi(l,115).color,"warn"==bi(l,115).color,bi(l,115)._shouldForward("untouched"),bi(l,115)._shouldForward("touched"),bi(l,115)._shouldForward("pristine"),bi(l,115)._shouldForward("dirty"),bi(l,115)._shouldForward("valid"),bi(l,115)._shouldForward("invalid"),bi(l,115)._shouldForward("pending"),!bi(l,115)._animationsEnabled]),n(l,125,1,[Wt(1,"",e.lang.delay2,""),bi(l,128).required?"":null,bi(l,129).maxlength?bi(l,129).maxlength:null,bi(l,130).pattern?bi(l,130).pattern:null,bi(l,135).ngClassUntouched,bi(l,135).ngClassTouched,bi(l,135).ngClassPristine,bi(l,135).ngClassDirty,bi(l,135).ngClassValid,bi(l,135).ngClassInvalid,bi(l,135).ngClassPending,bi(l,136)._isServer,bi(l,136).id,bi(l,136).placeholder,bi(l,136).disabled,bi(l,136).required,bi(l,136).readonly&&!bi(l,136)._isNativeSelect||null,bi(l,136)._ariaDescribedby||null,bi(l,136).errorState,bi(l,136).required.toString()]),n(l,140,1,["standard"==bi(l,141).appearance,"fill"==bi(l,141).appearance,"outline"==bi(l,141).appearance,"legacy"==bi(l,141).appearance,bi(l,141)._control.errorState,bi(l,141)._canLabelFloat,bi(l,141)._shouldLabelFloat(),bi(l,141)._hasFloatingLabel(),bi(l,141)._hideControlPlaceholder(),bi(l,141)._control.disabled,bi(l,141)._control.autofilled,bi(l,141)._control.focused,"accent"==bi(l,141).color,"warn"==bi(l,141).color,bi(l,141)._shouldForward("untouched"),bi(l,141)._shouldForward("touched"),bi(l,141)._shouldForward("pristine"),bi(l,141)._shouldForward("dirty"),bi(l,141)._shouldForward("valid"),bi(l,141)._shouldForward("invalid"),bi(l,141)._shouldForward("pending"),!bi(l,141)._animationsEnabled]),n(l,151,1,[Wt(1,"",e.lang.processMode,""),bi(l,153).required?"":null,bi(l,157).ngClassUntouched,bi(l,157).ngClassTouched,bi(l,157).ngClassPristine,bi(l,157).ngClassDirty,bi(l,157).ngClassValid,bi(l,157).ngClassInvalid,bi(l,157).ngClassPending,bi(l,158).id,bi(l,158).tabIndex,bi(l,158)._getAriaLabel(),bi(l,158)._getAriaLabelledby(),bi(l,158).required.toString(),bi(l,158).disabled.toString(),bi(l,158).errorState,bi(l,158).panelOpen?bi(l,158)._optionIds:null,bi(l,158).multiple,bi(l,158)._ariaDescribedby||null,bi(l,158)._getAriaActiveDescendant(),bi(l,158).disabled,bi(l,158).errorState,bi(l,158).required,bi(l,158).empty]),n(l,169,0,bi(l,170).expanded,"NoopAnimations"===bi(l,170)._animationMode,bi(l,170)._hasSpacing());var t=bi(l,174).panel._headerId,i=bi(l,174).disabled?-1:0,a=bi(l,174)._getPanelId(),o=bi(l,174)._isExpanded(),r=bi(l,174).panel.disabled,u=bi(l,174)._isExpanded(),s="after"===bi(l,174)._getTogglePosition(),c="before"===bi(l,174)._getTogglePosition(),d=bi(l,174)._animationsDisabled,p=n(l,176,0,bi(l,174)._getExpandedState(),n(l,175,0,bi(l,174).collapsedHeight,bi(l,174).expandedHeight));n(l,173,0,t,i,a,o,r,u,s,c,d,p),n(l,179,0,e.lang.archival),n(l,182,1,["standard"==bi(l,183).appearance,"fill"==bi(l,183).appearance,"outline"==bi(l,183).appearance,"legacy"==bi(l,183).appearance,bi(l,183)._control.errorState,bi(l,183)._canLabelFloat,bi(l,183)._shouldLabelFloat(),bi(l,183)._hasFloatingLabel(),bi(l,183)._hideControlPlaceholder(),bi(l,183)._control.disabled,bi(l,183)._control.autofilled,bi(l,183)._control.focused,"accent"==bi(l,183).color,"warn"==bi(l,183).color,bi(l,183)._shouldForward("untouched"),bi(l,183)._shouldForward("touched"),bi(l,183)._shouldForward("pristine"),bi(l,183)._shouldForward("dirty"),bi(l,183)._shouldForward("valid"),bi(l,183)._shouldForward("invalid"),bi(l,183)._shouldForward("pending"),!bi(l,183)._animationsEnabled]),n(l,193,1,[Wt(1,"",e.lang.retentionFinalDisposition,""),bi(l,196).ngClassUntouched,bi(l,196).ngClassTouched,bi(l,196).ngClassPristine,bi(l,196).ngClassDirty,bi(l,196).ngClassValid,bi(l,196).ngClassInvalid,bi(l,196).ngClassPending,bi(l,197).id,bi(l,197).tabIndex,bi(l,197)._getAriaLabel(),bi(l,197)._getAriaLabelledby(),bi(l,197).required.toString(),bi(l,197).disabled.toString(),bi(l,197).errorState,bi(l,197).panelOpen?bi(l,197)._optionIds:null,bi(l,197).multiple,bi(l,197)._ariaDescribedby||null,bi(l,197)._getAriaActiveDescendant(),bi(l,197).disabled,bi(l,197).errorState,bi(l,197).required,bi(l,197).empty]),n(l,203,0,bi(l,204)._getTabIndex(),bi(l,204).selected,bi(l,204).multiple,bi(l,204).active,bi(l,204).id,bi(l,204)._getAriaSelected(),bi(l,204).disabled.toString(),bi(l,204).disabled),n(l,205,0,bi(l,206)._getTabIndex(),bi(l,206).selected,bi(l,206).multiple,bi(l,206).active,bi(l,206).id,bi(l,206)._getAriaSelected(),bi(l,206).disabled.toString(),bi(l,206).disabled),n(l,207,0,e.lang.destruction),n(l,208,0,bi(l,209)._getTabIndex(),bi(l,209).selected,bi(l,209).multiple,bi(l,209).active,bi(l,209).id,bi(l,209)._getAriaSelected(),bi(l,209).disabled.toString(),bi(l,209).disabled),n(l,210,0,e.lang.conservation),n(l,213,1,["standard"==bi(l,214).appearance,"fill"==bi(l,214).appearance,"outline"==bi(l,214).appearance,"legacy"==bi(l,214).appearance,bi(l,214)._control.errorState,bi(l,214)._canLabelFloat,bi(l,214)._shouldLabelFloat(),bi(l,214)._hasFloatingLabel(),bi(l,214)._hideControlPlaceholder(),bi(l,214)._control.disabled,bi(l,214)._control.autofilled,bi(l,214)._control.focused,"accent"==bi(l,214).color,"warn"==bi(l,214).color,bi(l,214)._shouldForward("untouched"),bi(l,214)._shouldForward("touched"),bi(l,214)._shouldForward("pristine"),bi(l,214)._shouldForward("dirty"),bi(l,214)._shouldForward("valid"),bi(l,214)._shouldForward("invalid"),bi(l,214)._shouldForward("pending"),!bi(l,214)._animationsEnabled]),n(l,224,1,[Wt(1,"",e.lang.retentionRule,""),bi(l,226).maxlength?bi(l,226).maxlength:null,bi(l,231).ngClassUntouched,bi(l,231).ngClassTouched,bi(l,231).ngClassPristine,bi(l,231).ngClassDirty,bi(l,231).ngClassValid,bi(l,231).ngClassInvalid,bi(l,231).ngClassPending,bi(l,232)._isServer,bi(l,232).id,bi(l,232).placeholder,bi(l,232).disabled,bi(l,232).required,bi(l,232).readonly&&!bi(l,232)._isNativeSelect||null,bi(l,232)._ariaDescribedby||null,bi(l,232).errorState,bi(l,232).required.toString()]),n(l,235,1,["standard"==bi(l,236).appearance,"fill"==bi(l,236).appearance,"outline"==bi(l,236).appearance,"legacy"==bi(l,236).appearance,bi(l,236)._control.errorState,bi(l,236)._canLabelFloat,bi(l,236)._shouldLabelFloat(),bi(l,236)._hasFloatingLabel(),bi(l,236)._hideControlPlaceholder(),bi(l,236)._control.disabled,bi(l,236)._control.autofilled,bi(l,236)._control.focused,"accent"==bi(l,236).color,"warn"==bi(l,236).color,bi(l,236)._shouldForward("untouched"),bi(l,236)._shouldForward("touched"),bi(l,236)._shouldForward("pristine"),bi(l,236)._shouldForward("dirty"),bi(l,236)._shouldForward("valid"),bi(l,236)._shouldForward("invalid"),bi(l,236)._shouldForward("pending"),!bi(l,236)._animationsEnabled]),n(l,246,1,[Wt(1,"",e.lang.durationCurrentUse,""),bi(l,248).pattern?bi(l,248).pattern:null,bi(l,253).ngClassUntouched,bi(l,253).ngClassTouched,bi(l,253).ngClassPristine,bi(l,253).ngClassDirty,bi(l,253).ngClassValid,bi(l,253).ngClassInvalid,bi(l,253).ngClassPending,bi(l,254)._isServer,bi(l,254).id,bi(l,254).placeholder,bi(l,254).disabled,bi(l,254).required,bi(l,254).readonly&&!bi(l,254)._isNativeSelect||null,bi(l,254)._ariaDescribedby||null,bi(l,254).errorState,bi(l,254).required.toString()]),n(l,258,0,bi(l,259).disabled||null,"NoopAnimations"===bi(l,259)._animationMode),n(l,260,0,e.lang.save)}))}function YH(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,34,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,FH)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,EH)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,OH)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,0,12,"mat-sidenav",[["class","col-md-4 col-sm-12 mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,27)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,27)._animationDoneListener(e)&&t),t}),zO,qO)),Di(27,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(28,0,null,0,10,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(29,704512,null,0,eI,[],null,null),(n()(),_o(30,0,null,0,8,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(31,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,25,{_tabs:1}),(n()(),vo(16777216,null,null,1,null,NH)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,UH)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,KH)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading),n(l,27,0,"end",e.appService.getViewMode()?"over":"side",!1,e.appService.getViewMode(),"56"),n(l,34,0,e.currentFirstLevel||"firstLevel"==e.creationMode),n(l,36,0,e.currentSecondLevel||"secondeLevel"==e.creationMode),n(l,38,0,e.currentType||"doctype"==e.creationMode)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,26,0,null,"end"===bi(l,27).position,"over"===bi(l,27).mode,"push"===bi(l,27).mode,"side"===bi(l,27).mode,bi(l,27).opened,bi(l,27).fixedInViewport,bi(l,27).fixedInViewport?bi(l,27).fixedTopGap:null,bi(l,27).fixedInViewport?bi(l,27).fixedBottomGap:null,bi(l,27)._animationState),n(l,30,0,bi(l,31).dynamicHeight,"below"===bi(l,31).headerPosition)}))}function JH(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,YH,DH)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,MH,[nS,tu,Jv,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var ZH=oi("ng-component",MH,JH,{},{},[]),QH=yt({encapsulation:2,styles:[],data:{}});function XH(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.type_id,l.context.$implicit.disabled)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.description)}))}function nG(n){return jo(0,[(n()(),_o(0,0,null,null,56,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h2",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,47,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,45,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,8).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,8).onReset()&&t),t}),null,null)),Di(7,16384,null,0,yy,[],null,null),Di(8,4210688,[["changeDoctypeForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(10,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(11,0,null,null,15,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(13,704512,null,0,tI,[Pe],null,null),(n()(),_o(14,0,null,0,12,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(15,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(19,0,null,0,2,"mat-icon",[["class","fa fa-file fa-2x mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(20,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(21,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(22,0,null,1,4,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(23,16384,[[1,4]],0,pv,[],null,null),(n()(),_o(24,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(25,null,["",""])),(n()(),Lo(26,null,[" "," "])),(n()(),_o(27,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(28,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(38,0,null,1,13,"mat-select",[["class","mat-select"],["id","new_type_id"],["name","new_type_id"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,45)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,45)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,45)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.data.new_type_id=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(40,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(42,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(44,16384,null,0,y_,[[4,v_]],null,null),Di(45,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,13,{options:1}),ko(603979776,14,{optionGroups:1}),ko(603979776,15,{customTrigger:0}),Ei(2048,[[4,4],[5,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,XH)),Di(51,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(52,0,null,null,4,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(53,16384,null,0,l_,[],null,null),(n()(),_o(54,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close(i.data)&&t),t}),PC,MC)),Di(55,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(56,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,20,0,"primary"),n(l,40,0,""),n(l,42,0,"new_type_id",e.data.new_type_id),n(l,45,0,Wt(1,"",e.lang.transferToDoctype,""),"","new_type_id"),n(l,51,0,e.data.types),n(l,55,0,!bi(l,8).form.valid,"warn")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.documentTypeReplacement),n(l,6,0,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending),n(l,14,0,bi(l,15)._avatar||bi(l,15)._icon,bi(l,15)._avatar||bi(l,15)._icon),n(l,19,0,bi(l,20).inline,"primary"!==bi(l,20).color&&"accent"!==bi(l,20).color&&"warn"!==bi(l,20).color),n(l,25,0,e.data.count),n(l,26,0,e.lang.documents),n(l,27,1,["standard"==bi(l,28).appearance,"fill"==bi(l,28).appearance,"outline"==bi(l,28).appearance,"legacy"==bi(l,28).appearance,bi(l,28)._control.errorState,bi(l,28)._canLabelFloat,bi(l,28)._shouldLabelFloat(),bi(l,28)._hasFloatingLabel(),bi(l,28)._hideControlPlaceholder(),bi(l,28)._control.disabled,bi(l,28)._control.autofilled,bi(l,28)._control.focused,"accent"==bi(l,28).color,"warn"==bi(l,28).color,bi(l,28)._shouldForward("untouched"),bi(l,28)._shouldForward("touched"),bi(l,28)._shouldForward("pristine"),bi(l,28)._shouldForward("dirty"),bi(l,28)._shouldForward("valid"),bi(l,28)._shouldForward("invalid"),bi(l,28)._shouldForward("pending"),!bi(l,28)._animationsEnabled]),n(l,38,1,[Wt(1,"",e.lang.transferToDoctype,""),bi(l,40).required?"":null,bi(l,44).ngClassUntouched,bi(l,44).ngClassTouched,bi(l,44).ngClassPristine,bi(l,44).ngClassDirty,bi(l,44).ngClassValid,bi(l,44).ngClassInvalid,bi(l,44).ngClassPending,bi(l,45).id,bi(l,45).tabIndex,bi(l,45)._getAriaLabel(),bi(l,45)._getAriaLabelledby(),bi(l,45).required.toString(),bi(l,45).disabled.toString(),bi(l,45).errorState,bi(l,45).panelOpen?bi(l,45)._optionIds:null,bi(l,45).multiple,bi(l,45)._ariaDescribedby||null,bi(l,45)._getAriaActiveDescendant(),bi(l,45).disabled,bi(l,45).errorState,bi(l,45).required,bi(l,45).empty]),n(l,54,0,bi(l,55).disabled||null,"NoopAnimations"===bi(l,55)._animationMode),n(l,56,0,e.lang.delete)}))}function lG(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,nG,QH)),Di(1,49152,null,0,PH,[nS,Gv,Hv],null,null)],null,null)}var eG=oi("ng-component",PH,lG,{},{},[]),tG=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.functions=a,this.latinisePipe=o,this.viewContainerRef=r,this.lang=Kr,this.loading=!1,this.listTemplates=[],this.listTemplatesForAssign=[],this.displayedColumns=["label","description","typeLabel","actions"],this.dataSource=new mR(this.listTemplates)}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){var t=!1;return e=l.latinisePipe.transform(e),l.displayedColumns.forEach((function(i){"description"===i||"typeLabel"===i?t=t||l.latinisePipe.transform(n[i].toLowerCase()).includes(e):"label"===i&&(t=t||l.latinisePipe.transform(n.title.toLowerCase()).includes(e))})),t}},n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.headerService.setHeader(this.lang.administration+" "+this.lang.workflowModels),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,[4,this.getListemplates()];case 1:return n.sent(),this.loadList(),this.loading=!1,[2]}}))}))},n.prototype.getListemplates=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/listTemplates").pipe(q((function(l){return l.listTemplates=l.listTemplates.filter((function(n){return null===n.entityId&&["visaCircuit","opinionCircuit"].indexOf(n.type)>-1})).map((function(l){return Object(t.__assign)({},l,{typeLabel:n.lang[l.type]})})),l.listTemplates})),Object(JU.tap)((function(e){n.listTemplates=e,l(!0)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.loadList=function(){var n=this;setTimeout((function(){n.dataSource=new mR(n.listTemplates),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=function(n,l){return"description"===l||"typeLabel"===l?n[l].toLocaleLowerCase():"label"===l?n.title.toLocaleLowerCase():void 0},n.sort.active="label",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)},n.prototype.delete=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/listTemplates/"+n.id)})),Object(JU.tap)((function(){l.listTemplates=l.listTemplates.filter((function(l){return l.id!==n.id})),l.notify.success(l.lang.diffusionModelDeleted),l.loadList()})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n}(),iG=yt({encapsulation:2,styles:[],data:{}});function aG(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/diffusionModels/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/diffusionModels/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function oG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function rG(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function uG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.title)}))}function sG(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function cG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.description)}))}function dG(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.type)}))}function pG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.typeLabel)}))}function mG(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function fG(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.delete(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function hG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function gG(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/diffusionModels/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function bG(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(28,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,rG)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,uG)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,sG)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,cG)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,dG)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,pG)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,mG)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,fG)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,hG)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,gG)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[""," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"label","asc"),n(l,31,0,"label"),n(l,44,0,"description"),n(l,57,0,"typeLabel"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.listTemplates.length,e.lang.workflowModels)}))}function vG(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,aG)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,oG)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bG)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function _G(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,vG,iG)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,tG,[nS,tu,Jv,_u,yu,$S,QS,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var yG=oi("ng-component",tG,_G,{},{},[]),wG=function(){function n(n){this.functions=n,this.lang=Kr}return n.prototype.transform=function(n){if(this.functions.empty(n))return"";var l=new Date(n);return this.lang.onRange[0].toUpperCase()+this.lang.onRange.substr(1).toLowerCase()+" "+l.toLocaleDateString(this.lang.langISO,{weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric"})},n}(),xG=function(){function n(n,l){this.changeDetectorRef=n,this.ngZone=l,this.lang=Kr}return n.prototype.transform=function(n,l){var e=this;void 0===l&&(l=null),this.removeTimer();var t=new Date(n),i=("0"+t.getDate()).slice(-2),a=("0"+(t.getMonth()+1)).slice(-2),o=("0"+t.getHours()).slice(-2),r=("0"+t.getMinutes()).slice(-2),u=new Date,s=[];s[0]=this.lang.januaryShort,s[1]=this.lang.februaryShort,s[2]=this.lang.marchShort,s[3]=this.lang.aprilShort,s[4]=this.lang.mayShort,s[5]=this.lang.juneShort,s[6]=this.lang.julyShort,s[7]=this.lang.augustShort,s[8]=this.lang.septemberShort,s[9]=this.lang.octoberShort,s[10]=this.lang.novemberShort,s[11]=this.lang.decemberShort;var c=Math.round(Math.abs((u.getTime()-t.getTime())/1e3)),d=("0"+u.getDate()).slice(-2),p=Number.isNaN(c)?1e3:1e3*this.getSecondsUntilUpdate(c);this.timer=this.ngZone.runOutsideAngular((function(){return"undefined"!=typeof window?window.setTimeout((function(){e.ngZone.run((function(){return e.changeDetectorRef.markForCheck()}))}),p):null}));var m=Math.round(Math.abs(c/60)),f=Math.round(Math.abs(m/60)),h=Math.round(Math.abs(f/24));return Math.round(Math.abs(h/30.416)),Math.round(Math.abs(h/365)),n==this.lang.undefined?this.lang.undefined:Number.isNaN(c)?"":c<=45?this.getFormatedDate(this.lang.dateAgo.toLowerCase(),this.lang.fewSeconds,l):c<=90?this.getFormatedDate(this.lang.dateAgo.toLowerCase(),this.lang.oneMinute,l):m<=45?this.getFormatedDate(this.lang.dateAgo.toLowerCase(),m+" "+this.lang.minutes,l):m<=90?this.getFormatedDate(this.lang.dateAgo.toLowerCase(),this.lang.oneHour,l):f<=24&&i===d?this.getFormatedDate(this.lang.at.toLowerCase(),o+":"+r,l):f<=24?this.getFormatedDate(this.lang.dateAgo.toLowerCase(),h+" "+this.lang.dayS,l):h<=5?this.getFormatedDate(this.lang.dateAgo.toLowerCase(),h+" "+this.lang.dayS,l):this.getFormatedDate(this.lang.dateTo.toLowerCase(),h<=345?t.getDate()+" "+s[t.getMonth()]:i+"/"+a+"/"+t.getFullYear(),l)},n.prototype.ngOnDestroy=function(){this.removeTimer()},n.prototype.removeTimer=function(){this.timer&&(window.clearTimeout(this.timer),this.timer=null)},n.prototype.getSecondsUntilUpdate=function(n){return n<60?2:n<3600?30:n<86400?300:3600},n.prototype.getFormatedDate=function(n,l,e){return"full"===e?n+" "+l:l},n}(),CG=function(){function n(n,l,e,t){this.http=n,this.data=l,this.dialogRef=e,this.notify=t,this.lang=Kr,this.loading=!1,this.template={id:0,type:"visaCircuit",title:"",items:[]}}return n.prototype.ngOnInit=function(){this.template.items=this.data.visaWorkflow.map((function(n){return{id:n.item_id,type:"user",mode:n.requested_signature?"sign":"visa"}}))},n.prototype.onSubmit=function(){var n=this;this.http.post("../../rest/listTemplates",this.template).pipe(Yr((function(l){n.template.id=l.id,n.notify.success(n.lang.modelSaved),n.dialogRef.close(n.template)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),kG=function(){function n(n,l,e,t,i,a,o,r){var u=this;this.http=n,this.notify=l,this.functions=e,this.latinisePipe=t,this.dialog=i,this.scanPipe=a,this.route=o,this.privilegeService=r,this.lang=Kr,this.visaWorkflow={roles:["sign","visa"],items:[]},this.visaWorkflowClone=[],this.visaTemplates={private:[],public:[]},this.signVisaUsers=[],this.loading=!1,this.visaModelListNotLoaded=!0,this.target="",this.resId=null,this.showListModels=!0,this.showComment=!0,this.linkedToMaarchParapheur=!1,this.searchVisaSignUser=new sy,this.loadedInConstructor=!1,this.route.params.subscribe((function(n){u.loading=!0,u.resId=n.resId,u.functions.empty(u.resId)?u.loadedInConstructor=!1:(u.loadedInConstructor=!0,u.loadWorkflow(u.resId))}),(function(n){u.notify.handleErrors(n)}))}return n.prototype.ngOnInit=function(){this.functions.empty(this.resId)||this.loadedInConstructor?this.loading=!1:this.loadWorkflow(this.resId)},n.prototype.drop=function(n){n.previousContainer===n.container&&(this.canManageUser(this.visaWorkflow.items[n.currentIndex],n.currentIndex)?_U(n.container.data,n.previousIndex,n.currentIndex):this.notify.error(""+this.scanPipe.transform(this.lang.moveVisaUserErr,[this.visaWorkflow.items[n.previousIndex].labelToDisplay])))},n.prototype.loadListModel=function(n){var l=this;this.loading=!0,this.visaWorkflow.items=[];var e=!0===this.linkedToMaarchParapheur?"../../rest/listTemplates/entities/"+n+"?type=visaCircuit&maarchParapheur=true":"../../rest/listTemplates/entities/"+n+"?type=visaCircuit";return new Promise((function(n,i){l.http.get(e).subscribe((function(e){e.listTemplates[0]&&(l.visaWorkflow.items=e.listTemplates[0].items.map((function(n){return Object(t.__assign)({},n,{item_entity:n.descriptionToDisplay,requested_signature:"visa"!==n.item_mode})}))),l.visaWorkflow.items.forEach((function(n,e){l.functions.empty(n.externalId)||l.getMaarchParapheurUserAvatar(n.externalId.maarchParapheur,e)})),l.visaWorkflowClone=JSON.parse(JSON.stringify(l.visaWorkflow.items)),l.loading=!1,n(!0)}))}))},n.prototype.loadVisaSignUsersList=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/autocomplete/users/circuit").pipe(q((function(n){return n.map((function(n){return{id:n.id,title:n.idToDisplay+" ("+n.otherInfo+")",label:n.idToDisplay,entity:n.otherInfo,type:"user",hasPrivilege:!0}}))})),Yr((function(e){n.signVisaUsers=e,n.filteredSignVisaUsers=n.searchVisaSignUser.valueChanges.pipe(Pc(""),q((function(l){return n._filter(l)}))),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.loadVisaModelList=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.functions.empty(this.resId)?[3,2]:[4,this.loadDefaultModel()];case 1:l.sent(),l.label=2;case 2:return[2,new Promise((function(l,e){n.http.get("../../rest/availableCircuits?circuit=visa").pipe(Yr((function(e){n.visaTemplates.public=n.visaTemplates.public.concat(e.circuits.filter((function(n){return!n.private})).map((function(n){return{id:n.id,title:n.title,label:n.title,type:"entity"}}))),n.visaTemplates.private=e.circuits.filter((function(n){return n.private})).map((function(n){return{id:n.id,title:n.title,label:n.title,type:"entity"}})),n.filteredPublicModels=n.searchVisaSignUser.valueChanges.pipe(Pc(""),q((function(l){return n._filterPublicModel(l)}))),n.filteredPrivateModels=n.searchVisaSignUser.valueChanges.pipe(Pc(""),q((function(l){return n._filterPrivateModel(l)}))),l(!0)}))).subscribe()}))]}}))}))},n.prototype.loadDefaultModel=function(){var n=this;return this.visaTemplates.public=[],new Promise((function(l,e){n.http.get("../../rest/resources/"+n.resId+"/defaultCircuit?circuit=visa").pipe(tc((function(l){return!n.functions.empty(l.circuit)})),Yr((function(l){n.functions.empty(l.circuit)||n.visaTemplates.public.push({id:l.circuit.id,title:l.circuit.title,label:l.circuit.title,type:"entity"})})),iu((function(){return l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.initFilterVisaModelList=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.linkedToMaarchParapheur?[3,4]:this.visaModelListNotLoaded?[4,this.loadVisaSignUsersList()]:[3,4];case 1:return n.sent(),this.showListModels?[4,this.loadVisaModelList()]:[3,3];case 2:n.sent(),n.label=3;case 3:this.searchVisaSignUser.reset(),this.visaModelListNotLoaded=!1,n.label=4;case 4:return[2]}}))}))},n.prototype._filter=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.signVisaUsers.filter((function(n){return l.latinisePipe.transform(n.title.toLowerCase()).includes(e)}))}return this.signVisaUsers},n.prototype._filterPrivateModel=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.visaTemplates.private.filter((function(n){return l.latinisePipe.transform(n.title.toLowerCase()).includes(e)}))}return this.visaTemplates.private},n.prototype._filterPublicModel=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.visaTemplates.public.filter((function(n){return l.latinisePipe.transform(n.title.toLowerCase()).includes(e)}))}return this.visaTemplates.public},n.prototype.loadWorkflow=function(n){var l=this;return this.resId=n,this.loading=!0,this.visaWorkflow.items=[],new Promise((function(e,i){l.http.get("../../rest/resources/"+n+"/visaCircuit").pipe(tc((function(n){return!l.functions.empty(n.circuit)})),Yr((function(n){n.circuit.forEach((function(n){l.visaWorkflow.items.push(Object(t.__assign)({},n,{difflist_type:"VISA_CIRCUIT"}))})),l.visaWorkflowClone=JSON.parse(JSON.stringify(l.visaWorkflow.items))})),iu((function(){l.loading=!1,e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}))},n.prototype.loadDefaultWorkflow=function(n){var l=this;return this.loading=!0,this.visaWorkflow.items=[],new Promise((function(e){l.http.get("../../rest/resources/"+n+"/defaultCircuit?circuit=visaCircuit").pipe(tc((function(n){return!l.functions.empty(n.circuit)})),Yr((function(n){n.circuit.items.forEach((function(n){l.visaWorkflow.items.push(Object(t.__assign)({},n,{requested_signature:"visa"!==n.item_mode,difflist_type:"VISA_CIRCUIT"}))})),l.visaWorkflowClone=JSON.parse(JSON.stringify(l.visaWorkflow.items))})),iu((function(){l.loading=!1,e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}))},n.prototype.loadWorkflowMaarchParapheur=function(n,l){var e=this;this.loading=!0,this.visaWorkflow.items=[],this.http.get("../../rest/documents/"+n+"/maarchParapheurWorkflow?type="+l).subscribe((function(n){n.workflow.forEach((function(n,l){var t={listinstance_id:l,id:n.userId,labelToDisplay:n.userDisplay,requested_signature:"visa"!==n.mode,process_date:e.functions.formatFrenchDateToTechnicalDate(n.processDate),picture:"",hasPrivilege:!0};e.visaWorkflow.items.push(t),e.http.get("../../rest/maarchParapheur/user/"+n.userId+"/picture").subscribe((function(l){e.visaWorkflow.items.filter((function(l){return l.id===n.userId}))[0].picture=l.picture}),(function(n){e.notify.handleErrors(n)}))})),e.loading=!1}),(function(n){e.notify.handleErrors(n)}))},n.prototype.deleteItem=function(n){this.visaWorkflow.items.splice(n,1)},n.prototype.getVisaCount=function(){return this.visaWorkflow.items.length},n.prototype.changeRole=function(n){this.visaWorkflow.items[n].requested_signature=!this.visaWorkflow.items[n].requested_signature},n.prototype.getWorkflow=function(){return this.visaWorkflow.items},n.prototype.getCurrentVisaUserIndex=function(){return void 0===this.getLastVisaUser().listinstance_id?0:this.visaWorkflow.items.map((function(n){return n.listinstance_id})).indexOf(this.getLastVisaUser().listinstance_id)+1},n.prototype.getFirstVisaUser=function(){return this.functions.empty(this.visaWorkflow.items[0])?"":this.visaWorkflow.items[0]},n.prototype.getCurrentVisaUser=function(){var n=this.visaWorkflow.items.map((function(n){return n.listinstance_id})).indexOf(this.getLastVisaUser().listinstance_id);return this.functions.empty(this.visaWorkflow.items[n+1])?"":this.visaWorkflow.items[n+1]},n.prototype.getNextVisaUser=function(){var n=this.visaWorkflow.items.map((function(n){return n.listinstance_id})).indexOf(this.getLastVisaUser().listinstance_id);return this.functions.empty(this.visaWorkflow.items[n+2])?"":this.visaWorkflow.items[n+2]},n.prototype.getLastVisaUser=function(){var n=this,l=this.visaWorkflow.items.filter((function(l){return!n.functions.empty(l.process_date)}));return this.functions.empty(l[l.length-1])?"":l[l.length-1]},n.prototype.checkExternalSignatoryBook=function(){var n=this;return this.visaWorkflow.items.filter((function(l){return n.functions.empty(l.externalId)})).map((function(n){return n.labelToDisplay}))},n.prototype.saveVisaWorkflow=function(n){var l=this;return void 0===n&&(n=[this.resId]),new Promise((function(e,t){if(0===l.visaWorkflow.items.length)l.http.delete("../../rest/resources/"+n[0]+"/circuits/visaCircuit").pipe(Yr((function(){l.visaWorkflowClone=JSON.parse(JSON.stringify(l.visaWorkflow.items)),l.notify.success(l.lang.visaWorkflowDeleted),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),e(!1),lu(!1)}))).subscribe();else if(l.isValidWorkflow()){var i=n.map((function(n){return{resId:n,listInstances:l.visaWorkflow.items}}));l.http.put("../../rest/circuits/visaCircuit",{resources:i}).pipe(Yr((function(n){l.visaWorkflowClone=JSON.parse(JSON.stringify(l.visaWorkflow.items)),l.notify.success(l.lang.visaWorkflowUpdated),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),e(!1),lu(!1)}))).subscribe()}else l.notify.error(l.getError()),e(!1)}))},n.prototype.addItemToWorkflow=function(n,l){var e=this;return void 0===l&&(l=!1),new Promise((function(t,i){l?(e.visaWorkflow.items.push({item_id:n.id,item_type:"user",item_entity:n.email,labelToDisplay:n.idToDisplay,externalId:n.externalId,difflist_type:"VISA_CIRCUIT",signatory:!e.functions.empty(n.signatory)&&n.signatory,requested_signature:!e.functions.empty(n.requested_signature)&&n.requested_signature,hasPrivilege:!0}),e.linkedToMaarchParapheur&&e.getMaarchParapheurUserAvatar(n.externalId.maarchParapheur,e.visaWorkflow.items.length-1),e.searchVisaSignUser.reset(),t(!0)):"user"===n.type?(e.visaWorkflow.items.push({item_id:n.id,item_type:"user",item_entity:n.entity,labelToDisplay:n.label,externalId:e.functions.empty(n.externalId)?null:n.externalId,difflist_type:"VISA_CIRCUIT",signatory:!e.functions.empty(n.signatory)&&n.signatory,requested_signature:!e.functions.empty(n.requested_signature)&&n.requested_signature,hasPrivilege:n.hasPrivilege}),e.linkedToMaarchParapheur&&e.getMaarchParapheurUserAvatar(n.externalId.maarchParapheur,e.visaWorkflow.items.length-1),e.searchVisaSignUser.reset(),e.searchVisaSignUserInput.nativeElement.blur(),t(!0)):"entity"===n.type&&e.http.get("../../rest/listTemplates/"+n.id).pipe(Yr((function(n){e.visaWorkflow.items=e.visaWorkflow.items.concat(n.listTemplate.items.map((function(n){return{item_id:n.item_id,item_type:"user",labelToDisplay:n.idToDisplay,item_entity:n.descriptionToDisplay,difflist_type:"VISA_CIRCUIT",signatory:!1,requested_signature:"sign"===n.item_mode,hasPrivilege:n.hasPrivilege}}))),e.searchVisaSignUser.reset(),e.searchVisaSignUserInput.nativeElement.blur(),t(!0)}))).subscribe()}))},n.prototype.resetWorkflow=function(){this.visaWorkflow.items=[]},n.prototype.isValidWorkflow=function(){return this.visaWorkflow.items.filter((function(n){return!1===n.requested_signature})).length===this.visaWorkflow.items.length?(this.visaWorkflow.items[this.visaWorkflow.items.length-1].requested_signature=!0,!0):this.visaWorkflow.items.filter((function(n){return n.requested_signature})).length>0&&0===this.visaWorkflow.items.filter((function(n){return!n.hasPrivilege})).length&&this.visaWorkflow.items.length>0},n.prototype.getError=function(){if(this.visaWorkflow.items.filter((function(n){return!n.hasPrivilege})).length>0)return this.lang.mustDeleteUsersWithNoPrivileges},n.prototype.emptyWorkflow=function(){return 0===this.visaWorkflow.items.length},n.prototype.workflowEnd=function(){var n=this;return this.visaWorkflow.items.filter((function(l){return!n.functions.empty(l.process_date)})).length===this.visaWorkflow.items.length},n.prototype.openPromptSaveModel=function(){var n=this;this.dialog.open(CG,{panelClass:"maarch-modal",data:{visaWorkflow:this.visaWorkflow.items}}).afterClosed().pipe(tc((function(l){return!n.functions.empty(l)})),Yr((function(l){n.visaTemplates.private.push({id:l.id,title:l.title,label:l.title,type:"entity"}),n.searchVisaSignUser.reset()})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.deletePrivateModel=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/listTemplates/"+n.id)})),Yr((function(){l.visaTemplates.private=l.visaTemplates.private.filter((function(l){return l.id!==n.id})),l.searchVisaSignUser.reset(),l.notify.success(l.lang.modelDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getMaarchParapheurUserAvatar=function(n,l){var e=this;this.functions.empty(n)||this.http.get("../../rest/maarchParapheur/user/"+n+"/picture").subscribe((function(n){e.visaWorkflow.items[l].picture=n.picture}),(function(n){e.notify.handleErrors(n)}))},n.prototype.isModified=function(){return!(this.loading||JSON.stringify(this.visaWorkflow.items)===JSON.stringify(this.visaWorkflowClone))},n.prototype.canManageUser=function(n,l){return!!this.adminMode&&!!this.functions.empty(n.process_date)&&("signatureBook"!==this.target||this.getCurrentVisaUserIndex()!==l||this.privilegeService.hasCurrentUserPrivilege("modify_visa_in_signatureBook"))},n}(),SG=yt({encapsulation:0,styles:[[".mat-form-field-appearance-outline[_ngcontent-%COMP%]{font-size:11px}.visaSignList[_ngcontent-%COMP%] .mat-optgroup-label{color:#135f7f;position:-webkit-sticky;position:sticky;top:0;background:#fff!important;z-index:1}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);background:#fff!important;padding:10px}.cdk-drag-preview[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]{cursor:move}.notDraggable[_ngcontent-%COMP%]{cursor:not-allowed}.notEditable[_ngcontent-%COMP%]{cursor:initial}.currentContextButton[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:13px;width:150px;text-align:left}.currentRoleButton[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:13px;width:120px;text-align:center}.emptyContent[_ngcontent-%COMP%]{opacity:.5;text-align:center;font-size:10px;padding:10px}.processed[_ngcontent-%COMP%]{background:rgba(0,104,65,.11)!important}.interrupt[_ngcontent-%COMP%]{background:rgba(142,62,82,.11)!important}.workflow[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;height:auto!important;margin-bottom:10px;background:rgba(216,216,216,.1);border-radius:10px;font-size:13px}.workflowLine[_ngcontent-%COMP%]{display:-webkit-box!important;display:flex!important;-webkit-box-align:center;align-items:center}.workflowLineContainer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.workflowLineLabel[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}.workflowLineSubLabel[_ngcontent-%COMP%]{font-size:80%;opacity:.5;-webkit-box-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden}.workflowLineProcessDate[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;text-align:left;font-size:80%}.workflowLine[_ngcontent-%COMP%] .mat-raised-button[disabled][_ngcontent-%COMP%]{background:0 0;color:#135f7f!important;opacity:1}.avatar[_ngcontent-%COMP%]{border:3px solid #f99830;height:45px!important;width:45px!important;background-size:cover;background-repeat:no-repeat;background-position:center}.valid[_ngcontent-%COMP%]{color:#006841}.invalid[_ngcontent-%COMP%]{color:#8e3e52}.commentBubble[_ngcontent-%COMP%]{color:#f99830;position:absolute;top:-12px;right:-11px;font-size:20px;cursor:help}.comment[_ngcontent-%COMP%]:disabled{color:#000}.unauthorized[_ngcontent-%COMP%]{color:#8e3e52;text-decoration:line-through}"]],data:{}});function IG(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,2,"div",[["style","display: flex;justify-content: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(4,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,4,0,"35")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,bi(l,4)._noopAnimations,bi(l,4).diameter,bi(l,4).diameter)}))}function AG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function MG(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","visaSignList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,AG)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang.publicModel);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredPublicModels)),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function PG(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,6,"div",[["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"div",[["style","flex:1"]],null,null,null,null,null)),(n()(),Lo(4,null,[" "," "])),(n()(),_o(5,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.deletePrivateModel(n.context.$implicit)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(7,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"],["style","margin: 0px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,l.context.$implicit),n(l,6,0,"warn"),n(l,8,0)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,4,0,l.context.$implicit.label),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color)}))}function DG(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","visaSignList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,PG)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang.privateModel);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredPrivateModels)),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function FG(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "])),(n()(),_o(3,0,null,0,1,"small",[],null,null,null,null,null)),(n()(),Lo(4,null,["(",")"]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label),n(l,4,0,l.context.$implicit.entity)}))}function EG(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","visaSignList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,FG)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang.visaUser+" / "+e.lang.signUser);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredSignVisaUsers)),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function OG(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.openPromptSaveModel()&&t),t}),PC,MC)),Di(1,16384,[[10,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,"primary"),n(l,4,0)}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.saveAsPrivateModel,""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function TG(n){return jo(0,[(n()(),_o(0,0,null,null,37,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,16777216,[[1,0],["searchVisaSignUserInput",1]],1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["id","searchVisaSignUserInput"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,13)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,13)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,13)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(20,0,null,1,15,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"],[null,"opened"]],(function(n,l,e){var t=!0,i=n.component;return"optionSelected"===l&&(t=!1!==i.addItemToWorkflow(e.option.value)&&t),"opened"===l&&(t=!1!==i.initFilterVisaModelList()&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(22,1097728,[["autoGroup",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected",opened:"opened"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,IG)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,2,null,MG)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,0,2,null,DG)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,0,2,null,EG)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,4,1,null,OG)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e,t,i,a=l.component;n(l,1,0,"outline"),n(l,13,0,bi(l,22)),n(l,15,0,a.searchVisaSignUser),n(l,18,0,"searchVisaSignUserInput",Wt(1,"",a.lang.addUsers,""),"text"),n(l,26,0,a.visaModelListNotLoaded),n(l,28,0,(null==(e=bt(l,28,0,bi(l,29).transform(a.filteredPublicModels)))?null:e.length)>0),n(l,31,0,(null==(t=bt(l,31,0,bi(l,32).transform(a.filteredPrivateModels)))?null:t.length)>0),n(l,34,0,(null==(i=bt(l,34,0,bi(l,35).transform(a.filteredSignVisaUsers)))?null:i.length)>0),n(l,37,0,a.visaWorkflow.items.length>0&&a.showListModels)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).autocompleteAttribute,bi(l,13).autocompleteDisabled?null:"combobox",bi(l,13).autocompleteDisabled?null:"list",bi(l,13).panelOpen&&bi(l,13).activeOption?bi(l,13).activeOption.id:null,bi(l,13).autocompleteDisabled?null:bi(l,13).panelOpen.toString(),bi(l,13).autocompleteDisabled||!bi(l,13).panelOpen?null:null==bi(l,13).autocomplete?null:bi(l,13).autocomplete.id,!bi(l,13).autocompleteDisabled,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function LG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.addItemToWorkflow(e,!0)&&t),t}),HN,EN)),Di(1,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(2,1)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/maarchParapheurUsers");n(l,1,0,"outline",t,e.lang.addPerson,"idToDisplay","email")}),null)}function RG(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","emptyContent"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noVisaWorkflow)}))}function NG(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","emptyContent"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.cannotAddVisaCircuit)}))}function jG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-chevron-right fa-2x mat-icon notranslate mat-list-icon"],["color","accent"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[16,4]],0,iI,[],null,null)],(function(n,l){n(l,1,0,"accent")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function VG(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,"i",[["class","far fa-comment-dots commentBubble"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.parent.context.$implicit.process_comment)}),null)}function qG(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-icon",[["class","fa-2x fa mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","opacity:0.5;"]],[[8,"title",0],[2,"fa-hourglass",null],[2,"fa-thumbs-up",null],[2,"fa-hand-paper",null],[2,"fa-times",null],[2,"valid",null],[2,"invalid",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(3,16384,[[16,4]],0,iI,[],null,null),Eo(4,2),Eo(5,2),Eo(6,2)],(function(n,l){n(l,2,0)}),(function(n,l){var e=l.component,t=null!==l.parent.context.$implicit.process_comment?l.parent.context.$implicit.process_comment:"",i=null==l.parent.context.$implicit.process_date,a=null!=l.parent.context.$implicit.process_date&&-1===n(l,4,0,e.lang.visaWorkflowInterrupted,e.lang.hasInterruptedWorkflow).indexOf(l.parent.context.$implicit.process_comment),o=null!=l.parent.context.$implicit.process_date&&l.parent.context.$implicit.process_comment===e.lang.hasInterruptedWorkflow,r=null!=l.parent.context.$implicit.process_date&&l.parent.context.$implicit.process_comment===e.lang.visaWorkflowInterrupted,u=null!=l.parent.context.$implicit.process_date&&-1===n(l,5,0,e.lang.visaWorkflowInterrupted,e.lang.hasInterruptedWorkflow).indexOf(l.parent.context.$implicit.process_comment),s=null!=l.parent.context.$implicit.process_date&&n(l,6,0,e.lang.visaWorkflowInterrupted,e.lang.hasInterruptedWorkflow).indexOf(l.parent.context.$implicit.process_comment)>-1;n(l,1,0,t,i,a,o,r,u,s,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function zG(n){return jo(0,[(n()(),_o(0,0,null,null,21,"div",[["class","workflowLineSubLabel"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,20,{_controlNonStatic:0}),ko(335544320,21,{_controlStatic:0}),ko(603979776,22,{_labelChildNonStatic:0}),ko(335544320,23,{_labelChildStatic:0}),ko(603979776,24,{_placeholderChild:0}),ko(603979776,25,{_errorChildren:1}),ko(603979776,26,{_hintChildren:1}),ko(603979776,27,{_prefixChildren:1}),ko(603979776,28,{_suffixChildren:1}),(n()(),_o(12,0,null,1,9,"input",[["class","comment mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","255"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.context.$implicit.process_comment=e)&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(14,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[20,4],[21,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,14,0,"255"),n(l,17,0,!e.adminMode||null!=l.parent.context.$implicit.process_date||"signatureBook"===e.target&&e.getCurrentVisaUserIndex()===l.parent.context.index,l.parent.context.$implicit.process_comment),n(l,20,0,!e.adminMode||null!=l.parent.context.$implicit.process_date||"signatureBook"===e.target&&e.getCurrentVisaUserIndex()===l.parent.context.index,e.lang.visaNote)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).maxlength?bi(l,14).maxlength:null,bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()])}))}function UG(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","workflowLineProcessDate"],["color","accent"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[""," ",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.process_date)),"")),n(l,2,0,l.parent.context.$implicit.requested_signature?e.lang.signedUserDate:e.lang.approvedUserDate,bt(l,2,1,bi(l,3).transform(l.parent.context.$implicit.process_date,"full")))}))}function BG(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","workflowLineProcessDate"],["color","warn"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[""," ",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.process_date)),"")),n(l,2,0,e.lang.interrupted,bt(l,2,1,bi(l,3).transform(l.parent.context.$implicit.process_date,"full")))}))}function $G(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"button",[["class","currentRoleButton"],["mat-raised-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeRole(n.parent.context.index)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,!l.component.canManageUser(l.parent.context.$implicit,l.parent.context.index),l.parent.context.$implicit.requested_signature?"primary":"")}),(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang[l.parent.context.$implicit.currentRole+"User"],""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.functions.empty(l.parent.context.$implicit.process_date)?l.parent.context.$implicit.requested_signature?e.lang.signUser:e.lang.visaUser:l.parent.context.$implicit.signatory?e.lang.signUser:e.lang.visaUser)}))}function HG(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","invalid"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noPrivileges)}))}function GG(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteItem(n.parent.context.index)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,3,0,"warn")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function WG(n){return jo(0,[(n()(),_o(0,16777216,null,null,44,"mat-list-item",[["cdkDrag",""],["class","columns workflow mat-list-item cdk-drag"],["disableRipple",""]],[[2,"notDraggable",null],[2,"notEditable",null],[2,"processed",null],[2,"interrupt",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,AI,II)),Ei(6144,null,VU,null,[$U]),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,14,{_lines:1}),ko(603979776,15,{_avatar:0}),ko(603979776,16,{_icon:0}),Di(6,4866048,[[13,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{disabled:[0,"disabled"]},null),ko(603979776,17,{_handles:1}),ko(603979776,18,{_previewTemplate:0}),ko(603979776,19,{_placeholderTemplate:0}),Eo(10,2),Eo(11,2),(n()(),vo(16777216,null,0,1,null,jG)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,0,7,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","position: relative;"]],[[2,"invalid",null],[4,"background-image",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(16,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Oo(17,{"fa fa-user fa-2x":0,avatar:1}),Di(18,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(19,16384,[[16,4]],0,iI,[],null,null),(n()(),vo(16777216,null,0,1,null,VG)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,qG)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,0,null,1,18,"div",[["class","workflowLine mat-line"],["mat-line",""]],null,null,null,null,null)),Di(25,16384,[[14,4]],0,pv,[],null,null),(n()(),_o(26,0,null,null,12,"div",[["class","workflowLineContainer"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,1,"div",[["class","workflowLineLabel"]],[[2,"unauthorized",null]],null,null,null,null)),(n()(),Lo(28,null,[" "," "])),(n()(),_o(29,0,null,null,1,"div",[["class","workflowLineSubLabel"]],[[2,"unauthorized",null]],null,null,null,null)),(n()(),Lo(30,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,zG)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,UG)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(35,2),(n()(),vo(16777216,null,null,2,null,BG)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(38,1),(n()(),vo(16777216,null,null,1,null,$G)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,HG)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,GG)),Di(44,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0,!e.canManageUser(l.context.$implicit,l.context.index)),n(l,13,0,e.getCurrentVisaUserIndex()===l.context.index&&(!e.adminMode||"signatureBook"===e.target));var t=n(l,17,0,e.functions.empty(l.context.$implicit.picture),!e.functions.empty(l.context.$implicit.picture));n(l,16,0,t),n(l,18,0,"primary"),n(l,21,0,!e.functions.empty(l.context.$implicit.process_comment)),n(l,23,0,!e.adminMode||null!=l.context.$implicit.process_date),n(l,32,0,e.showComment&&(!e.linkedToMaarchParapheur&&e.adminMode&&e.functions.empty(l.context.$implicit.process_date)||!e.linkedToMaarchParapheur&&e.getCurrentVisaUserIndex()===l.context.index&&!e.functions.empty(l.context.$implicit.process_comment))&&l.context.$implicit.hasPrivilege);var i=null!=l.context.$implicit.process_date&&-1===n(l,35,0,e.lang.visaWorkflowInterrupted,e.lang.hasInterruptedWorkflow).indexOf(l.context.$implicit.process_comment);n(l,34,0,i);var a=null!=l.context.$implicit.process_date&&n(l,38,0,"A terminé le circuit").indexOf(l.context.$implicit.process_comment)>-1;n(l,37,0,a),n(l,40,0,l.context.$implicit.hasPrivilege),n(l,42,0,!l.context.$implicit.hasPrivilege),n(l,44,0,e.canManageUser(l.context.$implicit,l.context.index))}),(function(n,l){var e=l.component,t=!e.canManageUser(l.context.$implicit,l.context.index),i=!e.adminMode,a=null!=l.context.$implicit.process_date&&-1===n(l,10,0,e.lang.visaWorkflowInterrupted,e.lang.hasInterruptedWorkflow).indexOf(l.context.$implicit.process_comment),o=null!=l.context.$implicit.process_date&&n(l,11,0,e.lang.visaWorkflowInterrupted,e.lang.hasInterruptedWorkflow).indexOf(l.context.$implicit.process_comment)>-1;n(l,0,0,t,i,a,o,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon,bi(l,6).disabled,bi(l,6)._dragRef.isDragging()),n(l,14,0,!l.context.$implicit.hasPrivilege,e.functions.empty(l.context.$implicit.picture)?"":"url("+l.context.$implicit.picture+")",bi(l,18).inline,"primary"!==bi(l,18).color&&"accent"!==bi(l,18).color&&"warn"!==bi(l,18).color),n(l,27,0,!l.context.$implicit.hasPrivilege),n(l,28,0,l.context.$implicit.labelToDisplay),n(l,29,0,!l.context.$implicit.hasPrivilege),n(l,30,0,l.context.$implicit.item_entity)}))}function KG(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,TG)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,LG)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,0,10,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(8,1196032,[["dataAvailableList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{data:[0,"data"],disabled:[1,"disabled"]},{dropped:"cdkDropListDropped"}),ko(603979776,13,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,RG)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NG)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,WG)),Di(16,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.adminMode&&!e.linkedToMaarchParapheur),n(l,5,0,e.linkedToMaarchParapheur&&e.adminMode),n(l,8,0,e.visaWorkflow.items,!e.adminMode),n(l,12,0,e.adminMode&&0===e.visaWorkflow.items.length),n(l,14,0,!e.adminMode&&0===e.visaWorkflow.items.length),n(l,16,0,e.visaWorkflow.items)}),(function(n,l){n(l,6,0,bi(l,8).id,bi(l,8).disabled,bi(l,8)._dropListRef.isDragging(),bi(l,8)._dropListRef.isReceiving())}))}function YG(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;padding: 10px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function JG(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(671088640,1,{searchVisaSignUserInput:0}),(n()(),vo(16777216,null,null,1,null,KG)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,YG)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,!e.loading),n(l,5,0,e.loading)}),null)}var ZG=function(){function n(n,l,e,t){this.http=n,this.data=l,this.dialogRef=e,this.notify=t,this.lang=Kr,this.loading=!1,this.template={id:0,type:"opinionCircuit",title:"",items:[]}}return n.prototype.ngOnInit=function(){this.template.items=this.data.avisWorkflow.map((function(n){return{id:n.item_id,type:"user",mode:"avis"}}))},n.prototype.onSubmit=function(){var n=this;this.http.post("../../rest/listTemplates",this.template).pipe(Yr((function(l){n.template.id=l.id,n.notify.success(n.lang.modelSaved),n.dialogRef.close(n.template)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),QG=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.functions=e,this.latinisePipe=t,this.dialog=i,this.lang=Kr,this.avisWorkflow={roles:["sign","avis"],items:[]},this.avisWorkflowClone=[],this.avisTemplates={private:[],public:[]},this.availableRoles=[],this.signAvisUsers=[],this.loading=!1,this.avisModelListNotLoaded=!0,this.resId=null,this.showListModels=!0,this.mode="circuit",this.searchAvisUser=new sy}return n.prototype.ngOnInit=function(){"parallel"===this.mode&&this.adminMode&&this.loadAvisRoles(),null!==this.resId&&("circuit"===this.mode?this.loadWorkflow(this.resId):this.loadParallelWorkflow(this.resId))},n.prototype.drop=function(n){n.previousContainer===n.container&&(this.functions.empty(this.avisWorkflow.items[n.currentIndex].process_date)?_U(n.container.data,n.previousIndex,n.currentIndex):this.notify.error(this.lang.moveAvisUserErr1+" <b>"+this.avisWorkflow.items[n.previousIndex].labelToDisplay+"</b> "+this.lang.moveAvisUserErr2+"."))},n.prototype.loadAvisRoles=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/roles").pipe(Yr((function(e){n.availableRoles=e.roles.filter((function(n){return["avis","avis_copy","avis_info"].indexOf(n.id)>-1})).map((function(n){return{id:n.id,label:n.label}})),l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.getRoleLabel=function(n){return this.availableRoles.filter((function(l){return l.id===n}))[0].label},n.prototype.loadListModel=function(n){var l=this;this.loading=!0,this.avisWorkflow.items=[],this.http.get("../../rest/listTemplates/entities/"+n+"?type=opinionCircuit").subscribe((function(n){n.listTemplates[0]&&(l.avisWorkflow.items=n.listTemplates[0].items.map((function(n){return Object(t.__assign)({},n,{item_entity:n.descriptionToDisplay})}))),l.avisWorkflowClone=JSON.parse(JSON.stringify(l.avisWorkflow.items)),l.loading=!1}))},n.prototype.loadAvisUsersList=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/autocomplete/users/circuit?circuit=opinion").pipe(q((function(n){return n.map((function(n){return{id:n.id,title:n.idToDisplay+" ("+n.otherInfo+")",label:n.idToDisplay,entity:n.otherInfo,type:"user"}}))})),Yr((function(e){n.signAvisUsers=e,n.filteredSignAvisUsers=n.searchAvisUser.valueChanges.pipe(Pc(""),q((function(l){return n._filter(l)}))),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.loadAvisModelList=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return null===this.resId?[3,2]:[4,this.loadDefaultModel()];case 1:l.sent(),l.label=2;case 2:return[2,new Promise((function(l,e){n.http.get("../../rest/availableCircuits?circuit=opinion").pipe(Yr((function(e){n.avisTemplates.public=n.avisTemplates.public.concat(e.circuits.filter((function(n){return!n.private})).map((function(n){return{id:n.id,title:n.title,label:n.title,type:"entity"}}))),n.avisTemplates.private=e.circuits.filter((function(n){return n.private})).map((function(n){return{id:n.id,title:n.title,label:n.title,type:"entity"}})),n.filteredPublicModels=n.searchAvisUser.valueChanges.pipe(Pc(""),q((function(l){return n._filterPublicModel(l)}))),n.filteredPrivateModels=n.searchAvisUser.valueChanges.pipe(Pc(""),q((function(l){return n._filterPrivateModel(l)}))),l(!0)}))).subscribe()}))]}}))}))},n.prototype.loadDefaultModel=function(){var n=this;return this.avisTemplates.public=[],new Promise((function(l,e){n.http.get("../../rest/resources/"+n.resId+"/defaultCircuit?circuit=opinion").pipe(Yr((function(l){n.functions.empty(l.itemsRemoved)||n.notify.error(n.lang.itemRemovedFromAvisTemplate+" : "+l.itemsRemoved.join(", "))})),tc((function(l){return!n.functions.empty(l.circuit)})),Yr((function(l){n.functions.empty(l.circuit)||n.avisTemplates.public.push({id:l.circuit.id,title:l.circuit.title,label:l.circuit.title,type:"entity"})})),iu((function(){return l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.initFilterAvisModelList=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.avisModelListNotLoaded?[4,this.loadAvisUsersList()]:[3,4];case 1:return n.sent(),this.showListModels?[4,this.loadAvisModelList()]:[3,3];case 2:n.sent(),n.label=3;case 3:this.searchAvisUser.reset(),this.avisModelListNotLoaded=!1,n.label=4;case 4:return[2]}}))}))},n.prototype._filter=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.signAvisUsers.filter((function(n){return l.latinisePipe.transform(n.title.toLowerCase()).includes(e)}))}return this.signAvisUsers},n.prototype._filterPrivateModel=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.avisTemplates.private.filter((function(n){return l.latinisePipe.transform(n.title.toLowerCase()).includes(e)}))}return this.avisTemplates.private},n.prototype._filterPublicModel=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.avisTemplates.public.filter((function(n){return l.latinisePipe.transform(n.title.toLowerCase()).includes(e)}))}return this.avisTemplates.public},n.prototype.loadWorkflow=function(n){var l=this;return this.resId=n,this.loading=!0,this.avisWorkflow.items=[],new Promise((function(e,i){l.http.get("../../rest/resources/"+n+"/opinionCircuit").pipe(Yr((function(n){l.functions.empty(n.itemsRemoved)||l.notify.error(l.lang.itemRemovedFromAvisTemplate+" : "+n.itemsRemoved.join(", "))})),tc((function(n){return!l.functions.empty(n.circuit)})),Yr((function(n){n.circuit.forEach((function(n){l.avisWorkflow.items.push(Object(t.__assign)({},n,{difflist_type:"circuit"===l.mode?"AVIS_CIRCUIT":"entity_id"}))})),l.avisWorkflowClone=JSON.parse(JSON.stringify(l.avisWorkflow.items))})),iu((function(){l.loading=!1,e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}))},n.prototype.loadParallelWorkflow=function(n){var l=this;return this.resId=n,this.loading=!0,this.avisWorkflow.items=[],new Promise((function(e,i){l.http.get("../../rest/resources/"+n+"/parallelOpinion").subscribe((function(n){n.forEach((function(n){l.avisWorkflow.items.push(Object(t.__assign)({},n,{difflist_type:"entity_id"}))})),l.avisWorkflowClone=JSON.parse(JSON.stringify(l.avisWorkflow.items)),l.loading=!1,e(!0)}),(function(n){l.notify.handleErrors(n)}))}))},n.prototype.loadDefaultWorkflow=function(n){var l=this;this.loading=!0,this.avisWorkflow.items=[],this.http.get("../../rest/resources/"+n+"/defaultCircuit?circuit=opinion").pipe(Yr((function(n){l.functions.empty(n.itemsRemoved)||l.notify.error(l.lang.itemRemovedFromAvisTemplate+" : "+n.itemsRemoved.join(", "))})),tc((function(n){return!l.functions.empty(n.circuit)})),Yr((function(n){n.circuit.items.forEach((function(n){l.avisWorkflow.items.push(Object(t.__assign)({},n,{difflist_type:"circuit"===l.mode?"AVIS_CIRCUIT":"entity_id",item_entity:n.descriptionToDisplay}))})),l.avisWorkflowClone=JSON.parse(JSON.stringify(l.avisWorkflow.items))})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.deleteItem=function(n){this.avisWorkflow.items.splice(n,1)},n.prototype.getAvisCount=function(){return this.avisWorkflow.items.length},n.prototype.changeRole=function(n,l){this.avisWorkflow.items[l].item_mode=n.id},n.prototype.getWorkflow=function(){return this.avisWorkflow.items},n.prototype.getCurrentAvisUserIndex=function(){return this.avisWorkflow.items.map((function(n){return n.listinstance_id})).indexOf(this.getLastAvisUser().listinstance_id)+1},n.prototype.getFirstAvisUser=function(){return this.functions.empty(this.avisWorkflow.items[0])?"":this.avisWorkflow.items[0]},n.prototype.getCurrentAvisUser=function(){var n=this.avisWorkflow.items.map((function(n){return n.listinstance_id})).indexOf(this.getLastAvisUser().listinstance_id);return this.functions.empty(this.avisWorkflow.items[n+1])?"":this.avisWorkflow.items[n+1]},n.prototype.getNextAvisUser=function(){var n=this.avisWorkflow.items.map((function(n){return n.listinstance_id})).indexOf(this.getLastAvisUser().listinstance_id);return this.functions.empty(this.avisWorkflow.items[n+2])?"":this.avisWorkflow.items[n+2]},n.prototype.getLastAvisUser=function(){var n=this,l=this.avisWorkflow.items.filter((function(l){return!n.functions.empty(l.process_date)}));return this.functions.empty(l[l.length-1])?"":l[l.length-1]},n.prototype.saveAvisWorkflow=function(n){var l=this;return void 0===n&&(n=[this.resId]),new Promise((function(e,t){if(0===l.avisWorkflow.items.length)l.http.delete("../../rest/resources/"+n[0]+"/circuits/opinionCircuit").pipe(Yr((function(){l.avisWorkflowClone=JSON.parse(JSON.stringify(l.avisWorkflow.items)),l.notify.success(l.lang.avisWorkflowDeleted),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe();else if(l.isValidWorkflow()){var i=n.map((function(n){return{resId:n,listInstances:l.avisWorkflow.items}}));l.http.put("../../rest/circuits/opinionCircuit",{resources:i}).pipe(Yr((function(n){l.avisWorkflowClone=JSON.parse(JSON.stringify(l.avisWorkflow.items)),l.notify.success(l.lang.avisWorkflowUpdated),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}else l.notify.error(l.getError()),e(!1)}))},n.prototype.addItemToWorkflow=function(n){var l=this;return new Promise((function(e,t){"user"===n.type?(l.avisWorkflow.items.push({item_id:n.id,item_type:"user",item_entity:n.entity,item_mode:"avis",labelToDisplay:n.label,externalId:l.functions.empty(n.externalId)?null:n.externalId,difflist_type:"circuit"===l.mode?"AVIS_CIRCUIT":"entity_id",hasPrivilege:!0}),l.searchAvisUser.reset(),l.searchAvisUserInput.nativeElement.blur(),e(!0)):"entity"===n.type&&l.http.get("../../rest/listTemplates/"+n.id).pipe(Yr((function(n){l.avisWorkflow.items=l.avisWorkflow.items.concat(n.listTemplate.items.map((function(n){return{item_id:n.item_id,item_type:"user",labelToDisplay:n.idToDisplay,item_entity:n.descriptionToDisplay,item_mode:"avis",difflist_type:"circuit"===l.mode?"AVIS_CIRCUIT":"entity_id",hasPrivilege:n.hasPrivilege}}))),l.searchAvisUser.reset(),l.searchAvisUserInput.nativeElement.blur(),e(!0)}))).subscribe()}))},n.prototype.resetWorkflow=function(){this.avisWorkflow.items=[]},n.prototype.isValidWorkflow=function(){return 0===this.avisWorkflow.items.filter((function(n){return!n.hasPrivilege})).length&&this.avisWorkflow.items.length>0},n.prototype.getError=function(){return this.lang.mustDeleteUsersWithNoPrivileges},n.prototype.emptyWorkflow=function(){return 0===this.avisWorkflow.items.length},n.prototype.workflowEnd=function(){var n=this;return this.avisWorkflow.items.filter((function(l){return!n.functions.empty(l.process_date)})).length===this.avisWorkflow.items.length},n.prototype.openPromptSaveModel=function(){var n=this;this.dialog.open(ZG,{panelClass:"maarch-modal",data:{avisWorkflow:this.avisWorkflow.items}}).afterClosed().pipe(tc((function(l){return!n.functions.empty(l)})),Yr((function(l){n.avisTemplates.private.push({id:l.id,title:l.title,label:l.title,type:"entity"}),n.searchAvisUser.reset()})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.deletePrivateModel=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/listTemplates/"+n.id)})),Yr((function(){l.avisTemplates.private=l.avisTemplates.private.filter((function(l){return l.id!==n.id})),l.searchAvisUser.reset(),l.notify.success(l.lang.modelDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getMaarchParapheurUserAvatar=function(n,l){var e=this;this.functions.empty(n)||this.http.get("../../rest/maarchParapheur/user/"+n+"/picture").subscribe((function(n){e.avisWorkflow.items[l].picture=n.picture}),(function(n){e.notify.handleErrors(n)}))},n.prototype.isModified=function(){return!this.loading&&JSON.stringify(this.avisWorkflow.items)!==JSON.stringify(this.avisWorkflowClone)},n}(),XG=yt({encapsulation:0,styles:[[".mat-form-field-appearance-outline[_ngcontent-%COMP%]{font-size:11px}.avisSignList[_ngcontent-%COMP%] .mat-optgroup-label{color:#135f7f;position:-webkit-sticky;position:sticky;top:0;background:#fff!important;z-index:1}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);background:#fff!important;padding:10px}.cdk-drag-preview[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]{cursor:move}.notDraggable[_ngcontent-%COMP%]{cursor:not-allowed}.notEditable[_ngcontent-%COMP%]{cursor:initial}.currentContextButton[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:13px;width:150px;text-align:left}.currentRoleButton[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:13px;width:120px;text-align:center}.emptyContent[_ngcontent-%COMP%]{opacity:.5;text-align:center;font-size:10px;padding:10px}.processed[_ngcontent-%COMP%]{background:rgba(0,128,0,.11)!important}.workflow[_ngcontent-%COMP%]{height:55px;margin-bottom:10px;background:rgba(216,216,216,.1);border-radius:10px;font-size:13px}.workflowLine[_ngcontent-%COMP%]{display:-webkit-box!important;display:flex!important;-webkit-box-align:center;align-items:center}.workflowLineContainer[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.workflowLineLabel[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden}.workflowLineSubLabel[_ngcontent-%COMP%]{font-size:80%;opacity:.5;-webkit-box-flex:1;flex:1;text-overflow:ellipsis;overflow:hidden}.workflowLineProcessDate[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;text-align:left;font-size:80%}.workflowLine[_ngcontent-%COMP%] .mat-raised-button[disabled][_ngcontent-%COMP%]{background:0 0;color:#135f7f!important;opacity:1}.avatar[_ngcontent-%COMP%]{border:3px solid #f99830;height:45px!important;width:45px!important;background-size:cover;background-repeat:no-repeat;background-position:center}.valid[_ngcontent-%COMP%]{color:#006841}.invalid[_ngcontent-%COMP%]{color:#8e3e52}.unauthorized[_ngcontent-%COMP%]{color:#8e3e52;text-decoration:line-through}"]],data:{}});function nW(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,2,"div",[["style","display: flex;justify-content: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(4,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,4,0,"35")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,bi(l,4)._noopAnimations,bi(l,4).diameter,bi(l,4).diameter)}))}function lW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function eW(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","avisSignList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,lW)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang.publicModel);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredPublicModels)),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function tW(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,6,"div",[["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"div",[["style","flex:1"]],null,null,null,null,null)),(n()(),Lo(4,null,[" "," "])),(n()(),_o(5,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.deletePrivateModel(n.context.$implicit)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(7,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"],["style","margin: 0px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,l.context.$implicit),n(l,6,0,"warn"),n(l,8,0)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,4,0,l.context.$implicit.label),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color)}))}function iW(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","avisSignList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,tW)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang.privateModel);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredPrivateModels)),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function aW(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "])),(n()(),_o(3,0,null,0,1,"small",[],null,null,null,null,null)),(n()(),Lo(4,null,["(",")"]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label),n(l,4,0,l.context.$implicit.entity)}))}function oW(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-optgroup",[["class","avisSignList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),Fo(2,1),(n()(),vo(16777216,null,1,3,null,aW)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(6,2)],(function(n,l){var e=l.component,t=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent,1),e.lang.user));n(l,1,0,t);var i=bt(l,4,0,n(l,6,0,bi(l.parent.parent.parent,0),bt(l,4,0,bi(l,5).transform(e.filteredSignAvisUsers)),"label"));n(l,4,0,i)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function rW(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.openPromptSaveModel()&&t),t}),PC,MC)),Di(1,16384,[[10,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,"primary"),n(l,4,0)}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.saveAsPrivateModel,""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function uW(n){return jo(0,[(n()(),_o(0,0,null,null,37,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,16777216,[[1,0],["searchAvisUserInput",1]],1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["id","searchAvisUserInput"],["matInput",""],["placeholder","Ajouter des personnes"],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,13)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,13)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,13)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(20,0,null,1,15,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"],[null,"opened"]],(function(n,l,e){var t=!0,i=n.component;return"optionSelected"===l&&(t=!1!==i.addItemToWorkflow(e.option.value)&&t),"opened"===l&&(t=!1!==i.initFilterAvisModelList()&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(22,1097728,[["autoGroup",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected",opened:"opened"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,nW)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,2,null,eW)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,0,2,null,iW)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,0,2,null,oW)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,4,1,null,rW)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e,t,i,a=l.component;n(l,1,0,"outline"),n(l,13,0,bi(l,22)),n(l,15,0,a.searchAvisUser),n(l,18,0,"searchAvisUserInput","Ajouter des personnes","text"),n(l,26,0,a.avisModelListNotLoaded),n(l,28,0,(null==(e=bt(l,28,0,bi(l,29).transform(a.filteredPublicModels)))?null:e.length)>0),n(l,31,0,(null==(t=bt(l,31,0,bi(l,32).transform(a.filteredPrivateModels)))?null:t.length)>0),n(l,34,0,(null==(i=bt(l,34,0,bi(l,35).transform(a.filteredSignAvisUsers)))?null:i.length)>0),n(l,37,0,a.avisWorkflow.items.length>0&&a.showListModels)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).autocompleteAttribute,bi(l,13).autocompleteDisabled?null:"combobox",bi(l,13).autocompleteDisabled?null:"list",bi(l,13).panelOpen&&bi(l,13).activeOption?bi(l,13).activeOption.id:null,bi(l,13).autocompleteDisabled?null:bi(l,13).panelOpen.toString(),bi(l,13).autocompleteDisabled||!bi(l,13).panelOpen?null:null==bi(l,13).autocomplete?null:bi(l,13).autocomplete.id,!bi(l,13).autocompleteDisabled,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function sW(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","emptyContent"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noCircuitAvailable)}))}function cW(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","emptyContent"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.cannotAddAvisCircuit)}))}function dW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-chevron-right fa-2x mat-icon notranslate mat-list-icon"],["color","accent"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[16,4]],0,iI,[],null,null)],(function(n,l){n(l,1,0,"accent")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function pW(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"mat-icon",[["class","fa-2x far mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","opacity:0.5;"]],[[2,"fa-hourglass",null],[2,"fa-thumbs-up",null],[2,"valid",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(3,16384,[[16,4]],0,iI,[],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,null==l.parent.context.$implicit.process_date,null!=l.parent.context.$implicit.process_date,null!=l.parent.context.$implicit.process_date,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function mW(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","workflowLineProcessDate"],["color","accent"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[""," ",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.process_date)),"")),n(l,2,0,e.lang.avisSent,bt(l,2,1,bi(l,3).transform(l.parent.context.$implicit.process_date,"full")))}))}function fW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.changeRole(n.context.$implicit,n.parent.parent.context.index)&&t),t}),lL,nL)),Di(1,180224,[[20,4],[21,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.context.$implicit.label)}))}function hW(n){return jo(0,[(n()(),_o(0,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","currentRoleButton mat-menu-trigger"],["color","primary"],["mat-raised-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(4,0,["",""])),(n()(),_o(5,0,null,null,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(8,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,20,{_allItems:1}),ko(603979776,21,{items:1}),ko(603979776,22,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,fW)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,!e.adminMode||!e.functions.empty(l.parent.context.$implicit.process_date),"primary"),n(l,3,0,bi(l,8)),n(l,8,0),n(l,13,0,e.availableRoles)}),(function(n,l){var e=l.component;n(l,1,0,e.getRoleLabel(l.parent.context.$implicit.item_mode),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,e.getRoleLabel(l.parent.context.$implicit.item_mode))}))}function gW(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","invalid"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noPrivileges)}))}function bW(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteItem(n.parent.context.index)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,3,0,"warn")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function vW(n){return jo(0,[(n()(),_o(0,16777216,null,null,34,"mat-list-item",[["cdkDrag",""],["class","columns workflow mat-list-item cdk-drag"],["disableRipple",""]],[[2,"notDraggable",null],[2,"notEditable",null],[2,"processed",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,AI,II)),Ei(6144,null,VU,null,[$U]),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,14,{_lines:1}),ko(603979776,15,{_avatar:0}),ko(603979776,16,{_icon:0}),Di(6,4866048,[[13,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{disabled:[0,"disabled"]},null),ko(603979776,17,{_handles:1}),ko(603979776,18,{_previewTemplate:0}),ko(603979776,19,{_placeholderTemplate:0}),(n()(),vo(16777216,null,0,1,null,dW)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(12,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"invalid",null],[4,"background-image",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(14,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Oo(15,{"fa fa-user fa-2x":0,avatar:1}),Di(16,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(17,16384,[[16,4]],0,iI,[],null,null),(n()(),vo(16777216,null,2,1,null,pW)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,1,12,"div",[["class","workflowLine mat-line"],["mat-line",""]],null,null,null,null,null)),Di(21,16384,[[14,4]],0,pv,[],null,null),(n()(),_o(22,0,null,null,6,"div",[["class","workflowLineContainer"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,1,"div",[["class","workflowLineLabel"]],[[2,"unauthorized",null]],null,null,null,null)),(n()(),Lo(24,null,[" "," "])),(n()(),_o(25,0,null,null,1,"div",[["class","workflowLineSubLabel"]],[[2,"unauthorized",null]],null,null,null,null)),(n()(),Lo(26,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,mW)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hW)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,gW)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,bW)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0,!e.adminMode||!e.functions.empty(l.context.$implicit.process_date)),n(l,11,0,e.getCurrentAvisUserIndex()===l.context.index&&!e.adminMode);var t=n(l,15,0,e.functions.empty(l.context.$implicit.picture),!e.functions.empty(l.context.$implicit.picture));n(l,14,0,t),n(l,16,0,"primary"),n(l,19,0,!e.adminMode||null!=l.context.$implicit.process_date),n(l,28,0,null!=l.context.$implicit.process_date),n(l,30,0,"parallel"===e.mode),n(l,32,0,!l.context.$implicit.hasPrivilege),n(l,34,0,e.adminMode&&e.functions.empty(l.context.$implicit.process_date))}),(function(n,l){var e=l.component;n(l,0,0,!e.adminMode||!e.functions.empty(l.context.$implicit.process_date),!e.adminMode,null!=l.context.$implicit.process_date,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon,bi(l,6).disabled,bi(l,6)._dragRef.isDragging()),n(l,12,0,!l.context.$implicit.hasPrivilege,e.functions.empty(l.context.$implicit.picture)?"":"url("+l.context.$implicit.picture+")",bi(l,16).inline,"primary"!==bi(l,16).color&&"accent"!==bi(l,16).color&&"warn"!==bi(l,16).color),n(l,23,0,!l.context.$implicit.hasPrivilege),n(l,24,0,l.context.$implicit.labelToDisplay),n(l,25,0,!l.context.$implicit.hasPrivilege),n(l,26,0,l.context.$implicit.item_entity)}))}function _W(n){return jo(0,[(n()(),_o(0,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,uW)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,10,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(6,1196032,[["dataAvailableList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{data:[0,"data"],disabled:[1,"disabled"]},{dropped:"cdkDropListDropped"}),ko(603979776,13,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,sW)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cW)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,vW)),Di(14,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.adminMode&&!e.linkedToMaarchParapheur),n(l,6,0,e.avisWorkflow.items,!e.adminMode),n(l,10,0,e.adminMode&&0===e.avisWorkflow.items.length),n(l,12,0,!e.adminMode&&0===e.avisWorkflow.items.length),n(l,14,0,e.avisWorkflow.items)}),(function(n,l){n(l,4,0,bi(l,6).id,bi(l,6).disabled,bi(l,6)._dropListRef.isDragging(),bi(l,6)._dropListRef.isReceiving())}))}function yW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;padding: 10px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function wW(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,Ts,[]),ko(671088640,1,{searchAvisUserInput:0}),(n()(),vo(16777216,null,null,1,null,_W)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,yW)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,!e.loading),n(l,6,0,e.loading)}),null)}var xW=function(){function n(n,l,e,t,i,a){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.lang=Kr,this.loading=!0,this.diffusionModel={title:"",description:"",type:"opinionCircuit",items:[]},this.diffusionModelClone={},this.itemTypeList=[{id:"visaCircuit",label:this.lang.visaCircuit},{id:"opinionCircuit",label:this.lang.opinionCircuit}],this.listDiffModified=!1}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){return Object(t.__awaiter)(n,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return void 0!==l.id?[3,1]:(this.headerService.setHeader(this.lang.diffusionModelCreation),this.creationMode=!0,this.loading=!1,[3,3]);case 1:return this.creationMode=!1,[4,this.getTemplate(l.id)];case 2:n.sent(),"visaCircuit"===this.diffusionModel.type?this.loadVisaCircuit():this.loadOpinionCircuit(),n.label=3;case 3:return[2]}}))}))}))},n.prototype.getTemplate=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/listTemplates/"+n).pipe(Yr((function(t){l.diffusionModel=t.listTemplate,l.diffusionModel.id=n,e(!0)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()}))},n.prototype.loadVisaCircuit=function(){var n=this,l={id:this.diffusionModel.id,type:"entity"};setTimeout((function(){return Object(t.__awaiter)(n,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.appVisaWorkflow.resetWorkflow(),[4,this.appVisaWorkflow.addItemToWorkflow(l,!1)];case 1:return n.sent(),this.diffusionModel.items=this.appVisaWorkflow.getWorkflow(),this.diffusionModelClone=JSON.parse(JSON.stringify(this.diffusionModel)),[2]}}))}))}),0)},n.prototype.loadOpinionCircuit=function(){var n=this,l={id:this.diffusionModel.id,type:"entity"};setTimeout((function(){return Object(t.__awaiter)(n,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.appAvisWorkflow.resetWorkflow(),[4,this.appAvisWorkflow.addItemToWorkflow(l)];case 1:return n.sent(),this.diffusionModel.items=this.appAvisWorkflow.getWorkflow(),this.diffusionModelClone=JSON.parse(JSON.stringify(this.diffusionModel)),[2]}}))}))}),0)},n.prototype.onSubmit=function(){this.creationMode?this.createTemplate():this.updateTemplate()},n.prototype.createTemplate=function(){var n=this;this.http.post("../../rest/listTemplates?admin=true",this.formatCircuit()).pipe(Yr((function(){n.router.navigate(["/administration/diffusionModels"]),n.notify.success(n.lang.diffusionModelAdded)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.updateTemplate=function(){var n=this;this.http.put("../../rest/listTemplates/"+this.diffusionModel.id,this.formatCircuit()).pipe(Yr((function(){n.router.navigate(["/administration/diffusionModels"]),n.notify.success(n.lang.diffusionModelUpdated)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.formatCircuit=function(){return"visaCircuit"===this.diffusionModel.type?(this.diffusionModel.items=this.appVisaWorkflow.getWorkflow().map((function(n,l){return{id:n.item_id,type:"user",mode:n.requested_signature?"sign":"visa",sequence:l}})),this.diffusionModel):(this.diffusionModel.items=this.appAvisWorkflow.getWorkflow().map((function(n,l){return{id:n.item_id,type:"user",mode:"avis",sequence:l}})),this.diffusionModel)},n.prototype.checkPrivileges=function(n){var l=!0;return n.forEach((function(n){n.hasPrivilege||(l=!1)})),l},n.prototype.isValidForm=function(){return"visaCircuit"===this.diffusionModel.type?void 0!==this.appVisaWorkflow&&this.appVisaWorkflow.getWorkflow().length>0&&""!==this.diffusionModel.title&&this.checkPrivileges(this.appVisaWorkflow.getWorkflow()):void 0!==this.appAvisWorkflow&&this.appAvisWorkflow.getWorkflow().length>0&&""!==this.diffusionModel.title&&this.checkPrivileges(this.appAvisWorkflow.getWorkflow())},n.prototype.cancelModification=function(){this.diffusionModel=JSON.parse(JSON.stringify(this.diffusionModelClone)),"visaCircuit"===this.diffusionModel.type?this.loadVisaCircuit():this.loadOpinionCircuit()},n}(),CW=yt({encapsulation:0,styles:[[".mat-list-item[draggable=false][_ngcontent-%COMP%]:hover{background:inherit}.mat-list-item[draggable=false][_ngcontent-%COMP%]{cursor:not-allowed!important}.mat-list-item[draggable=true][_ngcontent-%COMP%]{cursor:pointer}.mat-list-item[draggable=true][_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:move}.primaryColor[_ngcontent-%COMP%]{color:#135f7f}.redColor[_ngcontent-%COMP%]{color:#e4342b}"]],data:{}});function kW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function SW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[18,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function IW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelModification()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.cancel)}))}function AW(n){return jo(0,[(n()(),_o(0,0,null,null,86,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,84,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedTabIndex_1=e)&&t),t}),LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,6,{_tabs:1}),(n()(),_o(5,16777216,null,null,81,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[6,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,7,{templateLabel:0}),ko(335544320,8,{_explicitContent:0}),(n()(),_o(9,0,null,0,77,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[["diffusionModelForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(15,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(25,0,null,1,11,"mat-select",[["class","mat-select"],["id","type"],["name","type"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,30)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,30)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,30)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.diffusionModel.type=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(27,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(29,16384,null,0,y_,[[4,v_]],null,null),Di(30,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],id:[2,"id"]},null),ko(603979776,18,{options:1}),ko(603979776,19,{optionGroups:1}),ko(603979776,20,{customTrigger:0}),Ei(2048,[[9,4],[10,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,SW)),Di(36,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(37,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(38,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,21,{_controlNonStatic:0}),ko(335544320,22,{_controlStatic:0}),ko(603979776,23,{_labelChildNonStatic:0}),ko(335544320,24,{_labelChildStatic:0}),ko(603979776,25,{_placeholderChild:0}),ko(603979776,26,{_errorChildren:1}),ko(603979776,27,{_hintChildren:1}),ko(603979776,28,{_prefixChildren:1}),ko(603979776,29,{_suffixChildren:1}),(n()(),_o(48,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","255"],["name","title"],["required",""]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,49)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,49).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,49)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,49)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,57)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,57)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,57)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.diffusionModel.title=e)&&t),t}),null,null)),Di(49,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(50,16384,null,0,My,[],{required:[0,"required"]},null),Di(51,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(54,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(56,16384,null,0,y_,[[4,v_]],null,null),Di(57,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[21,4],[22,4]],nT,null,[OT]),(n()(),_o(59,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(60,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,30,{_controlNonStatic:0}),ko(335544320,31,{_controlStatic:0}),ko(603979776,32,{_labelChildNonStatic:0}),ko(335544320,33,{_labelChildStatic:0}),ko(603979776,34,{_placeholderChild:0}),ko(603979776,35,{_errorChildren:1}),ko(603979776,36,{_hintChildren:1}),ko(603979776,37,{_prefixChildren:1}),ko(603979776,38,{_suffixChildren:1}),(n()(),_o(70,0,null,1,10,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matAutosizeMaxRows","5"],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["maxlength","255"],["name","description"],["rows","1"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,71)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,71).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,71)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,71)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,78)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,78)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,78)._onInput()&&t),"input"===l&&(t=!1!==bi(n,79)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.diffusionModel.description=e)&&t),t}),null,null)),Di(71,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(72,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(75,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(77,16384,null,0,y_,[[4,v_]],null,null),Di(78,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Di(79,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matAutosizeMaxRows:[1,"matAutosizeMaxRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[30,4],[31,4]],nT,null,[OT]),(n()(),_o(81,0,null,null,5,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(82,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(83,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(84,0,["",""])),(n()(),vo(16777216,null,null,1,null,IW)),Di(86,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedTabIndex_1),n(l,6,0,Wt(1,"",e.lang.informations,"")),n(l,27,0,"type",!e.creationMode,e.diffusionModel.type),n(l,30,0,!e.creationMode,Wt(1,"",e.lang.diffusionType,""),"type"),n(l,36,0,e.itemTypeList),n(l,50,0,""),n(l,51,0,"255"),n(l,54,0,"title",e.diffusionModel.title),n(l,57,0,Wt(1,"",e.lang.label,""),""),n(l,72,0,"255"),n(l,75,0,"description",e.diffusionModel.description),n(l,78,0,Wt(1,"",e.lang.description,"")),n(l,79,0,"1","5",""),n(l,83,0,!e.isValidForm(),"primary"),n(l,86,0,!e.creationMode)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,14,1,["standard"==bi(l,15).appearance,"fill"==bi(l,15).appearance,"outline"==bi(l,15).appearance,"legacy"==bi(l,15).appearance,bi(l,15)._control.errorState,bi(l,15)._canLabelFloat,bi(l,15)._shouldLabelFloat(),bi(l,15)._hasFloatingLabel(),bi(l,15)._hideControlPlaceholder(),bi(l,15)._control.disabled,bi(l,15)._control.autofilled,bi(l,15)._control.focused,"accent"==bi(l,15).color,"warn"==bi(l,15).color,bi(l,15)._shouldForward("untouched"),bi(l,15)._shouldForward("touched"),bi(l,15)._shouldForward("pristine"),bi(l,15)._shouldForward("dirty"),bi(l,15)._shouldForward("valid"),bi(l,15)._shouldForward("invalid"),bi(l,15)._shouldForward("pending"),!bi(l,15)._animationsEnabled]),n(l,25,1,[bi(l,29).ngClassUntouched,bi(l,29).ngClassTouched,bi(l,29).ngClassPristine,bi(l,29).ngClassDirty,bi(l,29).ngClassValid,bi(l,29).ngClassInvalid,bi(l,29).ngClassPending,bi(l,30).id,bi(l,30).tabIndex,bi(l,30)._getAriaLabel(),bi(l,30)._getAriaLabelledby(),bi(l,30).required.toString(),bi(l,30).disabled.toString(),bi(l,30).errorState,bi(l,30).panelOpen?bi(l,30)._optionIds:null,bi(l,30).multiple,bi(l,30)._ariaDescribedby||null,bi(l,30)._getAriaActiveDescendant(),bi(l,30).disabled,bi(l,30).errorState,bi(l,30).required,bi(l,30).empty]),n(l,37,1,["standard"==bi(l,38).appearance,"fill"==bi(l,38).appearance,"outline"==bi(l,38).appearance,"legacy"==bi(l,38).appearance,bi(l,38)._control.errorState,bi(l,38)._canLabelFloat,bi(l,38)._shouldLabelFloat(),bi(l,38)._hasFloatingLabel(),bi(l,38)._hideControlPlaceholder(),bi(l,38)._control.disabled,bi(l,38)._control.autofilled,bi(l,38)._control.focused,"accent"==bi(l,38).color,"warn"==bi(l,38).color,bi(l,38)._shouldForward("untouched"),bi(l,38)._shouldForward("touched"),bi(l,38)._shouldForward("pristine"),bi(l,38)._shouldForward("dirty"),bi(l,38)._shouldForward("valid"),bi(l,38)._shouldForward("invalid"),bi(l,38)._shouldForward("pending"),!bi(l,38)._animationsEnabled]),n(l,48,1,[Wt(1,"",e.lang.label,""),bi(l,50).required?"":null,bi(l,51).maxlength?bi(l,51).maxlength:null,bi(l,56).ngClassUntouched,bi(l,56).ngClassTouched,bi(l,56).ngClassPristine,bi(l,56).ngClassDirty,bi(l,56).ngClassValid,bi(l,56).ngClassInvalid,bi(l,56).ngClassPending,bi(l,57)._isServer,bi(l,57).id,bi(l,57).placeholder,bi(l,57).disabled,bi(l,57).required,bi(l,57).readonly&&!bi(l,57)._isNativeSelect||null,bi(l,57)._ariaDescribedby||null,bi(l,57).errorState,bi(l,57).required.toString()]),n(l,59,1,["standard"==bi(l,60).appearance,"fill"==bi(l,60).appearance,"outline"==bi(l,60).appearance,"legacy"==bi(l,60).appearance,bi(l,60)._control.errorState,bi(l,60)._canLabelFloat,bi(l,60)._shouldLabelFloat(),bi(l,60)._hasFloatingLabel(),bi(l,60)._hideControlPlaceholder(),bi(l,60)._control.disabled,bi(l,60)._control.autofilled,bi(l,60)._control.focused,"accent"==bi(l,60).color,"warn"==bi(l,60).color,bi(l,60)._shouldForward("untouched"),bi(l,60)._shouldForward("touched"),bi(l,60)._shouldForward("pristine"),bi(l,60)._shouldForward("dirty"),bi(l,60)._shouldForward("valid"),bi(l,60)._shouldForward("invalid"),bi(l,60)._shouldForward("pending"),!bi(l,60)._animationsEnabled]),n(l,70,1,[Wt(1,"",e.lang.description,""),bi(l,72).maxlength?bi(l,72).maxlength:null,bi(l,77).ngClassUntouched,bi(l,77).ngClassTouched,bi(l,77).ngClassPristine,bi(l,77).ngClassDirty,bi(l,77).ngClassValid,bi(l,77).ngClassInvalid,bi(l,77).ngClassPending,bi(l,78)._isServer,bi(l,78).id,bi(l,78).placeholder,bi(l,78).disabled,bi(l,78).required,bi(l,78).readonly&&!bi(l,78)._isNativeSelect||null,bi(l,78)._ariaDescribedby||null,bi(l,78).errorState,bi(l,78).required.toString()]),n(l,82,0,bi(l,83).disabled||null,"NoopAnimations"===bi(l,83)._animationMode),n(l,84,0,e.lang.save)}))}function MW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[2,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],showListModels:[1,"showListModels"],showComment:[2,"showComment"]},null)],(function(n,l){n(l,2,0,!0,!1,!1)}),null)}function PW(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[3,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],showListModels:[1,"showListModels"]},null)],(function(n,l){n(l,1,0,!0,!1)}),null)}function DW(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(671088640,2,{appVisaWorkflow:0}),ko(671088640,3,{appAvisWorkflow:0}),(n()(),_o(3,0,null,null,35,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),_o(7,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kW)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,AW)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,0,null,0,14,"mat-sidenav",[["class","col-md-4 col-xs-11 mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,25)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,25)._animationDoneListener(e)&&t),t}),zO,qO)),Di(25,3325952,[[4,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(26,0,null,0,12,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(27,704512,null,0,eI,[],null,null),(n()(),_o(28,0,null,0,10,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(29,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,39,{_tabs:1}),(n()(),_o(31,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(32,770048,[[39,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,40,{templateLabel:0}),ko(335544320,41,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,MW)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,PW)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,8,0),n(l,13,0),n(l,16,0),n(l,21,0,e.loading),n(l,23,0,!e.loading),n(l,25,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,32,0,Wt(1,"",e.lang[e.diffusionModel.type],"")),n(l,36,0,"visaCircuit"===e.diffusionModel.type),n(l,38,0,"opinionCircuit"===e.diffusionModel.type)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,24,0,null,"end"===bi(l,25).position,"over"===bi(l,25).mode,"push"===bi(l,25).mode,"side"===bi(l,25).mode,bi(l,25).opened,bi(l,25).fixedInViewport,bi(l,25).fixedInViewport?bi(l,25).fixedTopGap:null,bi(l,25).fixedInViewport?bi(l,25).fixedBottomGap:null,bi(l,25)._animationState),n(l,28,0,bi(l,29).dynamicHeight,"below"===bi(l,29).headerPosition)}))}function FW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,DW,CW)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,xW,[nS,Zp,uf,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var EW=oi("ng-component",xW,FW,{},{},[]),OW=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.renderer=e,this.dialog=t,this.functions=i,this.headerService=a,this.lang=Kr,this.roles=[],this.loading=!0,this.availableRoles=[],this.keepRoles=[],this.currentEntityId=0,this.userDestList=[],this.diffList=null,this.listinstanceClone=[],this.hasNoDest=!1,this.keepDiffusionRoleInOutgoingIndexation=!1,this.resId=null,this.keepDestForRedirection=!1,this.entityId=null,this.selfDest=!1,this.category="",this.adminMode=!1,this.allowedEntities=[],this.expanded=!1,this.customDiffusion=[],this.target="",this.triggerEvent=new la,this.afterGetRoles=new la}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.initRoles()];case 1:return n.sent(),null!==this.resId&&0!=this.resId&&"redirect"!==this.target&&this.functions.empty(this.newEntityId)?this.loadListinstance(this.resId):this.functions.empty(this.newEntityId)&&(null!==this.resId&&0!=this.resId||this.functions.empty(this.entityId)||0!==this.customDiffusion.length)?this.customDiffusion.length>0&&this.loadCustomDiffusion():(this.entityId=this.functions.empty(this.newEntityId)?this.entityId:this.newEntityId,this.loadListModel(this.entityId,!1,this.selfDest)),this.loading=!1,[2]}}))}))},n.prototype.drop=function(n){n.previousContainer===n.container||"dest"!=n.container.id&&yU(n.previousContainer.data,n.container.data,n.previousIndex,n.currentIndex)},n.prototype.noReturnPredicate=function(){return!1},n.prototype.allPredicate=function(){return!0},n.prototype.loadCustomDiffusion=function(){var n=this;this.customDiffusion.map((function(n){return n.mode})).filter((function(n,l,e){return e.indexOf(n)===l})).forEach((function(l){n.diffList[l].items=n.customDiffusion.filter((function(n){return n.mode===l})).map((function(n){return{item_mode:l,item_type:n.type,itemSerialId:n.id,itemId:"",itemLabel:n.labelToDisplay,itemSubLabel:n.descriptionToDisplay,difflist_type:"entity_id",process_date:null,process_comment:null}}))})),void 0!==this.diffFormControl&&this.setFormValues()},n.prototype.loadListModel=function(n,l,e){return void 0===l&&(l=!1),void 0===e&&(e=!1),Object(t.__awaiter)(this,void 0,void 0,(function(){var i,a,o=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.loading=!0,this.currentEntityId=n,this.userDestList=[],[4,this.getListModel(n)];case 1:return i=t.sent(),this.removeAllItems(),i.length>0&&i[0].forEach((function(n){o.diffList[n.item_mode].items.push(n)})),e&&this.headerService.user.entities[0].id===n&&(this.diffList.dest.items=[{item_mode:"dest",item_type:"user",itemSerialId:this.headerService.user.id,itemId:"",itemLabel:this.headerService.user.firstname+" "+this.headerService.user.lastname,itemSubLabel:this.headerService.user.entities[0].entity_label,difflist_type:"entity_id",process_date:null,process_comment:null}]),null!==this.resId&&this.functions.empty(this.newEntityId)?[4,this.getListinstance(this.resId)]:[3,3];case 2:void 0!==(a=t.sent())&&a.forEach((function(n){l&&"dest"==n.item_mode&&(o.diffList[n.item_mode].items=[n]),o.keepRoles.indexOf(n.item_mode)>-1&&0===o.diffList[n.item_mode].items.filter((function(l){return l.itemSerialId===n.itemSerialId&&l.item_type===n.item_type})).length&&o.diffList[n.item_mode].items.push(n),o.keepDestForRedirection&&"dest"==n.item_mode&&0===o.diffList.cc.items.filter((function(l){return l.itemSerialId===n.itemSerialId&&l.item_type===n.item_type})).length&&o.diffList.cc.items.push(n)})),t.label=3;case 3:return"outgoing"!==this.category||this.keepDiffusionRoleInOutgoingIndexation||Object.keys(this.diffList).forEach((function(n){"dest"!==n&&(o.diffList[n].items=[])})),void 0!==this.diffFormControl&&this.setFormValues(),this.listinstanceClone=JSON.parse(JSON.stringify(this.getCurrentListinstance())),this.loading=!1,[2]}}))}))},n.prototype.getListModel=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/listTemplates/entities/"+n+"?type=diffusionList").pipe(q((function(n){return n.listTemplates=n.listTemplates.map((function(n){return n.items.map((function(n){return{listmodel_id:n.id,listinstance_id:n.listinstance_id,item_mode:n.item_mode,item_type:n.item_type,itemSerialId:n.item_id,itemId:"",itemLabel:n.labelToDisplay,itemSubLabel:n.descriptionToDisplay,difflist_type:"entity_id",process_date:null,process_comment:null}}))})),n.listTemplates})),Yr((function(n){e(n)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}))},n.prototype.getListinstance=function(n){var l=this;return new Promise((function(e,t){0!=n?l.http.get("../../rest/resources/"+n+"/listInstance").pipe(q((function(n){return n.listInstance=n.listInstance.map((function(n){return{listinstance_id:n.listinstance_id,item_mode:n.item_mode,item_type:"user_id"===n.item_type?"user":"entity",itemSerialId:n.itemSerialId,itemId:n.item_id,itemLabel:n.labelToDisplay,itemSubLabel:n.descriptionToDisplay,difflist_type:n.difflist_type,process_date:null,process_comment:null}})),n.listInstance})),Yr((function(n){e(n)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe():e([])}))},n.prototype.loadListinstance=function(n){return Object(t.__awaiter)(this,void 0,void 0,(function(){var l,e=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.http.get("../../rest/resources/"+n+"/fields/destination?alt=true").pipe(Yr((function(n){e.currentEntityId=n.field})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe(),this.loading=!0,[4,this.getListinstance(n)];case 1:return l=t.sent(),this.removeAllItems(),l.forEach((function(n){e.functions.empty(e.diffList[n.item_mode])||e.diffList[n.item_mode].items.push(n)})),0===l.filter((function(n){return"dest"===n.item_mode})).length&&!this.availableRoles.filter((function(n){return"dest"===n.id}))[0].canUpdate&&this.adminMode&&(this.adminMode=!1,this.hasNoDest=!0),void 0!==this.diffFormControl&&this.setFormValues(),this.loading=!1,this.listinstanceClone=JSON.parse(JSON.stringify(this.getCurrentListinstance())),[2]}}))}))},n.prototype.saveListinstance=function(){var n=this;if(!this.hasEmptyDest())return new Promise((function(l,e){var t=[{resId:n.resId,listInstances:n.getCurrentListinstance()}];n.http.put("../../rest/listinstances",t).pipe(Yr((function(e){e&&null!=e.errors?n.notify.error(e.errors):(n.listinstanceClone=JSON.parse(JSON.stringify(n.getCurrentListinstance())),n.notify.success(n.lang.diffusionListUpdated),l(!0))})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}));this.notify.error(this.lang.noDest)},n.prototype.initRoles=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/roles?context="+n.target).pipe(q((function(l){return n.keepDiffusionRoleInOutgoingIndexation=l.parameters.keepDiffusionRoleInOutgoingIndexation,l.roles=l.roles.map((function(n){return Object(t.__assign)({},n,{id:n.id})})),l.roles})),Yr((function(e){n.diffList={},n.availableRoles=e,n.availableRoles.forEach((function(l){n.diffList[l.id]={label:l.label,items:[]},l.keepInListInstance&&n.keepRoles.push(l.id)})),n.afterGetRoles.emit(n.availableRoles),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.deleteItem=function(n,l){this.diffList[n].items.splice(l,1),void 0!==this.diffFormControl&&this.setFormValues()},n.prototype.getCurrentListinstance=function(){var n=this,l=[];return null!==this.diffList&&Object.keys(this.diffList).forEach((function(e){n.diffList[e].items.length>0&&n.diffList[e].items.forEach((function(n){l.push({difflist_type:n.difflist_type,item_id:n.itemSerialId,item_mode:"copy"===e?"cc":e,item_type:n.item_type,process_date:n.process_date,process_comment:n.process_comment})}))})),l},n.prototype.loadDestUserList=function(){var n=this;this.currentEntityId>0&&0==this.userDestList.length&&this.http.get("../../rest/entities/"+this.currentEntityId+"/users").subscribe((function(l){n.userDestList=l.users,n.loading=!1}),(function(l){n.notify.handleErrors(l)}))},n.prototype.changeDest=function(n){this.diffList.dest.items[0]={listinstance_id:null,item_mode:"dest",item_type:"user",itemSerialId:n.id,itemId:n.user_id,itemLabel:n.labelToDisplay,itemSubLabel:n.descriptionToDisplay,difflist_type:"entity_id",process_date:null,process_comment:null}},n.prototype.getDestUser=function(){return!(null===this.diffList||!this.diffList.dest)&&this.diffList.dest.items},n.prototype.addElem=function(n){return Object(t.__awaiter)(this,void 0,void 0,(function(){var l,e;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return l="cc",this.hasEmptyDest()&&"user"==n.type?this.currentEntityId?[4,this.isUserInCurrentEntity(n.serialId)]:[3,2]:[3,3];case 1:return l=t.sent()&&this.availableRoles.filter((function(n){return"dest"===n.id}))[0].canUpdate?"dest":"cc",[3,3];case 2:l=this.availableRoles.filter((function(n){return"dest"===n.id}))[0].canUpdate?"dest":"cc",t.label=3;case 3:return this.isItemInThisRole(e={listinstance_id:null,item_mode:l,item_type:"user"==n.type?"user":"entity",itemSerialId:n.serialId,itemId:n.id,itemLabel:n.idToDisplay,itemSubLabel:n.descriptionToDisplay,difflist_type:"entity_id",process_date:null,process_comment:null},"cc")||(this.diffList[l].items.unshift(e),void 0!==this.diffFormControl&&this.setFormValues()),[2]}}))}))},n.prototype.isItemInThisRole=function(n,l){return this.diffList[l].items.map((function(n,l){return Object(t.__assign)({},n,{index:l})})).filter((function(l){return l.itemSerialId===n.itemSerialId&&l.item_type===n.item_type})).length>0},n.prototype.isUserInCurrentEntity=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/entities/"+l.currentEntityId+"/users").pipe(Yr((function(l){var t=l.users.filter((function(l){return l.id===n})).length>0;e(t)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}))},n.prototype.removeAllItems=function(){var n=this;Object.keys(this.diffList).forEach((function(l){n.diffList[l].items=[]}))},n.prototype.hasEmptyDest=function(){return 0===this.diffList.dest.items.length},n.prototype.isEmptyList=function(){var n=this,l=!0;return null!==this.diffList&&Object.keys(this.diffList).forEach((function(e){n.diffList[e].items.length>0&&(l=!1)})),l},n.prototype.changeRole=function(n,l,e){"dest"===e.id?this.switchUserWithOldDest(n,l):this.changeUserRole(n,l,e)},n.prototype.switchMode=function(){var n=this;this.adminMode=!this.adminMode,this.adminMode&&this.canUpdateRoles()&&setTimeout((function(){n.renderer.selectRootElement("#autoCompleteInput").focus()}),100)},n.prototype.switchUserWithOldDest=function(n,l){var e=this;this.http.get("../../rest/users/"+n.itemSerialId+"/entities").pipe(q((function(n){return n.entities=n.entities.map((function(n){return n.id})),n})),Yr((function(i){var a=!1,o=[];if(i.entities.forEach((function(n){e.allowedEntities.indexOf(n)>-1&&(a=!0,o.push(n))})),a||"process"===e.target||"details"===e.target){if(e.diffList.dest.items.length>0){var r=e.diffList.dest.items[0];-1!==e.diffList[l.id].items.map((function(n){return n.itemSerialId})).indexOf(r.itemSerialId)||e.isItemInThisRole(r,l.id)||(r.item_mode=l.id,e.diffList[l.id].items.push(r))}var u=e.diffList[l.id].items.map((function(n,l){return Object(t.__assign)({},n,{index:l})})).filter((function(l){return l.itemSerialId===n.itemSerialId&&l.item_type===n.item_type}));u.length>0&&e.diffList[l.id].items.splice(u[0].index,1),n.item_mode="dest",e.diffList.dest.items[0]=n,void 0!==e.diffFormControl&&e.setFormValues(),void 0!==e.triggerEvent&&e.triggerEvent.emit(o)}else e.dialog.open(KI,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:e.lang.userUnauthorized,msg:"<b>"+n.itemLabel+"</b> "+e.lang.notInAuthorizedEntities}})}))).subscribe()},n.prototype.changeUserRole=function(n,l,e){var t;(t=this.diffList[l.id].items.map((function(n){return n.itemSerialId})).indexOf(n.itemSerialId))>-1&&this.diffList[l.id].items.splice(t,1),this.isItemInThisRole(n,e.id)||(n.item_mode=e.id,this.diffList[e.id].items.push(n)),void 0!==this.diffFormControl&&this.setFormValues()},n.prototype.setFormValues=function(){var n=this,l=[];Object.keys(this.diffList).forEach((function(e){l=l.concat(n.diffList[e].items.map((function(n){return{id:n.itemSerialId,mode:e,type:"user"===n.item_type?"user":"entity"}})))})),this.diffFormControl.setValue(l),this.diffFormControl.markAsTouched()},n.prototype.canUpdateRoles=function(){return this.availableRoles.filter((function(n){return!0===n.canUpdate})).length>0},n.prototype.isModified=function(){return JSON.stringify(this.listinstanceClone)!==JSON.stringify(this.getCurrentListinstance())},n}(),TW=yt({encapsulation:0,styles:[[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);background:#fff;padding:10px}.cdk-drag-preview[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]{cursor:move}.notDraggable[_ngcontent-%COMP%]{cursor:not-allowed}.notEditable[_ngcontent-%COMP%]{cursor:initial}.roleList[_ngcontent-%COMP%]{padding-bottom:40px}.diffusionList[_ngcontent-%COMP%]{box-shadow:none}.diffusionList[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#4a4a4a;font-weight:700;font-size:13px}.diffusionList[_ngcontent-%COMP%] .item-diffusion-list[_ngcontent-%COMP%]{height:55px;margin-bottom:10px;background-color:rgba(216,216,216,.1);border-radius:10px;font-size:13px}.diffusionList[_ngcontent-%COMP%] .item-diffusion-list[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:13px;height:13px;width:13px;padding-right:10px}.diffusionList[_ngcontent-%COMP%] .item-diffusion-list[_ngcontent-%COMP%] .item-diffusion[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;overflow:hidden}.diffusionList[_ngcontent-%COMP%] .item-diffusion-list[_ngcontent-%COMP%] .item-diffusion[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{margin:0}.diffusionList[_ngcontent-%COMP%] .item-diffusion-list[_ngcontent-%COMP%] .subInfo[_ngcontent-%COMP%]{font-size:13px;opacity:.5}.diffusionList[_ngcontent-%COMP%] .item-diffusion-list[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{background:#fff;font-size:13px;border:.5px solid rgba(74,74,74,.32);border-radius:29.5px;color:#4a4a4a} .roleListMenu .mat-menu-content{padding-top:0;padding-bottom:0;font-size:13px;color:#4a4a4a}"]],data:{}});function LW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["appearance","ouline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.addElem(e)&&t),t}),HN,EN)),Di(1,114688,[["test",4]],0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(2,2)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/users","/rest/autocomplete/entities");n(l,1,0,"ouline",t,e.lang.addUserOrEntity,"idToDisplay","descriptionToDisplay")}),null)}function RW(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","text-align:center;font-size:24px;font-weight:bold;opacity:0.3;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noDiffusionList)}))}function NW(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-danger"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.diffNoDestmsg)}))}function jW(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,["(",") "]))],null,(function(n,l){n(l,1,0,l.component.diffList[l.parent.parent.context.$implicit.id].items.length)}))}function VW(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.changeDest(n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[5,4],[6,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,l.context.$implicit.labelToDisplay)}))}function qW(n){return jo(0,[(n()(),_o(0,0,null,null,14,"div",[],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),"click"===l&&(t=!1!==i.loadDestUserList()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fa fa-edit mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(6,0,null,null,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(9,1294336,[["menuDestUserList",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,5,{_allItems:1}),ko(603979776,6,{items:1}),ko(603979776,7,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,VW)),Di(14,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,bi(l,9)),n(l,5,0,"primary"),n(l,9,0),n(l,14,0,e.userDestList)}),(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.chooseAnotherEntityUser,""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function zW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""],["style","font-size:13px;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.changeRole(n.parent.parent.parent.context.$implicit,n.parent.parent.parent.parent.parent.context.$implicit,n.parent.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[8,4],[9,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.parent.context.$implicit.label)}))}function UW(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,zW)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.canUpdate&&"redirect"!==e.target||"dest"!==l.context.$implicit.id&&"redirect"===e.target&&l.context.$implicit.canUpdate)}),null)}function BW(n){return jo(0,[(n()(),_o(0,0,null,null,14,"div",[],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(4,0,[""," "])),(n()(),_o(5,0,null,0,0,"i",[["class","fa fa-chevron-down"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,8,{_allItems:1}),ko(603979776,9,{items:1}),ko(603979776,10,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,UW)),Di(14,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,!e.canUpdateRoles()),n(l,3,0,bi(l,9)),n(l,9,0,"roleListMenu"),n(l,14,0,e.availableRoles)}),(function(n,l){n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,l.parent.parent.parent.context.$implicit.label)}))}function $W(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteItem(n.parent.parent.parent.context.$implicit.id,n.parent.context.index)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,!l.component.canUpdateRoles(),"warn"),n(l,4,0)}),(function(n,l){n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function HW(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-list-item",[["class","item-diffusion-list mat-list-item"],["disableRipple",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,2,{_lines:1}),ko(603979776,3,{_avatar:0}),ko(603979776,4,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"fa-user",null],[2,"fa-sitemap",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[4,4]],0,iI,[],null,null),(n()(),_o(8,0,null,2,6,"div",[["class","item-diffusion"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,2,"p",[["class","mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(10,16384,[[2,4]],0,pv,[],null,null),(n()(),Lo(11,null,["",""])),(n()(),_o(12,0,null,null,2,"p",[["class","subInfo mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(13,16384,[[2,4]],0,pv,[],null,null),(n()(),Lo(14,null,[" ",""])),(n()(),vo(16777216,null,2,1,null,qW)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,BW)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,$W)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,6,0,"primary"),n(l,16,0,"dest"===l.parent.parent.context.$implicit.id&&"redirect"===e.target&&e.adminMode),n(l,18,0,"dest"!==l.parent.parent.context.$implicit.id&&e.adminMode&&("user_id"===l.context.$implicit.item_type||"user"===l.context.$implicit.item_type)),n(l,20,0,"dest"!==l.parent.parent.context.$implicit.id&&e.adminMode)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,"user_id"===l.context.$implicit.item_type||"user"===l.context.$implicit.item_type,"entity_id"===l.context.$implicit.item_type||"entity"===l.context.$implicit.item_type,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,9,0,l.context.$implicit.itemLabel),n(l,11,0,l.context.$implicit.itemLabel),n(l,12,0,l.context.$implicit.itemSubLabel),n(l,14,0,l.context.$implicit.itemSubLabel)}))}function GW(n){return jo(0,[(n()(),_o(0,16777216,null,null,16,"mat-expansion-panel",[["class","diffusionList mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,1,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,8,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,4,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,jW)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,0,null,1,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(14,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,HW)),Di(16,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,"dest"===l.parent.context.$implicit.id||e.adminMode||e.expanded),n(l,12,0,"dest"!==l.parent.context.$implicit.id),n(l,16,0,e.diffList[l.parent.context.$implicit.id].items)}),(function(n,l){n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var e=bi(l,5).panel._headerId,t=bi(l,5).disabled?-1:0,i=bi(l,5)._getPanelId(),a=bi(l,5)._isExpanded(),o=bi(l,5).panel.disabled,r=bi(l,5)._isExpanded(),u="after"===bi(l,5)._getTogglePosition(),s="before"===bi(l,5)._getTogglePosition(),c=bi(l,5)._animationsDisabled,d=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,e,t,i,a,o,r,u,s,c,d),n(l,10,0,l.parent.context.$implicit.label)}))}function WW(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,GW)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.diffList[l.context.$implicit.id].items.length>0)}),null)}function KW(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,LW)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,RW)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NW)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,WW)),Di(8,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.adminMode&&e.canUpdateRoles()),n(l,4,0,e.isEmptyList()&&!e.loading),n(l,6,0,e.hasNoDest),n(l,8,0,e.availableRoles)}),null)}function YW(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function JW(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,KW)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,YW)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,!e.loading),n(l,3,0,e.loading)}),null)}var ZW=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.router=i,this.appService=a,this.functions=o,this.viewContainerRef=r,this.lang=Kr,this.loading=!1,this.entities=[],this.listTemplateRoles=[],this.entityTypeList=[],this.currentEntity={},this.isDraggable=!0,this.newEntity=!1,this.creationMode=!1,this.visaCircuitModified=!1,this.opinionCircuitModified=!1,this.config={},this.dataSourceUsers=new mR(this.currentEntity.users),this.dataSourceTemplates=new mR(this.currentEntity.templates),this.displayedColumnsUsers=["firstname","lastname"],this.displayedColumnsTemplates=["template_label","template_target"]}return n.prototype.applyFilterUsers=function(n){n=(n=n.trim()).toLowerCase(),this.dataSourceUsers.filter=n},n.prototype.applyFilterTemplates=function(n){n=(n=n.trim()).toLowerCase(),this.dataSourceTemplates.filter=n},n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.headerService.setHeader(this.lang.administration+" "+this.lang.entities),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,[4,this.getEntityTypes()];case 1:return n.sent(),[4,this.getRoles()];case 2:return n.sent(),[4,this.getEntities()];case 3:return n.sent(),this.loading=!1,this.initEntitiesTree(),[2]}}))}))},n.prototype.initEntitiesTree=function(){var n=this;setTimeout((function(){$j("#jstree").jstree({checkbox:{deselect_all:!0,three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:n.entities,check_callback:function(n,l,e,t,i){if("move_node"==n)return"#"!=e.id&&!!e.original.allowed}},dnd:{is_draggable:function(n){for(var l=0,e=n.length;l<e;l++)if(!n[l].original.allowed)return!1;return!0}},plugins:["checkbox","search","dnd","sort"]}),$j("#jstree").jstree("select_node",n.entities[0]);var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)})),$j("#jstree").on("select_node.jstree",(function(l,e){0==n.sidenavRight.opened&&n.sidenavRight.open(),1==n.creationMode?n.currentEntity.parent_entity_id=e.node.id:1==n.newEntity?(n.loadEntity(n.currentEntity.entity_id),n.newEntity=!1):n.loadEntity(e.node.id)})).on("deselect_node.jstree",(function(l,e){n.sidenavRight.close()})).on("move_node.jstree",(function(l,e){n.currentEntity.parent_entity_id!=n.currentEntity.entity_id&&(n.currentEntity.parent_entity_id=e.parent),n.moveEntity()})).jstree(),$j(document).on("dnd_start.vakata",(function(n,l){$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",l.data.nodes[0])}))}),0)},n.prototype.getEntityTypes=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/entityTypes").pipe(Yr((function(e){n.entityTypeList=e.types,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.getRoles=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/listTemplates/types/entity_id/roles").pipe(Yr((function(e){n.listTemplateRoles=e.roles,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.getEntities=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/entities").pipe(Yr((function(e){n.entities=e.entities,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.loadEntity=function(n){var l=this;this.visaCircuitModified=!1,this.opinionCircuitModified=!1,this.http.get("../../rest/entities/"+n+"/details").subscribe((function(n){l.currentEntity=n.entity,l.appDiffusionsList.loadListModel(l.currentEntity.id),l.appVisaWorkflow.loadListModel(l.currentEntity.id),l.appAvisWorkflow.loadListModel(l.currentEntity.id),l.idVisaCircuit=l.currentEntity.visaCircuit?l.currentEntity.visaCircuit.id:null,l.idOpinionCircuit=l.currentEntity.opinionCircuit?l.currentEntity.opinionCircuit.id:null,l.dataSourceUsers=new mR(l.currentEntity.users),l.dataSourceUsers.paginator=l.paginatorUsers,l.dataSourceUsers.sort=l.sortUsers,l.dataSourceTemplates=new mR(l.currentEntity.templates),l.dataSourceTemplates.paginator=l.paginatorTemplates,l.dataSourceTemplates.sort=l.sortTemplates,l.currentEntity.listTemplate.items||(l.currentEntity.listTemplate.items=[]),l.listTemplateRoles.forEach((function(n){n.available&&!l.currentEntity.listTemplate.items[n.id]&&(l.currentEntity.listTemplate.items[n.id]=[])}))}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.addElemListModelVisa=function(n){this.visaCircuitModified=!0;var l={id:n.id,type:"user",mode:"sign",idToDisplay:n.idToDisplay,descriptionToDisplay:n.otherInfo};this.currentEntity.visaCircuit.items||(this.currentEntity.visaCircuit.items=[]),this.currentEntity.visaCircuit.items.push(l),this.currentEntity.visaCircuit.items.length>1&&(this.currentEntity.visaCircuit.items[this.currentEntity.visaCircuit.items.length-2].mode="visa")},n.prototype.addElemListModelOpinion=function(n){this.opinionCircuitModified=!0;var l={id:n.id,type:"user",mode:"avis",idToDisplay:n.idToDisplay,descriptionToDisplay:n.otherInfo};this.currentEntity.opinionCircuit.items||(this.currentEntity.opinionCircuit.items=[]),this.currentEntity.opinionCircuit.items.push(l)},n.prototype.saveEntity=function(){var n=this;"#"==this.currentEntity.parent_entity_id&&(this.currentEntity.parent_entity_id="");var l=!0;""==this.currentEntity.parent_entity_id&&(l=confirm(this.lang.entityWithoutParentMessage)),l&&(this.creationMode?this.http.post("../../rest/entities",this.currentEntity).subscribe((function(l){n.currentEntity.listTemplate=[],n.entities=l.entities,n.creationMode=!1,n.newEntity=!0,$j("#jstree").jstree(!0).settings.core.data=n.entities,$j("#jstree").jstree(!0).settings.select_node=n.currentEntity,$j("#jstree").jstree(!0).refresh(),$j("#jstree").on("refresh.jstree",(function(l){$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",n.currentEntity.entity_id)})),n.notify.success(n.lang.entityAdded)}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/entities/"+this.currentEntity.entity_id,this.currentEntity).subscribe((function(l){n.entities=l.entities,$j("#jstree").jstree(!0).settings.core.data=n.entities,$j("#jstree").jstree("refresh"),n.notify.success(n.lang.entityUpdated)}),(function(l){n.notify.error(l.error.errors)})))},n.prototype.moveEntity=function(){var n=this;this.http.put("../../rest/entities/"+this.currentEntity.entity_id,this.currentEntity).subscribe((function(){n.notify.success(n.lang.entityUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.readMode=function(){if(this.creationMode=!1,this.isDraggable=!0,$j("#jstree").jstree("deselect_all"),this.currentEntity.parent_entity_id){for(var n=0;n<this.entities.length;n++)if(this.entities[n].entity_id==this.currentEntity.parent_entity_id){$j("#jstree").jstree("select_node",this.entities[n]);break}}else this.sidenavRight.close()},n.prototype.selectParentEntity=function(n){this.creationMode&&($j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",n))},n.prototype.removeEntity=function(){var n=this;this.currentEntity.documents>0||this.currentEntity.redirects>0||this.currentEntity.instances>0||this.currentEntity.users.length>0||this.currentEntity.templates.length>0?(this.config={panelClass:"maarch-modal",data:{entity:this.currentEntity}},this.dialogRef=this.dialog.open(QW,this.config),this.dialogRef.afterClosed().subscribe((function(l){l&&(n.currentEntity.listTemplate.id&&n.http.delete("../../rest/listTemplates/"+n.currentEntity.listTemplate.id).subscribe((function(l){n.currentEntity.listTemplate.id=l.id,n.http.get("../../rest/listTemplates/types/entity_id/roles").subscribe((function(l){n.listTemplateRoles=l.roles}),(function(l){n.notify.error(l.error.errors)}))}),(function(l){n.notify.error(l.error.errors)})),n.idVisaCircuit&&n.http.delete("../../rest/listTemplates/"+n.idVisaCircuit).subscribe((function(){n.idVisaCircuit=null}),(function(l){n.notify.error(l.error.errors)})),n.http.put("../../rest/entities/"+l.entity_id+"/reassign/"+l.redirectEntity,{}).subscribe((function(l){n.entities=l.entities,$j("#jstree").jstree(!0).settings.core.data=n.entities,$j("#jstree").jstree("refresh"),n.sidenavRight.close(),n.notify.success(void 0===l.deleted||l.deleted?n.lang.entityDeleted:n.lang.entityDeletedButAnnuaryUnreachable)}),(function(l){n.notify.error(l.error.errors)}))),n.dialogRef=null}))):confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+this.currentEntity.entity_label+" »")&&(this.currentEntity.listTemplate.id&&this.http.delete("../../rest/listTemplates/"+this.currentEntity.listTemplate.id).subscribe((function(l){n.currentEntity.listTemplate.id=l.id,n.http.get("../../rest/listTemplates/types/entity_id/roles").subscribe((function(l){n.listTemplateRoles=l.roles}),(function(l){n.notify.error(l.error.errors)}))}),(function(l){n.notify.error(l.error.errors)})),this.idVisaCircuit&&this.http.delete("../../rest/listTemplates/"+this.idVisaCircuit).subscribe((function(){n.idVisaCircuit=null}),(function(l){n.notify.error(l.error.errors)})),this.http.delete("../../rest/entities/"+this.currentEntity.entity_id).subscribe((function(l){n.entities=l.entities,$j("#jstree").jstree(!0).settings.core.data=n.entities,$j("#jstree").jstree("refresh"),n.sidenavRight.close(),n.notify.success(void 0===l.deleted||l.deleted?n.lang.entityDeleted:n.lang.entityDeletedButAnnuaryUnreachable)}),(function(l){n.notify.error(l.error.errors)})))},n.prototype.prepareEntityAdd=function(){if(this.creationMode=!0,this.isDraggable=!1,this.currentEntity.entity_id){for(var n=0;n<this.entities.length;n++)if(this.entities[n].entity_id==this.currentEntity.entity_id){this.currentEntity={entity_type:this.entityTypeList[0].id},this.currentEntity.parent_entity_id=this.entities[n].entity_id;break}}else this.currentEntity={entity_type:this.entityTypeList[0].id},$j("#jstree").jstree("deselect_all"),this.sidenavRight.open()},n.prototype.updateStatus=function(n,l){var e=this;this.http.put("../../rest/entities/"+n.entity_id+"/status",{method:l}).subscribe((function(n){e.notify.success("")}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.saveDiffList=function(){var n=this,l={title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,type:"diffusionList",entityId:this.currentEntity.id,items:this.appDiffusionsList.getCurrentListinstance().map((function(n){return{id:n.item_id,type:n.item_type,mode:n.item_mode}}))};this.functions.empty(this.currentEntity.listTemplate.id)?this.http.post("../../rest/listTemplates?admin=true",l).pipe(Yr((function(l){n.currentEntity.listTemplate.id=l.id,n.notify.success(n.lang.diffusionModelUpdated),n.appDiffusionsList.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.http.put("../../rest/listTemplates/"+this.currentEntity.listTemplate.id,l).pipe(Yr((function(){n.notify.success(n.lang.diffusionModelUpdated),n.appDiffusionsList.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.deleteDiffList=function(){var n=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.delete("../../rest/listTemplates/"+n.currentEntity.listTemplate.id)})),Yr((function(){n.currentEntity.listTemplate.id=null,n.notify.success(n.lang.diffusionModelDeleted),n.appDiffusionsList.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.saveDiffListVisa=function(){var n=this,l={title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,type:"visaCircuit",entityId:this.currentEntity.id,items:this.appVisaWorkflow.getWorkflow().map((function(n,l){return{id:n.item_id,type:n.item_type,mode:n.requested_signature?"sign":"visa",sequence:l}}))};this.appVisaWorkflow.isValidWorkflow()||this.functions.empty(l.items)?this.functions.empty(l.items)?this.http.delete("../../rest/listTemplates/"+this.idVisaCircuit).pipe(Yr((function(){n.idVisaCircuit=null,n.notify.success(n.lang.diffusionModelDeleted),n.appVisaWorkflow.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.functions.empty(this.idVisaCircuit)?this.http.post("../../rest/listTemplates?admin=true",l).pipe(Yr((function(l){n.idVisaCircuit=l.id,n.notify.success(n.lang.diffusionModelUpdated),n.appVisaWorkflow.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.http.put("../../rest/listTemplates/"+this.idVisaCircuit,l).pipe(Yr((function(){n.notify.success(n.lang.diffusionModelUpdated),n.appVisaWorkflow.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.notify.error(this.appVisaWorkflow.getError())},n.prototype.saveDiffListOpinion=function(){var n=this,l={title:this.currentEntity.entity_id,description:this.currentEntity.entity_id,type:"opinionCircuit",entityId:this.currentEntity.id,items:this.appAvisWorkflow.getWorkflow().map((function(n,l){return{id:n.item_id,type:n.item_type,mode:"avis",sequence:l}}))};this.functions.empty(l.items)?this.http.delete("../../rest/listTemplates/"+this.idOpinionCircuit).pipe(Yr((function(){n.idOpinionCircuit=null,n.notify.success(n.lang.diffusionModelDeleted),n.appAvisWorkflow.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.functions.empty(this.idOpinionCircuit)?this.http.post("../../rest/listTemplates?admin=true",l).pipe(Yr((function(l){n.idOpinionCircuit=l.id,n.notify.success(n.lang.diffusionModelUpdated),n.appAvisWorkflow.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.http.put("../../rest/listTemplates/"+this.idOpinionCircuit,l).pipe(Yr((function(){n.notify.success(n.lang.diffusionModelUpdated),n.appAvisWorkflow.loadListModel(n.currentEntity.id)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.removeDiffListOpinion=function(n,l){this.opinionCircuitModified=!0,this.currentEntity.opinionCircuit.items.splice(l,1)},n.prototype.toggleRole=function(n){var l=this;n.usedIn.length>0?this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,data:{title:this.lang.confirmAction,msg:this.lang.roleUsedInTemplateInfo+" : <b>"+n.usedIn.join(", ")+"</b><br/>"+this.lang.roleUsedInTemplateInfo2}}).afterClosed().subscribe((function(e){"ok"===e&&(n.available=!n.available,l.http.put("../../rest/listTemplates/types/entity_id/roles",{roles:l.listTemplateRoles}).subscribe((function(){n.usedIn=[],l.currentEntity.listTemplate&&(l.currentEntity.listTemplate.items[n.id]=[]),l.notify.success(l.lang.listTemplatesRolesUpdated)}),(function(n){l.notify.error(n.error.errors)})))})):(n.available=!n.available,this.http.put("../../rest/listTemplates/types/entity_id/roles",{roles:this.listTemplateRoles}).subscribe((function(){l.currentEntity.listTemplate&&(l.currentEntity.listTemplate.items[n.id]=[],l.http.get("../../rest/listTemplates/types/entity_id/roles").subscribe((function(n){l.listTemplateRoles=n.roles}),(function(n){l.notify.error(n.error.errors)}))),l.notify.success(l.lang.listTemplatesRolesUpdated)}),(function(n){l.notify.error(n.error.errors)})))},n.prototype.linkUser=function(n){var l=this;this.http.post("../../rest/users/"+n.id+"/entities",{entityId:this.currentEntity.entity_id,role:""}).subscribe((function(e){var t=n.idToDisplay.split(" ");l.currentEntity.users.push({id:n.id,user_id:n.otherInfo,firstname:t[0],lastname:t[1]}),l.dataSourceUsers=new mR(l.currentEntity.users),l.dataSourceUsers.paginator=l.paginatorUsers,l.dataSourceUsers.sort=l.sortUsers,l.notify.success(l.lang.userAdded)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.showTemplate=function(n){this.currentEntity.canAdminTemplates&&this.router.navigate(["/administration/templates/"+n])},n.prototype.addEntityToAnnuary=function(){var n=this;this.http.put("../../rest/entities/"+this.currentEntity.id+"/annuaries",this.currentEntity).subscribe((function(l){n.currentEntity.business_id=l.entitySiret,n.notify.success(void 0===l.synchronized?n.lang.siretGenerated:l.synchronized?n.lang.siretGeneratedAndSynchronizationDone:n.lang.siretGeneratedButAnnuaryUnreachable)}),(function(l){n.notify.handleErrors(l)}))},n}(),QW=function(){function n(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr,console.log(this.data.entity.redirectEntity)}return n.prototype.setRedirectEntity=function(n){this.data.entity.redirectEntity=n.id},n}(),XW=yt({encapsulation:0,styles:[[".mat-list-item[draggable=false][_ngcontent-%COMP%]:hover{background:inherit}.mat-list-item[draggable=false][_ngcontent-%COMP%]{cursor:not-allowed!important}.mat-list-item[draggable=true][_ngcontent-%COMP%]{cursor:pointer}.mat-list-item[draggable=true][_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{cursor:move}"]],data:{}});function nK(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(bi(n.parent.parent,33).open(),t=!1!==i.prepareEntityAdd()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,12,{_lines:1}),ko(603979776,13,{_avatar:0}),ko(603979776,14,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[14,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[12,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.add)}))}function lK(n){return jo(0,[(n()(),_o(0,0,null,null,16,"a",[["class","mat-list-item"],["disableRipple","true"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,15,{_lines:1}),ko(603979776,16,{_avatar:0}),ko(603979776,17,{_icon:0}),(n()(),_o(5,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[17,4]],0,iI,[],null,null),(n()(),_o(8,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,10)._inputElement.nativeElement.focus()&&t),"click"===l&&(i.toggleRole(n.parent.context.$implicit),t=!1),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(10,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},null),(n()(),_o(11,0,null,1,5,"p",[["class","mat-line"],["mat-line",""]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(n.component.toggleRole(n.parent.context.$implicit),t=!1),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(13,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(14,{opacity:0}),Di(15,16384,[[15,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,1,0,"true"),n(l,6,0,"primary"),n(l,10,0,"primary",l.parent.context.$implicit.available);var e=n(l,14,0,l.parent.context.$implicit.available?"":"0.5");n(l,13,0,e)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,bi(l,10).id,bi(l,10).disabled?null:-1,bi(l,10).checked,bi(l,10).disabled,"before"==bi(l,10).labelPosition,"NoopAnimations"===bi(l,10)._animationMode),n(l,16,0,l.parent.context.$implicit.label)}))}function eK(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,lK)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"dest"!=l.context.$implicit.id&&"cc"!=l.context.$implicit.id)}),null)}function tK(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,0,1,null,nK)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(8,49152,null,0,mI,[],null,null),(n()(),_o(9,0,null,null,6,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(10,704512,null,0,eI,[],null,null),(n()(),_o(11,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(12,16384,null,0,aI,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),vo(16777216,null,0,1,null,eK)),Di(15,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,!e.creationMode),n(l,15,0,e.listTemplateRoles)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,7,0,bi(l,8).vertical?"vertical":"horizontal",bi(l,8).vertical,!bi(l,8).vertical,bi(l,8).inset),n(l,13,0,e.lang.additionalRoles)}))}function iK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function aK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[24,4]],0,tT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,2,0,e.lang.entityTreeInfo)}))}function oK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[24,4]],0,tT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,2,0,e.lang.entityTreeInfoCreation)}))}function rK(n){return jo(0,[(n()(),_o(0,0,null,null,22,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,17,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,18,{_controlNonStatic:0}),ko(335544320,19,{_controlStatic:0}),ko(603979776,20,{_labelChildNonStatic:0}),ko(335544320,21,{_labelChildStatic:0}),ko(603979776,22,{_placeholderChild:0}),ko(603979776,23,{_errorChildren:1}),ko(603979776,24,{_hintChildren:1}),ko(603979776,25,{_prefixChildren:1}),ko(603979776,26,{_suffixChildren:1}),(n()(),_o(13,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,14)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,14)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,14)._onInput()&&t),t}),null,null)),Di(14,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[18,4],[19,4]],nT,null,[OT]),(n()(),vo(16777216,null,6,1,null,aK)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,6,1,null,oK)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,0,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),_o(21,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(22,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,14,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text"),n(l,17,0,!e.creationMode),n(l,19,0,e.creationMode)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,0,bi(l,14)._isServer,bi(l,14).id,bi(l,14).placeholder,bi(l,14).disabled,bi(l,14).required,bi(l,14).readonly&&!bi(l,14)._isNativeSelect||null,bi(l,14)._ariaDescribedby||null,bi(l,14).errorState,bi(l,14).required.toString()),n(l,22,0,e.entities.length,e.lang.entities)}))}function uK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[39,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.entity_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.entity_label)}))}function sK(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,uK)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,!l.context.$implicit.state.disabled&&l.context.$implicit.entity_id!=e.currentEntity.entity_id||e.currentEntity.parent_entity_id==l.context.$implicit.entity_id)}),null)}function cK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[51,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function dK(n){return jo(0,[(n()(),_o(0,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,54,{_controlNonStatic:0}),ko(335544320,55,{_controlStatic:0}),ko(603979776,56,{_labelChildNonStatic:0}),ko(335544320,57,{_labelChildStatic:0}),ko(603979776,58,{_placeholderChild:0}),ko(603979776,59,{_errorChildren:1}),ko(603979776,60,{_hintChildren:1}),ko(603979776,61,{_prefixChildren:1}),ko(603979776,62,{_suffixChildren:1}),(n()(),_o(13,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","id"],["matInput",""],["name","id"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,14)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,14).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,14)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,14)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,19)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,19)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.id=e)&&t),t}),null,null)),Di(14,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(16,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(18,16384,null,0,y_,[[4,v_]],null,null),Di(19,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],type:[3,"type"]},null),Ei(2048,[[54,4],[55,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,16,0,"id","",e.currentEntity.id),n(l,19,0,"","id",Wt(1,"",e.lang.technicalId,""),"text")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.technicalId,""),bi(l,18).ngClassUntouched,bi(l,18).ngClassTouched,bi(l,18).ngClassPristine,bi(l,18).ngClassDirty,bi(l,18).ngClassValid,bi(l,18).ngClassInvalid,bi(l,18).ngClassPending,bi(l,19)._isServer,bi(l,19).id,bi(l,19).placeholder,bi(l,19).disabled,bi(l,19).required,bi(l,19).readonly&&!bi(l,19)._isNativeSelect||null,bi(l,19)._ariaDescribedby||null,bi(l,19).errorState,bi(l,19).required.toString()])}))}function pK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["maxlength","255"],["type","text"],["value","Paramètre SIRET manquant"]],[[8,"title",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,1)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,1)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,1)._onInput()&&t),t}),null,null)),Di(1,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"],value:[3,"value"]},null),Ei(2048,[[164,4],[165,4]],nT,null,[OT])],(function(n,l){n(l,1,0,"",Wt(1,"",l.component.lang.siretCode,""),"text","Paramètre SIRET manquant")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.siretCode,""),bi(l,1)._isServer,bi(l,1).id,bi(l,1).placeholder,bi(l,1).disabled,bi(l,1).required,bi(l,1).readonly&&!bi(l,1)._isNativeSelect||null,bi(l,1)._ariaDescribedby||null,bi(l,1).errorState,bi(l,1).required.toString())}))}function mK(n){return jo(0,[(n()(),_o(0,0,null,null,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","business_id"],["matInput",""],["maxlength","255"],["name","business_id"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,8)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,8)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,8)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.business_id=e)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(5,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(7,16384,null,0,y_,[[4,v_]],null,null),Di(8,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],type:[3,"type"]},null),Ei(2048,[[164,4],[165,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"255"),n(l,5,0,"business_id","",e.currentEntity.business_id),n(l,8,0,"","business_id",Wt(1,"",e.lang.siretCode,""),"text")}),(function(n,l){n(l,0,1,[Wt(1,"",l.component.lang.siretCode,""),bi(l,2).maxlength?bi(l,2).maxlength:null,bi(l,7).ngClassUntouched,bi(l,7).ngClassTouched,bi(l,7).ngClassPristine,bi(l,7).ngClassDirty,bi(l,7).ngClassValid,bi(l,7).ngClassInvalid,bi(l,7).ngClassPending,bi(l,8)._isServer,bi(l,8).id,bi(l,8).placeholder,bi(l,8).disabled,bi(l,8).required,bi(l,8).readonly&&!bi(l,8)._isNativeSelect||null,bi(l,8)._ariaDescribedby||null,bi(l,8).errorState,bi(l,8).required.toString()])}))}function fK(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""],["matSuffix",""],["title","Générer un numéro SIRET"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addEntityToAnnuary()&&t),t}),PC,MC)),Di(1,16384,[[172,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fas fa-compress-arrows-alt mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,"primary"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function hK(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,17,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,164,{_controlNonStatic:0}),ko(335544320,165,{_controlStatic:0}),ko(603979776,166,{_labelChildNonStatic:0}),ko(335544320,167,{_labelChildStatic:0}),ko(603979776,168,{_placeholderChild:0}),ko(603979776,169,{_errorChildren:1}),ko(603979776,170,{_hintChildren:1}),ko(603979776,171,{_prefixChildren:1}),ko(603979776,172,{_suffixChildren:1}),(n()(),vo(16777216,null,1,1,null,pK)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,mK)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,4,1,null,fK)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,14,0,!e.currentEntity.canSynchronizeSiret),n(l,16,0,e.currentEntity.canSynchronizeSiret),n(l,18,0,e.currentEntity.canSynchronizeSiret)}),(function(n,l){n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled])}))}function gK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeEntity()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!bi(l.parent,45).form.valid||e.currentEntity.hasChildren,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function bK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.readMode()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.cancel)}))}function vK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteDiffList()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function _K(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveDiffList()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(4,0,["",""])),(n()(),_o(5,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n.parent,7).loadListModel(i.currentEntity.id)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(7,0,["",""])),(n()(),vo(16777216,null,null,1,null,vK)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,bi(l.parent,7).hasEmptyDest()||!bi(l.parent,7).isModified(),"primary"),n(l,6,0,!bi(l.parent,7).isModified(),"default"),n(l,9,0,!bi(l.parent,7).isEmptyList()&&e.currentEntity.listTemplate.id)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.save),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,e.lang.cancel)}))}function yK(n){return jo(0,[(n()(),_o(0,16777216,null,null,9,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[27,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,191,{templateLabel:0}),ko(335544320,192,{_explicitContent:0}),(n()(),_o(4,0,null,0,5,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,1,"app-diffusions-list",[],null,null,null,JW,TW)),Di(7,114688,[[7,4],["appDiffusionsList",4]],0,OW,[nS,tu,Te,Jv,$S,_u],{adminMode:[0,"adminMode"],target:[1,"target"]},null),(n()(),vo(16777216,null,null,1,null,_K)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.diffusionList,"")),n(l,7,0,!0,"redirect"),n(l,9,0,e.currentEntity.entity_id)}),null)}function wK(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveDiffListVisa()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(4,0,["",""])),(n()(),_o(5,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n.parent,8).loadListModel(i.currentEntity.id)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(7,0,["",""]))],(function(n,l){n(l,3,0,!bi(l.parent,8).isModified(),"primary"),n(l,6,0,!bi(l.parent,8).isModified(),"default")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.save),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,e.lang.cancel)}))}function xK(n){return jo(0,[(n()(),_o(0,16777216,null,null,10,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[27,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,193,{templateLabel:0}),ko(335544320,194,{_explicitContent:0}),(n()(),_o(4,0,null,0,6,"div",[["class","row"],["id","visaCircuitContent"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(8,114688,[[8,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],showListModels:[1,"showListModels"],showComment:[2,"showComment"]},null),(n()(),vo(16777216,null,null,1,null,wK)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.visaWorkflow,"")),n(l,8,0,!0,!1,!1),n(l,10,0,e.currentEntity.entity_id)}),null)}function CK(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveDiffListOpinion()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(4,0,["",""])),(n()(),_o(5,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n.parent,7).loadListModel(i.currentEntity.id)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(7,0,["",""]))],(function(n,l){n(l,3,0,!bi(l.parent,7).isModified(),"primary"),n(l,6,0,!bi(l.parent,7).isModified(),"default")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.save),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,e.lang.cancel)}))}function kK(n){return jo(0,[(n()(),_o(0,16777216,null,null,9,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[27,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,195,{templateLabel:0}),ko(335544320,196,{_explicitContent:0}),(n()(),_o(4,0,null,0,5,"div",[["class","row"],["id","opinionCircuitContent"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(7,114688,[[9,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],showListModels:[1,"showListModels"]},null),(n()(),vo(16777216,null,null,1,null,CK)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.avis,"")),n(l,7,0,!0,!1),n(l,9,0,e.currentEntity.entity_id)}),null)}function SK(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","col-md-12"],["style","padding:5px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"plugin-autocomplete",[],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.linkUser(e)&&t),t}),HN,EN)),Di(2,114688,null,0,FN,[nS,tu,Jv,QS],{routeDatas:[0,"routeDatas"],placeholder:[1,"placeholder"],optGroupLabel:[2,"optGroupLabel"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(3,1),(n()(),_o(4,0,null,null,0,"hr",[],null,null,null,null,null))],(function(n,l){var e=l.component,t=n(l,3,0,"/rest/autocomplete/users/administration");n(l,2,0,t,e.lang.linkUser,e.lang.availableUsers,"idToDisplay","descriptionToDisplay")}),null)}function IK(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.firstname)}))}function AK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.firstname)}))}function MK(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.lastname)}))}function PK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.lastname)}))}function DK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function FK(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/users/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function EK(n){return jo(0,[(n()(),_o(0,16777216,null,null,64,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[27,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,197,{templateLabel:0}),ko(335544320,198,{_explicitContent:0}),(n()(),_o(4,0,null,0,20,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,SK)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(9,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,199,{_controlNonStatic:0}),ko(335544320,200,{_controlStatic:0}),ko(603979776,201,{_labelChildNonStatic:0}),ko(335544320,202,{_labelChildStatic:0}),ko(603979776,203,{_placeholderChild:0}),ko(603979776,204,{_errorChildren:1}),ko(603979776,205,{_hintChildren:1}),ko(603979776,206,{_prefixChildren:1}),ko(603979776,207,{_suffixChildren:1}),(n()(),_o(19,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilterUsers(e.target.value)&&t),t}),null,null)),Di(20,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[199,4],[200,4]],nT,null,[OT]),(n()(),_o(22,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(24,245760,[[3,4],["paginatorUsers",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(25,0,null,0,39,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","lastname"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(27,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,208,{_contentColumnDefs:1}),ko(603979776,209,{_contentRowDefs:1}),ko(603979776,210,{_contentHeaderRowDefs:1}),ko(603979776,211,{_contentFooterRowDefs:1}),Di(32,737280,[[5,4],["tableUsers",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(33,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(35,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,212,{cell:0}),ko(603979776,213,{headerCell:0}),ko(603979776,214,{footerCell:0}),Ei(2048,[[208,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,IK)),Di(41,16384,null,0,tR,[Xe],null,null),Ei(2048,[[213,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,AK)),Di(44,16384,null,0,eR,[Xe],null,null),Ei(2048,[[212,4]],OL,null,[eR]),(n()(),_o(46,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(48,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,215,{cell:0}),ko(603979776,216,{headerCell:0}),ko(603979776,217,{footerCell:0}),Ei(2048,[[208,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,MK)),Di(54,16384,null,0,tR,[Xe],null,null),Ei(2048,[[216,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,PK)),Di(57,16384,null,0,eR,[Xe],null,null),Ei(2048,[[215,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,DK)),Di(60,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[210,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,FK)),Di(63,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[209,4]],UL,null,[uR]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.users,"")),n(l,6,0,e.currentEntity.canAdminUsers),n(l,20,0,Wt(1,"",e.lang.filterBy,"")),n(l,24,0,100,10,!0),n(l,27,0,e.dataSourceUsers),n(l,32,0,"lastname","asc"),n(l,35,0,"firstname"),n(l,48,0,"lastname"),n(l,60,0,e.displayedColumnsUsers),n(l,63,0,e.displayedColumnsUsers)}),(function(n,l){n(l,8,1,["standard"==bi(l,9).appearance,"fill"==bi(l,9).appearance,"outline"==bi(l,9).appearance,"legacy"==bi(l,9).appearance,bi(l,9)._control.errorState,bi(l,9)._canLabelFloat,bi(l,9)._shouldLabelFloat(),bi(l,9)._hasFloatingLabel(),bi(l,9)._hideControlPlaceholder(),bi(l,9)._control.disabled,bi(l,9)._control.autofilled,bi(l,9)._control.focused,"accent"==bi(l,9).color,"warn"==bi(l,9).color,bi(l,9)._shouldForward("untouched"),bi(l,9)._shouldForward("touched"),bi(l,9)._shouldForward("pristine"),bi(l,9)._shouldForward("dirty"),bi(l,9)._shouldForward("valid"),bi(l,9)._shouldForward("invalid"),bi(l,9)._shouldForward("pending"),!bi(l,9)._animationsEnabled]),n(l,19,0,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString())}))}function OK(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.templateName)}))}function TK(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(3,null,[" "," "])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.context.$implicit.template_comment,""))}),(function(n,l){n(l,3,0,l.context.$implicit.template_label)}))}function LK(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.templateTarget)}))}function RK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang[l.context.$implicit.template_target])}))}function NK(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function jK(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-row",[["class","mat-row"],["role","row"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showTemplate(n.context.$implicit.template_id)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(3,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(4,{cursor:0}),Di(5,49152,null,0,cR,[],null,null)],(function(n,l){var e=n(l,4,0,l.component.currentEntity.canAdminTemplates?"pointer":"position");n(l,3,0,e)}),null)}function VK(n){return jo(0,[(n()(),_o(0,16777216,null,null,62,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[27,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,218,{templateLabel:0}),ko(335544320,219,{_explicitContent:0}),(n()(),_o(4,0,null,0,18,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,220,{_controlNonStatic:0}),ko(335544320,221,{_controlStatic:0}),ko(603979776,222,{_labelChildNonStatic:0}),ko(335544320,223,{_labelChildStatic:0}),ko(603979776,224,{_placeholderChild:0}),ko(603979776,225,{_errorChildren:1}),ko(603979776,226,{_hintChildren:1}),ko(603979776,227,{_prefixChildren:1}),ko(603979776,228,{_suffixChildren:1}),(n()(),_o(17,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilterTemplates(e.target.value)&&t),t}),null,null)),Di(18,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[220,4],[221,4]],nT,null,[OT]),(n()(),_o(20,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(22,245760,[[4,4],["paginatorTemplates",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(23,0,null,0,39,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","template_label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(25,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,229,{_contentColumnDefs:1}),ko(603979776,230,{_contentRowDefs:1}),ko(603979776,231,{_contentHeaderRowDefs:1}),ko(603979776,232,{_contentFooterRowDefs:1}),Di(30,737280,[[6,4],["tableTemplates",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(31,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(33,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,233,{cell:0}),ko(603979776,234,{headerCell:0}),ko(603979776,235,{footerCell:0}),Ei(2048,[[229,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,OK)),Di(39,16384,null,0,tR,[Xe],null,null),Ei(2048,[[234,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,TK)),Di(42,16384,null,0,eR,[Xe],null,null),Ei(2048,[[233,4]],OL,null,[eR]),(n()(),_o(44,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(46,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,236,{cell:0}),ko(603979776,237,{headerCell:0}),ko(603979776,238,{footerCell:0}),Ei(2048,[[229,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,LK)),Di(52,16384,null,0,tR,[Xe],null,null),Ei(2048,[[237,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,RK)),Di(55,16384,null,0,eR,[Xe],null,null),Ei(2048,[[236,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,NK)),Di(58,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[231,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,jK)),Di(61,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[230,4]],UL,null,[uR]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.templates,"")),n(l,18,0,Wt(1,"",e.lang.filterBy,"")),n(l,22,0,100,10,!0),n(l,25,0,e.dataSourceTemplates),n(l,30,0,"template_label","asc"),n(l,33,0,"template_label"),n(l,46,0,"template_target"),n(l,58,0,e.displayedColumnsTemplates),n(l,61,0,e.displayedColumnsTemplates)}),(function(n,l){n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,0,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString())}))}function qK(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginatorUsers:0}),ko(671088640,4,{paginatorTemplates:0}),ko(671088640,5,{sortUsers:0}),ko(671088640,6,{sortTemplates:0}),ko(671088640,7,{appDiffusionsList:0}),ko(671088640,8,{appVisaWorkflow:0}),ko(671088640,9,{appAvisWorkflow:0}),(n()(),_o(10,0,null,null,429,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,10,{_drawers:1}),ko(603979776,11,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,tK)),(n()(),_o(15,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(16,1294336,[[11,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(17,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(19,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(21,114688,null,0,GO,[_u],null,null),(n()(),_o(22,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(24,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(25,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(26,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(27,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,iK)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rK)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,0,407,"mat-sidenav",[["class","col-md-5 col-xs-11 mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,33)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,33)._animationDoneListener(e)&&t),t}),zO,qO)),Di(33,3325952,[[10,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(34,0,null,0,405,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(35,704512,null,0,eI,[],null,null),(n()(),_o(36,0,null,0,403,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(37,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,27,{_tabs:1}),(n()(),_o(39,16777216,null,null,390,"mat-tab",[],null,null,null,BV,zV)),Di(40,770048,[[27,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,28,{templateLabel:0}),ko(335544320,29,{_explicitContent:0}),(n()(),_o(43,0,null,0,386,"form",[["class","form-horizontal"],["novalidate",""],["style","overflow:hidden;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,45).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,45).onReset()&&t),t}),null,null)),Di(44,16384,null,0,yy,[],null,null),Di(45,4210688,[["entityForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(47,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(48,0,null,null,55,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(49,0,null,null,54,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(50,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(51,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,30,{_controlNonStatic:0}),ko(335544320,31,{_controlStatic:0}),ko(603979776,32,{_labelChildNonStatic:0}),ko(335544320,33,{_labelChildStatic:0}),ko(603979776,34,{_placeholderChild:0}),ko(603979776,35,{_errorChildren:1}),ko(603979776,36,{_hintChildren:1}),ko(603979776,37,{_prefixChildren:1}),ko(603979776,38,{_suffixChildren:1}),(n()(),_o(61,0,null,1,16,"mat-select",[["class","mat-select"],["id","parent_entity_id"],["name","parent_entity_id"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,65)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,65)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,65)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.parent_entity_id=e)&&t),"selectionChange"===l&&(t=!1!==i.selectParentEntity(i.currentEntity.parent_entity_id)&&t),t}),GR,qR)),Di(62,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(64,16384,null,0,y_,[[4,v_]],null,null),Di(65,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],id:[1,"id"]},{selectionChange:"selectionChange"}),ko(603979776,39,{options:1}),ko(603979776,40,{optionGroups:1}),ko(603979776,41,{customTrigger:0}),Ei(2048,[[30,4],[31,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(71,0,null,1,3,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,72)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,72)._handleKeydown(e)&&t),t}),bI,hI)),Di(72,8568832,[[39,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(73,0,null,0,1,"i",[["style","opacity:0.5;text-align:center;"]],null,null,null,null,null)),(n()(),Lo(74,null,["- "," -"])),(n()(),vo(16777216,null,1,2,null,sK)),Di(76,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(77,2),(n()(),_o(78,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(79,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,42,{_controlNonStatic:0}),ko(335544320,43,{_controlStatic:0}),ko(603979776,44,{_labelChildNonStatic:0}),ko(335544320,45,{_labelChildStatic:0}),ko(603979776,46,{_placeholderChild:0}),ko(603979776,47,{_errorChildren:1}),ko(603979776,48,{_hintChildren:1}),ko(603979776,49,{_prefixChildren:1}),ko(603979776,50,{_suffixChildren:1}),(n()(),_o(89,0,null,1,14,"mat-select",[["class","mat-select"],["id","entity_type"],["maxlength","32"],["name","entity_type"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,97)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,97)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,97)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.entity_type=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(91,16384,null,0,My,[],{required:[0,"required"]},null),Di(92,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Di(94,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(96,16384,null,0,y_,[[4,v_]],null,null),Di(97,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,51,{options:1}),ko(603979776,52,{optionGroups:1}),ko(603979776,53,{customTrigger:0}),Ei(2048,[[42,4],[43,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,cK)),Di(103,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,dK)),Di(105,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(106,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(107,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(108,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(109,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,63,{_controlNonStatic:0}),ko(335544320,64,{_controlStatic:0}),ko(603979776,65,{_labelChildNonStatic:0}),ko(335544320,66,{_labelChildStatic:0}),ko(603979776,67,{_placeholderChild:0}),ko(603979776,68,{_errorChildren:1}),ko(603979776,69,{_hintChildren:1}),ko(603979776,70,{_prefixChildren:1}),ko(603979776,71,{_suffixChildren:1}),(n()(),_o(119,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","entity_id"],["matInput",""],["maxlength","32"],["name","entity_id"],["pattern","^[\\w-]*$"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,120)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,120).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,120)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,120)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,129)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,129)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,129)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.entity_id=e)&&t),t}),null,null)),Di(120,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(121,16384,null,0,My,[],{required:[0,"required"]},null),Di(122,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(123,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(126,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(128,16384,null,0,y_,[[4,v_]],null,null),Di(129,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[63,4],[64,4]],nT,null,[OT]),(n()(),_o(131,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(132,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(133,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(134,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,72,{_controlNonStatic:0}),ko(335544320,73,{_controlStatic:0}),ko(603979776,74,{_labelChildNonStatic:0}),ko(335544320,75,{_labelChildStatic:0}),ko(603979776,76,{_placeholderChild:0}),ko(603979776,77,{_errorChildren:1}),ko(603979776,78,{_hintChildren:1}),ko(603979776,79,{_prefixChildren:1}),ko(603979776,80,{_suffixChildren:1}),(n()(),_o(144,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","entity_label"],["matInput",""],["maxlength","255"],["name","entity_label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,145)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,145).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,145)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,145)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,153)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,153)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,153)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.entity_label=e)&&t),t}),null,null)),Di(145,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(146,16384,null,0,My,[],{required:[0,"required"]},null),Di(147,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(150,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(152,16384,null,0,y_,[[4,v_]],null,null),Di(153,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[72,4],[73,4]],nT,null,[OT]),(n()(),_o(155,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(156,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(157,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(158,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,81,{_controlNonStatic:0}),ko(335544320,82,{_controlStatic:0}),ko(603979776,83,{_labelChildNonStatic:0}),ko(335544320,84,{_labelChildStatic:0}),ko(603979776,85,{_placeholderChild:0}),ko(603979776,86,{_errorChildren:1}),ko(603979776,87,{_hintChildren:1}),ko(603979776,88,{_prefixChildren:1}),ko(603979776,89,{_suffixChildren:1}),(n()(),_o(168,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","short_label"],["matInput",""],["maxlength","50"],["name","short_label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,169)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,169).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,169)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,169)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,177)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,177)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,177)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.short_label=e)&&t),t}),null,null)),Di(169,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(170,16384,null,0,My,[],{required:[0,"required"]},null),Di(171,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(174,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(176,16384,null,0,y_,[[4,v_]],null,null),Di(177,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[81,4],[82,4]],nT,null,[OT]),(n()(),_o(179,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(180,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(181,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(182,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,90,{_controlNonStatic:0}),ko(335544320,91,{_controlStatic:0}),ko(603979776,92,{_labelChildNonStatic:0}),ko(335544320,93,{_labelChildStatic:0}),ko(603979776,94,{_placeholderChild:0}),ko(603979776,95,{_errorChildren:1}),ko(603979776,96,{_hintChildren:1}),ko(603979776,97,{_prefixChildren:1}),ko(603979776,98,{_suffixChildren:1}),(n()(),_o(192,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","email"],["matInput",""],["maxlength","255"],["name","email"],["pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,193)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,193).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,193)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,193)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,201)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,201)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,201)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.email=e)&&t),t}),null,null)),Di(193,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(194,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(195,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(198,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(200,16384,null,0,y_,[[4,v_]],null,null),Di(201,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[90,4],[91,4]],nT,null,[OT]),(n()(),_o(203,0,null,null,217,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(204,1720320,null,1,Qj,[],null,null),ko(603979776,99,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(207,16777216,null,null,213,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(208,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,100,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(211,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,212)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,212)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,212)._animationStarted()&&t),t}),aV,tV)),Di(212,180224,[[99,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(213,{collapsedHeight:0,expandedHeight:1}),Oo(214,{value:0,params:1}),(n()(),_o(215,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(216,16384,null,0,Zj,[],null,null),(n()(),Lo(217,null,[" "," "])),(n()(),_o(218,0,null,1,66,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(219,0,null,null,21,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(220,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(221,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,101,{_controlNonStatic:0}),ko(335544320,102,{_controlStatic:0}),ko(603979776,103,{_labelChildNonStatic:0}),ko(335544320,104,{_labelChildStatic:0}),ko(603979776,105,{_placeholderChild:0}),ko(603979776,106,{_errorChildren:1}),ko(603979776,107,{_hintChildren:1}),ko(603979776,108,{_prefixChildren:1}),ko(603979776,109,{_suffixChildren:1}),(n()(),_o(231,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","adrs_1"],["matInput",""],["maxlength","255"],["name","adrs_1"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,232)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,232).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,232)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,232)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,239)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,239)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,239)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.adrs_1=e)&&t),t}),null,null)),Di(232,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(233,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(236,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(238,16384,null,0,y_,[[4,v_]],null,null),Di(239,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[101,4],[102,4]],nT,null,[OT]),(n()(),_o(241,0,null,null,21,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(242,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(243,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,110,{_controlNonStatic:0}),ko(335544320,111,{_controlStatic:0}),ko(603979776,112,{_labelChildNonStatic:0}),ko(335544320,113,{_labelChildStatic:0}),ko(603979776,114,{_placeholderChild:0}),ko(603979776,115,{_errorChildren:1}),ko(603979776,116,{_hintChildren:1}),ko(603979776,117,{_prefixChildren:1}),ko(603979776,118,{_suffixChildren:1}),(n()(),_o(253,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","adrs_2"],["matInput",""],["maxlength","255"],["name","adrs_2"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,254)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,254).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,254)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,254)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,261)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,261)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,261)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.adrs_2=e)&&t),t}),null,null)),Di(254,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(255,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(258,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(260,16384,null,0,y_,[[4,v_]],null,null),Di(261,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[110,4],[111,4]],nT,null,[OT]),(n()(),_o(263,0,null,null,21,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(264,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(265,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,119,{_controlNonStatic:0}),ko(335544320,120,{_controlStatic:0}),ko(603979776,121,{_labelChildNonStatic:0}),ko(335544320,122,{_labelChildStatic:0}),ko(603979776,123,{_placeholderChild:0}),ko(603979776,124,{_errorChildren:1}),ko(603979776,125,{_hintChildren:1}),ko(603979776,126,{_prefixChildren:1}),ko(603979776,127,{_suffixChildren:1}),(n()(),_o(275,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","adrs_3"],["matInput",""],["maxlength","255"],["name","adrs_3"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,276)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,276).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,276)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,276)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,283)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,283)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,283)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.adrs_3=e)&&t),t}),null,null)),Di(276,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(277,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(280,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(282,16384,null,0,y_,[[4,v_]],null,null),Di(283,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[119,4],[120,4]],nT,null,[OT]),(n()(),_o(285,0,null,1,66,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(286,0,null,null,21,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(287,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(288,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,128,{_controlNonStatic:0}),ko(335544320,129,{_controlStatic:0}),ko(603979776,130,{_labelChildNonStatic:0}),ko(335544320,131,{_labelChildStatic:0}),ko(603979776,132,{_placeholderChild:0}),ko(603979776,133,{_errorChildren:1}),ko(603979776,134,{_hintChildren:1}),ko(603979776,135,{_prefixChildren:1}),ko(603979776,136,{_suffixChildren:1}),(n()(),_o(298,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","zipcode"],["matInput",""],["maxlength","32"],["name","zipcode"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,299)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,299).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,299)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,299)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,306)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,306)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,306)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.zipcode=e)&&t),t}),null,null)),Di(299,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(300,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(303,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(305,16384,null,0,y_,[[4,v_]],null,null),Di(306,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[128,4],[129,4]],nT,null,[OT]),(n()(),_o(308,0,null,null,21,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(309,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(310,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,137,{_controlNonStatic:0}),ko(335544320,138,{_controlStatic:0}),ko(603979776,139,{_labelChildNonStatic:0}),ko(335544320,140,{_labelChildStatic:0}),ko(603979776,141,{_placeholderChild:0}),ko(603979776,142,{_errorChildren:1}),ko(603979776,143,{_hintChildren:1}),ko(603979776,144,{_prefixChildren:1}),ko(603979776,145,{_suffixChildren:1}),(n()(),_o(320,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","city"],["matInput",""],["maxlength","255"],["name","city"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,321)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,321).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,321)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,321)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,328)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,328)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,328)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.city=e)&&t),t}),null,null)),Di(321,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(322,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(325,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(327,16384,null,0,y_,[[4,v_]],null,null),Di(328,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[137,4],[138,4]],nT,null,[OT]),(n()(),_o(330,0,null,null,21,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(331,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(332,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,146,{_controlNonStatic:0}),ko(335544320,147,{_controlStatic:0}),ko(603979776,148,{_labelChildNonStatic:0}),ko(335544320,149,{_labelChildStatic:0}),ko(603979776,150,{_placeholderChild:0}),ko(603979776,151,{_errorChildren:1}),ko(603979776,152,{_hintChildren:1}),ko(603979776,153,{_prefixChildren:1}),ko(603979776,154,{_suffixChildren:1}),(n()(),_o(342,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","country"],["matInput",""],["maxlength","255"],["name","country"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,343)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,343).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,343)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,343)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,350)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,350)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,350)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.country=e)&&t),t}),null,null)),Di(343,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(344,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(347,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(349,16384,null,0,y_,[[4,v_]],null,null),Di(350,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[146,4],[147,4]],nT,null,[OT]),(n()(),_o(352,0,null,1,21,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(353,0,null,null,20,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(354,0,null,null,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(355,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,155,{_controlNonStatic:0}),ko(335544320,156,{_controlStatic:0}),ko(603979776,157,{_labelChildNonStatic:0}),ko(335544320,158,{_labelChildStatic:0}),ko(603979776,159,{_placeholderChild:0}),ko(603979776,160,{_errorChildren:1}),ko(603979776,161,{_hintChildren:1}),ko(603979776,162,{_prefixChildren:1}),ko(603979776,163,{_suffixChildren:1}),(n()(),_o(365,0,null,1,8,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["id","entity_full_name"],["matAutosizeMaxRows","5"],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["name","entity_full_name"],["rows","1"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,366)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,366).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,366)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,366)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,371)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,371)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,371)._onInput()&&t),"input"===l&&(t=!1!==bi(n,372)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.entity_full_name=e)&&t),t}),null,null)),Di(366,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(368,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(370,16384,null,0,y_,[[4,v_]],null,null),Di(371,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Di(372,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matAutosizeMaxRows:[1,"matAutosizeMaxRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[155,4],[156,4]],nT,null,[OT]),(n()(),vo(16777216,null,1,1,null,hK)),Di(375,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(376,0,null,1,44,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(377,0,null,null,21,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(378,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(379,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,173,{_controlNonStatic:0}),ko(335544320,174,{_controlStatic:0}),ko(603979776,175,{_labelChildNonStatic:0}),ko(335544320,176,{_labelChildStatic:0}),ko(603979776,177,{_placeholderChild:0}),ko(603979776,178,{_errorChildren:1}),ko(603979776,179,{_hintChildren:1}),ko(603979776,180,{_prefixChildren:1}),ko(603979776,181,{_suffixChildren:1}),(n()(),_o(389,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","archival_agency"],["matInput",""],["maxlength","255"],["name","archival_agency"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,390)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,390).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,390)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,390)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,397)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,397)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,397)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.archival_agency=e)&&t),t}),null,null)),Di(390,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(391,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(394,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(396,16384,null,0,y_,[[4,v_]],null,null),Di(397,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[173,4],[174,4]],nT,null,[OT]),(n()(),_o(399,0,null,null,21,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(400,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(401,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,182,{_controlNonStatic:0}),ko(335544320,183,{_controlStatic:0}),ko(603979776,184,{_labelChildNonStatic:0}),ko(335544320,185,{_labelChildStatic:0}),ko(603979776,186,{_placeholderChild:0}),ko(603979776,187,{_errorChildren:1}),ko(603979776,188,{_hintChildren:1}),ko(603979776,189,{_prefixChildren:1}),ko(603979776,190,{_suffixChildren:1}),(n()(),_o(411,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","archival_agreement"],["matInput",""],["maxlength","255"],["name","archival_agreement"],["type","text"]],[[8,"title",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,412)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,412).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,412)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,412)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,419)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,419)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,419)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentEntity.archival_agreement=e)&&t),t}),null,null)),Di(412,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(413,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(416,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(418,16384,null,0,y_,[[4,v_]],null,null),Di(419,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[182,4],[183,4]],nT,null,[OT]),(n()(),_o(421,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(422,0,null,null,7,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(423,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveEntity()&&t),t}),PC,MC)),Di(424,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(425,0,["",""])),(n()(),vo(16777216,null,null,1,null,gK)),Di(427,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bK)),Di(429,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,yK)),Di(431,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,xK)),Di(433,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,kK)),Di(435,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,EK)),Di(437,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,VK)),Di(439,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,11,0,""),n(l,16,0),n(l,21,0),n(l,24,0),n(l,29,0,e.loading),n(l,31,0,!e.loading),n(l,33,0,"end",e.appService.getViewMode()?"over":"side",!1,e.appService.getViewMode(),"56"),n(l,40,0,e.creationMode?e.lang.createNewEntity:e.lang.informations),n(l,62,0,"parent_entity_id",e.currentEntity.parent_entity_id),n(l,65,0,Wt(1,"",e.lang.isLinkedTo,""),"parent_entity_id"),n(l,72,0,"");var t=bt(l,76,0,n(l,77,0,bi(l,0),e.entities,"entity_label"));n(l,76,0,t),n(l,91,0,""),n(l,92,0,"32"),n(l,94,0,"entity_type",e.currentEntity.entity_type),n(l,97,0,Wt(1,"",e.lang.entityType,""),"","entity_type"),n(l,103,0,e.entityTypeList),n(l,105,0,!e.creationMode),n(l,121,0,""),n(l,122,0,"32"),n(l,123,0,"^[\\w-]*$"),n(l,126,0,"entity_id",!e.creationMode,e.currentEntity.entity_id),n(l,129,0,!e.creationMode,"entity_id",Wt(1,"",e.lang.id,""),"","text"),n(l,146,0,""),n(l,147,0,"255"),n(l,150,0,"entity_label",e.currentEntity.entity_label),n(l,153,0,"entity_label",Wt(1,"",e.lang.label,""),"","text"),n(l,170,0,""),n(l,171,0,"50"),n(l,174,0,"short_label",e.currentEntity.short_label),n(l,177,0,"short_label",Wt(1,"",e.lang.shortLabel,""),"","text"),n(l,194,0,"255"),n(l,195,0,"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"),n(l,198,0,"email",e.currentEntity.email),n(l,201,0,"email",Wt(1,"",e.lang.email,""),"text"),n(l,233,0,"255"),n(l,236,0,"adrs_1",e.currentEntity.adrs_1),n(l,239,0,"adrs_1",Wt(1,"",e.lang.address,"1"),"text"),n(l,255,0,"255"),n(l,258,0,"adrs_2",e.currentEntity.adrs_2),n(l,261,0,"adrs_2",Wt(1,"",e.lang.address,"2"),"text"),n(l,277,0,"255"),n(l,280,0,"adrs_3",e.currentEntity.adrs_3),n(l,283,0,"adrs_3",Wt(1,"",e.lang.address,"3"),"text"),n(l,300,0,"32"),n(l,303,0,"zipcode",e.currentEntity.zipcode),n(l,306,0,"zipcode",Wt(1,"",e.lang.zipcode,""),"text"),n(l,322,0,"255"),n(l,325,0,"city",e.currentEntity.city),n(l,328,0,"city",Wt(1,"",e.lang.city,""),"text"),n(l,344,0,"255"),n(l,347,0,"country",e.currentEntity.country),n(l,350,0,"country",Wt(1,"",e.lang.country,""),"text"),n(l,368,0,"entity_full_name",e.currentEntity.entity_full_name),n(l,371,0,"entity_full_name",Wt(1,"",e.lang.entityFullName,"")),n(l,372,0,"1","5",""),n(l,375,0,!e.creationMode),n(l,391,0,"255"),n(l,394,0,"archival_agency",e.currentEntity.archival_agency),n(l,397,0,"archival_agency",Wt(1,"",e.lang.archivalAgency,""),"text"),n(l,413,0,"255"),n(l,416,0,"archival_agreement",e.currentEntity.archival_agreement),n(l,419,0,"archival_agreement",Wt(1,"",e.lang.archivalAgreement,""),"text"),n(l,424,0,!bi(l,45).form.valid,"primary"),n(l,427,0,!e.creationMode),n(l,429,0,e.creationMode),n(l,431,0,!e.creationMode),n(l,433,0,!e.creationMode),n(l,435,0,!e.creationMode),n(l,437,0,!e.creationMode),n(l,439,0,!e.creationMode)}),(function(n,l){var e=l.component;n(l,10,0,bi(l,11)._backdropOverride),n(l,15,0,bi(l,16)._container._contentMargins.left,bi(l,16)._container._contentMargins.right),n(l,18,0,e.appService.getViewMode()),n(l,25,0,e.appService.getViewMode()),n(l,26,0,e.appService.getViewMode()),n(l,32,0,null,"end"===bi(l,33).position,"over"===bi(l,33).mode,"push"===bi(l,33).mode,"side"===bi(l,33).mode,bi(l,33).opened,bi(l,33).fixedInViewport,bi(l,33).fixedInViewport?bi(l,33).fixedTopGap:null,bi(l,33).fixedInViewport?bi(l,33).fixedBottomGap:null,bi(l,33)._animationState),n(l,36,0,bi(l,37).dynamicHeight,"below"===bi(l,37).headerPosition),n(l,43,0,bi(l,47).ngClassUntouched,bi(l,47).ngClassTouched,bi(l,47).ngClassPristine,bi(l,47).ngClassDirty,bi(l,47).ngClassValid,bi(l,47).ngClassInvalid,bi(l,47).ngClassPending),n(l,50,1,["standard"==bi(l,51).appearance,"fill"==bi(l,51).appearance,"outline"==bi(l,51).appearance,"legacy"==bi(l,51).appearance,bi(l,51)._control.errorState,bi(l,51)._canLabelFloat,bi(l,51)._shouldLabelFloat(),bi(l,51)._hasFloatingLabel(),bi(l,51)._hideControlPlaceholder(),bi(l,51)._control.disabled,bi(l,51)._control.autofilled,bi(l,51)._control.focused,"accent"==bi(l,51).color,"warn"==bi(l,51).color,bi(l,51)._shouldForward("untouched"),bi(l,51)._shouldForward("touched"),bi(l,51)._shouldForward("pristine"),bi(l,51)._shouldForward("dirty"),bi(l,51)._shouldForward("valid"),bi(l,51)._shouldForward("invalid"),bi(l,51)._shouldForward("pending"),!bi(l,51)._animationsEnabled]),n(l,61,1,[Wt(1,"",e.lang.isLinkedTo,""),bi(l,64).ngClassUntouched,bi(l,64).ngClassTouched,bi(l,64).ngClassPristine,bi(l,64).ngClassDirty,bi(l,64).ngClassValid,bi(l,64).ngClassInvalid,bi(l,64).ngClassPending,bi(l,65).id,bi(l,65).tabIndex,bi(l,65)._getAriaLabel(),bi(l,65)._getAriaLabelledby(),bi(l,65).required.toString(),bi(l,65).disabled.toString(),bi(l,65).errorState,bi(l,65).panelOpen?bi(l,65)._optionIds:null,bi(l,65).multiple,bi(l,65)._ariaDescribedby||null,bi(l,65)._getAriaActiveDescendant(),bi(l,65).disabled,bi(l,65).errorState,bi(l,65).required,bi(l,65).empty]),n(l,71,0,bi(l,72)._getTabIndex(),bi(l,72).selected,bi(l,72).multiple,bi(l,72).active,bi(l,72).id,bi(l,72)._getAriaSelected(),bi(l,72).disabled.toString(),bi(l,72).disabled),n(l,74,0,e.lang.noEntity),n(l,78,1,["standard"==bi(l,79).appearance,"fill"==bi(l,79).appearance,"outline"==bi(l,79).appearance,"legacy"==bi(l,79).appearance,bi(l,79)._control.errorState,bi(l,79)._canLabelFloat,bi(l,79)._shouldLabelFloat(),bi(l,79)._hasFloatingLabel(),bi(l,79)._hideControlPlaceholder(),bi(l,79)._control.disabled,bi(l,79)._control.autofilled,bi(l,79)._control.focused,"accent"==bi(l,79).color,"warn"==bi(l,79).color,bi(l,79)._shouldForward("untouched"),bi(l,79)._shouldForward("touched"),bi(l,79)._shouldForward("pristine"),bi(l,79)._shouldForward("dirty"),bi(l,79)._shouldForward("valid"),bi(l,79)._shouldForward("invalid"),bi(l,79)._shouldForward("pending"),!bi(l,79)._animationsEnabled]),n(l,89,1,[Wt(1,"",e.lang.entityType,""),bi(l,91).required?"":null,bi(l,92).maxlength?bi(l,92).maxlength:null,bi(l,96).ngClassUntouched,bi(l,96).ngClassTouched,bi(l,96).ngClassPristine,bi(l,96).ngClassDirty,bi(l,96).ngClassValid,bi(l,96).ngClassInvalid,bi(l,96).ngClassPending,bi(l,97).id,bi(l,97).tabIndex,bi(l,97)._getAriaLabel(),bi(l,97)._getAriaLabelledby(),bi(l,97).required.toString(),bi(l,97).disabled.toString(),bi(l,97).errorState,bi(l,97).panelOpen?bi(l,97)._optionIds:null,bi(l,97).multiple,bi(l,97)._ariaDescribedby||null,bi(l,97)._getAriaActiveDescendant(),bi(l,97).disabled,bi(l,97).errorState,bi(l,97).required,bi(l,97).empty]),n(l,108,1,["standard"==bi(l,109).appearance,"fill"==bi(l,109).appearance,"outline"==bi(l,109).appearance,"legacy"==bi(l,109).appearance,bi(l,109)._control.errorState,bi(l,109)._canLabelFloat,bi(l,109)._shouldLabelFloat(),bi(l,109)._hasFloatingLabel(),bi(l,109)._hideControlPlaceholder(),bi(l,109)._control.disabled,bi(l,109)._control.autofilled,bi(l,109)._control.focused,"accent"==bi(l,109).color,"warn"==bi(l,109).color,bi(l,109)._shouldForward("untouched"),bi(l,109)._shouldForward("touched"),bi(l,109)._shouldForward("pristine"),bi(l,109)._shouldForward("dirty"),bi(l,109)._shouldForward("valid"),bi(l,109)._shouldForward("invalid"),bi(l,109)._shouldForward("pending"),!bi(l,109)._animationsEnabled]),n(l,119,1,[Wt(1,"",e.lang.id,""),bi(l,121).required?"":null,bi(l,122).maxlength?bi(l,122).maxlength:null,bi(l,123).pattern?bi(l,123).pattern:null,bi(l,128).ngClassUntouched,bi(l,128).ngClassTouched,bi(l,128).ngClassPristine,bi(l,128).ngClassDirty,bi(l,128).ngClassValid,bi(l,128).ngClassInvalid,bi(l,128).ngClassPending,bi(l,129)._isServer,bi(l,129).id,bi(l,129).placeholder,bi(l,129).disabled,bi(l,129).required,bi(l,129).readonly&&!bi(l,129)._isNativeSelect||null,bi(l,129)._ariaDescribedby||null,bi(l,129).errorState,bi(l,129).required.toString()]),n(l,133,1,["standard"==bi(l,134).appearance,"fill"==bi(l,134).appearance,"outline"==bi(l,134).appearance,"legacy"==bi(l,134).appearance,bi(l,134)._control.errorState,bi(l,134)._canLabelFloat,bi(l,134)._shouldLabelFloat(),bi(l,134)._hasFloatingLabel(),bi(l,134)._hideControlPlaceholder(),bi(l,134)._control.disabled,bi(l,134)._control.autofilled,bi(l,134)._control.focused,"accent"==bi(l,134).color,"warn"==bi(l,134).color,bi(l,134)._shouldForward("untouched"),bi(l,134)._shouldForward("touched"),bi(l,134)._shouldForward("pristine"),bi(l,134)._shouldForward("dirty"),bi(l,134)._shouldForward("valid"),bi(l,134)._shouldForward("invalid"),bi(l,134)._shouldForward("pending"),!bi(l,134)._animationsEnabled]),n(l,144,1,[Wt(1,"",e.lang.label,""),bi(l,146).required?"":null,bi(l,147).maxlength?bi(l,147).maxlength:null,bi(l,152).ngClassUntouched,bi(l,152).ngClassTouched,bi(l,152).ngClassPristine,bi(l,152).ngClassDirty,bi(l,152).ngClassValid,bi(l,152).ngClassInvalid,bi(l,152).ngClassPending,bi(l,153)._isServer,bi(l,153).id,bi(l,153).placeholder,bi(l,153).disabled,bi(l,153).required,bi(l,153).readonly&&!bi(l,153)._isNativeSelect||null,bi(l,153)._ariaDescribedby||null,bi(l,153).errorState,bi(l,153).required.toString()]),n(l,157,1,["standard"==bi(l,158).appearance,"fill"==bi(l,158).appearance,"outline"==bi(l,158).appearance,"legacy"==bi(l,158).appearance,bi(l,158)._control.errorState,bi(l,158)._canLabelFloat,bi(l,158)._shouldLabelFloat(),bi(l,158)._hasFloatingLabel(),bi(l,158)._hideControlPlaceholder(),bi(l,158)._control.disabled,bi(l,158)._control.autofilled,bi(l,158)._control.focused,"accent"==bi(l,158).color,"warn"==bi(l,158).color,bi(l,158)._shouldForward("untouched"),bi(l,158)._shouldForward("touched"),bi(l,158)._shouldForward("pristine"),bi(l,158)._shouldForward("dirty"),bi(l,158)._shouldForward("valid"),bi(l,158)._shouldForward("invalid"),bi(l,158)._shouldForward("pending"),!bi(l,158)._animationsEnabled]),n(l,168,1,[Wt(1,"",e.lang.shortLabel,""),bi(l,170).required?"":null,bi(l,171).maxlength?bi(l,171).maxlength:null,bi(l,176).ngClassUntouched,bi(l,176).ngClassTouched,bi(l,176).ngClassPristine,bi(l,176).ngClassDirty,bi(l,176).ngClassValid,bi(l,176).ngClassInvalid,bi(l,176).ngClassPending,bi(l,177)._isServer,bi(l,177).id,bi(l,177).placeholder,bi(l,177).disabled,bi(l,177).required,bi(l,177).readonly&&!bi(l,177)._isNativeSelect||null,bi(l,177)._ariaDescribedby||null,bi(l,177).errorState,bi(l,177).required.toString()]),n(l,181,1,["standard"==bi(l,182).appearance,"fill"==bi(l,182).appearance,"outline"==bi(l,182).appearance,"legacy"==bi(l,182).appearance,bi(l,182)._control.errorState,bi(l,182)._canLabelFloat,bi(l,182)._shouldLabelFloat(),bi(l,182)._hasFloatingLabel(),bi(l,182)._hideControlPlaceholder(),bi(l,182)._control.disabled,bi(l,182)._control.autofilled,bi(l,182)._control.focused,"accent"==bi(l,182).color,"warn"==bi(l,182).color,bi(l,182)._shouldForward("untouched"),bi(l,182)._shouldForward("touched"),bi(l,182)._shouldForward("pristine"),bi(l,182)._shouldForward("dirty"),bi(l,182)._shouldForward("valid"),bi(l,182)._shouldForward("invalid"),bi(l,182)._shouldForward("pending"),!bi(l,182)._animationsEnabled]),n(l,192,1,[Wt(1,"",e.lang.email,""),bi(l,194).maxlength?bi(l,194).maxlength:null,bi(l,195).pattern?bi(l,195).pattern:null,bi(l,200).ngClassUntouched,bi(l,200).ngClassTouched,bi(l,200).ngClassPristine,bi(l,200).ngClassDirty,bi(l,200).ngClassValid,bi(l,200).ngClassInvalid,bi(l,200).ngClassPending,bi(l,201)._isServer,bi(l,201).id,bi(l,201).placeholder,bi(l,201).disabled,bi(l,201).required,bi(l,201).readonly&&!bi(l,201)._isNativeSelect||null,bi(l,201)._ariaDescribedby||null,bi(l,201).errorState,bi(l,201).required.toString()]),n(l,207,0,bi(l,208).expanded,"NoopAnimations"===bi(l,208)._animationMode,bi(l,208)._hasSpacing());var t=bi(l,212).panel._headerId,i=bi(l,212).disabled?-1:0,a=bi(l,212)._getPanelId(),o=bi(l,212)._isExpanded(),r=bi(l,212).panel.disabled,u=bi(l,212)._isExpanded(),s="after"===bi(l,212)._getTogglePosition(),c="before"===bi(l,212)._getTogglePosition(),d=bi(l,212)._animationsDisabled,p=n(l,214,0,bi(l,212)._getExpandedState(),n(l,213,0,bi(l,212).collapsedHeight,bi(l,212).expandedHeight));n(l,211,0,t,i,a,o,r,u,s,c,d,p),n(l,217,0,e.lang.otherInformations),n(l,220,1,["standard"==bi(l,221).appearance,"fill"==bi(l,221).appearance,"outline"==bi(l,221).appearance,"legacy"==bi(l,221).appearance,bi(l,221)._control.errorState,bi(l,221)._canLabelFloat,bi(l,221)._shouldLabelFloat(),bi(l,221)._hasFloatingLabel(),bi(l,221)._hideControlPlaceholder(),bi(l,221)._control.disabled,bi(l,221)._control.autofilled,bi(l,221)._control.focused,"accent"==bi(l,221).color,"warn"==bi(l,221).color,bi(l,221)._shouldForward("untouched"),bi(l,221)._shouldForward("touched"),bi(l,221)._shouldForward("pristine"),bi(l,221)._shouldForward("dirty"),bi(l,221)._shouldForward("valid"),bi(l,221)._shouldForward("invalid"),bi(l,221)._shouldForward("pending"),!bi(l,221)._animationsEnabled]),n(l,231,1,[Wt(1,"",e.lang.address,"1"),bi(l,233).maxlength?bi(l,233).maxlength:null,bi(l,238).ngClassUntouched,bi(l,238).ngClassTouched,bi(l,238).ngClassPristine,bi(l,238).ngClassDirty,bi(l,238).ngClassValid,bi(l,238).ngClassInvalid,bi(l,238).ngClassPending,bi(l,239)._isServer,bi(l,239).id,bi(l,239).placeholder,bi(l,239).disabled,bi(l,239).required,bi(l,239).readonly&&!bi(l,239)._isNativeSelect||null,bi(l,239)._ariaDescribedby||null,bi(l,239).errorState,bi(l,239).required.toString()]),n(l,242,1,["standard"==bi(l,243).appearance,"fill"==bi(l,243).appearance,"outline"==bi(l,243).appearance,"legacy"==bi(l,243).appearance,bi(l,243)._control.errorState,bi(l,243)._canLabelFloat,bi(l,243)._shouldLabelFloat(),bi(l,243)._hasFloatingLabel(),bi(l,243)._hideControlPlaceholder(),bi(l,243)._control.disabled,bi(l,243)._control.autofilled,bi(l,243)._control.focused,"accent"==bi(l,243).color,"warn"==bi(l,243).color,bi(l,243)._shouldForward("untouched"),bi(l,243)._shouldForward("touched"),bi(l,243)._shouldForward("pristine"),bi(l,243)._shouldForward("dirty"),bi(l,243)._shouldForward("valid"),bi(l,243)._shouldForward("invalid"),bi(l,243)._shouldForward("pending"),!bi(l,243)._animationsEnabled]),n(l,253,1,[Wt(1,"",e.lang.address,"2"),bi(l,255).maxlength?bi(l,255).maxlength:null,bi(l,260).ngClassUntouched,bi(l,260).ngClassTouched,bi(l,260).ngClassPristine,bi(l,260).ngClassDirty,bi(l,260).ngClassValid,bi(l,260).ngClassInvalid,bi(l,260).ngClassPending,bi(l,261)._isServer,bi(l,261).id,bi(l,261).placeholder,bi(l,261).disabled,bi(l,261).required,bi(l,261).readonly&&!bi(l,261)._isNativeSelect||null,bi(l,261)._ariaDescribedby||null,bi(l,261).errorState,bi(l,261).required.toString()]),n(l,264,1,["standard"==bi(l,265).appearance,"fill"==bi(l,265).appearance,"outline"==bi(l,265).appearance,"legacy"==bi(l,265).appearance,bi(l,265)._control.errorState,bi(l,265)._canLabelFloat,bi(l,265)._shouldLabelFloat(),bi(l,265)._hasFloatingLabel(),bi(l,265)._hideControlPlaceholder(),bi(l,265)._control.disabled,bi(l,265)._control.autofilled,bi(l,265)._control.focused,"accent"==bi(l,265).color,"warn"==bi(l,265).color,bi(l,265)._shouldForward("untouched"),bi(l,265)._shouldForward("touched"),bi(l,265)._shouldForward("pristine"),bi(l,265)._shouldForward("dirty"),bi(l,265)._shouldForward("valid"),bi(l,265)._shouldForward("invalid"),bi(l,265)._shouldForward("pending"),!bi(l,265)._animationsEnabled]),n(l,275,1,[Wt(1,"",e.lang.address,"3"),bi(l,277).maxlength?bi(l,277).maxlength:null,bi(l,282).ngClassUntouched,bi(l,282).ngClassTouched,bi(l,282).ngClassPristine,bi(l,282).ngClassDirty,bi(l,282).ngClassValid,bi(l,282).ngClassInvalid,bi(l,282).ngClassPending,bi(l,283)._isServer,bi(l,283).id,bi(l,283).placeholder,bi(l,283).disabled,bi(l,283).required,bi(l,283).readonly&&!bi(l,283)._isNativeSelect||null,bi(l,283)._ariaDescribedby||null,bi(l,283).errorState,bi(l,283).required.toString()]),n(l,287,1,["standard"==bi(l,288).appearance,"fill"==bi(l,288).appearance,"outline"==bi(l,288).appearance,"legacy"==bi(l,288).appearance,bi(l,288)._control.errorState,bi(l,288)._canLabelFloat,bi(l,288)._shouldLabelFloat(),bi(l,288)._hasFloatingLabel(),bi(l,288)._hideControlPlaceholder(),bi(l,288)._control.disabled,bi(l,288)._control.autofilled,bi(l,288)._control.focused,"accent"==bi(l,288).color,"warn"==bi(l,288).color,bi(l,288)._shouldForward("untouched"),bi(l,288)._shouldForward("touched"),bi(l,288)._shouldForward("pristine"),bi(l,288)._shouldForward("dirty"),bi(l,288)._shouldForward("valid"),bi(l,288)._shouldForward("invalid"),bi(l,288)._shouldForward("pending"),!bi(l,288)._animationsEnabled]),n(l,298,1,[Wt(1,"",e.lang.zipcode,""),bi(l,300).maxlength?bi(l,300).maxlength:null,bi(l,305).ngClassUntouched,bi(l,305).ngClassTouched,bi(l,305).ngClassPristine,bi(l,305).ngClassDirty,bi(l,305).ngClassValid,bi(l,305).ngClassInvalid,bi(l,305).ngClassPending,bi(l,306)._isServer,bi(l,306).id,bi(l,306).placeholder,bi(l,306).disabled,bi(l,306).required,bi(l,306).readonly&&!bi(l,306)._isNativeSelect||null,bi(l,306)._ariaDescribedby||null,bi(l,306).errorState,bi(l,306).required.toString()]),n(l,309,1,["standard"==bi(l,310).appearance,"fill"==bi(l,310).appearance,"outline"==bi(l,310).appearance,"legacy"==bi(l,310).appearance,bi(l,310)._control.errorState,bi(l,310)._canLabelFloat,bi(l,310)._shouldLabelFloat(),bi(l,310)._hasFloatingLabel(),bi(l,310)._hideControlPlaceholder(),bi(l,310)._control.disabled,bi(l,310)._control.autofilled,bi(l,310)._control.focused,"accent"==bi(l,310).color,"warn"==bi(l,310).color,bi(l,310)._shouldForward("untouched"),bi(l,310)._shouldForward("touched"),bi(l,310)._shouldForward("pristine"),bi(l,310)._shouldForward("dirty"),bi(l,310)._shouldForward("valid"),bi(l,310)._shouldForward("invalid"),bi(l,310)._shouldForward("pending"),!bi(l,310)._animationsEnabled]),n(l,320,1,[Wt(1,"",e.lang.city,""),bi(l,322).maxlength?bi(l,322).maxlength:null,bi(l,327).ngClassUntouched,bi(l,327).ngClassTouched,bi(l,327).ngClassPristine,bi(l,327).ngClassDirty,bi(l,327).ngClassValid,bi(l,327).ngClassInvalid,bi(l,327).ngClassPending,bi(l,328)._isServer,bi(l,328).id,bi(l,328).placeholder,bi(l,328).disabled,bi(l,328).required,bi(l,328).readonly&&!bi(l,328)._isNativeSelect||null,bi(l,328)._ariaDescribedby||null,bi(l,328).errorState,bi(l,328).required.toString()]),n(l,331,1,["standard"==bi(l,332).appearance,"fill"==bi(l,332).appearance,"outline"==bi(l,332).appearance,"legacy"==bi(l,332).appearance,bi(l,332)._control.errorState,bi(l,332)._canLabelFloat,bi(l,332)._shouldLabelFloat(),bi(l,332)._hasFloatingLabel(),bi(l,332)._hideControlPlaceholder(),bi(l,332)._control.disabled,bi(l,332)._control.autofilled,bi(l,332)._control.focused,"accent"==bi(l,332).color,"warn"==bi(l,332).color,bi(l,332)._shouldForward("untouched"),bi(l,332)._shouldForward("touched"),bi(l,332)._shouldForward("pristine"),bi(l,332)._shouldForward("dirty"),bi(l,332)._shouldForward("valid"),bi(l,332)._shouldForward("invalid"),bi(l,332)._shouldForward("pending"),!bi(l,332)._animationsEnabled]),n(l,342,1,[Wt(1,"",e.lang.country,""),bi(l,344).maxlength?bi(l,344).maxlength:null,bi(l,349).ngClassUntouched,bi(l,349).ngClassTouched,bi(l,349).ngClassPristine,bi(l,349).ngClassDirty,bi(l,349).ngClassValid,bi(l,349).ngClassInvalid,bi(l,349).ngClassPending,bi(l,350)._isServer,bi(l,350).id,bi(l,350).placeholder,bi(l,350).disabled,bi(l,350).required,bi(l,350).readonly&&!bi(l,350)._isNativeSelect||null,bi(l,350)._ariaDescribedby||null,bi(l,350).errorState,bi(l,350).required.toString()]),n(l,354,1,["standard"==bi(l,355).appearance,"fill"==bi(l,355).appearance,"outline"==bi(l,355).appearance,"legacy"==bi(l,355).appearance,bi(l,355)._control.errorState,bi(l,355)._canLabelFloat,bi(l,355)._shouldLabelFloat(),bi(l,355)._hasFloatingLabel(),bi(l,355)._hideControlPlaceholder(),bi(l,355)._control.disabled,bi(l,355)._control.autofilled,bi(l,355)._control.focused,"accent"==bi(l,355).color,"warn"==bi(l,355).color,bi(l,355)._shouldForward("untouched"),bi(l,355)._shouldForward("touched"),bi(l,355)._shouldForward("pristine"),bi(l,355)._shouldForward("dirty"),bi(l,355)._shouldForward("valid"),bi(l,355)._shouldForward("invalid"),bi(l,355)._shouldForward("pending"),!bi(l,355)._animationsEnabled]),n(l,365,1,[Wt(1,"",e.lang.entityFullName,""),bi(l,370).ngClassUntouched,bi(l,370).ngClassTouched,bi(l,370).ngClassPristine,bi(l,370).ngClassDirty,bi(l,370).ngClassValid,bi(l,370).ngClassInvalid,bi(l,370).ngClassPending,bi(l,371)._isServer,bi(l,371).id,bi(l,371).placeholder,bi(l,371).disabled,bi(l,371).required,bi(l,371).readonly&&!bi(l,371)._isNativeSelect||null,bi(l,371)._ariaDescribedby||null,bi(l,371).errorState,bi(l,371).required.toString()]),n(l,378,1,["standard"==bi(l,379).appearance,"fill"==bi(l,379).appearance,"outline"==bi(l,379).appearance,"legacy"==bi(l,379).appearance,bi(l,379)._control.errorState,bi(l,379)._canLabelFloat,bi(l,379)._shouldLabelFloat(),bi(l,379)._hasFloatingLabel(),bi(l,379)._hideControlPlaceholder(),bi(l,379)._control.disabled,bi(l,379)._control.autofilled,bi(l,379)._control.focused,"accent"==bi(l,379).color,"warn"==bi(l,379).color,bi(l,379)._shouldForward("untouched"),bi(l,379)._shouldForward("touched"),bi(l,379)._shouldForward("pristine"),bi(l,379)._shouldForward("dirty"),bi(l,379)._shouldForward("valid"),bi(l,379)._shouldForward("invalid"),bi(l,379)._shouldForward("pending"),!bi(l,379)._animationsEnabled]),n(l,389,1,[Wt(1,"",e.lang.archivalAgency,""),bi(l,391).maxlength?bi(l,391).maxlength:null,bi(l,396).ngClassUntouched,bi(l,396).ngClassTouched,bi(l,396).ngClassPristine,bi(l,396).ngClassDirty,bi(l,396).ngClassValid,bi(l,396).ngClassInvalid,bi(l,396).ngClassPending,bi(l,397)._isServer,bi(l,397).id,bi(l,397).placeholder,bi(l,397).disabled,bi(l,397).required,bi(l,397).readonly&&!bi(l,397)._isNativeSelect||null,bi(l,397)._ariaDescribedby||null,bi(l,397).errorState,bi(l,397).required.toString()]),n(l,400,1,["standard"==bi(l,401).appearance,"fill"==bi(l,401).appearance,"outline"==bi(l,401).appearance,"legacy"==bi(l,401).appearance,bi(l,401)._control.errorState,bi(l,401)._canLabelFloat,bi(l,401)._shouldLabelFloat(),bi(l,401)._hasFloatingLabel(),bi(l,401)._hideControlPlaceholder(),bi(l,401)._control.disabled,bi(l,401)._control.autofilled,bi(l,401)._control.focused,"accent"==bi(l,401).color,"warn"==bi(l,401).color,bi(l,401)._shouldForward("untouched"),bi(l,401)._shouldForward("touched"),bi(l,401)._shouldForward("pristine"),bi(l,401)._shouldForward("dirty"),bi(l,401)._shouldForward("valid"),bi(l,401)._shouldForward("invalid"),bi(l,401)._shouldForward("pending"),!bi(l,401)._animationsEnabled]),n(l,411,1,[Wt(1,"",e.lang.archivalAgreement,""),bi(l,413).maxlength?bi(l,413).maxlength:null,bi(l,418).ngClassUntouched,bi(l,418).ngClassTouched,bi(l,418).ngClassPristine,bi(l,418).ngClassDirty,bi(l,418).ngClassValid,bi(l,418).ngClassInvalid,bi(l,418).ngClassPending,bi(l,419)._isServer,bi(l,419).id,bi(l,419).placeholder,bi(l,419).disabled,bi(l,419).required,bi(l,419).readonly&&!bi(l,419)._isNativeSelect||null,bi(l,419)._ariaDescribedby||null,bi(l,419).errorState,bi(l,419).required.toString()]),n(l,423,0,bi(l,424).disabled||null,"NoopAnimations"===bi(l,424)._animationMode),n(l,425,0,e.lang.save)}))}function zK(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,qK,XW)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,ZW,[nS,tu,Jv,_u,uf,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var UK=oi("ng-component",ZW,zK,{},{},[]),BK=yt({encapsulation:0,styles:[".alert-message[_ngcontent-%COMP%] { max-width: inherit; }"],data:{}});function $K(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-file fa-2x mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,7,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[1,4]],0,pv,[],null,null),(n()(),_o(10,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(11,null,["",""])),(n()(),Lo(12,null,[" "," "])),(n()(),_o(13,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(14,null,["",""])),(n()(),Lo(15,null,[" ",""]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,11,0,e.data.entity.entity_label),n(l,12,0,e.lang.isDestTo),n(l,14,0,e.data.entity.documents),n(l,15,0,e.lang.documents)}))}function HK(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-sitemap fa-2x mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,7,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[4,4]],0,pv,[],null,null),(n()(),_o(10,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(11,null,["",""])),(n()(),Lo(12,null,[" "," "])),(n()(),_o(13,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(14,null,["",""])),(n()(),Lo(15,null,[" ",""]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,11,0,e.data.entity.entity_label),n(l,12,0,e.lang.isCopyTo),n(l,14,0,e.data.entity.instances),n(l,15,0,e.lang.documents)}))}function GK(n){return jo(0,[(n()(),_o(0,0,null,null,17,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-user fa-2x mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,9,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[7,4]],0,pv,[],null,null),(n()(),_o(10,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(11,null,["",""])),(n()(),Lo(12,null,[" "," "])),Fo(13,1),(n()(),_o(14,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(15,null,["",""])),(n()(),Lo(16,null,[" ",""])),Fo(17,1)],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,11,0,e.data.entity.entity_label);var t=bt(l,12,0,n(l,13,0,bi(l.parent,0),e.lang.isLinkedTo));n(l,12,0,t),n(l,15,0,e.data.entity.users.length);var i=bt(l,16,0,n(l,17,0,bi(l.parent,0),e.lang.usersAlt));n(l,16,0,i)}))}function WK(n){return jo(0,[(n()(),_o(0,0,null,null,17,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-file-alt fa-2x mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,9,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[10,4]],0,pv,[],null,null),(n()(),_o(10,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(11,null,["",""])),(n()(),Lo(12,null,[" "," "])),Fo(13,1),(n()(),_o(14,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(15,null,["",""])),(n()(),Lo(16,null,[" ",""])),Fo(17,1)],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,11,0,e.data.entity.entity_label);var t=bt(l,12,0,n(l,13,0,bi(l.parent,0),e.lang.isLinkedTo));n(l,12,0,t),n(l,15,0,e.data.entity.templates.length);var i=bt(l,16,0,n(l,17,0,bi(l.parent,0),e.lang.templates));n(l,16,0,i)}))}function KK(n){return jo(0,[Fi(0,Es,[]),(n()(),_o(1,0,null,null,25,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h2",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,15,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),_o(7,0,null,null,10,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,9,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(9,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,$K)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,HK)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,GK)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,WK)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,null,2,"plugin-autocomplete",[["required",""],["singleMode",""]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setRedirectEntity(e)&&t),t}),HN,EN)),Di(19,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],required:[1,"required"],routeDatas:[2,"routeDatas"],placeholder:[3,"placeholder"],optGroupLabel:[4,"optGroupLabel"],key:[5,"key"],subInfoKey:[6,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(20,1),(n()(),_o(21,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,4,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(23,16384,null,0,l_,[],null,null),(n()(),_o(24,0,null,null,2,"button",[["class","btn btn-danger"],["color","warn"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close(i.data.entity)&&t),t}),PC,MC)),Di(25,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(26,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,11,0,e.data.entity.documents>0),n(l,13,0,e.data.entity.instances>0),n(l,15,0,e.data.entity.users.length>0),n(l,17,0,e.data.entity.templates.length>0);var t=n(l,20,0,"/rest/autocomplete/entities");n(l,19,0,"","",t,e.lang.chooseEntity,e.lang.availableEntities,"idToDisplay","descriptionToDisplay"),n(l,25,0,void 0===e.data.entity.redirectEntity||e.data.entity.redirectEntity==e.data.entity.entity_id,"warn")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.lang.entityReplacement),n(l,24,0,bi(l,25).disabled||null,"NoopAnimations"===bi(l,25)._animationMode),n(l,26,0,e.lang.delete)}))}function YK(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,KK,BK)),Di(1,49152,null,0,QW,[nS,Gv,Hv],null,null)],null,null)}var JK=oi("ng-component",QW,YK,{},{},[]),ZK=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.loading=!1,this.statuses=[],this.displayedColumns=["img_filename","id","label_status","identifier"],this.dataSource=new mR(this.statuses),$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["id","label_status"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.statuses),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/statuses").subscribe((function(l){n.statuses=l.statuses,n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.statuses),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="label_status",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.deleteStatus=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+n.id+" »")&&this.http.delete("../../rest/statuses/"+n.identifier).subscribe((function(n){l.statuses=n.statuses,l.dataSource=new mR(l.statuses),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.statusDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),QK=yt({encapsulation:2,styles:[],data:{}});function XK(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/statuses/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/statuses/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function nY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function lY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.imgRelated)}))}function eY(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["aria-hidden","true"],["class","mat-icon notranslate"],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,Wt(1,"fm ",l.parent.context.$implicit.img_filename," fm-2x"),bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function tY(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["aria-hidden","true"],["class","mat-icon notranslate"],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,Wt(1,"fa ",l.parent.context.$implicit.img_filename," fa-2x"),bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function iY(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["color","primary"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,eY)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tY)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=0==l.context.$implicit.img_filename.indexOf("fm");n(l,3,0,e);var t=0==l.context.$implicit.img_filename.indexOf("fa");n(l,5,0,t)}),null)}function aY(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function oY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.id)}))}function rY(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.statusName)}))}function uY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.label_status)}))}function sY(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function cY(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteStatus(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function dY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function pY(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/statuses/",l.context.$implicit.identifier,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function mY(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","label_status"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(28,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,lY)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,iY)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,aY)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,oY)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,rY)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,uY)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,sY)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,cY)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,dY)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,pY)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"label_status","asc"),n(l,31,0,"img_filename"),n(l,44,0,"id"),n(l,57,0,"label_status"),n(l,70,0,"identifier"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.statuses.length,e.lang.statuses)}))}function fY(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,XK)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,nY)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mY)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function hY(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,fY,QK)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,ZK,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var gY=oi("ng-component",ZK,hY,{},{},[]),bY=function(){function n(n,l,e,t,i,a){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.lang=Kr,this.status={id:null,label_status:null,can_be_searched:null,can_be_modified:null,img_filename:"fm-letter"},this.statusImages="",this.loading=!1,this.statusId=new sy("",[S_.required,S_.pattern(/^[\w.-]*$/)]),$j("link[href='merged_css.php']").remove()}return n.prototype.getErrorMessage=function(){return this.statusId.hasError("required")?this.lang.enterValue:this.statusId.hasError("pattern")?this.lang.patternId:""},n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){void 0===l.identifier?(n.headerService.setHeader(n.lang.statusCreation),n.http.get("../../rest/administration/statuses/new").subscribe((function(l){n.status.img_filename="fm-letter",n.status.can_be_searched=!0,n.status.can_be_modified=!0,n.statusImages=l.statusImages,n.creationMode=!0,n.loading=!1})),n.statusIdAvailable=!1):(n.creationMode=!1,n.statusIdentifier=l.identifier,n.http.get("../../rest/statuses/"+l.identifier).subscribe((function(l){n.status=l.status[0],n.headerService.setHeader(n.lang.statusModification,n.status.label_status),n.status.can_be_searched="Y"==n.status.can_be_searched,n.status.can_be_modified="Y"==n.status.can_be_modified,n.statusImages=l.statusImages,n.statusIdAvailable=!0,n.loading=!1}),(function(l){n.notify.error(l.error.errors)})))}))},n.prototype.isAvailable=function(){var n=this;this.status.id?this.http.get("../../rest/status/"+this.status.id).subscribe((function(){n.statusIdAvailable=!1}),(function(l){n.statusIdAvailable=!1,"id not found"==l.error.errors&&(n.statusIdAvailable=!0)})):this.statusIdAvailable=!1},n.prototype.submitStatus=function(){var n=this;1==this.creationMode?this.http.post("../../rest/statuses",this.status).subscribe((function(){n.notify.success(n.lang.statusAdded),n.router.navigate(["administration/statuses"])}),(function(l){n.notify.error(l.error.errors)})):0==this.creationMode&&this.http.put("../../rest/statuses/"+this.statusIdentifier,this.status).subscribe((function(){n.notify.success(n.lang.statusUpdated),n.router.navigate(["administration/statuses"])}),(function(l){n.notify.error(l.error.errors)}))},n}(),vY=yt({encapsulation:2,styles:[],data:{}});function _Y(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function yY(n){return jo(0,[(n()(),_o(0,0,null,null,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","id"],["matInput",""],["maxlength","10"],["name","id"],["pattern","^[\\w.-]*$"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,10)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,10)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,10)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.status.id=e)&&t),"blur"===l&&(t=!1!==i.isAvailable()&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Di(3,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(4,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(7,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[xy]),Di(9,16384,null,0,y_,[[4,v_]],null,null),Di(10,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[3,4],[4,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,""),n(l,3,0,"10"),n(l,4,0,"^[\\w.-]*$"),n(l,7,0,e.statusId,e.status.id),n(l,10,0,"id",Wt(1,"",e.lang.id,""),"","text")}),(function(n,l){n(l,0,1,[Wt(1,"",l.component.lang.id,""),bi(l,2).required?"":null,bi(l,3).maxlength?bi(l,3).maxlength:null,bi(l,4).pattern?bi(l,4).pattern:null,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending,bi(l,10)._isServer,bi(l,10).id,bi(l,10).placeholder,bi(l,10).disabled,bi(l,10).required,bi(l,10).readonly&&!bi(l,10)._isNativeSelect||null,bi(l,10)._ariaDescribedby||null,bi(l,10).errorState,bi(l,10).required.toString()])}))}function wY(n){return jo(0,[(n()(),_o(0,0,null,null,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","id"],["matInput",""],["maxlength","10"],["name","id"],["required",""]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,9)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,9)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,9)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.status.id=e)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Di(3,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(6,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(8,16384,null,0,y_,[[4,v_]],null,null),Di(9,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"]},null),Ei(2048,[[3,4],[4,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,""),n(l,3,0,"10"),n(l,6,0,"id","",e.status.id),n(l,9,0,"","id",Wt(1,"",e.lang.id,""),"")}),(function(n,l){n(l,0,1,[Wt(1,"",l.component.lang.id,""),bi(l,2).required?"":null,bi(l,3).maxlength?bi(l,3).maxlength:null,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending,bi(l,9)._isServer,bi(l,9).id,bi(l,9).placeholder,bi(l,9).disabled,bi(l,9).required,bi(l,9).readonly&&!bi(l,9)._isNativeSelect||null,bi(l,9)._ariaDescribedby||null,bi(l,9).errorState,bi(l,9).required.toString()])}))}function xY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[8,4]],0,XO,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.getErrorMessage())}))}function CY(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[30,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,3,"i",[["color","primary"]],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(4,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(5,1),(n()(),Lo(6,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.image_name);var e=Wt(1,"",l.context.$implicit.image_name,""),t=n(l,5,0,0==l.context.$implicit.image_name.indexOf("fm")?"fm":"fa");n(l,4,0,e,t)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,6,0,l.context.$implicit.image_name)}))}function kY(n){return jo(0,[(n()(),_o(0,0,null,null,106,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,104,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.submitStatus()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["statusFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,17,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(10,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,3,{_controlNonStatic:0}),ko(335544320,4,{_controlStatic:0}),ko(603979776,5,{_labelChildNonStatic:0}),ko(335544320,6,{_labelChildStatic:0}),ko(603979776,7,{_placeholderChild:0}),ko(603979776,8,{_errorChildren:1}),ko(603979776,9,{_hintChildren:1}),ko(603979776,10,{_prefixChildren:1}),ko(603979776,11,{_suffixChildren:1}),(n()(),vo(16777216,null,1,1,null,yY)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,wY)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,5,1,null,xY)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(29,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,12,{_controlNonStatic:0}),ko(335544320,13,{_controlStatic:0}),ko(603979776,14,{_labelChildNonStatic:0}),ko(335544320,15,{_labelChildStatic:0}),ko(603979776,16,{_placeholderChild:0}),ko(603979776,17,{_errorChildren:1}),ko(603979776,18,{_hintChildren:1}),ko(603979776,19,{_prefixChildren:1}),ko(603979776,20,{_suffixChildren:1}),(n()(),_o(39,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label_status"],["matInput",""],["maxlength","50"],["name","label_status"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,40)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,40).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,40)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,40)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,48)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,48)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,48)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.status.label_status=e)&&t),t}),null,null)),Di(40,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(41,16384,null,0,My,[],{required:[0,"required"]},null),Di(42,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(45,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(47,16384,null,0,y_,[[4,v_]],null,null),Di(48,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[12,4],[13,4]],nT,null,[OT]),(n()(),_o(50,0,null,null,18,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(51,0,null,null,8,"div",[["class","col-sm-6"],["style","white-space:nowrap;text-align:center;"]],null,null,null,null,null)),(n()(),_o(52,16777216,null,null,7,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["id","can_be_search"],["name","can_be_search"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,53)._inputElement.nativeElement.focus()&&t),"longpress"===l&&(t=!1!==bi(n,58).show()&&t),"keydown"===l&&(t=!1!==bi(n,58)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,58)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(i.status.can_be_searched=e)&&t),t}),mV,pV)),Di(53,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],id:[2,"id"],checked:[3,"checked"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(55,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(57,16384,null,0,y_,[[4,v_]],null,null),Di(58,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(59,0,[" "," "])),(n()(),_o(60,0,null,null,8,"div",[["class","col-sm-6"],["style","white-space:nowrap;text-align:center;"]],null,null,null,null,null)),(n()(),_o(61,16777216,null,null,7,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["id","can_be_modified"],["name","can_be_modified"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,62)._inputElement.nativeElement.focus()&&t),"longpress"===l&&(t=!1!==bi(n,67).show()&&t),"keydown"===l&&(t=!1!==bi(n,67)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,67)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(i.status.can_be_modified=e)&&t),t}),mV,pV)),Di(62,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],id:[2,"id"],checked:[3,"checked"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(64,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(66,16384,null,0,y_,[[4,v_]],null,null),Di(67,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(68,0,[" "," "])),(n()(),_o(69,0,null,null,32,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(70,0,null,null,5,"div",[["class","col-sm-1"],["style","text-align:right;"]],null,null,null,null,null)),(n()(),_o(71,0,null,null,4,"mat-icon",[["aria-hidden","true"],["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(73,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(74,1),Di(75,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],{color:[0,"color"]},null),(n()(),_o(76,0,null,null,25,"div",[["class","col-sm-11"]],null,null,null,null,null)),(n()(),_o(77,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(78,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,21,{_controlNonStatic:0}),ko(335544320,22,{_controlStatic:0}),ko(603979776,23,{_labelChildNonStatic:0}),ko(335544320,24,{_labelChildStatic:0}),ko(603979776,25,{_placeholderChild:0}),ko(603979776,26,{_errorChildren:1}),ko(603979776,27,{_hintChildren:1}),ko(603979776,28,{_prefixChildren:1}),ko(603979776,29,{_suffixChildren:1}),(n()(),_o(88,0,null,1,13,"mat-select",[["class","mat-select"],["id","status"],["name","status"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,95)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,95)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,95)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.status.img_filename=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(90,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(92,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(94,16384,null,0,y_,[[4,v_]],null,null),Di(95,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,30,{options:1}),ko(603979776,31,{optionGroups:1}),ko(603979776,32,{customTrigger:0}),Ei(2048,[[21,4],[22,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,CY)),Di(101,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(102,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(103,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(104,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(105,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(106,0,["",""]))],(function(n,l){var e=l.component;n(l,21,0,e.creationMode),n(l,23,0,!e.creationMode),n(l,25,0,e.statusId.invalid),n(l,41,0,""),n(l,42,0,"50"),n(l,45,0,"label_status",e.status.label_status),n(l,48,0,"label_status",Wt(1,"",e.lang.label,""),"","text"),n(l,53,0,"primary","can_be_search","can_be_search",1==e.status.can_be_searched),n(l,55,0,"can_be_search",e.status.can_be_searched),n(l,58,0,Wt(1,"",e.lang.tooltipSearchStatus,"")),n(l,62,0,"primary","can_be_modified","can_be_modified",1==e.status.can_be_modified),n(l,64,0,"can_be_modified",e.status.can_be_modified),n(l,67,0,Wt(1,"",e.lang.tooltipIndexStatus,""));var t=Wt(1,"",e.status.img_filename,""),i=n(l,74,0,0==e.status.img_filename.indexOf("fm")?"fm fm-2x":"fa fa-2x");n(l,73,0,t,i),n(l,75,0,"primary"),n(l,90,0,""),n(l,92,0,"status",e.status.img_filename),n(l,95,0,Wt(1,"",e.lang.imgRelated,""),"","status"),n(l,101,0,e.statusImages),n(l,105,0,!bi(l,4).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,9,1,["standard"==bi(l,10).appearance,"fill"==bi(l,10).appearance,"outline"==bi(l,10).appearance,"legacy"==bi(l,10).appearance,bi(l,10)._control.errorState,bi(l,10)._canLabelFloat,bi(l,10)._shouldLabelFloat(),bi(l,10)._hasFloatingLabel(),bi(l,10)._hideControlPlaceholder(),bi(l,10)._control.disabled,bi(l,10)._control.autofilled,bi(l,10)._control.focused,"accent"==bi(l,10).color,"warn"==bi(l,10).color,bi(l,10)._shouldForward("untouched"),bi(l,10)._shouldForward("touched"),bi(l,10)._shouldForward("pristine"),bi(l,10)._shouldForward("dirty"),bi(l,10)._shouldForward("valid"),bi(l,10)._shouldForward("invalid"),bi(l,10)._shouldForward("pending"),!bi(l,10)._animationsEnabled]),n(l,28,1,["standard"==bi(l,29).appearance,"fill"==bi(l,29).appearance,"outline"==bi(l,29).appearance,"legacy"==bi(l,29).appearance,bi(l,29)._control.errorState,bi(l,29)._canLabelFloat,bi(l,29)._shouldLabelFloat(),bi(l,29)._hasFloatingLabel(),bi(l,29)._hideControlPlaceholder(),bi(l,29)._control.disabled,bi(l,29)._control.autofilled,bi(l,29)._control.focused,"accent"==bi(l,29).color,"warn"==bi(l,29).color,bi(l,29)._shouldForward("untouched"),bi(l,29)._shouldForward("touched"),bi(l,29)._shouldForward("pristine"),bi(l,29)._shouldForward("dirty"),bi(l,29)._shouldForward("valid"),bi(l,29)._shouldForward("invalid"),bi(l,29)._shouldForward("pending"),!bi(l,29)._animationsEnabled]),n(l,39,1,[Wt(1,"",e.lang.label,""),bi(l,41).required?"":null,bi(l,42).maxlength?bi(l,42).maxlength:null,bi(l,47).ngClassUntouched,bi(l,47).ngClassTouched,bi(l,47).ngClassPristine,bi(l,47).ngClassDirty,bi(l,47).ngClassValid,bi(l,47).ngClassInvalid,bi(l,47).ngClassPending,bi(l,48)._isServer,bi(l,48).id,bi(l,48).placeholder,bi(l,48).disabled,bi(l,48).required,bi(l,48).readonly&&!bi(l,48)._isNativeSelect||null,bi(l,48)._ariaDescribedby||null,bi(l,48).errorState,bi(l,48).required.toString()]),n(l,52,1,[bi(l,53).id,bi(l,53).disabled?null:-1,bi(l,53).checked,bi(l,53).disabled,"before"==bi(l,53).labelPosition,"NoopAnimations"===bi(l,53)._animationMode,bi(l,57).ngClassUntouched,bi(l,57).ngClassTouched,bi(l,57).ngClassPristine,bi(l,57).ngClassDirty,bi(l,57).ngClassValid,bi(l,57).ngClassInvalid,bi(l,57).ngClassPending]),n(l,59,0,e.lang.canBeSearched),n(l,61,1,[bi(l,62).id,bi(l,62).disabled?null:-1,bi(l,62).checked,bi(l,62).disabled,"before"==bi(l,62).labelPosition,"NoopAnimations"===bi(l,62)._animationMode,bi(l,66).ngClassUntouched,bi(l,66).ngClassTouched,bi(l,66).ngClassPristine,bi(l,66).ngClassDirty,bi(l,66).ngClassValid,bi(l,66).ngClassInvalid,bi(l,66).ngClassPending]),n(l,68,0,e.lang.canBeModified),n(l,71,0,bi(l,75).inline,"primary"!==bi(l,75).color&&"accent"!==bi(l,75).color&&"warn"!==bi(l,75).color),n(l,77,1,["standard"==bi(l,78).appearance,"fill"==bi(l,78).appearance,"outline"==bi(l,78).appearance,"legacy"==bi(l,78).appearance,bi(l,78)._control.errorState,bi(l,78)._canLabelFloat,bi(l,78)._shouldLabelFloat(),bi(l,78)._hasFloatingLabel(),bi(l,78)._hideControlPlaceholder(),bi(l,78)._control.disabled,bi(l,78)._control.autofilled,bi(l,78)._control.focused,"accent"==bi(l,78).color,"warn"==bi(l,78).color,bi(l,78)._shouldForward("untouched"),bi(l,78)._shouldForward("touched"),bi(l,78)._shouldForward("pristine"),bi(l,78)._shouldForward("dirty"),bi(l,78)._shouldForward("valid"),bi(l,78)._shouldForward("invalid"),bi(l,78)._shouldForward("pending"),!bi(l,78)._animationsEnabled]),n(l,88,1,[bi(l,90).required?"":null,bi(l,94).ngClassUntouched,bi(l,94).ngClassTouched,bi(l,94).ngClassPristine,bi(l,94).ngClassDirty,bi(l,94).ngClassValid,bi(l,94).ngClassInvalid,bi(l,94).ngClassPending,bi(l,95).id,bi(l,95).tabIndex,bi(l,95)._getAriaLabel(),bi(l,95)._getAriaLabelledby(),bi(l,95).required.toString(),bi(l,95).disabled.toString(),bi(l,95).errorState,bi(l,95).panelOpen?bi(l,95)._optionIds:null,bi(l,95).multiple,bi(l,95)._ariaDescribedby||null,bi(l,95)._getAriaActiveDescendant(),bi(l,95).disabled,bi(l,95).errorState,bi(l,95).required,bi(l,95).empty]),n(l,104,0,bi(l,105).disabled||null,"NoopAnimations"===bi(l,105)._animationMode),n(l,106,0,e.lang.save)}))}function SY(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_Y)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,kY)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function IY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,SY,vY)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,bY,[nS,Zp,uf,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var AY=oi("ng-component",bY,IY,{},{},[]),MY=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.parameters={},this.loading=!1,this.displayedColumns=["id","description","value","actions"],$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["id","description","value"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.parameters),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/parameters").subscribe((function(l){n.parameters=l.parameters,setTimeout((function(){n.dataSource=new mR(n.parameters),n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0),n.loading=!1}))},n.prototype.deleteParameter=function(n){var l=this;confirm(this.lang.deleteMsg)&&this.http.delete("../../rest/parameters/"+n).subscribe((function(n){l.parameters=n.parameters,l.dataSource=new mR(l.parameters),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.parameterDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),PY=yt({encapsulation:2,styles:[],data:{}});function DY(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/parameters/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/parameters/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function FY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function EY(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function OY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.id)}))}function TY(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function LY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.description)}))}function RY(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.value)}))}function NY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.value)}))}function jY(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function VY(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteParameter(n.context.$implicit.id)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function qY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function zY(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/parameters/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function UY(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(28,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,EY)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,OY)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,TY)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,LY)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,RY)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,NY)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,jY)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,VY)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,qY)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,zY)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"id","asc"),n(l,31,0,"id"),n(l,44,0,"description"),n(l,57,0,"value"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.parameters.length,e.lang.parameters)}))}function BY(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,DY)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,FY)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,UY)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function $Y(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,BY,PY)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,MY,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var HY=oi("ng-component",MY,$Y,{},{},[]),GY=function(){function n(n,l,e,t,i,a){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.lang=Kr,this.loading=!1,this.parameter={},$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.parameterCreation),n.creationMode=!0,n.loading=!1):(n.creationMode=!1,n.http.get("../../rest/parameters/"+l.id).subscribe((function(l){n.parameter=l.parameter,n.headerService.setHeader(n.lang.parameterModification,n.parameter.id),n.type="number"==typeof n.parameter.param_value_int?"int":n.parameter.param_value_date?"date":"string",n.loading=!1}),(function(l){n.notify.handleErrors(l)})))}))},n.prototype.onSubmit=function(){var n=this;"date"==this.type?(this.parameter.param_value_int=null,this.parameter.param_value_string=null):"int"==this.type?(this.parameter.param_value_date=null,this.parameter.param_value_string=null):"string"==this.type&&(this.parameter.param_value_date=null,this.parameter.param_value_int=null),1==this.creationMode?this.http.post("../../rest/parameters",this.parameter).subscribe((function(){n.router.navigate(["administration/parameters"]),n.notify.success(n.lang.parameterAdded)}),(function(l){n.notify.error(l.error.errors)})):0==this.creationMode&&this.http.put("../../rest/parameters/"+this.parameter.id,this.parameter).subscribe((function(){n.router.navigate(["administration/parameters"]),n.notify.success(n.lang.parameterUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n}(),WY=yt({encapsulation:2,styles:[],data:{}});function KY(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function YY(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,33,{_controlNonStatic:0}),ko(335544320,34,{_controlStatic:0}),ko(603979776,35,{_labelChildNonStatic:0}),ko(335544320,36,{_labelChildStatic:0}),ko(603979776,37,{_placeholderChild:0}),ko(603979776,38,{_errorChildren:1}),ko(603979776,39,{_hintChildren:1}),ko(603979776,40,{_prefixChildren:1}),ko(603979776,41,{_suffixChildren:1}),(n()(),_o(11,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","paramValueString"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,19)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,19)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.parameter.param_value_string=e)&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(16,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(18,16384,null,0,y_,[[4,v_]],null,null),Di(19,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[33,4],[34,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,13,0,""),n(l,16,0,"paramValueString",e.parameter.param_value_string),n(l,19,0,Wt(1,"",e.lang.value,""),"","text")}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).required?"":null,bi(l,18).ngClassUntouched,bi(l,18).ngClassTouched,bi(l,18).ngClassPristine,bi(l,18).ngClassDirty,bi(l,18).ngClassValid,bi(l,18).ngClassInvalid,bi(l,18).ngClassPending,bi(l,19)._isServer,bi(l,19).id,bi(l,19).placeholder,bi(l,19).disabled,bi(l,19).required,bi(l,19).readonly&&!bi(l,19)._isNativeSelect||null,bi(l,19)._ariaDescribedby||null,bi(l,19).errorState,bi(l,19).required.toString()])}))}function JY(n){return jo(0,[(n()(),_o(0,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,42,{_controlNonStatic:0}),ko(335544320,43,{_controlStatic:0}),ko(603979776,44,{_labelChildNonStatic:0}),ko(335544320,45,{_labelChildStatic:0}),ko(603979776,46,{_placeholderChild:0}),ko(603979776,47,{_errorChildren:1}),ko(603979776,48,{_hintChildren:1}),ko(603979776,49,{_prefixChildren:1}),ko(603979776,50,{_suffixChildren:1}),(n()(),_o(11,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","paramValueInt"],["pattern","^[0-9]*$"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,13).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,13).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.parameter.param_value_int=e)&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,16384,null,0,F_,[Te,Pe],null,null),Di(14,16384,null,0,My,[],{required:[0,"required"]},null),Di(15,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(18,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[42,4],[43,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,14,0,""),n(l,15,0,"^[0-9]*$"),n(l,18,0,"paramValueInt",e.parameter.param_value_int),n(l,21,0,Wt(1,"",e.lang.value,""),"","number")}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,14).required?"":null,bi(l,15).pattern?bi(l,15).pattern:null,bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()])}))}function ZY(n){return jo(0,[(n()(),_o(0,0,null,null,28,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,51,{_controlNonStatic:0}),ko(335544320,52,{_controlStatic:0}),ko(603979776,53,{_labelChildNonStatic:0}),ko(335544320,54,{_labelChildStatic:0}),ko(603979776,55,{_placeholderChild:0}),ko(603979776,56,{_errorChildren:1}),ko(603979776,57,{_hintChildren:1}),ko(603979776,58,{_prefixChildren:1}),ko(603979776,59,{_suffixChildren:1}),(n()(),_o(11,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","paramValueDate"],["required",""]],[[1,"required",0],[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,14)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,14)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,14)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,14)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.parameter.param_value_date=e)&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,16384,null,0,My,[],{required:[0,"required"]},null),Di(14,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(17,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[51,4],[52,4]],nT,null,[OT]),(n()(),_o(23,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,25)._button.focus()&&t),t}),nk,QC)),Di(24,16384,[[59,4]],0,oT,[],null,null),Di(25,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,60,{_customIcon:0}),(n()(),_o(27,16777216,null,1,1,"mat-datepicker",[["startView","month"]],null,null,null,ZC,JC)),Di(28,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{startView:[0,"startView"]},null)],(function(n,l){var e=l.component;n(l,13,0,""),n(l,14,0,bi(l,28)),n(l,17,0,"paramValueDate",e.parameter.param_value_date),n(l,21,0,Wt(1,"",e.lang.date,""),""),n(l,25,0,bi(l,28)),n(l,28,0,"month")}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).required?"":null,bi(l,14)._datepicker?"dialog":null,(null==bi(l,14)._datepicker?null:bi(l,14)._datepicker.opened)&&bi(l,14)._datepicker.id||null,bi(l,14).min?bi(l,14)._dateAdapter.toIso8601(bi(l,14).min):null,bi(l,14).max?bi(l,14)._dateAdapter.toIso8601(bi(l,14).max):null,bi(l,14).disabled,bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()]),n(l,23,0,-1,bi(l,25).datepicker&&bi(l,25).datepicker.opened,bi(l,25).datepicker&&"accent"===bi(l,25).datepicker.color,bi(l,25).datepicker&&"warn"===bi(l,25).datepicker.color)}))}function QY(n){return jo(0,[(n()(),_o(0,0,null,null,97,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,95,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["parameterForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(10,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,3,{_controlNonStatic:0}),ko(335544320,4,{_controlStatic:0}),ko(603979776,5,{_labelChildNonStatic:0}),ko(335544320,6,{_labelChildStatic:0}),ko(603979776,7,{_placeholderChild:0}),ko(603979776,8,{_errorChildren:1}),ko(603979776,9,{_hintChildren:1}),ko(603979776,10,{_prefixChildren:1}),ko(603979776,11,{_suffixChildren:1}),(n()(),_o(20,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","id"],["pattern","^[\\w-]*$"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,21)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,21).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,21)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,21)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,29)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,29)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,29)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.parameter.id=e)&&t),t}),null,null)),Di(21,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(22,16384,null,0,My,[],{required:[0,"required"]},null),Di(23,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(26,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(28,16384,null,0,y_,[[4,v_]],null,null),Di(29,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[3,4],[4,4]],nT,null,[OT]),(n()(),_o(31,0,null,null,20,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(32,0,null,null,19,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(34,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,12,{_controlNonStatic:0}),ko(335544320,13,{_controlStatic:0}),ko(603979776,14,{_labelChildNonStatic:0}),ko(335544320,15,{_labelChildStatic:0}),ko(603979776,16,{_placeholderChild:0}),ko(603979776,17,{_errorChildren:1}),ko(603979776,18,{_hintChildren:1}),ko(603979776,19,{_prefixChildren:1}),ko(603979776,20,{_suffixChildren:1}),(n()(),_o(44,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["name","description"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,45)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,45).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,45)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,45)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,50)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,50)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,50)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.parameter.description=e)&&t),t}),null,null)),Di(45,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(47,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(49,16384,null,0,y_,[[4,v_]],null,null),Di(50,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[12,4],[13,4]],nT,null,[OT]),(n()(),_o(52,0,null,null,40,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(53,0,null,null,32,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,31,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(55,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,21,{_controlNonStatic:0}),ko(335544320,22,{_controlStatic:0}),ko(603979776,23,{_labelChildNonStatic:0}),ko(335544320,24,{_labelChildStatic:0}),ko(603979776,25,{_placeholderChild:0}),ko(603979776,26,{_errorChildren:1}),ko(603979776,27,{_hintChildren:1}),ko(603979776,28,{_prefixChildren:1}),ko(603979776,29,{_suffixChildren:1}),(n()(),_o(65,0,null,1,20,"mat-select",[["class","mat-select"],["name","type"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,71)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,71)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,71)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.type=e)&&t),t}),GR,qR)),Di(66,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(68,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(70,16384,null,0,y_,[[4,v_]],null,null),Di(71,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"]},null),ko(603979776,30,{options:1}),ko(603979776,31,{optionGroups:1}),ko(603979776,32,{customTrigger:0}),Ei(2048,[[21,4],[22,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(77,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","string"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,78)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,78)._handleKeydown(e)&&t),t}),bI,hI)),Di(78,8568832,[[30,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(79,0,[" "," "])),(n()(),_o(80,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","int"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,81)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,81)._handleKeydown(e)&&t),t}),bI,hI)),Di(81,8568832,[[30,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(82,0,[" "," "])),(n()(),_o(83,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","date"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,84)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,84)._handleKeydown(e)&&t),t}),bI,hI)),Di(84,8568832,[[30,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(85,0,[" "," "])),(n()(),_o(86,0,null,null,6,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,YY)),Di(88,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,JY)),Di(90,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ZY)),Di(92,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(93,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(94,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(95,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(96,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(97,0,["",""]))],(function(n,l){var e=l.component;n(l,22,0,""),n(l,23,0,"^[\\w-]*$"),n(l,26,0,"id",!e.creationMode,e.parameter.id),n(l,29,0,!e.creationMode,Wt(1,"",e.lang.id,""),"","text"),n(l,47,0,"description",e.parameter.description),n(l,50,0,"description",Wt(1,"",e.lang.description,""),"text"),n(l,66,0,""),n(l,68,0,"type",!e.creationMode,e.type),n(l,71,0,!e.creationMode,Wt(1,"",e.lang.type,""),""),n(l,78,0,"string"),n(l,81,0,"int"),n(l,84,0,"date"),n(l,88,0,"string"==e.type),n(l,90,0,"int"==e.type),n(l,92,0,"date"==e.type),n(l,96,0,!bi(l,4).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,9,1,["standard"==bi(l,10).appearance,"fill"==bi(l,10).appearance,"outline"==bi(l,10).appearance,"legacy"==bi(l,10).appearance,bi(l,10)._control.errorState,bi(l,10)._canLabelFloat,bi(l,10)._shouldLabelFloat(),bi(l,10)._hasFloatingLabel(),bi(l,10)._hideControlPlaceholder(),bi(l,10)._control.disabled,bi(l,10)._control.autofilled,bi(l,10)._control.focused,"accent"==bi(l,10).color,"warn"==bi(l,10).color,bi(l,10)._shouldForward("untouched"),bi(l,10)._shouldForward("touched"),bi(l,10)._shouldForward("pristine"),bi(l,10)._shouldForward("dirty"),bi(l,10)._shouldForward("valid"),bi(l,10)._shouldForward("invalid"),bi(l,10)._shouldForward("pending"),!bi(l,10)._animationsEnabled]),n(l,20,1,[Wt(1,"",e.lang.id,""),bi(l,22).required?"":null,bi(l,23).pattern?bi(l,23).pattern:null,bi(l,28).ngClassUntouched,bi(l,28).ngClassTouched,bi(l,28).ngClassPristine,bi(l,28).ngClassDirty,bi(l,28).ngClassValid,bi(l,28).ngClassInvalid,bi(l,28).ngClassPending,bi(l,29)._isServer,bi(l,29).id,bi(l,29).placeholder,bi(l,29).disabled,bi(l,29).required,bi(l,29).readonly&&!bi(l,29)._isNativeSelect||null,bi(l,29)._ariaDescribedby||null,bi(l,29).errorState,bi(l,29).required.toString()]),n(l,33,1,["standard"==bi(l,34).appearance,"fill"==bi(l,34).appearance,"outline"==bi(l,34).appearance,"legacy"==bi(l,34).appearance,bi(l,34)._control.errorState,bi(l,34)._canLabelFloat,bi(l,34)._shouldLabelFloat(),bi(l,34)._hasFloatingLabel(),bi(l,34)._hideControlPlaceholder(),bi(l,34)._control.disabled,bi(l,34)._control.autofilled,bi(l,34)._control.focused,"accent"==bi(l,34).color,"warn"==bi(l,34).color,bi(l,34)._shouldForward("untouched"),bi(l,34)._shouldForward("touched"),bi(l,34)._shouldForward("pristine"),bi(l,34)._shouldForward("dirty"),bi(l,34)._shouldForward("valid"),bi(l,34)._shouldForward("invalid"),bi(l,34)._shouldForward("pending"),!bi(l,34)._animationsEnabled]),n(l,44,1,[Wt(1,"",e.lang.description,""),bi(l,49).ngClassUntouched,bi(l,49).ngClassTouched,bi(l,49).ngClassPristine,bi(l,49).ngClassDirty,bi(l,49).ngClassValid,bi(l,49).ngClassInvalid,bi(l,49).ngClassPending,bi(l,50)._isServer,bi(l,50).id,bi(l,50).placeholder,bi(l,50).disabled,bi(l,50).required,bi(l,50).readonly&&!bi(l,50)._isNativeSelect||null,bi(l,50)._ariaDescribedby||null,bi(l,50).errorState,bi(l,50).required.toString()]),n(l,54,1,["standard"==bi(l,55).appearance,"fill"==bi(l,55).appearance,"outline"==bi(l,55).appearance,"legacy"==bi(l,55).appearance,bi(l,55)._control.errorState,bi(l,55)._canLabelFloat,bi(l,55)._shouldLabelFloat(),bi(l,55)._hasFloatingLabel(),bi(l,55)._hideControlPlaceholder(),bi(l,55)._control.disabled,bi(l,55)._control.autofilled,bi(l,55)._control.focused,"accent"==bi(l,55).color,"warn"==bi(l,55).color,bi(l,55)._shouldForward("untouched"),bi(l,55)._shouldForward("touched"),bi(l,55)._shouldForward("pristine"),bi(l,55)._shouldForward("dirty"),bi(l,55)._shouldForward("valid"),bi(l,55)._shouldForward("invalid"),bi(l,55)._shouldForward("pending"),!bi(l,55)._animationsEnabled]),n(l,65,1,[bi(l,66).required?"":null,bi(l,70).ngClassUntouched,bi(l,70).ngClassTouched,bi(l,70).ngClassPristine,bi(l,70).ngClassDirty,bi(l,70).ngClassValid,bi(l,70).ngClassInvalid,bi(l,70).ngClassPending,bi(l,71).id,bi(l,71).tabIndex,bi(l,71)._getAriaLabel(),bi(l,71)._getAriaLabelledby(),bi(l,71).required.toString(),bi(l,71).disabled.toString(),bi(l,71).errorState,bi(l,71).panelOpen?bi(l,71)._optionIds:null,bi(l,71).multiple,bi(l,71)._ariaDescribedby||null,bi(l,71)._getAriaActiveDescendant(),bi(l,71).disabled,bi(l,71).errorState,bi(l,71).required,bi(l,71).empty]),n(l,77,0,bi(l,78)._getTabIndex(),bi(l,78).selected,bi(l,78).multiple,bi(l,78).active,bi(l,78).id,bi(l,78)._getAriaSelected(),bi(l,78).disabled.toString(),bi(l,78).disabled),n(l,79,0,e.lang.stringInput),n(l,80,0,bi(l,81)._getTabIndex(),bi(l,81).selected,bi(l,81).multiple,bi(l,81).active,bi(l,81).id,bi(l,81)._getAriaSelected(),bi(l,81).disabled.toString(),bi(l,81).disabled),n(l,82,0,e.lang.integer),n(l,83,0,bi(l,84)._getTabIndex(),bi(l,84).selected,bi(l,84).multiple,bi(l,84).active,bi(l,84).id,bi(l,84)._getAriaSelected(),bi(l,84).disabled.toString(),bi(l,84).disabled),n(l,85,0,e.lang.date),n(l,95,0,bi(l,96).disabled||null,"NoopAnimations"===bi(l,96)._animationMode),n(l,97,0,e.lang.save)}))}function XY(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,KY)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,QY)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function nJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,XY,WY)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,GY,[nS,Zp,uf,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var lJ=oi("ng-component",GY,nJ,{},{},[]),eJ=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.lang=Kr,this.groups=[],this.reports=[],this.selectedGroup="",this.loading=!1,this.loadingOptions=!1,$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.reports),this.loading=!0,this.http.get("../../rest/reports/groups").subscribe((function(l){n.groups=l.groups,n.loadReports(0),n.loading=!1}),(function(l){n.notify.handleErrors(l)}))},n.prototype.loadReports=function(n){var l=this;this.selectedGroup=this.groups[n].group_id,this.loadingOptions=!0,this.http.get("../../rest/reports/groups/"+this.groups[n].group_id).subscribe((function(n){l.reports=n.reports,l.loadingOptions=!1}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.saveReport=function(){var n=this;this.http.put("../../rest/reports/groups/"+this.selectedGroup,this.reports).subscribe((function(){n.notify.success(n.lang.modificationSaved)}),(function(l){n.notify.error(l.error.errors)}))},n}(),tJ=yt({encapsulation:2,styles:[],data:{}});function iJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function aJ(n){return jo(0,[(n()(),Lo(0,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.parent.context.$implicit.group_desc)}))}function oJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function rJ(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(5,16777216,null,2,7,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,11).show()&&t),"keydown"===l&&(t=!1!==bi(n,11)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,11)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.context.$implicit.checked=e)&&t),"change"===l&&(t=!1!==i.saveReport()&&t),t}),sA,uA)),Di(6,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],name:[1,"name"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(8,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(10,16384,null,0,y_,[[4,v_]],null,null),Di(11,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(12,0,[" "," "]))],(function(n,l){n(l,6,0,"primary",Wt(2,"report_",l.parent.context.$implicit.module,"_",l.parent.context.index,"")),n(l,8,0,Wt(2,"report_",l.parent.context.$implicit.module,"_",l.parent.context.index,""),l.parent.context.$implicit.checked),n(l,11,0,Wt(1,"",l.parent.context.$implicit.desc,""))}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,1,[bi(l,6).id,null,bi(l,6).indeterminate,bi(l,6).checked,bi(l,6).disabled,"before"==bi(l,6).labelPosition,"NoopAnimations"===bi(l,6)._animationMode,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending]),n(l,12,0,l.parent.context.$implicit.label)}))}function uJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,rJ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"entities"==l.context.$implicit.module)}),null)}function sJ(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,9,{_lines:1}),ko(603979776,10,{_avatar:0}),ko(603979776,11,{_icon:0}),(n()(),_o(5,16777216,null,2,7,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,11).show()&&t),"keydown"===l&&(t=!1!==bi(n,11)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,11)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.context.$implicit.checked=e)&&t),"change"===l&&(t=!1!==i.saveReport()&&t),t}),sA,uA)),Di(6,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],name:[1,"name"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(8,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(10,16384,null,0,y_,[[4,v_]],null,null),Di(11,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(12,0,[" "," "]))],(function(n,l){n(l,6,0,"primary",Wt(2,"report_",l.parent.context.$implicit.module,"_",l.parent.context.index,"")),n(l,8,0,Wt(2,"report_",l.parent.context.$implicit.module,"_",l.parent.context.index,""),l.parent.context.$implicit.checked),n(l,11,0,Wt(1,"",l.parent.context.$implicit.desc,""))}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,1,[bi(l,6).id,null,bi(l,6).indeterminate,bi(l,6).checked,bi(l,6).disabled,"before"==bi(l,6).labelPosition,"NoopAnimations"===bi(l,6)._animationMode,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending]),n(l,12,0,l.parent.context.$implicit.label)}))}function cJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,sJ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"application"==l.context.$implicit.module)}),null)}function dJ(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),Lo(2,0,[" "," "])),(n()(),_o(3,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(4,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,uJ)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),Lo(7,0,[" "," "])),(n()(),_o(8,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(9,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,cJ)),Di(11,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,e.reports),n(l,11,0,e.reports)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.entities),n(l,3,0,bi(l,4).vertical?"vertical":"horizontal",bi(l,4).vertical,!bi(l,4).vertical,bi(l,4).inset),n(l,7,0,e.lang.maarchApplication),n(l,8,0,bi(l,9).vertical?"vertical":"horizontal",bi(l,9).vertical,!bi(l,9).vertical,bi(l,9).inset)}))}function pJ(n){return jo(0,[(n()(),_o(0,16777216,null,null,14,"mat-tab",[["label","{{group.group_desc}"]],null,null,null,BV,zV)),Di(1,770048,[[3,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,4,{templateLabel:0}),ko(335544320,5,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,aJ)),Di(5,16384,[[4,4]],0,bV,[Xe,lt],null,null),(n()(),vo(16777216,null,0,1,null,oJ)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,0,6,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,10).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,10).onReset()&&t),t}),null,null)),Di(9,16384,null,0,yy,[],null,null),Di(10,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(12,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,dJ)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,"{{group.group_desc}"),n(l,7,0,e.loadingOptions),n(l,14,0,e.reports.length>0&&!e.loadingOptions)}),(function(n,l){n(l,8,0,bi(l,12).ngClassUntouched,bi(l,12).ngClassTouched,bi(l,12).ngClassPristine,bi(l,12).ngClassDirty,bi(l,12).ngClassValid,bi(l,12).ngClassInvalid,bi(l,12).ngClassPending)}))}function mJ(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"],[null,"selectedTabChange"]],(function(n,l,e){var t=!0,i=n.component;return"selectedIndexChange"===l&&(t=!1!==(i.selectedTabIndex_2=e)&&t),"selectedTabChange"===l&&(t=!1!==i.loadReports(e.index)&&t),t}),LV,PV)),Di(1,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange",selectedTabChange:"selectedTabChange"}),ko(603979776,3,{_tabs:1}),(n()(),vo(16777216,null,null,1,null,pJ)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.selectedTabIndex_2),n(l,4,0,e.groups)}),(function(n,l){n(l,0,0,bi(l,1).dynamicHeight,"below"===bi(l,1).headerPosition)}))}function fJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,mJ)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,!l.component.creationMode)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode)}))}function hJ(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,iJ)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fJ)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function gJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,hJ,tJ)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,eJ,[nS,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var bJ=oi("ng-component",eJ,gJ,{},{},[]),vJ=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.loading=!1,this.priorities=[],this.prioritiesOrder=[],this.displayedColumns=["id","label","delays","actions"],$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["id","label","delays"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.prioritiesAlt),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/priorities").subscribe((function(l){n.priorities=l.priorities,n.loading=!1,n.http.get("../../rest/sortedPriorities").subscribe((function(l){n.prioritiesOrder=l.priorities}),(function(l){n.notify.handleErrors(l)})),setTimeout((function(){n.dataSource=new mR(n.priorities),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="label",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.deletePriority=function(n){var l=this;confirm(this.lang.deleteMsg)&&this.http.delete("../../rest/priorities/"+n).subscribe((function(n){l.priorities=n.priorities,l.dataSource=new mR(l.priorities),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.priorityDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.updatePrioritiesOrder=function(){var n=this;this.http.put("../../rest/sortedPriorities",this.prioritiesOrder).subscribe((function(l){n.prioritiesOrder=l.priorities,n.notify.success(n.lang.modificationSaved)}),(function(l){n.notify.error(l.error.errors)}))},n}(),_J=yt({encapsulation:2,styles:[],data:{}});function yJ(n){return jo(0,[(n()(),_o(0,0,null,null,27,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/priorities/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n.parent,27).toggle()&&t),t}),AI,II)),Di(18,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(22,0,null,0,2,"mat-icon",[["class","fa fa-list-ol mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(23,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(24,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(25,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(26,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(27,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/priorities/new"),n(l,12,0,"primary"),n(l,23,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add),n(l,17,0,bi(l,18)._avatar||bi(l,18)._icon,bi(l,18)._avatar||bi(l,18)._icon),n(l,22,0,bi(l,23).inline,"primary"!==bi(l,23).color&&"accent"!==bi(l,23).color&&"warn"!==bi(l,23).color),n(l,27,0,e.lang.prioritiesOrder)}))}function wJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function xJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.technicalId)}))}function CJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,1,"span",[],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){n(l,3,0,l.context.$implicit.id)}))}function kJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function SJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,0,"input",[["disabled",""],["style","background:none;border:none;width:45px;"],["type","color"]],[[8,"value",0]],null,null,null,null)),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){n(l,2,0,Wt(1,"",l.context.$implicit.color,"")),n(l,3,0,l.context.$implicit.label)}))}function IJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.processDelayDay)}))}function AJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,3,0,l.context.$implicit.delays)}))}function MJ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function PJ(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deletePriority(n.context.$implicit.id)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function DJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function FJ(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/priorities/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function EJ(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,22,{_contentColumnDefs:1}),ko(603979776,23,{_contentRowDefs:1}),ko(603979776,24,{_contentHeaderRowDefs:1}),ko(603979776,25,{_contentFooterRowDefs:1}),Di(28,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,xJ)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,CJ)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,kJ)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,SJ)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,32,{cell:0}),ko(603979776,33,{headerCell:0}),ko(603979776,34,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,IJ)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[33,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,AJ)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[32,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,35,{cell:0}),ko(603979776,36,{headerCell:0}),ko(603979776,37,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,MJ)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[36,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,PJ)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[35,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,DJ)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[24,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,FJ)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[23,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"label","asc"),n(l,31,0,"id"),n(l,44,0,"label"),n(l,57,0,"delays"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.priorities.length,e.lang.priorities)}))}function OJ(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-list-item",[["class","mat-list-item"],["disableRipple","true"],["dnd-sortable",""]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"onDropSuccess"]],(function(n,l,e){var t=!0;return"onDropSuccess"===l&&(t=!1!==n.component.updatePrioritiesOrder()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,38,{_lines:1}),ko(603979776,39,{_avatar:0}),ko(603979776,40,{_icon:0}),Di(5,16384,null,0,aq,[Pe,KV,GV,eq,JV,Nl],{index:[0,"index"]},{onDropSuccessCallback:"onDropSuccess"}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-inbox mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[40,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[38,4]],0,pv,[],null,null),(n()(),Lo(11,null,[""," - ",""]))],(function(n,l){n(l,1,0,"true"),n(l,5,0,l.context.index),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.move,""),bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.index+1,l.context.$implicit.label)}))}function TJ(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,32,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,yJ)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wJ)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,EJ)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,0,10,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,27)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,27)._animationDoneListener(e)&&t),t}),zO,qO)),Di(27,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(28,0,null,0,1,"p",[["style","font-size:15px;padding:5px"]],null,null,null,null,null)),(n()(),Lo(29,null,[" "," "])),(n()(),_o(30,0,null,0,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(31,704512,null,0,tI,[Pe],null,null),(n()(),_o(32,0,null,0,4,"span",[["dnd-sortable-container",""]],null,null,null,null,null)),Di(33,16384,null,0,eq,[Pe,KV,GV,Nl,JV],{sortableData:[0,"sortableData"],dropzones:[1,"dropzones"]},null),Eo(34,1),(n()(),vo(16777216,null,null,1,null,OJ)),Di(36,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading),n(l,27,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56");var t=e.prioritiesOrder,i=n(l,34,0,"boxers-zone");n(l,33,0,t,i),n(l,36,0,e.prioritiesOrder)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,26,0,null,"end"===bi(l,27).position,"over"===bi(l,27).mode,"push"===bi(l,27).mode,"side"===bi(l,27).mode,bi(l,27).opened,bi(l,27).fixedInViewport,bi(l,27).fixedInViewport?bi(l,27).fixedTopGap:null,bi(l,27).fixedInViewport?bi(l,27).fixedBottomGap:null,bi(l,27)._animationState),n(l,29,0,e.lang.prioritiesHelpDesc)}))}function LJ(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,TJ,_J)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,vJ,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var RJ=oi("ng-component",vJ,LJ,{},{},[]),NJ=function(){function n(n,l,e,t,i,a){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.lang=Kr,this.loading=!1,this.priority={color:"#135f7f",delays:"0"},$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.priorityCreation),n.creationMode=!0,n.loading=!1):(n.creationMode=!1,n.id=l.id,n.http.get("../../rest/priorities/"+n.id).subscribe((function(l){n.priority=l.priority,n.headerService.setHeader(n.lang.priorityModification,n.priority.label),n.loading=!1}),(function(l){n.notify.handleErrors(l)})))}))},n.prototype.onSubmit=function(){var n=this;this.creationMode?this.http.post("../../rest/priorities",this.priority).subscribe((function(){n.notify.success(n.lang.priorityAdded),n.router.navigate(["/administration/priorities"])}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/priorities/"+this.id,this.priority).subscribe((function(){n.notify.success(n.lang.priorityUpdated),n.router.navigate(["/administration/priorities"])}),(function(l){n.notify.error(l.error.errors)}))},n}(),jJ=yt({encapsulation:2,styles:[],data:{}});function VJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function qJ(n){return jo(0,[(n()(),_o(0,0,null,null,84,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,82,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["priorityForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,47,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,46,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,22,"div",[["class","col-md-1 col-xs-2"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(11,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,3,{_controlNonStatic:0}),ko(335544320,4,{_controlStatic:0}),ko(603979776,5,{_labelChildNonStatic:0}),ko(335544320,6,{_labelChildStatic:0}),ko(603979776,7,{_placeholderChild:0}),ko(603979776,8,{_errorChildren:1}),ko(603979776,9,{_hintChildren:1}),ko(603979776,10,{_prefixChildren:1}),ko(603979776,11,{_suffixChildren:1}),(n()(),_o(21,16777216,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","color"],["required",""],["type","color"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,22)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,22)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,22)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,29)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,29)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,29)._onInput()&&t),"longpress"===l&&(t=!1!==bi(n,30).show()&&t),"keydown"===l&&(t=!1!==bi(n,30)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,30)._handleTouchend()&&t),"ngModelChange"===l&&(t=!1!==(i.priority.color=e)&&t),t}),null,null)),Di(22,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(23,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(26,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(28,16384,null,0,y_,[[4,v_]],null,null),Di(29,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{required:[0,"required"],type:[1,"type"]},null),Di(30,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Ei(2048,[[3,4],[4,4]],nT,null,[OT]),(n()(),_o(32,0,null,null,22,"div",[["class","col-md-11 col-xs-10"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(34,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,12,{_controlNonStatic:0}),ko(335544320,13,{_controlStatic:0}),ko(603979776,14,{_labelChildNonStatic:0}),ko(335544320,15,{_labelChildStatic:0}),ko(603979776,16,{_placeholderChild:0}),ko(603979776,17,{_errorChildren:1}),ko(603979776,18,{_hintChildren:1}),ko(603979776,19,{_prefixChildren:1}),ko(603979776,20,{_suffixChildren:1}),(n()(),_o(44,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,45)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,45).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,45)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,45)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,53)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,53)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,53)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.priority.label=e)&&t),t}),null,null)),Di(45,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(46,16384,null,0,My,[],{required:[0,"required"]},null),Di(47,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(50,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(52,16384,null,0,y_,[[4,v_]],null,null),Di(53,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[12,4],[13,4]],nT,null,[OT]),(n()(),_o(55,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(56,0,null,null,23,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),_o(57,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(58,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,21,{_controlNonStatic:0}),ko(335544320,22,{_controlStatic:0}),ko(603979776,23,{_labelChildNonStatic:0}),ko(335544320,24,{_labelChildStatic:0}),ko(603979776,25,{_placeholderChild:0}),ko(603979776,26,{_errorChildren:1}),ko(603979776,27,{_hintChildren:1}),ko(603979776,28,{_prefixChildren:1}),ko(603979776,29,{_suffixChildren:1}),(n()(),_o(68,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","delays"],["pattern","^\\d+$"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,69)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,69).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,69)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,69)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,70).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,70).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,70).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,78)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,78)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,78)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.priority.delays=e)&&t),t}),null,null)),Di(69,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(70,16384,null,0,F_,[Te,Pe],null,null),Di(71,16384,null,0,My,[],{required:[0,"required"]},null),Di(72,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(75,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(77,16384,null,0,y_,[[4,v_]],null,null),Di(78,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[21,4],[22,4]],nT,null,[OT]),(n()(),_o(80,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(81,0,null,null,3,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(82,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(83,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(84,0,["",""]))],(function(n,l){var e=l.component;n(l,23,0,""),n(l,26,0,"color",e.priority.color),n(l,29,0,"","color"),n(l,30,0,Wt(1,"",e.lang.chooseColor,"")),n(l,46,0,""),n(l,47,0,"128"),n(l,50,0,"label",e.priority.label),n(l,53,0,Wt(1,"",e.lang.label,""),"","text"),n(l,71,0,""),n(l,72,0,"^\\d+$"),n(l,75,0,"delays",e.priority.delays),n(l,78,0,Wt(1,"",e.lang.processDelayDay,""),"","number"),n(l,83,0,!bi(l,4).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,10,1,["standard"==bi(l,11).appearance,"fill"==bi(l,11).appearance,"outline"==bi(l,11).appearance,"legacy"==bi(l,11).appearance,bi(l,11)._control.errorState,bi(l,11)._canLabelFloat,bi(l,11)._shouldLabelFloat(),bi(l,11)._hasFloatingLabel(),bi(l,11)._hideControlPlaceholder(),bi(l,11)._control.disabled,bi(l,11)._control.autofilled,bi(l,11)._control.focused,"accent"==bi(l,11).color,"warn"==bi(l,11).color,bi(l,11)._shouldForward("untouched"),bi(l,11)._shouldForward("touched"),bi(l,11)._shouldForward("pristine"),bi(l,11)._shouldForward("dirty"),bi(l,11)._shouldForward("valid"),bi(l,11)._shouldForward("invalid"),bi(l,11)._shouldForward("pending"),!bi(l,11)._animationsEnabled]),n(l,21,1,[bi(l,23).required?"":null,bi(l,28).ngClassUntouched,bi(l,28).ngClassTouched,bi(l,28).ngClassPristine,bi(l,28).ngClassDirty,bi(l,28).ngClassValid,bi(l,28).ngClassInvalid,bi(l,28).ngClassPending,bi(l,29)._isServer,bi(l,29).id,bi(l,29).placeholder,bi(l,29).disabled,bi(l,29).required,bi(l,29).readonly&&!bi(l,29)._isNativeSelect||null,bi(l,29)._ariaDescribedby||null,bi(l,29).errorState,bi(l,29).required.toString()]),n(l,33,1,["standard"==bi(l,34).appearance,"fill"==bi(l,34).appearance,"outline"==bi(l,34).appearance,"legacy"==bi(l,34).appearance,bi(l,34)._control.errorState,bi(l,34)._canLabelFloat,bi(l,34)._shouldLabelFloat(),bi(l,34)._hasFloatingLabel(),bi(l,34)._hideControlPlaceholder(),bi(l,34)._control.disabled,bi(l,34)._control.autofilled,bi(l,34)._control.focused,"accent"==bi(l,34).color,"warn"==bi(l,34).color,bi(l,34)._shouldForward("untouched"),bi(l,34)._shouldForward("touched"),bi(l,34)._shouldForward("pristine"),bi(l,34)._shouldForward("dirty"),bi(l,34)._shouldForward("valid"),bi(l,34)._shouldForward("invalid"),bi(l,34)._shouldForward("pending"),!bi(l,34)._animationsEnabled]),n(l,44,1,[Wt(1,"",e.lang.label,""),bi(l,46).required?"":null,bi(l,47).maxlength?bi(l,47).maxlength:null,bi(l,52).ngClassUntouched,bi(l,52).ngClassTouched,bi(l,52).ngClassPristine,bi(l,52).ngClassDirty,bi(l,52).ngClassValid,bi(l,52).ngClassInvalid,bi(l,52).ngClassPending,bi(l,53)._isServer,bi(l,53).id,bi(l,53).placeholder,bi(l,53).disabled,bi(l,53).required,bi(l,53).readonly&&!bi(l,53)._isNativeSelect||null,bi(l,53)._ariaDescribedby||null,bi(l,53).errorState,bi(l,53).required.toString()]),n(l,57,1,["standard"==bi(l,58).appearance,"fill"==bi(l,58).appearance,"outline"==bi(l,58).appearance,"legacy"==bi(l,58).appearance,bi(l,58)._control.errorState,bi(l,58)._canLabelFloat,bi(l,58)._shouldLabelFloat(),bi(l,58)._hasFloatingLabel(),bi(l,58)._hideControlPlaceholder(),bi(l,58)._control.disabled,bi(l,58)._control.autofilled,bi(l,58)._control.focused,"accent"==bi(l,58).color,"warn"==bi(l,58).color,bi(l,58)._shouldForward("untouched"),bi(l,58)._shouldForward("touched"),bi(l,58)._shouldForward("pristine"),bi(l,58)._shouldForward("dirty"),bi(l,58)._shouldForward("valid"),bi(l,58)._shouldForward("invalid"),bi(l,58)._shouldForward("pending"),!bi(l,58)._animationsEnabled]),n(l,68,1,[bi(l,71).required?"":null,bi(l,72).pattern?bi(l,72).pattern:null,bi(l,77).ngClassUntouched,bi(l,77).ngClassTouched,bi(l,77).ngClassPristine,bi(l,77).ngClassDirty,bi(l,77).ngClassValid,bi(l,77).ngClassInvalid,bi(l,77).ngClassPending,bi(l,78)._isServer,bi(l,78).id,bi(l,78).placeholder,bi(l,78).disabled,bi(l,78).required,bi(l,78).readonly&&!bi(l,78)._isNativeSelect||null,bi(l,78)._ariaDescribedby||null,bi(l,78).errorState,bi(l,78).required.toString()]),n(l,82,0,bi(l,83).disabled||null,"NoopAnimations"===bi(l,83)._animationMode),n(l,84,0,e.lang.save)}))}function zJ(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,VJ)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qJ)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function UJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,zJ,jJ)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,NJ,[nS,Zp,uf,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var BJ=oi("ng-component",NJ,UJ,{},{},[]),$J=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.search=null,this.actions=[],this.titles=[],this.loading=!1,this.displayedColumns=["id","label_action","history","actions"],this.dataSource=new mR(this.actions),$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["id","label_action"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/actions").subscribe((function(l){n.actions=l.actions,n.headerService.setHeader(n.lang.administration+" "+n.lang.actions),n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.actions),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="id",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.deleteAction=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+n.label_action+" »")&&this.http.delete("../../rest/actions/"+n.id).subscribe((function(n){l.actions=n.actions,l.dataSource=new mR(l.actions),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.actionDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),HJ=yt({encapsulation:2,styles:[],data:{}});function GJ(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/actions/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/actions/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function WJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function KJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function YJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.id)}))}function JJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.actionName)}))}function ZJ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.label_action)}))}function QJ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.actionHistory)}))}function XJ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.no)}))}function nZ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.yes)}))}function lZ(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,XJ)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nZ)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,"N"==l.context.$implicit.history),n(l,5,0,"Y"==l.context.$implicit.history)}),(function(n,l){n(l,0,0,l.component.appService.getViewMode())}))}function eZ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function tZ(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteAction(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"Y"==l.context.$implicit.is_system,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function iZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function aZ(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/actions/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function oZ(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,10,{_controlNonStatic:0}),ko(335544320,11,{_controlStatic:0}),ko(603979776,12,{_labelChildNonStatic:0}),ko(335544320,13,{_labelChildStatic:0}),ko(603979776,14,{_placeholderChild:0}),ko(603979776,15,{_errorChildren:1}),ko(603979776,16,{_hintChildren:1}),ko(603979776,17,{_prefixChildren:1}),ko(603979776,18,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[10,4],[11,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,19,{_contentColumnDefs:1}),ko(603979776,20,{_contentRowDefs:1}),ko(603979776,21,{_contentHeaderRowDefs:1}),ko(603979776,22,{_contentFooterRowDefs:1}),Di(28,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,23,{cell:0}),ko(603979776,24,{headerCell:0}),ko(603979776,25,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,KJ)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[24,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,YJ)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[23,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,JJ)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,ZJ)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,QJ)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,lZ)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,32,{cell:0}),ko(603979776,33,{headerCell:0}),ko(603979776,34,{footerCell:0}),Ei(2048,[[19,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,eZ)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[33,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,tZ)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[32,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,iZ)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[21,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,aZ)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"id","asc"),n(l,31,0,"id"),n(l,44,0,"label_action"),n(l,57,0,"history"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.actions.length,e.lang.actions)}))}function rZ(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,GJ)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,WJ)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,oZ)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode())}))}function uZ(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,rZ,HJ)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,$J,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var sZ=oi("ng-component",$J,uZ,{},{},[]),cZ=function(){function n(n,l,e,t,i,a){this.latinisePipe=n,this.changeDetectorRef=l,this.renderer=e,this.appService=t,this.functions=i,this.sortPipe=a,this.lang=Kr,this.placeholderLabel=this.lang.chooseValue,this.formControlSelect=new sy,this.datas=[],this.returnValue="id",this.id="",this.showLabel=!1,this.required=!1,this.hideErrorDesc=!0,this.multiple=!1,this.optGroupTarget=null,this.optGroupList=null,this.suffixIcon=null,this.class="input-form",this.afterSelected=new la,this.afterOpened=new la,this.filteredDatasMulti=new cg(1),this.datasClone=[],this.isModelModified=!1,this.overlayClassSet=!1,this.change=new la,this._onDestroy=new M,this.formControlSearch=new sy,this.selected=[],this.onChange=function(n){},this.onTouched=function(n){}}return Object.defineProperty(n.prototype,"value",{get:function(){return this._value},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){var n=this;this.multiple&&(this.matSelect.compareWith=function(n,l){return n&&l?n.id===l.id:n===l}),null!==this.optGroupList&&this.initOptGroups();var l="mat-select-search-panel";this.matSelect.panelClass?Array.isArray(this.matSelect.panelClass)?this.matSelect.panelClass.push(l):"string"==typeof this.matSelect.panelClass?this.matSelect.panelClass=[this.matSelect.panelClass,l]:"object"==typeof this.matSelect.panelClass&&(this.matSelect.panelClass[l]=!0):this.matSelect.panelClass=l,this.matSelect.openedChange.pipe(Ph(this._onDestroy)).subscribe((function(l){l?n.appService.getViewMode()||n._focus():n.formControlSearch.reset()})),this.matSelect.openedChange.pipe(_c(1)).pipe(Ph(this._onDestroy)).subscribe((function(){n._options=n.matSelect.options,n._options.changes.pipe(Ph(n._onDestroy)).subscribe((function(){var l=n.matSelect._keyManager;l&&n.matSelect.panelOpen&&setTimeout((function(){l.setFirstItemActive()}))}))}));var e="";this.datasClone=JSON.parse(JSON.stringify(this.datas)),this.datasClone.forEach((function(n,l){n.isTitle?(n.id=e="group_"+l,l++):n.group=e})),this.filteredDatas=this.formControlSearch.valueChanges.pipe(Pc(""),q((function(l){return n._filter(l)})))},n.prototype.ngDoCheck=function(){var n=this;if(this.datasClone.length!==this.datas.length||0===this.datasClone.length&&this.isModelModified){this.datasClone=JSON.parse(JSON.stringify(this.datas));var l="",e=1;this.datasClone.forEach((function(n){n.isTitle?(n.id=l="group_"+e,e++):n.group=l})),this.filteredDatas=this.formControlSearch.valueChanges.pipe(Pc(""),q((function(l){return n._filter(l)}))),this.isModelModified=!1}},n.prototype.initOptGroups=function(){var n=this;this.datas.unshift({id:0,label:"toto",disabled:!0});var l=[];this.optGroupList=this.sortPipe.transform(this.optGroupList,"label"),this.optGroupList.forEach((function(e){l.push({id:e.id,label:e.label,disabled:!0}),l=l.concat(n.datas.filter((function(l){return l[n.optGroupTarget]===e.id})).map((function(n){return Object(t.__assign)({},n,{title:n.label,label:"  "+n.label})})))})),this.datas=l},n.prototype.ngOnDestroy=function(){this._onDestroy.next(),this._onDestroy.complete()},n.prototype.ngAfterViewInit=function(){this.datas.length>5&&this.setOverlayClass()},n.prototype._handleKeydown=function(n){32===n.keyCode&&n.stopPropagation()},n.prototype.writeValue=function(n){n!==this._value&&(this._value=n,this.change.emit(n))},n.prototype.onInputChange=function(n){n!==this._value&&(this._value=n,this.onChange(n),this.change.emit(n))},n.prototype.onBlur=function(n){this.writeValue(n),this.onTouched()},n.prototype.registerOnChange=function(n){this.onChange=n},n.prototype.registerOnTouched=function(n){this.onTouched=n},n.prototype._focus=function(){var n=this.matSelect.panel.nativeElement,l=n.scrollTop;this.datas.length>5&&this.renderer.selectRootElement("#searchSelectInput").focus(),n.scrollTop=l},n.prototype._reset=function(n){this.formControlSearch.reset(),this.renderer.selectRootElement("#searchSelectInput").focus()},n.prototype.setOverlayClass=function(){var n=this;this.overlayClassSet||(this.matSelect.overlayDir.attach.pipe(Ph(this._onDestroy)).subscribe((function(){void 0!==n.searchSelectInput&&n.searchSelectInput.nativeElement.parentElement.parentElement.parentElement.parentElement.parentElement.classList.add("cdk-overlay-pane-select-search")})),this.overlayClassSet=!0)},n.prototype.initMultipleHandling=function(){var n=this;this.matSelect.valueChange.pipe(Ph(this._onDestroy)).subscribe((function(l){if(n.matSelect.multiple){var e=!1;if(n._value&&n._value.length&&n.previousSelectedValues&&Array.isArray(n.previousSelectedValues)){l&&Array.isArray(l)||(l=[]);var t=n.matSelect.options.map((function(n){return n.value}));n.previousSelectedValues.forEach((function(n){-1===l.indexOf(n)&&-1===t.indexOf(n)&&(l.push(n),e=!0)}))}e&&n.matSelect._onChange(l),n.previousSelectedValues=l}}))},n.prototype._filter=function(n,l){var e=this;if(void 0===l&&(l=!1),"__SELECTED"===n)return this.datas.filter("id"===this.returnValue?function(n){return e.formControlSelect.value.indexOf(n.id)>-1}:function(n){return e.formControlSelect.value.map((function(n){return n.id})).indexOf(n.id)>-1});if("string"==typeof n&&""!==n){var t=this.latinisePipe.transform(n.toLowerCase()),i=this.datasClone.filter((function(n){return n.isTitle&&e.latinisePipe.transform(n.label.toLowerCase()).includes(t)})).map((function(n){return n.id}));return this.datasClone.filter((function(n){return n.isTitle&&i.indexOf(n.id)>-1||i.indexOf(n.group)>-1||e.latinisePipe.transform(n.label.toLowerCase()).includes(t)}))}return this.datas},n.prototype.launchEvent=function(n){if(this.selected.length>0){var l=new Set(this.formControlSelect.value.map((function(n){return n.id}))),e=this.formControlSelect.value.concat(this.selected.filter((function(n){return!l.has(n.id)})));this.formControlSelect.setValue(e)}void 0!==this.afterSelected&&this.afterSelected.emit(n.value)},n.prototype.selectChange=function(n){this.multiple&&n.isUserInput&&(this.selected=n.source._selected?this.formControlSelect.value:this.selected.length>0?this.selected.filter((function(l){return l.id!==n.source.value.id})):[])},n.prototype.getErrorMsg=function(n){return void 0!==n.required?this.lang.requiredField:void 0!==n.pattern||void 0!==n.email?this.lang.badFormat:"unknow validator"},n.prototype.getFirstDataLabel=function(){return this.formControlSelect.value[0].label.replace(/ /g,"")},n.prototype.emptyData=function(){return"id"===this.returnValue?null:{id:null,label:this.lang.emptyValue}},n}(),dZ=yt({encapsulation:0,styles:[[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;width:calc(100% + 15px);border-bottom:1px solid #ccc;background:#fff;z-index:100}.mat-select-search-inner.mat-select-search-inner-multiple[_ngcontent-%COMP%]{width:calc(100% + 48px)} .mat-select-search-panel{-webkit-transform:none!important;transform:none!important;max-height:350px!important;max-width:inherit!important}.mat-select-search-input[_ngcontent-%COMP%]{padding:16px 36px 16px 16px;box-sizing:border-box;width:100%;border:none}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding:16px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:0;top:4px} .cdk-overlay-pane-select-search{margin-top:-50px}.mat-error[_ngcontent-%COMP%]{font-size:10px;text-align:right;font-weight:700}.selectSuffixIcon[_ngcontent-%COMP%]{font-size:10px;text-align:right}.search-select[_ngcontent-%COMP%] .mat-selected:not(.mat-option-disabled){font-weight:700}.opt-group[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;background:#fff;z-index:1}.opt-group[_ngcontent-%COMP%] .mat-pseudo-checkbox{display:none}.fixPos[_ngcontent-%COMP%]{top:50px!important}.multipleLabels[_ngcontent-%COMP%]{color:#f99830}"],tN],data:{}});function pZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),Di(1,16384,[[5,4],[6,4]],0,iT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.label)}))}function mZ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","multipleLabels"]],null,null,null,null,null)),(n()(),Lo(1,null,[" (+"," ",") "]))],null,(function(n,l){var e=l.component;n(l,1,0,e.formControlSelect.value.length-1,e.lang.others)}))}function fZ(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-select-trigger",[],null,null,null,null,null)),Di(1,16384,[[14,4]],0,NR,[],null,null),(n()(),Lo(2,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,mZ)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,(null==e.formControlSelect.value?null:e.formControlSelect.value.length)>1)}),(function(n,l){var e=l.component;n(l,2,0,e.formControlSelect.value.length>0?e.getFirstDataLabel():"")}))}function hZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"input",[["class","mat-select-search-input mat-select-search-hidden mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,1)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,1)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,1)._onInput()&&t),t}),null,null)),Di(1,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],null,null),Ei(2048,[[3,4],[4,4]],nT,null,[OT])],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._isServer,bi(l,1).id,bi(l,1).placeholder,bi(l,1).disabled,bi(l,1).required,bi(l,1).readonly&&!bi(l,1)._isNativeSelect||null,bi(l,1)._ariaDescribedby||null,bi(l,1).errorState,bi(l,1).required.toString())}))}function gZ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["aria-label","Clear"],["class","mat-select-search-clear"],["mat-button",""],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component._reset(!0)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function bZ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-select-search-clear"],["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.formControlSearch.setValue("__SELECTED")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check-double mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,0===l.component.formControlSelect.value.length,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.displaySelectedValues,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function vZ(n){return jo(0,[(n()(),_o(0,0,null,null,13,"div",[["class","mat-select-search-inner"]],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(3,{"mat-select-search-inner-multiple":0}),(n()(),_o(4,0,[[1,0],["searchSelectInput",1]],null,5,"input",[["class","mat-select-search-input"],["id","searchSelectInput"]],[[8,"placeholder",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,5)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,5).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,5)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,5)._compositionEnd(e.target.value)&&t),"keydown"===l&&(t=!1!==i._handleKeydown(e)&&t),"input"===l&&(t=!1!==i.onInputChange(e.target.value)&&t),"blur"===l&&(t=!1!==i.onBlur(e.target.value)&&t),t}),null,null)),Di(5,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(7,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(9,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,gZ)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bZ)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,3,0,e.matSelect.multiple);n(l,2,0,"mat-select-search-inner",t),n(l,7,0,e.formControlSearch),n(l,11,0,e.formControlSearch.value),n(l,13,0,e.functions.empty(e.formControlSearch.value)&&e.multiple)}),(function(n,l){n(l,4,0,l.component.lang.filterBy,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending)}))}function _Z(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","mat-select-search-no-entries-found"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noResult)}))}function yZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"onSelectionChange"===l&&(t=!1!==i.selectChange(e)&&t),t}),bI,hI)),Di(1,8568832,[[12,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},{onSelectionChange:"onSelectionChange"}),(n()(),Lo(2,0,["(",")"]))],(function(n,l){n(l,1,0,l.component.emptyData())}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang.emptyValue)}))}function wZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[8,"title",0],[2,"opt-group",null],[2,"fixPos",null],[4,"color",null],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"onSelectionChange"],[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"onSelectionChange"===l&&(t=!1!==i.selectChange(e)&&t),t}),bI,hI)),Di(1,8568832,[[12,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"],disabled:[1,"disabled"]},{onSelectionChange:"onSelectionChange"}),(n()(),_o(2,0,null,0,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],(function(n,l){n(l,1,0,"id"===l.component.returnValue?l.context.$implicit.id:l.context.$implicit,l.context.$implicit.disabled)}),(function(n,l){n(l,0,1,[void 0!==l.context.$implicit.title?l.context.$implicit.title:l.context.$implicit.label,l.context.$implicit.isTitle,l.context.$implicit.isTitle&&l.component.datas.length>5,l.context.$implicit.color,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled]),n(l,2,0,l.context.$implicit.label)}))}function xZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[8,4]],0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.getErrorMsg(e.formControlSelect.errors))}))}function CZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fas fa-circle selectSuffixIcon mat-icon notranslate"],["matSuffix",""],["role","img"],["style","height: auto;"]],[[4,"color",null],[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,16384,[[11,4]],0,oT,[],null,null),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){var e=l.component;n(l,0,0,e.suffixIcon.color,void 0!==e.suffixIcon.title?e.suffixIcon.title:"",bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function kZ(n){return jo(0,[ko(402653184,1,{searchSelectInput:0}),ko(402653184,2,{matSelect:0}),(n()(),_o(2,0,null,null,41,"mat-form-field",[["class","mat-form-field"]],[[8,"className",0],[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,3,{_controlNonStatic:0}),ko(335544320,4,{_controlStatic:0}),ko(603979776,5,{_labelChildNonStatic:0}),ko(335544320,6,{_labelChildStatic:0}),ko(603979776,7,{_placeholderChild:0}),ko(603979776,8,{_errorChildren:1}),ko(603979776,9,{_hintChildren:1}),ko(603979776,10,{_prefixChildren:1}),ko(603979776,11,{_suffixChildren:1}),(n()(),vo(16777216,null,3,1,null,pZ)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,1,24,"mat-select",[["class","mat-select"],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,22)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,22)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,22)._onBlur()&&t),"selectionChange"===l&&(t=!1!==i.launchEvent(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(17,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(19,540672,null,0,xy,[[6,C_],[8,null],[8,null],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,2080768,[[2,4],["test",4]],3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],id:[3,"id"]},{selectionChange:"selectionChange"}),ko(603979776,12,{options:1}),ko(603979776,13,{optionGroups:1}),ko(603979776,14,{customTrigger:0}),Ei(2048,[[3,4],[4,4]],nT,null,[jR]),(n()(),vo(16777216,null,0,1,null,fZ)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,hZ)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,vZ)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,_Z)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,yZ)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,2,null,wZ)),Di(38,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,5,1,null,xZ)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,4,1,null,CZ)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.appService.getViewMode()||e.showLabel?"":"never"),n(l,14,0,e.appService.getViewMode()||e.showLabel),n(l,17,0,e.required),n(l,19,0,e.formControlSelect),n(l,22,0,e.placeholderLabel,e.required,e.multiple,e.id),n(l,28,0,e.multiple),n(l,30,0,e.datas.length>5),n(l,32,0,e.datas.length>5),n(l,34,0,e.value&&0===(null==e._options?null:e._options.length)&&e.datas.length>5),n(l,36,0,e.showResetOption),n(l,38,0,bt(l,38,0,bi(l,39).transform(e.filteredDatas))),n(l,41,0,"VALID"!==e.formControlSelect.status&&e.formControlSelect.touched&&!e.hideErrorDesc),n(l,43,0,null!==e.suffixIcon)}),(function(n,l){n(l,2,1,[l.component.class+" search-select","standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,15,1,[bi(l,17).required?"":null,bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22).id,bi(l,22).tabIndex,bi(l,22)._getAriaLabel(),bi(l,22)._getAriaLabelledby(),bi(l,22).required.toString(),bi(l,22).disabled.toString(),bi(l,22).errorState,bi(l,22).panelOpen?bi(l,22)._optionIds:null,bi(l,22).multiple,bi(l,22)._ariaDescribedby||null,bi(l,22)._getAriaActiveDescendant(),bi(l,22).disabled,bi(l,22).errorState,bi(l,22).required,bi(l,22).empty])}))}var SZ=function(){function n(n,l,e,t,i,a,o){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.functions=o,this.lang=Kr,this.action={},this.statuses=[],this.actionPages=[],this.categoriesList=[],this.keywordsList=[],this.loading=!1,this.availableCustomFields=[],this.customFieldsFormControl=new sy({value:"",disabled:!1}),this.selectedFieldsValue=[],this.selectedFieldsId=[],this.selectActionPageId=new sy,this.selectStatusId=new sy}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){void 0===l.id?(n.creationMode=!0,n.http.get("../../rest/initAction").subscribe((function(l){n.action=l.action,n.selectActionPageId.setValue(n.action.actionPageId),n.selectStatusId.setValue(n.action.id_status),n.categoriesList=l.categoriesList,n.statuses=l.statuses.map((function(n){return{id:n.id,label:n.label_status}})),n.actionPages=l.actionPages,n.keywordsList=l.keywordsList,n.headerService.setHeader(n.lang.actionCreation),n.loading=!1}))):(n.creationMode=!1,n.http.get("../../rest/actions/"+l.id).subscribe((function(l){return Object(t.__awaiter)(n,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.action=l.action,this.selectActionPageId.setValue(this.action.actionPageId),this.selectStatusId.setValue(this.action.id_status),this.categoriesList=l.categoriesList,this.statuses=l.statuses.map((function(n){return{id:n.id,label:n.label_status}})),this.actionPages=l.actionPages,this.keywordsList=l.keywordsList,this.headerService.setHeader(this.lang.actionCreation,l.action.label_action),[4,this.getCustomFields()];case 1:return e.sent(),this.loading=!1,"close_mail"==this.action.actionPageId?(this.customFieldsFormControl=new sy({value:this.action.parameters.requiredFields,disabled:!1}),this.selectedFieldsId=[],this.action.parameters.requiredFields&&(this.selectedFieldsId=this.action.parameters.requiredFields),this.selectedFieldsId.forEach((function(l){n.availableCustomFields.forEach((function(e){e.id==l&&n.selectedFieldsValue.push(e.label)}))}))):"create_acknowledgement_receipt"==this.action.actionPageId&&(this.arMode=this.action.parameters.mode),[2]}}))}))})))}))},n.prototype.getCustomFields=function(){var n=this;return this.action.actionPageId=this.selectActionPageId.value,new Promise((function(l,e){"close_mail"==n.action.actionPageId&&n.functions.empty(n.availableCustomFields)?n.http.get("../../rest/customFields").pipe(Yr((function(e){return n.availableCustomFields=e.customFields.map((function(n){return n.id="indexingCustomField_"+n.id,n})),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():l(!0)}))},n.prototype.getSelectedFields=function(){var n=this;this.availableCustomFields.forEach((function(l){l.id==n.customFieldsFormControl.value&&(n.selectedValue=l)})),this.selectedFieldsId.indexOf(this.customFieldsFormControl.value)<0&&(this.selectedFieldsValue.push(this.selectedValue.label),this.selectedFieldsId.push(this.customFieldsFormControl.value)),this.customFieldsFormControl.reset()},n.prototype.removeSelectedFields=function(n){this.selectedFieldsValue.splice(n,1),this.selectedFieldsId.splice(n,1)},n.prototype.onSubmit=function(){var n=this;"close_mail"==this.action.actionPageId?this.action.parameters={requiredFields:this.selectedFieldsId}:"create_acknowledgement_receipt"==this.action.actionPageId&&(this.action.parameters={mode:this.arMode}),this.creationMode?this.http.post("../../rest/actions",this.action).subscribe((function(){n.router.navigate(["/administration/actions"]),n.notify.success(n.lang.actionAdded)}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/actions/"+this.action.id,this.action).subscribe((function(){n.router.navigate(["/administration/actions"]),n.notify.success(n.lang.actionUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n}(),IZ=yt({encapsulation:2,styles:[],data:{}});function AZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function MZ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert alert-danger"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,[""," !"])),(n()(),Lo(3,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,2,0,e.lang.isSytemAction),n(l,3,0,e.lang.doNotModifyUnlessExpert)}))}function PZ(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-chip",[["class","mat-chip"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeSelectedFields(n.context.index)&&t),t}),null,null)),Di(1,147456,[[13,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selected:[0,"selected"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,14,{avatar:0}),ko(603979776,15,{trailingIcon:0}),ko(603979776,16,{removeIcon:0}),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,2,"mat-icon",[["class","fa fa-times-circle mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8)._handleClick(e)&&t),t}),FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(8,16384,[[16,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0,"",!0),n(l,7,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,l.context.$implicit),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color)}))}function DZ(n){return jo(0,[(n()(),_o(0,0,null,null,11,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,10,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.getSelectedFields()&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(5,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showLabel:[4,"showLabel"],class:[5,"class"]},{afterSelected:"afterSelected"}),(n()(),_o(6,0,null,null,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,8).focus()&&t),"blur"===l&&(t=!1!==bi(n,8)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,8)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(8,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,13,{chips:1}),(n()(),vo(16777216,null,0,1,null,PZ)),Di(11,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,e.lang.checkEmptyFields,e.customFieldsFormControl,e.availableCustomFields,e.lang.checkEmptyFields,!0,e.input-e.form-e.filled),n(l,8,0),n(l,11,0,e.selectedFieldsValue)}),(function(n,l){n(l,6,1,[bi(l,8).disabled?null:bi(l,8)._tabIndex,bi(l,8)._ariaDescribedby||null,bi(l,8).required.toString(),bi(l,8).disabled.toString(),bi(l,8).errorState,bi(l,8).multiple,bi(l,8).role,bi(l,8).disabled,bi(l,8).errorState,bi(l,8).required,bi(l,8).ariaOrientation,bi(l,8)._uid])}))}function FZ(n){return jo(0,[(n()(),_o(0,0,null,null,33,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,32,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,31,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,17,{_controlNonStatic:0}),ko(335544320,18,{_controlStatic:0}),ko(603979776,19,{_labelChildNonStatic:0}),ko(335544320,20,{_labelChildStatic:0}),ko(603979776,21,{_placeholderChild:0}),ko(603979776,22,{_errorChildren:1}),ko(603979776,23,{_hintChildren:1}),ko(603979776,24,{_prefixChildren:1}),ko(603979776,25,{_suffixChildren:1}),(n()(),_o(13,0,null,1,20,"mat-select",[["class","mat-select"],["id","generateARmode"],["name","generateARmode"],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,19)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,19)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,19)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.arMode=e)&&t),t}),GR,qR)),Di(14,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(16,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(18,16384,null,0,y_,[[4,v_]],null,null),Di(19,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,26,{options:1}),ko(603979776,27,{optionGroups:1}),ko(603979776,28,{customTrigger:0}),Ei(2048,[[17,4],[18,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","auto"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,26)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,26)._handleKeydown(e)&&t),t}),bI,hI)),Di(26,8568832,[[26,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(27,0,["",""])),(n()(),_o(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","manual"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,29)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,29)._handleKeydown(e)&&t),t}),bI,hI)),Di(29,8568832,[[26,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(30,0,["",""])),(n()(),_o(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","both"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,32)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,32)._handleKeydown(e)&&t),t}),bI,hI)),Di(32,8568832,[[26,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(33,0,["",""]))],(function(n,l){var e=l.component;n(l,14,0,"create_acknowledgement_receipt"==e.action.actionPageId),n(l,16,0,"generateARmode",e.arMode),n(l,19,0,Wt(1,"",e.lang.generateARMode,""),"create_acknowledgement_receipt"==e.action.actionPageId,"generateARmode"),n(l,26,0,"auto"),n(l,29,0,"manual"),n(l,32,0,"both")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.generateARMode,""),bi(l,14).required?"":null,bi(l,18).ngClassUntouched,bi(l,18).ngClassTouched,bi(l,18).ngClassPristine,bi(l,18).ngClassDirty,bi(l,18).ngClassValid,bi(l,18).ngClassInvalid,bi(l,18).ngClassPending,bi(l,19).id,bi(l,19).tabIndex,bi(l,19)._getAriaLabel(),bi(l,19)._getAriaLabelledby(),bi(l,19).required.toString(),bi(l,19).disabled.toString(),bi(l,19).errorState,bi(l,19).panelOpen?bi(l,19)._optionIds:null,bi(l,19).multiple,bi(l,19)._ariaDescribedby||null,bi(l,19)._getAriaActiveDescendant(),bi(l,19).disabled,bi(l,19).errorState,bi(l,19).required,bi(l,19).empty]),n(l,25,0,bi(l,26)._getTabIndex(),bi(l,26).selected,bi(l,26).multiple,bi(l,26).active,bi(l,26).id,bi(l,26)._getAriaSelected(),bi(l,26).disabled.toString(),bi(l,26).disabled),n(l,27,0,e.lang.autoAR),n(l,28,0,bi(l,29)._getTabIndex(),bi(l,29).selected,bi(l,29).multiple,bi(l,29).active,bi(l,29).id,bi(l,29)._getAriaSelected(),bi(l,29).disabled.toString(),bi(l,29).disabled),n(l,30,0,e.lang.manualAR),n(l,31,0,bi(l,32)._getTabIndex(),bi(l,32).selected,bi(l,32).multiple,bi(l,32).active,bi(l,32).id,bi(l,32)._getAriaSelected(),bi(l,32).disabled.toString(),bi(l,32).disabled),n(l,33,0,e.lang.bothAR)}))}function EZ(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0,i=n.component;return"afterSelected"===l&&(t=!1!==(i.action.id_status=i.selectStatusId.value)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(5,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showLabel:[4,"showLabel"],class:[5,"class"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,5,0,e.lang.associatedStatus,e.selectStatusId,e.statuses,e.lang.associatedStatus,!0,"")}),null)}function OZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[38,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function TZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[50,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function LZ(n){return jo(0,[(n()(),_o(0,0,null,null,110,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,MZ)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,106,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,6).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,6).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(5,16384,null,0,yy,[],null,null),Di(6,4210688,[["actionsFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(8,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(9,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(22,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","action_name"],["matInput",""],["maxlength","255"],["name","action_name"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,23)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,23)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,23)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,31)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,31)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,31)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.action.label_action=e)&&t),t}),null,null)),Di(23,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(24,16384,null,0,My,[],{required:[0,"required"]},null),Di(25,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(28,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(30,16384,null,0,y_,[[4,v_]],null,null),Di(31,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(33,0,null,null,5,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(34,0,null,null,4,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.getCustomFields()&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(38,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showLabel:[4,"showLabel"],class:[5,"class"]},{afterSelected:"afterSelected"}),(n()(),vo(16777216,null,null,1,null,DZ)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,FZ)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,EZ)),Di(44,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(45,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(46,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(47,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(48,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(58,0,null,1,11,"mat-select",[["class","mat-select"],["id","keyword"],["name","keyword"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,63)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,63)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,63)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.action.keyword=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(60,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(62,16384,null,0,y_,[[4,v_]],null,null),Di(63,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],id:[1,"id"]},null),ko(603979776,38,{options:1}),ko(603979776,39,{optionGroups:1}),ko(603979776,40,{customTrigger:0}),Ei(2048,[[29,4],[30,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,OZ)),Di(69,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(70,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(71,0,null,null,7,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(72,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["id","history"],["name","history"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,73)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.action.history=e)&&t),t}),mV,pV)),Di(73,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],id:[2,"id"],checked:[3,"checked"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(75,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(77,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(78,0,[" ",""])),(n()(),_o(79,0,null,null,26,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(80,0,null,null,25,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(81,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(82,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,41,{_controlNonStatic:0}),ko(335544320,42,{_controlStatic:0}),ko(603979776,43,{_labelChildNonStatic:0}),ko(335544320,44,{_labelChildStatic:0}),ko(603979776,45,{_placeholderChild:0}),ko(603979776,46,{_errorChildren:1}),ko(603979776,47,{_hintChildren:1}),ko(603979776,48,{_prefixChildren:1}),ko(603979776,49,{_suffixChildren:1}),(n()(),_o(92,0,null,1,13,"mat-select",[["class","mat-select"],["id","categorieslist"],["multiple",""],["name","categorieslist"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,99)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,99)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,99)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.action.actionCategories=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(94,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(96,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(98,16384,null,0,y_,[[4,v_]],null,null),Di(99,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],id:[3,"id"]},null),ko(603979776,50,{options:1}),ko(603979776,51,{optionGroups:1}),ko(603979776,52,{customTrigger:0}),Ei(2048,[[41,4],[42,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,TZ)),Di(105,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(106,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(107,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(108,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(109,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(110,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,1==e.action.is_system),n(l,24,0,""),n(l,25,0,"255"),n(l,28,0,"action_name",e.action.label_action),n(l,31,0,"action_name",Wt(1,"",e.lang.label,""),"","text"),n(l,38,0,e.lang.actionCarriedOut,e.selectActionPageId,e.actionPages,e.lang.actionCarriedOut,!0,""),n(l,40,0,!e.functions.empty(e.availableCustomFields)&&"close_mail"==e.action.actionPageId),n(l,42,0,"create_acknowledgement_receipt"==e.action.actionPageId),n(l,44,0,"reconcile"!=e.action.actionPageId),n(l,60,0,"keyword",e.action.keyword),n(l,63,0,Wt(1,"",e.lang.keyword,""),"keyword"),n(l,69,0,e.keywordsList),n(l,73,0,"primary","history","history","Y"==e.action.history),n(l,75,0,"history",e.action.history),n(l,94,0,""),n(l,96,0,"categorieslist",e.action.actionCategories),n(l,99,0,Wt(1,"",e.lang.chooseCategoryAssociation,""),"","","categorieslist"),n(l,105,0,e.categoriesList),n(l,109,0,!bi(l,6).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,22,1,[Wt(1,"",e.lang.label,""),bi(l,24).required?"":null,bi(l,25).maxlength?bi(l,25).maxlength:null,bi(l,30).ngClassUntouched,bi(l,30).ngClassTouched,bi(l,30).ngClassPristine,bi(l,30).ngClassDirty,bi(l,30).ngClassValid,bi(l,30).ngClassInvalid,bi(l,30).ngClassPending,bi(l,31)._isServer,bi(l,31).id,bi(l,31).placeholder,bi(l,31).disabled,bi(l,31).required,bi(l,31).readonly&&!bi(l,31)._isNativeSelect||null,bi(l,31)._ariaDescribedby||null,bi(l,31).errorState,bi(l,31).required.toString()]),n(l,47,1,["standard"==bi(l,48).appearance,"fill"==bi(l,48).appearance,"outline"==bi(l,48).appearance,"legacy"==bi(l,48).appearance,bi(l,48)._control.errorState,bi(l,48)._canLabelFloat,bi(l,48)._shouldLabelFloat(),bi(l,48)._hasFloatingLabel(),bi(l,48)._hideControlPlaceholder(),bi(l,48)._control.disabled,bi(l,48)._control.autofilled,bi(l,48)._control.focused,"accent"==bi(l,48).color,"warn"==bi(l,48).color,bi(l,48)._shouldForward("untouched"),bi(l,48)._shouldForward("touched"),bi(l,48)._shouldForward("pristine"),bi(l,48)._shouldForward("dirty"),bi(l,48)._shouldForward("valid"),bi(l,48)._shouldForward("invalid"),bi(l,48)._shouldForward("pending"),!bi(l,48)._animationsEnabled]),n(l,58,1,[Wt(1,"",e.lang.keyword,""),bi(l,62).ngClassUntouched,bi(l,62).ngClassTouched,bi(l,62).ngClassPristine,bi(l,62).ngClassDirty,bi(l,62).ngClassValid,bi(l,62).ngClassInvalid,bi(l,62).ngClassPending,bi(l,63).id,bi(l,63).tabIndex,bi(l,63)._getAriaLabel(),bi(l,63)._getAriaLabelledby(),bi(l,63).required.toString(),bi(l,63).disabled.toString(),bi(l,63).errorState,bi(l,63).panelOpen?bi(l,63)._optionIds:null,bi(l,63).multiple,bi(l,63)._ariaDescribedby||null,bi(l,63)._getAriaActiveDescendant(),bi(l,63).disabled,bi(l,63).errorState,bi(l,63).required,bi(l,63).empty]),n(l,72,1,[Wt(1,"",e.lang.actionHistoryDesc,""),bi(l,73).id,bi(l,73).disabled?null:-1,bi(l,73).checked,bi(l,73).disabled,"before"==bi(l,73).labelPosition,"NoopAnimations"===bi(l,73)._animationMode,bi(l,77).ngClassUntouched,bi(l,77).ngClassTouched,bi(l,77).ngClassPristine,bi(l,77).ngClassDirty,bi(l,77).ngClassValid,bi(l,77).ngClassInvalid,bi(l,77).ngClassPending]),n(l,78,0,e.lang.actionHistory),n(l,81,1,["standard"==bi(l,82).appearance,"fill"==bi(l,82).appearance,"outline"==bi(l,82).appearance,"legacy"==bi(l,82).appearance,bi(l,82)._control.errorState,bi(l,82)._canLabelFloat,bi(l,82)._shouldLabelFloat(),bi(l,82)._hasFloatingLabel(),bi(l,82)._hideControlPlaceholder(),bi(l,82)._control.disabled,bi(l,82)._control.autofilled,bi(l,82)._control.focused,"accent"==bi(l,82).color,"warn"==bi(l,82).color,bi(l,82)._shouldForward("untouched"),bi(l,82)._shouldForward("touched"),bi(l,82)._shouldForward("pristine"),bi(l,82)._shouldForward("dirty"),bi(l,82)._shouldForward("valid"),bi(l,82)._shouldForward("invalid"),bi(l,82)._shouldForward("pending"),!bi(l,82)._animationsEnabled]),n(l,92,1,[Wt(1,"",e.lang.chooseCategoryAssociation,""),bi(l,94).required?"":null,bi(l,98).ngClassUntouched,bi(l,98).ngClassTouched,bi(l,98).ngClassPristine,bi(l,98).ngClassDirty,bi(l,98).ngClassValid,bi(l,98).ngClassInvalid,bi(l,98).ngClassPending,bi(l,99).id,bi(l,99).tabIndex,bi(l,99)._getAriaLabel(),bi(l,99)._getAriaLabelledby(),bi(l,99).required.toString(),bi(l,99).disabled.toString(),bi(l,99).errorState,bi(l,99).panelOpen?bi(l,99)._optionIds:null,bi(l,99).multiple,bi(l,99)._ariaDescribedby||null,bi(l,99)._getAriaActiveDescendant(),bi(l,99).disabled,bi(l,99).errorState,bi(l,99).required,bi(l,99).empty]),n(l,108,0,bi(l,109).disabled||null,"NoopAnimations"===bi(l,109)._animationMode),n(l,110,0,e.lang.save)}))}function RZ(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),(n()(),_o(1,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(5,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(6,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(7,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(11,114688,null,0,GO,[_u],null,null),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(14,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(15,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,AZ)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,LZ)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0),n(l,11,0),n(l,14,0),n(l,19,0,e.loading),n(l,21,0,!e.loading)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,5,0,bi(l,6)._container._contentMargins.left,bi(l,6)._container._contentMargins.right),n(l,8,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode())}))}function NZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,RZ,IZ)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,SZ,[nS,Zp,uf,tu,_u,yu,$S],null,null)],(function(n,l){n(l,2,0)}),null)}var jZ=oi("ng-component",SZ,NZ,{},{},[]),VZ=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.notifications=[],this.loading=!1,this.lang=Kr,this.months=[],this.dom=[],this.dow=[],this.newCron={m:"",h:"",dom:"",mon:"",cmd:"",state:"normal"},this.displayedColumns=["notification_id","description","is_enabled","notifications"],this.dataSource=new mR(this.notifications),$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["notification_id","description"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.notifications),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/notifications").subscribe((function(l){n.notifications=l.notifications,n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.notifications),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="notification_id",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.deleteNotification=function(n){var l=this;confirm(this.lang.deleteMsg)&&this.http.delete("../../rest/notifications/"+n.notification_sid).subscribe((function(n){l.notifications=n.notifications,setTimeout((function(){l.dataSource=new mR(l.notifications),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort}),0),l.sidenavRight.close(),l.notify.success(l.lang.notificationDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.loadCron=function(){var n=this;this.hours=[{label:this.lang.eachHour,value:"*"}],this.minutes=[{label:this.lang.eachMinute,value:"*"}],this.months=[{label:this.lang.eachMonth,value:"*"},{label:this.lang.january,value:"1"},{label:this.lang.february,value:"2"},{label:this.lang.march,value:"3"},{label:this.lang.april,value:"4"},{label:this.lang.may,value:"5"},{label:this.lang.june,value:"6"},{label:this.lang.july,value:"7"},{label:this.lang.august,value:"8"},{label:this.lang.september,value:"9"},{label:this.lang.october,value:"10"},{label:this.lang.november,value:"11"},{label:this.lang.december,value:"12"}],this.dom=[{label:this.lang.notUsed,value:"*"}],this.dow=[{label:this.lang.eachDay,value:"*"},{label:this.lang.monday,value:"1"},{label:this.lang.tuesday,value:"2"},{label:this.lang.wednesday,value:"3"},{label:this.lang.thursday,value:"4"},{label:this.lang.friday,value:"5"},{label:this.lang.saturday,value:"6"},{label:this.lang.sunday,value:"7"}],this.newCron={m:"",h:"",dom:"",mon:"",cmd:"",state:"normal"};for(var l=0;l<=23;l++)this.hours.push({label:l,value:String(l)});for(l=0;l<=59;l++)this.minutes.push({label:l,value:String(l)});for(l=1;l<=31;l++)this.dom.push({label:l,value:String(l)});this.http.get("../../rest/notifications/schedule").subscribe((function(l){n.crontab=l.crontab,n.authorizedNotification=l.authorizedNotification}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.saveCron=function(){var n=this,l=this.newCron.cmd.split("/");this.newCron.description=l[l.length-1],this.crontab.push(this.newCron),this.http.post("../../rest/notifications/schedule",this.crontab).subscribe((function(l){n.newCron={m:"",h:"",dom:"",mon:"",cmd:"",description:"",state:"normal"},n.notify.success(n.lang.notificationScheduleUpdated)}),(function(l){n.crontab.pop(),n.notify.error(l.error.errors)}))},n.prototype.deleteCron=function(n){var l=this;this.crontab[n].state="deleted",this.http.post("../../rest/notifications/schedule",this.crontab).subscribe((function(e){l.crontab.splice(n,1),l.notify.success(l.lang.notificationScheduleUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n}(),qZ=yt({encapsulation:2,styles:[],data:{}});function zZ(n){return jo(0,[(n()(),_o(0,0,null,null,27,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/notifications/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(n.component.loadCron(),t=!1!==bi(n.parent,27).toggle()&&t),t}),AI,II)),Di(18,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(22,0,null,0,2,"mat-icon",[["class","fa fa-clock mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(23,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(24,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(25,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(26,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(27,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/notifications/new"),n(l,12,0,"primary"),n(l,23,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add),n(l,17,0,bi(l,18)._avatar||bi(l,18)._icon,bi(l,18)._avatar||bi(l,18)._icon),n(l,22,0,bi(l,23).inline,"primary"!==bi(l,23).color&&"accent"!==bi(l,23).color&&"warn"!==bi(l,23).color),n(l,27,0,e.lang.toSchedule)}))}function UZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function BZ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.id)}))}function $Z(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.notification_id)}))}function HZ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function GZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.description)}))}function WZ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.status)}))}function KZ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.active)}))}function YZ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label"],["color","warn"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.suspended)}))}function JZ(n){return jo(0,[(n()(),_o(0,16777216,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],[[2,"hide-for-mobile",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,KZ)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,YZ)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.view,"")),n(l,4,0,"Y"==l.context.$implicit.is_enabled),n(l,6,0,"N"==l.context.$implicit.is_enabled)}),(function(n,l){n(l,0,0,l.component.appService.getViewMode())}))}function ZZ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function QZ(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteNotification(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function XZ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function nQ(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/notifications/",l.context.$implicit.notification_sid,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function lQ(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","notification_id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,22,{_contentColumnDefs:1}),ko(603979776,23,{_contentRowDefs:1}),ko(603979776,24,{_contentHeaderRowDefs:1}),ko(603979776,25,{_contentFooterRowDefs:1}),Di(28,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,BZ)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,$Z)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,HZ)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,GZ)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,32,{cell:0}),ko(603979776,33,{headerCell:0}),ko(603979776,34,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,WZ)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[33,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,JZ)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[32,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,35,{cell:0}),ko(603979776,36,{headerCell:0}),ko(603979776,37,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,ZZ)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[36,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,QZ)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[35,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,XZ)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[24,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,nQ)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[23,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"notification_id","asc"),n(l,31,0,"notification_id"),n(l,44,0,"description"),n(l,57,0,"is_enabled"),n(l,70,0,"notifications"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.notifications.length,e.lang.notifications)}))}function eQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[47,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function tQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[59,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function iQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[71,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function aQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[83,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function oQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[95,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.value)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function rQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[107,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.path)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.description)}))}function uQ(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-chip",[["class","mat-chip"],["color","primary"],["removable","true"],["role","option"],["selectable","false"],["style","margin:5px;border-radius:0px;display:flex;"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.deleteCron(n.parent.context.index)&&t),t}),null,null)),Di(1,147456,[[110,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],selectable:[1,"selectable"],removable:[2,"removable"]},{removed:"removed"}),ko(603979776,111,{avatar:0}),ko(603979776,112,{trailingIcon:0}),ko(603979776,113,{removeIcon:0}),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,0,"span",[["style","flex: 1 1 auto;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(8,null,["","  ","  ","  ","  ",""])),(n()(),_o(9,16777216,null,null,3,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["color","warn"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"click"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,10).show()&&t),"keydown"===l&&(t=!1!==bi(n,10)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,10)._handleTouchend()&&t),"click"===l&&(t=!1!==bi(n,12)._handleClick(e)&&t),t}),FS,DS)),Di(10,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[113,4]],0,aN,[iN],null,null)],(function(n,l){var e=l.component;n(l,1,0,"primary","false","true"),n(l,10,0,Wt(1,"",e.lang.delete,"")),n(l,11,0,"warn")}),(function(n,l){n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,l.parent.context.$implicit.description),n(l,8,0,l.parent.context.$implicit.m,l.parent.context.$implicit.h,l.parent.context.$implicit.dom,l.parent.context.$implicit.mon,l.parent.context.$implicit.dow),n(l,9,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color)}))}function sQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,uQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"normal"==l.context.$implicit.state)}),null)}function cQ(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,210,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,zZ)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,UZ)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,lQ)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,0,188,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,27)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,27)._animationDoneListener(e)&&t),t}),zO,qO)),Di(27,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(28,0,null,0,171,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(29,704512,null,0,tI,[Pe],null,null),(n()(),_o(30,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(31,16384,null,0,aI,[],null,null),(n()(),Lo(32,null,["",""])),(n()(),_o(33,0,null,0,166,"form",[["class","form-horizontal"],["novalidate",""],["style","overflow:hidden;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,35).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,35).onReset()&&t),t}),null,null)),Di(34,16384,null,0,yy,[],null,null),Di(35,4210688,[["notifForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(37,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(38,0,null,null,78,"div",[["class","form-group"],["style","padding-left:15px;padding-right:15px;"]],null,null,null,null,null)),(n()(),_o(39,0,null,null,25,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(40,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,38,{_controlNonStatic:0}),ko(335544320,39,{_controlStatic:0}),ko(603979776,40,{_labelChildNonStatic:0}),ko(335544320,41,{_labelChildStatic:0}),ko(603979776,42,{_placeholderChild:0}),ko(603979776,43,{_errorChildren:1}),ko(603979776,44,{_hintChildren:1}),ko(603979776,45,{_prefixChildren:1}),ko(603979776,46,{_suffixChildren:1}),(n()(),_o(51,0,null,1,13,"mat-select",[["class","mat-select"],["id","hour"],["name","hour"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,58)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,58)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,58)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.newCron.h=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(53,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(55,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(57,16384,null,0,y_,[[4,v_]],null,null),Di(58,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,47,{options:1}),ko(603979776,48,{optionGroups:1}),ko(603979776,49,{customTrigger:0}),Ei(2048,[[38,4],[39,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,eQ)),Di(64,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(65,0,null,null,25,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(66,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(67,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,50,{_controlNonStatic:0}),ko(335544320,51,{_controlStatic:0}),ko(603979776,52,{_labelChildNonStatic:0}),ko(335544320,53,{_labelChildStatic:0}),ko(603979776,54,{_placeholderChild:0}),ko(603979776,55,{_errorChildren:1}),ko(603979776,56,{_hintChildren:1}),ko(603979776,57,{_prefixChildren:1}),ko(603979776,58,{_suffixChildren:1}),(n()(),_o(77,0,null,1,13,"mat-select",[["class","mat-select"],["id","minute"],["name","minute"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,84)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,84)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,84)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.newCron.m=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(79,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(81,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(83,16384,null,0,y_,[[4,v_]],null,null),Di(84,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,59,{options:1}),ko(603979776,60,{optionGroups:1}),ko(603979776,61,{customTrigger:0}),Ei(2048,[[50,4],[51,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,tQ)),Di(90,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(91,0,null,null,25,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(92,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(93,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,62,{_controlNonStatic:0}),ko(335544320,63,{_controlStatic:0}),ko(603979776,64,{_labelChildNonStatic:0}),ko(335544320,65,{_labelChildStatic:0}),ko(603979776,66,{_placeholderChild:0}),ko(603979776,67,{_errorChildren:1}),ko(603979776,68,{_hintChildren:1}),ko(603979776,69,{_prefixChildren:1}),ko(603979776,70,{_suffixChildren:1}),(n()(),_o(103,0,null,1,13,"mat-select",[["class","mat-select"],["id","day"],["name","day"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,110)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,110)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,110)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.newCron.dow=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(105,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(107,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(109,16384,null,0,y_,[[4,v_]],null,null),Di(110,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,71,{options:1}),ko(603979776,72,{optionGroups:1}),ko(603979776,73,{customTrigger:0}),Ei(2048,[[62,4],[63,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,iQ)),Di(116,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(117,0,null,null,82,"div",[["class","form-group"],["style","padding-left:15px;padding-right:15px;"]],null,null,null,null,null)),(n()(),_o(118,0,null,null,25,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(119,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(120,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,74,{_controlNonStatic:0}),ko(335544320,75,{_controlStatic:0}),ko(603979776,76,{_labelChildNonStatic:0}),ko(335544320,77,{_labelChildStatic:0}),ko(603979776,78,{_placeholderChild:0}),ko(603979776,79,{_errorChildren:1}),ko(603979776,80,{_hintChildren:1}),ko(603979776,81,{_prefixChildren:1}),ko(603979776,82,{_suffixChildren:1}),(n()(),_o(130,0,null,1,13,"mat-select",[["class","mat-select"],["id","month"],["name","month"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,137)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,137)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,137)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.newCron.mon=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(132,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(134,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(136,16384,null,0,y_,[[4,v_]],null,null),Di(137,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,83,{options:1}),ko(603979776,84,{optionGroups:1}),ko(603979776,85,{customTrigger:0}),Ei(2048,[[74,4],[75,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,aQ)),Di(143,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(144,0,null,null,25,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(145,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(146,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,86,{_controlNonStatic:0}),ko(335544320,87,{_controlStatic:0}),ko(603979776,88,{_labelChildNonStatic:0}),ko(335544320,89,{_labelChildStatic:0}),ko(603979776,90,{_placeholderChild:0}),ko(603979776,91,{_errorChildren:1}),ko(603979776,92,{_hintChildren:1}),ko(603979776,93,{_prefixChildren:1}),ko(603979776,94,{_suffixChildren:1}),(n()(),_o(156,0,null,1,13,"mat-select",[["class","mat-select"],["id","dayM"],["name","dayM"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,163)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,163)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,163)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.newCron.dom=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(158,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(160,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(162,16384,null,0,y_,[[4,v_]],null,null),Di(163,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,95,{options:1}),ko(603979776,96,{optionGroups:1}),ko(603979776,97,{customTrigger:0}),Ei(2048,[[86,4],[87,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,oQ)),Di(169,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(170,0,null,null,25,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(171,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(172,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,98,{_controlNonStatic:0}),ko(335544320,99,{_controlStatic:0}),ko(603979776,100,{_labelChildNonStatic:0}),ko(335544320,101,{_labelChildStatic:0}),ko(603979776,102,{_placeholderChild:0}),ko(603979776,103,{_errorChildren:1}),ko(603979776,104,{_hintChildren:1}),ko(603979776,105,{_prefixChildren:1}),ko(603979776,106,{_suffixChildren:1}),(n()(),_o(182,0,null,1,13,"mat-select",[["class","mat-select"],["id","script"],["name","script"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,189)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,189)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,189)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.newCron.cmd=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(184,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(186,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(188,16384,null,0,y_,[[4,v_]],null,null),Di(189,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,107,{options:1}),ko(603979776,108,{optionGroups:1}),ko(603979776,109,{customTrigger:0}),Ei(2048,[[98,4],[99,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,rQ)),Di(195,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(196,0,null,null,3,"div",[["class","col-sm-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(197,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveCron()&&t),t}),PC,MC)),Di(198,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(199,0,["",""])),(n()(),_o(200,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(201,49152,null,0,mI,[],null,null),(n()(),_o(202,0,null,0,1,"div",[["class","alert alert-info"],["role","alert"],["style","margin:15px;"]],null,null,null,null,null)),(n()(),Lo(203,null,[" "," "])),(n()(),_o(204,0,null,0,10,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(205,704512,null,0,tI,[Pe],null,null),(n()(),_o(206,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(207,16384,null,0,aI,[],null,null),(n()(),Lo(208,null,["",""])),(n()(),_o(209,0,null,0,5,"mat-chip-list",[["class","mat-chip-list-stacked mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,211).focus()&&t),"blur"===l&&(t=!1!==bi(n,211)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,211)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(211,1556480,[["chipList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,110,{chips:1}),(n()(),vo(16777216,null,0,1,null,sQ)),Di(214,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading),n(l,27,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56"),n(l,53,0,""),n(l,55,0,"hour",e.newCron.h),n(l,58,0,Wt(1,"",e.lang.hour,""),"","hour"),n(l,64,0,e.hours),n(l,79,0,""),n(l,81,0,"minute",e.newCron.m),n(l,84,0,Wt(1,"",e.lang.minute,""),"","minute"),n(l,90,0,e.minutes),n(l,105,0,""),n(l,107,0,"day",e.newCron.dow),n(l,110,0,Wt(1,"",e.lang.day,""),"","day"),n(l,116,0,e.dow),n(l,132,0,""),n(l,134,0,"month",e.newCron.mon),n(l,137,0,Wt(1,"",e.lang.month,""),"","month"),n(l,143,0,e.months),n(l,158,0,""),n(l,160,0,"dayM",e.newCron.dom),n(l,163,0,Wt(1,"",e.lang.dayOfMonth,""),"","dayM"),n(l,169,0,e.dom),n(l,184,0,""),n(l,186,0,"script",e.newCron.cmd),n(l,189,0,Wt(1,"",e.lang.script,""),"","script"),n(l,195,0,e.authorizedNotification),n(l,198,0,!bi(l,35).form.valid,"primary"),n(l,211,0),n(l,214,0,e.crontab)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,26,0,null,"end"===bi(l,27).position,"over"===bi(l,27).mode,"push"===bi(l,27).mode,"side"===bi(l,27).mode,bi(l,27).opened,bi(l,27).fixedInViewport,bi(l,27).fixedInViewport?bi(l,27).fixedTopGap:null,bi(l,27).fixedInViewport?bi(l,27).fixedBottomGap:null,bi(l,27)._animationState),n(l,32,0,e.lang.notificationSchedule),n(l,33,0,bi(l,37).ngClassUntouched,bi(l,37).ngClassTouched,bi(l,37).ngClassPristine,bi(l,37).ngClassDirty,bi(l,37).ngClassValid,bi(l,37).ngClassInvalid,bi(l,37).ngClassPending),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[Wt(1,"",e.lang.hour,""),bi(l,53).required?"":null,bi(l,57).ngClassUntouched,bi(l,57).ngClassTouched,bi(l,57).ngClassPristine,bi(l,57).ngClassDirty,bi(l,57).ngClassValid,bi(l,57).ngClassInvalid,bi(l,57).ngClassPending,bi(l,58).id,bi(l,58).tabIndex,bi(l,58)._getAriaLabel(),bi(l,58)._getAriaLabelledby(),bi(l,58).required.toString(),bi(l,58).disabled.toString(),bi(l,58).errorState,bi(l,58).panelOpen?bi(l,58)._optionIds:null,bi(l,58).multiple,bi(l,58)._ariaDescribedby||null,bi(l,58)._getAriaActiveDescendant(),bi(l,58).disabled,bi(l,58).errorState,bi(l,58).required,bi(l,58).empty]),n(l,66,1,["standard"==bi(l,67).appearance,"fill"==bi(l,67).appearance,"outline"==bi(l,67).appearance,"legacy"==bi(l,67).appearance,bi(l,67)._control.errorState,bi(l,67)._canLabelFloat,bi(l,67)._shouldLabelFloat(),bi(l,67)._hasFloatingLabel(),bi(l,67)._hideControlPlaceholder(),bi(l,67)._control.disabled,bi(l,67)._control.autofilled,bi(l,67)._control.focused,"accent"==bi(l,67).color,"warn"==bi(l,67).color,bi(l,67)._shouldForward("untouched"),bi(l,67)._shouldForward("touched"),bi(l,67)._shouldForward("pristine"),bi(l,67)._shouldForward("dirty"),bi(l,67)._shouldForward("valid"),bi(l,67)._shouldForward("invalid"),bi(l,67)._shouldForward("pending"),!bi(l,67)._animationsEnabled]),n(l,77,1,[Wt(1,"",e.lang.minute,""),bi(l,79).required?"":null,bi(l,83).ngClassUntouched,bi(l,83).ngClassTouched,bi(l,83).ngClassPristine,bi(l,83).ngClassDirty,bi(l,83).ngClassValid,bi(l,83).ngClassInvalid,bi(l,83).ngClassPending,bi(l,84).id,bi(l,84).tabIndex,bi(l,84)._getAriaLabel(),bi(l,84)._getAriaLabelledby(),bi(l,84).required.toString(),bi(l,84).disabled.toString(),bi(l,84).errorState,bi(l,84).panelOpen?bi(l,84)._optionIds:null,bi(l,84).multiple,bi(l,84)._ariaDescribedby||null,bi(l,84)._getAriaActiveDescendant(),bi(l,84).disabled,bi(l,84).errorState,bi(l,84).required,bi(l,84).empty]),n(l,92,1,["standard"==bi(l,93).appearance,"fill"==bi(l,93).appearance,"outline"==bi(l,93).appearance,"legacy"==bi(l,93).appearance,bi(l,93)._control.errorState,bi(l,93)._canLabelFloat,bi(l,93)._shouldLabelFloat(),bi(l,93)._hasFloatingLabel(),bi(l,93)._hideControlPlaceholder(),bi(l,93)._control.disabled,bi(l,93)._control.autofilled,bi(l,93)._control.focused,"accent"==bi(l,93).color,"warn"==bi(l,93).color,bi(l,93)._shouldForward("untouched"),bi(l,93)._shouldForward("touched"),bi(l,93)._shouldForward("pristine"),bi(l,93)._shouldForward("dirty"),bi(l,93)._shouldForward("valid"),bi(l,93)._shouldForward("invalid"),bi(l,93)._shouldForward("pending"),!bi(l,93)._animationsEnabled]),n(l,103,1,[Wt(1,"",e.lang.day,""),bi(l,105).required?"":null,bi(l,109).ngClassUntouched,bi(l,109).ngClassTouched,bi(l,109).ngClassPristine,bi(l,109).ngClassDirty,bi(l,109).ngClassValid,bi(l,109).ngClassInvalid,bi(l,109).ngClassPending,bi(l,110).id,bi(l,110).tabIndex,bi(l,110)._getAriaLabel(),bi(l,110)._getAriaLabelledby(),bi(l,110).required.toString(),bi(l,110).disabled.toString(),bi(l,110).errorState,bi(l,110).panelOpen?bi(l,110)._optionIds:null,bi(l,110).multiple,bi(l,110)._ariaDescribedby||null,bi(l,110)._getAriaActiveDescendant(),bi(l,110).disabled,bi(l,110).errorState,bi(l,110).required,bi(l,110).empty]),n(l,119,1,["standard"==bi(l,120).appearance,"fill"==bi(l,120).appearance,"outline"==bi(l,120).appearance,"legacy"==bi(l,120).appearance,bi(l,120)._control.errorState,bi(l,120)._canLabelFloat,bi(l,120)._shouldLabelFloat(),bi(l,120)._hasFloatingLabel(),bi(l,120)._hideControlPlaceholder(),bi(l,120)._control.disabled,bi(l,120)._control.autofilled,bi(l,120)._control.focused,"accent"==bi(l,120).color,"warn"==bi(l,120).color,bi(l,120)._shouldForward("untouched"),bi(l,120)._shouldForward("touched"),bi(l,120)._shouldForward("pristine"),bi(l,120)._shouldForward("dirty"),bi(l,120)._shouldForward("valid"),bi(l,120)._shouldForward("invalid"),bi(l,120)._shouldForward("pending"),!bi(l,120)._animationsEnabled]),n(l,130,1,[Wt(1,"",e.lang.month,""),bi(l,132).required?"":null,bi(l,136).ngClassUntouched,bi(l,136).ngClassTouched,bi(l,136).ngClassPristine,bi(l,136).ngClassDirty,bi(l,136).ngClassValid,bi(l,136).ngClassInvalid,bi(l,136).ngClassPending,bi(l,137).id,bi(l,137).tabIndex,bi(l,137)._getAriaLabel(),bi(l,137)._getAriaLabelledby(),bi(l,137).required.toString(),bi(l,137).disabled.toString(),bi(l,137).errorState,bi(l,137).panelOpen?bi(l,137)._optionIds:null,bi(l,137).multiple,bi(l,137)._ariaDescribedby||null,bi(l,137)._getAriaActiveDescendant(),bi(l,137).disabled,bi(l,137).errorState,bi(l,137).required,bi(l,137).empty]),n(l,145,1,["standard"==bi(l,146).appearance,"fill"==bi(l,146).appearance,"outline"==bi(l,146).appearance,"legacy"==bi(l,146).appearance,bi(l,146)._control.errorState,bi(l,146)._canLabelFloat,bi(l,146)._shouldLabelFloat(),bi(l,146)._hasFloatingLabel(),bi(l,146)._hideControlPlaceholder(),bi(l,146)._control.disabled,bi(l,146)._control.autofilled,bi(l,146)._control.focused,"accent"==bi(l,146).color,"warn"==bi(l,146).color,bi(l,146)._shouldForward("untouched"),bi(l,146)._shouldForward("touched"),bi(l,146)._shouldForward("pristine"),bi(l,146)._shouldForward("dirty"),bi(l,146)._shouldForward("valid"),bi(l,146)._shouldForward("invalid"),bi(l,146)._shouldForward("pending"),!bi(l,146)._animationsEnabled]),n(l,156,1,[Wt(1,"",e.lang.dayOfMonth,""),bi(l,158).required?"":null,bi(l,162).ngClassUntouched,bi(l,162).ngClassTouched,bi(l,162).ngClassPristine,bi(l,162).ngClassDirty,bi(l,162).ngClassValid,bi(l,162).ngClassInvalid,bi(l,162).ngClassPending,bi(l,163).id,bi(l,163).tabIndex,bi(l,163)._getAriaLabel(),bi(l,163)._getAriaLabelledby(),bi(l,163).required.toString(),bi(l,163).disabled.toString(),bi(l,163).errorState,bi(l,163).panelOpen?bi(l,163)._optionIds:null,bi(l,163).multiple,bi(l,163)._ariaDescribedby||null,bi(l,163)._getAriaActiveDescendant(),bi(l,163).disabled,bi(l,163).errorState,bi(l,163).required,bi(l,163).empty]),n(l,171,1,["standard"==bi(l,172).appearance,"fill"==bi(l,172).appearance,"outline"==bi(l,172).appearance,"legacy"==bi(l,172).appearance,bi(l,172)._control.errorState,bi(l,172)._canLabelFloat,bi(l,172)._shouldLabelFloat(),bi(l,172)._hasFloatingLabel(),bi(l,172)._hideControlPlaceholder(),bi(l,172)._control.disabled,bi(l,172)._control.autofilled,bi(l,172)._control.focused,"accent"==bi(l,172).color,"warn"==bi(l,172).color,bi(l,172)._shouldForward("untouched"),bi(l,172)._shouldForward("touched"),bi(l,172)._shouldForward("pristine"),bi(l,172)._shouldForward("dirty"),bi(l,172)._shouldForward("valid"),bi(l,172)._shouldForward("invalid"),bi(l,172)._shouldForward("pending"),!bi(l,172)._animationsEnabled]),n(l,182,1,[Wt(1,"",e.lang.script,""),bi(l,184).required?"":null,bi(l,188).ngClassUntouched,bi(l,188).ngClassTouched,bi(l,188).ngClassPristine,bi(l,188).ngClassDirty,bi(l,188).ngClassValid,bi(l,188).ngClassInvalid,bi(l,188).ngClassPending,bi(l,189).id,bi(l,189).tabIndex,bi(l,189)._getAriaLabel(),bi(l,189)._getAriaLabelledby(),bi(l,189).required.toString(),bi(l,189).disabled.toString(),bi(l,189).errorState,bi(l,189).panelOpen?bi(l,189)._optionIds:null,bi(l,189).multiple,bi(l,189)._ariaDescribedby||null,bi(l,189)._getAriaActiveDescendant(),bi(l,189).disabled,bi(l,189).errorState,bi(l,189).required,bi(l,189).empty]),n(l,197,0,bi(l,198).disabled||null,"NoopAnimations"===bi(l,198)._animationMode),n(l,199,0,e.lang.save),n(l,200,0,bi(l,201).vertical?"vertical":"horizontal",bi(l,201).vertical,!bi(l,201).vertical,bi(l,201).inset),n(l,203,0,e.lang.NotificationScheduleInfo),n(l,208,0,e.lang.activeCron),n(l,209,1,[bi(l,211).disabled?null:bi(l,211)._tabIndex,bi(l,211)._ariaDescribedby||null,bi(l,211).required.toString(),bi(l,211).disabled.toString(),bi(l,211).errorState,bi(l,211).multiple,bi(l,211).role,bi(l,211).disabled,bi(l,211).errorState,bi(l,211).required,bi(l,211).ariaOrientation,bi(l,211)._uid])}))}function dQ(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,cQ,qZ)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,VZ,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var pQ=oi("ng-component",VZ,dQ,{},{},[]),mQ=function(){function n(n,l,e,t,i,a,o){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.viewContainerRef=o,this.notification={diffusionType_label:null},this.loading=!1,this.lang=Kr,$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.route.params.subscribe((function(l){void 0===l.identifier?(n.headerService.setHeader(n.lang.notificationCreation),n.creationMode=!0,n.http.get("../../rest/administration/notifications/new").subscribe((function(l){n.notification=l.notification,n.notification.attachfor_properties=[],n.loading=!1}),(function(l){n.notify.error(l.error.errors)}))):(n.creationMode=!1,n.http.get("../../rest/notifications/"+l.identifier).subscribe((function(l){n.headerService.setHeader(n.lang.notificationModification,l.notification.description),n.notification=l.notification,n.notification.attachfor_properties=[],n.loading=!1}),(function(l){n.notify.error(l.error.errors)})))}))},n.prototype.createScript=function(){var n=this;this.http.post("../../rest/scriptNotification",this.notification).subscribe((function(l){n.notification.scriptcreated=l,n.notify.success(n.lang.scriptCreated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.onSubmit=function(){var n=this;this.creationMode?(this.notification.is_enabled="Y",this.http.post("../../rest/notifications",this.notification).subscribe((function(l){n.router.navigate(["/administration/notifications"]),n.notify.success(n.lang.notificationAdded)}),(function(l){n.notify.error(l.error.errors)}))):this.http.put("../../rest/notifications/"+this.notification.notification_sid,this.notification).subscribe((function(l){n.router.navigate(["/administration/notifications"]),n.notify.success(n.lang.notificationUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.toggleNotif=function(){var n=this;this.notification.is_enabled="Y"==this.notification.is_enabled?"N":"Y",this.http.put("../../rest/notifications/"+this.notification.notification_sid,this.notification).subscribe((function(l){n.notify.success(n.lang.notificationUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.isNumber=function(n){return $j.isNumeric(n)},n}(),fQ=yt({encapsulation:2,styles:[],data:{}});function hQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(1,16384,null,0,aI,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.actions)}))}function gQ(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.createScript()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-terminal mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[4,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.createScriptNotification)}))}function bQ(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleNotif()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-play mat-icon notranslate mat-list-icon"],["color","accent"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"accent")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.activateNotification)}))}function vQ(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleNotif()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-pause mat-icon notranslate mat-list-icon"],["color","warn"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.suspendNotification)}))}function _Q(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,hQ)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,gQ)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,bQ)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,vQ)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,!e.creationMode),n(l,5,0,!e.creationMode&&!e.loading&&!e.notification.scriptcreated),n(l,7,0,!e.creationMode&&!e.loading&&"N"==e.notification.is_enabled),n(l,9,0,!e.creationMode&&!e.loading&&"Y"==e.notification.is_enabled)}),null)}function yQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function wQ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","text-warning"],["style","position: absolute;opacity: 0.1;font-size: 120px;transform: rotate(324deg);-webkit-transform: rotate(324deg);margin-left: 25%;margin-top: 90px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" ",""]))],null,(function(n,l){n(l,1,0,l.component.lang.suspended)}))}function xQ(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[40,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-cog mat-icon notranslate"],["color","primary"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(4,0,[" "," "]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id),n(l,3,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color),n(l,4,0,l.parent.context.$implicit.label_action)}))}function CQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,!l.component.isNumber(l.context.$implicit.id))}),null)}function kQ(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[40,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-exchange-alt mat-icon notranslate"],["color","primary"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(4,0,[" "," "]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id),n(l,3,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color),n(l,4,0,l.parent.context.$implicit.label_action)}))}function SQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.isNumber(l.context.$implicit.id))}),null)}function IQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[52,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.template_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.template_label)}))}function AQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[76,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.label)}))}function MQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,AQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"dest_user"==l.context.$implicit.id)}),null)}function PQ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[77,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,MQ)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.memberUserDest," :")),n(l,3,0,e.notification.data.diffusionType)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function DQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[76,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.label)}))}function FQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,DQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"copy_list"==l.context.$implicit.id)}),null)}function EQ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[77,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,FQ)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.memberUsersCopy," :")),n(l,3,0,e.notification.data.diffusionType)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function OQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[76,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.label)}))}function TQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,OQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,"group"==l.context.$implicit.id||"entity"==l.context.$implicit.id&&"baskets"!=e.notification.event_id||"user"==l.context.$implicit.id&&"baskets"!=e.notification.event_id)}),null)}function LQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[76,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.label)}))}function RQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,LQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"group"!=l.context.$implicit.id&&"entity"!=l.context.$implicit.id&&"user"!=l.context.$implicit.id&&"copy_list"!=l.context.$implicit.id&&"group"!=l.context.$implicit.id&&"dest_user"!=l.context.$implicit.id)}),null)}function NQ(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[77,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,RQ)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.others," :")),n(l,3,0,e.notification.data.diffusionType)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function jQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[88,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.group_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.group_desc)}))}function VQ(n){return jo(0,[(n()(),_o(0,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,79,{_controlNonStatic:0}),ko(335544320,80,{_controlStatic:0}),ko(603979776,81,{_labelChildNonStatic:0}),ko(335544320,82,{_labelChildStatic:0}),ko(603979776,83,{_placeholderChild:0}),ko(603979776,84,{_errorChildren:1}),ko(603979776,85,{_hintChildren:1}),ko(603979776,86,{_prefixChildren:1}),ko(603979776,87,{_suffixChildren:1}),(n()(),_o(11,0,null,1,13,"mat-select",[["class","mat-select"],["id","diffusion_properties"],["multiple",""],["name","diffusion_properties"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,18)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,18)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,18)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.diffusion_properties=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(13,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(15,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],id:[3,"id"]},null),ko(603979776,88,{options:1}),ko(603979776,89,{optionGroups:1}),ko(603979776,90,{customTrigger:0}),Ei(2048,[[79,4],[80,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,jQ)),Di(24,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,13,0,""),n(l,15,0,"diffusion_properties",e.notification.diffusion_properties),n(l,18,0,Wt(1,"",e.lang.memberDiffTypeUsers,""),"","","diffusion_properties"),n(l,24,0,e.notification.data.groups)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[Wt(1,"",e.lang.memberDiffTypeUsers,""),bi(l,13).required?"":null,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18).id,bi(l,18).tabIndex,bi(l,18)._getAriaLabel(),bi(l,18)._getAriaLabelledby(),bi(l,18).required.toString(),bi(l,18).disabled.toString(),bi(l,18).errorState,bi(l,18).panelOpen?bi(l,18)._optionIds:null,bi(l,18).multiple,bi(l,18)._ariaDescribedby||null,bi(l,18)._getAriaActiveDescendant(),bi(l,18).disabled,bi(l,18).errorState,bi(l,18).required,bi(l,18).empty])}))}function qQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[100,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function zQ(n){return jo(0,[(n()(),_o(0,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,91,{_controlNonStatic:0}),ko(335544320,92,{_controlStatic:0}),ko(603979776,93,{_labelChildNonStatic:0}),ko(335544320,94,{_labelChildStatic:0}),ko(603979776,95,{_placeholderChild:0}),ko(603979776,96,{_errorChildren:1}),ko(603979776,97,{_hintChildren:1}),ko(603979776,98,{_prefixChildren:1}),ko(603979776,99,{_suffixChildren:1}),(n()(),_o(11,0,null,1,13,"mat-select",[["class","mat-select"],["id","diffusion_properties"],["multiple",""],["name","diffusion_properties"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,18)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,18)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,18)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.diffusion_properties=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(13,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(15,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],id:[3,"id"]},null),ko(603979776,100,{options:1}),ko(603979776,101,{optionGroups:1}),ko(603979776,102,{customTrigger:0}),Ei(2048,[[91,4],[92,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,qQ)),Di(24,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,13,0,""),n(l,15,0,"diffusion_properties",e.notification.diffusion_properties),n(l,18,0,Wt(1,"",e.lang.memberDiffTypeUsers,""),"","","diffusion_properties"),n(l,24,0,e.notification.data.users)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[Wt(1,"",e.lang.memberDiffTypeUsers,""),bi(l,13).required?"":null,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18).id,bi(l,18).tabIndex,bi(l,18)._getAriaLabel(),bi(l,18)._getAriaLabelledby(),bi(l,18).required.toString(),bi(l,18).disabled.toString(),bi(l,18).errorState,bi(l,18).panelOpen?bi(l,18)._optionIds:null,bi(l,18).multiple,bi(l,18)._ariaDescribedby||null,bi(l,18)._getAriaActiveDescendant(),bi(l,18).disabled,bi(l,18).errorState,bi(l,18).required,bi(l,18).empty])}))}function UQ(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[112,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.entity_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.entity_label)}))}function BQ(n){return jo(0,[(n()(),_o(0,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,103,{_controlNonStatic:0}),ko(335544320,104,{_controlStatic:0}),ko(603979776,105,{_labelChildNonStatic:0}),ko(335544320,106,{_labelChildStatic:0}),ko(603979776,107,{_placeholderChild:0}),ko(603979776,108,{_errorChildren:1}),ko(603979776,109,{_hintChildren:1}),ko(603979776,110,{_prefixChildren:1}),ko(603979776,111,{_suffixChildren:1}),(n()(),_o(11,0,null,1,13,"mat-select",[["class","mat-select"],["id","diffusion_properties"],["multiple",""],["name","diffusion_properties"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,18)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,18)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,18)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.diffusion_properties=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(13,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(15,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],multiple:[2,"multiple"],id:[3,"id"]},null),ko(603979776,112,{options:1}),ko(603979776,113,{optionGroups:1}),ko(603979776,114,{customTrigger:0}),Ei(2048,[[103,4],[104,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,UQ)),Di(24,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,13,0,""),n(l,15,0,"diffusion_properties",e.notification.diffusion_properties),n(l,18,0,Wt(1,"",e.lang.memberDiffTypeUsers,""),"","","diffusion_properties"),n(l,24,0,e.notification.data.entities)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[Wt(1,"",e.lang.memberDiffTypeUsers,""),bi(l,13).required?"":null,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18).id,bi(l,18).tabIndex,bi(l,18)._getAriaLabel(),bi(l,18)._getAriaLabelledby(),bi(l,18).required.toString(),bi(l,18).disabled.toString(),bi(l,18).errorState,bi(l,18).panelOpen?bi(l,18)._optionIds:null,bi(l,18).multiple,bi(l,18)._ariaDescribedby||null,bi(l,18)._getAriaActiveDescendant(),bi(l,18).disabled,bi(l,18).errorState,bi(l,18).required,bi(l,18).empty])}))}function $Q(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[124,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label_status)}))}function HQ(n){return jo(0,[(n()(),_o(0,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,115,{_controlNonStatic:0}),ko(335544320,116,{_controlStatic:0}),ko(603979776,117,{_labelChildNonStatic:0}),ko(335544320,118,{_labelChildStatic:0}),ko(603979776,119,{_placeholderChild:0}),ko(603979776,120,{_errorChildren:1}),ko(603979776,121,{_hintChildren:1}),ko(603979776,122,{_prefixChildren:1}),ko(603979776,123,{_suffixChildren:1}),(n()(),_o(11,0,null,1,11,"mat-select",[["class","mat-select"],["id","diffusion_properties"],["multiple",""],["name","diffusion_properties"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,16)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,16)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,16)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.diffusion_properties=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(13,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(15,16384,null,0,y_,[[4,v_]],null,null),Di(16,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],multiple:[1,"multiple"],id:[2,"id"]},null),ko(603979776,124,{options:1}),ko(603979776,125,{optionGroups:1}),ko(603979776,126,{customTrigger:0}),Ei(2048,[[115,4],[116,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,$Q)),Di(22,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,13,0,"diffusion_properties",e.notification.diffusion_properties),n(l,16,0,Wt(2,"",e.lang.selectedDocumentStatus," (",e.lang.optional,")"),"","diffusion_properties"),n(l,22,0,e.notification.data.status)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[Wt(1,"",e.lang.selectedDocumentStatus," (optionnel)"),bi(l,15).ngClassUntouched,bi(l,15).ngClassTouched,bi(l,15).ngClassPristine,bi(l,15).ngClassDirty,bi(l,15).ngClassValid,bi(l,15).ngClassInvalid,bi(l,15).ngClassPending,bi(l,16).id,bi(l,16).tabIndex,bi(l,16)._getAriaLabel(),bi(l,16)._getAriaLabelledby(),bi(l,16).required.toString(),bi(l,16).disabled.toString(),bi(l,16).errorState,bi(l,16).panelOpen?bi(l,16)._optionIds:null,bi(l,16).multiple,bi(l,16)._ariaDescribedby||null,bi(l,16)._getAriaActiveDescendant(),bi(l,16).disabled,bi(l,16).errorState,bi(l,16).required,bi(l,16).empty])}))}function GQ(n){return jo(0,[(n()(),_o(0,0,null,null,194,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,wQ)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,190,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,6).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,6).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(5,16384,null,0,yy,[],null,null),Di(6,4210688,[["notificationsFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(8,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(9,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,23,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(22,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","notification_id"],["matInput",""],["maxlength","50"],["name","notification_id"],["pattern","^[\\w.-]*$"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,23)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,23)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,23)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,32)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,32)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,32)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.notification_id=e)&&t),t}),null,null)),Di(23,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(24,16384,null,0,My,[],{required:[0,"required"]},null),Di(25,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(26,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(29,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(34,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,22,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(37,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(47,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["maxlength","255"],["name","description"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,48)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,48).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,48)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,48)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,56)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,56)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,56)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.description=e)&&t),t}),null,null)),Di(48,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(49,16384,null,0,My,[],{required:[0,"required"]},null),Di(50,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(53,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(55,16384,null,0,y_,[[4,v_]],null,null),Di(56,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),_o(58,0,null,null,32,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(59,0,null,null,31,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(60,0,null,null,30,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(61,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,31,{_controlNonStatic:0}),ko(335544320,32,{_controlStatic:0}),ko(603979776,33,{_labelChildNonStatic:0}),ko(335544320,34,{_labelChildStatic:0}),ko(603979776,35,{_placeholderChild:0}),ko(603979776,36,{_errorChildren:1}),ko(603979776,37,{_hintChildren:1}),ko(603979776,38,{_prefixChildren:1}),ko(603979776,39,{_suffixChildren:1}),(n()(),_o(71,0,null,1,19,"mat-select",[["class","mat-select"],["id","event_id"],["name","event_id"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,78)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,78)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,78)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.event_id=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(73,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(75,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(77,16384,null,0,y_,[[4,v_]],null,null),Di(78,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,40,{options:1}),ko(603979776,41,{optionGroups:1}),ko(603979776,42,{customTrigger:0}),Ei(2048,[[31,4],[32,4]],nT,null,[jR]),(n()(),_o(83,0,null,1,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(84,49152,[[41,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,CQ)),Di(86,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(87,0,null,1,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(88,49152,[[41,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,SQ)),Di(90,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(91,0,null,null,54,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(92,0,null,null,25,"div",[["class","col-md-8"]],null,null,null,null,null)),(n()(),_o(93,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(94,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,43,{_controlNonStatic:0}),ko(335544320,44,{_controlStatic:0}),ko(603979776,45,{_labelChildNonStatic:0}),ko(335544320,46,{_labelChildStatic:0}),ko(603979776,47,{_placeholderChild:0}),ko(603979776,48,{_errorChildren:1}),ko(603979776,49,{_hintChildren:1}),ko(603979776,50,{_prefixChildren:1}),ko(603979776,51,{_suffixChildren:1}),(n()(),_o(104,0,null,1,13,"mat-select",[["class","mat-select"],["id","template_id"],["name","template_id"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,111)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,111)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,111)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.template_id=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(106,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(108,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(110,16384,null,0,y_,[[4,v_]],null,null),Di(111,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,52,{options:1}),ko(603979776,53,{optionGroups:1}),ko(603979776,54,{customTrigger:0}),Ei(2048,[[43,4],[44,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,IQ)),Di(117,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(118,0,null,null,27,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),_o(119,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(120,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,55,{_controlNonStatic:0}),ko(335544320,56,{_controlStatic:0}),ko(603979776,57,{_labelChildNonStatic:0}),ko(335544320,58,{_labelChildStatic:0}),ko(603979776,59,{_placeholderChild:0}),ko(603979776,60,{_errorChildren:1}),ko(603979776,61,{_hintChildren:1}),ko(603979776,62,{_prefixChildren:1}),ko(603979776,63,{_suffixChildren:1}),(n()(),_o(130,0,null,1,15,"mat-select",[["class","mat-select"],["id","attachfor_type"],["name","attachfor_type"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,134)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,134)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,134)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.attachfor_type=e)&&t),t}),GR,qR)),Di(131,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(133,16384,null,0,y_,[[4,v_]],null,null),Di(134,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],id:[1,"id"]},null),ko(603979776,64,{options:1}),ko(603979776,65,{optionGroups:1}),ko(603979776,66,{customTrigger:0}),Ei(2048,[[55,4],[56,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(140,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,141)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,141)._handleKeydown(e)&&t),t}),bI,hI)),Di(141,8568832,[[64,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(142,0,[" "," "])),(n()(),_o(143,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","main_document"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,144)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,144)._handleKeydown(e)&&t),t}),bI,hI)),Di(144,8568832,[[64,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(145,0,[" "," "])),(n()(),_o(146,0,null,null,43,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(147,0,null,null,33,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),_o(148,0,null,null,32,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(149,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,67,{_controlNonStatic:0}),ko(335544320,68,{_controlStatic:0}),ko(603979776,69,{_labelChildNonStatic:0}),ko(335544320,70,{_labelChildStatic:0}),ko(603979776,71,{_placeholderChild:0}),ko(603979776,72,{_errorChildren:1}),ko(603979776,73,{_hintChildren:1}),ko(603979776,74,{_prefixChildren:1}),ko(603979776,75,{_suffixChildren:1}),(n()(),_o(159,0,null,1,21,"mat-select",[["class","mat-select"],["id","diffusion_type"],["name","diffusion_type"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,166)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,166)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,166)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.notification.diffusion_type=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(161,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(163,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(165,16384,null,0,y_,[[4,v_]],null,null),Di(166,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,76,{options:1}),ko(603979776,77,{optionGroups:1}),ko(603979776,78,{customTrigger:0}),Ei(2048,[[67,4],[68,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,PQ)),Di(172,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,EQ)),Di(174,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(175,0,null,1,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(176,49152,[[77,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,TQ)),Di(178,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,1,1,null,NQ)),Di(180,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(181,0,null,null,8,"div",[["class","col-md-8"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,VQ)),Di(183,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zQ)),Di(185,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,BQ)),Di(187,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,HQ)),Di(189,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(190,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(191,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(192,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(193,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(194,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,"N"==e.notification.is_enabled),n(l,24,0,""),n(l,25,0,"50"),n(l,26,0,"^[\\w.-]*$"),n(l,29,0,"notification_id",!e.creationMode,e.notification.notification_id),n(l,32,0,!e.creationMode,"notification_id",Wt(1,"",e.lang.id,""),"","text"),n(l,49,0,""),n(l,50,0,"255"),n(l,53,0,"description",e.notification.description),n(l,56,0,"description",Wt(1,"",e.lang.description,""),"","text"),n(l,73,0,""),n(l,75,0,"event_id",e.notification.event_id),n(l,78,0,Wt(1,"",e.lang.NotificationEvent,""),"","event_id"),n(l,84,0,Wt(1,"",e.lang.triggerSystem," :")),n(l,86,0,e.notification.data.event),n(l,88,0,Wt(1,"",e.lang.triggerAction," :")),n(l,90,0,e.notification.data.event),n(l,106,0,""),n(l,108,0,"template_id",e.notification.template_id),n(l,111,0,Wt(1,"",e.lang.notificationModel,""),"","template_id"),n(l,117,0,e.notification.data.template),n(l,131,0,"attachfor_type",e.notification.attachfor_type),n(l,134,0,Wt(1,"",e.lang.attachment,""),"attachfor_type"),n(l,141,0,""),n(l,144,0,"main_document"),n(l,161,0,""),n(l,163,0,"diffusion_type",e.notification.diffusion_type),n(l,166,0,Wt(1,"",e.lang.sendTo,""),"","diffusion_type"),n(l,172,0,"baskets"!=e.notification.event_id),n(l,174,0,"baskets"!=e.notification.event_id),n(l,176,0,Wt(1,"",e.lang.memberAllUsers," :")),n(l,178,0,e.notification.data.diffusionType),n(l,180,0,"baskets"!=e.notification.event_id),n(l,183,0,"group"==e.notification.diffusion_type),n(l,185,0,"user"==e.notification.diffusion_type),n(l,187,0,"entity"==e.notification.diffusion_type),n(l,189,0,"dest_user"==e.notification.diffusion_type||"copy_list"==e.notification.diffusion_type||"dest_entity"==e.notification.diffusion_type||"dest_user_visa"==e.notification.diffusion_type||"dest_user_sign"==e.notification.diffusion_type),n(l,193,0,!bi(l,6).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,22,1,[Wt(1,"",e.lang.id,""),bi(l,24).required?"":null,bi(l,25).maxlength?bi(l,25).maxlength:null,bi(l,26).pattern?bi(l,26).pattern:null,bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32)._isServer,bi(l,32).id,bi(l,32).placeholder,bi(l,32).disabled,bi(l,32).required,bi(l,32).readonly&&!bi(l,32)._isNativeSelect||null,bi(l,32)._ariaDescribedby||null,bi(l,32).errorState,bi(l,32).required.toString()]),n(l,36,1,["standard"==bi(l,37).appearance,"fill"==bi(l,37).appearance,"outline"==bi(l,37).appearance,"legacy"==bi(l,37).appearance,bi(l,37)._control.errorState,bi(l,37)._canLabelFloat,bi(l,37)._shouldLabelFloat(),bi(l,37)._hasFloatingLabel(),bi(l,37)._hideControlPlaceholder(),bi(l,37)._control.disabled,bi(l,37)._control.autofilled,bi(l,37)._control.focused,"accent"==bi(l,37).color,"warn"==bi(l,37).color,bi(l,37)._shouldForward("untouched"),bi(l,37)._shouldForward("touched"),bi(l,37)._shouldForward("pristine"),bi(l,37)._shouldForward("dirty"),bi(l,37)._shouldForward("valid"),bi(l,37)._shouldForward("invalid"),bi(l,37)._shouldForward("pending"),!bi(l,37)._animationsEnabled]),n(l,47,1,[Wt(1,"",e.lang.description,""),bi(l,49).required?"":null,bi(l,50).maxlength?bi(l,50).maxlength:null,bi(l,55).ngClassUntouched,bi(l,55).ngClassTouched,bi(l,55).ngClassPristine,bi(l,55).ngClassDirty,bi(l,55).ngClassValid,bi(l,55).ngClassInvalid,bi(l,55).ngClassPending,bi(l,56)._isServer,bi(l,56).id,bi(l,56).placeholder,bi(l,56).disabled,bi(l,56).required,bi(l,56).readonly&&!bi(l,56)._isNativeSelect||null,bi(l,56)._ariaDescribedby||null,bi(l,56).errorState,bi(l,56).required.toString()]),n(l,60,1,["standard"==bi(l,61).appearance,"fill"==bi(l,61).appearance,"outline"==bi(l,61).appearance,"legacy"==bi(l,61).appearance,bi(l,61)._control.errorState,bi(l,61)._canLabelFloat,bi(l,61)._shouldLabelFloat(),bi(l,61)._hasFloatingLabel(),bi(l,61)._hideControlPlaceholder(),bi(l,61)._control.disabled,bi(l,61)._control.autofilled,bi(l,61)._control.focused,"accent"==bi(l,61).color,"warn"==bi(l,61).color,bi(l,61)._shouldForward("untouched"),bi(l,61)._shouldForward("touched"),bi(l,61)._shouldForward("pristine"),bi(l,61)._shouldForward("dirty"),bi(l,61)._shouldForward("valid"),bi(l,61)._shouldForward("invalid"),bi(l,61)._shouldForward("pending"),!bi(l,61)._animationsEnabled]),n(l,71,1,[Wt(1,"",e.lang.NotificationEvent,""),bi(l,73).required?"":null,bi(l,77).ngClassUntouched,bi(l,77).ngClassTouched,bi(l,77).ngClassPristine,bi(l,77).ngClassDirty,bi(l,77).ngClassValid,bi(l,77).ngClassInvalid,bi(l,77).ngClassPending,bi(l,78).id,bi(l,78).tabIndex,bi(l,78)._getAriaLabel(),bi(l,78)._getAriaLabelledby(),bi(l,78).required.toString(),bi(l,78).disabled.toString(),bi(l,78).errorState,bi(l,78).panelOpen?bi(l,78)._optionIds:null,bi(l,78).multiple,bi(l,78)._ariaDescribedby||null,bi(l,78)._getAriaActiveDescendant(),bi(l,78).disabled,bi(l,78).errorState,bi(l,78).required,bi(l,78).empty]),n(l,83,0,bi(l,84).disabled,bi(l,84).disabled.toString(),bi(l,84)._labelId),n(l,87,0,bi(l,88).disabled,bi(l,88).disabled.toString(),bi(l,88)._labelId),n(l,93,1,["standard"==bi(l,94).appearance,"fill"==bi(l,94).appearance,"outline"==bi(l,94).appearance,"legacy"==bi(l,94).appearance,bi(l,94)._control.errorState,bi(l,94)._canLabelFloat,bi(l,94)._shouldLabelFloat(),bi(l,94)._hasFloatingLabel(),bi(l,94)._hideControlPlaceholder(),bi(l,94)._control.disabled,bi(l,94)._control.autofilled,bi(l,94)._control.focused,"accent"==bi(l,94).color,"warn"==bi(l,94).color,bi(l,94)._shouldForward("untouched"),bi(l,94)._shouldForward("touched"),bi(l,94)._shouldForward("pristine"),bi(l,94)._shouldForward("dirty"),bi(l,94)._shouldForward("valid"),bi(l,94)._shouldForward("invalid"),bi(l,94)._shouldForward("pending"),!bi(l,94)._animationsEnabled]),n(l,104,1,[Wt(1,"",e.lang.notificationModel,""),bi(l,106).required?"":null,bi(l,110).ngClassUntouched,bi(l,110).ngClassTouched,bi(l,110).ngClassPristine,bi(l,110).ngClassDirty,bi(l,110).ngClassValid,bi(l,110).ngClassInvalid,bi(l,110).ngClassPending,bi(l,111).id,bi(l,111).tabIndex,bi(l,111)._getAriaLabel(),bi(l,111)._getAriaLabelledby(),bi(l,111).required.toString(),bi(l,111).disabled.toString(),bi(l,111).errorState,bi(l,111).panelOpen?bi(l,111)._optionIds:null,bi(l,111).multiple,bi(l,111)._ariaDescribedby||null,bi(l,111)._getAriaActiveDescendant(),bi(l,111).disabled,bi(l,111).errorState,bi(l,111).required,bi(l,111).empty]),n(l,119,1,["standard"==bi(l,120).appearance,"fill"==bi(l,120).appearance,"outline"==bi(l,120).appearance,"legacy"==bi(l,120).appearance,bi(l,120)._control.errorState,bi(l,120)._canLabelFloat,bi(l,120)._shouldLabelFloat(),bi(l,120)._hasFloatingLabel(),bi(l,120)._hideControlPlaceholder(),bi(l,120)._control.disabled,bi(l,120)._control.autofilled,bi(l,120)._control.focused,"accent"==bi(l,120).color,"warn"==bi(l,120).color,bi(l,120)._shouldForward("untouched"),bi(l,120)._shouldForward("touched"),bi(l,120)._shouldForward("pristine"),bi(l,120)._shouldForward("dirty"),bi(l,120)._shouldForward("valid"),bi(l,120)._shouldForward("invalid"),bi(l,120)._shouldForward("pending"),!bi(l,120)._animationsEnabled]),n(l,130,1,[Wt(1,"",e.lang.attachment,""),bi(l,133).ngClassUntouched,bi(l,133).ngClassTouched,bi(l,133).ngClassPristine,bi(l,133).ngClassDirty,bi(l,133).ngClassValid,bi(l,133).ngClassInvalid,bi(l,133).ngClassPending,bi(l,134).id,bi(l,134).tabIndex,bi(l,134)._getAriaLabel(),bi(l,134)._getAriaLabelledby(),bi(l,134).required.toString(),bi(l,134).disabled.toString(),bi(l,134).errorState,bi(l,134).panelOpen?bi(l,134)._optionIds:null,bi(l,134).multiple,bi(l,134)._ariaDescribedby||null,bi(l,134)._getAriaActiveDescendant(),bi(l,134).disabled,bi(l,134).errorState,bi(l,134).required,bi(l,134).empty]),n(l,140,0,bi(l,141)._getTabIndex(),bi(l,141).selected,bi(l,141).multiple,bi(l,141).active,bi(l,141).id,bi(l,141)._getAriaSelected(),bi(l,141).disabled.toString(),bi(l,141).disabled),n(l,142,0,e.lang.noAttachment),n(l,143,0,bi(l,144)._getTabIndex(),bi(l,144).selected,bi(l,144).multiple,bi(l,144).active,bi(l,144).id,bi(l,144)._getAriaSelected(),bi(l,144).disabled.toString(),bi(l,144).disabled),n(l,145,0,e.lang.notificationJoinDocument),n(l,148,1,["standard"==bi(l,149).appearance,"fill"==bi(l,149).appearance,"outline"==bi(l,149).appearance,"legacy"==bi(l,149).appearance,bi(l,149)._control.errorState,bi(l,149)._canLabelFloat,bi(l,149)._shouldLabelFloat(),bi(l,149)._hasFloatingLabel(),bi(l,149)._hideControlPlaceholder(),bi(l,149)._control.disabled,bi(l,149)._control.autofilled,bi(l,149)._control.focused,"accent"==bi(l,149).color,"warn"==bi(l,149).color,bi(l,149)._shouldForward("untouched"),bi(l,149)._shouldForward("touched"),bi(l,149)._shouldForward("pristine"),bi(l,149)._shouldForward("dirty"),bi(l,149)._shouldForward("valid"),bi(l,149)._shouldForward("invalid"),bi(l,149)._shouldForward("pending"),!bi(l,149)._animationsEnabled]),n(l,159,1,[Wt(1,"",e.lang.sendTo,""),bi(l,161).required?"":null,bi(l,165).ngClassUntouched,bi(l,165).ngClassTouched,bi(l,165).ngClassPristine,bi(l,165).ngClassDirty,bi(l,165).ngClassValid,bi(l,165).ngClassInvalid,bi(l,165).ngClassPending,bi(l,166).id,bi(l,166).tabIndex,bi(l,166)._getAriaLabel(),bi(l,166)._getAriaLabelledby(),bi(l,166).required.toString(),bi(l,166).disabled.toString(),bi(l,166).errorState,bi(l,166).panelOpen?bi(l,166)._optionIds:null,bi(l,166).multiple,bi(l,166)._ariaDescribedby||null,bi(l,166)._getAriaActiveDescendant(),bi(l,166).disabled,bi(l,166).errorState,bi(l,166).required,bi(l,166).empty]),n(l,175,0,bi(l,176).disabled,bi(l,176).disabled.toString(),bi(l,176)._labelId),n(l,192,0,bi(l,193).disabled||null,"NoopAnimations"===bi(l,193)._animationMode),n(l,194,0,e.lang.save)}))}function WQ(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),(n()(),_o(1,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,_Q)),(n()(),_o(6,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(7,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(8,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(10,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(12,114688,null,0,GO,[_u],null,null),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(15,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(16,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,yQ)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,GQ)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,7,0),n(l,12,0),n(l,15,0),n(l,20,0,e.loading),n(l,22,0,!e.loading)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,6,0,bi(l,7)._container._contentMargins.left,bi(l,7)._container._contentMargins.right),n(l,9,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode())}))}function KQ(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,WQ,fQ)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,mQ,[nS,Zp,uf,tu,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var YQ=oi("ng-component",mQ,KQ,{},{},[]),JQ=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.headerService=e,this.dialog=t,this.functions=i,this.latinisePipe=a,this.privilegeService=o,this.lang=Kr,this.loading=!1,this.fullHistoryMode=!0,this.filtersChange=new la,this.displayedColumnsHistory=["event_date","userLabel","info","remote_ip"],this.isLoadingResults=!0,this.routeUrl="../../rest/history",this.filterListUrl="../../rest/history/availableFilters",this.extraParamUrl="",this.resultsLength=0,this.searchHistory=new sy,this.startDateFilter="",this.endDateFilter="",this.filterUrl="",this.filterList=null,this.filteredList={},this.filterUsed={},this.filterColor={startDate:"#b5cfd8",endDate:"#7393a7",actions:"#7d5ba6",systemActions:"#7d5ba6",users:"#009dc5"},this.loadingFilters=!0,this.resId=null,this.destroy$=new M}return n.prototype.ngOnInit=function(){null!==this.resId?(this.displayedColumnsHistory=["event_date","info"],this.fullHistoryMode=!this.privilegeService.hasCurrentUserPrivilege("view_doc_history")):this.displayedColumnsHistory=["event_date","record_id","userLabel","info","remote_ip"],this.loading=!0,this.initHistoryMode(),this.initHistoryList()},n.prototype.switchHistoryMode=function(){this.fullHistoryMode=!this.fullHistoryMode,this.initHistoryMode(),this.refreshDao()},n.prototype.resetFilter=function(){this.loadingFilters=!0,this.filterList=null,this.filterUsed={},this.filterUrl=""},n.prototype.initHistoryMode=function(){this.resetFilter(),this.fullHistoryMode?(this.extraParamUrl=null!==this.resId?"&resId="+this.resId:"",this.filterListUrl=null!==this.resId?"../../rest/history/availableFilters?resId="+this.resId:"../../rest/history/availableFilters"):(this.extraParamUrl=null!==this.resId?"&resId="+this.resId+"&onlyActions=true":"&onlyActions=true",this.filterListUrl=null!==this.resId?"../../rest/history/availableFilters?resId="+this.resId+"&onlyActions=true":"../../rest/history/availableFilters?onlyActions=true")},n.prototype.initHistoryList=function(){var n=this;this.resultListDatabase=new ZQ(this.http),this.paginator.pageIndex=0,this.sort.active="event_date",this.sort.direction="desc",this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){n.isLoadingResults=!0;var l="";return n.functions.empty(n.searchHistory.value)||(l="&search="+n.searchHistory.value),n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.routeUrl,n.filterUrl,n.extraParamUrl,l)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.count,l.history})),Qr((function(l){return n.notify.handleErrors(l),n.isLoadingResults=!1,lu([])}))).subscribe((function(l){return n.data=l}))},n.prototype.processPostData=function(n){var l=this;return n.history=n.history.map((function(n){return Object(t.__assign)({},n,{userLabel:l.functions.empty(n.userLabel)?l.lang.userDeleted:n.userLabel})})),n},n.prototype.refreshDao=function(){this.paginator.pageIndex=0,this.filtersChange.emit()},n.prototype.initFilterListHistory=function(){var n=this;null===this.filterList&&(this.filterList={},this.filterUsed={},this.filterUrl="",this.loadingFilters=!0,this.http.get(this.filterListUrl).pipe(q((function(l){var e=l.actions.filter((function(n){return null===n.label})).map((function(n){return n.id})),t=l.users.filter((function(n){return null===n.label})).map((function(n){return n.login}));return l.actions=l.actions.filter((function(n){return null!==n.label})),e.length>0&&l.actions.push({id:e,label:n.lang.actionDeleted}),l.users=l.users.filter((function(n){return null!==n.label})),t.length>0&&l.users.push({id:t,label:n.lang.userDeleted}),l.systemActions=l.systemActions.map((function(l){return{id:l.id,label:n.functions.empty(n.lang[l.id])?l.id:n.lang[l.id]}})),l})),Yr((function(l){Object.keys(l).forEach((function(e){n.functions.empty(n.filterList[e])&&(n.filterList[e]=[],n.filteredList[e]=[]),l[e].forEach((function(l){n.filterList[e].push(l)})),n.filteredList[e]=n.searchHistory.valueChanges.pipe(Pc(""),q((function(l){return l?n.filter(l,e):n.filterList[e].slice()})))}))})),iu((function(){return n.loadingFilters=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe())},n.prototype.filterStartDate=function(){this.functions.empty(this.filterUsed.startDate)&&(this.filterUsed.startDate=[]),this.filterUsed.startDate[0]={id:this.functions.empty(this.startDateFilter)?"":this.functions.formatDateObjectToDateString(this.startDateFilter),label:this.functions.empty(this.startDateFilter)?"":this.functions.formatDateObjectToDateString(this.startDateFilter)},this.generateUrlFilter(),this.refreshDao()},n.prototype.filterEndDate=function(){this.functions.empty(this.filterUsed.endDate)&&(this.filterUsed.endDate=[]),this.filterUsed.endDate[0]={id:this.functions.empty(this.endDateFilter)?"":this.functions.formatDateObjectToDateString(this.endDateFilter,!0),label:this.functions.empty(this.endDateFilter)?"":this.functions.formatDateObjectToDateString(this.endDateFilter)},this.generateUrlFilter(),this.refreshDao()},n.prototype.addItemFilter=function(n){n.value.used=!0,this.functions.empty(this.filterUsed[n.id])&&(this.filterUsed[n.id]=[]),this.filterUsed[n.id].push(n.value),this.generateUrlFilter(),this.searchHistory.reset(),this.autoCompleteInput.nativeElement.blur(),this.refreshDao()},n.prototype.removeItemFilter=function(n,l,e){n.used=!1,this.filterUsed[l].splice(e,1),this.generateUrlFilter(),this.refreshDao()},n.prototype.generateUrlFilter=function(){var n=this;this.filterUrl="";var l=[];Object.keys(this.filterUsed).forEach((function(e){n.filterUsed[e].forEach((function(t){n.functions.empty(t.id)||(["startDate","endDate"].indexOf(e)>-1?l.push(e+"="+t.id):l.push(e+"[]="+t.id))}))})),l.length>0&&(this.filterUrl="&"+l.join("&"))},n.prototype.directSearchHistory=function(){this.refreshDao()},n.prototype.filter=function(n,l){var e=this;if("string"==typeof n){var t=this.latinisePipe.transform(n.toLowerCase());return this.filterList[l].filter((function(n){return e.latinisePipe.transform(n.label.toLowerCase()).includes(t)}))}return this.filterList[l]},n}(),ZQ=function(){function n(n){this.http=n}return n.prototype.getRepoIssues=function(n,l,e,t,i,a,o){return this.http.get(t+"?limit=10&offset="+10*e+"&order="+l+"&orderBy="+n+i+a+o)},n}(),QQ=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.paginatorResultList[_ngcontent-%COMP%] .mat-paginator-range-label{-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex}.filterList[_ngcontent-%COMP%] .mat-optgroup-label{color:#135f7f;position:-webkit-sticky;position:sticky;top:0;background:#fff!important;z-index:1}.label[_ngcontent-%COMP%]{cursor:pointer;margin:5px}.bg-head-content[_ngcontent-%COMP%] .mat-focused .mat-form-field-label{color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-form-field-underline{background-color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-form-field-ripple{background-color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-datepicker-toggle[_ngcontent-%COMP%], .bg-head-content[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff}.table-admin[_ngcontent-%COMP%]{height:90%;overflow:auto;position:absolute;width:100%}.smallText[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:10px;opacity:.5;width:150px;-webkit-box-flex:initial;flex:initial}"]],data:{}});function XQ(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function nX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,XQ)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function lX(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,2,"div",[["style","display: flex;justify-content: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(4,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,4,0,"35")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,bi(l,4)._noopAnimations,bi(l,4).diameter,bi(l,4).diameter)}))}function eX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[4,"color",null],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"],id:[1,"id"],disabled:[2,"disabled"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit,l.parent.parent.context.$implicit.key,l.context.$implicit.used)}),(function(n,l){n(l,0,0,l.context.$implicit.used?"":l.component.filterColor[l.parent.parent.context.$implicit.key],bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function tX(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","filterList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[14,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,eX)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang[l.parent.context.$implicit.key]);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredList[l.parent.context.$implicit.key])),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function iX(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,tX)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e,t=l.component;n(l,2,0,(null==(e=bt(l,2,0,bi(l,3).transform(t.filteredList[l.context.$implicit.key])))?null:e.length)>0)}),null)}function aX(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,iX)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.filterList)))}),null)}function oX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.switchHistoryMode()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas mat-icon notranslate"],["role","img"]],[[2,"fa-exchange-alt",null],[2,"fa-history",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){var e=l.component;n(l,0,0,e.fullHistoryMode?e.lang.viewActionsHistory:e.lang.viewAllHistory,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.fullHistoryMode,!e.fullHistoryMode,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function rX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label"]],[[4,"background",null],[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeItemFilter(n.context.$implicit,n.parent.parent.context.$implicit.key,n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.filterColor[l.parent.parent.context.$implicit.key],e.lang[l.parent.parent.context.$implicit.key]),n(l,1,0,l.context.$implicit.label)}))}function uX(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,rX)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.filterUsed[l.parent.context.$implicit.key])}),null)}function sX(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,uX)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(3,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=-1===n(l,3,0,"startDate","endDate").indexOf(l.context.$implicit.key);n(l,2,0,e)}),null)}function cX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.event)}))}function dX(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","font-size: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.userLabel)}))}function pX(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],[[8,"title",0],[2,"smallText",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),Fi(0,wG,[$S]),(n()(),vo(16777216,null,null,1,null,dX)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),Fi(131072,xG,[Nl,La]),Fo(8,1)],(function(n,l){n(l,4,0,null!==l.component.resId)}),(function(n,l){var e=l.component;n(l,0,0,bt(l,0,0,bi(l,2).transform(l.context.$implicit.event_date)),null!==e.resId);var t=bt(l,6,0,n(l,8,0,bi(l.parent,1),bt(l,6,0,bi(l,7).transform(l.context.$implicit.event_date,"full"))));n(l,6,0,t)}))}function mX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.technicalId)}))}function fX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.record_id)}))}function hX(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""])),Fo(4,1)],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled());var t=bt(l,3,0,n(l,4,0,bi(l.parent,1),e.lang.user));n(l,3,0,t)}))}function gX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.userLabel)}))}function bX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex: 2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.information)}))}function vX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex: 2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.info)}))}function _X(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.ip)}))}function yX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.remote_ip)}))}function wX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function xX(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(0,null,null,2,null,wX)),Di(2,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[17,4]],qL,null,[rR])],(function(n,l){n(l,2,0,l.component.displayedColumnsHistory)}),null)}function CX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function kX(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,ZS,[]),ko(402653184,1,{paginator:0}),ko(402653184,2,{sort:0}),ko(402653184,3,{autoCompleteInput:0}),(n()(),vo(16777216,null,null,1,null,nX)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,47,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,41,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,40,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.directSearchHistory()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,null,0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,35,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"],["style","font-size: 13px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(15,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(25,16777216,[[3,0],["autoCompleteInput",1]],1,10,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["type","text"]],[[1,"maxlength",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,26)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,26)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,26)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,29)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,29)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,29)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,29)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,34)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,34)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,34)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(26,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(27,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Di(29,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(31,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(33,16384,null,0,y_,[[4,v_]],null,null),Di(34,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(36,0,null,1,8,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"],[null,"opened"]],(function(n,l,e){var t=!0,i=n.component;return"optionSelected"===l&&(t=!1!==i.addItemFilter(e.option)&&t),"opened"===l&&(t=!1!==i.initFilterListHistory()&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(38,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected",opened:"opened"}),ko(603979776,13,{options:1}),ko(603979776,14,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,lX)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,aX)),Di(44,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(45,0,null,4,4,"button",[["mat-button",""],["mat-icon-button",""],["matSuffix",""],["style","float: right"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.directSearchHistory()&&t),t}),PC,MC)),Di(46,16384,[[12,4]],0,oT,[],null,null),Di(47,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(48,0,null,0,1,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(49,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(16777216,null,null,1,null,oX)),Di(51,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(52,0,null,null,2,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(53,0,null,null,1,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(54,245760,[[1,4],["paginatorHistoryList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(55,0,null,null,84,"div",[],[[2,"table-admin",null]],null,null,null,null)),(n()(),_o(56,0,null,null,3,"div",[["class","filterBadges"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,sX)),Di(58,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),_o(60,0,null,null,77,"mat-table",[["class","mat-table"],["id","history-list"],["matSort",""],["matSortActive","event_date"],["matSortDirection","desc"],["style","width:100%;"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(62,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,15,{_contentColumnDefs:1}),ko(603979776,16,{_contentRowDefs:1}),ko(603979776,17,{_contentHeaderRowDefs:1}),ko(603979776,18,{_contentFooterRowDefs:1}),Di(67,737280,[[2,4],["tableHistoryListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,19,{cell:0}),ko(603979776,20,{headerCell:0}),ko(603979776,21,{footerCell:0}),Ei(2048,[[15,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,cX)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[20,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,pX)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[19,4]],OL,null,[eR]),(n()(),_o(81,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(83,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[15,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,mX)),Di(89,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,fX)),Di(92,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(94,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(96,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[15,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,hX)),Di(102,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,gX)),Di(105,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(107,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(109,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[15,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,bX)),Di(115,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,vX)),Di(118,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(120,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(122,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[15,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,_X)),Di(128,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,yX)),Di(131,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),vo(16777216,null,null,1,null,xX)),Di(134,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,2,null,CX)),Di(136,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[16,4]],UL,null,[uR]),(n()(),_o(138,0,null,null,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(139,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,6,0,e.isLoadingResults),n(l,15,0,"never"),n(l,27,0,"128"),n(l,29,0,bi(l,38)),n(l,31,0,e.searchHistory),n(l,34,0,e.lang.filterBy,"text"),n(l,42,0,e.loadingFilters),n(l,44,0,null!==e.filterList&&!e.loadingFilters),n(l,49,0,"primary"),n(l,51,0,e.privilegeService.hasCurrentUserPrivilege("view_full_history")&&e.privilegeService.hasCurrentUserPrivilege("view_doc_history")),n(l,54,0,e.resultsLength,10,!0),n(l,58,0,bt(l,58,0,bi(l,59).transform(e.filterUsed))),n(l,62,0,e.data),n(l,67,0,"event_date","desc"),n(l,70,0,"event_date"),n(l,83,0,"record_id"),n(l,96,0,"userLabel"),n(l,109,0,"info"),n(l,122,0,"remote_ip"),n(l,134,0,null===e.resId),n(l,136,0,e.displayedColumnsHistory)}),(function(n,l){var e=l.component;n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,14,1,["standard"==bi(l,15).appearance,"fill"==bi(l,15).appearance,"outline"==bi(l,15).appearance,"legacy"==bi(l,15).appearance,bi(l,15)._control.errorState,bi(l,15)._canLabelFloat,bi(l,15)._shouldLabelFloat(),bi(l,15)._hasFloatingLabel(),bi(l,15)._hideControlPlaceholder(),bi(l,15)._control.disabled,bi(l,15)._control.autofilled,bi(l,15)._control.focused,"accent"==bi(l,15).color,"warn"==bi(l,15).color,bi(l,15)._shouldForward("untouched"),bi(l,15)._shouldForward("touched"),bi(l,15)._shouldForward("pristine"),bi(l,15)._shouldForward("dirty"),bi(l,15)._shouldForward("valid"),bi(l,15)._shouldForward("invalid"),bi(l,15)._shouldForward("pending"),!bi(l,15)._animationsEnabled]),n(l,25,1,[bi(l,27).maxlength?bi(l,27).maxlength:null,bi(l,29).autocompleteAttribute,bi(l,29).autocompleteDisabled?null:"combobox",bi(l,29).autocompleteDisabled?null:"list",bi(l,29).panelOpen&&bi(l,29).activeOption?bi(l,29).activeOption.id:null,bi(l,29).autocompleteDisabled?null:bi(l,29).panelOpen.toString(),bi(l,29).autocompleteDisabled||!bi(l,29).panelOpen?null:null==bi(l,29).autocomplete?null:bi(l,29).autocomplete.id,!bi(l,29).autocompleteDisabled,bi(l,33).ngClassUntouched,bi(l,33).ngClassTouched,bi(l,33).ngClassPristine,bi(l,33).ngClassDirty,bi(l,33).ngClassValid,bi(l,33).ngClassInvalid,bi(l,33).ngClassPending,bi(l,34)._isServer,bi(l,34).id,bi(l,34).placeholder,bi(l,34).disabled,bi(l,34).required,bi(l,34).readonly&&!bi(l,34)._isNativeSelect||null,bi(l,34)._ariaDescribedby||null,bi(l,34).errorState,bi(l,34).required.toString()]),n(l,45,0,e.lang.search,bi(l,47).disabled||null,"NoopAnimations"===bi(l,47)._animationMode),n(l,48,0,bi(l,49).inline,"primary"!==bi(l,49).color&&"accent"!==bi(l,49).color&&"warn"!==bi(l,49).color),n(l,55,0,null===e.resId),n(l,139,0,e.resultsLength,e.lang.elements)}))}var SX=function(){function n(n,l,e,t,i,a){this.http=n,this.appService=l,this.functions=e,this.privilegeService=t,this.headerService=i,this.viewContainerRef=a,this.lang=Kr,this.startDateFilter="",this.endDateFilter="",this.subMenus=[{icon:"fa fa-history",route:"/administration/history",label:this.lang.history,current:!0},{icon:"fa fa-history",route:"/administration/history-batch",label:this.lang.historyBatch,current:!1}]}return n.prototype.ngOnInit=function(){this.headerService.setHeader(this.lang.administration+" "+this.lang.history.toLowerCase(),"",""),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.subMenus=this.privilegeService.hasCurrentUserPrivilege("view_history_batch")?[{icon:"fa fa-history",route:"/administration/history",label:this.lang.history,current:!0},{icon:"fa fa-history",route:"/administration/history-batch",label:this.lang.historyBatch,current:!1}]:[{icon:"fa fa-history",route:"/administration/history",label:this.lang.history,current:!0}]},n}(),IX=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.paginatorResultList[_ngcontent-%COMP%] .mat-paginator-range-label{-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex}.filterList[_ngcontent-%COMP%] .mat-optgroup-label{color:#135f7f;position:-webkit-sticky;position:sticky;top:0;background:#fff!important;z-index:1}.label[_ngcontent-%COMP%]{cursor:pointer;margin:5px}.bg-head-content[_ngcontent-%COMP%] .mat-focused .mat-form-field-label{color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-form-field-underline{background-color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-form-field-ripple{background-color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-datepicker-toggle[_ngcontent-%COMP%], .bg-head-content[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff}"]],data:{}});function AX(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,5,{_lines:1}),ko(603979776,6,{_avatar:0}),ko(603979776,7,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[7,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[5,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function MX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,AX)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.subMenus)}),null)}function PX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[16,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,17,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,47))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function DX(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(e.stopPropagation(),bi(n.parent,84).startDateFilter="",t=!1!==bi(n.parent,84).filterStartDate()&&t),t}),PC,MC)),Di(1,16384,[[16,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function FX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[26,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,27,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,78))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function EX(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(e.stopPropagation(),bi(n.parent,84).endDateFilter="",t=!1!==bi(n.parent,84).filterEndDate()&&t),t}),PC,MC)),Di(1,16384,[[26,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function OX(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{appHistoryList:0}),(n()(),_o(2,0,null,null,82,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,MX)),(n()(),_o(7,0,null,1,77,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,71,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,63,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,null,62,"div",[["style","display: grid;grid-template-columns: repeat(2, 1fr);grid-gap: 10px;width: 100%;"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,30,"mat-form-field",[["class","dateFilter mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,47).open()&&t),t}),kT,pT)),Di(20,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,8,{_controlNonStatic:0}),ko(335544320,9,{_controlStatic:0}),ko(603979776,10,{_labelChildNonStatic:0}),ko(335544320,11,{_labelChildStatic:0}),ko(603979776,12,{_placeholderChild:0}),ko(603979776,13,{_errorChildren:1}),ko(603979776,14,{_hintChildren:1}),ko(603979776,15,{_prefixChildren:1}),ko(603979776,16,{_suffixChildren:1}),(n()(),_o(30,0,null,3,2,"mat-label",[["style","color:white;"]],null,null,null,null,null)),Di(31,16384,[[10,4],[11,4]],0,iT,[],null,null),(n()(),Lo(32,null,[""," "])),(n()(),_o(33,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,34)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,34).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,34)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,34)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,35)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,35)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,35)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,35)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,42)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,42)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,42)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(bi(n,84).startDateFilter=e)&&t),"dateChange"===l&&(t=!1!==bi(n,84).filterStartDate()&&t),t}),null,null)),Di(34,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(35,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},{dateChange:"dateChange"}),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(38,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(40,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(42,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[8,4],[9,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,PX)),Di(45,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(46,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(47,180224,[["startPicker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,DX)),Di(49,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(50,0,null,null,30,"mat-form-field",[["class","dateFilter mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,78).open()&&t),t}),kT,pT)),Di(51,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,18,{_controlNonStatic:0}),ko(335544320,19,{_controlStatic:0}),ko(603979776,20,{_labelChildNonStatic:0}),ko(335544320,21,{_labelChildStatic:0}),ko(603979776,22,{_placeholderChild:0}),ko(603979776,23,{_errorChildren:1}),ko(603979776,24,{_hintChildren:1}),ko(603979776,25,{_prefixChildren:1}),ko(603979776,26,{_suffixChildren:1}),(n()(),_o(61,0,null,3,2,"mat-label",[["style","color:white;"]],null,null,null,null,null)),Di(62,16384,[[20,4],[21,4]],0,iT,[],null,null),(n()(),Lo(63,null,[""," "])),(n()(),_o(64,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,65)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,65).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,65)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,65)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,66)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,66)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,66)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,66)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,73)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,73)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,73)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(bi(n,84).endDateFilter=e)&&t),"dateChange"===l&&(t=!1!==bi(n,84).filterEndDate()&&t),t}),null,null)),Di(65,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(66,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},{dateChange:"dateChange"}),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(69,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(71,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(73,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[18,4],[19,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,FX)),Di(76,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(77,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(78,180224,[["endPicker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,EX)),Di(80,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(81,0,null,0,3,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(82,0,null,null,2,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),_o(83,0,null,null,1,"app-history-list",[],null,null,null,kX,QQ)),Di(84,114688,[[2,4],["appHistoryList",4]],0,JQ,[nS,tu,_u,Jv,$S,QS,TI],null,null)],(function(n,l){var e=l.component;n(l,3,0,""),n(l,8,0),n(l,13,0),n(l,16,0),n(l,35,0,bi(l,47),bi(l,84).endDateFilter),n(l,38,0,bi(l,84).startDateFilter),n(l,42,0,e.lang.since,""),n(l,45,0,!bi(l,84).startDateFilter),n(l,47,0,e.appService.getViewMode()),n(l,49,0,bi(l,84).startDateFilter),n(l,66,0,bi(l,78),bi(l,84).startDateFilter),n(l,69,0,bi(l,84).endDateFilter),n(l,73,0,e.lang.until,""),n(l,76,0,!bi(l,84).endDateFilter),n(l,78,0,e.appService.getViewMode()),n(l,80,0,bi(l,84).endDateFilter),n(l,84,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,19,1,["standard"==bi(l,20).appearance,"fill"==bi(l,20).appearance,"outline"==bi(l,20).appearance,"legacy"==bi(l,20).appearance,bi(l,20)._control.errorState,bi(l,20)._canLabelFloat,bi(l,20)._shouldLabelFloat(),bi(l,20)._hasFloatingLabel(),bi(l,20)._hideControlPlaceholder(),bi(l,20)._control.disabled,bi(l,20)._control.autofilled,bi(l,20)._control.focused,"accent"==bi(l,20).color,"warn"==bi(l,20).color,bi(l,20)._shouldForward("untouched"),bi(l,20)._shouldForward("touched"),bi(l,20)._shouldForward("pristine"),bi(l,20)._shouldForward("dirty"),bi(l,20)._shouldForward("valid"),bi(l,20)._shouldForward("invalid"),bi(l,20)._shouldForward("pending"),!bi(l,20)._animationsEnabled]),n(l,32,0,e.lang.since),n(l,33,1,[bi(l,35)._datepicker?"dialog":null,(null==bi(l,35)._datepicker?null:bi(l,35)._datepicker.opened)&&bi(l,35)._datepicker.id||null,bi(l,35).min?bi(l,35)._dateAdapter.toIso8601(bi(l,35).min):null,bi(l,35).max?bi(l,35)._dateAdapter.toIso8601(bi(l,35).max):null,bi(l,35).disabled,bi(l,40).ngClassUntouched,bi(l,40).ngClassTouched,bi(l,40).ngClassPristine,bi(l,40).ngClassDirty,bi(l,40).ngClassValid,bi(l,40).ngClassInvalid,bi(l,40).ngClassPending,bi(l,42)._isServer,bi(l,42).id,bi(l,42).placeholder,bi(l,42).disabled,bi(l,42).required,bi(l,42).readonly&&!bi(l,42)._isNativeSelect||null,bi(l,42)._ariaDescribedby||null,bi(l,42).errorState,bi(l,42).required.toString()]),n(l,50,1,["standard"==bi(l,51).appearance,"fill"==bi(l,51).appearance,"outline"==bi(l,51).appearance,"legacy"==bi(l,51).appearance,bi(l,51)._control.errorState,bi(l,51)._canLabelFloat,bi(l,51)._shouldLabelFloat(),bi(l,51)._hasFloatingLabel(),bi(l,51)._hideControlPlaceholder(),bi(l,51)._control.disabled,bi(l,51)._control.autofilled,bi(l,51)._control.focused,"accent"==bi(l,51).color,"warn"==bi(l,51).color,bi(l,51)._shouldForward("untouched"),bi(l,51)._shouldForward("touched"),bi(l,51)._shouldForward("pristine"),bi(l,51)._shouldForward("dirty"),bi(l,51)._shouldForward("valid"),bi(l,51)._shouldForward("invalid"),bi(l,51)._shouldForward("pending"),!bi(l,51)._animationsEnabled]),n(l,63,0,e.lang.until),n(l,64,1,[bi(l,66)._datepicker?"dialog":null,(null==bi(l,66)._datepicker?null:bi(l,66)._datepicker.opened)&&bi(l,66)._datepicker.id||null,bi(l,66).min?bi(l,66)._dateAdapter.toIso8601(bi(l,66).min):null,bi(l,66).max?bi(l,66)._dateAdapter.toIso8601(bi(l,66).max):null,bi(l,66).disabled,bi(l,71).ngClassUntouched,bi(l,71).ngClassTouched,bi(l,71).ngClassPristine,bi(l,71).ngClassDirty,bi(l,71).ngClassValid,bi(l,71).ngClassInvalid,bi(l,71).ngClassPending,bi(l,73)._isServer,bi(l,73).id,bi(l,73).placeholder,bi(l,73).disabled,bi(l,73).required,bi(l,73).readonly&&!bi(l,73)._isNativeSelect||null,bi(l,73)._ariaDescribedby||null,bi(l,73).errorState,bi(l,73).required.toString()]),n(l,81,0,e.appService.getViewMode())}))}function TX(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"admin-history",[],null,null,null,OX,IX)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,SX,[nS,yu,$S,TI,_u,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var LX=oi("admin-history",SX,TX,{},{},[]),RX=function(){function n(n,l,e,t,i,a,o,r,u){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.latinisePipe=o,this.privilegeService=r,this.viewContainerRef=u,this.lang=Kr,this.loading=!1,this.filtersChange=new la,this.displayedColumnsHistory=["event_date","total_processed","total_errors","info","module_name"],this.isLoadingResults=!0,this.routeUrl="../../rest/batchHistory",this.resultsLength=0,this.searchHistory=new sy,this.startDateFilter="",this.endDateFilter="",this.filterUrl="",this.filterList=null,this.filteredList={},this.filterUsed={},this.filterColor={startDate:"#b5cfd8",endDate:"#7393a7",totalErrors:"#fc6471",modules:"#009dc5"},this.loadingFilters=!0,this.destroy$=new M,this.subMenus=[]}return n.prototype.ngOnInit=function(){this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.subMenus=this.privilegeService.hasCurrentUserPrivilege("view_history")?[{icon:"fa fa-history",route:"/administration/history",label:this.lang.history,current:!1},{icon:"fa fa-history",route:"/administration/history-batch",label:this.lang.historyBatch,current:!0}]:[{icon:"fa fa-history",route:"/administration/history-batch",label:this.lang.historyBatch,current:!0}],this.loading=!0,this.initHistoryList()},n.prototype.initHistoryList=function(){var n=this;this.resultListDatabase=new NX(this.http),this.paginator.pageIndex=0,this.sort.active="event_date",this.sort.direction="desc",this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){n.isLoadingResults=!0;var l="";return n.functions.empty(n.searchHistory.value)||(l="&search="+n.searchHistory.value),n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.routeUrl,n.filterUrl,l)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.count,n.headerService.setHeader(n.lang.administration+" "+n.lang.historyBatch.toLowerCase(),"",""),l.history})),Qr((function(l){return n.notify.handleErrors(l),n.isLoadingResults=!1,lu([])}))).subscribe((function(l){return n.data=l}))},n.prototype.processPostData=function(n){return n.history=n.history.map((function(n){return Object(t.__assign)({},n,{total_errors:null===n.total_errors?0:n.total_errors})})),n},n.prototype.refreshDao=function(){this.paginator.pageIndex=0,this.filtersChange.emit()},n.prototype.initFilterListHistory=function(){var n=this;null===this.filterList&&(this.filterList={},this.loadingFilters=!0,this.http.get("../../rest/batchHistory/availableFilters").pipe(q((function(l){var e={modules:[{}],totalErrors:[{}]};return e.modules=l.modules,e.totalErrors=[{id:"errorElement",label:n.lang.totalErrors}],e})),Yr((function(l){Object.keys(l).forEach((function(e){n.functions.empty(n.filterList[e])&&(n.filterList[e]=[],n.filteredList[e]=[]),l[e].forEach((function(l){n.filterList[e].push(l)})),n.filteredList[e]=n.searchHistory.valueChanges.pipe(Pc(""),q((function(l){return l?n.filter(l,e):n.filterList[e].slice()})))}))})),iu((function(){return n.loadingFilters=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe())},n.prototype.filterStartDate=function(){this.functions.empty(this.filterUsed.startDate)&&(this.filterUsed.startDate=[]),this.filterUsed.startDate[0]={id:this.functions.empty(this.startDateFilter)?"":this.functions.formatDateObjectToDateString(this.startDateFilter),label:this.functions.empty(this.startDateFilter)?"":this.functions.formatDateObjectToDateString(this.startDateFilter)},this.generateUrlFilter(),this.refreshDao()},n.prototype.filterEndDate=function(){this.functions.empty(this.filterUsed.endDate)&&(this.filterUsed.endDate=[]),this.filterUsed.endDate[0]={id:this.functions.empty(this.endDateFilter)?"":this.functions.formatDateObjectToDateString(this.endDateFilter,!0),label:this.functions.empty(this.endDateFilter)?"":this.functions.formatDateObjectToDateString(this.endDateFilter)},this.generateUrlFilter(),this.refreshDao()},n.prototype.addItemFilter=function(n){n.value.used=!0,this.functions.empty(this.filterUsed[n.id])&&(this.filterUsed[n.id]=[]),this.filterUsed[n.id].push(n.value),this.generateUrlFilter(),this.searchHistory.reset(),this.autoCompleteInput.nativeElement.blur(),this.refreshDao()},n.prototype.removeItemFilter=function(n,l,e){n.used=!1,this.filterUsed[l].splice(e,1),this.generateUrlFilter(),this.refreshDao()},n.prototype.generateUrlFilter=function(){var n=this;this.filterUrl="";var l=[];Object.keys(this.filterUsed).forEach((function(e){n.filterUsed[e].forEach((function(t){n.functions.empty(t.id)||(["startDate","endDate"].indexOf(e)>-1?l.push(e+"="+t.id):l.push(e+"[]="+t.id))}))})),l.length>0&&(this.filterUrl="&"+l.join("&"))},n.prototype.directSearchHistory=function(){this.refreshDao()},n.prototype.filter=function(n,l){var e=this;if("string"==typeof n){var t=this.latinisePipe.transform(n.toLowerCase());return this.filterList[l].filter((function(n){return e.latinisePipe.transform(n.label.toLowerCase()).includes(t)}))}return this.filterList[l]},n}(),NX=function(){function n(n){this.http=n}return n.prototype.getRepoIssues=function(n,l,e,t,i,a){return this.http.get(t+"?limit=10&offset="+10*e+"&order="+l+"&orderBy="+n+i+a)},n}(),jX=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.paginatorResultList[_ngcontent-%COMP%] .mat-paginator-range-label{-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex}.filterList[_ngcontent-%COMP%] .mat-optgroup-label{color:#135f7f;position:-webkit-sticky;position:sticky;top:0;background:#fff!important;z-index:1}.label[_ngcontent-%COMP%]{cursor:pointer;margin:5px}.bg-head-content[_ngcontent-%COMP%] .mat-focused .mat-form-field-label{color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-form-field-underline{background-color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-form-field-ripple{background-color:#fff!important}.bg-head-content[_ngcontent-%COMP%] .mat-datepicker-toggle[_ngcontent-%COMP%], .bg-head-content[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{color:#fff}.empty[_ngcontent-%COMP%]{opacity:.5}.error[_ngcontent-%COMP%]{color:#8e3e52;font-weight:700}"]],data:{}});function VX(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function qX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,VX)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.subMenus)}),null)}function zX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[18,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,19,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,51))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function UX(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),i.startDateFilter="",t=!1!==i.filterStartDate()&&t),t}),PC,MC)),Di(1,16384,[[18,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function BX(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[28,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,29,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,82))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function $X(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),i.endDateFilter="",t=!1!==i.filterEndDate()&&t),t}),PC,MC)),Di(1,16384,[[28,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function HX(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function GX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,HX)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function WX(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[39,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,2,"div",[["style","display: flex;justify-content: center;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(4,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,4,0,"35")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,bi(l,4)._noopAnimations,bi(l,4).diameter,bi(l,4).diameter)}))}function KX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[4,"color",null],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[39,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"],id:[1,"id"],disabled:[2,"disabled"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit,l.parent.parent.context.$implicit.key,l.context.$implicit.used)}),(function(n,l){n(l,0,0,l.context.$implicit.used?"":l.component.filterColor[l.parent.parent.context.$implicit.key],bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function YX(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-optgroup",[["class","filterList mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[40,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,3,null,KX)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(5,2)],(function(n,l){var e=l.component;n(l,1,0,e.lang[l.parent.context.$implicit.key]);var t=bt(l,3,0,n(l,5,0,bi(l.parent.parent.parent,0),bt(l,3,0,bi(l,4).transform(e.filteredList[l.parent.context.$implicit.key])),"label"));n(l,3,0,t)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function JX(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,YX)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e,t=l.component;n(l,2,0,(null==(e=bt(l,2,0,bi(l,3).transform(t.filteredList[l.context.$implicit.key])))?null:e.length)>0)}),null)}function ZX(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,JX)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.filterList)))}),null)}function QX(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label"]],[[4,"background",null],[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeItemFilter(n.context.$implicit,n.parent.parent.context.$implicit.key,n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.filterColor[l.parent.parent.context.$implicit.key],e.lang[l.parent.parent.context.$implicit.key]),n(l,1,0,l.context.$implicit.label)}))}function XX(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,QX)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.filterUsed[l.parent.context.$implicit.key])}),null)}function n0(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,XX)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(3,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=-1===n(l,3,0,"startDate","endDate").indexOf(l.context.$implicit.key);n(l,2,0,e)}),null)}function l0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.event)}))}function e0(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],[[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),Fi(0,wG,[$S]),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La]),Fo(5,1)],null,(function(n,l){n(l,0,0,bt(l,0,0,bi(l,2).transform(l.context.$implicit.event_date)));var e=bt(l,3,0,n(l,5,0,bi(l.parent,1),bt(l,3,0,bi(l,4).transform(l.context.$implicit.event_date,"full"))));n(l,3,0,e)}))}function t0(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "])),Fo(4,1)],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled());var t=bt(l,3,0,n(l,4,0,bi(l.parent,1),e.lang.totalProcessed));n(l,3,0,t)}))}function i0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"empty",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,0===l.context.$implicit.total_processed),n(l,2,0,l.context.$implicit.total_processed)}))}function a0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.totalErrors)}))}function o0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"empty",null],[2,"error",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,0===l.context.$implicit.total_errors,l.context.$implicit.total_errors>0),n(l,2,0,l.context.$implicit.total_errors)}))}function r0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex: 2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.information)}))}function u0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex: 2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.info)}))}function s0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.module)}))}function c0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.module_name)}))}function d0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function p0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function m0(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,ZS,[]),ko(402653184,1,{adminMenuTemplate:0}),ko(402653184,2,{paginator:0}),ko(402653184,3,{sort:0}),ko(402653184,4,{autoCompleteInput:0}),(n()(),_o(6,0,null,null,215,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(7,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,qX)),(n()(),_o(11,0,null,1,210,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(12,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(13,0,null,0,71,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(17,114688,null,0,GO,[_u],null,null),(n()(),_o(18,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(20,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(21,0,null,null,63,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(22,0,null,null,62,"div",[["style","display: grid;grid-template-columns: repeat(2, 1fr);grid-gap: 10px;width: 100%;"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,30,"mat-form-field",[["class","dateFilter mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,51).open()&&t),t}),kT,pT)),Di(24,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,10,{_controlNonStatic:0}),ko(335544320,11,{_controlStatic:0}),ko(603979776,12,{_labelChildNonStatic:0}),ko(335544320,13,{_labelChildStatic:0}),ko(603979776,14,{_placeholderChild:0}),ko(603979776,15,{_errorChildren:1}),ko(603979776,16,{_hintChildren:1}),ko(603979776,17,{_prefixChildren:1}),ko(603979776,18,{_suffixChildren:1}),(n()(),_o(34,0,null,3,2,"mat-label",[["style","color:white;"]],null,null,null,null,null)),Di(35,16384,[[12,4],[13,4]],0,iT,[],null,null),(n()(),Lo(36,null,[""," "])),(n()(),_o(37,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,38)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,38).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,38)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,38)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,39)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,39)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,39)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,39)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,46)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,46)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,46)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.startDateFilter=e)&&t),"dateChange"===l&&(t=!1!==i.filterStartDate()&&t),t}),null,null)),Di(38,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(39,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},{dateChange:"dateChange"}),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(42,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(44,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(46,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[10,4],[11,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,zX)),Di(49,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(50,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(51,180224,[["startPicker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,UX)),Di(53,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(54,0,null,null,30,"mat-form-field",[["class","dateFilter mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,82).open()&&t),t}),kT,pT)),Di(55,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,20,{_controlNonStatic:0}),ko(335544320,21,{_controlStatic:0}),ko(603979776,22,{_labelChildNonStatic:0}),ko(335544320,23,{_labelChildStatic:0}),ko(603979776,24,{_placeholderChild:0}),ko(603979776,25,{_errorChildren:1}),ko(603979776,26,{_hintChildren:1}),ko(603979776,27,{_prefixChildren:1}),ko(603979776,28,{_suffixChildren:1}),(n()(),_o(65,0,null,3,2,"mat-label",[["style","color:white;"]],null,null,null,null,null)),Di(66,16384,[[22,4],[23,4]],0,iT,[],null,null),(n()(),Lo(67,null,[""," "])),(n()(),_o(68,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,69)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,69).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,69)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,69)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,70)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,70)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,70)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,70)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,77)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,77)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,77)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.endDateFilter=e)&&t),"dateChange"===l&&(t=!1!==i.filterEndDate()&&t),t}),null,null)),Di(69,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(70,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},{dateChange:"dateChange"}),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(73,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(75,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(77,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[20,4],[21,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,BX)),Di(80,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(81,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(82,180224,[["endPicker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,$X)),Di(84,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(85,0,null,0,136,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(86,0,null,null,135,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,GX)),Di(88,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(89,0,null,null,45,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(90,0,null,null,41,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(91,0,null,null,40,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,93).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,93).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.directSearchHistory()&&t),t}),null,null)),Di(92,16384,null,0,yy,[],null,null),Di(93,4210688,null,0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(95,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(96,0,null,null,35,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"],["style","font-size: 13px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(97,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,30,{_controlNonStatic:0}),ko(335544320,31,{_controlStatic:0}),ko(603979776,32,{_labelChildNonStatic:0}),ko(335544320,33,{_labelChildStatic:0}),ko(603979776,34,{_placeholderChild:0}),ko(603979776,35,{_errorChildren:1}),ko(603979776,36,{_hintChildren:1}),ko(603979776,37,{_prefixChildren:1}),ko(603979776,38,{_suffixChildren:1}),(n()(),_o(107,16777216,[[4,0],["autoCompleteInput",1]],1,10,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["type","text"]],[[1,"maxlength",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,108)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,108).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,108)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,108)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,111)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,111)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,111)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,111)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,116)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,116)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,116)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(108,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(109,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Di(111,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(113,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(115,16384,null,0,y_,[[4,v_]],null,null),Di(116,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[30,4],[31,4]],nT,null,[OT]),(n()(),_o(118,0,null,1,8,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"],[null,"opened"]],(function(n,l,e){var t=!0,i=n.component;return"optionSelected"===l&&(t=!1!==i.addItemFilter(e.option)&&t),"opened"===l&&(t=!1!==i.initFilterListHistory()&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(120,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected",opened:"opened"}),ko(603979776,39,{options:1}),ko(603979776,40,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,WX)),Di(124,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,ZX)),Di(126,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(127,0,null,4,4,"button",[["mat-button",""],["mat-icon-button",""],["matSuffix",""],["style","float: right"],["type","submit"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.directSearchHistory()&&t),t}),PC,MC)),Di(128,16384,[[38,4]],0,oT,[],null,null),Di(129,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(130,0,null,0,1,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(131,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(132,0,null,null,2,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(133,0,null,null,1,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(134,245760,[[2,4],["paginatorHistoryList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(135,0,null,null,85,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(136,0,null,null,3,"div",[["class","filterBadges"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,n0)),Di(138,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),_o(140,0,null,null,78,"mat-table",[["class","mat-table"],["id","history-list"],["matSort",""],["matSortActive","event_date"],["matSortDirection","desc"],["style","width:100%;"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(142,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,41,{_contentColumnDefs:1}),ko(603979776,42,{_contentRowDefs:1}),ko(603979776,43,{_contentHeaderRowDefs:1}),ko(603979776,44,{_contentFooterRowDefs:1}),Di(147,737280,[[3,4],["tableHistoryListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(148,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(150,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,45,{cell:0}),ko(603979776,46,{headerCell:0}),ko(603979776,47,{footerCell:0}),Ei(2048,[[41,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,l0)),Di(156,16384,null,0,tR,[Xe],null,null),Ei(2048,[[46,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,e0)),Di(159,16384,null,0,eR,[Xe],null,null),Ei(2048,[[45,4]],OL,null,[eR]),(n()(),_o(161,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(163,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,48,{cell:0}),ko(603979776,49,{headerCell:0}),ko(603979776,50,{footerCell:0}),Ei(2048,[[41,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,t0)),Di(169,16384,null,0,tR,[Xe],null,null),Ei(2048,[[49,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,i0)),Di(172,16384,null,0,eR,[Xe],null,null),Ei(2048,[[48,4]],OL,null,[eR]),(n()(),_o(174,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(176,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,51,{cell:0}),ko(603979776,52,{headerCell:0}),ko(603979776,53,{footerCell:0}),Ei(2048,[[41,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,a0)),Di(182,16384,null,0,tR,[Xe],null,null),Ei(2048,[[52,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,o0)),Di(185,16384,null,0,eR,[Xe],null,null),Ei(2048,[[51,4]],OL,null,[eR]),(n()(),_o(187,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(189,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,54,{cell:0}),ko(603979776,55,{headerCell:0}),ko(603979776,56,{footerCell:0}),Ei(2048,[[41,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,r0)),Di(195,16384,null,0,tR,[Xe],null,null),Ei(2048,[[55,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,u0)),Di(198,16384,null,0,eR,[Xe],null,null),Ei(2048,[[54,4]],OL,null,[eR]),(n()(),_o(200,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(202,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,57,{cell:0}),ko(603979776,58,{headerCell:0}),ko(603979776,59,{footerCell:0}),Ei(2048,[[41,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,s0)),Di(208,16384,null,0,tR,[Xe],null,null),Ei(2048,[[58,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,c0)),Di(211,16384,null,0,eR,[Xe],null,null),Ei(2048,[[57,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,d0)),Di(214,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[43,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,p0)),Di(217,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[42,4]],UL,null,[uR]),(n()(),_o(219,0,null,null,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(220,null,[" "," ",""])),(n()(),_o(221,0,null,null,0,"div",[["class","table-head"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,7,0,""),n(l,12,0),n(l,17,0),n(l,20,0),n(l,39,0,bi(l,51),e.endDateFilter),n(l,42,0,e.startDateFilter),n(l,46,0,e.lang.since,""),n(l,49,0,!e.startDateFilter),n(l,51,0,e.appService.getViewMode()),n(l,53,0,e.startDateFilter),n(l,70,0,bi(l,82),e.startDateFilter),n(l,73,0,e.endDateFilter),n(l,77,0,e.lang.until,""),n(l,80,0,!e.endDateFilter),n(l,82,0,e.appService.getViewMode()),n(l,84,0,e.endDateFilter),n(l,88,0,e.isLoadingResults),n(l,97,0,"never"),n(l,109,0,"128"),n(l,111,0,bi(l,120)),n(l,113,0,e.searchHistory),n(l,116,0,e.lang.filterBy,"text"),n(l,124,0,e.loadingFilters),n(l,126,0,null!==e.filterList&&!e.loadingFilters),n(l,131,0,"primary"),n(l,134,0,e.resultsLength,10,!0),n(l,138,0,bt(l,138,0,bi(l,139).transform(e.filterUsed))),n(l,142,0,e.data),n(l,147,0,"event_date","desc"),n(l,150,0,"event_date"),n(l,163,0,"total_processed"),n(l,176,0,"total_errors"),n(l,189,0,"info"),n(l,202,0,"module_name"),n(l,214,0,e.displayedColumnsHistory),n(l,217,0,e.displayedColumnsHistory)}),(function(n,l){var e=l.component;n(l,6,0,bi(l,7)._backdropOverride),n(l,11,0,bi(l,12)._container._contentMargins.left,bi(l,12)._container._contentMargins.right),n(l,14,0,e.appService.getViewMode()),n(l,21,0,e.appService.getViewMode()),n(l,23,1,["standard"==bi(l,24).appearance,"fill"==bi(l,24).appearance,"outline"==bi(l,24).appearance,"legacy"==bi(l,24).appearance,bi(l,24)._control.errorState,bi(l,24)._canLabelFloat,bi(l,24)._shouldLabelFloat(),bi(l,24)._hasFloatingLabel(),bi(l,24)._hideControlPlaceholder(),bi(l,24)._control.disabled,bi(l,24)._control.autofilled,bi(l,24)._control.focused,"accent"==bi(l,24).color,"warn"==bi(l,24).color,bi(l,24)._shouldForward("untouched"),bi(l,24)._shouldForward("touched"),bi(l,24)._shouldForward("pristine"),bi(l,24)._shouldForward("dirty"),bi(l,24)._shouldForward("valid"),bi(l,24)._shouldForward("invalid"),bi(l,24)._shouldForward("pending"),!bi(l,24)._animationsEnabled]),n(l,36,0,e.lang.since),n(l,37,1,[bi(l,39)._datepicker?"dialog":null,(null==bi(l,39)._datepicker?null:bi(l,39)._datepicker.opened)&&bi(l,39)._datepicker.id||null,bi(l,39).min?bi(l,39)._dateAdapter.toIso8601(bi(l,39).min):null,bi(l,39).max?bi(l,39)._dateAdapter.toIso8601(bi(l,39).max):null,bi(l,39).disabled,bi(l,44).ngClassUntouched,bi(l,44).ngClassTouched,bi(l,44).ngClassPristine,bi(l,44).ngClassDirty,bi(l,44).ngClassValid,bi(l,44).ngClassInvalid,bi(l,44).ngClassPending,bi(l,46)._isServer,bi(l,46).id,bi(l,46).placeholder,bi(l,46).disabled,bi(l,46).required,bi(l,46).readonly&&!bi(l,46)._isNativeSelect||null,bi(l,46)._ariaDescribedby||null,bi(l,46).errorState,bi(l,46).required.toString()]),n(l,54,1,["standard"==bi(l,55).appearance,"fill"==bi(l,55).appearance,"outline"==bi(l,55).appearance,"legacy"==bi(l,55).appearance,bi(l,55)._control.errorState,bi(l,55)._canLabelFloat,bi(l,55)._shouldLabelFloat(),bi(l,55)._hasFloatingLabel(),bi(l,55)._hideControlPlaceholder(),bi(l,55)._control.disabled,bi(l,55)._control.autofilled,bi(l,55)._control.focused,"accent"==bi(l,55).color,"warn"==bi(l,55).color,bi(l,55)._shouldForward("untouched"),bi(l,55)._shouldForward("touched"),bi(l,55)._shouldForward("pristine"),bi(l,55)._shouldForward("dirty"),bi(l,55)._shouldForward("valid"),bi(l,55)._shouldForward("invalid"),bi(l,55)._shouldForward("pending"),!bi(l,55)._animationsEnabled]),n(l,67,0,e.lang.until),n(l,68,1,[bi(l,70)._datepicker?"dialog":null,(null==bi(l,70)._datepicker?null:bi(l,70)._datepicker.opened)&&bi(l,70)._datepicker.id||null,bi(l,70).min?bi(l,70)._dateAdapter.toIso8601(bi(l,70).min):null,bi(l,70).max?bi(l,70)._dateAdapter.toIso8601(bi(l,70).max):null,bi(l,70).disabled,bi(l,75).ngClassUntouched,bi(l,75).ngClassTouched,bi(l,75).ngClassPristine,bi(l,75).ngClassDirty,bi(l,75).ngClassValid,bi(l,75).ngClassInvalid,bi(l,75).ngClassPending,bi(l,77)._isServer,bi(l,77).id,bi(l,77).placeholder,bi(l,77).disabled,bi(l,77).required,bi(l,77).readonly&&!bi(l,77)._isNativeSelect||null,bi(l,77)._ariaDescribedby||null,bi(l,77).errorState,bi(l,77).required.toString()]),n(l,85,0,e.appService.getViewMode()),n(l,91,0,bi(l,95).ngClassUntouched,bi(l,95).ngClassTouched,bi(l,95).ngClassPristine,bi(l,95).ngClassDirty,bi(l,95).ngClassValid,bi(l,95).ngClassInvalid,bi(l,95).ngClassPending),n(l,96,1,["standard"==bi(l,97).appearance,"fill"==bi(l,97).appearance,"outline"==bi(l,97).appearance,"legacy"==bi(l,97).appearance,bi(l,97)._control.errorState,bi(l,97)._canLabelFloat,bi(l,97)._shouldLabelFloat(),bi(l,97)._hasFloatingLabel(),bi(l,97)._hideControlPlaceholder(),bi(l,97)._control.disabled,bi(l,97)._control.autofilled,bi(l,97)._control.focused,"accent"==bi(l,97).color,"warn"==bi(l,97).color,bi(l,97)._shouldForward("untouched"),bi(l,97)._shouldForward("touched"),bi(l,97)._shouldForward("pristine"),bi(l,97)._shouldForward("dirty"),bi(l,97)._shouldForward("valid"),bi(l,97)._shouldForward("invalid"),bi(l,97)._shouldForward("pending"),!bi(l,97)._animationsEnabled]),n(l,107,1,[bi(l,109).maxlength?bi(l,109).maxlength:null,bi(l,111).autocompleteAttribute,bi(l,111).autocompleteDisabled?null:"combobox",bi(l,111).autocompleteDisabled?null:"list",bi(l,111).panelOpen&&bi(l,111).activeOption?bi(l,111).activeOption.id:null,bi(l,111).autocompleteDisabled?null:bi(l,111).panelOpen.toString(),bi(l,111).autocompleteDisabled||!bi(l,111).panelOpen?null:null==bi(l,111).autocomplete?null:bi(l,111).autocomplete.id,!bi(l,111).autocompleteDisabled,bi(l,115).ngClassUntouched,bi(l,115).ngClassTouched,bi(l,115).ngClassPristine,bi(l,115).ngClassDirty,bi(l,115).ngClassValid,bi(l,115).ngClassInvalid,bi(l,115).ngClassPending,bi(l,116)._isServer,bi(l,116).id,bi(l,116).placeholder,bi(l,116).disabled,bi(l,116).required,bi(l,116).readonly&&!bi(l,116)._isNativeSelect||null,bi(l,116)._ariaDescribedby||null,bi(l,116).errorState,bi(l,116).required.toString()]),n(l,127,0,e.lang.search,bi(l,129).disabled||null,"NoopAnimations"===bi(l,129)._animationMode),n(l,130,0,bi(l,131).inline,"primary"!==bi(l,131).color&&"accent"!==bi(l,131).color&&"warn"!==bi(l,131).color),n(l,220,0,e.resultsLength,e.lang.elements)}))}function f0(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,m0,jX)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,RX,[nS,tu,_u,yu,Jv,$S,QS,TI,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var h0=oi("ng-component",RX,f0,{},{},[]),g0=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.lang=Kr,this.loading=!1,this.statuses=[],this.statusId="",this.resId="",this.chrono="",this.resIdList=[],this.chronoList=[],$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.updateStatus),this.loading=!0,this.http.get("../../rest/autocomplete/statuses").pipe(Object(JU.tap)((function(l){return n.statuses=l})),Object(JU.tap)((function(){return n.loading=!1}))).subscribe()},n.prototype.onSubmit=function(){var n=this,l={status:this.statusId};this.resIdList.length>0?l.resId=this.resIdList:this.chronoList.length>0&&(l.chrono=this.chronoList),this.http.put("../../rest/res/resource/status",l).subscribe((function(){n.resId="",n.chrono="",n.statusId="",n.resIdList=[],n.chronoList=[],n.notify.success(n.lang.modificationSaved)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.addResId=function(){-1==this.resIdList.indexOf(this.resId)&&this.resIdList.push(this.resId),this.resId=""},n.prototype.addChrono=function(){-1==this.chronoList.indexOf(this.chrono)&&this.chronoList.push(this.chrono),this.chrono=""},n.prototype.setStatus=function(n){this.statusId=n.id},n.prototype.removeResId=function(n){var l=this.resIdList.indexOf(n);this.resIdList.splice(l,1)},n.prototype.removeChrono=function(n){var l=this.chronoList.indexOf(n);this.chronoList.splice(l,1)},n.prototype.resetInput=function(n){0==n.index?this.resId="":this.chrono=""},n}(),b0=yt({encapsulation:0,styles:[[".mat-tab-body{overflow-y:hidden!important}.row[_ngcontent-%COMP%]{margin-left:0}"]],data:{}});function v0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function _0(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeChrono(n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[15,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,16,{avatar:0}),ko(603979776,17,{trailingIcon:0}),ko(603979776,18,{removeIcon:0}),(n()(),_o(5,0,null,null,1,"span",[["class","badge badge-pill badge-dark"]],null,null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),Lo(7,null,["  "," "])),(n()(),_o(8,0,null,null,2,"mat-icon",[["class","fa fa-times-circle mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,10)._handleClick(e)&&t),t}),FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(10,16384,[[18,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0,"primary",!0),n(l,9,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,6,0,e.chronoList.indexOf(l.context.$implicit)+1),n(l,7,0,l.context.$implicit),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function y0(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-chip",[["class","mat-chip"],["color","primary"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeResId(n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[30,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,31,{avatar:0}),ko(603979776,32,{trailingIcon:0}),ko(603979776,33,{removeIcon:0}),(n()(),_o(5,0,null,null,1,"span",[["class","badge badge-pill badge-dark"]],null,null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),Lo(7,null,["  "," "])),(n()(),_o(8,0,null,null,2,"mat-icon",[["class","fa fa-times-circle mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,10)._handleClick(e)&&t),t}),FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(10,16384,[[33,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0,"primary",!0),n(l,9,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,6,0,e.resIdList.indexOf(l.context.$implicit)+1),n(l,7,0,l.context.$implicit),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function w0(n){return jo(0,[(n()(),_o(0,0,null,null,101,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,99,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["updateStatusForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,87,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedTabChange"]],(function(n,l,e){var t=!0;return"selectedTabChange"===l&&(t=!1!==n.component.resetInput(e)&&t),t}),LV,PV)),Di(8,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,{selectedTabChange:"selectedTabChange"}),ko(603979776,3,{_tabs:1}),(n()(),_o(10,16777216,null,null,41,"mat-tab",[],null,null,null,BV,zV)),Di(11,770048,[[3,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,4,{templateLabel:0}),ko(335544320,5,{_explicitContent:0}),(n()(),_o(14,0,null,0,1,"div",[["class","alert alert-info"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,0,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,6,{_controlNonStatic:0}),ko(335544320,7,{_controlStatic:0}),ko(603979776,8,{_labelChildNonStatic:0}),ko(335544320,9,{_labelChildStatic:0}),ko(603979776,10,{_placeholderChild:0}),ko(603979776,11,{_errorChildren:1}),ko(603979776,12,{_hintChildren:1}),ko(603979776,13,{_prefixChildren:1}),ko(603979776,14,{_suffixChildren:1}),(n()(),_o(27,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","chrono"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,28)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,28).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,28)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,28)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.chrono=e)&&t),t}),null,null)),Di(28,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(30,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(32,16384,null,0,y_,[[4,v_]],null,null),Di(33,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[6,4],[7,4]],nT,null,[OT]),(n()(),_o(35,0,null,0,14,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,3,"div",[["class","col-md-12 text-left"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addChrono()&&t),t}),PC,MC)),Di(39,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(40,0,["",""])),(n()(),_o(41,0,null,null,8,"mat-chip-list",[["class","mat-chip-list"],["name","chronoChips"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,46).focus()&&t),"blur"===l&&(t=!1!==bi(n,46)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,46)._keydown(e)&&t),"ngModelChange"===l&&(t=!1!==(i.chronoList=e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(43,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(45,16384,null,0,y_,[[4,v_]],null,null),Di(46,1556480,[["chipList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[6,v_]],null,null),ko(603979776,15,{chips:1}),(n()(),vo(16777216,null,0,1,null,_0)),Di(49,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(50,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(51,49152,null,0,mI,[],null,null),(n()(),_o(52,16777216,null,null,42,"mat-tab",[],null,null,null,BV,zV)),Di(53,770048,[[3,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,19,{templateLabel:0}),ko(335544320,20,{_explicitContent:0}),(n()(),_o(56,0,null,0,1,"div",[["class","alert alert-info"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(57,null,[" "," "])),(n()(),_o(58,0,null,0,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(59,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,21,{_controlNonStatic:0}),ko(335544320,22,{_controlStatic:0}),ko(603979776,23,{_labelChildNonStatic:0}),ko(335544320,24,{_labelChildStatic:0}),ko(603979776,25,{_placeholderChild:0}),ko(603979776,26,{_errorChildren:1}),ko(603979776,27,{_hintChildren:1}),ko(603979776,28,{_prefixChildren:1}),ko(603979776,29,{_suffixChildren:1}),(n()(),_o(69,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id",""],["matInput",""],["name","resId"],["type","number"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,70)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,70).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,70)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,70)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,71).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,71).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,71).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,76)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,76)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,76)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.resId=e)&&t),t}),null,null)),Di(70,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(71,16384,null,0,F_,[Te,Pe],null,null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(73,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(75,16384,null,0,y_,[[4,v_]],null,null),Di(76,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[21,4],[22,4]],nT,null,[OT]),(n()(),_o(78,0,null,0,14,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(79,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(80,0,null,null,3,"div",[["class","col-md-12 text-left"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(81,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addResId()&&t),t}),PC,MC)),Di(82,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(83,0,["",""])),(n()(),_o(84,0,null,null,8,"mat-chip-list",[["class","mat-chip-list"],["name","resIdChips"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"ngModelChange"],[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,89).focus()&&t),"blur"===l&&(t=!1!==bi(n,89)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,89)._keydown(e)&&t),"ngModelChange"===l&&(t=!1!==(i.resIdList=e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(86,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(88,16384,null,0,y_,[[4,v_]],null,null),Di(89,1556480,[["chipList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[6,v_]],null,null),ko(603979776,30,{chips:1}),(n()(),vo(16777216,null,0,1,null,y0)),Di(92,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(93,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(94,49152,null,0,mI,[],null,null),(n()(),_o(95,0,null,null,1,"plugin-autocomplete",[["required",""],["singleMode",""]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setStatus(e)&&t),t}),HN,EN)),Di(96,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],required:[1,"required"],options:[2,"options"],placeholder:[3,"placeholder"],optGroupLabel:[4,"optGroupLabel"],key:[5,"key"],subInfoKey:[6,"subInfoKey"]},{selectedOpt:"triggerEvent"}),(n()(),_o(97,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(98,0,null,null,3,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(99,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(100,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(101,0,["",""]))],(function(n,l){var e=l.component;n(l,11,0,Wt(1,"",e.lang.chronoNumber,"")),n(l,30,0,"chrono",e.chrono),n(l,33,0,Wt(1,"",e.lang.chronoNumber,"")),n(l,39,0,!e.chrono,"primary"),n(l,43,0,"chronoChips",e.chronoList),n(l,46,0),n(l,49,0,e.chronoList),n(l,53,0,Wt(1,"",e.lang.resId,"")),n(l,73,0,"resId",e.resId),n(l,76,0,"",Wt(1,"",e.lang.resId,""),"number"),n(l,82,0,!e.resId,"primary"),n(l,86,0,"resIdChips",e.resIdList),n(l,89,0),n(l,92,0,e.resIdList),n(l,96,0,"","",e.statuses,e.lang.availableStatuses,e.lang.availableStatuses,"idToDisplay","id"),n(l,100,0,0==e.resIdList.length&&0==e.chronoList.length||e.resIdList.length>0&&e.chronoList.length>0||!e.statusId,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,0,bi(l,8).dynamicHeight,"below"===bi(l,8).headerPosition),n(l,15,0,e.lang.updateStatusInformationsChrono),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,1,[Wt(1,"",e.lang.chronoNumber,""),bi(l,32).ngClassUntouched,bi(l,32).ngClassTouched,bi(l,32).ngClassPristine,bi(l,32).ngClassDirty,bi(l,32).ngClassValid,bi(l,32).ngClassInvalid,bi(l,32).ngClassPending,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()]),n(l,38,0,bi(l,39).disabled||null,"NoopAnimations"===bi(l,39)._animationMode),n(l,40,0,e.lang.add),n(l,41,1,[bi(l,45).ngClassUntouched,bi(l,45).ngClassTouched,bi(l,45).ngClassPristine,bi(l,45).ngClassDirty,bi(l,45).ngClassValid,bi(l,45).ngClassInvalid,bi(l,45).ngClassPending,bi(l,46).disabled?null:bi(l,46)._tabIndex,bi(l,46)._ariaDescribedby||null,bi(l,46).required.toString(),bi(l,46).disabled.toString(),bi(l,46).errorState,bi(l,46).multiple,bi(l,46).role,bi(l,46).disabled,bi(l,46).errorState,bi(l,46).required,bi(l,46).ariaOrientation,bi(l,46)._uid]),n(l,50,0,bi(l,51).vertical?"vertical":"horizontal",bi(l,51).vertical,!bi(l,51).vertical,bi(l,51).inset),n(l,57,0,e.lang.updateStatusInformationsGed),n(l,58,1,["standard"==bi(l,59).appearance,"fill"==bi(l,59).appearance,"outline"==bi(l,59).appearance,"legacy"==bi(l,59).appearance,bi(l,59)._control.errorState,bi(l,59)._canLabelFloat,bi(l,59)._shouldLabelFloat(),bi(l,59)._hasFloatingLabel(),bi(l,59)._hideControlPlaceholder(),bi(l,59)._control.disabled,bi(l,59)._control.autofilled,bi(l,59)._control.focused,"accent"==bi(l,59).color,"warn"==bi(l,59).color,bi(l,59)._shouldForward("untouched"),bi(l,59)._shouldForward("touched"),bi(l,59)._shouldForward("pristine"),bi(l,59)._shouldForward("dirty"),bi(l,59)._shouldForward("valid"),bi(l,59)._shouldForward("invalid"),bi(l,59)._shouldForward("pending"),!bi(l,59)._animationsEnabled]),n(l,69,1,[Wt(1,"",e.lang.resId,""),bi(l,75).ngClassUntouched,bi(l,75).ngClassTouched,bi(l,75).ngClassPristine,bi(l,75).ngClassDirty,bi(l,75).ngClassValid,bi(l,75).ngClassInvalid,bi(l,75).ngClassPending,bi(l,76)._isServer,bi(l,76).id,bi(l,76).placeholder,bi(l,76).disabled,bi(l,76).required,bi(l,76).readonly&&!bi(l,76)._isNativeSelect||null,bi(l,76)._ariaDescribedby||null,bi(l,76).errorState,bi(l,76).required.toString()]),n(l,81,0,bi(l,82).disabled||null,"NoopAnimations"===bi(l,82)._animationMode),n(l,83,0,e.lang.add),n(l,84,1,[bi(l,88).ngClassUntouched,bi(l,88).ngClassTouched,bi(l,88).ngClassPristine,bi(l,88).ngClassDirty,bi(l,88).ngClassValid,bi(l,88).ngClassInvalid,bi(l,88).ngClassPending,bi(l,89).disabled?null:bi(l,89)._tabIndex,bi(l,89)._ariaDescribedby||null,bi(l,89).required.toString(),bi(l,89).disabled.toString(),bi(l,89).errorState,bi(l,89).multiple,bi(l,89).role,bi(l,89).disabled,bi(l,89).errorState,bi(l,89).required,bi(l,89).ariaOrientation,bi(l,89)._uid]),n(l,93,0,bi(l,94).vertical?"vertical":"horizontal",bi(l,94).vertical,!bi(l,94).vertical,bi(l,94).inset),n(l,99,0,bi(l,100).disabled||null,"NoopAnimations"===bi(l,100)._animationMode),n(l,101,0,e.lang.save)}))}function x0(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,v0)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,w0)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function C0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,x0,b0)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,g0,[nS,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var k0=oi("ng-component",g0,C0,{},{},[]),S0=e("I65S"),I0=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.data=e,this.sortPipe=t,this.localStorage=i,this.headerService=a,this.lang=Kr,this.loading=!1,this.loadingExport=!1,this.delimiters=[";",",","TAB"],this.formats=["csv"],this.exportModel={delimiter:";",format:"csv",data:[]},this.dataAvailable=[{value:"id",label:this.lang.id},{value:"externalId",label:"External Id"},{value:"enabled",label:this.lang.status},{value:"communicationMeans",label:this.lang.communicationMean}]}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.getContactFields()];case 1:return n.sent(),this.setConfiguration(),[2]}}))}))},n.prototype.getContactFields=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/contactsParameters").pipe(q((function(l){var e=/contactCustomField_[.]*/g;return l.contactsParameters=l.contactsParameters.filter((function(n){return null===n.identifier.match(e)})).map((function(l){return{value:l.identifier,label:n.lang["contactsParameters_"+l.identifier]}})),l.contactsParameters})),Yr((function(l){n.dataAvailable=n.dataAvailable.concat(l)})),MN((function(){return n.http.get("../../rest/contactsCustomFields")})),q((function(n){return n.customFields=n.customFields.map((function(n){return{value:"contactCustomField_"+n.id,label:n.label}})),n.customFields})),Yr((function(e){n.dataAvailable=n.dataAvailable.concat(e),n.dataAvailable=n.sortPipe.transform(n.dataAvailable,"label"),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.drop=function(n){var l=this;if(n.previousContainer===n.container)_U(n.container.data,n.previousIndex,n.currentIndex);else{var e=n.previousIndex;if("selectedElements"===n.container.id&&(e=0,void 0!==$j(".available-data .columns")[n.previousIndex])){var t=$j(".available-data .columns")[n.previousIndex].id;e=this.dataAvailable.map((function(n){return n.value})).indexOf(t)}yU(n.previousContainer.data,n.container.data,e,n.currentIndex);var i=this.listFilter.nativeElement.value;this.listFilter.nativeElement.value="",setTimeout((function(){l.listFilter.nativeElement.value=i}),10)}},n.prototype.exportData=function(){var n=this;this.localStorage.save("exportContactFields_"+this.headerService.user.id,JSON.stringify(this.exportModel)),this.loadingExport=!0,this.http.put("../../rest/contacts/export",this.exportModel,{responseType:"blob"}).pipe(Yr((function(l){if("text/html"!==l.type){var e=document.createElement("a");e.href=window.URL.createObjectURL(l);var t,i=void 0,a=void 0,o=void 0;a=(i=new Date).getDate(),o=i.getMonth()+1,t=i.getFullYear(),a<10&&(a="0"+a),o<10&&(o="0"+o),e.setAttribute("download","export_contact_maarch_"+(i=a+"-"+o+"-"+t)+"."+n.exportModel.format.toLowerCase()),document.body.appendChild(e),e.click()}else alert(n.lang.tooMuchDatas)})),iu((function(){return n.loadingExport=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.addData=function(n){var l=this,e=0;this.dataAvailable.forEach((function(l,t){l.value===n.value&&(e=t)})),yU(this.dataAvailable,this.exportModel.data,e,this.exportModel.data.length);var t=this.listFilter.nativeElement.value;this.listFilter.nativeElement.value="",setTimeout((function(){l.listFilter.nativeElement.value=t}),10)},n.prototype.removeData=function(n){yU(this.exportModel.data,this.dataAvailable,n,this.dataAvailable.length),this.sortPipe.transform(this.dataAvailable,"label")},n.prototype.removeAllData=function(){this.dataAvailable=this.dataAvailable.concat(this.exportModel.data),this.exportModel.data=[]},n.prototype.addAllData=function(){for(this.exportModel.data=this.exportModel.data.concat(this.dataAvailable);this.dataAvailable.length>0;)this.dataAvailable.pop();this.listFilter.nativeElement.value=""},n.prototype.setConfiguration=function(){var n=this;null!==this.localStorage.get("exportContactFields_"+this.headerService.user.id)&&(JSON.parse(this.localStorage.get("exportContactFields_"+this.headerService.user.id)).data.forEach((function(l){n.addData(l)})),this.exportModel.delimiter=JSON.parse(this.localStorage.get("exportContactFields_"+this.headerService.user.id)).delimiter)},n}(),A0=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.viewContainerRef=o,this.lang=Kr,this.loading=!1,this.filtersChange=new la,this.displayedColumnsContact=["filling","firstname","lastname","company","formatedAddress","actions"],this.isLoadingResults=!0,this.routeUrl="../../rest/contacts",this.resultsLength=0,this.searchContact=new sy,this.search="",this.destroy$=new M,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!0},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!1},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!1},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!1},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!1}]}return n.prototype.ngOnInit=function(){this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.initContactList(),this.initAutocompleteContacts()},n.prototype.initContactList=function(){var n=this;this.resultListDatabase=new M0(this.http),this.paginator.pageIndex=0,this.sort.active="lastname",this.sort.direction="asc",this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){return n.isLoadingResults=!0,n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.routeUrl,n.search)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.count,n.headerService.setHeader(n.lang.administration+" "+n.lang.contacts.toLowerCase(),"",""),l.contacts})),Qr((function(l){return n.notify.handleErrors(l),n.isLoadingResults=!1,lu([])}))).subscribe((function(l){return n.data=l}))},n.prototype.processPostData=function(n){var l=this;return n.contacts.forEach((function(n){var e=[];e.push(n.addressNumber),e.push(n.addressStreet),e.push(n.addressPostcode),e.push(n.addressTown),e.push(n.addressCountry),n.formatedAddress=e.filter((function(n){return!l.isEmptyValue(n)})).join(" ")})),this.displayedColumnsContact=this.functions.empty(n.contacts[0])||this.functions.empty(n.contacts[0].filling)?["firstname","lastname","company","formatedAddress","actions"]:["filling","firstname","lastname","company","formatedAddress","actions"],n},n.prototype.deleteContact=function(n){var l=this;n.isUsed?(this.dialogRef=this.dialog.open(P0,{panelClass:"maarch-modal",autoFocus:!1}),this.dialogRef.afterClosed().subscribe((function(e){if(void 0!==e&&""!=e){var t="";"reaffect"==e.processMode&&(t="?redirect="+e.contactId),l.http.request("DELETE","../../rest/contacts/"+n.id+t).subscribe((function(){l.refreshDao(),l.notify.success(l.lang.contactDeleted)}),(function(n){l.notify.error(n.error.errors)}))}l.dialogRef=null}))):this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/contacts/"+n.id)})),Yr((function(n){l.refreshDao(),l.notify.success(l.lang.contactDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.toggleContact=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.suspend,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.put("../../rest/contacts/"+n.id+"/activation",{enabled:!n.enabled})})),Yr((function(e){l.refreshDao(),l.notify.success(1==!n.enabled?l.lang.contactEnabled:l.lang.contactDisabled)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.openContactExport=function(){this.dialog.open(I0,{panelClass:"maarch-modal",width:"800px",autoFocus:!1})},n.prototype.refreshDao=function(){this.filtersChange.emit()},n.prototype.initAutocompleteContacts=function(){var n=this;this.searchContact.valueChanges.pipe(Yr((function(l){0===l.length&&(n.search="",n.paginator.pageIndex=0,n.refreshDao())})),Sh(300),tc((function(n){return n.length>2})),Gh(),Yr((function(l){n.search=l,n.paginator.pageIndex=0,n.refreshDao()}))).subscribe()},n.prototype.isEmptyValue=function(n){return null===n||(Array.isArray(n)?!(n.length>0):""===String(n))},n}(),M0=function(){function n(n){this.http=n}return n.prototype.getRepoIssues=function(n,l,e,t,i){return this.http.get(t+"?limit=10&offset="+10*e+"&order="+l+"&orderBy="+n+"&search="+i)},n}(),P0=function(){function n(n,l,e,t){this.http=n,this.data=l,this.dialogRef=e,this.notify=t,this.lang=Kr,this.modalTitle=this.lang.confirmAction,this.processMode="delete"}return n.prototype.ngOnInit=function(){},n.prototype.setRedirectUser=function(n){this.redirectContact=n.id},n}(),D0=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.paginatorResultList[_ngcontent-%COMP%] .mat-paginator-range-label{-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex}.threshold_first[_ngcontent-%COMP%]{color:#e81c2b}.threshold_second[_ngcontent-%COMP%]{color:#f4891e}.threshold_third[_ngcontent-%COMP%]{color:#0aa34f}"]],data:{}});function F0(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[15,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function E0(n){return jo(0,[(n()(),_o(0,0,null,null,27,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/contacts/list/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openContactExport()&&t),t}),AI,II)),Di(18,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(22,0,null,0,2,"mat-icon",[["class","fa fa-file-export mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(23,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(24,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(25,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(26,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(27,null,[" "," "])),(n()(),_o(28,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(29,49152,null,0,mI,[],null,null),(n()(),_o(30,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(31,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,F0)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"/administration/contacts/list/new"),n(l,12,0,"primary"),n(l,23,0,"primary"),n(l,33,0,e.subMenus)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add),n(l,17,0,bi(l,18)._avatar||bi(l,18)._icon,bi(l,18)._avatar||bi(l,18)._icon),n(l,22,0,bi(l,23).inline,"primary"!==bi(l,23).color&&"accent"!==bi(l,23).color&&"warn"!==bi(l,23).color),n(l,27,0,e.lang.exportContacts),n(l,28,0,bi(l,29).vertical?"vertical":"horizontal",bi(l,29).vertical,!bi(l,29).vertical,bi(l,29).inset)}))}function O0(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function T0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,O0)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function L0(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex: initial;width: 60px;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode())}))}function R0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","flex: initial;width: 60px;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,0,"i",[],[[8,"className",0],[8,"title",0]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode()),n(l,2,0,Wt(1,"fas fa-circle threshold_",l.context.$implicit.filling.thresholdLevel,""),e.lang.contactFilledTo+" "+l.context.$implicit.filling.rate+"%")}))}function N0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.firstname)}))}function j0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.firstname)}))}function V0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.lastname)}))}function q0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.lastname)}))}function z0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.contactsParameters_company)}))}function U0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.company)}))}function B0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex: 2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode()),n(l,2,0,e.lang.address)}))}function $0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex: 2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.formatedAddress)}))}function H0(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function G0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.toggleContact(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-pause fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.suspend,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function W0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.toggleContact(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-check fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.authorize,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function K0(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,G0)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,W0)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,3,"button",[["color","warn"],["data-target","#changeDiffListDest"],["data-toggle","modal"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.deleteContact(n.context.$implicit)&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0,l.context.$implicit.enabled),n(l,5,0,!l.context.$implicit.enabled),n(l,7,0,"warn"),n(l,9,0)}),(function(n,l){n(l,6,0,l.component.lang.delete,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function Y0(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function J0(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-row",[["class","mat-row"],["role","row"],["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,49152,null,0,cR,[],null,null)],(function(n,l){n(l,2,0,Wt(1,"/administration/contacts/list/",l.context.$implicit.id,""))}),null)}function Z0(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(402653184,3,{paginator:0}),ko(402653184,4,{sort:0}),(n()(),_o(4,0,null,null,141,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,E0)),(n()(),_o(9,0,null,1,136,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,125,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,124,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,T0)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,0,null,null,25,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,21,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,20,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"],["style","font-size: 13px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(27,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,16,{_controlNonStatic:0}),ko(335544320,17,{_controlStatic:0}),ko(603979776,18,{_labelChildNonStatic:0}),ko(335544320,19,{_labelChildStatic:0}),ko(603979776,20,{_placeholderChild:0}),ko(603979776,21,{_errorChildren:1}),ko(603979776,22,{_hintChildren:1}),ko(603979776,23,{_prefixChildren:1}),ko(603979776,24,{_suffixChildren:1}),(n()(),_o(37,0,[["autoCompleteInput",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["type","text"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,38)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,38).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,38)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,38)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,45)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,45)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,45)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(38,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(39,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(42,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(44,16384,null,0,y_,[[4,v_]],null,null),Di(45,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[16,4],[17,4]],nT,null,[OT]),(n()(),_o(47,0,null,null,2,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(48,0,null,null,1,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(49,245760,[[3,4],["paginatorContactList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(50,0,null,null,94,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(51,0,null,null,91,"mat-table",[["class","mat-table"],["id","contact-list"],["matSort",""],["matSortActive","lastname"],["matSortDirection","asc"],["style","width:100%;"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(53,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,25,{_contentColumnDefs:1}),ko(603979776,26,{_contentRowDefs:1}),ko(603979776,27,{_contentHeaderRowDefs:1}),ko(603979776,28,{_contentFooterRowDefs:1}),Di(58,737280,[[4,4],["tableContactListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(59,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(61,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[25,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,L0)),Di(67,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,R0)),Di(70,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),_o(72,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(74,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,32,{cell:0}),ko(603979776,33,{headerCell:0}),ko(603979776,34,{footerCell:0}),Ei(2048,[[25,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,N0)),Di(80,16384,null,0,tR,[Xe],null,null),Ei(2048,[[33,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,j0)),Di(83,16384,null,0,eR,[Xe],null,null),Ei(2048,[[32,4]],OL,null,[eR]),(n()(),_o(85,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(87,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,35,{cell:0}),ko(603979776,36,{headerCell:0}),ko(603979776,37,{footerCell:0}),Ei(2048,[[25,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,V0)),Di(93,16384,null,0,tR,[Xe],null,null),Ei(2048,[[36,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,q0)),Di(96,16384,null,0,eR,[Xe],null,null),Ei(2048,[[35,4]],OL,null,[eR]),(n()(),_o(98,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(100,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,38,{cell:0}),ko(603979776,39,{headerCell:0}),ko(603979776,40,{footerCell:0}),Ei(2048,[[25,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,z0)),Di(106,16384,null,0,tR,[Xe],null,null),Ei(2048,[[39,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,U0)),Di(109,16384,null,0,eR,[Xe],null,null),Ei(2048,[[38,4]],OL,null,[eR]),(n()(),_o(111,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(113,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,41,{cell:0}),ko(603979776,42,{headerCell:0}),ko(603979776,43,{footerCell:0}),Ei(2048,[[25,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,B0)),Di(119,16384,null,0,tR,[Xe],null,null),Ei(2048,[[42,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,$0)),Di(122,16384,null,0,eR,[Xe],null,null),Ei(2048,[[41,4]],OL,null,[eR]),(n()(),_o(124,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(126,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,44,{cell:0}),ko(603979776,45,{headerCell:0}),ko(603979776,46,{footerCell:0}),Ei(2048,[[25,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,H0)),Di(132,16384,null,0,tR,[Xe],null,null),Ei(2048,[[45,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,K0)),Di(135,16384,null,0,eR,[Xe],null,null),Ei(2048,[[44,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Y0)),Di(138,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[27,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,J0)),Di(141,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[26,4]],UL,null,[uR]),(n()(),_o(143,0,null,null,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(144,null,[" "," ",""])),(n()(),_o(145,0,null,null,0,"div",[["class","table-head"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.isLoadingResults),n(l,27,0,"never"),n(l,39,0,"128"),n(l,42,0,e.searchContact),n(l,45,0,e.lang.filterBy,"text"),n(l,49,0,e.resultsLength,10,!0),n(l,53,0,e.data),n(l,58,0,"lastname","asc"),n(l,61,0,"filling"),n(l,74,0,"firstname"),n(l,87,0,"lastname"),n(l,100,0,"company"),n(l,113,0,"formatedAddress"),n(l,126,0,"actions"),n(l,138,0,e.displayedColumnsContact),n(l,141,0,e.displayedColumnsContact)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,26,1,["standard"==bi(l,27).appearance,"fill"==bi(l,27).appearance,"outline"==bi(l,27).appearance,"legacy"==bi(l,27).appearance,bi(l,27)._control.errorState,bi(l,27)._canLabelFloat,bi(l,27)._shouldLabelFloat(),bi(l,27)._hasFloatingLabel(),bi(l,27)._hideControlPlaceholder(),bi(l,27)._control.disabled,bi(l,27)._control.autofilled,bi(l,27)._control.focused,"accent"==bi(l,27).color,"warn"==bi(l,27).color,bi(l,27)._shouldForward("untouched"),bi(l,27)._shouldForward("touched"),bi(l,27)._shouldForward("pristine"),bi(l,27)._shouldForward("dirty"),bi(l,27)._shouldForward("valid"),bi(l,27)._shouldForward("invalid"),bi(l,27)._shouldForward("pending"),!bi(l,27)._animationsEnabled]),n(l,37,1,[bi(l,39).maxlength?bi(l,39).maxlength:null,bi(l,44).ngClassUntouched,bi(l,44).ngClassTouched,bi(l,44).ngClassPristine,bi(l,44).ngClassDirty,bi(l,44).ngClassValid,bi(l,44).ngClassInvalid,bi(l,44).ngClassPending,bi(l,45)._isServer,bi(l,45).id,bi(l,45).placeholder,bi(l,45).disabled,bi(l,45).required,bi(l,45).readonly&&!bi(l,45)._isNativeSelect||null,bi(l,45)._ariaDescribedby||null,bi(l,45).errorState,bi(l,45).required.toString()]),n(l,144,0,e.resultsLength,e.lang.contactsAlt)}))}function Q0(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"contact-list",[],null,null,null,Z0,D0)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,A0,[nS,tu,_u,yu,Jv,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var X0=oi("contact-list",A0,Q0,{},{},[]),n1=yt({encapsulation:2,styles:[],data:{}});function l1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["required",""],["singleMode",""]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setRedirectUser(e)&&t),t}),HN,EN)),Di(1,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],required:[1,"required"],routeDatas:[2,"routeDatas"],placeholder:[3,"placeholder"],optGroupLabel:[4,"optGroupLabel"],key:[5,"key"]},{selectedOpt:"triggerEvent"}),Eo(2,1)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/contacts");n(l,1,0,"","",t,e.lang.contactReplacement,e.lang.availableContacts,"contact")}),null)}function e1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.deleteContactInformations)}))}function t1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.reaffectContactInformations)}))}function i1(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,e1)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,t1)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"delete"==e.processMode),n(l,4,0,"reaffect"==e.processMode)}),null)}function a1(n){return jo(0,[(n()(),_o(0,0,null,null,42,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,29,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,27,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,8).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,8).onReset()&&t),t}),null,null)),Di(7,16384,null,0,yy,[],null,null),Di(8,4210688,[["redirectConfForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(10,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(11,0,null,null,22,"div",[["class","modal-body"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"div",[["class","alert-message alert-message-danger"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(13,null,[" "," "])),(n()(),_o(14,0,null,null,19,"div",[["class","input-group"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,14,"mat-radio-group",[["class","mat-radio-group"],["color","primary"],["id","processMode"],["name","processMode"],["required",""],["role","radiogroup"],["style","display: inline-flex;flex-direction: column;"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.processMode=e)&&t),t}),null,null)),Di(16,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(18,1064960,null,1,gq,[Nl],{color:[0,"color"],name:[1,"name"],required:[2,"required"]},null),ko(603979776,1,{_radios:1}),Ei(1024,null,d_,(function(n){return[n]}),[gq]),Di(21,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(23,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(24,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["value","delete"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,25)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(25,4440064,[[1,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"],color:[1,"color"]},null),(n()(),Lo(26,0,[" "," "])),(n()(),_o(27,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["value","reaffect"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,28)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(28,4440064,[[1,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"],color:[1,"color"]},null),(n()(),Lo(29,0,[" "," "])),(n()(),vo(16777216,null,null,1,null,l1)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,i1)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(34,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(36,16384,null,0,l_,[],null,null),(n()(),_o(37,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close({contactId:i.redirectContact,processMode:i.processMode})&&t),t}),PC,MC)),Di(38,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(39,0,["",""])),(n()(),_o(40,0,null,null,2,"button",[["class","actions"],["color",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close("")&&t),t}),PC,MC)),Di(41,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(42,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,16,0,""),n(l,18,0,"primary","processMode",""),n(l,21,0,"processMode",e.processMode),n(l,25,0,"delete","primary"),n(l,28,0,"reaffect","primary"),n(l,31,0,"reaffect"==e.processMode),n(l,33,0,e.processMode),n(l,38,0,!bi(l,8).form.valid||!e.redirectContact&&"reaffect"==e.processMode,"primary"),n(l,41,0,"")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.contactsReassign),n(l,6,0,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending),n(l,13,0,e.lang.contactLinkedToMails),n(l,15,0,bi(l,16).required?"":null,bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending),n(l,24,1,[bi(l,25).checked,bi(l,25).disabled,"NoopAnimations"===bi(l,25)._animationMode,"primary"===bi(l,25).color,"accent"===bi(l,25).color,"warn"===bi(l,25).color,-1,bi(l,25).id,null,null,null]),n(l,26,0,e.lang.deleteContactwithtoutReassign),n(l,27,1,[bi(l,28).checked,bi(l,28).disabled,"NoopAnimations"===bi(l,28)._animationMode,"primary"===bi(l,28).color,"accent"===bi(l,28).color,"warn"===bi(l,28).color,-1,bi(l,28).id,null,null,null]),n(l,29,0,e.lang.reaffectContactRedirect),n(l,37,0,bi(l,38).disabled||null,"NoopAnimations"===bi(l,38)._animationMode),n(l,39,0,e.lang.delete),n(l,40,0,bi(l,41).disabled||null,"NoopAnimations"===bi(l,41)._animationMode),n(l,42,0,e.lang.cancel)}))}function o1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,a1,n1)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,null,0,P0,[nS,Gv,Hv,tu],null,null)],(function(n,l){n(l,2,0)}),null)}var r1=oi("ng-component",P0,o1,{},{},[]),u1=yt({encapsulation:2,styles:["cdk-virtual-scroll-viewport{display:block;position:relative;overflow:auto;contain:strict;transform:translateZ(0);will-change:scroll-position;-webkit-overflow-scrolling:touch}.cdk-virtual-scroll-content-wrapper{position:absolute;top:0;left:0;contain:content}[dir=rtl] .cdk-virtual-scroll-content-wrapper{right:0;left:auto}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper{min-height:100%}.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-horizontal .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-left:0;padding-right:0;margin-left:0;margin-right:0;border-left-width:0;border-right-width:0;outline:0}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper{min-width:100%}.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>dl:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ol:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>table:not([cdkVirtualFor]),.cdk-virtual-scroll-orientation-vertical .cdk-virtual-scroll-content-wrapper>ul:not([cdkVirtualFor]){padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;border-top-width:0;border-bottom-width:0;outline:0}.cdk-virtual-scroll-spacer{position:absolute;top:0;left:0;height:1px;width:1px;transform-origin:0 0}[dir=rtl] .cdk-virtual-scroll-spacer{right:0;left:auto;transform-origin:100% 0}"],data:{}});function s1(n){return jo(2,[ko(402653184,1,{_contentWrapper:0}),(n()(),_o(1,0,[[1,0],["contentWrapper",1]],null,1,"div",[["class","cdk-virtual-scroll-content-wrapper"]],null,null,null,null,null)),Po(null,0),(n()(),_o(3,0,null,null,0,"div",[["class","cdk-virtual-scroll-spacer"]],[[4,"width",null],[4,"height",null]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,3,0,e._totalContentWidth,e._totalContentHeight)}))}var c1=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.data=e,this.dialogRef=t,this.headerService=i,this.functionsService=a,this.loading=!1,this.lang=Kr,this.contactSelected=null,this.contactsExcluded=[]}return n.prototype.ngOnInit=function(){},n.prototype.mergeContact=function(n){var l=this;void 0===n&&(n=this.contactSelected),this.appContactDetail.toArray()[n].resetContact(),this.appContactDetail.toArray()[n].contact.selected=!0,this.functionsService.empty(n)||(this.contactSelected=n),this.data.duplicate.forEach((function(e,t){-1===l.contactsExcluded.indexOf(l.appContactDetail.toArray()[t].getContactInfo().id)&&Object.keys(l.appContactDetail.toArray()[t].getContactInfo()).forEach((function(e){"customFields"!==e||l.functionsService.empty(l.appContactDetail.toArray()[t].getContactInfo()[e])?"civility"!==e||l.functionsService.empty(l.appContactDetail.toArray()[t].getContactInfo()[e].id)?l.functionsService.empty(l.appContactDetail.toArray()[n].getContactInfo()[e])&&l.appContactDetail.toArray()[n].getContactInfo()[e]!==l.appContactDetail.toArray()[t].getContactInfo()[e]&&l.appContactDetail.toArray()[n].setContactInfo(e,l.appContactDetail.toArray()[t].getContactInfo()[e]):l.appContactDetail.toArray()[n].setContactInfo(e,l.appContactDetail.toArray()[t].getContactInfo()[e]):l.appContactDetail.toArray()[t].getContactInfo()[e].forEach((function(t){0===l.appContactDetail.toArray()[n].getContactInfo()[e].filter((function(n){return n.label===t.label})).length&&l.appContactDetail.toArray()[n].setContactInfo(e,t)}))}))}))},n.prototype.toggleExcludeContact=function(n){var l=this.contactsExcluded.indexOf(n.id);-1===l?this.contactsExcluded.push(n.id):this.contactsExcluded.splice(l,1)},n.prototype.resetContact=function(n,l){this.contactSelected=null,this.appContactDetail.toArray()[l].resetContact()},n.prototype.onSubmit=function(){var n=this;this.loading=!0;var l=this.data.duplicate.filter((function(l,e){return e===n.contactSelected})).map((function(n){return n.id}))[0],e=this.data.duplicate.filter((function(l,e){return e!==n.contactSelected})).filter((function(l,e){return-1===n.contactsExcluded.indexOf(l.id)})).map((function(n){return n.id}));this.http.put("../../rest/contacts/"+l+"/merge",{duplicates:e}).pipe(Yr((function(){n.dialogRef.close(e.length===n.data.duplicate.length-1?"removeAll":e)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n}(),d1=function(){function n(n,l,e,t,i,a,o,r,u){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.sortPipe=o,this.viewContainerRef=r,this.functionsService=u,this.lang=Kr,this.loading=!0,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!1},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!1},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!1},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!1},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!0}],this.contactFields=[],this.addCriteriaSelect=new sy,this.currentFieldsSearch=[],this.currentDuplicateId=null,this.duplicatesContacts=[],this.duplicatesContactsCount=-1,this.duplicatesContactsRealCount=0,this.displayedColumns=["companyLastname","lastname","company"],this.isLoadingResults=!1,this.openedSearchTool=!0}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.headerService.setHeader(this.lang.contactsDuplicates,"",""),[4,this.getContactFields()];case 1:return n.sent(),this.setDefaultSearchCriteria(),this.loading=!1,[2]}}))}))},n.prototype.getContactFields=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/contactsParameters").pipe(q((function(l){var e=/contactCustomField_[.]*/g;return l.contactsParameters=l.contactsParameters.filter((function(n){return null===n.identifier.match(e)})).map((function(l){return Object(t.__assign)({},l,{label:n.lang["contactsParameters_"+l.identifier]})})),l.contactsParameters})),Yr((function(l){n.contactFields=l})),MN((function(){return n.http.get("../../rest/contactsCustomFields")})),q((function(n){return n.customFields=n.customFields.map((function(n){return Object(t.__assign)({},n,{id:"contactCustomField_"+n.id,identifier:"contactCustomField_"+n.id})})),n.customFields})),Yr((function(e){n.contactFields=n.contactFields.concat(e),n.contactFields=n.sortPipe.transform(n.contactFields,"label"),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.setDefaultSearchCriteria=function(n){var l=this;void 0===n&&(n=["lastname","company"]),this.contactFields.filter((function(l){return n.indexOf(l.identifier)>-1})).forEach((function(n){n.disabled=!0,l.currentFieldsSearch.push(n)}))},n.prototype.addCriteria=function(n){var l=this;this.contactFields.filter((function(l){return l.id===n})).forEach((function(n){n.disabled=!0,l.currentFieldsSearch.push(n)})),this.addCriteriaSelect.reset()},n.prototype.removeCriteria=function(n){var l=this;this.contactFields.forEach((function(e,t){e.id===n.id&&(l.currentFieldsSearch=l.currentFieldsSearch.filter((function(l){return l.id!==n.id})),e.disabled=!1)}))},n.prototype.searchDuplicates=function(){var n=this;this.duplicatesContacts=[],this.isLoadingResults=!0;var l="?criteria[]="+this.currentFieldsSearch.map((function(n){return n.identifier})).join("&criteria[]=");this.http.get("../../rest/duplicatedContacts"+l).pipe(q((function(l){return n.duplicatesContactsRealCount=l.realCount,n.duplicatesContactsCount=l.returnedCount,l.contacts.forEach((function(e,t){e.odd=0===t||(void 0!==l.contacts[t-1]&&l.contacts[t-1].duplicateId===e.duplicateId?l.contacts[t-1].odd:!l.contacts[t-1].odd);var i=[];i.push(e.company),i.push(e.lastname),e.companyLastname=i.filter((function(l){return!n.functions.empty(l)})).join(" / "),n.functionsService.empty(e.customFields)||Object.keys(e.customFields).forEach((function(n){e[n]=e.customFields[n]}))})),l.contacts})),Yr((function(l){n.duplicatesContacts=l,setTimeout((function(){var l=/contactCustomField_[.]*/g;n.displayedColumns=n.currentFieldsSearch.filter((function(n){return null===n.identifier.match(l)})).map((function(n){return n.identifier})).concat(n.currentFieldsSearch.filter((function(n){return null!==n.identifier.match(l)})).map((function(n){return n.identifier.replace("contactCustomField_","")}))),n.displayedColumns.unshift("companyLastname"),n.openedSearchTool=!1}),0)})),iu((function(){return n.isLoadingResults=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.selectDuplicates=function(n){this.currentDuplicateId=n},n.prototype.manageDuplicate=function(n){var l=this;this.dialog.open(c1,{panelClass:"maarch-modal",data:{duplicate:this.duplicatesContacts.filter((function(l){return l.duplicateId===n})).map((function(n){return{id:n.id,type:"contact"}}))}}).afterClosed().pipe(tc((function(n){return!l.functionsService.empty(n)})),Yr((function(e){l.notify.success(l.lang.contactsMerged),l.duplicatesContactsCount--,l.duplicatesContactsRealCount--,l.duplicatesContacts=l.duplicatesContacts.filter("removeAll"!==e?function(n){return-1===e.indexOf(n.id)}:function(l){return l.duplicateId!==n})})),Qr((function(n){return l.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.getLabel=function(n){return void 0!==this.lang["contactsParameters_"+n]?this.lang["contactsParameters_"+n]:void 0!==this.lang[n]?this.lang[n]:this.contactFields.filter((function(l){return l.id==="contactCustomField_"+n}))[0].label},n}(),p1=yt({encapsulation:0,styles:[[".example-viewport[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;width:100%;background:#fff;height:100%}.example-viewport[_ngcontent-%COMP%] .cdk-virtual-scroll-content-wrapper{overflow:hidden;text-overflow:ellipsis;width:100%}.active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.criteria-container[_ngcontent-%COMP%]{margin:20px}.hovered[_ngcontent-%COMP%]{background:rgba(0,0,0,.04)!important;-webkit-transition:.3s;transition:all .3s}.odd[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.12)}.contact-list-container-1[_ngcontent-%COMP%]{grid-template-columns:1fr}.contact-list-container-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.contact-list-container-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.contact-list-container-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.contact-list-container-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}"]],data:{}});function m1(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[4,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function f1(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,m1)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.subMenus)}),null)}function h1(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-chip",[["class","mat-chip"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeCriteria(n.context.$implicit)&&t),"click"===l&&(t=!1!==i.removeCriteria(n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[9,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selected:[0,"selected"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,10,{avatar:0}),ko(603979776,11,{trailingIcon:0}),ko(603979776,12,{removeIcon:0}),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,2,"mat-icon",[["class","fa fa-times-circle mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8)._handleClick(e)&&t),t}),FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(8,16384,[[12,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0,"",!0),n(l,7,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,l.context.$implicit.label),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color)}))}function g1(n){return jo(0,[(n()(),_o(0,0,null,null,31,"div",[["class","criteria-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,30,"mat-accordion",[["class","mat-accordion"],["style","margin-bottom: 10px;"]],null,null,null,null,null)),Di(2,1720320,null,1,Qj,[],null,null),ko(603979776,7,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(5,16777216,null,null,26,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(6,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,8,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(9,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,10)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,10)._animationStarted()&&t),t}),aV,tV)),Di(10,180224,[[7,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(11,{collapsedHeight:0,expandedHeight:1}),Oo(12,{value:0,params:1}),(n()(),_o(13,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(14,16384,null,0,Zj,[],null,null),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,1,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.addCriteria(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(19,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"}),(n()(),_o(20,0,null,1,1,"mat-divider",[["class","mat-divider"],["role","separator"],["style","margin-top:20px;margin-bottom:20px;"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(21,49152,null,0,mI,[],null,null),(n()(),_o(22,0,null,1,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,24).focus()&&t),"blur"===l&&(t=!1!==bi(n,24)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,24)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(24,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,9,{chips:1}),(n()(),vo(16777216,null,0,1,null,h1)),Di(27,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(28,0,null,1,3,"div",[["class","col-md-12 text-center"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.searchDuplicates()&&t),t}),PC,MC)),Di(30,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(31,0,["",""]))],(function(n,l){var e=l.component;n(l,6,0,e.openedSearchTool),n(l,19,0,e.lang.addCriteria,e.addCriteriaSelect,e.contactFields,e.lang.addCriteria),n(l,24,0),n(l,27,0,e.currentFieldsSearch),n(l,30,0,0===e.currentFieldsSearch.length||e.isLoadingResults,"primary")}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6).expanded,"NoopAnimations"===bi(l,6)._animationMode,bi(l,6)._hasSpacing());var t=bi(l,10).panel._headerId,i=bi(l,10).disabled?-1:0,a=bi(l,10)._getPanelId(),o=bi(l,10)._isExpanded(),r=bi(l,10).panel.disabled,u=bi(l,10)._isExpanded(),s="after"===bi(l,10)._getTogglePosition(),c="before"===bi(l,10)._getTogglePosition(),d=bi(l,10)._animationsDisabled,p=n(l,12,0,bi(l,10)._getExpandedState(),n(l,11,0,bi(l,10).collapsedHeight,bi(l,10).expandedHeight));n(l,9,0,t,i,a,o,r,u,s,c,d,p),n(l,15,0,e.lang.criteriaSearch),n(l,20,0,bi(l,21).vertical?"vertical":"horizontal",bi(l,21).vertical,!bi(l,21).vertical,bi(l,21).inset),n(l,22,1,[bi(l,24).disabled?null:bi(l,24)._tabIndex,bi(l,24)._ariaDescribedby||null,bi(l,24).required.toString(),bi(l,24).disabled.toString(),bi(l,24).errorState,bi(l,24).multiple,bi(l,24).role,bi(l,24).disabled,bi(l,24).errorState,bi(l,24).required,bi(l,24).ariaOrientation,bi(l,24)._uid]),n(l,29,0,bi(l,30).disabled||null,"NoopAnimations"===bi(l,30)._animationMode),n(l,31,0,e.lang.launchSearch)}))}function b1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","padding: 10px;text-align: center;color: rgba(0,0,0,0.54);"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.component.lang.noDuplicatesFound)}))}function v1(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","padding: 10px;text-align: right;color: rgba(0,0,0,0.54);"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),Eo(2,2),Fo(3,2)],null,(function(n,l){var e=l.component,t=bt(l,1,0,n(l,3,0,bi(l.parent,0),e.lang.duplicatesContactDisplayed,n(l,2,0,e.duplicatesContactsRealCount,e.duplicatesContactsCount)));n(l,1,0,t)}))}function _1(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","primary"],["style","overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.getLabel(l.context.$implicit))}))}function y1(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list",[["class","mat-list mat-list-base"],["role","list"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,8,"mat-list-item",[["class","mat-list-item"],["role","listitem"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(3,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(7,0,null,1,3,"p",[["class","mat-line"],["mat-line",""],["style","font-size:80%;display: grid;grid-gap: 10px;"]],[[8,"className",0]],null,null,null,null)),Di(8,16384,[[13,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,_1)),Di(10,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,10,0,l.component.displayedColumns)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._avatar||bi(l,3)._icon,bi(l,3)._avatar||bi(l,3)._icon),n(l,7,0,Wt(1,"contact-list-container-",e.displayedColumns.length,""))}))}function w1(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit[l.context.$implicit])}))}function x1(n){return jo(0,[(n()(),_o(0,0,null,null,9,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"mat-list-item",[["class","mat-list-item"],["role","listitem"],["style","cursor: pointer;font-size: 14px;"]],[[2,"odd",null],[2,"hovered",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"mouseover"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"mouseover"===l&&(t=!1!==i.selectDuplicates(n.context.$implicit.duplicateId)&&t),"click"===l&&(t=!1!==i.manageDuplicate(n.context.$implicit.duplicateId)&&t),t}),AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,16,{_lines:1}),ko(603979776,17,{_avatar:0}),ko(603979776,18,{_icon:0}),(n()(),_o(6,0,null,1,3,"p",[["class","mat-line"],["mat-line",""],["style","display: grid;grid-gap: 10px;align-items: center;"]],[[8,"className",0]],null,null,null,null)),Di(7,16384,[[16,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,w1)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,9,0,l.component.displayedColumns)}),(function(n,l){var e=l.component;n(l,1,0,void 0!==e.duplicatesContacts[l.context.index+1]&&l.context.$implicit.odd!==e.duplicatesContacts[l.context.index+1].odd,l.context.$implicit.duplicateId===e.currentDuplicateId,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,Wt(1,"contact-list-container-",e.displayedColumns.length,""))}))}function C1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function k1(n){return jo(0,[Fi(0,KS,[]),ko(402653184,1,{adminMenuTemplate:0}),(n()(),_o(2,0,null,null,37,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,f1)),(n()(),_o(7,0,null,1,32,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,0,21,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,null,20,"div",[["class","container-content"],["style","display: flex;flex-direction: column;overflow: hidden;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,g1)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,b1)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,v1)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,y1)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,null,11,"div",[["style","position: relative;height: 100%;overflow: auto;"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,8,"cdk-virtual-scroll-viewport",[["class","example-viewport cdk-virtual-scroll-viewport"],["itemSize","48"]],[[2,"cdk-virtual-scroll-orientation-horizontal",null],[2,"cdk-virtual-scroll-orientation-vertical",null]],null,null,s1,u1)),Ei(6144,null,xg,null,[kg]),Di(31,540672,null,0,yg,[],{itemSize:[0,"itemSize"]},null),Ei(1024,null,bg,_g,[yg]),Di(33,245760,null,0,kg,[Pe,Nl,La,[2,bg],[2,bb],wg],null,null),(n()(),_o(34,0,null,0,3,"mat-list",[["class","mat-list mat-list-base"],["role","list"]],null,null,null,SI,kI)),Di(35,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,x1)),Di(37,409600,null,0,Ig,[lt,Xe,Ke,[1,kg],La],{cdkVirtualForOf:[0,"cdkVirtualForOf"]},null),(n()(),vo(16777216,null,null,1,null,C1)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,""),n(l,8,0),n(l,13,0),n(l,16,0),n(l,21,0,!e.loading),n(l,23,0,0===e.duplicatesContactsCount),n(l,25,0,e.duplicatesContacts.length>0),n(l,27,0,e.duplicatesContacts.length>0),n(l,31,0,"48"),n(l,33,0),n(l,37,0,e.duplicatesContacts),n(l,39,0,e.isLoadingResults)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,29,0,"horizontal"===bi(l,33).orientation,"horizontal"!==bi(l,33).orientation)}))}function S1(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"app-contact-duplicate",[],null,null,null,k1,p1)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,null,0,d1,[nS,tu,_u,yu,Jv,$S,HS,lt,$S],null,null)],(function(n,l){n(l,3,0)}),null)}var I1=oi("app-contact-duplicate",d1,S1,{},{},[]),A1=Kb(function(){return function(n){this._elementRef=n}}(),"primary"),M1=new On("mat-progress-bar-location",{providedIn:"root",factory:function(){var n=$n(qs),l=n?n.location:null;return{getPathname:function(){return l?l.pathname+l.search:""}}}}),P1=0,D1=function(n){function l(l,e,t,i){var a=n.call(this,l)||this;a._elementRef=l,a._ngZone=e,a._animationMode=t,a._isNoopAnimation=!1,a._value=0,a._bufferValue=0,a.animationEnd=new la,a._animationEndSubscription=s.EMPTY,a.mode="determinate",a.progressbarId="mat-progress-bar-"+P1++;var o=i?i.getPathname().split("#")[0]:"";return a._rectangleFillValue="url('"+o+"#"+a.progressbarId+"')",a._isNoopAnimation="NoopAnimations"===t,a}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"value",{get:function(){return this._value},set:function(n){this._value=F1(n||0),this._isNoopAnimation&&this._emitAnimationEnd()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"bufferValue",{get:function(){return this._bufferValue},set:function(n){this._bufferValue=F1(n||0)},enumerable:!0,configurable:!0}),l.prototype._primaryTransform=function(){return{transform:"scaleX("+this.value/100+")"}},l.prototype._bufferTransform=function(){if("buffer"===this.mode)return{transform:"scaleX("+this.bufferValue/100+")"}},l.prototype.ngAfterViewInit=function(){var n=this;this._isNoopAnimation||this._ngZone.runOutsideAngular((function(){var l=n._primaryValueBar.nativeElement;n._animationEndSubscription=Vh(l,"transitionend").pipe(tc((function(n){return n.target===l}))).subscribe((function(){return n._ngZone.run((function(){return n._emitAnimationEnd()}))}))}))},l.prototype.ngOnDestroy=function(){this._animationEndSubscription.unsubscribe()},l.prototype._emitAnimationEnd=function(){"determinate"!==this.mode&&"buffer"!==this.mode||this.animationEnd.next({value:this.value})},l}(A1);function F1(n,l,e){return void 0===l&&(l=0),void 0===e&&(e=100),Math.max(l,Math.min(e,n))}var E1=function(){return function(){}}(),O1=yt({encapsulation:2,styles:[".mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-background{display:none}}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}@media (-ms-high-contrast:active){.mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:none;transition:none}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}"],data:{}});function T1(n){return jo(2,[ko(671088640,1,{_primaryValueBar:0}),(n()(),_o(1,0,null,null,4,":svg:svg",[["class","mat-progress-bar-background mat-progress-bar-element"],["focusable","false"],["height","4"],["width","100%"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,":svg:defs",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,":svg:pattern",[["height","4"],["patternUnits","userSpaceOnUse"],["width","8"],["x","4"],["y","0"]],[[8,"id",0]],null,null,null,null)),(n()(),_o(4,0,null,null,0,":svg:circle",[["cx","2"],["cy","2"],["r","2"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,0,":svg:rect",[["height","100%"],["width","100%"]],[[1,"fill",0]],null,null,null,null)),(n()(),_o(6,0,null,null,2,"div",[["class","mat-progress-bar-buffer mat-progress-bar-element"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(8,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(9,0,[[1,0],["primaryValueBar",1]],null,2,"div",[["class","mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(11,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(12,0,null,null,0,"div",[["class","mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,8,0,e._bufferTransform()),n(l,11,0,e._primaryTransform())}),(function(n,l){var e=l.component;n(l,3,0,e.progressbarId),n(l,5,0,e._rectangleFillValue)}))}var L1=function(){function n(n,l){this.http=n,this.functions=l,this.lang=Kr}return n.prototype.getFillingColor=function(n){return"first"===n?"#E81C2B":"second"===n?"#F4891E":"third"===n?"#0AA34F":""},n.prototype.formatCivilityObject=function(n){return this.empty(n)?{label:"",abbreviation:""}:n},n.prototype.formatFillingObject=function(n){return this.empty(n)?{rate:"",color:""}:{rate:n.rate,color:this.getFillingColor(n.thresholdLevel)}},n.prototype.empty=function(n){return null===n||""===n||void 0===n},n.prototype.formatContact=function(n){if(this.functions.empty(n.firstname)&&this.functions.empty(n.lastname)){if(this.functions.empty(n.function))return console.log(n),n.company;var l=[];return l.push(n.company),l.push("-"+n.function),l.filter((function(n){return""!==n})).join(" ")}var e=[];return e.push(n.firstname),e.push(n.lastname),this.functions.empty(n.function)||e.push("- "+n.function),this.functions.empty(n.company)||e.push("("+n.company+")"),e.filter((function(n){return""!==n})).join(" ")},n}(),R1=function(){function n(n,l,e,t,i,a){this.http=n,this.dialog=l,this.functions=e,this.dialogRef=t,this.contactService=i,this.data=a,this.loading=!0,this.lang=Kr,this.contactResult=[]}return n.prototype.ngOnInit=function(){this.contactResult=JSON.parse(JSON.stringify(this.data.contacts)),this.loading=!1},n.prototype.formatContactAdress=function(n){if(this.functions.empty(n.addressNumber)&&this.functions.empty(n.addressStreet)&&this.functions.empty(n.addressPostcode)&&this.functions.empty(n.addressTown)&&this.functions.empty(n.addressCountry))return null;var l=[];return l.push(n.addressNumber,n.addressStreet,n.addressPostcode,n.addressTown,n.addressCountry),l.filter((function(n){return""!==n})).join(" ")},n.prototype.selectContact=function(n){this.dialogRef.close(n)},n}(),N1=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.router=l,this.notify=e,this.appService=t,this.dialog=i,this.contactService=a,this.functions=o,this.activatedRoute=r,this.linkContact=new la,this.lang=Kr,this.loading=!1,this.creationMode=!0,this.contactId=null,this.onSubmitEvent=new la,this.maarch2maarchUrl="https://docs.maarch.org/gitbook/html/MaarchCourrier/"+angularGlobals.applicationVersion.split(".")[0]+"."+angularGlobals.applicationVersion.split(".")[1]+"/guat/guat_exploitation/maarch2maarch.html",this.contactUnit=[{id:"mainInfo",label:this.lang.denomination},{id:"address",label:this.lang.address},{id:"complement",label:this.lang.additionals},{id:"maarch2maarch",label:"Maarch2Maarch"}],this.contactForm=[{id:"company",unit:"mainInfo",label:this.lang.contactsParameters_company,type:"string",control:new sy,required:!1,display:!0,filling:!1,values:[]},{id:"civility",unit:"mainInfo",label:this.lang.contactsParameters_civility,type:"select",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"firstname",unit:"mainInfo",label:this.lang.contactsParameters_firstname,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"lastname",unit:"mainInfo",label:this.lang.contactsParameters_lastname,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"function",unit:"mainInfo",label:this.lang.contactsParameters_function,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"department",unit:"mainInfo",label:this.lang.contactsParameters_department,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"email",unit:"mainInfo",label:this.lang.email,type:"string",control:new sy,required:!1,display:!0,filling:!1,values:[]},{id:"phone",unit:"mainInfo",label:this.lang.phoneNumber,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"notes",unit:"mainInfo",label:this.lang.note,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressAdditional1",unit:"address",label:this.lang.contactsParameters_addressAdditional1,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressNumber",unit:"address",label:this.lang.contactsParameters_addressNumber,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressStreet",unit:"address",label:this.lang.contactsParameters_addressStreet,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressAdditional2",unit:"address",label:this.lang.contactsParameters_addressAdditional2,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressPostcode",unit:"address",label:this.lang.contactsParameters_addressPostcode,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressTown",unit:"address",label:this.lang.contactsParameters_addressTown,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"addressCountry",unit:"address",label:this.lang.contactsParameters_addressCountry,type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"communicationMeans",unit:"maarch2maarch",label:this.lang.communicationMean,desc:this.lang.communicationMeanDesc+" ("+this.lang.see+' <a href="'+this.maarch2maarchUrl+'" target="_blank">MAARCH2MAARCH</a>)',type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]},{id:"externalId_m2m",unit:"maarch2maarch",label:this.lang.IdMaarch2Maarch,desc:this.lang.m2mContactInfo+" ("+this.lang.see+' <a href="'+this.maarch2maarchUrl+'" target="_blank">MAARCH2MAARCH</a>)',type:"string",control:new sy,required:!1,display:!1,filling:!1,values:[]}],this.addressBANInfo="",this.addressBANMode=!0,this.addressBANControl=new sy,this.addressBANLoading=!1,this.addressBANResult=[],this.addressBANCurrentDepartment="75",this.departmentList=[],this.fillingParameters=null,this.fillingRate={class:"warn",color:this.contactService.getFillingColor("first"),value:0},this.companyFound=null,this.communicationMeanInfo="",this.communicationMeanResult=[],this.communicationMeanLoading=!1,this.externalId_m2mInfo="",this.externalId_m2mResult=[],this.externalId_m2mLoading=!1,this.annuaryM2MId=null,this.annuaryEnabled=!1,this.autocompleteContactName=[],this.contactChanged=!1,this.contactNameClone=null,this.fromAdministration=!1,this.currentRoute=""}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.currentRoute=this.activatedRoute.snapshot._routerState.url,this.fromAdministration=!!this.currentRoute.includes("administration"),this.initBanSearch(),null===this.contactId?(this.creationMode=!0,this.http.get("../../rest/contactsParameters").pipe(Yr((function(l){n.fillingParameters=l.contactsFilling,n.initElemForm(l),n.annuaryEnabled=l.annuaryEnabled})),MN((function(){return n.http.get("../../rest/civilities")})),Yr((function(l){n.initCivilities(l.civilities)})),MN((function(){return n.http.get("../../rest/contactsCustomFields")})),Yr((function(l){n.initCustomElementForm(l),n.initAutocompleteAddressBan(),n.initAutocompleteCommunicationMeans(),n.initAutocompleteExternalIdM2M()})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()):(this.creationMode=!1,this.contactForm.forEach((function(n){n.display=!1})),this.http.get("../../rest/contactsParameters").pipe(Yr((function(l){n.fillingParameters=l.contactsFilling,n.initElemForm(l),n.annuaryEnabled=l.annuaryEnabled})),MN((function(){return n.http.get("../../rest/civilities")})),Yr((function(l){n.initCivilities(l.civilities)})),MN((function(){return n.http.get("../../rest/contactsCustomFields")})),Yr((function(l){n.initCustomElementForm(l),n.initAutocompleteAddressBan(),n.initAutocompleteCommunicationMeans(),n.initAutocompleteExternalIdM2M()})),MN((function(){return n.http.get("../../rest/contacts/"+n.contactId)})),q((function(l){return l.fillingRate=n.contactService.formatFillingObject(l.fillingRate),l})),Yr((function(l){n.setContactData(l),n.setContactDataExternal(l)})),tc((function(n){return null!==n.customFields})),Yr((function(l){n.setContactCustomData(l)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe())},n.prototype.initElemForm=function(n){var l=this,e=[];n.contactsParameters.forEach((function(n){var t,i=l.contactForm.filter((function(l){return l.id===n.identifier}))[0];e=[],void 0===i&&void 0!==n.identifier.split("_")[1]&&(t={id:"customField_"+n.identifier.split("_")[1],unit:"complement",label:null,type:null,control:new sy,required:!1,display:!1,values:[]},l.contactForm.push(t),i=l.contactForm.filter((function(n){return n.id===t.id}))[0]),void 0!==i&&((n.filling&&l.fillingParameters.enable&&l.creationMode||n.mandatory)&&(i.display=!0),n.filling&&l.fillingParameters.enable&&(i.filling=!0),"email"===n.identifier?e.push(S_.email):"phone"===n.identifier&&e.push(S_.pattern(/^\+?((|\ |\.|\(|\)|\-)?(\d)*)*\d$/)),n.mandatory&&(i.required=!0,e.push(S_.required)),i.control.setValidators(e))}))},n.prototype.initCivilities=function(n){var l=[];Object.keys(n).forEach((function(e){l.push({id:e,label:n[e].label})})),this.contactForm.filter((function(n){return"civility"===n.id}))[0].values=l},n.prototype.initCustomElementForm=function(n){var l=this,e=[],t={};n.customFields.forEach((function(n){e=[],void 0!==(t=l.contactForm.filter((function(l){return l.id==="customField_"+n.id}))[0])&&(t.label=n.label,t.type=n.type,t.values=n.values.map((function(n){return{id:n,label:n}})),"integer"===n.type&&(e.push(S_.pattern(/^[+-]?([0-9]+([.][0-9]*)?|[.][0-9]+)$/)),t.control.setValidators(e)))}))},n.prototype.setContactData=function(n){var l=this,e=-1;Object.keys(n).forEach((function(t){e=l.contactForm.map((function(n){return n.id})).indexOf(t),!l.isEmptyValue(n[t])&&e>-1&&(l.contactForm[e].control.setValue("civility"===t?n[t].id:n[t]),"company"===t&&l.isEmptyValue(l.contactForm.filter((function(n){return"lastname"===n.id}))[0].control.value)?l.contactForm.filter((function(n){return"lastname"===n.id}))[0].display=!1:"lastname"===t&&l.isEmptyValue(l.contactForm.filter((function(n){return"company"===n.id}))[0].control.value)&&(l.contactForm.filter((function(n){return"company"===n.id}))[0].display=!1),l.contactForm[e].display=!0)})),this.isEmptyValue(this.contactForm.filter((function(n){return"company"===n.id}))[0].control.value)&&!this.isEmptyValue(this.contactForm.filter((function(n){return"lastname"===n.id}))[0].control.value)&&(this.contactForm.filter((function(n){return"company"===n.id}))[0].display=!1),this.checkFilling()},n.prototype.setContactDataExternal=function(n){var l=this;void 0!==n.externalId&&Object.keys(n.externalId).forEach((function(e){l.isEmptyValue(n.externalId[e])||("m2m"===e?(l.contactForm.filter((function(n){return"externalId_m2m"===n.id}))[0].control.setValue(n.externalId[e]),l.contactForm.filter((function(n){return"externalId_m2m"===n.id}))[0].display=!0):l.contactForm.push("m2m_annuary_id"===e?{id:"externalId_"+e,unit:"maarch2maarch",label:e,type:"string",control:new sy({value:n.externalId[e],disabled:!0}),required:!1,display:!0,filling:!1,values:[]}:{id:"externalId_"+e,unit:"complement",label:e,type:"string",control:new sy({value:n.externalId[e],disabled:!0}),required:!1,display:!0,filling:!1,values:[]}))}))},n.prototype.setContactCustomData=function(n){var l=this,e=-1;Object.keys(n.customFields).forEach((function(t){if(e=l.contactForm.map((function(n){return n.id})).indexOf("customField_"+t),!l.isEmptyValue(n.customFields[t])&&e>-1){if("date"===l.contactForm[e].type){var i=new Date(l.functions.formatFrenchDateToTechnicalDate(n.customFields[t]));n.customFields[t]=i}l.contactForm[e].control.setValue(n.customFields[t]),l.contactForm[e].display=!0}})),this.checkFilling()},n.prototype.initBanSearch=function(){var n=this;this.http.get("../../rest/ban/availableDepartments").pipe(Yr((function(l){null!==l.default&&-1!==l.departments.indexOf(l.default.toString())&&(n.addressBANCurrentDepartment=l.default),n.departmentList=l.departments})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.isValidForm=function(){var n=!0;return this.contactForm.filter((function(n){return n.display})).forEach((function(l){"DISABLED"!==l.control.status&&"VALID"!==l.control.status&&(n=!1),l.control.markAsTouched()})),n},n.prototype.onSubmit=function(){this.checkFilling(),this.addressBANMode&&this.emptyAddress()&&!this.noAddressRequired()?this.notify.error(this.lang.chooseBAN):this.isValidForm()?null!==this.contactId?this.updateContact():this.createContact():this.notify.error(this.lang.mustFixErrors)},n.prototype.createContact=function(){var n=this;this.http.post("../../rest/contacts",this.formatContact()).pipe(Yr((function(l){n.onSubmitEvent.emit(l.id),n.notify.success(n.lang.contactAdded),n.functions.empty(l.warning)||n.notify.error(l.warning)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.updateContact=function(){var n=this;this.http.put("../../rest/contacts/"+this.contactId,this.formatContact()).pipe(Yr((function(l){n.onSubmitEvent.emit(n.contactId),n.notify.success(n.lang.contactUpdated),n.functions.empty(l)||n.functions.empty(l.warning)||n.notify.error(l.warning)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.formatContact=function(){var n=this,l={customFields:{},externalId:{}},e=/customField_[.]*/g,t=/externalId_[.]*/g;return this.contactForm.filter((function(n){return n.display})).forEach((function(i){if("date"===i.type&&!n.functions.empty(i.control.value)){var a=new Date(i.control.value);i.control.value=n.functions.formatDateObjectToDateString(a)}null!==i.id.match(e)?l.customFields[i.id.split(/_(.+)/)[1]]=i.control.value:null!==i.id.match(t)?l.externalId[i.id.split(/_(.+)/)[1]]=i.control.value:l[i.id]=i.control.value})),l},n.prototype.isEmptyUnit=function(n){return 0===this.contactForm.filter((function(l){return l.display&&l.unit===n})).length},n.prototype.initForm=function(){this.contactForm.forEach((function(n){n.control=new sy({value:"",disabled:!1})}))},n.prototype.toogleAllFieldsUnit=function(n){this.contactForm.filter((function(l){return l.unit===n})).forEach((function(n){n.display=!0}))},n.prototype.noField=function(n){return 0===this.contactForm.filter((function(l){return!l.display&&l.unit===n})).length},n.prototype.isEmptyValue=function(n){return null==n||(Array.isArray(n)?!(n.length>0):""===String(n))},n.prototype.checkCompany=function(n){var l=this;"company"!==n.id||""===n.control.value||null!==this.companyFound&&this.companyFound.company===n.control.value?"company"===n.id&&""===n.control.value&&(this.companyFound=null):this.http.get("../../rest/autocomplete/contacts/company?search="+n.control.value).pipe(Yr((function(){return l.companyFound=null})),tc((function(n){return n.length>0})),Yr((function(n){l.functions.empty(n[0].addressNumber)&&l.functions.empty(n[0].addressStreet)&&l.functions.empty(n[0].addressPostcode)&&l.functions.empty(n[0].addressTown)&&l.functions.empty(n[0].addressCountry)||(l.companyFound=n[0])})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.setAddress=function(n,l){var e=this;void 0===l&&(l=!0),this.companyFound=null;var t=-1;Object.keys(n).forEach((function(l){t=e.contactForm.map((function(n){return n.id})).indexOf(l),!e.isEmptyValue(n[l])&&t>-1&&["company","addressNumber","addressStreet","addressAdditional2","addressPostcode","addressTown","addressCountry"].indexOf(l)>-1&&(e.contactForm[t].control.setValue(n[l]),e.contactForm[t].display=!0)})),this.checkFilling(),this.addressBANMode=!l},n.prototype.canDelete=function(n){if("company"===n.id){var l=this.contactForm.filter((function(n){return"lastname"===n.id}))[0];return l.display&&!this.isEmptyValue(l.control.value)?(n.control.setValidators(e=[]),n.required=!1,!0):((e=[]).push(S_.required),n.control.setValidators(e),n.required=!0,!1)}if("lastname"===n.id){var e,t=this.contactForm.filter((function(n){return"company"===n.id}))[0];return t.display&&!this.isEmptyValue(t.control.value)?(n.control.setValidators(e=[]),n.required=!1,!0):((e=[]).push(S_.required),n.control.setValidators(e),n.required=!0,!1)}return!n.required&&!n.control.disabled},n.prototype.removeField=function(n){if(n.display=!n.display,n.control.reset(),("externalId_m2m"===n.id||"communicationMeans"===n.id)&&!n.display){var l=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m_annuary_id");l>-1&&this.contactForm.splice(l,1)}this.checkFilling(),this.checkContactName(n)},n.prototype.initAutocompleteCommunicationMeans=function(){var n=this;this.communicationMeanInfo=this.lang.autocompleteInfo,this.communicationMeanResult=[];var l=this.contactForm.map((function(n){return n.id})).indexOf("communicationMeans");this.contactForm[l].control.valueChanges.pipe(Sh(300),tc((function(n){return n.length>2})),Gh(),Yr((function(){return n.communicationMeanLoading=!0})),Sc((function(l){return n.http.get("../../rest/autocomplete/ouM2MAnnuary",{params:{company:l}})})),Yr((function(l){n.communicationMeanInfo=n.isEmptyValue(l)?n.lang.noAvailableValue:"",n.communicationMeanResult=l,n.communicationMeanFilteredResult=lu(n.communicationMeanResult),n.communicationMeanLoading=!1})),Qr((function(l){return n.communicationMeanInfo=l.error.errors,n.communicationMeanLoading=!1,lu(!1)}))).subscribe()},n.prototype.selectCommunicationMean=function(n){var l=this.contactForm.map((function(n){return n.id})).indexOf("communicationMeans");this.contactForm[l].control.setValue(n.option.value.communicationValue);var e=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m");this.contactForm[e].control.setValue(n.option.value.businessIdValue+"/"),this.contactForm[e].display=!0;var t=this.contactForm.map((function(n){return n.id})).indexOf("department");this.contactForm[t].display=!0},n.prototype.initAutocompleteExternalIdM2M=function(){var n=this;this.externalId_m2mInfo=this.lang.autocompleteInfo,this.externalId_m2mResult=[];var l=this.contactForm.map((function(n){return n.id})).indexOf("communicationMeans"),e=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m");this.contactForm[e].control.valueChanges.pipe(Sh(300),Gh(),Yr((function(){return n.externalId_m2mLoading=!0})),Sc((function(e){return n.http.get("../../rest/autocomplete/businessIdM2MAnnuary",{params:{query:e,communicationValue:n.contactForm[l].control.value}})})),Yr((function(l){n.externalId_m2mInfo=n.isEmptyValue(l)?n.lang.noAvailableValue:"",n.externalId_m2mResult=l,n.externalId_m2mFilteredResult=lu(n.externalId_m2mResult),n.externalId_m2mLoading=!1})),Qr((function(l){return n.externalId_m2mInfo=l.error.errors,n.externalId_m2mLoading=!1,lu(!1)}))).subscribe()},n.prototype.selectExternalIdM2M=function(n){var l=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m");this.contactForm[l].control.setValue(n.option.value.businessIdValue);var e=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m_annuary_id");this.contactForm[e].control.setValue(n.option.value.entryuuid)},n.prototype.resetAutocompleteExternalIdM2M=function(){var n;(n=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m_annuary_id"))>-1?this.contactForm[n].control.setValue(""):this.contactForm.push({id:"externalId_m2m_annuary_id",unit:"maarch2maarch",label:"m2m_annuary_id",type:"string",control:new sy({value:"",disabled:!0}),required:!1,display:!0,filling:!1,values:[]})},n.prototype.resetM2MFields=function(){var n;n=this.contactForm.map((function(n){return n.id})).indexOf("externalId_m2m"),this.contactForm[n].control.setValue(""),this.resetAutocompleteExternalIdM2M()},n.prototype.initAutocompleteAddressBan=function(){var n=this;this.addressBANInfo=this.lang.autocompleteInfo,this.addressBANResult=[],this.addressBANControl.valueChanges.pipe(Sh(300),tc((function(n){return n.length>2})),Gh(),Yr((function(){return n.addressBANLoading=!0})),Sc((function(l){return n.http.get("../../rest/autocomplete/banAddresses",{params:{address:l,department:n.addressBANCurrentDepartment}})})),Yr((function(l){n.addressBANInfo=0===l.length?n.lang.noAvailableValue:"",n.addressBANResult=l,n.addressBANFilteredResult=lu(n.addressBANResult),n.addressBANLoading=!1}))).subscribe()},n.prototype.resetAutocompleteAddressBan=function(){this.addressBANResult=[],this.addressBANInfo=this.lang.autocompleteInfo},n.prototype.selectAddressBan=function(n){this.setAddress({addressNumber:n.option.value.number,addressStreet:n.option.value.afnorName,addressPostcode:n.option.value.postalCode,addressTown:n.option.value.city,addressCountry:"FRANCE"},!1),this.addressBANControl.setValue("")},n.prototype.getValue=function(n){return this.contactForm.filter((function(l){return l.id===n}))[0].control.value},n.prototype.emptyAddress=function(){var n=this;return 5===this.contactForm.filter((function(l){return n.isEmptyValue(l.control.value)&&["addressNumber","addressStreet","addressPostcode","addressTown","addressCountry"].indexOf(l.id)>-1})).length},n.prototype.noAddressRequired=function(){return 5===this.contactForm.filter((function(n){return!n.required&&["addressNumber","addressStreet","addressPostcode","addressTown","addressCountry"].indexOf(n.id)>-1})).length},n.prototype.goTo=function(){var n=this.contactForm.filter((function(n){return"addressNumber"===n.id}))[0].control.value,l=this.contactForm.filter((function(n){return"addressStreet"===n.id}))[0].control.value,e=this.contactForm.filter((function(n){return"addressPostcode"===n.id}))[0].control.value,t=this.contactForm.filter((function(n){return"addressTown"===n.id}))[0].control.value,i=this.contactForm.filter((function(n){return"addressCountry"===n.id}))[0].control.value;window.open("https://www.google.com/maps/search/"+n+"+"+l+",+"+e+"+"+t+",+"+i,"_blank")},n.prototype.switchAddressMode=function(){var n=[];this.addressBANMode?(n.push(S_.required),this.contactForm.filter((function(n){return["addressNumber","addressStreet","addressPostcode","addressTown","addressCountry"].indexOf(n.id)>-1})).forEach((function(l){l.mandatory&&l.control.setValidators(n)})),this.addressBANMode=!this.addressBANMode):(this.contactForm.filter((function(n){return["addressNumber","addressStreet","addressPostcode","addressTown","addressCountry"].indexOf(n.id)>-1})).forEach((function(l){l.mandatory&&l.control.setValidators(n)})),this.addressBANMode=!this.addressBANMode)},n.prototype.getErrorMsg=function(n){if(!this.isEmptyValue(n))return void 0!==n.required?this.lang.requiredField:void 0!==n.pattern||void 0!==n.email?this.lang.badFormat:"unknow validator"},n.prototype.checkFilling=function(){var n=this,l=this.contactForm.filter((function(n){return n.filling})).length,e=this.contactForm.filter((function(l){return!n.isEmptyValue(l.control.value)&&l.filling})).length;this.fillingRate.value=Math.round(100*e/l),this.fillingRate.value<=this.fillingParameters.first_threshold?(this.fillingRate.color=this.contactService.getFillingColor("first"),this.fillingRate.class="warn"):this.fillingRate.value<=this.fillingParameters.second_threshold?(this.fillingRate.color=this.contactService.getFillingColor("second"),this.fillingRate.class="primary"):(this.fillingRate.color=this.contactService.getFillingColor("third"),this.fillingRate.class="accent")},n.prototype.toUpperCase=function(n,l){setTimeout((function(){var l=n.control.value;if(["lastname"].indexOf(n.id)>-1&&n.display)n.control.setValue(l.toUpperCase());else if(["firstname"].indexOf(n.id)>-1&&n.display){for(var e=l.toLowerCase().split(" "),t=0;t<e.length;t++)e[t]=e[t].charAt(0).toUpperCase()+e[t].substring(1);for(e=(e=e.join(" ")).split("-"),t=0;t<e.length;t++)e[t]=e[t].charAt(0).toUpperCase()+e[t].substring(1);n.control.setValue(e.join("-"))}}),100)},n.prototype.checkContactName=function(n){var l=this,e={firstname:this.contactForm.find((function(n){return"firstname"===n.id})).control.value,lastname:this.contactForm.find((function(n){return"lastname"===n.id})).control.value},t=void 0!==this.autocompleteContactName.find((function(n){return n.firstname===e.firstname&&n.lastname===e.lastname}));this.creationMode&&["firstname","lastname"].indexOf(n.id)>-1&&this.canSearchContact()&&!t?JSON.stringify(e)!==JSON.stringify(this.contactNameClone)&&this.http.get("../../rest/autocomplete/contacts/name?firstname="+e.firstname+"&lastname="+e.lastname).pipe(Yr((function(n){l.autocompleteContactName=[],l.autocompleteContactName=JSON.parse(JSON.stringify(n)),l.contactChanged=!1,l.contactNameClone=JSON.parse(JSON.stringify({firstname:l.contactForm.find((function(n){return"firstname"===n.id})).control.value,lastname:l.contactForm.find((function(n){return"lastname"===n.id})).control.value}))})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe():this.canSearchContact()||(this.contactChanged=!0)},n.prototype.canSearchContact=function(){var n=this.contactForm.find((function(n){return"firstname"===n.id})),l=this.contactForm.find((function(n){return"lastname"===n.id}));return!(this.functions.empty(n.control.value)||this.functions.empty(l.control.value)||!n.display||!l.display)||(this.contactChanged=!0,!1)},n.prototype.setContact=function(n){var l=this;this.fromAdministration?this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.setContactInfos,msg:this.lang.goToContact}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.router.navigate(["/administration/contacts/list/"+n])})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe():this.linkContact.emit(n)},n.prototype.showAllContact=function(){var n=this;this.dialog.open(R1,{disableClose:!0,width:"800px",panelClass:"maarch-modal",data:{contacts:this.autocompleteContactName,fromAdministration:this.fromAdministration}}).afterClosed().pipe(Yr((function(l){n.functions.empty(l)||n.setContact(l)}))).subscribe()},n}(),j1=yt({encapsulation:0,styles:[[".contact-item[_ngcontent-%COMP%]{height:auto!important}.unitTitle[_ngcontent-%COMP%]{display:-webkit-box;display:flex;color:#135f7f}.contact-address[_ngcontent-%COMP%]{cursor:pointer;color:#337ab7}.contact-address[_ngcontent-%COMP%]:hover .contact-content[_ngcontent-%COMP%]{text-decoration:underline}.contact-content[_ngcontent-%COMP%]{position:relative}.smallInput[_ngcontent-%COMP%]{font-size:11px;padding-left:20px;padding-right:20px}.smallInput[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{width:30px;height:25px;color:#135f7f}.smallInput[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%] .mat-button-wrapper{display:-webkit-box;display:flex;line-height:initial;-webkit-box-align:center;align-items:center}.smallInput[_ngcontent-%COMP%] .mat-form-field-infix{padding:0 0 5px}.radio-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.radio-form[_ngcontent-%COMP%] .mat-radio-button[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;max-width:250px}.checkbox-form[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);overflow:auto;max-height:200px;border:1px solid rgba(0,0,0,.12);border-radius:5px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%}.fillingBar[_ngcontent-%COMP%] .mat-progress-bar-buffer{background:#e4e8eb}.rate[_ngcontent-%COMP%]{font-size:10px;text-align:right}.fillingBar.mat-warn[_ngcontent-%COMP%] .mat-progress-bar-fill::after{background-color:#e81c2b}.fillingBar.mat-primary[_ngcontent-%COMP%] .mat-progress-bar-fill::after{background-color:#f4891e}.fillingBar.mat-accent[_ngcontent-%COMP%] .mat-progress-bar-fill::after{background-color:#0aa34f}.mat-error[_ngcontent-%COMP%]{font-size:10px;text-align:right;font-weight:700}.labelCustom[_ngcontent-%COMP%]{color:rgba(0,0,0,.54);-webkit-transform:scale(.75) translateX(-15%);transform:scale(.75) translateX(-15%);font-weight:400}.alert-message-info[_ngcontent-%COMP%]{margin:10px auto auto;max-width:-webkit-max-content;max-width:-moz-max-content;max-width:max-content;padding:0;overflow:hidden}.showAllContacts[_ngcontent-%COMP%]{color:#337ab7;font-weight:700;cursor:pointer}"]],data:{animation:[{type:7,name:"hideShow",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{height:"0px"},offset:null},{type:4,styles:{type:6,styles:{height:"30px"},offset:null},timings:"200ms"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{height:"30px"},offset:null},{type:4,styles:{type:6,styles:{height:"0px"},offset:null},timings:"200ms"}],options:null}],options:{}}]}});function V1(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function q1(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fas fa-circle rate mat-icon notranslate"],["role","img"],["style","height: auto;padding-right: 10px;"]],[[8,"title",0],[4,"color",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function z1(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=0!=(n.parent.context.$implicit.display=!n.parent.context.$implicit.display)&&t),t}),lL,nL)),Di(1,180224,[[5,4],[6,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,q1)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,l.parent.context.$implicit.filling)}),(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,5,0,l.parent.context.$implicit.label)}))}function U1(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,z1)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,!l.context.$implicit.display&&"mainInfo"===l.context.$implicit.unit)}),null)}function B1(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fas fa-circle rate mat-icon notranslate"],["role","img"],["style","height: auto;padding-right: 10px;"]],[[8,"title",0],[4,"color",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function $1(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=0!=(n.parent.context.$implicit.display=!n.parent.context.$implicit.display)&&t),t}),lL,nL)),Di(1,180224,[[8,4],[9,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,B1)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,l.parent.context.$implicit.filling)}),(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,5,0,l.parent.context.$implicit.label)}))}function H1(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$1)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,!l.context.$implicit.display&&"address"===l.context.$implicit.unit)}),null)}function G1(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fas fa-circle rate mat-icon notranslate"],["role","img"],["style","height: auto;padding-right: 10px;"]],[[8,"title",0],[4,"color",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function W1(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=0!=(n.parent.context.$implicit.display=!n.parent.context.$implicit.display)&&t),t}),lL,nL)),Di(1,180224,[[11,4],[12,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,G1)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,l.parent.context.$implicit.filling)}),(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,5,0,l.parent.context.$implicit.label)}))}function K1(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,W1)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,!l.context.$implicit.display&&"complement"===l.context.$implicit.unit)}),null)}function Y1(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fas fa-circle rate mat-icon notranslate"],["role","img"],["style","height: auto;padding-right: 10px;"]],[[8,"title",0],[4,"color",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function J1(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=0!=(n.parent.context.$implicit.display=!n.parent.context.$implicit.display)&&t),t}),lL,nL)),Di(1,180224,[[14,4],[15,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,Y1)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,l.parent.context.$implicit.filling)}),(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,5,0,l.parent.context.$implicit.label)}))}function Z1(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,J1)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,!l.context.$implicit.display&&"maarch2maarch"===l.context.$implicit.unit)}),null)}function Q1(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["style","padding: 10px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","rate"]],[[4,"color",null]],null,null,null,null)),(n()(),Lo(2,null,[""," "])),(n()(),_o(3,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,[""," %"])),(n()(),_o(5,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","fillingBar mat-progress-bar"],["mode","determinate"],["role","progressbar"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,T1,O1)),Di(6,4374528,null,0,D1,[Pe,La,[2,SC],[2,M1]],{color:[0,"color"],value:[1,"value"],mode:[2,"mode"]},null)],(function(n,l){var e=l.component;n(l,6,0,e.fillingRate.class,e.fillingRate.value,"determinate")}),(function(n,l){var e=l.component;n(l,1,0,e.fillingRate.color),n(l,2,0,e.lang.contactFilledTo),n(l,4,0,e.fillingRate.value),n(l,5,0,"indeterminate"===bi(l,6).mode||"query"===bi(l,6).mode?null:bi(l,6).value,bi(l,6).mode,bi(l,6)._isNoopAnimation)}))}function X1(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["style","margin-bottom: -8px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-icon",[["class","fas fa-angle-right mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:16px;width:14px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(3,0,null,null,1,"a",[["class","showAllContacts"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showAllContact()&&t),t}),null,null)),(n()(),Lo(4,null,["",""]))],(function(n,l){n(l,2,0,"primary")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color),n(l,4,0,e.lang.showAll)}))}function n2(n){return jo(0,[(n()(),_o(0,0,null,null,15,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"div",[["style","margin: 13px; width: 100% !important;"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(3,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(4,{padding:0}),(n()(),_o(5,0,null,null,8,"div",[["style","margin-top: -7px; margin-bottom: 2px;"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),_o(7,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,null,1,"a",[["style","cursor: pointer;font-weight:bold;font-style: italic;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.setContact(i.autocompleteContactName[0].id)&&t),t}),null,null)),(n()(),Lo(12,null,[""," ",""])),(n()(),Lo(13,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,X1)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,4,0,1===e.autocompleteContactName.length?"10px":"0px");n(l,3,0,t),n(l,15,0,e.autocompleteContactName.length>1)}),(function(n,l){var e=l.component;n(l,6,0,e.lang.contact),n(l,9,0,e.contactService.formatContact(e.autocompleteContactName[0])),n(l,10,0,e.lang.find),n(l,12,0,e.lang.click,e.lang.here),n(l,13,0,e.fromAdministration?e.lang.accessContact:e.lang.associateContact)}))}function l2(n){return jo(0,[(n()(),_o(0,0,null,null,11,"div",[["class","alert-message alert-message-info"],["role","alert"]],[[24,"@hideShow",0]],null,null,null,null)),(n()(),_o(1,0,null,null,10,"div",[["style","padding:10px;"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),(n()(),_o(3,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),Lo(5,null,[" "," ! "])),(n()(),_o(6,0,null,null,1,"a",[["style","cursor: pointer;font-weight:bold;font-style: italic;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.setAddress(i.companyFound)&&t),t}),null,null)),(n()(),Lo(7,null,[""," ",""])),(n()(),Lo(8,null,[" "," :"])),(n()(),_o(9,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"q",[["style","font-weight: bold;width: 100%;display: block;text-align: center;"]],null,null,null,null,null)),(n()(),Lo(11,null,[""," ",", "," ",", ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,void 0),n(l,2,0,e.lang.contactsParameters_company),n(l,4,0,e.companyFound.company),n(l,5,0,e.lang.found),n(l,7,0,e.lang.click,e.lang.here),n(l,8,0,e.lang.toCopyAddress),n(l,11,0,e.companyFound.addressNumber,e.companyFound.addressStreet,e.companyFound.addressPostcode,e.companyFound.addressTown,e.companyFound.addressCountry)}))}function e2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"a",[["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.addressBANMode=!i.addressBANMode)&&t),t}),null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.addressBANMode?e.lang.switchManualAddress:e.lang.searchAddressDb)}))}function t2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-hint",[["align","end"],["class","mat-hint"]],[[8,"innerHTML",1],[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[26,4]],0,tT,[],{align:[0,"align"]},null)],(function(n,l){n(l,1,0,"end")}),(function(n,l){n(l,0,0,l.parent.parent.parent.parent.context.$implicit.desc,"end"==bi(l,1).align,bi(l,1).id,null)}))}function i2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[25,4]],0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.getErrorMsg(l.parent.parent.parent.parent.context.$implicit.control.errors))}))}function a2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fas fa-circle rate mat-icon notranslate"],["matSuffix",""],["role","img"],["style","height: auto;"]],[[8,"title",0],[4,"color",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,16384,[[28,4]],0,oT,[],null,null),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function o2(n){return jo(0,[(n()(),_o(0,0,null,null,27,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,20,{_controlNonStatic:0}),ko(335544320,21,{_controlStatic:0}),ko(603979776,22,{_labelChildNonStatic:0}),ko(335544320,23,{_labelChildStatic:0}),ko(603979776,24,{_placeholderChild:0}),ko(603979776,25,{_errorChildren:1}),ko(603979776,26,{_hintChildren:1}),ko(603979776,27,{_prefixChildren:1}),ko(603979776,28,{_suffixChildren:1}),(n()(),_o(12,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"ngModelChange"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"blur"===l&&(i.checkCompany(n.parent.parent.parent.context.$implicit),i.checkContactName(n.parent.parent.parent.context.$implicit),t=!1!==i.checkFilling()&&t),"ngModelChange"===l&&(t=!1!==i.toUpperCase(n.parent.parent.parent.context.$implicit,e)&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(14,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[xy]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[20,4],[21,4]],nT,null,[OT]),(n()(),vo(16777216,null,7,1,null,t2)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,5,1,null,i2)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,4,1,null,a2)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,14,0,l.parent.parent.parent.context.$implicit.required),n(l,17,0,l.parent.parent.parent.context.$implicit.control),n(l,20,0,l.parent.parent.parent.context.$implicit.label,l.parent.parent.parent.context.$implicit.required),n(l,23,0,!e.isEmptyValue(l.parent.parent.parent.context.$implicit.desc)),n(l,25,0,"VALID"!==l.parent.parent.parent.context.$implicit.control.status&&l.parent.parent.parent.context.$implicit.control.touched),n(l,27,0,l.parent.parent.parent.context.$implicit.filling)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).required?"":null,bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()])}))}function r2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[34,4]],0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.getErrorMsg(l.parent.parent.parent.parent.context.$implicit.control.errors))}))}function u2(n){return jo(0,[(n()(),_o(0,0,null,null,23,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(12,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","0"],["step","0.1"],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(14,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[29,4],[30,4]],nT,null,[OT]),(n()(),vo(16777216,null,5,1,null,r2)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,14,0,l.parent.parent.parent.context.$implicit.required),n(l,17,0,l.parent.parent.parent.context.$implicit.control),n(l,20,0,l.parent.parent.parent.context.$implicit.label,l.parent.parent.parent.context.$implicit.required,"text"),n(l,23,0,"VALID"!==l.parent.parent.parent.context.$implicit.control.status&&l.parent.parent.parent.context.$implicit.control.touched)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).required?"":null,bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()])}))}function s2(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"plugin-select-search",[],null,null,null,kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(4,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showLabel:[4,"showLabel"],required:[5,"required"],hideErrorDesc:[6,"hideErrorDesc"],suffixIcon:[7,"suffixIcon"],class:[8,"class"]},null),Oo(5,{class:0,color:1,title:2})],(function(n,l){var e=l.component,t=l.parent.parent.parent.context.$implicit.label,i=l.parent.parent.parent.context.$implicit.control,a=l.parent.parent.parent.context.$implicit.values,o=l.parent.parent.parent.context.$implicit.label,r=l.parent.parent.parent.context.$implicit.required,u=l.parent.parent.parent.context.$implicit.filling?n(l,5,0,"fa-circle",e.fillingRate.color,e.lang.targetFillingField):null;n(l,4,0,t,i,a,o,!0,r,!1,u,"")}),null)}function c2(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[46,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,47,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,29))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function d2(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(e.stopPropagation(),t=!1!==n.parent.parent.parent.parent.context.$implicit.control.reset()&&t),t}),PC,MC)),Di(1,16384,[[46,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function p2(n){return jo(0,[(n()(),_o(0,0,null,null,31,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,30,"mat-form-field",[["class","mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,29).open()&&t),t}),kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,38,{_controlNonStatic:0}),ko(335544320,39,{_controlStatic:0}),ko(603979776,40,{_labelChildNonStatic:0}),ko(335544320,41,{_labelChildStatic:0}),ko(603979776,42,{_placeholderChild:0}),ko(603979776,43,{_errorChildren:1}),ko(603979776,44,{_hintChildren:1}),ko(603979776,45,{_prefixChildren:1}),ko(603979776,46,{_suffixChildren:1}),(n()(),_o(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(13,16384,[[40,4],[41,4]],0,iT,[],null,null),(n()(),Lo(14,null,[""," "])),(n()(),_o(15,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,16)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,16).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,16)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,16)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,17)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,17)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,17)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,24)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,24)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,24)._onInput()&&t),t}),null,null)),Di(16,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(17,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"]},null),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(20,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(24,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[38,4],[39,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,c2)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(29,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,d2)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,17,0,bi(l,29)),n(l,20,0,l.parent.parent.parent.context.$implicit.control),n(l,24,0,l.parent.parent.parent.context.$implicit.label,""),n(l,27,0,!l.parent.parent.parent.context.$implicit.control.value),n(l,29,0,e.appService.getViewMode()),n(l,31,0,l.parent.parent.parent.context.$implicit.control.value&&!l.parent.parent.parent.context.$implicit.control.disabled)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,0,l.parent.parent.parent.context.$implicit.label),n(l,15,1,[bi(l,17)._datepicker?"dialog":null,(null==bi(l,17)._datepicker?null:bi(l,17)._datepicker.opened)&&bi(l,17)._datepicker.id||null,bi(l,17).min?bi(l,17)._dateAdapter.toIso8601(bi(l,17).min):null,bi(l,17).max?bi(l,17)._dateAdapter.toIso8601(bi(l,17).max):null,bi(l,17).disabled,bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,24)._isServer,bi(l,24).id,bi(l,24).placeholder,bi(l,24).disabled,bi(l,24).required,bi(l,24).readonly&&!bi(l,24)._isNativeSelect||null,bi(l,24)._ariaDescribedby||null,bi(l,24).errorState,bi(l,24).required.toString()])}))}function m2(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(-1,null,["* "]))],null,null)}function f2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[48,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,l.context.$implicit.label)}))}function h2(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-circle rate"],["style","position:absolute;height: auto;padding-right: 10px;right: 0px;z-index: 1;top: 50%;transform: translateY(-50%);"]],[[8,"title",0],[4,"color",null]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color)}))}function g2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,null,0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.getErrorMsg(l.parent.parent.parent.parent.context.$implicit.control.errors))}))}function b2(n){return jo(0,[(n()(),_o(0,0,null,null,17,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"label",[["class","labelCustom"]],null,null,null,null,null)),(n()(),Lo(2,null,[""," "])),(n()(),vo(16777216,null,null,1,null,m2)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,8,"mat-radio-group",[["class","radio-form mat-radio-group"],["color","primary"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Di(6,1064960,null,1,gq,[Nl],{color:[0,"color"]},null),ko(603979776,48,{_radios:1}),Ei(1024,null,d_,(function(n){return[n]}),[gq]),Di(9,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(11,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,f2)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,h2)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,g2)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,4,0,l.parent.parent.parent.context.$implicit.required),n(l,6,0,"primary"),n(l,9,0,l.parent.parent.parent.context.$implicit.control),n(l,13,0,l.parent.parent.parent.context.$implicit.values),n(l,15,0,l.parent.parent.parent.context.$implicit.filling),n(l,17,0,"VALID"!==l.parent.parent.parent.context.$implicit.control.status&&l.parent.parent.parent.context.$implicit.control.touched)}),(function(n,l){n(l,2,0,l.parent.parent.parent.context.$implicit.label),n(l,5,0,bi(l,11).ngClassUntouched,bi(l,11).ngClassTouched,bi(l,11).ngClassPristine,bi(l,11).ngClassDirty,bi(l,11).ngClassValid,bi(l,11).ngClassInvalid,bi(l,11).ngClassPending)}))}function v2(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(-1,null,["* "]))],null,null)}function _2(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["color","primary"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[49,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],color:[1,"color"],value:[2,"value"]},null),ko(603979776,50,{_avatar:0}),ko(603979776,51,{_icon:0}),ko(603979776,52,{_lines:1}),(n()(),Lo(5,0,[" "," "]))],(function(n,l){n(l,1,0,"before","primary",l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,l.context.$implicit.label)}))}function y2(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-circle rate"],["style","position:absolute;height: auto;padding-right: 10px;right: 0px;z-index: 1;top: 50%;transform: translateY(-50%);"]],[[8,"title",0],[4,"color",null]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.targetFillingField,e.fillingRate.color)}))}function w2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,null,0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.getErrorMsg(l.parent.parent.parent.parent.context.$implicit.control.errors))}))}function x2(n){return jo(0,[(n()(),_o(0,0,null,null,17,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"label",[["class","labelCustom"]],null,null,null,null,null)),(n()(),Lo(2,null,[""," "])),(n()(),vo(16777216,null,null,1,null,v2)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,8,"mat-selection-list",[["aria-multiselectable","true"],["class","checkbox-form mat-selection-list mat-list-base"],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,6)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,6)._keydown(e)&&t),t}),FI,DI)),Di(6,1753088,[["shoes",4]],1,dI,[Pe,[8,null]],null,null),ko(603979776,49,{options:1}),Ei(1024,null,d_,(function(n){return[n]}),[dI]),Di(9,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(11,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,0,1,null,_2)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,y2)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,w2)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,4,0,l.parent.parent.parent.context.$implicit.required),n(l,9,0,l.parent.parent.parent.context.$implicit.control),n(l,13,0,l.parent.parent.parent.context.$implicit.values),n(l,15,0,l.parent.parent.parent.context.$implicit.filling),n(l,17,0,"VALID"!==l.parent.parent.parent.context.$implicit.control.status&&l.parent.parent.parent.context.$implicit.control.touched)}),(function(n,l){n(l,2,0,l.parent.parent.parent.context.$implicit.label),n(l,5,0,bi(l,6).tabIndex,bi(l,6).disabled.toString(),bi(l,11).ngClassUntouched,bi(l,11).ngClassTouched,bi(l,11).ngClassPristine,bi(l,11).ngClassDirty,bi(l,11).ngClassValid,bi(l,11).ngClassInvalid,bi(l,11).ngClassPending)}))}function C2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-hint",[["align","end"],["class","mat-hint"]],[[8,"innerHTML",1],[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[59,4]],0,tT,[],{align:[0,"align"]},null)],(function(n,l){n(l,1,0,"end")}),(function(n,l){n(l,0,0,l.parent.parent.parent.parent.parent.context.$implicit.desc,"end"==bi(l,1).align,bi(l,1).id,null)}))}function k2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[62,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.unitOrganization)}))}function S2(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,k2)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.communicationMeanFilteredResult)))}),null)}function I2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[62,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.communicationMeanInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function A2(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[62,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function M2(n){return jo(0,[(n()(),_o(0,0,null,null,32,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,53,{_controlNonStatic:0}),ko(335544320,54,{_controlStatic:0}),ko(603979776,55,{_labelChildNonStatic:0}),ko(335544320,56,{_labelChildStatic:0}),ko(603979776,57,{_placeholderChild:0}),ko(603979776,58,{_errorChildren:1}),ko(603979776,59,{_hintChildren:1}),ko(603979776,60,{_prefixChildren:1}),ko(603979776,61,{_suffixChildren:1}),(n()(),_o(11,16777216,[["autoCompleteInputCommunicationMean",1]],1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,13)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,13)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,13)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keyup"===l&&(t=!1!==i.resetM2MFields()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[53,4],[54,4]],nT,null,[OT]),(n()(),vo(16777216,null,7,1,null,C2)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectCommunicationMean(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(24,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,62,{options:1}),ko(603979776,63,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,S2)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,I2)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,A2)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,13,0,bi(l,24)),n(l,15,0,l.parent.parent.parent.parent.context.$implicit.control),n(l,18,0,e.lang.searchCommunicationMean,"text"),n(l,21,0,!e.isEmptyValue(l.parent.parent.parent.parent.context.$implicit.desc)),n(l,28,0,e.communicationMeanResult.length>0&&!e.communicationMeanLoading),n(l,30,0,0===e.communicationMeanResult.length&&!e.communicationMeanLoading),n(l,32,0,e.communicationMeanLoading)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).autocompleteAttribute,bi(l,13).autocompleteDisabled?null:"combobox",bi(l,13).autocompleteDisabled?null:"list",bi(l,13).panelOpen&&bi(l,13).activeOption?bi(l,13).activeOption.id:null,bi(l,13).autocompleteDisabled?null:bi(l,13).panelOpen.toString(),bi(l,13).autocompleteDisabled||!bi(l,13).panelOpen?null:null==bi(l,13).autocomplete?null:bi(l,13).autocomplete.id,!bi(l,13).autocompleteDisabled,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function P2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-hint",[["align","end"],["class","mat-hint"]],[[8,"innerHTML",1],[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[70,4]],0,tT,[],{align:[0,"align"]},null)],(function(n,l){n(l,1,0,"end")}),(function(n,l){n(l,0,0,l.parent.parent.parent.parent.parent.context.$implicit.desc,"end"==bi(l,1).align,bi(l,1).id,null)}))}function D2(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,64,{_controlNonStatic:0}),ko(335544320,65,{_controlStatic:0}),ko(603979776,66,{_labelChildNonStatic:0}),ko(335544320,67,{_labelChildStatic:0}),ko(603979776,68,{_placeholderChild:0}),ko(603979776,69,{_errorChildren:1}),ko(603979776,70,{_hintChildren:1}),ko(603979776,71,{_prefixChildren:1}),ko(603979776,72,{_suffixChildren:1}),(n()(),_o(11,0,[["autoCompleteInputCommunicationMean",1]],1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[64,4],[65,4]],nT,null,[OT]),(n()(),vo(16777216,null,7,1,null,P2)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,14,0,l.parent.parent.parent.parent.context.$implicit.control),n(l,17,0,e.lang.communicationMean,"text"),n(l,20,0,!e.isEmptyValue(l.parent.parent.parent.parent.context.$implicit.desc))}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()])}))}function F2(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,M2)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,D2)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.annuaryEnabled),n(l,4,0,!e.annuaryEnabled)}),null)}function E2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-hint",[["align","end"],["class","mat-hint"]],[[8,"innerHTML",1],[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[79,4]],0,tT,[],{align:[0,"align"]},null)],(function(n,l){n(l,1,0,"end")}),(function(n,l){n(l,0,0,l.parent.parent.parent.parent.parent.context.$implicit.desc,"end"==bi(l,1).align,bi(l,1).id,null)}))}function O2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[82,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.unitOrganization)}))}function T2(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,O2)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.externalId_m2mFilteredResult)))}),null)}function L2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[82,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.externalId_m2mInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function R2(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[82,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function N2(n){return jo(0,[(n()(),_o(0,0,null,null,32,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,73,{_controlNonStatic:0}),ko(335544320,74,{_controlStatic:0}),ko(603979776,75,{_labelChildNonStatic:0}),ko(335544320,76,{_labelChildStatic:0}),ko(603979776,77,{_placeholderChild:0}),ko(603979776,78,{_errorChildren:1}),ko(603979776,79,{_hintChildren:1}),ko(603979776,80,{_prefixChildren:1}),ko(603979776,81,{_suffixChildren:1}),(n()(),_o(11,16777216,[["autoCompleteInputExternalIdM2M",1]],1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,13)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,13)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,13)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keyup"===l&&(t=!1!==i.resetAutocompleteExternalIdM2M()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(13,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[73,4],[74,4]],nT,null,[OT]),(n()(),vo(16777216,null,7,1,null,E2)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectExternalIdM2M(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(24,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,82,{options:1}),ko(603979776,83,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,T2)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,L2)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,R2)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,13,0,bi(l,24)),n(l,15,0,l.parent.parent.parent.parent.context.$implicit.control),n(l,18,0,e.lang.searchExternalIdM2M,"text"),n(l,21,0,!e.isEmptyValue(l.parent.parent.parent.parent.context.$implicit.desc)),n(l,28,0,e.externalId_m2mResult.length>0&&!e.externalId_m2mLoading),n(l,30,0,0===e.externalId_m2mResult.length&&!e.externalId_m2mLoading),n(l,32,0,e.externalId_m2mLoading)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,13).autocompleteAttribute,bi(l,13).autocompleteDisabled?null:"combobox",bi(l,13).autocompleteDisabled?null:"list",bi(l,13).panelOpen&&bi(l,13).activeOption?bi(l,13).activeOption.id:null,bi(l,13).autocompleteDisabled?null:bi(l,13).panelOpen.toString(),bi(l,13).autocompleteDisabled||!bi(l,13).panelOpen?null:null==bi(l,13).autocomplete?null:bi(l,13).autocomplete.id,!bi(l,13).autocompleteDisabled,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function j2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-hint",[["align","end"],["class","mat-hint"]],[[8,"innerHTML",1],[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[90,4]],0,tT,[],{align:[0,"align"]},null)],(function(n,l){n(l,1,0,"end")}),(function(n,l){n(l,0,0,l.parent.parent.parent.parent.parent.context.$implicit.desc,"end"==bi(l,1).align,bi(l,1).id,null)}))}function V2(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,84,{_controlNonStatic:0}),ko(335544320,85,{_controlStatic:0}),ko(603979776,86,{_labelChildNonStatic:0}),ko(335544320,87,{_labelChildStatic:0}),ko(603979776,88,{_placeholderChild:0}),ko(603979776,89,{_errorChildren:1}),ko(603979776,90,{_hintChildren:1}),ko(603979776,91,{_prefixChildren:1}),ko(603979776,92,{_suffixChildren:1}),(n()(),_o(11,0,[["autoCompleteInputExternalIdM2M",1]],1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[84,4],[85,4]],nT,null,[OT]),(n()(),vo(16777216,null,7,1,null,j2)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,14,0,l.parent.parent.parent.parent.context.$implicit.control),n(l,17,0,e.lang.IdMaarch2Maarch,"text"),n(l,20,0,!e.isEmptyValue(l.parent.parent.parent.parent.context.$implicit.desc))}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()])}))}function q2(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,N2)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,V2)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.annuaryEnabled),n(l,4,0,!e.annuaryEnabled)}),null)}function z2(n){return jo(0,[(n()(),_o(0,0,null,null,17,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(1,16384,[[17,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,o2)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,u2)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,s2)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,p2)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,b2)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,x2)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,F2)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,q2)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,"string"===l.parent.parent.context.$implicit.type&&"communicationMeans"!==l.parent.parent.context.$implicit.id&&"externalId_m2m"!==l.parent.parent.context.$implicit.id),n(l,5,0,"integer"===l.parent.parent.context.$implicit.type),n(l,7,0,"select"===l.parent.parent.context.$implicit.type),n(l,9,0,"date"===l.parent.parent.context.$implicit.type),n(l,11,0,"radio"===l.parent.parent.context.$implicit.type),n(l,13,0,"checkbox"===l.parent.parent.context.$implicit.type),n(l,15,0,"communicationMeans"===l.parent.parent.context.$implicit.id),n(l,17,0,"externalId_m2m"===l.parent.parent.context.$implicit.id)}),null)}function U2(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeField(n.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,16384,null,0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,!l.component.canDelete(l.parent.parent.context.$implicit),"warn"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function B2(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,17,{_lines:1}),ko(603979776,18,{_avatar:0}),ko(603979776,19,{_icon:0}),(n()(),vo(16777216,null,1,1,null,z2)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,U2)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,6,0,l.parent.context.$implicit.display),n(l,8,0,l.parent.context.$implicit.display)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon)}))}function $2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[101,4]],0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.lang.requiredField)}))}function H2(n){return jo(0,[(n()(),_o(0,0,null,null,24,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(1,16384,[[93,4]],0,pv,[],null,null),(n()(),_o(2,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,96,{_controlNonStatic:0}),ko(335544320,97,{_controlStatic:0}),ko(603979776,98,{_labelChildNonStatic:0}),ko(335544320,99,{_labelChildStatic:0}),ko(603979776,100,{_placeholderChild:0}),ko(603979776,101,{_errorChildren:1}),ko(603979776,102,{_hintChildren:1}),ko(603979776,103,{_prefixChildren:1}),ko(603979776,104,{_suffixChildren:1}),(n()(),_o(13,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,14)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,14).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,14)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,14)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),t}),null,null)),Di(14,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(15,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(18,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[96,4],[97,4]],nT,null,[OT]),(n()(),vo(16777216,null,5,1,null,$2)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,15,0,l.parent.parent.context.$implicit.required),n(l,18,0,l.parent.parent.context.$implicit.control),n(l,21,0,l.parent.parent.context.$implicit.label,l.parent.parent.context.$implicit.required);var e=l.parent.parent.context.$implicit.control.hasError("required");n(l,24,0,e)}),(function(n,l){n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[bi(l,15).required?"":null,bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()])}))}function G2(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeField(n.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,16384,null,0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,!l.component.canDelete(l.parent.parent.context.$implicit),"warn"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function W2(n){return jo(0,[(n()(),_o(0,0,null,null,9,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,93,{_lines:1}),ko(603979776,94,{_avatar:0}),ko(603979776,95,{_icon:0}),(n()(),vo(16777216,null,1,1,null,H2)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,G2)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,7,0,l.parent.context.$implicit.display),n(l,9,0,l.parent.context.$implicit.display)}),(function(n,l){n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon)}))}function K2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==(i.addressBANCurrentDepartment=n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[117,4],[118,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.context.$implicit)}))}function Y2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[120,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.address)}))}function J2(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,Y2)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.addressBANFilteredResult)))}),null)}function Z2(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[120,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.addressBANInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function Q2(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[120,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function X2(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(1,16384,[[122,4],[105,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.getValue("addressAdditional1"))}))}function n6(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(1,16384,[[122,4],[105,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.getValue("addressAdditional2"))}))}function l6(n){return jo(0,[(n()(),_o(0,0,null,null,22,"mat-card",[["class","mat-card"],["style","margin:10px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,20,"mat-list-item",[["class","contact-address mat-list-item"]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.goTo(i.contact)&&t),t}),AI,II)),Di(3,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,122,{_lines:1}),ko(603979776,123,{_avatar:0}),ko(603979776,124,{_icon:0}),(n()(),_o(7,0,null,0,2,"mat-icon",[["class","contact-group fas fa-map-marker-alt mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(9,16384,[[124,4],[107,4]],0,iI,[],null,null),(n()(),vo(16777216,null,1,1,null,X2)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(12,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(13,16384,[[122,4],[105,4]],0,pv,[],null,null),(n()(),Lo(14,null,[" "," "," "])),(n()(),vo(16777216,null,1,1,null,n6)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(17,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(18,16384,[[122,4],[105,4]],0,pv,[],null,null),(n()(),Lo(19,null,[" "," "," "])),(n()(),_o(20,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(21,16384,[[122,4],[105,4]],0,pv,[],null,null),(n()(),Lo(22,null,[" "," "]))],(function(n,l){var e=l.component;n(l,8,0,"primary"),n(l,11,0,!e.isEmptyValue(e.getValue("addressAdditional1"))),n(l,16,0,!e.isEmptyValue(e.getValue("addressAdditional2")))}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.address,bi(l,3)._avatar||bi(l,3)._icon,bi(l,3)._avatar||bi(l,3)._icon),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,14,0,e.getValue("addressNumber"),e.getValue("addressStreet")),n(l,19,0,e.getValue("addressPostcode"),e.getValue("addressTown")),n(l,22,0,e.getValue("addressCountry"))}))}function e6(n){return jo(0,[(n()(),_o(0,0,null,null,60,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,59,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,105,{_lines:1}),ko(603979776,106,{_avatar:0}),ko(603979776,107,{_icon:0}),(n()(),_o(6,0,null,1,54,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(7,16384,[[105,4]],0,pv,[],null,null),(n()(),_o(8,0,null,null,50,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(9,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,108,{_controlNonStatic:0}),ko(335544320,109,{_controlStatic:0}),ko(603979776,110,{_labelChildNonStatic:0}),ko(335544320,111,{_labelChildStatic:0}),ko(603979776,112,{_placeholderChild:0}),ko(603979776,113,{_errorChildren:1}),ko(603979776,114,{_hintChildren:1}),ko(603979776,115,{_prefixChildren:1}),ko(603979776,116,{_suffixChildren:1}),(n()(),_o(19,16777216,null,4,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,22)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,22)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,22)._handleClick(e)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),PC,MC)),Di(20,16384,[[116,4]],0,oT,[],null,null),Di(21,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(22,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(23,0,[" "," "])),(n()(),_o(24,0,null,0,0,"i",[["class","fa fa-chevron-down"]],null,null,null,null,null)),(n()(),_o(25,0,null,1,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(28,1294336,[["menuDep",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,117,{_allItems:1}),ko(603979776,118,{items:1}),ko(603979776,119,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,K2)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(34,0,null,0,2,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["matPrefix",""],["role","img"],["style","font-size: 15px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(35,16384,[[115,4]],0,aT,[],null,null),Di(36,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(37,16777216,[["autoCompleteInput",1]],1,10,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["type","text"]],[[1,"maxlength",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"focus"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,38)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,38).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,38)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,38)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,41)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,41)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,41)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,41)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,46)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,46)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,46)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"focus"===l&&(t=!1!==i.resetAutocompleteAddressBan()&&t),t}),null,null)),Di(38,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(39,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Di(41,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(43,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(45,16384,null,0,y_,[[4,v_]],null,null),Di(46,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[108,4],[109,4]],nT,null,[OT]),(n()(),_o(48,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectAddressBan(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(50,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,120,{options:1}),ko(603979776,121,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,J2)),Di(54,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Z2)),Di(56,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Q2)),Di(58,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,l6)),Di(60,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,9,0,"outline"),n(l,22,0,bi(l,28)),n(l,28,0),n(l,33,0,e.departmentList),n(l,36,0,"primary"),n(l,39,0,"128"),n(l,41,0,bi(l,50)),n(l,43,0,e.addressBANControl),n(l,46,0,e.lang.searchAddressBan,"text"),n(l,54,0,e.addressBANResult.length>0&&!e.addressBANLoading),n(l,56,0,0===e.addressBANResult.length&&!e.addressBANLoading),n(l,58,0,e.addressBANLoading),n(l,60,0,!e.emptyAddress())}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,8,1,["standard"==bi(l,9).appearance,"fill"==bi(l,9).appearance,"outline"==bi(l,9).appearance,"legacy"==bi(l,9).appearance,bi(l,9)._control.errorState,bi(l,9)._canLabelFloat,bi(l,9)._shouldLabelFloat(),bi(l,9)._hasFloatingLabel(),bi(l,9)._hideControlPlaceholder(),bi(l,9)._control.disabled,bi(l,9)._control.autofilled,bi(l,9)._control.focused,"accent"==bi(l,9).color,"warn"==bi(l,9).color,bi(l,9)._shouldForward("untouched"),bi(l,9)._shouldForward("touched"),bi(l,9)._shouldForward("pristine"),bi(l,9)._shouldForward("dirty"),bi(l,9)._shouldForward("valid"),bi(l,9)._shouldForward("invalid"),bi(l,9)._shouldForward("pending"),!bi(l,9)._animationsEnabled]),n(l,19,0,e.lang.targetDepartment,bi(l,21).disabled||null,"NoopAnimations"===bi(l,21)._animationMode,bi(l,22).menuOpen||null),n(l,23,0,e.addressBANCurrentDepartment),n(l,34,0,bi(l,36).inline,"primary"!==bi(l,36).color&&"accent"!==bi(l,36).color&&"warn"!==bi(l,36).color),n(l,37,1,[bi(l,39).maxlength?bi(l,39).maxlength:null,bi(l,41).autocompleteAttribute,bi(l,41).autocompleteDisabled?null:"combobox",bi(l,41).autocompleteDisabled?null:"list",bi(l,41).panelOpen&&bi(l,41).activeOption?bi(l,41).activeOption.id:null,bi(l,41).autocompleteDisabled?null:bi(l,41).panelOpen.toString(),bi(l,41).autocompleteDisabled||!bi(l,41).panelOpen?null:null==bi(l,41).autocomplete?null:bi(l,41).autocomplete.id,!bi(l,41).autocompleteDisabled,bi(l,45).ngClassUntouched,bi(l,45).ngClassTouched,bi(l,45).ngClassPristine,bi(l,45).ngClassDirty,bi(l,45).ngClassValid,bi(l,45).ngClassInvalid,bi(l,45).ngClassPending,bi(l,46)._isServer,bi(l,46).id,bi(l,46).placeholder,bi(l,46).disabled,bi(l,46).required,bi(l,46).readonly&&!bi(l,46)._isNativeSelect||null,bi(l,46)._ariaDescribedby||null,bi(l,46).errorState,bi(l,46).required.toString()])}))}function t6(n){return jo(0,[(n()(),_o(0,0,null,null,7,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,B2)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,W2)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(5,2),(n()(),vo(16777216,null,null,1,null,e6)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.unit===l.parent.parent.context.$implicit.id&&"address"!==l.parent.parent.context.$implicit.id||l.context.$implicit.unit===l.parent.parent.context.$implicit.id&&"address"===l.parent.parent.context.$implicit.id&&!e.addressBANMode);var t="address"===l.parent.parent.context.$implicit.id&&e.addressBANMode&&n(l,5,0,"addressAdditional1","addressAdditional2").indexOf(l.context.$implicit.id)>-1;n(l,4,0,t),n(l,7,0,"address"===l.parent.parent.context.$implicit.id&&e.addressBANMode&&0===l.context.index)}),null)}function i6(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[],[[2,"col-sm-12",null],[2,"col-md-6",null],[2,"col-md-12",null]],null,null,null,null)),(n()(),_o(1,0,null,null,9,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(2,704512,null,0,tI,[Pe],null,null),(n()(),_o(3,0,null,0,5,"h3",[["class","unitTitle mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(4,16384,null,0,aI,[],null,null),(n()(),_o(5,0,null,null,1,"span",[["style","flex:1"]],null,null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),vo(16777216,null,null,1,null,e2)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,t6)),Di(10,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,8,0,"address"===l.parent.context.$implicit.id),n(l,10,0,e.contactForm)}),(function(n,l){var e=l.component;n(l,0,0,"maarch2maarch"!==l.parent.context.$implicit.id&&"complement"!==l.parent.context.$implicit.id&&!e.isEmptyUnit("mainInfo")&&!e.isEmptyUnit("address"),"maarch2maarch"!==l.parent.context.$implicit.id&&"complement"!==l.parent.context.$implicit.id&&!e.isEmptyUnit("mainInfo")&&!e.isEmptyUnit("address"),"complement"===l.parent.context.$implicit.id||"maarch2maarch"===l.parent.context.$implicit.id),n(l,6,0,l.parent.context.$implicit.label)}))}function a6(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,i6)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,!l.component.isEmptyUnit(l.context.$implicit.id))}),null)}function o6(n){return jo(0,[(n()(),_o(0,0,null,null,22,"mat-menu",[],null,null,null,XT,ZT)),Di(1,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,2,{_allItems:1}),ko(603979776,3,{items:1}),ko(603979776,4,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(7,16777216,null,0,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,8)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,9)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,9)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,9)._handleClick(e)&&t),t}),lL,nL)),Di(8,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),Di(9,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(10,0,["",""])),(n()(),_o(11,16777216,null,0,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,12)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,12)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,13)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,13)._handleClick(e)&&t),t}),lL,nL)),Di(12,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),Di(13,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(14,0,["",""])),(n()(),_o(15,16777216,null,0,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,16)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,16)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,17)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,17)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,17)._handleClick(e)&&t),t}),lL,nL)),Di(16,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),Di(17,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(18,0,["",""])),(n()(),_o(19,16777216,null,0,3,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,20)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,20)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,21)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,21)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,21)._handleClick(e)&&t),t}),lL,nL)),Di(20,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),Di(21,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(-1,0,["Maarch2Maarch"])),(n()(),_o(23,0,null,null,13,"mat-menu",[],null,null,null,XT,ZT)),Di(24,1294336,[["mainInfo",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,5,{_allItems:1}),ko(603979776,6,{items:1}),ko(603979776,7,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(30,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""],["style","text-align: center;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,31)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,31)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.toogleAllFieldsUnit("mainInfo")&&t),t}),lL,nL)),Di(31,180224,[[5,4],[6,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(32,0,["",""])),(n()(),_o(33,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(34,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,U1)),Di(36,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(37,0,null,null,13,"mat-menu",[],null,null,null,XT,ZT)),Di(38,1294336,[["address",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,8,{_allItems:1}),ko(603979776,9,{items:1}),ko(603979776,10,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(44,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""],["style","text-align: center;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,45)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,45)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.toogleAllFieldsUnit("address")&&t),t}),lL,nL)),Di(45,180224,[[8,4],[9,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(46,0,["",""])),(n()(),_o(47,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(48,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,H1)),Di(50,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(51,0,null,null,13,"mat-menu",[],null,null,null,XT,ZT)),Di(52,1294336,[["complement",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,11,{_allItems:1}),ko(603979776,12,{items:1}),ko(603979776,13,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(58,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""],["style","text-align: center;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,59)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,59)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.toogleAllFieldsUnit("complement")&&t),t}),lL,nL)),Di(59,180224,[[11,4],[12,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(60,0,["",""])),(n()(),_o(61,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(62,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,K1)),Di(64,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(65,0,null,null,13,"mat-menu",[],null,null,null,XT,ZT)),Di(66,1294336,[["maarch2maarch",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,14,{_allItems:1}),ko(603979776,15,{items:1}),ko(603979776,16,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(72,0,null,0,2,"button",[["class","mat-menu-item"],["mat-menu-item",""],["style","text-align: center;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,73)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,73)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.toogleAllFieldsUnit("maarch2maarch")&&t),t}),lL,nL)),Di(73,180224,[[14,4],[15,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(74,0,["",""])),(n()(),_o(75,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(76,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,Z1)),Di(78,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Q1)),Di(80,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(81,0,null,null,4,"div",[["style","display: flex; flex: 1; align-items:flex-start;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,n2)),Di(83,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,l2)),Di(85,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(86,0,null,null,2,"div",[["class","row"],["style","margin: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,a6)),Di(88,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(89,0,null,null,7,"div",[["style","text-align:center;padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(90,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,92)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,92)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,92)._handleClick(e)&&t),t}),PC,MC)),Di(91,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(92,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(93,0,["","..."])),(n()(),_o(94,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(95,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(96,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0),n(l,8,0,e.noField("mainInfo")),n(l,9,0,bi(l,24)),n(l,12,0,e.noField("address")),n(l,13,0,bi(l,38)),n(l,16,0,e.noField("complement")),n(l,17,0,bi(l,52)),n(l,20,0,e.noField("maarch2maarch")),n(l,21,0,bi(l,66)),n(l,24,0),n(l,36,0,e.contactForm),n(l,38,0),n(l,50,0,e.contactForm),n(l,52,0),n(l,64,0,e.contactForm),n(l,66,0),n(l,78,0,e.contactForm),n(l,80,0,e.fillingParameters.enable),n(l,83,0,e.autocompleteContactName.length>0&&!e.contactChanged),n(l,85,0,null!==e.companyFound),n(l,88,0,e.contactUnit),n(l,91,0,"default"),n(l,92,0,bi(l,1)),n(l,95,0,"primary")}),(function(n,l){var e=l.component;n(l,7,0,bi(l,8).role,bi(l,8)._highlighted,bi(l,8)._triggersSubmenu,bi(l,8)._getTabIndex(),bi(l,8).disabled.toString(),bi(l,8).disabled||null,bi(l,9).menuOpen||null),n(l,10,0,e.lang.denomination),n(l,11,0,bi(l,12).role,bi(l,12)._highlighted,bi(l,12)._triggersSubmenu,bi(l,12)._getTabIndex(),bi(l,12).disabled.toString(),bi(l,12).disabled||null,bi(l,13).menuOpen||null),n(l,14,0,e.lang.address),n(l,15,0,bi(l,16).role,bi(l,16)._highlighted,bi(l,16)._triggersSubmenu,bi(l,16)._getTabIndex(),bi(l,16).disabled.toString(),bi(l,16).disabled||null,bi(l,17).menuOpen||null),n(l,18,0,e.lang.additionals),n(l,19,0,bi(l,20).role,bi(l,20)._highlighted,bi(l,20)._triggersSubmenu,bi(l,20)._getTabIndex(),bi(l,20).disabled.toString(),bi(l,20).disabled||null,bi(l,21).menuOpen||null),n(l,30,0,bi(l,31).role,bi(l,31)._highlighted,bi(l,31)._triggersSubmenu,bi(l,31)._getTabIndex(),bi(l,31).disabled.toString(),bi(l,31).disabled||null),n(l,32,0,e.lang.addAll),n(l,33,0,bi(l,34).vertical?"vertical":"horizontal",bi(l,34).vertical,!bi(l,34).vertical,bi(l,34).inset),n(l,44,0,bi(l,45).role,bi(l,45)._highlighted,bi(l,45)._triggersSubmenu,bi(l,45)._getTabIndex(),bi(l,45).disabled.toString(),bi(l,45).disabled||null),n(l,46,0,e.lang.addAll),n(l,47,0,bi(l,48).vertical?"vertical":"horizontal",bi(l,48).vertical,!bi(l,48).vertical,bi(l,48).inset),n(l,58,0,bi(l,59).role,bi(l,59)._highlighted,bi(l,59)._triggersSubmenu,bi(l,59)._getTabIndex(),bi(l,59).disabled.toString(),bi(l,59).disabled||null),n(l,60,0,e.lang.addAll),n(l,61,0,bi(l,62).vertical?"vertical":"horizontal",bi(l,62).vertical,!bi(l,62).vertical,bi(l,62).inset),n(l,72,0,bi(l,73).role,bi(l,73)._highlighted,bi(l,73)._triggersSubmenu,bi(l,73)._getTabIndex(),bi(l,73).disabled.toString(),bi(l,73).disabled||null),n(l,74,0,e.lang.addAll),n(l,75,0,bi(l,76).vertical?"vertical":"horizontal",bi(l,76).vertical,!bi(l,76).vertical,bi(l,76).inset),n(l,90,0,bi(l,91).disabled||null,"NoopAnimations"===bi(l,91)._animationMode,bi(l,92).menuOpen||null),n(l,93,0,e.lang.moreInfos),n(l,94,0,bi(l,95).disabled||null,"NoopAnimations"===bi(l,95)._animationMode),n(l,96,0,e.lang.validate)}))}function r6(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),(n()(),vo(16777216,null,null,1,null,V1)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,o6))],(function(n,l){n(l,2,0,l.component.loading,bi(l,3))}),null)}var u6=function(){function n(n,l,e,t,i,a,o){this.http=n,this.route=l,this.router=e,this.headerService=t,this.appService=i,this.dialog=a,this.viewContainerRef=o,this.lang=Kr,this.loading=!1,this.creationMode=!0,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!1},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!1},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!1},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!1},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!1}],this.contactId=null}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.contactCreation),n.creationMode=!0,n.loading=!1):(n.headerService.setHeader(n.lang.contactModification),n.creationMode=!1,n.contactId=l.id,n.loading=!1)}))},n.prototype.goToList=function(){this.router.navigate(["/administration/contacts/list"])},n}(),s6=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}"]],data:{}});function c6(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[4,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function d6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,c6)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.subMenus)}),null)}function p6(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-contact-form",[],null,[[null,"onSubmitEvent"]],(function(n,l,e){var t=!0;return"onSubmitEvent"===l&&(t=!1!==n.component.goToList()&&t),t}),r6,j1)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(4,114688,null,0,N1,[nS,uf,tu,yu,Jv,L1,$S,Zp],{creationMode:[0,"creationMode"],contactId:[1,"contactId"]},{onSubmitEvent:"onSubmitEvent"})],(function(n,l){var e=l.component;n(l,4,0,e.creationMode,e.contactId)}),null)}function m6(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),(n()(),_o(1,0,null,null,19,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,d6)),(n()(),_o(6,0,null,1,14,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(7,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(8,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(10,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(12,114688,null,0,GO,[_u],null,null),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(15,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(16,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,0,3,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,null,2,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,p6)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,7,0),n(l,12,0),n(l,15,0),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,6,0,bi(l,7)._container._contentMargins.left,bi(l,7)._container._contentMargins.right),n(l,9,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode())}))}function f6(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,m6,s6)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,u6,[nS,Zp,uf,_u,yu,Jv,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var h6=oi("ng-component",u6,f6,{},{},[]),g6=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.sortPipe=a,this.viewContainerRef=o,this.lang=Kr,this.loading=!0,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!1},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!0},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!1},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!1},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!1}],this.customFieldsTypes=[{label:this.lang.stringInput,type:"string"},{label:this.lang.integerInput,type:"integer"},{label:this.lang.selectInput,type:"select"},{label:this.lang.dateInput,type:"date"},{label:this.lang.radioInput,type:"radio"},{label:this.lang.checkboxInput,type:"checkbox"}],this.customFields=[],this.customFieldsClone=[],this.incrementCreation=1,this.sampleIncrement=[1,2,3,4]}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.customFields+" "+this.lang.contacts),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.http.get("../../rest/contactsCustomFields").pipe(q((function(n){return n.customFields.forEach((function(n){n.values=n.values.map((function(n){return{label:n}}))})),n})),Yr((function(l){n.customFields=l.customFields,n.customFieldsClone=JSON.parse(JSON.stringify(n.customFields))})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.addCustomField=function(n){var l=this,e={};this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.add,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){e={label:l.lang.newField+" "+l.incrementCreation,type:n.type,values:[]}})),MN((function(n){return l.http.post("../../rest/contactsCustomFields",e)})),Yr((function(n){e.id=n.id,l.customFields.push(e),l.notify.success(l.lang.customFieldAdded),l.incrementCreation++})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.addValue=function(n){this.customFields[n].values.push({label:""})},n.prototype.removeValue=function(n,l){n.values.splice(l,1)},n.prototype.removeCustomField=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete+' "'+this.customFields[n].label+'"',msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/contactsCustomFields/"+l.customFields[n].id)})),Yr((function(){l.customFields.splice(n,1),l.notify.success(l.lang.customFieldDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.updateCustomField=function(n,l){var e=this;n.values=n.values.filter((function(n,l,e){return e.map((function(n){return n.label})).indexOf(n.label)===l}));var i=Object(t.__assign)({},n);if(i.values=n.values.map((function(n){return n.label})),this.customFields.filter((function(n){return n.label===i.label})).length>1)return this.notify.handleErrors(this.lang.customFieldAlreadyExists),lu(!1);this.http.put("../../rest/contactsCustomFields/"+n.id,i).pipe(Yr((function(){e.customFieldsClone[l]=JSON.parse(JSON.stringify(n)),e.notify.success(e.lang.customFieldUpdated)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sortValues=function(n){n.values=this.sortPipe.transform(n.values,"label")},n.prototype.isModified=function(n,l){return JSON.stringify(n)===JSON.stringify(this.customFieldsClone[l])||""===n.label},n}(),b6=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.mat-divider[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px}.customFielsdPanel[_ngcontent-%COMP%]{padding-left:0}.customFielsdPanel[_ngcontent-%COMP%] .mat-tab-body-wrapper{padding-left:0}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.customFieldValues[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{margin:5px}.mat-accordion[_ngcontent-%COMP%]{padding:5px}.mat-tab-body-content[_ngcontent-%COMP%], .mat-tab-body-wrapper[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{height:100%}.actionsCustomFields[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.actionValuesCustom[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.alert-message-info[_ngcontent-%COMP%]{margin-top:30px;max-width:100%}.addCustomFieldTypeContainer[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;width:60px}.customFieldsTypesItem[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-top:10px;padding-bottom:10px}.mat-badge-content[_ngcontent-%COMP%]{top:2px!important}"],tN],data:{}});function v6(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,5,{_lines:1}),ko(603979776,6,{_avatar:0}),ko(603979776,7,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[7,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[5,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function _6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,v6)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.subMenus)}),null)}function y6(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.noCustomFieldInfo)}))}function w6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","default"],["mat-mini-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.sortValues(n.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-sort-alpha-down mat-icon notranslate"],["color","primary"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,1,0,"default"),n(l,3,0,"primary")}),(function(n,l){n(l,0,0,l.component.lang.orderValues,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function x6(n){return jo(0,[(n()(),_o(0,0,null,null,23,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,32,{_controlNonStatic:0}),ko(335544320,33,{_controlStatic:0}),ko(603979776,34,{_labelChildNonStatic:0}),ko(335544320,35,{_labelChildStatic:0}),ko(603979776,36,{_placeholderChild:0}),ko(603979776,37,{_errorChildren:1}),ko(603979776,38,{_hintChildren:1}),ko(603979776,39,{_prefixChildren:1}),ko(603979776,40,{_suffixChildren:1}),(n()(),_o(11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.label=e)&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[32,4],[33,4]],nT,null,[OT]),(n()(),_o(19,0,null,4,4,"button",[["color","warn"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeValue(n.parent.parent.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(20,16384,[[40,4]],0,oT,[],null,null),Di(21,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(22,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(23,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,14,0,l.context.$implicit.label),n(l,17,0,e.lang.newValue),n(l,21,0,"warn"),n(l,23,0)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()]),n(l,19,0,e.lang.delete,bi(l,21).disabled||null,"NoopAnimations"===bi(l,21)._animationMode),n(l,22,0,bi(l,23).inline,"primary"!==bi(l,23).color&&"accent"!==bi(l,23).color&&"warn"!==bi(l,23).color)}))}function C6(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,22,"mat-expansion-panel",[["class","customFieldValues mat-expansion-panel"],["opened",""]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(2,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,31,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(5,0,null,0,7,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,6)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,6)._animationStarted()&&t),t}),aV,tV)),Di(6,180224,[[11,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(7,{collapsedHeight:0,expandedHeight:1}),Oo(8,{value:0,params:1}),(n()(),_o(9,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title mat-badge"],["matBadgeSize","small"]],[[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,null,null)),Di(10,16384,null,0,Zj,[],null,null),Di(11,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],size:[1,"size"]},null),(n()(),Lo(12,null,[" "," "])),(n()(),_o(13,0,null,1,7,"div",[["class","actionValuesCustom"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,3,"div",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addValue(n.parent.context.index)&&t),t}),PC,MC)),Di(16,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(17,0,[" ",""])),(n()(),_o(18,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,w6)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(21,0,null,1,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,x6)),Di(23,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,11,0,l.parent.context.$implicit.values.length,"small"),n(l,16,0,"primary"),n(l,20,0,l.parent.context.$implicit.values.length>0),n(l,23,0,l.parent.context.$implicit.values)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).expanded,"NoopAnimations"===bi(l,2)._animationMode,bi(l,2)._hasSpacing());var t=bi(l,6).panel._headerId,i=bi(l,6).disabled?-1:0,a=bi(l,6)._getPanelId(),o=bi(l,6)._isExpanded(),r=bi(l,6).panel.disabled,u=bi(l,6)._isExpanded(),s="after"===bi(l,6)._getTogglePosition(),c="before"===bi(l,6)._getTogglePosition(),d=bi(l,6)._animationsDisabled,p=n(l,8,0,bi(l,6)._getExpandedState(),n(l,7,0,bi(l,6).collapsedHeight,bi(l,6).expandedHeight));n(l,5,0,t,i,a,o,r,u,s,c,d,p),n(l,9,0,bi(l,11).overlap,bi(l,11).isAbove(),!bi(l,11).isAbove(),!bi(l,11).isAfter(),bi(l,11).isAfter(),"small"===bi(l,11).size,"medium"===bi(l,11).size,"large"===bi(l,11).size,bi(l,11).hidden||!bi(l,11)._hasContent,bi(l,11).disabled),n(l,12,0,e.lang.valuesList),n(l,15,0,bi(l,16).disabled||null,"NoopAnimations"===bi(l,16)._animationMode),n(l,17,0,e.lang.addValue)}))}function k6(n){return jo(0,[(n()(),_o(0,16777216,null,null,62,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,12,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,[[11,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["color","primary"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(12,16384,null,0,Jj,[],null,null),(n()(),Lo(13,null,[" "," "])),(n()(),_o(14,0,null,1,38,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(16,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(26,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","id"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,27)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,27)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,27)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,32)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,32)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,32)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.id=e)&&t),t}),null,null)),Di(27,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(29,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],value:[2,"value"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(34,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(35,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(45,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","label"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,46)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,46)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,46)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,51)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,51)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,51)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.label=e)&&t),t}),null,null)),Di(46,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(48,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(50,16384,null,0,y_,[[4,v_]],null,null),Di(51,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],value:[1,"value"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),vo(16777216,null,1,2,null,C6)),Di(54,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(55,3),(n()(),_o(56,0,null,1,6,"div",[["class","col-md-12 text-center"]],null,null,null,null,null)),(n()(),_o(57,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateCustomField(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(58,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(59,0,["",""])),(n()(),_o(60,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeCustomField(n.context.index)&&t),t}),PC,MC)),Di(61,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(62,0,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,29,0,"id","",l.context.$implicit.id),n(l,32,0,"",e.lang.technicalId,l.context.$implicit.id),n(l,48,0,"label",l.context.$implicit.label),n(l,51,0,e.lang.label,l.context.$implicit.label);var t=n(l,55,0,"select","radio","checkbox").indexOf(l.context.$implicit.type)>-1;n(l,54,0,t),n(l,58,0,e.isModified(l.context.$implicit,l.context.index),"primary"),n(l,61,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,0,l.context.$implicit.label),n(l,13,0,e.lang[l.context.$implicit.type+"Input"]),n(l,15,1,["standard"==bi(l,16).appearance,"fill"==bi(l,16).appearance,"outline"==bi(l,16).appearance,"legacy"==bi(l,16).appearance,bi(l,16)._control.errorState,bi(l,16)._canLabelFloat,bi(l,16)._shouldLabelFloat(),bi(l,16)._hasFloatingLabel(),bi(l,16)._hideControlPlaceholder(),bi(l,16)._control.disabled,bi(l,16)._control.autofilled,bi(l,16)._control.focused,"accent"==bi(l,16).color,"warn"==bi(l,16).color,bi(l,16)._shouldForward("untouched"),bi(l,16)._shouldForward("touched"),bi(l,16)._shouldForward("pristine"),bi(l,16)._shouldForward("dirty"),bi(l,16)._shouldForward("valid"),bi(l,16)._shouldForward("invalid"),bi(l,16)._shouldForward("pending"),!bi(l,16)._animationsEnabled]),n(l,26,1,[bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32)._isServer,bi(l,32).id,bi(l,32).placeholder,bi(l,32).disabled,bi(l,32).required,bi(l,32).readonly&&!bi(l,32)._isNativeSelect||null,bi(l,32)._ariaDescribedby||null,bi(l,32).errorState,bi(l,32).required.toString()]),n(l,34,1,["standard"==bi(l,35).appearance,"fill"==bi(l,35).appearance,"outline"==bi(l,35).appearance,"legacy"==bi(l,35).appearance,bi(l,35)._control.errorState,bi(l,35)._canLabelFloat,bi(l,35)._shouldLabelFloat(),bi(l,35)._hasFloatingLabel(),bi(l,35)._hideControlPlaceholder(),bi(l,35)._control.disabled,bi(l,35)._control.autofilled,bi(l,35)._control.focused,"accent"==bi(l,35).color,"warn"==bi(l,35).color,bi(l,35)._shouldForward("untouched"),bi(l,35)._shouldForward("touched"),bi(l,35)._shouldForward("pristine"),bi(l,35)._shouldForward("dirty"),bi(l,35)._shouldForward("valid"),bi(l,35)._shouldForward("invalid"),bi(l,35)._shouldForward("pending"),!bi(l,35)._animationsEnabled]),n(l,45,1,[bi(l,50).ngClassUntouched,bi(l,50).ngClassTouched,bi(l,50).ngClassPristine,bi(l,50).ngClassDirty,bi(l,50).ngClassValid,bi(l,50).ngClassInvalid,bi(l,50).ngClassPending,bi(l,51)._isServer,bi(l,51).id,bi(l,51).placeholder,bi(l,51).disabled,bi(l,51).required,bi(l,51).readonly&&!bi(l,51)._isNativeSelect||null,bi(l,51)._ariaDescribedby||null,bi(l,51).errorState,bi(l,51).required.toString()]),n(l,57,0,bi(l,58).disabled||null,"NoopAnimations"===bi(l,58)._animationMode),n(l,59,0,e.lang.update),n(l,60,0,bi(l,61).disabled||null,"NoopAnimations"===bi(l,61)._animationMode),n(l,62,0,e.lang.delete)}))}function S6(n){return jo(0,[(n()(),_o(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,44,{_controlNonStatic:0}),ko(335544320,45,{_controlStatic:0}),ko(603979776,46,{_labelChildNonStatic:0}),ko(335544320,47,{_labelChildStatic:0}),ko(603979776,48,{_placeholderChild:0}),ko(603979776,49,{_errorChildren:1}),ko(603979776,50,{_hintChildren:1}),ko(603979776,51,{_prefixChildren:1}),ko(603979776,52,{_suffixChildren:1}),(n()(),_o(12,0,null,1,3,"textarea",[["cdkAutosizeMaxRows","6"],["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["disabled",""],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["rows","1"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),"input"===l&&(t=!1!==bi(n,14)._noopInputHandler()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Di(14,4603904,null,0,PT,[Pe,sh,La],{maxRows:[0,"maxRows"],matAutosizeMinRows:[1,"matAutosizeMinRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[44,4],[45,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,14,0,"6","1","")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function I6(n){return jo(0,[(n()(),_o(0,0,null,null,14,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,13,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,53,{_controlNonStatic:0}),ko(335544320,54,{_controlStatic:0}),ko(603979776,55,{_labelChildNonStatic:0}),ko(335544320,56,{_labelChildStatic:0}),ko(603979776,57,{_placeholderChild:0}),ko(603979776,58,{_errorChildren:1}),ko(603979776,59,{_hintChildren:1}),ko(603979776,60,{_prefixChildren:1}),ko(603979776,61,{_suffixChildren:1}),(n()(),_o(12,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["type","number"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[53,4],[54,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"],"number")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function A6(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[71,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang.choice,l.context.$implicit)}))}function M6(n){return jo(0,[(n()(),_o(0,0,null,null,20,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,62,{_controlNonStatic:0}),ko(335544320,63,{_controlStatic:0}),ko(603979776,64,{_labelChildNonStatic:0}),ko(335544320,65,{_labelChildStatic:0}),ko(603979776,66,{_placeholderChild:0}),ko(603979776,67,{_errorChildren:1}),ko(603979776,68,{_hintChildren:1}),ko(603979776,69,{_prefixChildren:1}),ko(603979776,70,{_suffixChildren:1}),(n()(),_o(12,0,null,1,8,"mat-select",[["class","mat-select"],["disabled",""],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,14)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,14)._onBlur()&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(14,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[8,null],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,71,{options:1}),ko(603979776,72,{optionGroups:1}),ko(603979776,73,{customTrigger:0}),Ei(2048,[[62,4],[63,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,A6)),Di(20,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,14,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,20,0,e.sampleIncrement)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).id,bi(l,14).tabIndex,bi(l,14)._getAriaLabel(),bi(l,14)._getAriaLabelledby(),bi(l,14).required.toString(),bi(l,14).disabled.toString(),bi(l,14).errorState,bi(l,14).panelOpen?bi(l,14)._optionIds:null,bi(l,14).multiple,bi(l,14)._ariaDescribedby||null,bi(l,14)._getAriaActiveDescendant(),bi(l,14).disabled,bi(l,14).errorState,bi(l,14).required,bi(l,14).empty])}))}function P6(n){return jo(0,[(n()(),_o(0,0,null,null,24,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,23,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,74,{_controlNonStatic:0}),ko(335544320,75,{_controlStatic:0}),ko(603979776,76,{_labelChildNonStatic:0}),ko(335544320,77,{_labelChildStatic:0}),ko(603979776,78,{_placeholderChild:0}),ko(603979776,79,{_errorChildren:1}),ko(603979776,80,{_hintChildren:1}),ko(603979776,81,{_prefixChildren:1}),ko(603979776,82,{_suffixChildren:1}),(n()(),_o(12,0,null,1,6,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"change"],[null,"blur"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,15)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,15)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,15)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,15)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"click"===l&&(t=!1!==bi(n,24).open()&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[lw]),Ei(5120,null,C_,(function(n){return[n]}),[lw]),Di(15,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],disabled:[1,"disabled"]},null),Ei(2048,null,DT,null,[lw]),Di(17,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[6,DT],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[74,4],[75,4]],nT,null,[OT]),(n()(),_o(19,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,21)._button.focus()&&t),t}),nk,QC)),Di(20,16384,[[82,4]],0,oT,[],null,null),Di(21,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,83,{_customIcon:0}),(n()(),_o(23,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(24,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,15,0,bi(l,24),""),n(l,17,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,21,0,bi(l,24))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,15)._datepicker?"dialog":null,(null==bi(l,15)._datepicker?null:bi(l,15)._datepicker.opened)&&bi(l,15)._datepicker.id||null,bi(l,15).min?bi(l,15)._dateAdapter.toIso8601(bi(l,15).min):null,bi(l,15).max?bi(l,15)._dateAdapter.toIso8601(bi(l,15).max):null,bi(l,15).disabled,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()]),n(l,19,0,-1,bi(l,21).datepicker&&bi(l,21).datepicker.opened,bi(l,21).datepicker&&"accent"===bi(l,21).datepicker.color,bi(l,21).datepicker&&"warn"===bi(l,21).datepicker.color)}))}function D6(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[84,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,e.lang.choice,l.context.$implicit)}))}function F6(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-radio-group",[["class","radio-form mat-radio-group"],["color","primary"],["disabled",""],["role","radiogroup"]],null,null,null,null,null)),Ei(5120,null,d_,(function(n){return[n]}),[gq]),Di(3,1064960,null,1,gq,[Nl],{color:[0,"color"],disabled:[1,"disabled"]},null),ko(603979776,84,{_radios:1}),(n()(),vo(16777216,null,null,1,null,D6)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,"primary",""),n(l,6,0,e.sampleIncrement)}),null)}function E6(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[85,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],value:[1,"value"]},null),ko(603979776,86,{_avatar:0}),ko(603979776,87,{_icon:0}),ko(603979776,88,{_lines:1}),(n()(),Lo(5,0,[" "," "," "]))],(function(n,l){n(l,1,0,"before",l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,e.lang.choice,l.context.$implicit)}))}function O6(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip",[["class","mat-chip"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),t}),null,null)),Di(1,147456,[[89,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],null,null),ko(603979776,90,{avatar:0}),ko(603979776,91,{trailingIcon:0}),ko(603979776,92,{removeIcon:0}),(n()(),Lo(5,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.lang.selectedValue)}))}function T6(n){return jo(0,[(n()(),_o(0,0,null,null,13,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","input-form checkbox-form"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"mat-selection-list",[["aria-multiselectable","true"],["class","div-list mat-selection-list mat-list-base"],["disabled",""],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,4)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,4)._keydown(e)&&t),t}),FI,DI)),Ei(5120,null,d_,(function(n){return[n]}),[dI]),Di(4,1753088,[["sampleList",4]],1,dI,[Pe,[8,null]],{disabled:[0,"disabled"]},null),ko(603979776,85,{options:1}),(n()(),vo(16777216,null,0,1,null,E6)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(8,0,null,null,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,10).focus()&&t),"blur"===l&&(t=!1!==bi(n,10)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(10,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,89,{chips:1}),(n()(),vo(16777216,null,0,1,null,O6)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,7,0,e.sampleIncrement),n(l,10,0),n(l,13,0,bi(l,4).selectedOptions.selected)}),(function(n,l){n(l,2,0,bi(l,4).tabIndex,bi(l,4).disabled.toString()),n(l,8,1,[bi(l,10).disabled?null:bi(l,10)._tabIndex,bi(l,10)._ariaDescribedby||null,bi(l,10).required.toString(),bi(l,10).disabled.toString(),bi(l,10).errorState,bi(l,10).multiple,bi(l,10).role,bi(l,10).disabled,bi(l,10).errorState,bi(l,10).required,bi(l,10).ariaOrientation,bi(l,10)._uid])}))}function L6(n){return jo(0,[(n()(),_o(0,0,null,null,20,"div",[["class","customFieldsTypesItem"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["class","addCustomFieldTypeContainer"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addCustomField(n.context.$implicit)&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fas fa-plus-circle fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(6,0,null,null,14,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"div",[["style","color: rgba(0,0,0,0.54);"]],null,null,null,null,null)),(n()(),Lo(8,null,[""," :"])),(n()(),vo(16777216,null,null,1,null,S6)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,I6)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,M6)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,P6)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,F6)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,T6)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,"primary"),n(l,5,0),n(l,10,0,"string"===l.context.$implicit.type),n(l,12,0,"integer"===l.context.$implicit.type),n(l,14,0,"select"===l.context.$implicit.type),n(l,16,0,"date"===l.context.$implicit.type),n(l,18,0,"radio"===l.context.$implicit.type),n(l,20,0,"checkbox"===l.context.$implicit.type)}),(function(n,l){n(l,2,0,l.component.lang.add,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color),n(l,8,0,l.context.$implicit.label)}))}function R6(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),(n()(),_o(2,0,null,null,43,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,_6)),(n()(),_o(7,0,null,1,27,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,0,16,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,null,15,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,14,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(21,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,8,{_tabs:1}),(n()(),_o(23,16777216,null,null,11,"mat-tab",[],null,null,null,BV,zV)),Di(24,770048,[[8,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,9,{templateLabel:0}),ko(335544320,10,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,y6)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(29,0,null,0,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Ei(6144,null,Bj,null,[Qj]),Di(31,1720320,null,1,Qj,[],null,null),ko(603979776,11,{_headers:1}),(n()(),vo(16777216,null,null,1,null,k6)),Di(34,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(35,0,null,0,10,"mat-sidenav",[["class","col-md-4 col-sm-12 customFielsdPanel mat-drawer mat-sidenav"],["opened",""],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,36)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,36)._animationDoneListener(e)&&t),t}),zO,qO)),Di(36,3325952,[[3,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"]},null),(n()(),_o(37,0,null,0,8,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(38,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,41,{_tabs:1}),(n()(),_o(40,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(41,770048,[[41,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,42,{templateLabel:0}),ko(335544320,43,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,L6)),Di(45,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,""),n(l,8,0),n(l,13,0),n(l,16,0),n(l,24,0,e.lang.usableFields),n(l,28,0,0===e.customFields.length),n(l,34,0,e.customFields),n(l,36,0,"end",e.appService.getViewMode()?"over":"side","",e.appService.getViewMode()),n(l,41,0,e.lang.customFieldsTypesAvailable),n(l,45,0,e.customFieldsTypes)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,20,0,bi(l,21).dynamicHeight,"below"===bi(l,21).headerPosition),n(l,35,0,null,"end"===bi(l,36).position,"over"===bi(l,36).mode,"push"===bi(l,36).mode,"side"===bi(l,36).mode,bi(l,36).opened,bi(l,36).fixedInViewport,bi(l,36).fixedInViewport?bi(l,36).fixedTopGap:null,bi(l,36).fixedInViewport?bi(l,36).fixedBottomGap:null,bi(l,36)._animationState),n(l,37,0,bi(l,38).dynamicHeight,"below"===bi(l,38).headerPosition)}))}function N6(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"ng-component",[],null,null,null,R6,b6)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,null,0,g6,[nS,tu,Jv,_u,yu,HS,lt],null,null)],(function(n,l){n(l,3,0)}),null)}var j6=oi("ng-component",g6,N6,{},{},[]),V6=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.search=null,this.contactsGroups=[],this.titles=[],this.loading=!1,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!1},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!1},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!1},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!0},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!1}],this.displayedColumns=["label","description","nbContacts","public","owner","actions"],this.dataSource=new mR(this.contactsGroups),$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["label","description"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.contactsGroups),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/contactsGroups").subscribe((function(l){n.contactsGroups=l.contactsGroups,n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.contactsGroups),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.deleteContactsGroup=function(n){var l=this,e=this.contactsGroups[n];confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+e.label+" »")&&this.http.delete("../../rest/contactsGroups/"+e.id).subscribe((function(){var e=l.contactsGroups.length-1;l.contactsGroups[n]=l.contactsGroups[e],l.contactsGroups[n].position=n,l.contactsGroups.splice(e,1),l.dataSource=new mR(l.contactsGroups),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.contactsGroupDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),q6=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}"]],data:{}});function z6(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function U6(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/contacts/contacts-groups/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(18,49152,null,0,mI,[],null,null),(n()(),_o(19,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(20,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,z6)),Di(22,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"/administration/contacts/contacts-groups/new"),n(l,12,0,"primary"),n(l,22,0,e.subMenus)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add),n(l,17,0,bi(l,18).vertical?"vertical":"horizontal",bi(l,18).vertical,!bi(l,18).vertical,bi(l,18).inset)}))}function B6(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function $6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function H6(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.label)}))}function G6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function W6(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.description)}))}function K6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.relatedContactNumber)}))}function Y6(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.nbContacts)}))}function J6(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["color","primary"],["style","font-weight:bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.nbContacts)}))}function Z6(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,Y6)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,J6)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,0==l.context.$implicit.nbContacts),n(l,5,0,l.context.$implicit.nbContacts>0)}),null)}function Q6(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.public)}))}function X6(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.no)}))}function n7(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.yes)}))}function l7(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,X6)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,n7)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,!l.context.$implicit.public),n(l,5,0,l.context.$implicit.public)}),(function(n,l){n(l,0,0,l.component.appService.getViewMode())}))}function e7(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.createdBy)}))}function t7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.labelledOwner)}))}function i7(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function a7(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteContactsGroup(n.context.$implicit.position)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function o7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function r7(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/contacts/contacts-groups/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function u7(n){return jo(0,[(n()(),_o(0,0,null,null,114,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[3,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,91,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,22,{_contentColumnDefs:1}),ko(603979776,23,{_contentRowDefs:1}),ko(603979776,24,{_contentHeaderRowDefs:1}),ko(603979776,25,{_contentFooterRowDefs:1}),Di(28,737280,[[4,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,$6)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,H6)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,G6)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,W6)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,32,{cell:0}),ko(603979776,33,{headerCell:0}),ko(603979776,34,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,K6)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[33,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Z6)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[32,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,35,{cell:0}),ko(603979776,36,{headerCell:0}),ko(603979776,37,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Q6)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[36,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,l7)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[35,4]],OL,null,[eR]),(n()(),_o(81,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(83,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,38,{cell:0}),ko(603979776,39,{headerCell:0}),ko(603979776,40,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,e7)),Di(89,16384,null,0,tR,[Xe],null,null),Ei(2048,[[39,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,t7)),Di(92,16384,null,0,eR,[Xe],null,null),Ei(2048,[[38,4]],OL,null,[eR]),(n()(),_o(94,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(96,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,41,{cell:0}),ko(603979776,42,{headerCell:0}),ko(603979776,43,{footerCell:0}),Ei(2048,[[22,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,i7)),Di(102,16384,null,0,tR,[Xe],null,null),Ei(2048,[[42,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,a7)),Di(105,16384,null,0,eR,[Xe],null,null),Ei(2048,[[41,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,o7)),Di(108,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[24,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,r7)),Di(111,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[23,4]],UL,null,[uR]),(n()(),_o(113,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(114,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"label","asc"),n(l,31,0,"label"),n(l,44,0,"description"),n(l,57,0,"nbContacts"),n(l,70,0,"public"),n(l,83,0,"owner"),n(l,96,0,"actions"),n(l,108,0,e.displayedColumns),n(l,111,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,114,0,e.contactsGroups.length,e.lang.contactsGroupsAlt)}))}function s7(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{paginator:0}),ko(671088640,4,{sort:0}),(n()(),_o(4,0,null,null,23,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(5,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,U6)),(n()(),_o(9,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(10,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(11,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,B6)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,u7)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,0,1,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,27)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,27)._animationDoneListener(e)&&t),t}),zO,qO)),Di(27,3325952,[[5,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],fixedInViewport:[2,"fixedInViewport"]},null)],(function(n,l){var e=l.component;n(l,5,0,""),n(l,10,0),n(l,15,0),n(l,18,0),n(l,23,0,e.loading),n(l,25,0,!e.loading),n(l,27,0,"end",e.appService.getViewMode()?"over":"side",e.appService.getViewMode())}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5)._backdropOverride),n(l,9,0,bi(l,10)._container._contentMargins.left,bi(l,10)._container._contentMargins.right),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,26,0,null,"end"===bi(l,27).position,"over"===bi(l,27).mode,"push"===bi(l,27).mode,"side"===bi(l,27).mode,bi(l,27).opened,bi(l,27).fixedInViewport,bi(l,27).fixedInViewport?bi(l,27).fixedTopGap:null,bi(l,27).fixedInViewport?bi(l,27).fixedBottomGap:null,bi(l,27)._animationState)}))}function c7(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,s7,q6)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,V6,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var d7=oi("ng-component",V6,c7,{},{},[]),p7=function(){function n(n,l,e,t,i,a,o){var r=this;this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.viewContainerRef=o,this.lang=Kr,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!1},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!1},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!1},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!1},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!1}],this.contactsGroup={},this.loading=!1,this.initAutoCompleteContact=!0,this.searchTerm=new sy,this.searchResult=[],this.displayedColumns=["select","contact","address"],this.displayedColumnsAdded=["contact","address","actions"],this.selection=new hg(!0,[]),$j("link[href='merged_css.php']").remove(),this.searchTerm.valueChanges.pipe(Sh(500),tc((function(n){return n.length>2})),Gh(),Sc((function(n){return r.http.get("../../rest/autocomplete/contacts",{params:{search:n}})}))).subscribe((function(n){r.searchResult=n,r.dataSource=new mR(r.searchResult),r.dataSource.paginator=r.paginator}))}return n.prototype.masterToggle=function(n){var l=this;n.checked?this.dataSource.data.forEach((function(n){$j("#check_"+n.id+"-input").is(":disabled")||l.selection.select(n.id)})):this.selection.clear()},n.prototype.applyFilter=function(n){n=(n=n.trim()).toLowerCase(),this.dataSourceAdded.filter=n},n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.contactGroupCreation),n.creationMode=!0,n.contactsGroup.public=!1,n.loading=!1):(n.creationMode=!1,n.http.get("../../rest/contactsGroups/"+l.id).subscribe((function(l){n.contactsGroup=l.contactsGroup,n.headerService.setHeader(n.lang.contactsGroupModification,n.contactsGroup.label),n.nbContact=n.contactsGroup.nbContacts,setTimeout((function(){n.dataSourceAdded=new mR(n.contactsGroup.contacts),n.dataSourceAdded.paginator=n.paginatorAdded,n.dataSourceAdded.sort=n.sortAdded}),0),n.loading=!1})))}))},n.prototype.saveContactsList=function(n){var l=this;n.textContent=this.lang.loading+"...",n.disabled=!0,this.http.post("../../rest/contactsGroups/"+this.contactsGroup.id+"/contacts",{contacts:this.selection.selected}).subscribe((function(e){l.notify.success(l.lang.contactAdded),l.nbContact=l.nbContact+l.selection.selected.length,l.selection.clear(),n.textContent=l.lang.add,l.contactsGroup=e.contactsGroup,setTimeout((function(){l.dataSourceAdded=new mR(l.contactsGroup.contacts),l.dataSourceAdded.paginator=l.paginatorAdded,l.dataSourceAdded.sort=l.sortAdded}),0)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.onSubmit=function(){var n=this;this.creationMode?this.http.post("../../rest/contactsGroups",this.contactsGroup).subscribe((function(l){n.router.navigate(["/administration/contacts/contacts-groups/"+l.contactsGroup]),n.notify.success(n.lang.contactsGroupAdded)}),(function(l){n.notify.error(l.error.errors)})):this.http.put("../../rest/contactsGroups/"+this.contactsGroup.id,this.contactsGroup).subscribe((function(){n.router.navigate(["/administration/contacts-groups"]),n.notify.success(n.lang.contactsGroupUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.preDelete=function(n){confirm(this.lang.reallyWantToDeleteContactFromGroup)&&this.removeContact(this.contactsGroup.contacts[n],n)},n.prototype.removeContact=function(n,l){var e=this;this.http.delete("../../rest/contactsGroups/"+this.contactsGroup.id+"/contacts/"+n.id).subscribe((function(){var n=e.contactsGroup.contacts.length-1;e.contactsGroup.contacts[l]=e.contactsGroup.contacts[n],e.contactsGroup.contacts[l].position=l,e.contactsGroup.contacts.splice(n,1),e.nbContact=e.nbContact-1,e.dataSourceAdded=new mR(e.contactsGroup.contacts),e.dataSourceAdded.paginator=e.paginatorAdded,e.dataSourceAdded.sort=e.sortAdded,e.notify.success(e.lang.contactDeletedFromGroup)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.launchLoading=function(){this.searchTerm.value.length>2&&(this.dataSource=null,this.initAutoCompleteContact=!1)},n.prototype.isInGrp=function(n){var l=!1;return this.contactsGroup.contacts.forEach((function(e){e.id==n.id&&(l=!0)})),l},n.prototype.selectContact=function(n){$j("#check_"+n+"-input").is(":disabled")||this.selection.toggle(n)},n}(),m7=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}"]],data:{}});function f7(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,8,{_lines:1}),ko(603979776,9,{_avatar:0}),ko(603979776,10,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[10,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[8,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function h7(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,f7)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.subMenus)}),null)}function g7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function b7(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert alert-danger"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.limitDataReached_1000)}))}function v7(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,T1,O1)),Di(1,4374528,null,0,D1,[Pe,La,[2,SC],[2,M1]],{mode:[0,"mode"]},null)],(function(n,l){n(l,1,0,"indeterminate")}),(function(n,l){n(l,0,0,"indeterminate"===bi(l,1).mode||"query"===bi(l,1).mode?null:bi(l,1).value,bi(l,1).mode,bi(l,1)._isNoopAnimation)}))}function _7(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==(e?n.component.masterToggle(e):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(4,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"})],(function(n,l){n(l,4,0,"primary",l.component.selection.hasValue())}),(function(n,l){n(l,2,0,bi(l,4).id,null,bi(l,4).indeterminate,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function y7(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"change"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==e.stopPropagation()&&t),"change"===l&&(t=!1!==(e?i.selection.toggle(n.context.$implicit.id):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(4,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],id:[1,"id"],checked:[2,"checked"],disabled:[3,"disabled"]},{change:"change"})],(function(n,l){var e=l.component;n(l,4,0,"primary",Wt(1,"check_",l.context.$implicit.id,""),e.selection.isSelected(l.context.$implicit.id),e.isInGrp(l.context.$implicit))}),(function(n,l){n(l,2,0,bi(l,4).id,null,bi(l,4).indeterminate,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function w7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,[""," "]))],null,(function(n,l){n(l,2,0,l.component.lang.contact)}))}function x7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.contact)}))}function C7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,[""," "]))],null,(function(n,l){n(l,2,0,l.component.lang.address)}))}function k7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.address)}))}function S7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function I7(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-row",[["class","mat-row"],["role","row"],["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.selectContact(n.context.$implicit.id)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(3,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(4,{opacity:0}),Di(5,49152,null,0,cR,[],null,null)],(function(n,l){var e=n(l,4,0,l.component.isInGrp(l.context.$implicit)?"0.5":"");n(l,3,0,e)}),null)}function A7(n){return jo(0,[(n()(),_o(0,0,null,null,51,"mat-table",[["class","mat-table"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(2,2342912,[["tableContactList",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,43,{_contentColumnDefs:1}),ko(603979776,44,{_contentRowDefs:1}),ko(603979776,45,{_contentHeaderRowDefs:1}),ko(603979776,46,{_contentFooterRowDefs:1}),(n()(),_o(7,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(9,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,47,{cell:0}),ko(603979776,48,{headerCell:0}),ko(603979776,49,{footerCell:0}),Ei(2048,[[43,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,_7)),Di(15,16384,null,0,tR,[Xe],null,null),Ei(2048,[[48,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,y7)),Di(18,16384,null,0,eR,[Xe],null,null),Ei(2048,[[47,4]],OL,null,[eR]),(n()(),_o(20,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(22,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,50,{cell:0}),ko(603979776,51,{headerCell:0}),ko(603979776,52,{footerCell:0}),Ei(2048,[[43,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,w7)),Di(28,16384,null,0,tR,[Xe],null,null),Ei(2048,[[51,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,x7)),Di(31,16384,null,0,eR,[Xe],null,null),Ei(2048,[[50,4]],OL,null,[eR]),(n()(),_o(33,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(35,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,53,{cell:0}),ko(603979776,54,{headerCell:0}),ko(603979776,55,{footerCell:0}),Ei(2048,[[43,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,C7)),Di(41,16384,null,0,tR,[Xe],null,null),Ei(2048,[[54,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,k7)),Di(44,16384,null,0,eR,[Xe],null,null),Ei(2048,[[53,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,S7)),Di(47,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[45,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,I7)),Di(50,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[44,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,2,0,e.dataSource),n(l,9,0,"select"),n(l,22,0,"contact"),n(l,35,0,"address"),n(l,47,0,e.displayedColumns),n(l,50,0,e.displayedColumns)}),null)}function M7(n){return jo(0,[(n()(),_o(0,16777216,null,null,46,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[11,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,32,{templateLabel:0}),ko(335544320,33,{_explicitContent:0}),(n()(),_o(4,0,null,0,33,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,26,"div",[["class","col-md-8"],["style","padding:5px;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,25,"mat-form-field",[["class","mat-form-field"],["hintLabel","3 caractères minium"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{hintLabel:[0,"hintLabel"]},null),ko(603979776,34,{_controlNonStatic:0}),ko(335544320,35,{_controlStatic:0}),ko(603979776,36,{_labelChildNonStatic:0}),ko(335544320,37,{_labelChildStatic:0}),ko(603979776,38,{_placeholderChild:0}),ko(603979776,39,{_errorChildren:1}),ko(603979776,40,{_hintChildren:1}),ko(603979776,41,{_prefixChildren:1}),ko(603979776,42,{_suffixChildren:1}),(n()(),_o(17,0,null,0,4,"span",[["matPrefix",""]],null,null,null,null,null)),Di(18,16384,[[41,4]],0,aT,[],null,null),(n()(),_o(19,0,null,null,1,"mat-icon",[["class","fa fa-user-plus mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(20,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(-1,null,["  "])),(n()(),_o(22,0,null,1,9,"input",[["autocomplete","off"],["class","autocompleteSearch mat-input-element mat-form-field-autofill-control"],["matInput",""],["minlength","3"],["type","text"]],[[1,"minlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,23)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,23)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,23)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),"keyup"===l&&(t=!1!==i.launchLoading()&&t),t}),null,null)),Di(23,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(24,540672,null,0,Py,[],{minlength:[0,"minlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Py]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(27,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(29,16384,null,0,y_,[[4,v_]],null,null),Di(30,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[34,4],[35,4]],nT,null,[OT]),(n()(),_o(32,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,b7)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(37,245760,[[3,4],["paginatorContactList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),vo(16777216,null,0,1,null,v7)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,A7)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(42,0,null,0,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(43,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;margin-top:30px"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveContactsList(e.target)&&t),t}),PC,MC)),Di(45,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(46,0,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.addContacts,"")),n(l,7,0,"3 caractères minium"),n(l,20,0,"primary"),n(l,24,0,"3"),n(l,27,0,e.searchTerm),n(l,30,0,Wt(1,"",e.lang.linkContact,""),"text"),n(l,34,0,e.dataSource&&1e3==e.dataSource.data.length),n(l,37,0,0,10,!0),n(l,39,0,!e.dataSource&&!e.initAutoCompleteContact),n(l,41,0,e.dataSource),n(l,45,0,0==e.selection.selected.length,"primary")}),(function(n,l){var e=l.component;n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,19,0,bi(l,20).inline,"primary"!==bi(l,20).color&&"accent"!==bi(l,20).color&&"warn"!==bi(l,20).color),n(l,22,1,[bi(l,24).minlength?bi(l,24).minlength:null,bi(l,29).ngClassUntouched,bi(l,29).ngClassTouched,bi(l,29).ngClassPristine,bi(l,29).ngClassDirty,bi(l,29).ngClassValid,bi(l,29).ngClassInvalid,bi(l,29).ngClassPending,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()]),n(l,44,0,bi(l,45).disabled||null,"NoopAnimations"===bi(l,45)._animationMode),n(l,46,0,e.lang.add)}))}function P7(n){return jo(0,[(n()(),_o(0,0,null,null,77,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,75,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedTabIndex_1=e)&&t),t}),LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,11,{_tabs:1}),(n()(),_o(5,16777216,null,null,70,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[11,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,12,{templateLabel:0}),ko(335544320,13,{_explicitContent:0}),(n()(),_o(9,0,null,0,66,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[["contactsGroupFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,14,{_controlNonStatic:0}),ko(335544320,15,{_controlStatic:0}),ko(603979776,16,{_labelChildNonStatic:0}),ko(335544320,17,{_labelChildStatic:0}),ko(603979776,18,{_placeholderChild:0}),ko(603979776,19,{_errorChildren:1}),ko(603979776,20,{_hintChildren:1}),ko(603979776,21,{_prefixChildren:1}),ko(603979776,22,{_suffixChildren:1}),(n()(),_o(27,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","32"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,28)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,28).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,28)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,28)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,36)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,36)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,36)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.label=e)&&t),t}),null,null)),Di(28,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(29,16384,null,0,My,[],{required:[0,"required"]},null),Di(30,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(33,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(35,16384,null,0,y_,[[4,v_]],null,null),Di(36,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[14,4],[15,4]],nT,null,[OT]),(n()(),_o(38,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(39,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(40,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,23,{_controlNonStatic:0}),ko(335544320,24,{_controlStatic:0}),ko(603979776,25,{_labelChildNonStatic:0}),ko(335544320,26,{_labelChildStatic:0}),ko(603979776,27,{_placeholderChild:0}),ko(603979776,28,{_errorChildren:1}),ko(603979776,29,{_hintChildren:1}),ko(603979776,30,{_prefixChildren:1}),ko(603979776,31,{_suffixChildren:1}),(n()(),_o(51,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["maxlength","255"],["name","description"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,52)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,52).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,52)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,52)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,60)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,60)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,60)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.description=e)&&t),t}),null,null)),Di(52,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(53,16384,null,0,My,[],{required:[0,"required"]},null),Di(54,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(57,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(59,16384,null,0,y_,[[4,v_]],null,null),Di(60,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[23,4],[24,4]],nT,null,[OT]),(n()(),_o(62,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(63,0,null,null,7,"div",[["class","col-sm-6"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(64,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["id","public"],["name","public"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,65)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.public=e)&&t),t}),mV,pV)),Di(65,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],id:[2,"id"],checked:[3,"checked"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(67,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(69,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(70,0,["",""])),(n()(),_o(71,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(72,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(73,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(74,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(75,0,["",""])),(n()(),vo(16777216,null,null,1,null,M7)),Di(77,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedTabIndex_1),n(l,6,0,Wt(1,"",e.lang.informations,"")),n(l,29,0,""),n(l,30,0,"32"),n(l,33,0,"label",e.contactsGroup.label),n(l,36,0,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,53,0,""),n(l,54,0,"255"),n(l,57,0,"description",e.contactsGroup.description),n(l,60,0,"description",Wt(1,"",e.lang.description,""),"","text"),n(l,65,0,"primary","public","public",e.contactsGroup.public),n(l,67,0,"public",e.contactsGroup.public),n(l,74,0,!bi(l,11).form.valid,"primary"),n(l,77,0,!e.creationMode)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,1,[Wt(1,"",e.lang.label,""),bi(l,29).required?"":null,bi(l,30).maxlength?bi(l,30).maxlength:null,bi(l,35).ngClassUntouched,bi(l,35).ngClassTouched,bi(l,35).ngClassPristine,bi(l,35).ngClassDirty,bi(l,35).ngClassValid,bi(l,35).ngClassInvalid,bi(l,35).ngClassPending,bi(l,36)._isServer,bi(l,36).id,bi(l,36).placeholder,bi(l,36).disabled,bi(l,36).required,bi(l,36).readonly&&!bi(l,36)._isNativeSelect||null,bi(l,36)._ariaDescribedby||null,bi(l,36).errorState,bi(l,36).required.toString()]),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[Wt(1,"",e.lang.description,""),bi(l,53).required?"":null,bi(l,54).maxlength?bi(l,54).maxlength:null,bi(l,59).ngClassUntouched,bi(l,59).ngClassTouched,bi(l,59).ngClassPristine,bi(l,59).ngClassDirty,bi(l,59).ngClassValid,bi(l,59).ngClassInvalid,bi(l,59).ngClassPending,bi(l,60)._isServer,bi(l,60).id,bi(l,60).placeholder,bi(l,60).disabled,bi(l,60).required,bi(l,60).readonly&&!bi(l,60)._isNativeSelect||null,bi(l,60)._ariaDescribedby||null,bi(l,60).errorState,bi(l,60).required.toString()]),n(l,64,1,[Wt(1,"",e.lang.contactsGroupDesc,""),bi(l,65).id,bi(l,65).disabled?null:-1,bi(l,65).checked,bi(l,65).disabled,"before"==bi(l,65).labelPosition,"NoopAnimations"===bi(l,65)._animationMode,bi(l,69).ngClassUntouched,bi(l,69).ngClassTouched,bi(l,69).ngClassPristine,bi(l,69).ngClassDirty,bi(l,69).ngClassValid,bi(l,69).ngClassInvalid,bi(l,69).ngClassPending]),n(l,70,0,e.lang.public),n(l,73,0,bi(l,74).disabled||null,"NoopAnimations"===bi(l,74)._animationMode),n(l,75,0,e.lang.save)}))}function D7(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:3;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.contact)}))}function F7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.contact)}))}function E7(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:3;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.address)}))}function O7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.address)}))}function T7(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function L7(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.preDelete(n.context.$implicit.position)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function R7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function N7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function j7(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(402653184,3,{paginator:0}),ko(402653184,4,{paginatorAdded:0}),ko(402653184,5,{sortAdded:0}),(n()(),_o(5,0,null,null,100,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(6,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,6,{_drawers:1}),ko(603979776,7,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,h7)),(n()(),_o(10,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(11,1294336,[[7,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(12,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(16,114688,null,0,GO,[_u],null,null),(n()(),_o(17,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(19,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(20,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(22,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,g7)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,P7)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,0,78,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;width:40%;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,28)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,28)._animationDoneListener(e)&&t),t}),zO,qO)),Di(28,3325952,[[6,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"]},null),(n()(),_o(29,0,null,0,4,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(30,704512,null,0,tI,[Pe],null,null),(n()(),_o(31,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(32,16384,null,0,aI,[],null,null),(n()(),Lo(33,null,[""," "," : "])),(n()(),_o(34,0,null,0,18,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(37,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,56,{_controlNonStatic:0}),ko(335544320,57,{_controlStatic:0}),ko(603979776,58,{_labelChildNonStatic:0}),ko(335544320,59,{_labelChildStatic:0}),ko(603979776,60,{_placeholderChild:0}),ko(603979776,61,{_errorChildren:1}),ko(603979776,62,{_hintChildren:1}),ko(603979776,63,{_prefixChildren:1}),ko(603979776,64,{_suffixChildren:1}),(n()(),_o(47,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,48)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,48)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,48)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(48,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[56,4],[57,4]],nT,null,[OT]),(n()(),_o(50,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(51,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(52,245760,[[4,4],["paginatorAdded",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(53,0,null,0,52,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","contact"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(55,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,65,{_contentColumnDefs:1}),ko(603979776,66,{_contentRowDefs:1}),ko(603979776,67,{_contentHeaderRowDefs:1}),ko(603979776,68,{_contentFooterRowDefs:1}),Di(60,737280,[[5,4],["tableAdded",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(61,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(63,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,69,{cell:0}),ko(603979776,70,{headerCell:0}),ko(603979776,71,{footerCell:0}),Ei(2048,[[65,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,D7)),Di(69,16384,null,0,tR,[Xe],null,null),Ei(2048,[[70,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,F7)),Di(72,16384,null,0,eR,[Xe],null,null),Ei(2048,[[69,4]],OL,null,[eR]),(n()(),_o(74,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(76,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,72,{cell:0}),ko(603979776,73,{headerCell:0}),ko(603979776,74,{footerCell:0}),Ei(2048,[[65,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,E7)),Di(82,16384,null,0,tR,[Xe],null,null),Ei(2048,[[73,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,O7)),Di(85,16384,null,0,eR,[Xe],null,null),Ei(2048,[[72,4]],OL,null,[eR]),(n()(),_o(87,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(89,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,75,{cell:0}),ko(603979776,76,{headerCell:0}),ko(603979776,77,{footerCell:0}),Ei(2048,[[65,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,T7)),Di(95,16384,null,0,tR,[Xe],null,null),Ei(2048,[[76,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,L7)),Di(98,16384,null,0,eR,[Xe],null,null),Ei(2048,[[75,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,R7)),Di(101,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[67,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,N7)),Di(104,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[66,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,6,0,""),n(l,11,0),n(l,16,0),n(l,19,0),n(l,24,0,e.loading),n(l,26,0,!e.loading),n(l,28,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode()&&!e.creationMode,e.appService.getViewMode()),n(l,48,0,Wt(1,"",e.lang.filterBy,"")),n(l,52,0,0,10,!0),n(l,55,0,e.dataSourceAdded),n(l,60,0,"contact","asc"),n(l,63,0,"contact"),n(l,76,0,"address"),n(l,89,0,"actions"),n(l,101,0,e.displayedColumnsAdded),n(l,104,0,e.displayedColumnsAdded)}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6)._backdropOverride),n(l,10,0,bi(l,11)._container._contentMargins.left,bi(l,11)._container._contentMargins.right),n(l,13,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode()),n(l,21,0,e.appService.getViewMode()),n(l,27,0,null,"end"===bi(l,28).position,"over"===bi(l,28).mode,"push"===bi(l,28).mode,"side"===bi(l,28).mode,bi(l,28).opened,bi(l,28).fixedInViewport,bi(l,28).fixedInViewport?bi(l,28).fixedTopGap:null,bi(l,28).fixedInViewport?bi(l,28).fixedBottomGap:null,bi(l,28)._animationState),n(l,33,0,e.nbContact,e.lang.relatedContacts),n(l,36,1,["standard"==bi(l,37).appearance,"fill"==bi(l,37).appearance,"outline"==bi(l,37).appearance,"legacy"==bi(l,37).appearance,bi(l,37)._control.errorState,bi(l,37)._canLabelFloat,bi(l,37)._shouldLabelFloat(),bi(l,37)._hasFloatingLabel(),bi(l,37)._hideControlPlaceholder(),bi(l,37)._control.disabled,bi(l,37)._control.autofilled,bi(l,37)._control.focused,"accent"==bi(l,37).color,"warn"==bi(l,37).color,bi(l,37)._shouldForward("untouched"),bi(l,37)._shouldForward("touched"),bi(l,37)._shouldForward("pristine"),bi(l,37)._shouldForward("dirty"),bi(l,37)._shouldForward("valid"),bi(l,37)._shouldForward("invalid"),bi(l,37)._shouldForward("pending"),!bi(l,37)._animationsEnabled]),n(l,47,0,bi(l,48)._isServer,bi(l,48).id,bi(l,48).placeholder,bi(l,48).disabled,bi(l,48).required,bi(l,48).readonly&&!bi(l,48)._isNativeSelect||null,bi(l,48)._ariaDescribedby||null,bi(l,48).errorState,bi(l,48).required.toString())}))}function V7(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,j7,m7)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,p7,[nS,Zp,uf,tu,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var q7=oi("ng-component",p7,V7,{},{},[]),z7=function(){return function(){}}(),U7=function(n){function l(l,e,t,i,a,o){var r=n.call(this,l)||this;return r._focusMonitor=e,r._changeDetectorRef=t,r._dir=i,r._animationMode=o,r._invert=!1,r._max=100,r._min=0,r._step=1,r._thumbLabel=!1,r._tickInterval=0,r._value=null,r._vertical=!1,r.change=new la,r.input=new la,r.valueChange=new la,r.onTouched=function(){},r._percent=0,r._isSliding=!1,r._isActive=!1,r._tickIntervalPercent=0,r._sliderDimensions=null,r._controlValueAccessorChangeFn=function(){},r._dirChangeSubscription=s.EMPTY,r.tabIndex=parseInt(a)||0,r}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"invert",{get:function(){return this._invert},set:function(n){this._invert=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"max",{get:function(){return this._max},set:function(n){this._max=Jf(n,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"min",{get:function(){return this._min},set:function(n){this._min=Jf(n,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"step",{get:function(){return this._step},set:function(n){this._step=Jf(n,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"thumbLabel",{get:function(){return this._thumbLabel},set:function(n){this._thumbLabel=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"tickInterval",{get:function(){return this._tickInterval},set:function(n){this._tickInterval="auto"===n?"auto":"number"==typeof n||"string"==typeof n?Jf(n,this._tickInterval):0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"value",{get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(n){if(n!==this._value){var l=Jf(n);this._roundToDecimal&&(l=parseFloat(l.toFixed(this._roundToDecimal))),this._value=l,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"vertical",{get:function(){return this._vertical},set:function(n){this._vertical=Yf(n)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"displayValue",{get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0},enumerable:!0,configurable:!0}),l.prototype.focus=function(n){this._focusHostElement(n)},l.prototype.blur=function(){this._blurHostElement()},Object.defineProperty(l.prototype,"percent",{get:function(){return this._clamp(this._percent)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_invertAxis",{get:function(){return this.vertical?!this.invert:this.invert},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_isMinValue",{get:function(){return 0===this.percent},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_thumbGap",{get:function(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_trackBackgroundStyles",{get:function(){var n=this.vertical?"1, "+(1-this.percent)+", 1":1-this.percent+", 1, 1";return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this._shouldInvertMouseCoords()?"-":"")+this._thumbGap+"px) scale3d("+n+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_trackFillStyles",{get:function(){var n=this.vertical?"1, "+this.percent+", 1":this.percent+", 1, 1";return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this._shouldInvertMouseCoords()?"":"-")+this._thumbGap+"px) scale3d("+n+")"}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_ticksContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"-":"")+this._tickIntervalPercent/2*100+"%)"}},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_ticksStyles",{get:function(){var n=100*this._tickIntervalPercent,l={backgroundSize:this.vertical?"2px "+n+"%":n+"% 2px",transform:"translateZ(0) translate"+(this.vertical?"Y":"X")+"("+(this.vertical||"rtl"!=this._getDirection()?"":"-")+n/2+"%)"+(this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)")};return this._isMinValue&&this._thumbGap&&(l["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),l},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"_thumbContainerStyles",{get:function(){return{transform:"translate"+(this.vertical?"Y":"X")+"(-"+100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)+"%)"}},enumerable:!0,configurable:!0}),l.prototype._shouldInvertMouseCoords=function(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis},l.prototype._getDirection=function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"},l.prototype.ngOnInit=function(){var n=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(l){n._isActive=!!l&&"keyboard"!==l,n._changeDetectorRef.detectChanges()})),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe((function(){n._changeDetectorRef.markForCheck()})))},l.prototype.ngOnDestroy=function(){this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()},l.prototype._onMouseenter=function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())},l.prototype._onMousedown=function(n){if(!this.disabled&&0===n.button){var l=this.value;this._isSliding=!1,this._focusHostElement(),this._updateValueFromPosition({x:n.clientX,y:n.clientY}),l!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())}},l.prototype._onSlide=function(n){if(!this.disabled){this._isSliding||this._onSlideStart(null),n.preventDefault();var l=this.value;this._updateValueFromPosition({x:n.center.x,y:n.center.y}),l!=this.value&&this._emitInputEvent()}},l.prototype._onSlideStart=function(n){this.disabled||this._isSliding||(this._onMouseenter(),this._isSliding=!0,this._focusHostElement(),this._valueOnSlideStart=this.value,n&&(this._updateValueFromPosition({x:n.center.x,y:n.center.y}),n.preventDefault()))},l.prototype._onSlideEnd=function(){this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||this._emitChangeEvent(),this._valueOnSlideStart=null},l.prototype._onFocus=function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()},l.prototype._onBlur=function(){this.onTouched()},l.prototype._onKeydown=function(n){if(!this.disabled&&!oh(n)){var l=this.value;switch(n.keyCode){case 33:this._increment(10);break;case 34:this._increment(-10);break;case 35:this.value=this.max;break;case 36:this.value=this.min;break;case 37:this._increment("rtl"==this._getDirection()?1:-1);break;case 38:this._increment(1);break;case 39:this._increment("rtl"==this._getDirection()?-1:1);break;case 40:this._increment(-1);break;default:return}l!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,n.preventDefault()}},l.prototype._onKeyup=function(){this._isSliding=!1},l.prototype._increment=function(n){this.value=this._clamp((this.value||0)+this.step*n,this.min,this.max)},l.prototype._updateValueFromPosition=function(n){if(this._sliderDimensions){var l=this._clamp(((this.vertical?n.y:n.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(l=1-l),0===l)this.value=this.min;else if(1===l)this.value=this.max;else{var e=this._calculateValue(l),t=Math.round((e-this.min)/this.step)*this.step+this.min;this.value=this._clamp(t,this.min,this.max)}}},l.prototype._emitChangeEvent=function(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())},l.prototype._emitInputEvent=function(){this.input.emit(this._createChangeEvent())},l.prototype._updateTickIntervalPercent=function(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){var n=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,l=Math.ceil(30/(n*this.step/(this.max-this.min)));this._tickIntervalPercent=l*this.step/n}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)},l.prototype._createChangeEvent=function(n){void 0===n&&(n=this.value);var l=new z7;return l.source=this,l.value=n,l},l.prototype._calculatePercentage=function(n){return((n||0)-this.min)/(this.max-this.min)},l.prototype._calculateValue=function(n){return this.min+n*(this.max-this.min)},l.prototype._clamp=function(n,l,e){return void 0===l&&(l=0),void 0===e&&(e=1),Math.max(l,Math.min(n,e))},l.prototype._getSliderDimensions=function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null},l.prototype._focusHostElement=function(n){this._elementRef.nativeElement.focus(n)},l.prototype._blurHostElement=function(){this._elementRef.nativeElement.blur()},l.prototype.writeValue=function(n){this.value=n},l.prototype.registerOnChange=function(n){this._controlValueAccessorChangeFn=n},l.prototype.registerOnTouched=function(n){this.onTouched=n},l.prototype.setDisabledState=function(n){this.disabled=n},l}(Jb(Kb(Wb(function(){return function(n){this._elementRef=n}}()),"accent"))),B7=function(){return function(){}}(),$7=yt({encapsulation:2,styles:[".mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider.mat-slider-sliding:not(.mat-slider-disabled),.mat-slider:not(.mat-slider-disabled):active{cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}@media (-ms-high-contrast:active){.mat-slider-thumb-label{outline:solid 1px}}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}@media (-ms-high-contrast:active){.mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}@media (-ms-high-contrast:active){.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}@media (-ms-high-contrast:active){.mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-track-fill{transition:none}"],data:{}});function H7(n){return jo(2,[ko(671088640,1,{_sliderWrapper:0}),(n()(),_o(1,0,[[1,0],["sliderWrapper",1]],null,21,"div",[["class","mat-slider-wrapper"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,6,"div",[["class","mat-slider-track-wrapper"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"div",[["class","mat-slider-track-background"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(5,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(6,0,null,null,2,"div",[["class","mat-slider-track-fill"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(8,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(9,0,null,null,5,"div",[["class","mat-slider-ticks-container"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(11,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(12,0,null,null,2,"div",[["class","mat-slider-ticks"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(14,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(15,0,null,null,7,"div",[["class","mat-slider-thumb-container"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(17,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),(n()(),_o(18,0,null,null,0,"div",[["class","mat-slider-focus-ring"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,0,"div",[["class","mat-slider-thumb"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,2,"div",[["class","mat-slider-thumb-label"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"span",[["class","mat-slider-thumb-label-text"]],null,null,null,null,null)),(n()(),Lo(22,null,["",""]))],(function(n,l){var e=l.component;n(l,5,0,e._trackBackgroundStyles),n(l,8,0,e._trackFillStyles),n(l,11,0,e._ticksContainerStyles),n(l,14,0,e._ticksStyles),n(l,17,0,e._thumbContainerStyles)}),(function(n,l){n(l,22,0,l.component.displayValue)}))}var G7=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.viewContainerRef=i,this.lang=Kr,this.subMenus=[{icon:"fa fa-book",route:"/administration/contacts/list",label:this.lang.contactsList,current:!1},{icon:"fa fa-code",route:"/administration/contacts/contactsCustomFields",label:this.lang.customFieldsAdmin,current:!1},{icon:"fa fa-cog",route:"/administration/contacts/contacts-parameters",label:this.lang.contactsParameters,current:!0},{icon:"fa fa-users",route:"/administration/contacts/contacts-groups",label:this.lang.contactsGroups,current:!1},{icon:"fas fa-magic",route:"/administration/contacts/duplicates",label:this.lang.duplicatesContactsAdmin,current:!1}],this.contactsFilling={enable:!1,first_threshold:"33",second_threshold:"66"},this.contactsParameters=[],this.arrRatingColumns=[],this.fillingColor={first_threshold:"#E81C2B",second_threshold:"#F4891E",third_threshold:"#0AA34F"},this.loading=!1,this.dataSource=new mR(this.contactsParameters),this.displayedColumns=["identifier","mandatory","filling","searchable","displayable"],$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.setHeader(this.lang.contactsParameters),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.http.get("../../rest/contactsParameters").subscribe((function(l){n.contactsFilling=l.contactsFilling,n.contactsParameters=l.contactsParameters,n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.contactsParameters),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0)}))},n.prototype.addCriteria=function(n,l,e){var t=this;this.contactsParameters.forEach((function(i,a){i.id==l.id&&(t.contactsParameters[a][e]=n.checked)})),this.onSubmit()},n.prototype.onSubmit=function(){var n=this;this.contactsFilling.first_threshold>=this.contactsFilling.second_threshold&&(this.contactsFilling.second_threshold=this.contactsFilling.first_threshold+1),this.http.put("../../rest/contactsParameters",{contactsFilling:this.contactsFilling,contactsParameters:this.contactsParameters}).subscribe((function(){n.notify.success(n.lang.parameterUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.toggleFillingContact=function(){this.contactsFilling.enable=!0!==this.contactsFilling.enable,this.onSubmit()},n}(),W7=yt({encapsulation:0,styles:[[".active[_ngcontent-%COMP%], .active[_ngcontent-%COMP%]:active, .active[_ngcontent-%COMP%]:focus, .active[_ngcontent-%COMP%]:hover{color:#135f7f;border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}"]],data:{}});function K7(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.disabledContactsFilling)}))}function Y7(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.enabledContactsFilling)}))}function J7(n){return jo(0,[(n()(),_o(0,0,null,null,11,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"active",null],[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(1,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,9,{_lines:1}),ko(603979776,10,{_avatar:0}),ko(603979776,11,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[11,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[9,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.route),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,l.context.$implicit.current,bi(l,1).target,bi(l,1).href,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,l.context.$implicit.icon,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.label)}))}function Z7(n){return jo(0,[(n()(),_o(0,0,null,null,24,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,19,"a",[["class","mat-list-item"],["disableRipple","true"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(10,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(13,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,15)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleFillingContact()&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(15,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(16,0,null,1,8,"p",[["class","mat-line"],["mat-line",""]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleFillingContact()&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(18,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(19,{opacity:0}),Di(20,16384,[[6,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,K7)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Y7)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(25,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(26,49152,null,0,mI,[],null,null),(n()(),_o(27,0,null,null,3,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(28,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,1,null,J7)),Di(30,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"true"),n(l,11,0,"primary"),n(l,15,0,"primary",e.contactsFilling.enable);var t=n(l,19,0,e.contactsFilling.enable?"":"0.5");n(l,18,0,t),n(l,22,0,e.contactsFilling.enable),n(l,24,0,!e.contactsFilling.enable),n(l,30,0,e.subMenus)}),(function(n,l){n(l,4,0,l.component.lang.actions),n(l,5,0,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,13,0,bi(l,15).id,bi(l,15).disabled?null:-1,bi(l,15).checked,bi(l,15).disabled,"before"==bi(l,15).labelPosition,"NoopAnimations"===bi(l,15)._animationMode),n(l,25,0,bi(l,26).vertical?"vertical":"horizontal",bi(l,26).vertical,!bi(l,26).vertical,bi(l,26).inset)}))}function Q7(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function X7(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function n3(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang["contactsParameters_"+l.parent.context.$implicit.identifier])}))}function l3(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.label)}))}function e3(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,n3)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,l3)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,!l.context.$implicit.label),n(l,5,0,l.context.$implicit.label)}),null)}function t3(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.mandatory)}))}function i3(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","margin-left:11px"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,4)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.addCriteria(e,n.context.$implicit,"mandatory")&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(4,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{disabled:[0,"disabled"],color:[1,"color"],checked:[2,"checked"]},{change:"change"})],(function(n,l){n(l,4,0,"lastname"==l.context.$implicit.identifier||"company"==l.context.$implicit.identifier,"primary",l.context.$implicit.mandatory)}),(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.mandatory,""),bi(l,4).id,bi(l,4).disabled?null:-1,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function a3(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.contactsFillingCriteria)}))}function o3(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","margin-left:11px"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,4)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.addCriteria(e,n.context.$implicit,"filling")&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(4,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"})],(function(n,l){n(l,4,0,"primary",l.context.$implicit.filling)}),(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.contactsFillingCriteria,""),bi(l,4).id,bi(l,4).disabled?null:-1,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function r3(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.autocompletionSearchable)}))}function u3(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","margin-left:11px"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,4)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.addCriteria(e,n.context.$implicit,"searchable")&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(4,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{disabled:[0,"disabled"],color:[1,"color"],checked:[2,"checked"]},{change:"change"})],(function(n,l){n(l,4,0,"lastname"==l.context.$implicit.identifier||"company"==l.context.$implicit.identifier||"civility"==l.context.$implicit.identifier,"primary",l.context.$implicit.searchable)}),(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.autocompletionSearchable,""),bi(l,4).id,bi(l,4).disabled?null:-1,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function s3(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.autocompletionDisplayable)}))}function c3(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","margin-left:11px"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,4)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.addCriteria(e,n.context.$implicit,"displayable")&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(4,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{disabled:[0,"disabled"],color:[1,"color"],checked:[2,"checked"]},{change:"change"})],(function(n,l){n(l,4,0,"lastname"==l.context.$implicit.identifier||"company"==l.context.$implicit.identifier,"primary",l.context.$implicit.displayable)}),(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.autocompletionDisplayable,""),bi(l,4).id,bi(l,4).disabled?null:-1,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function d3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function p3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function m3(n){return jo(0,[(n()(),_o(0,0,null,null,171,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,90,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,30,"div",[["class","col-md-4 col-xs-12"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,29,"mat-card",[["class","mat-card"],["style","margin-bottom: 5px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(5,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(6,0,null,0,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,MO,AO)),Di(7,49152,null,0,CO,[],null,null),(n()(),_o(8,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Di(9,16384,null,0,_O,[],null,null),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,0,13,"p",[],null,null,null,null,null)),(n()(),Lo(12,null,[""," "])),(n()(),_o(13,0,null,null,4,"b",[],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(15,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(16,{color:0}),(n()(),Lo(-1,null,["0%"])),(n()(),Lo(18,null,[" "," "])),(n()(),_o(19,0,null,null,4,"b",[],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(21,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(22,{color:0}),(n()(),Lo(23,null,["","%"])),(n()(),Lo(24,null,[" ",""])),(n()(),_o(25,0,null,0,5,"mat-slider",[["class","mat-slider"],["color","primary"],["max","98"],["min","1"],["role","slider"],["step","1"],["style","width:100%"],["thumbLabel","true"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,26)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,26)._onBlur()&&t),"mousedown"===l&&(t=!1!==bi(n,26)._onMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,26)._onKeydown(e)&&t),"keyup"===l&&(t=!1!==bi(n,26)._onKeyup()&&t),"mouseenter"===l&&(t=!1!==bi(n,26)._onMouseenter()&&t),"slide"===l&&(t=!1!==bi(n,26)._onSlide(e)&&t),"slideend"===l&&(t=!1!==bi(n,26)._onSlideEnd()&&t),"slidestart"===l&&(t=!1!==bi(n,26)._onSlideStart(e)&&t),"selectstart"===l&&(t=!1!==e.preventDefault()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsFilling.first_threshold=e)&&t),"change"===l&&(t=!1!==i.onSubmit()&&t),t}),H7,$7)),Di(26,245760,null,0,U7,[Pe,qb,Nl,[2,bb],[8,null],[2,SC]],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],thumbLabel:[4,"thumbLabel"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[U7]),Di(28,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(30,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(31,0,null,0,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","color"],["type","color"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),t}),null,null)),Ei(6144,null,nT,null,[OT]),Di(33,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),(n()(),_o(34,0,null,null,30,"div",[["class","col-md-4 col-xs-12"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,29,"mat-card",[["class","mat-card"],["style","margin-bottom: 5px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(36,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(37,0,null,0,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,MO,AO)),Di(38,49152,null,0,CO,[],null,null),(n()(),_o(39,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Di(40,16384,null,0,_O,[],null,null),(n()(),Lo(41,null,["",""])),(n()(),_o(42,0,null,0,13,"p",[],null,null,null,null,null)),(n()(),Lo(43,null,[""," "])),(n()(),_o(44,0,null,null,4,"b",[],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(46,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(47,{color:0}),(n()(),Lo(48,null,["","%"])),(n()(),Lo(49,null,[" "," "])),(n()(),_o(50,0,null,null,4,"b",[],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(52,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(53,{color:0}),(n()(),Lo(54,null,["","%"])),(n()(),Lo(55,null,[" ",""])),(n()(),_o(56,0,null,0,5,"mat-slider",[["class","mat-slider"],["color","primary"],["max","99"],["role","slider"],["step","1"],["style","width:100%"],["thumbLabel","true"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,57)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,57)._onBlur()&&t),"mousedown"===l&&(t=!1!==bi(n,57)._onMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,57)._onKeydown(e)&&t),"keyup"===l&&(t=!1!==bi(n,57)._onKeyup()&&t),"mouseenter"===l&&(t=!1!==bi(n,57)._onMouseenter()&&t),"slide"===l&&(t=!1!==bi(n,57)._onSlide(e)&&t),"slideend"===l&&(t=!1!==bi(n,57)._onSlideEnd()&&t),"slidestart"===l&&(t=!1!==bi(n,57)._onSlideStart(e)&&t),"selectstart"===l&&(t=!1!==e.preventDefault()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsFilling.second_threshold=e)&&t),"change"===l&&(t=!1!==i.onSubmit()&&t),t}),H7,$7)),Di(57,245760,null,0,U7,[Pe,qb,Nl,[2,bb],[8,null],[2,SC]],{color:[0,"color"],max:[1,"max"],min:[2,"min"],step:[3,"step"],thumbLabel:[4,"thumbLabel"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[U7]),Di(59,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(61,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(62,0,null,0,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","color"],["type","color"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,64)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,64)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,64)._onInput()&&t),t}),null,null)),Ei(6144,null,nT,null,[OT]),Di(64,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),(n()(),_o(65,0,null,null,27,"div",[["class","col-md-4 col-xs-12"]],null,null,null,null,null)),(n()(),_o(66,0,null,null,26,"mat-card",[["class","mat-card"],["style","margin-bottom: 5px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(67,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(68,0,null,0,4,"mat-card-header",[["class","mat-card-header"]],null,null,null,MO,AO)),Di(69,49152,null,0,CO,[],null,null),(n()(),_o(70,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Di(71,16384,null,0,_O,[],null,null),(n()(),Lo(72,null,["",""])),(n()(),_o(73,0,null,0,13,"p",[],null,null,null,null,null)),(n()(),Lo(74,null,[""," "])),(n()(),_o(75,0,null,null,4,"b",[],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(77,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(78,{color:0}),(n()(),Lo(79,null,["","%"])),(n()(),Lo(80,null,[" "," "])),(n()(),_o(81,0,null,null,4,"b",[],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(83,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(84,{color:0}),(n()(),Lo(-1,null,["100%"])),(n()(),Lo(86,null,[" ",""])),(n()(),_o(87,0,null,0,2,"mat-slider",[["class","mat-slider"],["color","primary"],["disabled",""],["max","100"],["min","100"],["role","slider"],["step","1"],["style","width:100%"],["thumbLabel","true"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[1,"aria-valuemax",0],[1,"aria-valuemin",0],[1,"aria-valuenow",0],[1,"aria-orientation",0],[2,"mat-slider-disabled",null],[2,"mat-slider-has-ticks",null],[2,"mat-slider-horizontal",null],[2,"mat-slider-axis-inverted",null],[2,"mat-slider-invert-mouse-coords",null],[2,"mat-slider-sliding",null],[2,"mat-slider-thumb-label-showing",null],[2,"mat-slider-vertical",null],[2,"mat-slider-min-value",null],[2,"mat-slider-hide-last-tick",null],[2,"_mat-animation-noopable",null]],[[null,"focus"],[null,"blur"],[null,"mousedown"],[null,"keydown"],[null,"keyup"],[null,"mouseenter"],[null,"slide"],[null,"slideend"],[null,"slidestart"],[null,"selectstart"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,89)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,89)._onBlur()&&t),"mousedown"===l&&(t=!1!==bi(n,89)._onMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,89)._onKeydown(e)&&t),"keyup"===l&&(t=!1!==bi(n,89)._onKeyup()&&t),"mouseenter"===l&&(t=!1!==bi(n,89)._onMouseenter()&&t),"slide"===l&&(t=!1!==bi(n,89)._onSlide(e)&&t),"slideend"===l&&(t=!1!==bi(n,89)._onSlideEnd()&&t),"slidestart"===l&&(t=!1!==bi(n,89)._onSlideStart(e)&&t),"selectstart"===l&&(t=!1!==e.preventDefault()&&t),t}),H7,$7)),Ei(5120,null,d_,(function(n){return[n]}),[U7]),Di(89,245760,null,0,U7,[Pe,qb,Nl,[2,bb],[8,null],[2,SC]],{disabled:[0,"disabled"],color:[1,"color"],max:[2,"max"],min:[3,"min"],step:[4,"step"],thumbLabel:[5,"thumbLabel"]},null),(n()(),_o(90,0,null,0,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","color"],["type","color"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,92)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,92)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,92)._onInput()&&t),t}),null,null)),Ei(6144,null,nT,null,[OT]),Di(92,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),(n()(),_o(93,0,null,0,78,"mat-table",[["class","mat-table"],["matSort",""]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(95,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,12,{_contentColumnDefs:1}),ko(603979776,13,{_contentRowDefs:1}),ko(603979776,14,{_contentHeaderRowDefs:1}),ko(603979776,15,{_contentFooterRowDefs:1}),Di(100,737280,[[3,4]],0,kL,[],null,null),(n()(),_o(101,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(103,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,16,{cell:0}),ko(603979776,17,{headerCell:0}),ko(603979776,18,{footerCell:0}),Ei(2048,[[12,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,X7)),Di(109,16384,null,0,tR,[Xe],null,null),Ei(2048,[[17,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,e3)),Di(112,16384,null,0,eR,[Xe],null,null),Ei(2048,[[16,4]],OL,null,[eR]),(n()(),_o(114,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(116,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,19,{cell:0}),ko(603979776,20,{headerCell:0}),ko(603979776,21,{footerCell:0}),Ei(2048,[[12,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,t3)),Di(122,16384,null,0,tR,[Xe],null,null),Ei(2048,[[20,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,i3)),Di(125,16384,null,0,eR,[Xe],null,null),Ei(2048,[[19,4]],OL,null,[eR]),(n()(),_o(127,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(129,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[12,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,a3)),Di(135,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,o3)),Di(138,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(140,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(142,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[12,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,r3)),Di(148,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,u3)),Di(151,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(153,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(155,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[12,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,s3)),Di(161,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,c3)),Di(164,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,d3)),Di(167,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[14,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,p3)),Di(170,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[13,4]],UL,null,[uR])],(function(n,l){var e=l.component,t=n(l,16,0,e.fillingColor.first_threshold);n(l,15,0,t);var i=n(l,22,0,e.fillingColor.first_threshold);n(l,21,0,i),n(l,26,0,"primary","98","1","1","true"),n(l,28,0,e.contactsFilling.first_threshold),n(l,33,0,"","color",Wt(1,"",e.fillingColor.first_threshold,""));var a=n(l,47,0,e.fillingColor.second_threshold);n(l,46,0,a);var o=n(l,53,0,e.fillingColor.second_threshold);n(l,52,0,o),n(l,57,0,"primary","99",e.contactsFilling.first_threshold+1,"1","true"),n(l,59,0,e.contactsFilling.second_threshold),n(l,64,0,"","color",Wt(1,"",e.fillingColor.second_threshold,""));var r=n(l,78,0,e.fillingColor.third_threshold);n(l,77,0,r);var u=n(l,84,0,e.fillingColor.third_threshold);n(l,83,0,u),n(l,89,0,"","primary","100","100","1","true"),n(l,92,0,"","color",Wt(1,"",e.fillingColor.third_threshold,"")),n(l,95,0,e.dataSource),n(l,100,0),n(l,103,0,"identifier"),n(l,116,0,"mandatory"),n(l,129,0,"filling"),n(l,142,0,"searchable"),n(l,155,0,"displayable"),n(l,167,0,e.displayedColumns),n(l,170,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,"NoopAnimations"===bi(l,5)._animationMode),n(l,10,0,e.lang.contactsFillingStep1),n(l,12,0,e.lang.fromRange),n(l,18,0,e.lang.toRange),n(l,23,0,e.contactsFilling.first_threshold),n(l,24,0,e.lang.contactsFillingStr),n(l,25,1,[bi(l,26).tabIndex,bi(l,26).disabled,bi(l,26).max,bi(l,26).min,bi(l,26).value,bi(l,26).vertical?"vertical":"horizontal",bi(l,26).disabled,bi(l,26).tickInterval,!bi(l,26).vertical,bi(l,26)._invertAxis,bi(l,26)._shouldInvertMouseCoords(),bi(l,26)._isSliding,bi(l,26).thumbLabel,bi(l,26).vertical,bi(l,26)._isMinValue,bi(l,26).disabled||bi(l,26)._isMinValue&&bi(l,26)._thumbGap&&bi(l,26)._invertAxis,"NoopAnimations"===bi(l,26)._animationMode,bi(l,30).ngClassUntouched,bi(l,30).ngClassTouched,bi(l,30).ngClassPristine,bi(l,30).ngClassDirty,bi(l,30).ngClassValid,bi(l,30).ngClassInvalid,bi(l,30).ngClassPending]),n(l,31,0,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()),n(l,35,0,"NoopAnimations"===bi(l,36)._animationMode),n(l,41,0,e.lang.contactsFillingStep2),n(l,43,0,e.lang.fromRange),n(l,48,0,e.contactsFilling.first_threshold+1),n(l,49,0,e.lang.toRange),n(l,54,0,e.contactsFilling.second_threshold),n(l,55,0,e.lang.contactsFillingStr),n(l,56,1,[bi(l,57).tabIndex,bi(l,57).disabled,bi(l,57).max,bi(l,57).min,bi(l,57).value,bi(l,57).vertical?"vertical":"horizontal",bi(l,57).disabled,bi(l,57).tickInterval,!bi(l,57).vertical,bi(l,57)._invertAxis,bi(l,57)._shouldInvertMouseCoords(),bi(l,57)._isSliding,bi(l,57).thumbLabel,bi(l,57).vertical,bi(l,57)._isMinValue,bi(l,57).disabled||bi(l,57)._isMinValue&&bi(l,57)._thumbGap&&bi(l,57)._invertAxis,"NoopAnimations"===bi(l,57)._animationMode,bi(l,61).ngClassUntouched,bi(l,61).ngClassTouched,bi(l,61).ngClassPristine,bi(l,61).ngClassDirty,bi(l,61).ngClassValid,bi(l,61).ngClassInvalid,bi(l,61).ngClassPending]),n(l,62,0,bi(l,64)._isServer,bi(l,64).id,bi(l,64).placeholder,bi(l,64).disabled,bi(l,64).required,bi(l,64).readonly&&!bi(l,64)._isNativeSelect||null,bi(l,64)._ariaDescribedby||null,bi(l,64).errorState,bi(l,64).required.toString()),n(l,66,0,"NoopAnimations"===bi(l,67)._animationMode),n(l,72,0,e.lang.contactsFillingStep3),n(l,74,0,e.lang.fromRange),n(l,79,0,e.contactsFilling.second_threshold+1),n(l,80,0,e.lang.toRange),n(l,86,0,e.lang.contactsFillingStr),n(l,87,1,[bi(l,89).tabIndex,bi(l,89).disabled,bi(l,89).max,bi(l,89).min,bi(l,89).value,bi(l,89).vertical?"vertical":"horizontal",bi(l,89).disabled,bi(l,89).tickInterval,!bi(l,89).vertical,bi(l,89)._invertAxis,bi(l,89)._shouldInvertMouseCoords(),bi(l,89)._isSliding,bi(l,89).thumbLabel,bi(l,89).vertical,bi(l,89)._isMinValue,bi(l,89).disabled||bi(l,89)._isMinValue&&bi(l,89)._thumbGap&&bi(l,89)._invertAxis,"NoopAnimations"===bi(l,89)._animationMode]),n(l,90,0,bi(l,92)._isServer,bi(l,92).id,bi(l,92).placeholder,bi(l,92).disabled,bi(l,92).required,bi(l,92).readonly&&!bi(l,92)._isNativeSelect||null,bi(l,92)._ariaDescribedby||null,bi(l,92).errorState,bi(l,92).required.toString())}))}function f3(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,Z7)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Q7)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,m3)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function h3(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,f3,W7)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,G7,[nS,tu,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var g3=oi("ng-component",G7,h3,{},{},[]),b3=function(){function n(n,l,e,t,i){this.http=n,this.headerService=l,this.notify=e,this.dialog=t,this.appService=i,this.lang=Kr,this.loading=!1,this.updateInprogress=!1,this.versions={},$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.updateVersionControl),this.loading=!0,this.http.get("../../rest/versionsUpdate").pipe(Yr((function(l){n.versions=l})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)})),Yr((function(){n.loading=!1}))).subscribe()},n.prototype.updateVersionAccess=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",data:{title:this.lang.confirm+" ?",msg:this.lang.updateInfo}}),this.dialogRef.afterClosed().pipe(tc((function(l){return n.dialogRef=null,"ok"===l?(n.updateInprogress=!0,!0):(n.updateInprogress=!1,!1)})),MN((function(){return n.http.put("../../rest/versionsUpdate",{})})),Yr((function(){n.dialogRef=n.dialog.open(KI,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:n.lang.updateOk,msg:n.lang.saveInDocserversInfo}})})),MN((function(){return n.dialogRef.afterClosed()})),Yr((function(){n.dialogRef=null,window.location.reload(!0)})),Qr((function(l){return n.dialogRef=n.dialog.open(KI,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:n.lang.updateKO,msg:n.lang.saveInDocserversInfo}}),n.notify.handleErrors(l),lu(!1)})),Yr((function(){n.updateInprogress=!1}))).subscribe()},n}(),v3=yt({encapsulation:0,styles:[[".updateInProgress[_ngcontent-%COMP%]{z-index:2;display:-webkit-box;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;background:#ffffffed;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.alert-message-danger[_ngcontent-%COMP%]{width:100%;max-width:100%}"]],data:{}});function _3(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","updateInProgress"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","30"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null),(n()(),Lo(-1,null,[" "])),(n()(),_o(4,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(5,null,[" "," "]))],(function(n,l){n(l,2,0,"30")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter),n(l,5,0,e.lang.updateInProgress)}))}function y3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function w3(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","alert alert-info"],["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-icon",[["class","fa fa-check fa-2x mat-icon notranslate"],["role","img"],["style","flex: 1;text-align: left;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(3,0,null,null,1,"span",[["style","flex: 1;text-align: center;"]],null,null,null,null,null)),(n()(),Lo(4,null,[""," !"])),(n()(),_o(5,0,null,null,1,"mat-icon",[["class","fa fa-check fa-2x mat-icon notranslate"],["role","img"],["style","flex: 1;text-align: right;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0),n(l,6,0)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color),n(l,4,0,e.lang.appUpToDate),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function x3(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["class","alert alert-success"],["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-icon",[["class","fa fa-info-circle fa-2x mat-icon notranslate"],["role","img"],["style","flex: 1;text-align: left;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(3,0,null,null,3,"span",[["style","flex: 1;text-align: center;"]],null,null,null,null,null)),(n()(),Lo(4,null,[" "," ! "])),(n()(),_o(5,0,null,null,1,"a",[["style","font-weight: bold;"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(n()(),Lo(6,null,["",""])),(n()(),_o(7,0,null,null,1,"mat-icon",[["class","fa fa-info-circle fa-2x mat-icon notranslate"],["role","img"],["style","flex: 1;text-align: right;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0),n(l,8,0)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color),n(l,4,0,e.lang.newVersionAvailable),n(l,5,0,Wt(1,"https://labs.maarch.org/maarch/MaarchCourrier/tags/",e.versions.lastAvailableMinorVersion,"")),n(l,6,0,e.versions.lastAvailableMinorVersion),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color)}))}function C3(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-danger"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.updateWarn+e.versions.diffOutput.join("<br/>"))}))}function k3(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateVersionAccess()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,!l.component.versions.canUpdate,"primary")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang.makeUpdate)}))}function S3(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,w3)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,x3)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,C3)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,k3)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,null==e.versions.lastAvailableMinorVersion),n(l,5,0,null!=e.versions.lastAvailableMinorVersion),n(l,7,0,!e.versions.canUpdate&&null!=e.versions.lastAvailableMinorVersion),n(l,9,0,null!=e.versions.lastAvailableMinorVersion)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode)}))}function I3(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","alert-message alert-message-info"],["style","display: flex;"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" Maarch Courrier "])),(n()(),_o(2,0,null,null,1,"a",[["style","font-weight: bold;"],["target","_blank"]],[[8,"href",4]],null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),Lo(4,null,[" "," ! "]))],null,(function(n,l){var e=l.component;n(l,2,0,Wt(1,"https://labs.maarch.org/maarch/MaarchCourrier/tags/",e.versions.lastAvailableMajorVersion,"")),n(l,3,0,e.versions.lastAvailableMajorVersion),n(l,4,0,e.lang.isAvailable)}))}function A3(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),(n()(),vo(16777216,null,null,1,null,_3)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,36,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(7,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,y3)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,S3)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,0,null,0,15,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,25)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,25)._animationDoneListener(e)&&t),t}),zO,qO)),Di(25,3325952,[[2,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),vo(16777216,null,0,1,null,I3)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,0,11,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(29,704512,null,0,tI,[Pe],null,null),(n()(),_o(30,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(31,16384,null,0,aI,[],null,null),(n()(),Lo(32,null,["",""])),(n()(),_o(33,0,null,0,6,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(34,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(38,0,null,2,1,"b",[],null,null,null,null,null)),(n()(),Lo(39,null,["",""]))],(function(n,l){var e=l.component;n(l,2,0,e.updateInprogress),n(l,4,0,""),n(l,8,0),n(l,13,0),n(l,16,0),n(l,21,0,e.loading),n(l,23,0,!e.loading),n(l,25,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,27,0,null!=e.versions.lastAvailableMajorVersion)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,24,0,null,"end"===bi(l,25).position,"over"===bi(l,25).mode,"push"===bi(l,25).mode,"side"===bi(l,25).mode,bi(l,25).opened,bi(l,25).fixedInViewport,bi(l,25).fixedInViewport?bi(l,25).fixedTopGap:null,bi(l,25).fixedInViewport?bi(l,25).fixedBottomGap:null,bi(l,25)._animationState),n(l,32,0,e.lang.currentVersion),n(l,33,0,bi(l,34)._avatar||bi(l,34)._icon,bi(l,34)._avatar||bi(l,34)._icon),n(l,39,0,e.versions.currentVersion)}))}function M3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,A3,v3)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,b3,[nS,_u,tu,Jv,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var P3=oi("ng-component",b3,M3,{},{},[]),D3=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.viewContainerRef=i,this.lang=Kr,this.loading=!1,this.docservers=[],this.docserversClone=[],this.docserversTypes={},$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.docservers),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/docservers").subscribe((function(l){n.docservers=l.docservers,n.docserversClone=JSON.parse(JSON.stringify(n.docservers)),n.docserversTypes=l.types,n.loading=!1}))},n.prototype.toggleDocserver=function(n){n.is_readonly=!n.is_readonly},n.prototype.cancelModification=function(n,l){this.docservers[n][l]=JSON.parse(JSON.stringify(this.docserversClone[n][l]))},n.prototype.checkModif=function(n,l){return n.size_limit_number=1e9*n.limitSizeFormatted,JSON.stringify(n)===JSON.stringify(l)||!(n.size_limit_number>=n.actual_size_number&&n.limitSizeFormatted>0&&/^[\d]*$/.test(n.limitSizeFormatted))},n.prototype.onSubmit=function(n,l){var e=this;n.size_limit_number=1e9*n.limitSizeFormatted,this.http.put("../../rest/docservers/"+n.id,n).subscribe((function(t){e.docservers[n.docserver_type_id][l]=t.docserver,e.docserversClone[n.docserver_type_id][l]=JSON.parse(JSON.stringify(e.docservers[n.docserver_type_id][l])),e.notify.success(e.lang.docserverUpdated)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.delete=function(n,l){var e=this;(0==n.actual_size_number?confirm(this.lang.delete+" ?"):confirm(this.lang.docserverdeleteWarning))&&this.http.delete("../../rest/docservers/"+n.id).subscribe((function(){e.docservers[n.docserver_type_id].splice(l,1),e.notify.success(e.lang.docserverDeleted)}),(function(n){e.notify.error(n.error.errors)}))},n}(),F3=yt({encapsulation:2,styles:[],data:{}});function E3(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/docservers/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/docservers/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function O3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function T3(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","accent"],["mat-icon-button",""],["style","position: absolute;top: 5px;right:10px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.toggleDocserver(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-lock-open mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.lockDocserver,"")),n(l,2,0,"accent"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function L3(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""],["style","position: absolute;top: 5px;right:10px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.toggleDocserver(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-lock mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.unlockDocserver,"")),n(l,2,0,"warn"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function R3(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","primary"],["id","percent_val"],["mode","determinate"],["name","percent_val"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,mO,cO)),Di(1,114688,null,0,rO,[Pe,sh,[2,qs],[2,SC],oO],{color:[0,"color"],mode:[1,"mode"],value:[2,"value"]},null)],(function(n,l){n(l,1,0,"primary","determinate",l.parent.context.$implicit.percentage)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter,"determinate"===bi(l,1).mode?0:null,"determinate"===bi(l,1).mode?100:null,"determinate"===bi(l,1).mode?bi(l,1).value:null,bi(l,1).mode)}))}function N3(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["color","warn"],["id","percent_val"],["mode","determinate"],["name","percent_val"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,mO,cO)),Di(1,114688,null,0,rO,[Pe,sh,[2,qs],[2,SC],oO],{color:[0,"color"],mode:[1,"mode"],value:[2,"value"]},null)],(function(n,l){n(l,1,0,"warn","determinate",l.parent.context.$implicit.percentage)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter,"determinate"===bi(l,1).mode?0:null,"determinate"===bi(l,1).mode?100:null,"determinate"===bi(l,1).mode?bi(l,1).value:null,bi(l,1).mode)}))}function j3(n){return jo(0,[(n()(),_o(0,0,null,null,144,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,143,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(2,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(3,0,null,0,141,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,5).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,5).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit(n.context.$implicit,n.context.index)&&t),t}),null,null)),Di(4,16384,null,0,yy,[],null,null),Di(5,4210688,[["docserverFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(7,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,T3)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,L3)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(12,0,null,null,132,"div",[["class","row"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,22,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(15,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,11,{_controlNonStatic:0}),ko(335544320,12,{_controlStatic:0}),ko(603979776,13,{_labelChildNonStatic:0}),ko(335544320,14,{_labelChildStatic:0}),ko(603979776,15,{_placeholderChild:0}),ko(603979776,16,{_errorChildren:1}),ko(603979776,17,{_hintChildren:1}),ko(603979776,18,{_prefixChildren:1}),ko(603979776,19,{_suffixChildren:1}),(n()(),_o(25,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","255"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,26)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,26)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,26)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,34)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,34)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,34)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.device_label=e)&&t),t}),null,null)),Di(26,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(27,16384,null,0,My,[],{required:[0,"required"]},null),Di(28,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(31,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(33,16384,null,0,y_,[[4,v_]],null,null),Di(34,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[11,4],[12,4]],nT,null,[OT]),(n()(),_o(36,0,null,null,6,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,R3)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,N3)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(41,0,null,null,1,"span",[["style","position: absolute;font-weight: bold;left: 50%;transform: translateX(-50%);top: 40%;font-weight: bold;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(42,null,["","%"])),(n()(),_o(43,0,null,null,42,"div",[["class","col-md-8"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(45,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,20,{_controlNonStatic:0}),ko(335544320,21,{_controlStatic:0}),ko(603979776,22,{_labelChildNonStatic:0}),ko(335544320,23,{_labelChildStatic:0}),ko(603979776,24,{_placeholderChild:0}),ko(603979776,25,{_errorChildren:1}),ko(603979776,26,{_hintChildren:1}),ko(603979776,27,{_prefixChildren:1}),ko(603979776,28,{_suffixChildren:1}),(n()(),_o(55,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","collection"],["matInput",""],["name","collection"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,56)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,56).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,56)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,56)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,63)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,63)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,63)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.coll_id=e)&&t),t}),null,null)),Di(56,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(57,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(60,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(62,16384,null,0,y_,[[4,v_]],null,null),Di(63,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[20,4],[21,4]],nT,null,[OT]),(n()(),_o(65,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(66,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(76,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","identifier"],["matInput",""],["name","identifier"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,77)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,77).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,77)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,77)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,84)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,84)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,84)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.docserver_id=e)&&t),t}),null,null)),Di(77,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(78,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(81,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(83,16384,null,0,y_,[[4,v_]],null,null),Di(84,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[29,4],[30,4]],nT,null,[OT]),(n()(),_o(86,0,null,null,25,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),_o(87,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(88,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,38,{_controlNonStatic:0}),ko(335544320,39,{_controlStatic:0}),ko(603979776,40,{_labelChildNonStatic:0}),ko(335544320,41,{_labelChildStatic:0}),ko(603979776,42,{_placeholderChild:0}),ko(603979776,43,{_errorChildren:1}),ko(603979776,44,{_hintChildren:1}),ko(603979776,45,{_prefixChildren:1}),ko(603979776,46,{_suffixChildren:1}),(n()(),_o(98,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","max_size"],["matInput",""],["name","max_size"],["required",""],["type","number"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,99)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,99).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,99)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,99)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,100).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,100).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,100).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,107)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,107)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,107)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.limitSizeFormatted=e)&&t),t}),null,null)),Di(99,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(100,16384,null,0,F_,[Te,Pe],null,null),Di(101,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(104,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(106,16384,null,0,y_,[[4,v_]],null,null),Di(107,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[38,4],[39,4]],nT,null,[OT]),(n()(),_o(109,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(110,16384,[[46,4]],0,oT,[],null,null),(n()(),Lo(-1,null,[" Go"])),(n()(),_o(112,0,null,null,0,"div",[["class","col-md-8"]],null,null,null,null,null)),(n()(),_o(113,0,null,null,21,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(114,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(115,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,47,{_controlNonStatic:0}),ko(335544320,48,{_controlStatic:0}),ko(603979776,49,{_labelChildNonStatic:0}),ko(335544320,50,{_labelChildStatic:0}),ko(603979776,51,{_placeholderChild:0}),ko(603979776,52,{_errorChildren:1}),ko(603979776,53,{_hintChildren:1}),ko(603979776,54,{_prefixChildren:1}),ko(603979776,55,{_suffixChildren:1}),(n()(),_o(125,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","path"],["matInput",""],["name","path"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,126)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,126).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,126)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,126)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,133)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,133)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,133)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.path_template=e)&&t),t}),null,null)),Di(126,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(127,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(130,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(132,16384,null,0,y_,[[4,v_]],null,null),Di(133,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[47,4],[48,4]],nT,null,[OT]),(n()(),_o(135,0,null,null,9,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(136,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(137,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(138,0,["",""])),(n()(),_o(139,0,null,null,2,"button",[["color","default"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelModification(n.parent.context.$implicit.docserver_type_id,n.context.index)&&t),t}),PC,MC)),Di(140,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(141,0,["",""])),(n()(),_o(142,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.delete(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(143,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(144,0,["",""]))],(function(n,l){var e=l.component;n(l,9,0,!l.context.$implicit.is_readonly),n(l,11,0,l.context.$implicit.is_readonly),n(l,27,0,""),n(l,28,0,"255"),n(l,31,0,"label",l.context.$implicit.is_readonly,l.context.$implicit.device_label),n(l,34,0,l.context.$implicit.is_readonly,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,38,0,l.context.$implicit.percentage<60),n(l,40,0,l.context.$implicit.percentage>=60),n(l,57,0,""),n(l,60,0,"collection","",l.context.$implicit.coll_id),n(l,63,0,"","collection",Wt(1,"",e.lang.collection,""),"","text"),n(l,78,0,""),n(l,81,0,"identifier","",l.context.$implicit.docserver_id),n(l,84,0,"","identifier",Wt(1,"",e.lang.id,""),"","text"),n(l,101,0,""),n(l,104,0,"max_size",l.context.$implicit.is_readonly,l.context.$implicit.limitSizeFormatted),n(l,107,0,l.context.$implicit.is_readonly,"max_size",Wt(1,"",e.lang.maxSize,""),"","number"),n(l,127,0,""),n(l,130,0,"path",l.context.$implicit.is_readonly,l.context.$implicit.path_template),n(l,133,0,l.context.$implicit.is_readonly,"path",Wt(1,"",e.lang.path,""),"","text"),n(l,137,0,e.checkModif(l.context.$implicit,e.docserversClone[l.parent.context.$implicit.docserver_type_id][l.context.index]),"primary"),n(l,140,0,e.checkModif(l.context.$implicit,e.docserversClone[l.parent.context.$implicit.docserver_type_id][l.context.index]),"default"),n(l,143,0,"warn")}),(function(n,l){var e=l.component;n(l,1,0,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,7).ngClassUntouched,bi(l,7).ngClassTouched,bi(l,7).ngClassPristine,bi(l,7).ngClassDirty,bi(l,7).ngClassValid,bi(l,7).ngClassInvalid,bi(l,7).ngClassPending),n(l,14,1,["standard"==bi(l,15).appearance,"fill"==bi(l,15).appearance,"outline"==bi(l,15).appearance,"legacy"==bi(l,15).appearance,bi(l,15)._control.errorState,bi(l,15)._canLabelFloat,bi(l,15)._shouldLabelFloat(),bi(l,15)._hasFloatingLabel(),bi(l,15)._hideControlPlaceholder(),bi(l,15)._control.disabled,bi(l,15)._control.autofilled,bi(l,15)._control.focused,"accent"==bi(l,15).color,"warn"==bi(l,15).color,bi(l,15)._shouldForward("untouched"),bi(l,15)._shouldForward("touched"),bi(l,15)._shouldForward("pristine"),bi(l,15)._shouldForward("dirty"),bi(l,15)._shouldForward("valid"),bi(l,15)._shouldForward("invalid"),bi(l,15)._shouldForward("pending"),!bi(l,15)._animationsEnabled]),n(l,25,1,[Wt(1,"",e.lang.label,""),bi(l,27).required?"":null,bi(l,28).maxlength?bi(l,28).maxlength:null,bi(l,33).ngClassUntouched,bi(l,33).ngClassTouched,bi(l,33).ngClassPristine,bi(l,33).ngClassDirty,bi(l,33).ngClassValid,bi(l,33).ngClassInvalid,bi(l,33).ngClassPending,bi(l,34)._isServer,bi(l,34).id,bi(l,34).placeholder,bi(l,34).disabled,bi(l,34).required,bi(l,34).readonly&&!bi(l,34)._isNativeSelect||null,bi(l,34)._ariaDescribedby||null,bi(l,34).errorState,bi(l,34).required.toString()]),n(l,41,0,Wt(1,"",l.context.$implicit.actualSizeFormatted,"")),n(l,42,0,l.context.$implicit.percentage),n(l,44,1,["standard"==bi(l,45).appearance,"fill"==bi(l,45).appearance,"outline"==bi(l,45).appearance,"legacy"==bi(l,45).appearance,bi(l,45)._control.errorState,bi(l,45)._canLabelFloat,bi(l,45)._shouldLabelFloat(),bi(l,45)._hasFloatingLabel(),bi(l,45)._hideControlPlaceholder(),bi(l,45)._control.disabled,bi(l,45)._control.autofilled,bi(l,45)._control.focused,"accent"==bi(l,45).color,"warn"==bi(l,45).color,bi(l,45)._shouldForward("untouched"),bi(l,45)._shouldForward("touched"),bi(l,45)._shouldForward("pristine"),bi(l,45)._shouldForward("dirty"),bi(l,45)._shouldForward("valid"),bi(l,45)._shouldForward("invalid"),bi(l,45)._shouldForward("pending"),!bi(l,45)._animationsEnabled]),n(l,55,1,[Wt(1,"",e.lang.collection,""),bi(l,57).required?"":null,bi(l,62).ngClassUntouched,bi(l,62).ngClassTouched,bi(l,62).ngClassPristine,bi(l,62).ngClassDirty,bi(l,62).ngClassValid,bi(l,62).ngClassInvalid,bi(l,62).ngClassPending,bi(l,63)._isServer,bi(l,63).id,bi(l,63).placeholder,bi(l,63).disabled,bi(l,63).required,bi(l,63).readonly&&!bi(l,63)._isNativeSelect||null,bi(l,63)._ariaDescribedby||null,bi(l,63).errorState,bi(l,63).required.toString()]),n(l,65,1,["standard"==bi(l,66).appearance,"fill"==bi(l,66).appearance,"outline"==bi(l,66).appearance,"legacy"==bi(l,66).appearance,bi(l,66)._control.errorState,bi(l,66)._canLabelFloat,bi(l,66)._shouldLabelFloat(),bi(l,66)._hasFloatingLabel(),bi(l,66)._hideControlPlaceholder(),bi(l,66)._control.disabled,bi(l,66)._control.autofilled,bi(l,66)._control.focused,"accent"==bi(l,66).color,"warn"==bi(l,66).color,bi(l,66)._shouldForward("untouched"),bi(l,66)._shouldForward("touched"),bi(l,66)._shouldForward("pristine"),bi(l,66)._shouldForward("dirty"),bi(l,66)._shouldForward("valid"),bi(l,66)._shouldForward("invalid"),bi(l,66)._shouldForward("pending"),!bi(l,66)._animationsEnabled]),n(l,76,1,[Wt(1,"",e.lang.id,""),bi(l,78).required?"":null,bi(l,83).ngClassUntouched,bi(l,83).ngClassTouched,bi(l,83).ngClassPristine,bi(l,83).ngClassDirty,bi(l,83).ngClassValid,bi(l,83).ngClassInvalid,bi(l,83).ngClassPending,bi(l,84)._isServer,bi(l,84).id,bi(l,84).placeholder,bi(l,84).disabled,bi(l,84).required,bi(l,84).readonly&&!bi(l,84)._isNativeSelect||null,bi(l,84)._ariaDescribedby||null,bi(l,84).errorState,bi(l,84).required.toString()]),n(l,87,1,["standard"==bi(l,88).appearance,"fill"==bi(l,88).appearance,"outline"==bi(l,88).appearance,"legacy"==bi(l,88).appearance,bi(l,88)._control.errorState,bi(l,88)._canLabelFloat,bi(l,88)._shouldLabelFloat(),bi(l,88)._hasFloatingLabel(),bi(l,88)._hideControlPlaceholder(),bi(l,88)._control.disabled,bi(l,88)._control.autofilled,bi(l,88)._control.focused,"accent"==bi(l,88).color,"warn"==bi(l,88).color,bi(l,88)._shouldForward("untouched"),bi(l,88)._shouldForward("touched"),bi(l,88)._shouldForward("pristine"),bi(l,88)._shouldForward("dirty"),bi(l,88)._shouldForward("valid"),bi(l,88)._shouldForward("invalid"),bi(l,88)._shouldForward("pending"),!bi(l,88)._animationsEnabled]),n(l,98,1,[Wt(1,"",e.lang.maxSize,""),bi(l,101).required?"":null,bi(l,106).ngClassUntouched,bi(l,106).ngClassTouched,bi(l,106).ngClassPristine,bi(l,106).ngClassDirty,bi(l,106).ngClassValid,bi(l,106).ngClassInvalid,bi(l,106).ngClassPending,bi(l,107)._isServer,bi(l,107).id,bi(l,107).placeholder,bi(l,107).disabled,bi(l,107).required,bi(l,107).readonly&&!bi(l,107)._isNativeSelect||null,bi(l,107)._ariaDescribedby||null,bi(l,107).errorState,bi(l,107).required.toString()]),n(l,114,1,["standard"==bi(l,115).appearance,"fill"==bi(l,115).appearance,"outline"==bi(l,115).appearance,"legacy"==bi(l,115).appearance,bi(l,115)._control.errorState,bi(l,115)._canLabelFloat,bi(l,115)._shouldLabelFloat(),bi(l,115)._hasFloatingLabel(),bi(l,115)._hideControlPlaceholder(),bi(l,115)._control.disabled,bi(l,115)._control.autofilled,bi(l,115)._control.focused,"accent"==bi(l,115).color,"warn"==bi(l,115).color,bi(l,115)._shouldForward("untouched"),bi(l,115)._shouldForward("touched"),bi(l,115)._shouldForward("pristine"),bi(l,115)._shouldForward("dirty"),bi(l,115)._shouldForward("valid"),bi(l,115)._shouldForward("invalid"),bi(l,115)._shouldForward("pending"),!bi(l,115)._animationsEnabled]),n(l,125,1,[Wt(1,"",e.lang.path,""),bi(l,127).required?"":null,bi(l,132).ngClassUntouched,bi(l,132).ngClassTouched,bi(l,132).ngClassPristine,bi(l,132).ngClassDirty,bi(l,132).ngClassValid,bi(l,132).ngClassInvalid,bi(l,132).ngClassPending,bi(l,133)._isServer,bi(l,133).id,bi(l,133).placeholder,bi(l,133).disabled,bi(l,133).required,bi(l,133).readonly&&!bi(l,133)._isNativeSelect||null,bi(l,133)._ariaDescribedby||null,bi(l,133).errorState,bi(l,133).required.toString()]),n(l,136,0,bi(l,137).disabled||null,"NoopAnimations"===bi(l,137)._animationMode),n(l,138,0,e.lang.update),n(l,139,0,bi(l,140).disabled||null,"NoopAnimations"===bi(l,140)._animationMode),n(l,141,0,e.lang.cancel),n(l,142,0,bi(l,143).disabled||null,"NoopAnimations"===bi(l,143)._animationMode),n(l,144,0,e.lang.delete)}))}function V3(n){return jo(0,[(n()(),_o(0,16777216,null,null,16,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,10,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,[[9,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(12,16384,null,0,Jj,[],null,null),(n()(),Lo(13,null,[" "," "])),(n()(),_o(14,0,null,1,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,j3)),Di(16,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,16,0,l.component.docservers[l.context.$implicit.docserver_type_id])}),(function(n,l){n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var e=bi(l,5).panel._headerId,t=bi(l,5).disabled?-1:0,i=bi(l,5)._getPanelId(),a=bi(l,5)._isExpanded(),o=bi(l,5).panel.disabled,r=bi(l,5)._isExpanded(),u="after"===bi(l,5)._getTogglePosition(),s="before"===bi(l,5)._getTogglePosition(),c=bi(l,5)._animationsDisabled,d=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,e,t,i,a,o,r,u,s,c,d),n(l,10,0,l.context.$implicit.docserver_type_label),n(l,13,0,l.context.$implicit.docserver_type_id)}))}function q3(n){return jo(0,[(n()(),_o(0,0,null,null,7,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Ei(6144,null,Bj,null,[Qj]),Di(4,1720320,null,1,Qj,[],null,null),ko(603979776,9,{_headers:1}),(n()(),vo(16777216,null,null,1,null,V3)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,7,0,l.component.docserversTypes)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode)}))}function z3(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,E3)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,O3)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,q3)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function U3(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,z3,F3)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,D3,[nS,tu,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var B3=oi("ng-component",D3,U3,{},{},[]),$3=function(){function n(n,l,e,t,i){this.http=n,this.router=l,this.notify=e,this.headerService=t,this.appService=i,this.lang=Kr,this.loading=!1,this.docserver={coll_id:"letterbox_coll",docserver_type_id:"DOC",limitSizeFormatted:"50"},this.docserversTypes=[],$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.docserverCreation),this.loading=!0,this.http.get("../../rest/docserverTypes").subscribe((function(l){n.docserversTypes=l.docserverTypes,n.loading=!1}))},n.prototype.onSubmit=function(n){var l=this;n.size_limit_number=1e9*n.limitSizeFormatted,this.http.post("../../rest/docservers",n).subscribe((function(n){l.notify.success(l.lang.docserverAdded),l.router.navigate(["/administration/docservers/"])}),(function(n){l.notify.error(n.error.errors)}))},n}(),H3=yt({encapsulation:2,styles:[],data:{}});function G3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function W3(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[14,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.docserver_type_id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.docserver_type_label)}))}function K3(n){return jo(0,[(n()(),_o(0,0,null,null,161,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,159,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit(i.docserver)&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["docserverForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,154,"div",[["class","row"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,149,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(10,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(20,0,null,1,13,"mat-select",[["class","mat-select"],["id","docserver_type"],["name","docserver_type"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,27)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,27)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,27)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.docserver.docserver_type_id=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(22,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(24,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(26,16384,null,0,y_,[[4,v_]],null,null),Di(27,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,14,{options:1}),ko(603979776,15,{optionGroups:1}),ko(603979776,16,{customTrigger:0}),Ei(2048,[[5,4],[6,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,W3)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(34,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(35,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,17,{_controlNonStatic:0}),ko(335544320,18,{_controlStatic:0}),ko(603979776,19,{_labelChildNonStatic:0}),ko(335544320,20,{_labelChildStatic:0}),ko(603979776,21,{_placeholderChild:0}),ko(603979776,22,{_errorChildren:1}),ko(603979776,23,{_hintChildren:1}),ko(603979776,24,{_prefixChildren:1}),ko(603979776,25,{_suffixChildren:1}),(n()(),_o(45,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","identifier"],["matInput",""],["maxlength","32"],["name","identifier"],["pattern","^[\\w.-]*$"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,46)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,46)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,46)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,55)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,55)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,55)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.docserver.docserver_id=e)&&t),t}),null,null)),Di(46,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(47,16384,null,0,My,[],{required:[0,"required"]},null),Di(48,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(49,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(52,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(54,16384,null,0,y_,[[4,v_]],null,null),Di(55,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[17,4],[18,4]],nT,null,[OT]),(n()(),_o(57,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(58,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,26,{_controlNonStatic:0}),ko(335544320,27,{_controlStatic:0}),ko(603979776,28,{_labelChildNonStatic:0}),ko(335544320,29,{_labelChildStatic:0}),ko(603979776,30,{_placeholderChild:0}),ko(603979776,31,{_errorChildren:1}),ko(603979776,32,{_hintChildren:1}),ko(603979776,33,{_prefixChildren:1}),ko(603979776,34,{_suffixChildren:1}),(n()(),_o(68,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","255"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,69)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,69).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,69)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,69)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,77)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,77)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,77)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.docserver.device_label=e)&&t),t}),null,null)),Di(69,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(70,16384,null,0,My,[],{required:[0,"required"]},null),Di(71,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(74,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(76,16384,null,0,y_,[[4,v_]],null,null),Di(77,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[26,4],[27,4]],nT,null,[OT]),(n()(),_o(79,0,null,null,31,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(80,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,35,{_controlNonStatic:0}),ko(335544320,36,{_controlStatic:0}),ko(603979776,37,{_labelChildNonStatic:0}),ko(335544320,38,{_labelChildStatic:0}),ko(603979776,39,{_placeholderChild:0}),ko(603979776,40,{_errorChildren:1}),ko(603979776,41,{_hintChildren:1}),ko(603979776,42,{_prefixChildren:1}),ko(603979776,43,{_suffixChildren:1}),(n()(),_o(90,0,null,1,20,"mat-select",[["class","mat-select"],["id","collection"],["name","collection"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,96)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,96)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,96)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.docserver.coll_id=e)&&t),t}),GR,qR)),Di(91,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(93,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(95,16384,null,0,y_,[[4,v_]],null,null),Di(96,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"],id:[2,"id"]},null),ko(603979776,44,{options:1}),ko(603979776,45,{optionGroups:1}),ko(603979776,46,{customTrigger:0}),Ei(2048,[[35,4],[36,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(102,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["selected",""],["value","letterbox_coll"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,103)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,103)._handleKeydown(e)&&t),t}),bI,hI)),Di(103,8568832,[[44,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(-1,0,[" letterbox_coll "])),(n()(),_o(105,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","attachments_coll"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,106)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,106)._handleKeydown(e)&&t),t}),bI,hI)),Di(106,8568832,[[44,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(-1,0,[" attachments_coll "])),(n()(),_o(108,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","archive_transfer_coll"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,109)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,109)._handleKeydown(e)&&t),t}),bI,hI)),Di(109,8568832,[[44,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(-1,0,[" archive_transfer_coll "])),(n()(),_o(111,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(112,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,47,{_controlNonStatic:0}),ko(335544320,48,{_controlStatic:0}),ko(603979776,49,{_labelChildNonStatic:0}),ko(335544320,50,{_labelChildStatic:0}),ko(603979776,51,{_placeholderChild:0}),ko(603979776,52,{_errorChildren:1}),ko(603979776,53,{_hintChildren:1}),ko(603979776,54,{_prefixChildren:1}),ko(603979776,55,{_suffixChildren:1}),(n()(),_o(122,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","max_size"],["matInput",""],["name","max_size"],["pattern","^\\d+$"],["required",""],["type","number"]],[[8,"title",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,123)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,123).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,123)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,123)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,124).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,124).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,124).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,132)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,132)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,132)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.docserver.limitSizeFormatted=e)&&t),t}),null,null)),Di(123,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(124,16384,null,0,F_,[Te,Pe],null,null),Di(125,16384,null,0,My,[],{required:[0,"required"]},null),Di(126,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(129,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(131,16384,null,0,y_,[[4,v_]],null,null),Di(132,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[47,4],[48,4]],nT,null,[OT]),(n()(),_o(134,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(135,16384,[[55,4]],0,oT,[],null,null),(n()(),Lo(-1,null,[" Go"])),(n()(),_o(137,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(138,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,56,{_controlNonStatic:0}),ko(335544320,57,{_controlStatic:0}),ko(603979776,58,{_labelChildNonStatic:0}),ko(335544320,59,{_labelChildStatic:0}),ko(603979776,60,{_placeholderChild:0}),ko(603979776,61,{_errorChildren:1}),ko(603979776,62,{_hintChildren:1}),ko(603979776,63,{_prefixChildren:1}),ko(603979776,64,{_suffixChildren:1}),(n()(),_o(148,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","path"],["matInput",""],["name","path"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,149)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,149).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,149)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,149)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,156)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,156)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,156)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.docserver.path_template=e)&&t),t}),null,null)),Di(149,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(150,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(153,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(155,16384,null,0,y_,[[4,v_]],null,null),Di(156,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],required:[3,"required"],type:[4,"type"]},null),Ei(2048,[[56,4],[57,4]],nT,null,[OT]),(n()(),_o(158,0,null,null,3,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(159,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(160,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(161,0,["",""]))],(function(n,l){var e=l.component;n(l,22,0,""),n(l,24,0,"docserver_type",e.docserver.docserver_type_id),n(l,27,0,Wt(1,"",e.lang.docserverType,""),"","docserver_type"),n(l,33,0,e.docserversTypes),n(l,47,0,""),n(l,48,0,"32"),n(l,49,0,"^[\\w.-]*$"),n(l,52,0,"identifier",e.docserver.docserver_id),n(l,55,0,"identifier",Wt(1,"",e.lang.id,""),"","text"),n(l,70,0,""),n(l,71,0,"255"),n(l,74,0,"label",e.docserver.device_label),n(l,77,0,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,91,0,""),n(l,93,0,"collection",e.docserver.coll_id),n(l,96,0,Wt(1,"",e.lang.collection,""),"","collection"),n(l,103,0,"letterbox_coll"),n(l,106,0,"attachments_coll"),n(l,109,0,"archive_transfer_coll"),n(l,125,0,""),n(l,126,0,"^\\d+$"),n(l,129,0,"max_size",e.docserver.is_readonly,e.docserver.limitSizeFormatted),n(l,132,0,e.docserver.is_readonly,"max_size",Wt(1,"",e.lang.maxSize,""),"","number"),n(l,150,0,""),n(l,153,0,"path",e.docserver.is_readonly,e.docserver.path_template),n(l,156,0,e.docserver.is_readonly,"path",Wt(1,"",e.lang.path,""),"","text"),n(l,160,0,!bi(l,4).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,9,1,["standard"==bi(l,10).appearance,"fill"==bi(l,10).appearance,"outline"==bi(l,10).appearance,"legacy"==bi(l,10).appearance,bi(l,10)._control.errorState,bi(l,10)._canLabelFloat,bi(l,10)._shouldLabelFloat(),bi(l,10)._hasFloatingLabel(),bi(l,10)._hideControlPlaceholder(),bi(l,10)._control.disabled,bi(l,10)._control.autofilled,bi(l,10)._control.focused,"accent"==bi(l,10).color,"warn"==bi(l,10).color,bi(l,10)._shouldForward("untouched"),bi(l,10)._shouldForward("touched"),bi(l,10)._shouldForward("pristine"),bi(l,10)._shouldForward("dirty"),bi(l,10)._shouldForward("valid"),bi(l,10)._shouldForward("invalid"),bi(l,10)._shouldForward("pending"),!bi(l,10)._animationsEnabled]),n(l,20,1,[Wt(1,"",e.lang.docserverType,""),bi(l,22).required?"":null,bi(l,26).ngClassUntouched,bi(l,26).ngClassTouched,bi(l,26).ngClassPristine,bi(l,26).ngClassDirty,bi(l,26).ngClassValid,bi(l,26).ngClassInvalid,bi(l,26).ngClassPending,bi(l,27).id,bi(l,27).tabIndex,bi(l,27)._getAriaLabel(),bi(l,27)._getAriaLabelledby(),bi(l,27).required.toString(),bi(l,27).disabled.toString(),bi(l,27).errorState,bi(l,27).panelOpen?bi(l,27)._optionIds:null,bi(l,27).multiple,bi(l,27)._ariaDescribedby||null,bi(l,27)._getAriaActiveDescendant(),bi(l,27).disabled,bi(l,27).errorState,bi(l,27).required,bi(l,27).empty]),n(l,34,1,["standard"==bi(l,35).appearance,"fill"==bi(l,35).appearance,"outline"==bi(l,35).appearance,"legacy"==bi(l,35).appearance,bi(l,35)._control.errorState,bi(l,35)._canLabelFloat,bi(l,35)._shouldLabelFloat(),bi(l,35)._hasFloatingLabel(),bi(l,35)._hideControlPlaceholder(),bi(l,35)._control.disabled,bi(l,35)._control.autofilled,bi(l,35)._control.focused,"accent"==bi(l,35).color,"warn"==bi(l,35).color,bi(l,35)._shouldForward("untouched"),bi(l,35)._shouldForward("touched"),bi(l,35)._shouldForward("pristine"),bi(l,35)._shouldForward("dirty"),bi(l,35)._shouldForward("valid"),bi(l,35)._shouldForward("invalid"),bi(l,35)._shouldForward("pending"),!bi(l,35)._animationsEnabled]),n(l,45,1,[Wt(1,"",e.lang.id,""),bi(l,47).required?"":null,bi(l,48).maxlength?bi(l,48).maxlength:null,bi(l,49).pattern?bi(l,49).pattern:null,bi(l,54).ngClassUntouched,bi(l,54).ngClassTouched,bi(l,54).ngClassPristine,bi(l,54).ngClassDirty,bi(l,54).ngClassValid,bi(l,54).ngClassInvalid,bi(l,54).ngClassPending,bi(l,55)._isServer,bi(l,55).id,bi(l,55).placeholder,bi(l,55).disabled,bi(l,55).required,bi(l,55).readonly&&!bi(l,55)._isNativeSelect||null,bi(l,55)._ariaDescribedby||null,bi(l,55).errorState,bi(l,55).required.toString()]),n(l,57,1,["standard"==bi(l,58).appearance,"fill"==bi(l,58).appearance,"outline"==bi(l,58).appearance,"legacy"==bi(l,58).appearance,bi(l,58)._control.errorState,bi(l,58)._canLabelFloat,bi(l,58)._shouldLabelFloat(),bi(l,58)._hasFloatingLabel(),bi(l,58)._hideControlPlaceholder(),bi(l,58)._control.disabled,bi(l,58)._control.autofilled,bi(l,58)._control.focused,"accent"==bi(l,58).color,"warn"==bi(l,58).color,bi(l,58)._shouldForward("untouched"),bi(l,58)._shouldForward("touched"),bi(l,58)._shouldForward("pristine"),bi(l,58)._shouldForward("dirty"),bi(l,58)._shouldForward("valid"),bi(l,58)._shouldForward("invalid"),bi(l,58)._shouldForward("pending"),!bi(l,58)._animationsEnabled]),n(l,68,1,[Wt(1,"",e.lang.label,""),bi(l,70).required?"":null,bi(l,71).maxlength?bi(l,71).maxlength:null,bi(l,76).ngClassUntouched,bi(l,76).ngClassTouched,bi(l,76).ngClassPristine,bi(l,76).ngClassDirty,bi(l,76).ngClassValid,bi(l,76).ngClassInvalid,bi(l,76).ngClassPending,bi(l,77)._isServer,bi(l,77).id,bi(l,77).placeholder,bi(l,77).disabled,bi(l,77).required,bi(l,77).readonly&&!bi(l,77)._isNativeSelect||null,bi(l,77)._ariaDescribedby||null,bi(l,77).errorState,bi(l,77).required.toString()]),n(l,79,1,["standard"==bi(l,80).appearance,"fill"==bi(l,80).appearance,"outline"==bi(l,80).appearance,"legacy"==bi(l,80).appearance,bi(l,80)._control.errorState,bi(l,80)._canLabelFloat,bi(l,80)._shouldLabelFloat(),bi(l,80)._hasFloatingLabel(),bi(l,80)._hideControlPlaceholder(),bi(l,80)._control.disabled,bi(l,80)._control.autofilled,bi(l,80)._control.focused,"accent"==bi(l,80).color,"warn"==bi(l,80).color,bi(l,80)._shouldForward("untouched"),bi(l,80)._shouldForward("touched"),bi(l,80)._shouldForward("pristine"),bi(l,80)._shouldForward("dirty"),bi(l,80)._shouldForward("valid"),bi(l,80)._shouldForward("invalid"),bi(l,80)._shouldForward("pending"),!bi(l,80)._animationsEnabled]),n(l,90,1,[Wt(1,"",e.lang.collection,""),bi(l,91).required?"":null,bi(l,95).ngClassUntouched,bi(l,95).ngClassTouched,bi(l,95).ngClassPristine,bi(l,95).ngClassDirty,bi(l,95).ngClassValid,bi(l,95).ngClassInvalid,bi(l,95).ngClassPending,bi(l,96).id,bi(l,96).tabIndex,bi(l,96)._getAriaLabel(),bi(l,96)._getAriaLabelledby(),bi(l,96).required.toString(),bi(l,96).disabled.toString(),bi(l,96).errorState,bi(l,96).panelOpen?bi(l,96)._optionIds:null,bi(l,96).multiple,bi(l,96)._ariaDescribedby||null,bi(l,96)._getAriaActiveDescendant(),bi(l,96).disabled,bi(l,96).errorState,bi(l,96).required,bi(l,96).empty]),n(l,102,0,bi(l,103)._getTabIndex(),bi(l,103).selected,bi(l,103).multiple,bi(l,103).active,bi(l,103).id,bi(l,103)._getAriaSelected(),bi(l,103).disabled.toString(),bi(l,103).disabled),n(l,105,0,bi(l,106)._getTabIndex(),bi(l,106).selected,bi(l,106).multiple,bi(l,106).active,bi(l,106).id,bi(l,106)._getAriaSelected(),bi(l,106).disabled.toString(),bi(l,106).disabled),n(l,108,0,bi(l,109)._getTabIndex(),bi(l,109).selected,bi(l,109).multiple,bi(l,109).active,bi(l,109).id,bi(l,109)._getAriaSelected(),bi(l,109).disabled.toString(),bi(l,109).disabled),n(l,111,1,["standard"==bi(l,112).appearance,"fill"==bi(l,112).appearance,"outline"==bi(l,112).appearance,"legacy"==bi(l,112).appearance,bi(l,112)._control.errorState,bi(l,112)._canLabelFloat,bi(l,112)._shouldLabelFloat(),bi(l,112)._hasFloatingLabel(),bi(l,112)._hideControlPlaceholder(),bi(l,112)._control.disabled,bi(l,112)._control.autofilled,bi(l,112)._control.focused,"accent"==bi(l,112).color,"warn"==bi(l,112).color,bi(l,112)._shouldForward("untouched"),bi(l,112)._shouldForward("touched"),bi(l,112)._shouldForward("pristine"),bi(l,112)._shouldForward("dirty"),bi(l,112)._shouldForward("valid"),bi(l,112)._shouldForward("invalid"),bi(l,112)._shouldForward("pending"),!bi(l,112)._animationsEnabled]),n(l,122,1,[Wt(1,"",e.lang.maxSize,""),bi(l,125).required?"":null,bi(l,126).pattern?bi(l,126).pattern:null,bi(l,131).ngClassUntouched,bi(l,131).ngClassTouched,bi(l,131).ngClassPristine,bi(l,131).ngClassDirty,bi(l,131).ngClassValid,bi(l,131).ngClassInvalid,bi(l,131).ngClassPending,bi(l,132)._isServer,bi(l,132).id,bi(l,132).placeholder,bi(l,132).disabled,bi(l,132).required,bi(l,132).readonly&&!bi(l,132)._isNativeSelect||null,bi(l,132)._ariaDescribedby||null,bi(l,132).errorState,bi(l,132).required.toString()]),n(l,137,1,["standard"==bi(l,138).appearance,"fill"==bi(l,138).appearance,"outline"==bi(l,138).appearance,"legacy"==bi(l,138).appearance,bi(l,138)._control.errorState,bi(l,138)._canLabelFloat,bi(l,138)._shouldLabelFloat(),bi(l,138)._hasFloatingLabel(),bi(l,138)._hideControlPlaceholder(),bi(l,138)._control.disabled,bi(l,138)._control.autofilled,bi(l,138)._control.focused,"accent"==bi(l,138).color,"warn"==bi(l,138).color,bi(l,138)._shouldForward("untouched"),bi(l,138)._shouldForward("touched"),bi(l,138)._shouldForward("pristine"),bi(l,138)._shouldForward("dirty"),bi(l,138)._shouldForward("valid"),bi(l,138)._shouldForward("invalid"),bi(l,138)._shouldForward("pending"),!bi(l,138)._animationsEnabled]),n(l,148,1,[Wt(1,"",e.lang.path,""),bi(l,150).required?"":null,bi(l,155).ngClassUntouched,bi(l,155).ngClassTouched,bi(l,155).ngClassPristine,bi(l,155).ngClassDirty,bi(l,155).ngClassValid,bi(l,155).ngClassInvalid,bi(l,155).ngClassPending,bi(l,156)._isServer,bi(l,156).id,bi(l,156).placeholder,bi(l,156).disabled,bi(l,156).required,bi(l,156).readonly&&!bi(l,156)._isNativeSelect||null,bi(l,156)._ariaDescribedby||null,bi(l,156).errorState,bi(l,156).required.toString()]),n(l,159,0,bi(l,160).disabled||null,"NoopAnimations"===bi(l,160)._animationMode),n(l,161,0,e.lang.add)}))}function Y3(n){return jo(0,[ko(671088640,1,{paginator:0}),ko(671088640,2,{sort:0}),(n()(),_o(2,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(6,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(7,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(8,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(10,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(12,114688,null,0,GO,[_u],null,null),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(15,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(16,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,G3)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,K3)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,""),n(l,7,0),n(l,12,0),n(l,15,0),n(l,20,0,e.loading),n(l,22,0,!e.loading)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,6,0,bi(l,7)._container._contentMargins.left,bi(l,7)._container._contentMargins.right),n(l,9,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode())}))}function J3(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,Y3,H3)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,$3,[nS,uf,tu,_u,yu],null,null)],(function(n,l){n(l,3,0)}),null)}var Z3=oi("ng-component",$3,J3,{},{},[]),Q3=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.search=null,this.templates=[],this.titles=[],this.loading=!1,this.displayedColumns=["template_label","template_comment","template_type","template_target","actions"],this.dataSource=new mR(this.templates),$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["template_label","template_comment","template_type","template_target"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.templates),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/templates").subscribe((function(l){n.templates=l.templates,n.loading=!1,setTimeout((function(){n.dataSource=new mR(n.templates),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="template_label",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.deleteTemplate=function(n){var l=this;confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+n.template_label+" »")&&this.http.delete("../../rest/templates/"+n.template_id).subscribe((function(){for(var e in l.templates)l.templates[e].template_id==n.template_id&&l.templates.splice(Number(e),1);l.dataSource=new mR(l.templates),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.templateDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),X3=yt({encapsulation:2,styles:[],data:{}});function n4(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/templates/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/templates/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function l4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function e4(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.templateName)}))}function t4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.template_label)}))}function i4(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function a4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.template_comment)}))}function o4(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.templateTarget)}))}function r4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode()),n(l,2,0,e.lang[l.context.$implicit.template_target])}))}function u4(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.templateType)}))}function s4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.template_type)}))}function c4(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function d4(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteTemplate(n.context.$implicit)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"Y"==l.context.$implicit.is_system,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function p4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function m4(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/templates/",l.context.$implicit.template_id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function f4(n){return jo(0,[(n()(),_o(0,0,null,null,101,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,78,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","template_label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(28,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,e4)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,t4)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,i4)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,a4)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,o4)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,r4)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,u4)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,s4)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),_o(81,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(83,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,34,{cell:0}),ko(603979776,35,{headerCell:0}),ko(603979776,36,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,c4)),Di(89,16384,null,0,tR,[Xe],null,null),Ei(2048,[[35,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,d4)),Di(92,16384,null,0,eR,[Xe],null,null),Ei(2048,[[34,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,p4)),Di(95,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,m4)),Di(98,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(100,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(101,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"template_label","asc"),n(l,31,0,"template_label"),n(l,44,0,"template_comment"),n(l,57,0,"template_target"),n(l,70,0,"template_type"),n(l,83,0,"actions"),n(l,95,0,e.displayedColumns),n(l,98,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,101,0,e.templates.length,e.lang.templates)}))}function h4(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,n4)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,l4)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,f4)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function g4(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,h4,X3)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,Q3,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var b4=oi("ng-component",Q3,g4,{},{},[]),v4=e("Dxa7"),_4=(e("XxY3"),e("ds6q")),y4=function(){function n(n,l,e,t){this.http=n,this.dialog=l,this.notify=e,this.headerService=t,this.lang=Kr,this.loading=!0,this.editMode=!1,this.file={},this.params={},this.hideCloseEditor=!1,this.triggerAfterUpdatedDoc=new la,this.triggerCloseEditor=new la,this.triggerModifiedDocument=new la,this.key="",this.documentLoaded=!1,this.canUpdateDocument=!1,this.isSaving=!1,this.fullscreenMode=!1,this.hideButtons=!1,this.tmpFilename="",this.appUrl="",this.onlyOfficeUrl="",this.allowedExtension=["doc","docx","dotx","odt","ott","rtf","txt","html","xlsl","xlsx","xltx","ods","ots","csv"],this.eventAction=new _4.Subject}return n.prototype.onMessage=function(n){var l=JSON.parse(n.data);"onDownloadAs"===l.event?this.getEncodedDocument(l.data):"onDocumentReady"===l.event&&this.triggerModifiedDocument.emit()},n.prototype.quit=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.close,msg:this.lang.confirmCloseEditor}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.docEditor.destroyEditor(),n.closeEditor()}))).subscribe()},n.prototype.closeEditor=function(){null===this.headerService.sideNavLeft||this.headerService.hideSideBar||this.headerService.sideNavLeft.open(),$j("iframe[name='frameEditor']").css("position","initial"),this.fullscreenMode=!1,this.triggerAfterUpdatedDoc.emit(),this.triggerCloseEditor.emit()},n.prototype.getDocument=function(){this.isSaving=!0,this.docEditor.downloadAs(this.file.format)},n.prototype.getEncodedDocument=function(n){var l=this;this.http.get("../../rest/onlyOffice/encodedFile",{params:{url:n}}).pipe(Yr((function(n){l.file.content=n.encodedFile,l.isSaving=!1,l.triggerAfterUpdatedDoc.emit(),l.eventAction.next(l.file)}))).subscribe()},n.prototype.getEditorMode=function(n){return["csv","fods","ods","ots","xls","xlsm","xlsx","xlt","xltm","xltx"].indexOf(n)>-1?"spreadsheet":["fodp","odp","otp","pot","potm","potx","pps","ppsm","ppsx","ppt","pptm","pptx"].indexOf(n)>-1?"presentation":"text"},n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.key=this.generateUniqueId(),this.canLaunchOnlyOffice()?[4,this.getServerConfiguration()]:[3,5];case 1:return n.sent(),[4,this.checkServerStatus()];case 2:return n.sent(),[4,this.getMergedFileTemplate()];case 3:return n.sent(),this.setEditorConfig(),[4,this.getTokenOOServer()];case 4:n.sent(),this.initOfficeEditor(),this.loading=!1,n.label=5;case 5:return[2]}}))}))},n.prototype.canLaunchOnlyOffice=function(){return!!this.isAllowedEditExtension(this.file.format)||(this.notify.error(this.lang.onlyofficeEditDenied+" <b>"+this.file.format+"</b> "+this.lang.onlyofficeEditDenied2),this.triggerCloseEditor.emit(),!1)},n.prototype.getServerConfiguration=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/onlyOffice/configuration").pipe(Yr((function(e){if(e.enabled){var t=e.serverUri.split("/"),i=e.serverSsl?"https://":"http://",a=e.serverUri.split("/")[0],o=t.slice(1).join("/"),r=[a+(e.serverPort?":"+e.serverPort:":80"),o].join("/");n.onlyOfficeUrl=""+i+r,n.appUrl=e.coreUrl,l(!0)}else n.triggerCloseEditor.emit()})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.checkServerStatus=function(){var n=this;return new Promise((function(l,e){null!==n.appUrl.match(/127\.0\.0\.1/g)||null!==n.appUrl.match(/localhost/g)?(n.notify.error(""+n.lang.errorOnlyoffice1),n.triggerCloseEditor.emit()):n.http.get("../../rest/onlyOffice/available").pipe(Yr((function(e){e.isAvailable?l(!0):(n.notify.error(n.lang.errorOnlyoffice2+" "+n.onlyOfficeUrl),n.triggerCloseEditor.emit())})),Qr((function(l){return n.notify.error(""+n.lang[l.error.lang]),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getMergedFileTemplate=function(){var n=this;return new Promise((function(l,e){n.http.post("../../"+n.params.docUrl,{objectId:n.params.objectId,objectType:n.params.objectType,format:n.file.format,onlyOfficeKey:n.key,data:n.params.dataToMerge}).pipe(Yr((function(e){n.tmpFilename=e.filename,n.file={name:n.key,format:e.filename.split(".").pop(),type:null,contentMode:"base64",content:null,src:null},l(!0)})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.generateUniqueId=function(n){void 0===n&&(n=5);for(var l="",e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=e.length,i=0;i<n;i++)l+=e.charAt(Math.floor(Math.random()*t));return l},n.prototype.ngAfterViewInit=function(){},n.prototype.initOfficeEditor=function(){this.docEditor=new DocsAPI.DocEditor("placeholder",this.editorConfig,this.onlyOfficeUrl)},n.prototype.getTokenOOServer=function(){var n=this;return new Promise((function(l,e){n.http.post("../../rest/onlyOffice/token",{config:n.editorConfig}).pipe(Yr((function(e){null!==e&&(n.editorConfig.token=e),l(!0)})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.setEditorConfig=function(){this.editorConfig={documentType:this.getEditorMode(this.file.format),document:{fileType:this.file.format,key:this.key,title:"Edition",url:""+this.appUrl+this.params.docUrl+"?filename="+this.tmpFilename,permissions:{comment:!1,download:!0,edit:this.editMode,print:!0,review:!1}},editorConfig:{callbackUrl:this.appUrl+"rest/onlyOfficeCallback",lang:this.lang.language,region:this.lang.langISO,mode:"edit",customization:{chat:!1,comments:!1,compactToolbar:!1,feedback:!1,forcesave:!1,goback:!1,hideRightMenu:!0,showReviewChanges:!1,zoom:-2},user:{id:"1",name:" "}}}},n.prototype.isLocked=function(){return!!this.isSaving},n.prototype.getFile=function(){return this.getDocument(),this.eventAction.asObservable()},n.prototype.ngOnDestroy=function(){this.eventAction.complete()},n.prototype.openFullscreen=function(){$j("iframe[name='frameEditor']").css("top","0px"),$j("iframe[name='frameEditor']").css("left","0px"),this.fullscreenMode?(null===this.headerService.sideNavLeft||this.headerService.hideSideBar||this.headerService.sideNavLeft.open(),$j("iframe[name='frameEditor']").css("position","initial"),$j("iframe[name='frameEditor']").css("z-index","1")):(null===this.headerService.sideNavLeft||this.headerService.hideSideBar||this.headerService.sideNavLeft.close(),$j("iframe[name='frameEditor']").css("position","fixed"),$j("iframe[name='frameEditor']").css("z-index","2")),this.fullscreenMode=!this.fullscreenMode},n.prototype.isAllowedEditExtension=function(n){return this.allowedExtension.filter((function(l){return l.toLowerCase()===n.toLowerCase()})).length>0},n}(),w4=function(){function n(n,l,e,t,i){this.http=n,this.dialog=l,this.notify=e,this.sanitizer=t,this.headerService=i,this.lang=Kr,this.loading=!0,this.editMode=!1,this.file={},this.params={},this.hideCloseEditor=!1,this.triggerAfterUpdatedDoc=new la,this.triggerCloseEditor=new la,this.triggerModifiedDocument=new la,this.key=0,this.isSaving=!1,this.isModified=!1,this.fullscreenMode=!1,this.hideButtons=!1,this.allowedExtension=["doc","docx","dotx","odt","ott","rtf","txt","html","xlsl","xlsx","xltx","ods","ots","csv"],this.eventAction=new _4.Subject,this.editorUrl="",this.token=""}return n.prototype.onMessage=function(n){var l=this,e=JSON.parse(n.data);"Doc_ModifiedStatus"===e.MessageId&&!1===e.Values.Modified&&(this.isModified=!1),"Action_Save_Resp"!==e.MessageId||!0!==e.Values.success||this.isModified?"Doc_ModifiedStatus"===e.MessageId&&!1===e.Values.Modified&&this.isSaving?(this.triggerAfterUpdatedDoc.emit(),this.getTmpFile()):"Doc_ModifiedStatus"===e.MessageId&&!0===e.Values.Modified?(this.isModified=!0,this.triggerModifiedDocument.emit()):"App_LoadingStatus"===e.MessageId&&"Document_Loaded"===e.Values.Status&&this.collaboraFrame.nativeElement.contentWindow.postMessage(JSON.stringify({MessageId:"Host_PostmessageReady"}),"*"):setTimeout((function(){l.triggerAfterUpdatedDoc.emit(),l.getTmpFile()}),500)},n.prototype.quit=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.close,msg:this.lang.confirmCloseEditor}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.closeEditor()}))).subscribe()},n.prototype.closeEditor=function(){null===this.headerService.sideNavLeft||this.headerService.hideSideBar||this.headerService.sideNavLeft.open(),$j("iframe[name='frameEditor']").css("position","initial"),this.fullscreenMode=!1,this.collaboraFrame.nativeElement.contentWindow.postMessage(JSON.stringify({MessageId:"Action_Close",Values:null}),"*"),this.deleteTmpFile(),this.triggerAfterUpdatedDoc.emit(),this.triggerCloseEditor.emit()},n.prototype.saveDocument=function(){this.isSaving=!0,this.collaboraFrame.nativeElement.contentWindow.postMessage(JSON.stringify({MessageId:"Action_Save",Values:{Notify:!0,ExtendedData:"FinalSave=True",DontTerminateEdit:!0,DontSaveIfUnmodified:!1}}),"*")},n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.key=this.generateUniqueId(10),this.canLaunchCollaboraOnline()?[4,this.checkServerStatus()]:[3,6];case 1:return n.sent(),this.params.objectPath=void 0,"string"!=typeof this.params.objectId||"templateModification"!==this.params.objectType&&"templateCreation"!==this.params.objectType?[3,2]:(this.params.objectPath=this.params.objectId,this.params.objectId=this.key,[3,4]);case 2:return"string"!=typeof this.params.objectId||"encodedResource"!==this.params.objectType?[3,4]:(this.params.content=this.params.objectId,this.params.objectId=this.key,this.params.objectType="templateEncoded",[4,this.saveEncodedFile()]);case 3:n.sent(),n.label=4;case 4:return[4,this.getConfiguration()];case 5:n.sent(),this.loading=!1,n.label=6;case 6:return[2]}}))}))},n.prototype.canLaunchCollaboraOnline=function(){return!!this.isAllowedEditExtension(this.file.format)||(this.notify.error(this.lang.onlyofficeEditDenied+" <b>"+this.file.format+"</b> "+this.lang.collaboraOnlineEditDenied2),this.triggerCloseEditor.emit(),!1)},n.prototype.checkServerStatus=function(){var n=this;return new Promise((function(l){"127.0.0.1"===location.host||"localhost"===location.host?(n.notify.error(""+n.lang.errorCollaboraOnline1),n.triggerCloseEditor.emit()):n.http.get("../../rest/collaboraOnline/available").pipe(Yr((function(e){e.isAvailable?l(!0):(n.notify.error(""+n.lang.errorCollaboraOnline2),n.triggerCloseEditor.emit())})),Qr((function(l){return n.notify.error(""+n.lang[l.error.lang]),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getTmpFile=function(){var n=this;return new Promise((function(l){n.http.post("../../rest/collaboraOnline/file",{token:n.token}).pipe(Yr((function(e){n.file={name:n.key,format:e.format,type:null,contentMode:"base64",content:e.content,src:null},n.eventAction.next(n.file),l(!0)})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.deleteTmpFile=function(){var n=this;return new Promise((function(l){n.http.delete("../../rest/collaboraOnline/file?token="+n.token).pipe(Yr((function(){l(!0)})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.saveEncodedFile=function(){var n=this;return new Promise((function(l){n.http.post("../../rest/collaboraOnline/encodedFile",{content:n.params.content,format:n.file.format,key:n.key}).pipe(Yr((function(){l(!0)})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.generateUniqueId=function(n){void 0===n&&(n=5);for(var l="",e="0123456789".length,t=0;t<n;t++)l+="0123456789".charAt(Math.floor(Math.random()*e));return parseInt(l,10)},n.prototype.ngAfterViewInit=function(){},n.prototype.getConfiguration=function(){var n=this;return new Promise((function(l){n.http.post("../../rest/collaboraOnline/configuration",{resId:n.params.objectId,type:n.params.objectType,format:n.file.format,path:n.params.objectPath,data:n.params.dataToMerge,lang:n.lang.langISO}).pipe(Yr((function(e){n.editorUrl=e.url,n.editorUrl=n.sanitizer.bypassSecurityTrustResourceUrl(n.editorUrl),n.token=e.token,l(!0)})),Qr((function(l){return n.notify.handleErrors(l),n.triggerCloseEditor.emit(),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getFile=function(){return this.saveDocument(),this.eventAction.asObservable()},n.prototype.ngOnDestroy=function(){this.eventAction.complete()},n.prototype.openFullscreen=function(){$j("iframe[name='frameEditor']").css("top","0px"),$j("iframe[name='frameEditor']").css("left","0px"),this.fullscreenMode?(null===this.headerService.sideNavLeft||this.headerService.hideSideBar||this.headerService.sideNavLeft.open(),$j("iframe[name='frameEditor']").css("position","initial"),$j("iframe[name='frameEditor']").css("z-index","1")):(null===this.headerService.sideNavLeft||this.headerService.hideSideBar||this.headerService.sideNavLeft.close(),$j("iframe[name='frameEditor']").css("position","fixed"),$j("iframe[name='frameEditor']").css("z-index","2")),this.fullscreenMode=!this.fullscreenMode},n.prototype.isAllowedEditExtension=function(n){return this.allowedExtension.filter((function(l){return l.toLowerCase()===n.toLowerCase()})).length>0},n}(),x4=function(){function n(n,l){this.dialogRef=n,this.data=l,this.lang=Kr,this.loading=!1,this.editorOptions=null,this.file=null,this.editorType=null,this.documentIsModified=!1}return n.prototype.ngOnInit=function(){this.editorOptions=this.data.editorOptions,this.file=this.data.file,this.editorType=this.data.editorType},n.prototype.close=function(){var n=this;this.loading=!0,"onlyoffice"===this.editorType?this.onlyofficeViewer.getFile().pipe(Object(v4.take)(1),Object(JU.tap)((function(l){n.loading=!1,n.dialogRef.close(l)}))).subscribe():"collaboraonline"===this.editorType?this.collaboraOnlineViewer.getFile().pipe(Object(v4.take)(1),Object(JU.tap)((function(l){n.loading=!1,n.dialogRef.close(l)}))).subscribe():(this.loading=!1,this.dialogRef.close())},n}(),C4=function(){function n(n,l,e,t,i,a,o,r,u,s){this.http=n,this.sanitizer=l,this.route=e,this.router=t,this.notify=i,this.headerService=a,this.dialog=o,this.appService=r,this.viewContainerRef=u,this.functionsService=s,this.lang=Kr,this.loading=!1,this.template={id:0,label:"",description:"",datasource:"letterbox_attachment",target:"",type:"",file:null},this.targetTypes=["acknowledgementReceipt","notes","sendmail","indexingFile","notifications","attachments"],this.allowedExtensions=["doc","docx","dotx","odt","ott","html","xlsl","xlsx","xltx","ods","ots","csv"],this.selectedModelFile=null,this.availableTypes=[],this.statuses=[],this.categoriesList=[],this.keywordsList=[],this.jnlpValue={},this.extensionModels=[],this.buttonFileName=this.lang.importFile,this.lockFound=!1,this.templateDocView=null,this.data=[],this.config={},this.documentImported=!1}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.templateCreation),n.creationMode=!0,n.http.get("../../rest/administration/templates/new").subscribe((function(l){n.setInitialValue(l),n.loading=!1}))):(n.creationMode=!1,n.http.get("../../rest/templates/"+l.id+"/details").subscribe((function(l){n.setInitialValue(l),n.template={id:l.template.template_id,label:l.template.template_label,description:l.template.template_comment,datasource:l.template.template_datasource,target:l.template.template_target,type:l.template.template_type,file:{}},n.updateTemplateType(),n.selectedModelFile=l.template.template_file_name,n.template.template_attachment_type=l.template.template_attachment_type,"HTML"===n.template.type||"TXT"===n.template.type?n.template.file.content=l.template.template_content:"OFFICE"===n.template.type?(n.template.file.format=l.template.template_file_name.split(".").pop(),n.template.file.name=l.template.template_file_name,n.getViewTemplateContent()):"acknowledgementReceipt"===n.template.target&&(n.functionsService.empty(l.template.template_file_name)||(n.template.file.paper.format=l.template.template_file_name.split(".").pop()),n.template.file.paper.name=l.template.template_file_name,n.template.file.electronic.content=l.template.template_content,n.getViewTemplateContent()),n.headerService.setHeader(n.lang.templateModification,n.template.template_label),n.loading=!1}))),n.template.template_attachment_type||(n.template.template_attachment_type="all")}))},n.prototype.getViewTemplateContent=function(){var n=this;this.http.get("../../rest/templates/"+this.template.id+"/content").pipe(Yr((function(l){n.templateDocView=n.sanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64,"+l.encodedDocument)})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.initMce=function(n){var l=this;setTimeout((function(){tinymce.remove("textarea"),tinymce.baseURL="../../node_modules/tinymce",tinymce.suffix=".min",tinymce.init({selector:n,statusbar:!1,language:l.lang.langISO.replace("-","_"),language_url:"../../node_modules/tinymce-i18n/langs/"+l.lang.langISO.replace("-","_")+".js",height:"200",plugins:["autoresize","code"],external_plugins:{maarch_b64image:"../../src/frontend/plugins/tinymce/maarch_b64image/plugin.min.js"},menubar:!1,toolbar:"undo | bold italic underline | alignleft aligncenter alignright | maarch_b64image | forecolor | code",theme_buttons1_add:"fontselect,fontsizeselect",theme_buttons2_add_before:"cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",theme_buttons2_add:"separator,insertdate,inserttime,preview,separator,forecolor,backcolor",theme_buttons3_add_before:"tablecontrols,separator",theme_buttons3_add:"separator,print,separator,ltr,rtl,separator,fullscreen,separator,insertlayer,moveforward,movebackward,absolut",theme_toolbar_align:"left",theme_advanced_toolbar_location:"top",theme_styles:"Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1",setup:function(n){n.on("keyup",(function(n){"HTML"===l.template.type&&null!=tinymce.get("templateHtml")&&(l.template.file.content=tinymce.get("templateHtml").getContent()),"OFFICE_HTML"===l.template.type&&null!=tinymce.get("templateOfficeHtml")&&(l.template.file.electronic.content=tinymce.get("templateOfficeHtml").getContent())}))}})}),20)},n.prototype.setInitialValue=function(n){var l=this;this.extensionModels=[],n.templatesModels.forEach((function(n){-1===l.extensionModels.indexOf(n.fileExt)&&l.extensionModels.push(n.fileExt)})),this.defaultTemplatesList=n.templatesModels,this.attachmentTypesList=n.attachmentTypes,this.datasourcesList=n.datasources,setTimeout((function(){$j("#jstree").on("select_node.jstree",(function(n,l){l.event&&l.instance.select_node(l.node.children_d)})).jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:n.entities},plugins:["checkbox","search","sort"]});var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))}),0)},n.prototype.getBase64Document=function(n){var l=new Uint8Array(n).reduce((function(n,l){return n+String.fromCharCode(l)}),"");return btoa(l)},n.prototype.uploadFileTrigger=function(n){var l=this;if(n.target.files&&n.target.files[0]&&this.isExtensionAllowed(n.target.files[0])){var e=new FileReader;"acknowledgementReceipt"===this.template.target?(this.template.file.paper={name:"",type:"",content:""},this.template.file.paper.name=n.target.files[0].name,this.selectedModelFile=this.template.file.paper.name,this.template.file.paper.type=n.target.files[0].type,this.template.file.paper.format=this.template.file.paper.name.split(".").pop()):(this.template.file={name:"",type:"",content:""},this.template.file.name=n.target.files[0].name,this.selectedModelFile=this.template.file.name,this.template.file.type=n.target.files[0].type,this.template.file.format=this.template.file.name.split(".").pop()),e.readAsArrayBuffer(n.target.files[0]),e.onload=function(n){"acknowledgementReceipt"===l.template.target?l.template.file.paper.content=l.getBase64Document(n.target.result):l.template.file.content=l.getBase64Document(n.target.result),l.documentImported=!0,l.getViewTemplateFile()}}},n.prototype.isExtensionAllowed=function(n){var l=n.name.toLowerCase().split(".").pop();return 0!==this.allowedExtensions.filter((function(n){return n.toLowerCase()===l.toLowerCase()})).length||(this.dialog.open(KI,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.notAllowedExtension+" !",msg:this.lang.file+" : <b>"+n.name+"</b>, "+this.lang.type+" : <b>"+n.type+"</b><br/><br/><u>"+this.lang.allowedExtensions+"</u> : <br/>"+this.allowedExtensions.filter((function(n,l,e){return l===e.indexOf(n)})).join(", ")}}),!1)},n.prototype.editFile=function(){var n={docUrl:"rest/onlyOffice/mergedFile"};if(this.creationMode){if("acknowledgementReceipt"!==this.template.target)if(this.functionsService.empty(this.template.file.content)){n.objectType="templateCreation";for(var l=0,e=this.defaultTemplatesList;l<e.length;l++)this.selectedModelFile===(r=e[l]).fileExt+": "+r.fileName&&(n.objectId=r.filePath);n.extension=n.objectId.toLowerCase().split(".").pop()}else n.objectType="encodedResource",n.objectId=this.template.file.content,n.extension=this.template.file.format;else if("acknowledgementReceipt"===this.template.target)if(this.functionsService.empty(this.template.file.paper.content)){n.objectType="templateCreation";for(var t=0,i=this.defaultTemplatesList;t<i.length;t++)this.selectedModelFile===(r=i[t]).fileExt+": "+r.fileName&&(n.objectId=r.filePath);n.extension=n.objectId.toLowerCase().split(".").pop()}else n.objectType="encodedResource",n.objectId=this.template.file.paper.content,n.extension=this.template.file.paper.format}else"acknowledgementReceipt"!==this.template.target?this.functionsService.empty(this.template.file.content)?(n.objectType="templateModification",n.objectId=this.template.id,n.extension=this.template.file.name.toLowerCase().split(".").pop()):(n.objectType="encodedResource",n.objectId=this.template.file.content,n.extension=this.template.file.format):"acknowledgementReceipt"===this.template.target&&(this.functionsService.empty(this.template.file.paper.content)?(n.objectType="templateModification",n.objectId=this.template.id,n.extension=this.template.file.paper.name.toLowerCase().split(".").pop()):(n.objectType="encodedResource",n.objectId=this.template.file.paper.content,n.extension=this.template.file.paper.format));if("java"===this.headerService.user.preferences.documentEdition){if(this.creationMode){n.objectId="",n.objectType="templateCreation";for(var a=0,o=this.defaultTemplatesList;a<o.length;a++){var r;this.selectedModelFile===(r=o[a]).fileExt+": "+r.fileName&&(n.objectId=r.filePath)}if(this.functionsService.empty(n.objectId))return alert(this.lang.canNotEditImportedDocumentWhenJava),!1}else n.objectType="templateModification",n.objectId=this.template.id;this.launchJavaEditor(n)}else"java"!==this.headerService.user.preferences.documentEdition&&this.launchIntegratedEditor(n,this.headerService.user.preferences.documentEdition)},n.prototype.launchJavaEditor=function(n){var l=this;this.http.post("../../rest/jnlp",n).pipe(Yr((function(e){window.location.href="../../rest/jnlp/"+e.generatedJnlp,l.checkLockFile(e.jnlpUniqueId,n.extension)})),Qr((function(n){return l.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.launchIntegratedEditor=function(n,l){var e=this;this.dialogRef=this.dialog.open(x4,{autoFocus:!1,panelClass:"maarch-full-height-modal",minWidth:"80%",disableClose:!0,data:{title:this.template.template_style,editorOptions:n,file:{format:n.extension},editorType:l}}),this.dialogRef.afterClosed().pipe(tc((function(n){return!e.functionsService.empty(n)})),Yr((function(l){"acknowledgementReceipt"===e.template.target?(e.template.file.paper.name=e.selectedModelFile,e.template.file.paper.format=n.extension,e.template.file.paper.content=l.content):(e.template.file.name=e.selectedModelFile,e.template.file.format=n.extension,e.template.file.content=l.content),e.getViewTemplateFile()})),Qr((function(n){return e.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.getViewTemplateFile=function(){var n=this;this.http.post("../../rest/convertedFile/encodedFile",{encodedFile:"acknowledgementReceipt"===this.template.target?this.template.file.paper.content:this.template.file.content,format:"acknowledgementReceipt"===this.template.target?this.template.file.paper.format:this.template.file.format}).pipe(Yr((function(l){n.templateDocView=n.sanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64,"+l.encodedResource)})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.checkLockFile=function(n,l){var e=this;this.intervalLockFile=setInterval((function(){e.http.get("../../rest/jnlp/lock/"+n).pipe(Yr((function(n){e.lockFound=n.lockFileFound,e.lockFound||(clearInterval(e.intervalLockFile),e.loadTmpFile(n.fileTrunk+"."+l))}))).subscribe()}),1e3)},n.prototype.loadTmpFile=function(n){var l=this;this.http.get("../../rest/convertedFile/"+n+"?convert=true").pipe(Yr((function(e){"acknowledgementReceipt"===l.template.target?(l.template.file.paper.name=l.selectedModelFile,l.template.file.paper.format=n.toLowerCase().split(".").pop(),l.template.file.paper.content=e.encodedResource):(l.template.file.name=l.selectedModelFile,l.template.file.format=n.toLowerCase().split(".").pop(),l.template.file.content=e.encodedResource),l.templateDocView=l.sanitizer.bypassSecurityTrustResourceUrl("data:application/pdf;base64,"+e.encodedConvertedResource)}))).subscribe()},n.prototype.duplicateTemplate=function(){var n=this;this.lockFound||"acknowledgementReceipt"===this.template.target||confirm(this.lang.confirmDuplicate)&&this.http.post("../../rest/templates/"+this.template.id+"/duplicate",{id:this.template.id}).subscribe((function(l){n.notify.success(n.lang.templateDuplicated),n.router.navigate(["/administration/templates/"+l.id])}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.onSubmit=function(){var n=this;this.isValidTemplate()&&(this.creationMode?this.http.post("../../rest/templates",this.formatTemplate()).pipe(Yr((function(l){l.checkEntities?(n.config={panelClass:"maarch-modal",data:{entitiesList:l.checkEntities,template_attachment_type:n.template.template_attachment_type}},n.dialog.open(k4,n.config)):(n.router.navigate(["/administration/templates"]),n.notify.success(n.lang.templateAdded))})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe():this.http.put("../../rest/templates/"+this.template.id,this.formatTemplate()).pipe(Yr((function(l){!n.functionsService.empty(l)&&l.checkEntities?(n.config={panelClass:"maarch-modal",data:{entitiesList:l.checkEntities,template_attachment_type:n.template.template_attachment_type}},n.dialogRef=n.dialog.open(k4,n.config)):(n.router.navigate(["/administration/templates"]),n.notify.success(n.lang.templateUpdated))})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe())},n.prototype.formatTemplate=function(){var n=Object(t.__assign)({},this.template);return n.entities=$j("#jstree").jstree("get_checked",null,!0),n},n.prototype.isValidTemplate=function(){return"acknowledgementReceipt"===this.template.target&&this.functionsService.empty(this.template.file.paper.name)&&this.functionsService.empty(this.template.file.electronic.content)?(alert(this.lang.mustCompleteAR),!1):"acknowledgementReceipt"===this.template.target||"OFFICE"!==this.template.type||!this.functionsService.empty(this.template.file.name)||(alert(this.lang.editModelFirst),!1)},n.prototype.displayDatasources=function(n){return"notification"===n.target&&"notifications"===this.template.target||"document"===n.target&&"notifications"!==this.template.target},n.prototype.updateTemplateType=function(){this.template.file={name:"",type:"",content:""},this.templateDocView=null,["attachments","indexingFile"].indexOf(this.template.target)>-1?(this.template.type="OFFICE",this.availableTypes=["OFFICE"]):["notifications","sendmail"].indexOf(this.template.target)>-1?(this.template.type="HTML",this.availableTypes=["HTML","TXT"],this.initMce("textarea#templateHtml")):"notes"===this.template.target?(this.template.type="TXT",this.availableTypes=["TXT"]):"acknowledgementReceipt"===this.template.target&&(this.template.file={electronic:{name:"",type:"",content:""},paper:{name:"",type:"",content:""}},this.template.type="OFFICE_HTML",this.availableTypes=[],this.template.template_attachment_type="",this.initMce("textarea#templateOfficeHtml"))},n.prototype.changeType=function(n){"HTML"===n.value?this.initMce("textarea#templateHtml"):tinymce.remove("textarea"),this.template.type=n.value},n.prototype.changeModel=function(){this.template.file={name:"",type:"",content:""},this.template.file={electronic:{name:"",type:"",content:""}},this.documentImported=!1},n.prototype.loadTab=function(n){0===n.index?this.initMce("textarea#templateOfficeHtml"):(tinymce.remove("textarea"),null==this.template.template_file_name&&null==this.template.template_style&&(this.buttonFileName=this.lang.importFile))},n.prototype.ngOnDestroy=function(){tinymce.remove("textarea")},n}(),k4=function(){return function(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr}}(),S4=yt({encapsulation:0,styles:[[".mat-list-item.disabled[_ngcontent-%COMP%]{opacity:.5;cursor:default}.mat-list-item.disabled[_ngcontent-%COMP%]:active, .mat-list-item.disabled[_ngcontent-%COMP%]:focus, .mat-list-item.disabled[_ngcontent-%COMP%]:hover{background:initial}.selectFile[_ngcontent-%COMP%]{text-align:center}.selectFile[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:-webkit-box!important;display:flex!important;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}"]],data:{}});function I4(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"disabled",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.duplicateTemplate()&&t),t}),AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,5,{_lines:1}),ko(603979776,6,{_avatar:0}),ko(603979776,7,{_icon:0}),(n()(),_o(10,0,null,0,2,"mat-icon",[["class","fa fa-copy mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[7,4]],0,iI,[],null,null),(n()(),_o(13,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(14,16384,[[5,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "]))],(function(n,l){var e=l.component;n(l,6,0,e.lockFound||"acknowledgementReceipt"==e.template.target),n(l,11,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,e.lockFound||"acknowledgementReceipt"==e.template.target,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,15,0,e.lang.duplicate)}))}function A4(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,I4)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,!e.creationMode&&!e.loading)}),null)}function M4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function P4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[35,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang[l.context.$implicit])}))}function D4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[47,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function F4(n){return jo(0,[(n()(),_o(0,0,null,null,27,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,26,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,38,{_controlNonStatic:0}),ko(335544320,39,{_controlStatic:0}),ko(603979776,40,{_labelChildNonStatic:0}),ko(335544320,41,{_labelChildStatic:0}),ko(603979776,42,{_placeholderChild:0}),ko(603979776,43,{_errorChildren:1}),ko(603979776,44,{_hintChildren:1}),ko(603979776,45,{_prefixChildren:1}),ko(603979776,46,{_suffixChildren:1}),(n()(),_o(13,0,null,1,14,"mat-select",[["class","mat-select"],["id","template_attachment_type"],["name","template_attachment_type"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,17)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,17)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,17)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.template.template_attachment_type=e)&&t),t}),GR,qR)),Di(14,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],id:[1,"id"]},null),ko(603979776,47,{options:1}),ko(603979776,48,{optionGroups:1}),ko(603979776,49,{customTrigger:0}),Ei(2048,[[38,4],[39,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","all"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,24)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,24)._handleKeydown(e)&&t),t}),bI,hI)),Di(24,8568832,[[47,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(25,0,["",""])),(n()(),vo(16777216,null,1,1,null,D4)),Di(27,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,14,0,"template_attachment_type",e.template.template_attachment_type),n(l,17,0,Wt(1,"",e.lang.attachmentType,""),"template_attachment_type"),n(l,24,0,"all"),n(l,27,0,e.attachmentTypesList)}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.attachmentType,""),bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17).id,bi(l,17).tabIndex,bi(l,17)._getAriaLabel(),bi(l,17)._getAriaLabelledby(),bi(l,17).required.toString(),bi(l,17).disabled.toString(),bi(l,17).errorState,bi(l,17).panelOpen?bi(l,17)._optionIds:null,bi(l,17).multiple,bi(l,17)._ariaDescribedby||null,bi(l,17)._getAriaActiveDescendant(),bi(l,17).disabled,bi(l,17).errorState,bi(l,17).required,bi(l,17).empty]),n(l,23,0,bi(l,24)._getTabIndex(),bi(l,24).selected,bi(l,24).multiple,bi(l,24).active,bi(l,24).id,bi(l,24)._getAriaSelected(),bi(l,24).disabled.toString(),bi(l,24).disabled),n(l,25,0,e.lang.allAttachments)}))}function E4(n){return jo(0,[(n()(),_o(0,0,null,null,33,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,32,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,31,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,50,{_controlNonStatic:0}),ko(335544320,51,{_controlStatic:0}),ko(603979776,52,{_labelChildNonStatic:0}),ko(335544320,53,{_labelChildStatic:0}),ko(603979776,54,{_placeholderChild:0}),ko(603979776,55,{_errorChildren:1}),ko(603979776,56,{_hintChildren:1}),ko(603979776,57,{_prefixChildren:1}),ko(603979776,58,{_suffixChildren:1}),(n()(),_o(13,0,null,1,20,"mat-select",[["class","mat-select"],["id","template_attachment_type"],["name","template_attachment_type"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,19)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,19)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,19)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.template.template_attachment_type=e)&&t),t}),GR,qR)),Di(14,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(16,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(18,16384,null,0,y_,[[4,v_]],null,null),Di(19,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],id:[3,"id"]},null),ko(603979776,59,{options:1}),ko(603979776,60,{optionGroups:1}),ko(603979776,61,{customTrigger:0}),Ei(2048,[[50,4],[51,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(25,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","simple"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,26)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,26)._handleKeydown(e)&&t),t}),bI,hI)),Di(26,8568832,[[59,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(27,0,["",""])),(n()(),_o(28,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","sva"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,29)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,29)._handleKeydown(e)&&t),t}),bI,hI)),Di(29,8568832,[[59,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(30,0,["",""])),(n()(),_o(31,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value","svr"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,32)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,32)._handleKeydown(e)&&t),t}),bI,hI)),Di(32,8568832,[[59,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(33,0,["",""]))],(function(n,l){var e=l.component;n(l,14,0,""),n(l,16,0,"template_attachment_type",!e.creationMode,e.template.template_attachment_type),n(l,19,0,!e.creationMode,Wt(1,"",e.lang.acknowledgementReceiptType,""),"","template_attachment_type"),n(l,26,0,"simple"),n(l,29,0,"sva"),n(l,32,0,"svr")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.acknowledgementReceiptType,""),bi(l,14).required?"":null,bi(l,18).ngClassUntouched,bi(l,18).ngClassTouched,bi(l,18).ngClassPristine,bi(l,18).ngClassDirty,bi(l,18).ngClassValid,bi(l,18).ngClassInvalid,bi(l,18).ngClassPending,bi(l,19).id,bi(l,19).tabIndex,bi(l,19)._getAriaLabel(),bi(l,19)._getAriaLabelledby(),bi(l,19).required.toString(),bi(l,19).disabled.toString(),bi(l,19).errorState,bi(l,19).panelOpen?bi(l,19)._optionIds:null,bi(l,19).multiple,bi(l,19)._ariaDescribedby||null,bi(l,19)._getAriaActiveDescendant(),bi(l,19).disabled,bi(l,19).errorState,bi(l,19).required,bi(l,19).empty]),n(l,25,0,bi(l,26)._getTabIndex(),bi(l,26).selected,bi(l,26).multiple,bi(l,26).active,bi(l,26).id,bi(l,26)._getAriaSelected(),bi(l,26).disabled.toString(),bi(l,26).disabled),n(l,27,0,e.lang.ARsimple),n(l,28,0,bi(l,29)._getTabIndex(),bi(l,29).selected,bi(l,29).multiple,bi(l,29).active,bi(l,29).id,bi(l,29)._getAriaSelected(),bi(l,29).disabled.toString(),bi(l,29).disabled),n(l,30,0,e.lang.ARsva),n(l,31,0,bi(l,32)._getTabIndex(),bi(l,32).selected,bi(l,32).multiple,bi(l,32).active,bi(l,32).id,bi(l,32)._getAriaSelected(),bi(l,32).disabled.toString(),bi(l,32).disabled),n(l,33,0,e.lang.ARsvr)}))}function O4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["name","type"],["style","margin-left:10px"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[62,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{name:[0,"name"],checked:[1,"checked"],value:[2,"value"],color:[3,"color"]},null),(n()(),Lo(2,0,[" ",""]))],(function(n,l){n(l,1,0,"type",l.component.template.type===l.context.$implicit,l.context.$implicit,"primary")}),(function(n,l){n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,l.context.$implicit)}))}function T4(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"mat-radio-group",[["class","mat-radio-group"],["name","type"],["required",""],["role","radiogroup"]],null,[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.changeType(e)&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[gq]),Di(4,1064960,null,1,gq,[Nl],{name:[0,"name"],disabled:[1,"disabled"],required:[2,"required"]},{change:"change"}),ko(603979776,62,{_radios:1}),(n()(),vo(16777216,null,null,1,null,O4)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,4,0,"type",!e.creationMode,""),n(l,7,0,e.availableTypes)}),null)}function L4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[72,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",": "," "]))],(function(n,l){n(l,1,0,Wt(2,"",l.parent.context.$implicit.fileExt,": ",l.parent.context.$implicit.fileName,""))}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.fileExt,l.parent.context.$implicit.fileName)}))}function R4(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,L4)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.parent.context.$implicit==l.context.$implicit.fileExt)}),null)}function N4(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(2,49152,[[73,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,R4)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"",l.context.$implicit," :")),n(l,4,0,e.defaultTemplatesList)}),(function(n,l){n(l,1,0,bi(l,2).disabled,bi(l,2).disabled.toString(),bi(l,2)._labelId)}))}function j4(n){return jo(0,[(n()(),_o(0,0,null,null,31,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,63,{_controlNonStatic:0}),ko(335544320,64,{_controlStatic:0}),ko(603979776,65,{_labelChildNonStatic:0}),ko(335544320,66,{_labelChildStatic:0}),ko(603979776,67,{_placeholderChild:0}),ko(603979776,68,{_errorChildren:1}),ko(603979776,69,{_hintChildren:1}),ko(603979776,70,{_prefixChildren:1}),ko(603979776,71,{_suffixChildren:1}),(n()(),_o(11,0,null,1,20,"mat-select",[["class","mat-select"],["id","template_style"],["name","template_style"],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,17)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,17)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,17)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedModelFile=e)&&t),"selectionChange"===l&&(t=!1!==i.changeModel(e)&&t),t}),GR,qR)),Di(12,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(14,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],id:[3,"id"]},{selectionChange:"selectionChange"}),ko(603979776,72,{options:1}),ko(603979776,73,{optionGroups:1}),ko(603979776,74,{customTrigger:0}),Ei(2048,[[63,4],[64,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(23,0,null,1,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(24,49152,[[73,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),_o(25,0,null,1,4,"mat-option",[["class","selectFile mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,26)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,26)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n.parent,4).click()&&t),t}),bI,hI)),Di(26,8568832,[[72,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(27,0,null,0,1,"mat-icon",[["class","fa fa-paperclip mat-icon notranslate"],["color","primary"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(28,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(29,0,[" "," "])),(n()(),vo(16777216,null,1,1,null,N4)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,12,0,"acknowledgementReceipt"!=e.template.target),n(l,14,0,"template_style",!e.creationMode,e.selectedModelFile),n(l,17,0,!e.creationMode,Wt(1,"",e.lang.chosenModel,""),"acknowledgementReceipt"!=e.template.target,"template_style"),n(l,24,0,Wt(1,"",e.lang.loadedFile," :")),n(l,26,0,e.template.file.name),n(l,28,0,"primary"),n(l,31,0,e.extensionModels)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[Wt(1,"",e.lang.defaultTemplate,""),bi(l,12).required?"":null,bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17).id,bi(l,17).tabIndex,bi(l,17)._getAriaLabel(),bi(l,17)._getAriaLabelledby(),bi(l,17).required.toString(),bi(l,17).disabled.toString(),bi(l,17).errorState,bi(l,17).panelOpen?bi(l,17)._optionIds:null,bi(l,17).multiple,bi(l,17)._ariaDescribedby||null,bi(l,17)._getAriaActiveDescendant(),bi(l,17).disabled,bi(l,17).errorState,bi(l,17).required,bi(l,17).empty]),n(l,23,0,bi(l,24).disabled,bi(l,24).disabled.toString(),bi(l,24)._labelId),n(l,25,0,bi(l,26)._getTabIndex(),bi(l,26).selected,bi(l,26).multiple,bi(l,26).active,bi(l,26).id,bi(l,26)._getAriaSelected(),bi(l,26).disabled.toString(),bi(l,26).disabled),n(l,27,0,bi(l,28).inline,"primary"!==bi(l,28).color&&"accent"!==bi(l,28).color&&"warn"!==bi(l,28).color),n(l,29,0,e.functionsService.empty(e.template.file)||e.functionsService.empty(e.template.file.name)?e.lang.importFile:e.template.file.name)}))}function V4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.editFile()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.component.lockFound,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.templateEdition)}))}function q4(n){return jo(0,[(n()(),_o(0,0,null,null,0,"iframe",[["style","width:100%;height:800px;"]],[[8,"src",5]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.templateDocView)}))}function z4(n){return jo(0,[(n()(),_o(0,0,null,null,14,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","col-md-12"],["style","display: none;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"div",[["class","form-inline hide"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(4,0,[["uploadSignFileOffice",1]],null,0,"input",[["accept","application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml‌.slideshow,application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.spreadsheet"],["name","files[]"],["type","file"]],null,[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.uploadFileTrigger(e)&&t),t}),null,null)),(n()(),_o(5,0,null,null,7,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,j4)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,V4)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(e.stopPropagation(),t=!1!==bi(n,4).click()&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(12,0,["",""])),(n()(),vo(16777216,null,null,1,null,q4)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,7,0,e.creationMode||e.template.file.name),n(l,9,0,e.creationMode&&e.selectedModelFile&&!e.documentImported||e.creationMode&&e.selectedModelFile&&e.documentImported&&"java"!==e.headerService.user.preferences.documentEdition||!e.creationMode&&!e.documentImported||!e.creationMode&&e.documentImported&&"java"!==e.headerService.user.preferences.documentEdition),n(l,11,0,e.lockFound,"default"),n(l,14,0,null!==e.templateDocView)}),(function(n,l){var e=l.component;n(l,10,0,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,12,0,e.lang.importFile)}))}function U4(n){return jo(0,[(n()(),_o(0,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,75,{_controlNonStatic:0}),ko(335544320,76,{_controlStatic:0}),ko(603979776,77,{_labelChildNonStatic:0}),ko(335544320,78,{_labelChildStatic:0}),ko(603979776,79,{_placeholderChild:0}),ko(603979776,80,{_errorChildren:1}),ko(603979776,81,{_hintChildren:1}),ko(603979776,82,{_prefixChildren:1}),ko(603979776,83,{_suffixChildren:1}),(n()(),_o(13,0,null,1,11,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["id","templateTxt"],["matAutosizeMaxRows","5"],["matAutosizeMinRows","5"],["matInput",""],["matTextareaAutosize",""],["name","templateTxt"],["rows","1"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,14)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,14).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,14)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,14)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),"input"===l&&(t=!1!==bi(n,22)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.template.file.content=e)&&t),t}),null,null)),Di(14,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(15,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(18,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"]},null),Di(22,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matAutosizeMaxRows:[1,"matAutosizeMaxRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[75,4],[76,4]],nT,null,[OT]),(n()(),Lo(-1,null,[" "]))],(function(n,l){var e=l.component;n(l,15,0,"acknowledgementReceipt"!=e.template.target),n(l,18,0,"templateTxt",e.template.file.content),n(l,21,0,"templateTxt",Wt(1,"",e.lang.contentTxtTemplate,""),"acknowledgementReceipt"!=e.template.target),n(l,22,0,"5","5","")}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.contentTxtTemplate,""),bi(l,15).required?"":null,bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()])}))}function B4(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,9,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,8,"div",[["id","html_mode"],["style","display: block; width:100%;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,7,"textarea",[["cols","60"],["id","templateHtml"],["name","templateHtml"],["rows","15"],["style","width:100%"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,4)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,4).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,4)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,4)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(i.template.file.content=e)&&t),t}),null,null)),Di(4,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(5,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(8,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(10,16384,null,0,y_,[[4,v_]],null,null)],(function(n,l){var e=l.component;n(l,5,0,"acknowledgementReceipt"!=e.template.target),n(l,8,0,"templateHtml",e.template.file.content)}),(function(n,l){n(l,3,0,bi(l,5).required?"":null,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending)}))}function $4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[93,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.parent.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.label)}))}function H4(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$4)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.displayDatasources(l.context.$implicit))}),null)}function G4(n){return jo(0,[(n()(),_o(0,0,null,null,27,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,26,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,84,{_controlNonStatic:0}),ko(335544320,85,{_controlStatic:0}),ko(603979776,86,{_labelChildNonStatic:0}),ko(335544320,87,{_labelChildStatic:0}),ko(603979776,88,{_placeholderChild:0}),ko(603979776,89,{_errorChildren:1}),ko(603979776,90,{_hintChildren:1}),ko(603979776,91,{_prefixChildren:1}),ko(603979776,92,{_suffixChildren:1}),(n()(),_o(13,0,null,1,14,"mat-select",[["class","mat-select"],["id","datasource"],["name","datasource"],["role","listbox"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,17)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,17)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,17)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.template.datasource=e)&&t),t}),GR,qR)),Di(14,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],id:[1,"id"]},null),ko(603979776,93,{options:1}),ko(603979776,94,{optionGroups:1}),ko(603979776,95,{customTrigger:0}),Ei(2048,[[84,4],[85,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(23,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,24)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,24)._handleKeydown(e)&&t),t}),bI,hI)),Di(24,8568832,[[93,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(25,0,["",""])),(n()(),vo(16777216,null,1,1,null,H4)),Di(27,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,14,0,"datasource",e.template.datasource),n(l,17,0,Wt(1,"",e.lang.templateDatasource,""),"datasource"),n(l,24,0,""),n(l,27,0,e.datasourcesList)}),(function(n,l){var e=l.component;n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,1,[Wt(1,"",e.lang.templateDatasource,""),bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17).id,bi(l,17).tabIndex,bi(l,17)._getAriaLabel(),bi(l,17)._getAriaLabelledby(),bi(l,17).required.toString(),bi(l,17).disabled.toString(),bi(l,17).errorState,bi(l,17).panelOpen?bi(l,17)._optionIds:null,bi(l,17).multiple,bi(l,17)._ariaDescribedby||null,bi(l,17)._getAriaActiveDescendant(),bi(l,17).disabled,bi(l,17).errorState,bi(l,17).required,bi(l,17).empty]),n(l,23,0,bi(l,24)._getTabIndex(),bi(l,24).selected,bi(l,24).multiple,bi(l,24).active,bi(l,24).id,bi(l,24)._getAriaSelected(),bi(l,24).disabled.toString(),bi(l,24).disabled),n(l,25,0,e.lang.noDatasource)}))}function W4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[110,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",": "," "]))],(function(n,l){n(l,1,0,Wt(2,"",l.parent.context.$implicit.fileExt,": ",l.parent.context.$implicit.fileName,""))}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.parent.context.$implicit.fileExt,l.parent.context.$implicit.fileName)}))}function K4(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,W4)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.parent.context.$implicit==l.context.$implicit.fileExt)}),null)}function Y4(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(2,49152,[[111,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,K4)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"",l.context.$implicit," :")),n(l,4,0,e.defaultTemplatesList)}),(function(n,l){n(l,1,0,bi(l,2).disabled,bi(l,2).disabled.toString(),bi(l,2)._labelId)}))}function J4(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.editFile()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.component.lockFound,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.templateEdition)}))}function Z4(n){return jo(0,[(n()(),_o(0,0,null,null,0,"iframe",[["style","width:100%;height:800px;"]],[[8,"src",5]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.templateDocView)}))}function Q4(n){return jo(0,[(n()(),_o(0,0,null,null,65,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,64,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedTabChange"]],(function(n,l,e){var t=!0;return"selectedTabChange"===l&&(t=!1!==n.component.loadTab(e)&&t),t}),LV,PV)),Di(2,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,{selectedTabChange:"selectedTabChange"}),ko(603979776,96,{_tabs:1}),(n()(),_o(4,16777216,null,null,13,"mat-tab",[],null,null,null,BV,zV)),Di(5,770048,[[96,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,97,{templateLabel:0}),ko(335544320,98,{_explicitContent:0}),(n()(),_o(8,0,null,0,9,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,8,"div",[["id","html_mode"],["style","display: block; width:100%;"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,7,"textarea",[["cols","60"],["id","templateOfficeHtml"],["name","templateOfficeHtml"],["rows","15"],["style","width:100%"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,11)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,11).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,11)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,11)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(i.template.file.electronic.content=e)&&t),t}),null,null)),Di(11,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(12,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(15,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(17,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(18,16777216,null,null,47,"mat-tab",[],null,null,null,BV,zV)),Di(19,770048,[[96,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,99,{templateLabel:0}),ko(335544320,100,{_explicitContent:0}),(n()(),_o(22,0,null,0,3,"div",[["class","col-md-12"],["style","display: none;"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,2,"div",[["class","form-inline hide"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(25,0,[["uploadSignFileOfficeHtml",1]],null,0,"input",[["accept","application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml‌.slideshow,application/vnd.oasis.opendocument.text,application/vnd.oasis.opendocument.presentation,application/vnd.oasis.opendocument.spreadsheet"],["name","files[]"],["type","file"]],null,[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.uploadFileTrigger(e)&&t),t}),null,null)),(n()(),_o(26,0,null,0,37,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,31,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(28,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,101,{_controlNonStatic:0}),ko(335544320,102,{_controlStatic:0}),ko(603979776,103,{_labelChildNonStatic:0}),ko(335544320,104,{_labelChildStatic:0}),ko(603979776,105,{_placeholderChild:0}),ko(603979776,106,{_errorChildren:1}),ko(603979776,107,{_hintChildren:1}),ko(603979776,108,{_prefixChildren:1}),ko(603979776,109,{_suffixChildren:1}),(n()(),_o(38,0,null,1,20,"mat-select",[["class","mat-select"],["id","template_style"],["name","template_style"],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,44)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,44)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,44)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.selectedModelFile=e)&&t),t}),GR,qR)),Di(39,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(41,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(43,16384,null,0,y_,[[4,v_]],null,null),Di(44,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],id:[3,"id"]},null),ko(603979776,110,{options:1}),ko(603979776,111,{optionGroups:1}),ko(603979776,112,{customTrigger:0}),Ei(2048,[[101,4],[102,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(50,0,null,1,6,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(51,49152,[[111,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),_o(52,0,null,1,4,"mat-option",[["class","mat-option"],["role","option"],["style","text-align: center;"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,53)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,53)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,25).click()&&t),t}),bI,hI)),Di(53,8568832,[[110,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(54,0,null,0,1,"mat-icon",[["class","fa fa-paperclip mat-icon notranslate"],["color","primary"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(55,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(56,0,[" "," "])),(n()(),vo(16777216,null,1,1,null,Y4)),Di(58,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,J4)),Di(60,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(61,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(e.stopPropagation(),t=!1!==bi(n,25).click()&&t),t}),PC,MC)),Di(62,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(63,0,["",""])),(n()(),vo(16777216,null,0,1,null,Z4)),Di(65,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,Wt(1,"",e.lang.electronicTemplate,"")),n(l,12,0,"acknowledgementReceipt"!=e.template.target),n(l,15,0,"templateOfficeHtml",e.template.file.electronic.content),n(l,19,0,Wt(1,"",e.lang.paperTemplate,"")),n(l,39,0,"acknowledgementReceipt"!=e.template.target),n(l,41,0,"template_style",!e.creationMode&&null!==e.template.file.paper.name,e.selectedModelFile),n(l,44,0,!e.creationMode&&null!==e.template.file.paper.name,Wt(1,"",e.lang.chosenModel,""),"acknowledgementReceipt"!=e.template.target,"template_style"),n(l,51,0,Wt(1,"",e.lang.loadedFile," :")),n(l,53,0,e.template.file.paper.name),n(l,55,0,"primary"),n(l,58,0,e.extensionModels),n(l,60,0,e.creationMode&&e.selectedModelFile&&!e.documentImported||e.creationMode&&e.selectedModelFile&&e.documentImported&&"java"!==e.headerService.user.preferences.documentEdition||!e.creationMode&&!e.documentImported||!e.creationMode&&e.documentImported&&"java"!==e.headerService.user.preferences.documentEdition),n(l,62,0,e.lockFound,"default"),n(l,65,0,null!==e.templateDocView)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).dynamicHeight,"below"===bi(l,2).headerPosition),n(l,10,0,bi(l,12).required?"":null,bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending),n(l,27,1,["standard"==bi(l,28).appearance,"fill"==bi(l,28).appearance,"outline"==bi(l,28).appearance,"legacy"==bi(l,28).appearance,bi(l,28)._control.errorState,bi(l,28)._canLabelFloat,bi(l,28)._shouldLabelFloat(),bi(l,28)._hasFloatingLabel(),bi(l,28)._hideControlPlaceholder(),bi(l,28)._control.disabled,bi(l,28)._control.autofilled,bi(l,28)._control.focused,"accent"==bi(l,28).color,"warn"==bi(l,28).color,bi(l,28)._shouldForward("untouched"),bi(l,28)._shouldForward("touched"),bi(l,28)._shouldForward("pristine"),bi(l,28)._shouldForward("dirty"),bi(l,28)._shouldForward("valid"),bi(l,28)._shouldForward("invalid"),bi(l,28)._shouldForward("pending"),!bi(l,28)._animationsEnabled]),n(l,38,1,[Wt(1,"",e.lang.defaultTemplate,""),bi(l,39).required?"":null,bi(l,43).ngClassUntouched,bi(l,43).ngClassTouched,bi(l,43).ngClassPristine,bi(l,43).ngClassDirty,bi(l,43).ngClassValid,bi(l,43).ngClassInvalid,bi(l,43).ngClassPending,bi(l,44).id,bi(l,44).tabIndex,bi(l,44)._getAriaLabel(),bi(l,44)._getAriaLabelledby(),bi(l,44).required.toString(),bi(l,44).disabled.toString(),bi(l,44).errorState,bi(l,44).panelOpen?bi(l,44)._optionIds:null,bi(l,44).multiple,bi(l,44)._ariaDescribedby||null,bi(l,44)._getAriaActiveDescendant(),bi(l,44).disabled,bi(l,44).errorState,bi(l,44).required,bi(l,44).empty]),n(l,50,0,bi(l,51).disabled,bi(l,51).disabled.toString(),bi(l,51)._labelId),n(l,52,0,bi(l,53)._getTabIndex(),bi(l,53).selected,bi(l,53).multiple,bi(l,53).active,bi(l,53).id,bi(l,53)._getAriaSelected(),bi(l,53).disabled.toString(),bi(l,53).disabled),n(l,54,0,bi(l,55).inline,"primary"!==bi(l,55).color&&"accent"!==bi(l,55).color&&"warn"!==bi(l,55).color),n(l,56,0,e.functionsService.empty(e.template.file.paper)||e.functionsService.empty(e.template.file.paper.name)?e.lang.importFile:e.template.file.paper.name),n(l,61,0,bi(l,62).disabled||null,"NoopAnimations"===bi(l,62)._animationMode),n(l,63,0,e.lang.importFile)}))}function X4(n){return jo(0,[(n()(),_o(0,0,null,null,103,"mat-card",[["class","card-app-content mat-card"],["style","display: contents;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,101,"form",[["class","form-horizontal"],["novalidate",""],["style","display: contents;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["templatesFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,92,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(11,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,8,{_controlNonStatic:0}),ko(335544320,9,{_controlStatic:0}),ko(603979776,10,{_labelChildNonStatic:0}),ko(335544320,11,{_labelChildStatic:0}),ko(603979776,12,{_placeholderChild:0}),ko(603979776,13,{_errorChildren:1}),ko(603979776,14,{_hintChildren:1}),ko(603979776,15,{_prefixChildren:1}),ko(603979776,16,{_suffixChildren:1}),(n()(),_o(21,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","255"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,22)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,22)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,22)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.template.label=e)&&t),t}),null,null)),Di(22,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(23,16384,null,0,My,[],{required:[0,"required"]},null),Di(24,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(27,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(29,16384,null,0,y_,[[4,v_]],null,null),Di(30,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[8,4],[9,4]],nT,null,[OT]),(n()(),_o(32,0,null,null,24,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,23,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(34,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(35,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,17,{_controlNonStatic:0}),ko(335544320,18,{_controlStatic:0}),ko(603979776,19,{_labelChildNonStatic:0}),ko(335544320,20,{_labelChildStatic:0}),ko(603979776,21,{_placeholderChild:0}),ko(603979776,22,{_errorChildren:1}),ko(603979776,23,{_hintChildren:1}),ko(603979776,24,{_prefixChildren:1}),ko(603979776,25,{_suffixChildren:1}),(n()(),_o(45,0,null,1,11,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matAutosizeMaxRows","5"],["matAutosizeMinRows","2"],["matInput",""],["matTextareaAutosize",""],["name","template_comment"],["required",""],["rows","1"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,46)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,46)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,46)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,53)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,53)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,53)._onInput()&&t),"input"===l&&(t=!1!==bi(n,54)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.template.description=e)&&t),t}),null,null)),Di(46,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(47,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(50,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(52,16384,null,0,y_,[[4,v_]],null,null),Di(53,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Di(54,4603904,null,0,PT,[Pe,sh,La],{matAutosizeMinRows:[0,"matAutosizeMinRows"],matAutosizeMaxRows:[1,"matAutosizeMaxRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[17,4],[18,4]],nT,null,[OT]),(n()(),Lo(-1,null,[" "])),(n()(),_o(57,0,null,null,26,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(58,0,null,null,25,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(59,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(60,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,26,{_controlNonStatic:0}),ko(335544320,27,{_controlStatic:0}),ko(603979776,28,{_labelChildNonStatic:0}),ko(335544320,29,{_labelChildStatic:0}),ko(603979776,30,{_placeholderChild:0}),ko(603979776,31,{_errorChildren:1}),ko(603979776,32,{_hintChildren:1}),ko(603979776,33,{_prefixChildren:1}),ko(603979776,34,{_suffixChildren:1}),(n()(),_o(70,0,null,1,13,"mat-select",[["class","mat-select"],["name","target"],["required",""],["role","listbox"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,77)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,77)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,77)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.template.target=e)&&t),"selectionChange"===l&&(t=!1!==i.updateTemplateType(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(72,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(74,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(76,16384,null,0,y_,[[4,v_]],null,null),Di(77,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"]},{selectionChange:"selectionChange"}),ko(603979776,35,{options:1}),ko(603979776,36,{optionGroups:1}),ko(603979776,37,{customTrigger:0}),Ei(2048,[[26,4],[27,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,P4)),Di(83,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,F4)),Di(85,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,E4)),Di(87,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,T4)),Di(89,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,z4)),Di(91,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,U4)),Di(93,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,B4)),Di(95,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,G4)),Di(97,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Q4)),Di(99,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(100,0,null,null,3,"div",[["class","col-sm-12"],["style","background: white;position:sticky;bottom:0px; text-align:center;"]],null,null,null,null,null)),(n()(),_o(101,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(102,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(103,0,["",""]))],(function(n,l){var e=l.component;n(l,23,0,""),n(l,24,0,"255"),n(l,27,0,"label",e.template.label),n(l,30,0,Wt(1,"",e.lang.templateName,""),"","text"),n(l,47,0,""),n(l,50,0,"template_comment",e.template.description),n(l,53,0,Wt(1,"",e.lang.description,""),""),n(l,54,0,"2","5",""),n(l,72,0,""),n(l,74,0,"target",!e.creationMode,e.template.target),n(l,77,0,!e.creationMode,Wt(1,"",e.lang.templateTarget,""),""),n(l,83,0,e.targetTypes),n(l,85,0,"attachments"==e.template.target),n(l,87,0,"acknowledgementReceipt"==e.template.target),n(l,89,0,e.availableTypes.length>1),n(l,91,0,"OFFICE"==e.template.type),n(l,93,0,"TXT"==e.template.type),n(l,95,0,"HTML"==e.template.type),n(l,97,0,"notifications"==e.template.target),n(l,99,0,"OFFICE_HTML"==e.template.type),n(l,102,0,!bi(l,4).form.valid||e.lockFound,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,10,1,["standard"==bi(l,11).appearance,"fill"==bi(l,11).appearance,"outline"==bi(l,11).appearance,"legacy"==bi(l,11).appearance,bi(l,11)._control.errorState,bi(l,11)._canLabelFloat,bi(l,11)._shouldLabelFloat(),bi(l,11)._hasFloatingLabel(),bi(l,11)._hideControlPlaceholder(),bi(l,11)._control.disabled,bi(l,11)._control.autofilled,bi(l,11)._control.focused,"accent"==bi(l,11).color,"warn"==bi(l,11).color,bi(l,11)._shouldForward("untouched"),bi(l,11)._shouldForward("touched"),bi(l,11)._shouldForward("pristine"),bi(l,11)._shouldForward("dirty"),bi(l,11)._shouldForward("valid"),bi(l,11)._shouldForward("invalid"),bi(l,11)._shouldForward("pending"),!bi(l,11)._animationsEnabled]),n(l,21,1,[Wt(1,"",e.lang.templateName,""),bi(l,23).required?"":null,bi(l,24).maxlength?bi(l,24).maxlength:null,bi(l,29).ngClassUntouched,bi(l,29).ngClassTouched,bi(l,29).ngClassPristine,bi(l,29).ngClassDirty,bi(l,29).ngClassValid,bi(l,29).ngClassInvalid,bi(l,29).ngClassPending,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()]),n(l,34,1,["standard"==bi(l,35).appearance,"fill"==bi(l,35).appearance,"outline"==bi(l,35).appearance,"legacy"==bi(l,35).appearance,bi(l,35)._control.errorState,bi(l,35)._canLabelFloat,bi(l,35)._shouldLabelFloat(),bi(l,35)._hasFloatingLabel(),bi(l,35)._hideControlPlaceholder(),bi(l,35)._control.disabled,bi(l,35)._control.autofilled,bi(l,35)._control.focused,"accent"==bi(l,35).color,"warn"==bi(l,35).color,bi(l,35)._shouldForward("untouched"),bi(l,35)._shouldForward("touched"),bi(l,35)._shouldForward("pristine"),bi(l,35)._shouldForward("dirty"),bi(l,35)._shouldForward("valid"),bi(l,35)._shouldForward("invalid"),bi(l,35)._shouldForward("pending"),!bi(l,35)._animationsEnabled]),n(l,45,1,[Wt(1,"",e.lang.description,""),bi(l,47).required?"":null,bi(l,52).ngClassUntouched,bi(l,52).ngClassTouched,bi(l,52).ngClassPristine,bi(l,52).ngClassDirty,bi(l,52).ngClassValid,bi(l,52).ngClassInvalid,bi(l,52).ngClassPending,bi(l,53)._isServer,bi(l,53).id,bi(l,53).placeholder,bi(l,53).disabled,bi(l,53).required,bi(l,53).readonly&&!bi(l,53)._isNativeSelect||null,bi(l,53)._ariaDescribedby||null,bi(l,53).errorState,bi(l,53).required.toString()]),n(l,59,1,["standard"==bi(l,60).appearance,"fill"==bi(l,60).appearance,"outline"==bi(l,60).appearance,"legacy"==bi(l,60).appearance,bi(l,60)._control.errorState,bi(l,60)._canLabelFloat,bi(l,60)._shouldLabelFloat(),bi(l,60)._hasFloatingLabel(),bi(l,60)._hideControlPlaceholder(),bi(l,60)._control.disabled,bi(l,60)._control.autofilled,bi(l,60)._control.focused,"accent"==bi(l,60).color,"warn"==bi(l,60).color,bi(l,60)._shouldForward("untouched"),bi(l,60)._shouldForward("touched"),bi(l,60)._shouldForward("pristine"),bi(l,60)._shouldForward("dirty"),bi(l,60)._shouldForward("valid"),bi(l,60)._shouldForward("invalid"),bi(l,60)._shouldForward("pending"),!bi(l,60)._animationsEnabled]),n(l,70,1,[Wt(1,"",e.lang.templateTarget,""),bi(l,72).required?"":null,bi(l,76).ngClassUntouched,bi(l,76).ngClassTouched,bi(l,76).ngClassPristine,bi(l,76).ngClassDirty,bi(l,76).ngClassValid,bi(l,76).ngClassInvalid,bi(l,76).ngClassPending,bi(l,77).id,bi(l,77).tabIndex,bi(l,77)._getAriaLabel(),bi(l,77)._getAriaLabelledby(),bi(l,77).required.toString(),bi(l,77).disabled.toString(),bi(l,77).errorState,bi(l,77).panelOpen?bi(l,77)._optionIds:null,bi(l,77).multiple,bi(l,77)._ariaDescribedby||null,bi(l,77)._getAriaActiveDescendant(),bi(l,77).disabled,bi(l,77).errorState,bi(l,77).required,bi(l,77).empty]),n(l,101,0,bi(l,102).disabled||null,"NoopAnimations"===bi(l,102)._animationMode),n(l,103,0,e.lang.save)}))}function n8(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),(n()(),_o(2,0,null,null,44,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,A4)),(n()(),_o(7,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(13,114688,null,0,GO,[_u],null,null),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(16,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(17,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,null,4,"div",[["class","container-content"],["style","padding: 10px 10px 0px 10px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,M4)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,X4)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,0,null,0,22,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;width:400px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,25)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,25)._animationDoneListener(e)&&t),t}),zO,qO)),Di(25,3325952,[[3,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(26,0,null,0,20,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(27,704512,null,0,tI,[Pe],null,null),(n()(),_o(28,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(29,16384,null,0,aI,[],null,null),(n()(),Lo(30,null,["",""])),(n()(),_o(31,0,null,0,15,"div",[["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(32,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(33,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,113,{_controlNonStatic:0}),ko(335544320,114,{_controlStatic:0}),ko(603979776,115,{_labelChildNonStatic:0}),ko(335544320,116,{_labelChildStatic:0}),ko(603979776,117,{_placeholderChild:0}),ko(603979776,118,{_errorChildren:1}),ko(603979776,119,{_hintChildren:1}),ko(603979776,120,{_prefixChildren:1}),ko(603979776,121,{_suffixChildren:1}),(n()(),_o(43,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,44)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,44)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,44)._onInput()&&t),t}),null,null)),Di(44,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[113,4],[114,4]],nT,null,[OT]),(n()(),_o(46,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,3,0,""),n(l,8,0),n(l,13,0),n(l,16,0),n(l,21,0,e.loading),n(l,23,0,!e.loading),n(l,25,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,44,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right),n(l,10,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,24,0,null,"end"===bi(l,25).position,"over"===bi(l,25).mode,"push"===bi(l,25).mode,"side"===bi(l,25).mode,bi(l,25).opened,bi(l,25).fixedInViewport,bi(l,25).fixedInViewport?bi(l,25).fixedTopGap:null,bi(l,25).fixedInViewport?bi(l,25).fixedBottomGap:null,bi(l,25)._animationState),n(l,30,0,e.lang.chooseEntityAssociationModel),n(l,32,1,["standard"==bi(l,33).appearance,"fill"==bi(l,33).appearance,"outline"==bi(l,33).appearance,"legacy"==bi(l,33).appearance,bi(l,33)._control.errorState,bi(l,33)._canLabelFloat,bi(l,33)._shouldLabelFloat(),bi(l,33)._hasFloatingLabel(),bi(l,33)._hideControlPlaceholder(),bi(l,33)._control.disabled,bi(l,33)._control.autofilled,bi(l,33)._control.focused,"accent"==bi(l,33).color,"warn"==bi(l,33).color,bi(l,33)._shouldForward("untouched"),bi(l,33)._shouldForward("touched"),bi(l,33)._shouldForward("pristine"),bi(l,33)._shouldForward("dirty"),bi(l,33)._shouldForward("valid"),bi(l,33)._shouldForward("invalid"),bi(l,33)._shouldForward("pending"),!bi(l,33)._animationsEnabled]),n(l,43,0,bi(l,44)._isServer,bi(l,44).id,bi(l,44).placeholder,bi(l,44).disabled,bi(l,44).required,bi(l,44).readonly&&!bi(l,44)._isNativeSelect||null,bi(l,44)._ariaDescribedby||null,bi(l,44).errorState,bi(l,44).required.toString())}))}function l8(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,n8,S4)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,245760,null,0,C4,[nS,Ed,Zp,uf,tu,_u,Jv,yu,lt,$S],null,null)],(function(n,l){n(l,2,0)}),null)}var e8=oi("ng-component",C4,l8,{},{},[]),t8=yt({encapsulation:0,styles:[[".alert-message[_ngcontent-%COMP%]{max-width:inherit}"]],data:{}});function i8(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(5,0,null,0,3,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(8,0,null,0,0,"i",[["class","fa fa-share-alt"],["color","primary"]],null,null,null,null,null)),(n()(),_o(9,0,null,1,2,"span",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(11,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,11,0,l.context.$implicit.entity_label)}))}function a8(n){return jo(0,[(n()(),_o(0,0,null,null,19,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,10,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,4,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),Lo(8,null,["",""])),(n()(),_o(9,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,null,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(12,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,i8)),Di(14,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(15,0,null,null,4,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(16,16384,null,0,l_,[],null,null),(n()(),_o(17,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(18,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(19,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,14,0,e.data.entitiesList),n(l,18,0,"primary")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.templateAssociateEntities),n(l,8,0,e.lang.templateCheckEntities),n(l,10,0,e.lang["AR"+e.data.template_attachment_type]),n(l,17,0,bi(l,18).disabled||null,"NoopAnimations"===bi(l,18)._animationMode),n(l,19,0,e.lang.close)}))}function o8(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,a8,t8)),Di(1,49152,null,0,k4,[nS,Gv,Hv],null,null)],null,null)}var r8=oi("ng-component",k4,o8,{},{},[]),u8=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.lang=Kr,this.loading=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0},lockTime:{enabled:!1,value:0},lockAttempts:{enabled:!1,value:0}},this.passwordRulesClone={},this.passwordRulesList=[],$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.securitiesAdministration),this.loading=!0,this.http.get("../../rest/passwordRules").subscribe((function(l){n.passwordRulesList=l.rules,l.rules.forEach((function(l){n.passwordRules[l.label].enabled=l.enabled,n.passwordRules[l.label].value=l.value,n.passwordRules[l.label].label=n.lang["password"+l.label+"Required"],n.passwordRules[l.label].id=l.label,n.loading=!1})),n.passwordRulesClone=JSON.parse(JSON.stringify(n.passwordRules))}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.cancelModification=function(){var n=this;this.passwordRules=JSON.parse(JSON.stringify(this.passwordRulesClone)),this.passwordRulesList.forEach((function(l){l.enabled=n.passwordRules[l.label].enabled,l.value=n.passwordRules[l.label].value}))},n.prototype.checkModif=function(){return JSON.stringify(this.passwordRules)===JSON.stringify(this.passwordRulesClone)},n.prototype.disabledForm=function(){return!(this.passwordRules.lockTime.enabled||this.passwordRules.minLength.enabled||this.passwordRules.lockAttempts.enabled||this.passwordRules.renewal.enabled||this.passwordRules.historyLastUse.enabled)},n.prototype.toggleRule=function(n){var l=this;n.enabled=!n.enabled,this.passwordRulesList.forEach((function(e){"lockAttempts"!=n.id||"lockTime"!=e.label&&"lockAttempts"!=e.label?n.id==e.label&&(e.enabled=n.enabled):(e.enabled=n.enabled,l.passwordRules.lockTime.enabled=n.enabled)}))},n.prototype.onSubmit=function(){var n=this;this.passwordRulesList.forEach((function(l){l.enabled=n.passwordRules[l.label].enabled,l.value=n.passwordRules[l.label].value})),this.http.put("../../rest/passwordRules",{rules:this.passwordRulesList}).subscribe((function(l){n.passwordRulesClone=JSON.parse(JSON.stringify(n.passwordRules)),n.notify.success(n.lang.passwordRulesUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n}(),s8=yt({encapsulation:2,styles:[],data:{}});function c8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function d8(n){return jo(0,[(n()(),_o(0,0,null,null,211,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,209,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,3,{_tabs:1}),(n()(),_o(5,16777216,null,null,206,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[3,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,4,{templateLabel:0}),ko(335544320,5,{_explicitContent:0}),(n()(),_o(9,0,null,0,202,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[["passwordForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,190,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(15,704512,null,0,tI,[Pe],null,null),(n()(),_o(16,0,null,0,12,"p",[["style","margin-bottom: 40px;text-align: center;"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","padding-left:10px;padding-right:10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,19)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.complexityUpper)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(19,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),(n()(),Lo(20,0,[" ",""])),(n()(),_o(21,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","padding-left:10px;padding-right:10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,23)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.complexityNumber)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(23,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),(n()(),Lo(24,0,[" ",""])),(n()(),_o(25,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","padding-left:10px;padding-right:10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,27)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.complexitySpecial)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(27,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),(n()(),Lo(28,0,[" ",""])),(n()(),_o(29,0,null,0,38,"mat-list-item",[["class","mat-list-item"],["style","margin-top: 15px;margin-bottom: 15px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(30,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(34,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(35,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(36,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(37,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","position: relative;top:-10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,39)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.minLength)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(39,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(40,0,null,1,27,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(41,16384,[[6,4]],0,pv,[],null,null),(n()(),_o(42,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(43,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(53,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["pattern","^[1-9][0-9]*"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,54)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,54).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,54)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,54)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,55).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,55).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,55).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,63)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,63)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,63)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.passwordRules.minLength.value=e)&&t),t}),null,null)),Di(54,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(55,16384,null,0,F_,[Te,Pe],null,null),Di(56,16384,null,0,My,[],{required:[0,"required"]},null),Di(57,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(60,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(62,16384,null,0,y_,[[4,v_]],null,null),Di(63,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(65,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(66,16384,[[17,4]],0,oT,[],null,null),(n()(),Lo(67,null,[" ",""])),(n()(),_o(68,0,null,0,61,"mat-list-item",[["class","mat-list-item"],["style","margin-top: 15px;margin-bottom: 15px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(69,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,18,{_lines:1}),ko(603979776,19,{_avatar:0}),ko(603979776,20,{_icon:0}),(n()(),_o(73,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(74,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(75,16384,[[20,4]],0,iI,[],null,null),(n()(),_o(76,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","position: relative;top:-10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,78)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.lockAttempts)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(78,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(79,0,null,1,50,"p",[["class","mat-line"],["mat-line",""],["style","display:flex;"]],null,null,null,null,null)),Di(80,16384,[[18,4]],0,pv,[],null,null),(n()(),_o(81,0,null,null,22,"mat-form-field",[["class","mat-form-field"],["style","flex:1;padding-right: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(82,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,21,{_controlNonStatic:0}),ko(335544320,22,{_controlStatic:0}),ko(603979776,23,{_labelChildNonStatic:0}),ko(335544320,24,{_labelChildStatic:0}),ko(603979776,25,{_placeholderChild:0}),ko(603979776,26,{_errorChildren:1}),ko(603979776,27,{_hintChildren:1}),ko(603979776,28,{_prefixChildren:1}),ko(603979776,29,{_suffixChildren:1}),(n()(),_o(92,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["pattern","^[1-9][0-9]*"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,93)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,93).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,93)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,93)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,94).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,94).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,94).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,102)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,102)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,102)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.passwordRules.lockAttempts.value=e)&&t),t}),null,null)),Di(93,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(94,16384,null,0,F_,[Te,Pe],null,null),Di(95,16384,null,0,My,[],{required:[0,"required"]},null),Di(96,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(99,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(101,16384,null,0,y_,[[4,v_]],null,null),Di(102,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[21,4],[22,4]],nT,null,[OT]),(n()(),_o(104,0,null,null,25,"mat-form-field",[["class","mat-form-field"],["style","flex:1;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(105,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,30,{_controlNonStatic:0}),ko(335544320,31,{_controlStatic:0}),ko(603979776,32,{_labelChildNonStatic:0}),ko(335544320,33,{_labelChildStatic:0}),ko(603979776,34,{_placeholderChild:0}),ko(603979776,35,{_errorChildren:1}),ko(603979776,36,{_hintChildren:1}),ko(603979776,37,{_prefixChildren:1}),ko(603979776,38,{_suffixChildren:1}),(n()(),_o(115,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["pattern","^[1-9][0-9]*"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,116)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,116).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,116)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,116)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,117).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,117).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,117).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,125)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,125)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,125)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.passwordRules.lockTime.value=e)&&t),t}),null,null)),Di(116,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(117,16384,null,0,F_,[Te,Pe],null,null),Di(118,16384,null,0,My,[],{required:[0,"required"]},null),Di(119,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(122,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(124,16384,null,0,y_,[[4,v_]],null,null),Di(125,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[30,4],[31,4]],nT,null,[OT]),(n()(),_o(127,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(128,16384,[[38,4]],0,oT,[],null,null),(n()(),Lo(129,null,[" ",""])),(n()(),_o(130,0,null,0,38,"mat-list-item",[["class","mat-list-item"],["style","margin-top: 15px;margin-bottom: 15px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(131,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,39,{_lines:1}),ko(603979776,40,{_avatar:0}),ko(603979776,41,{_icon:0}),(n()(),_o(135,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(136,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(137,16384,[[41,4]],0,iI,[],null,null),(n()(),_o(138,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","position: relative;top:-10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,140)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.renewal)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(140,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(141,0,null,1,27,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(142,16384,[[39,4]],0,pv,[],null,null),(n()(),_o(143,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(144,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,42,{_controlNonStatic:0}),ko(335544320,43,{_controlStatic:0}),ko(603979776,44,{_labelChildNonStatic:0}),ko(335544320,45,{_labelChildStatic:0}),ko(603979776,46,{_placeholderChild:0}),ko(603979776,47,{_errorChildren:1}),ko(603979776,48,{_hintChildren:1}),ko(603979776,49,{_prefixChildren:1}),ko(603979776,50,{_suffixChildren:1}),(n()(),_o(154,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["pattern","^[1-9][0-9]*"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,155)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,155).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,155)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,155)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,156).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,156).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,156).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,164)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,164)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,164)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.passwordRules.renewal.value=e)&&t),t}),null,null)),Di(155,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(156,16384,null,0,F_,[Te,Pe],null,null),Di(157,16384,null,0,My,[],{required:[0,"required"]},null),Di(158,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(161,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(163,16384,null,0,y_,[[4,v_]],null,null),Di(164,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[42,4],[43,4]],nT,null,[OT]),(n()(),_o(166,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(167,16384,[[50,4]],0,oT,[],null,null),(n()(),Lo(168,null,[" ",""])),(n()(),_o(169,0,null,0,35,"mat-list-item",[["class","mat-list-item"],["style","margin-top: 15px;margin-bottom: 15px;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(170,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,51,{_lines:1}),ko(603979776,52,{_avatar:0}),ko(603979776,53,{_icon:0}),(n()(),_o(174,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(175,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(176,16384,[[53,4]],0,iI,[],null,null),(n()(),_o(177,0,null,0,2,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["style","position: relative;top:-10px;"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,179)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleRule(i.passwordRules.historyLastUse)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(179,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(180,0,null,1,24,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(181,16384,[[51,4]],0,pv,[],null,null),(n()(),_o(182,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(183,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,54,{_controlNonStatic:0}),ko(335544320,55,{_controlStatic:0}),ko(603979776,56,{_labelChildNonStatic:0}),ko(335544320,57,{_labelChildStatic:0}),ko(603979776,58,{_placeholderChild:0}),ko(603979776,59,{_errorChildren:1}),ko(603979776,60,{_hintChildren:1}),ko(603979776,61,{_prefixChildren:1}),ko(603979776,62,{_suffixChildren:1}),(n()(),_o(193,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","1"],["pattern","^[1-9][0-9]*"],["required",""],["type","number"]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,194)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,194).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,194)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,194)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,195).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,195).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,195).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,203)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,203)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,203)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.passwordRules.historyLastUse.value=e)&&t),t}),null,null)),Di(194,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(195,16384,null,0,F_,[Te,Pe],null,null),Di(196,16384,null,0,My,[],{required:[0,"required"]},null),Di(197,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(200,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(202,16384,null,0,y_,[[4,v_]],null,null),Di(203,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[54,4],[55,4]],nT,null,[OT]),(n()(),_o(205,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(206,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(207,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(208,0,["",""])),(n()(),_o(209,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelModification()&&t),t}),PC,MC)),Di(210,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(211,0,["",""]))],(function(n,l){var e=l.component;n(l,6,0,Wt(1,"",e.lang.password,"")),n(l,19,0,"primary",e.passwordRules.complexityUpper.label,e.passwordRules.complexityUpper.enabled),n(l,23,0,"primary",e.passwordRules.complexityNumber.label,e.passwordRules.complexityNumber.enabled),n(l,27,0,"primary",e.passwordRules.complexitySpecial.label,e.passwordRules.complexitySpecial.enabled),n(l,35,0),n(l,39,0,"primary",e.passwordRules.minLength.enabled),n(l,56,0,""),n(l,57,0,"^[1-9][0-9]*"),n(l,60,0,e.passwordRules.minLength.label,!e.passwordRules.minLength.enabled,e.passwordRules.minLength.value),n(l,63,0,!e.passwordRules.minLength.enabled,Wt(1,"",e.passwordRules.minLength.label,""),"","number"),n(l,74,0),n(l,78,0,"primary",e.passwordRules.lockAttempts.enabled),n(l,95,0,""),n(l,96,0,"^[1-9][0-9]*"),n(l,99,0,e.passwordRules.lockAttempts.label,!e.passwordRules.lockAttempts.enabled,e.passwordRules.lockAttempts.value),n(l,102,0,!e.passwordRules.lockAttempts.enabled,Wt(1,"",e.passwordRules.lockAttempts.label,""),"","number"),n(l,118,0,""),n(l,119,0,"^[1-9][0-9]*"),n(l,122,0,e.passwordRules.lockTime.label,!e.passwordRules.lockTime.enabled,e.passwordRules.lockTime.value),n(l,125,0,!e.passwordRules.lockTime.enabled,Wt(1,"",e.passwordRules.lockTime.label,""),"","number"),n(l,136,0),n(l,140,0,"primary",e.passwordRules.renewal.enabled),n(l,157,0,""),n(l,158,0,"^[1-9][0-9]*"),n(l,161,0,e.passwordRules.renewal.label,!e.passwordRules.renewal.enabled,e.passwordRules.renewal.value),n(l,164,0,!e.passwordRules.renewal.enabled,Wt(1,"",e.passwordRules.renewal.label,""),"","number"),n(l,175,0),n(l,179,0,"primary",e.passwordRules.historyLastUse.enabled),n(l,196,0,""),n(l,197,0,"^[1-9][0-9]*"),n(l,200,0,e.passwordRules.historyLastUse.label,!e.passwordRules.historyLastUse.enabled,e.passwordRules.historyLastUse.value),n(l,203,0,!e.passwordRules.historyLastUse.enabled,Wt(1,"",e.passwordRules.historyLastUse.label,""),"","number"),n(l,207,0,!bi(l,11).valid&&!e.disabledForm()||e.checkModif(),"primary"),n(l,210,0,e.checkModif(),"default")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,17,0,bi(l,19).id,bi(l,19).disabled?null:-1,bi(l,19).checked,bi(l,19).disabled,"before"==bi(l,19).labelPosition,"NoopAnimations"===bi(l,19)._animationMode),n(l,20,0,e.passwordRules.complexityUpper.label),n(l,21,0,bi(l,23).id,bi(l,23).disabled?null:-1,bi(l,23).checked,bi(l,23).disabled,"before"==bi(l,23).labelPosition,"NoopAnimations"===bi(l,23)._animationMode),n(l,24,0,e.passwordRules.complexityNumber.label),n(l,25,0,bi(l,27).id,bi(l,27).disabled?null:-1,bi(l,27).checked,bi(l,27).disabled,"before"==bi(l,27).labelPosition,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,e.passwordRules.complexitySpecial.label),n(l,29,0,bi(l,30)._avatar||bi(l,30)._icon,bi(l,30)._avatar||bi(l,30)._icon),n(l,34,0,bi(l,35).inline,"primary"!==bi(l,35).color&&"accent"!==bi(l,35).color&&"warn"!==bi(l,35).color),n(l,37,0,bi(l,39).id,bi(l,39).disabled?null:-1,bi(l,39).checked,bi(l,39).disabled,"before"==bi(l,39).labelPosition,"NoopAnimations"===bi(l,39)._animationMode),n(l,42,1,["standard"==bi(l,43).appearance,"fill"==bi(l,43).appearance,"outline"==bi(l,43).appearance,"legacy"==bi(l,43).appearance,bi(l,43)._control.errorState,bi(l,43)._canLabelFloat,bi(l,43)._shouldLabelFloat(),bi(l,43)._hasFloatingLabel(),bi(l,43)._hideControlPlaceholder(),bi(l,43)._control.disabled,bi(l,43)._control.autofilled,bi(l,43)._control.focused,"accent"==bi(l,43).color,"warn"==bi(l,43).color,bi(l,43)._shouldForward("untouched"),bi(l,43)._shouldForward("touched"),bi(l,43)._shouldForward("pristine"),bi(l,43)._shouldForward("dirty"),bi(l,43)._shouldForward("valid"),bi(l,43)._shouldForward("invalid"),bi(l,43)._shouldForward("pending"),!bi(l,43)._animationsEnabled]),n(l,53,1,[bi(l,56).required?"":null,bi(l,57).pattern?bi(l,57).pattern:null,bi(l,62).ngClassUntouched,bi(l,62).ngClassTouched,bi(l,62).ngClassPristine,bi(l,62).ngClassDirty,bi(l,62).ngClassValid,bi(l,62).ngClassInvalid,bi(l,62).ngClassPending,bi(l,63)._isServer,bi(l,63).id,bi(l,63).placeholder,bi(l,63).disabled,bi(l,63).required,bi(l,63).readonly&&!bi(l,63)._isNativeSelect||null,bi(l,63)._ariaDescribedby||null,bi(l,63).errorState,bi(l,63).required.toString()]),n(l,67,0,e.lang.chars),n(l,68,0,bi(l,69)._avatar||bi(l,69)._icon,bi(l,69)._avatar||bi(l,69)._icon),n(l,73,0,bi(l,74).inline,"primary"!==bi(l,74).color&&"accent"!==bi(l,74).color&&"warn"!==bi(l,74).color),n(l,76,0,bi(l,78).id,bi(l,78).disabled?null:-1,bi(l,78).checked,bi(l,78).disabled,"before"==bi(l,78).labelPosition,"NoopAnimations"===bi(l,78)._animationMode),n(l,81,1,["standard"==bi(l,82).appearance,"fill"==bi(l,82).appearance,"outline"==bi(l,82).appearance,"legacy"==bi(l,82).appearance,bi(l,82)._control.errorState,bi(l,82)._canLabelFloat,bi(l,82)._shouldLabelFloat(),bi(l,82)._hasFloatingLabel(),bi(l,82)._hideControlPlaceholder(),bi(l,82)._control.disabled,bi(l,82)._control.autofilled,bi(l,82)._control.focused,"accent"==bi(l,82).color,"warn"==bi(l,82).color,bi(l,82)._shouldForward("untouched"),bi(l,82)._shouldForward("touched"),bi(l,82)._shouldForward("pristine"),bi(l,82)._shouldForward("dirty"),bi(l,82)._shouldForward("valid"),bi(l,82)._shouldForward("invalid"),bi(l,82)._shouldForward("pending"),!bi(l,82)._animationsEnabled]),n(l,92,1,[bi(l,95).required?"":null,bi(l,96).pattern?bi(l,96).pattern:null,bi(l,101).ngClassUntouched,bi(l,101).ngClassTouched,bi(l,101).ngClassPristine,bi(l,101).ngClassDirty,bi(l,101).ngClassValid,bi(l,101).ngClassInvalid,bi(l,101).ngClassPending,bi(l,102)._isServer,bi(l,102).id,bi(l,102).placeholder,bi(l,102).disabled,bi(l,102).required,bi(l,102).readonly&&!bi(l,102)._isNativeSelect||null,bi(l,102)._ariaDescribedby||null,bi(l,102).errorState,bi(l,102).required.toString()]),n(l,104,1,["standard"==bi(l,105).appearance,"fill"==bi(l,105).appearance,"outline"==bi(l,105).appearance,"legacy"==bi(l,105).appearance,bi(l,105)._control.errorState,bi(l,105)._canLabelFloat,bi(l,105)._shouldLabelFloat(),bi(l,105)._hasFloatingLabel(),bi(l,105)._hideControlPlaceholder(),bi(l,105)._control.disabled,bi(l,105)._control.autofilled,bi(l,105)._control.focused,"accent"==bi(l,105).color,"warn"==bi(l,105).color,bi(l,105)._shouldForward("untouched"),bi(l,105)._shouldForward("touched"),bi(l,105)._shouldForward("pristine"),bi(l,105)._shouldForward("dirty"),bi(l,105)._shouldForward("valid"),bi(l,105)._shouldForward("invalid"),bi(l,105)._shouldForward("pending"),!bi(l,105)._animationsEnabled]),n(l,115,1,[bi(l,118).required?"":null,bi(l,119).pattern?bi(l,119).pattern:null,bi(l,124).ngClassUntouched,bi(l,124).ngClassTouched,bi(l,124).ngClassPristine,bi(l,124).ngClassDirty,bi(l,124).ngClassValid,bi(l,124).ngClassInvalid,bi(l,124).ngClassPending,bi(l,125)._isServer,bi(l,125).id,bi(l,125).placeholder,bi(l,125).disabled,bi(l,125).required,bi(l,125).readonly&&!bi(l,125)._isNativeSelect||null,bi(l,125)._ariaDescribedby||null,bi(l,125).errorState,bi(l,125).required.toString()]),n(l,129,0,e.lang.minutes),n(l,130,0,bi(l,131)._avatar||bi(l,131)._icon,bi(l,131)._avatar||bi(l,131)._icon),n(l,135,0,bi(l,136).inline,"primary"!==bi(l,136).color&&"accent"!==bi(l,136).color&&"warn"!==bi(l,136).color),n(l,138,0,bi(l,140).id,bi(l,140).disabled?null:-1,bi(l,140).checked,bi(l,140).disabled,"before"==bi(l,140).labelPosition,"NoopAnimations"===bi(l,140)._animationMode),n(l,143,1,["standard"==bi(l,144).appearance,"fill"==bi(l,144).appearance,"outline"==bi(l,144).appearance,"legacy"==bi(l,144).appearance,bi(l,144)._control.errorState,bi(l,144)._canLabelFloat,bi(l,144)._shouldLabelFloat(),bi(l,144)._hasFloatingLabel(),bi(l,144)._hideControlPlaceholder(),bi(l,144)._control.disabled,bi(l,144)._control.autofilled,bi(l,144)._control.focused,"accent"==bi(l,144).color,"warn"==bi(l,144).color,bi(l,144)._shouldForward("untouched"),bi(l,144)._shouldForward("touched"),bi(l,144)._shouldForward("pristine"),bi(l,144)._shouldForward("dirty"),bi(l,144)._shouldForward("valid"),bi(l,144)._shouldForward("invalid"),bi(l,144)._shouldForward("pending"),!bi(l,144)._animationsEnabled]),n(l,154,1,[bi(l,157).required?"":null,bi(l,158).pattern?bi(l,158).pattern:null,bi(l,163).ngClassUntouched,bi(l,163).ngClassTouched,bi(l,163).ngClassPristine,bi(l,163).ngClassDirty,bi(l,163).ngClassValid,bi(l,163).ngClassInvalid,bi(l,163).ngClassPending,bi(l,164)._isServer,bi(l,164).id,bi(l,164).placeholder,bi(l,164).disabled,bi(l,164).required,bi(l,164).readonly&&!bi(l,164)._isNativeSelect||null,bi(l,164)._ariaDescribedby||null,bi(l,164).errorState,bi(l,164).required.toString()]),n(l,168,0,e.lang.days),n(l,169,0,bi(l,170)._avatar||bi(l,170)._icon,bi(l,170)._avatar||bi(l,170)._icon),n(l,174,0,bi(l,175).inline,"primary"!==bi(l,175).color&&"accent"!==bi(l,175).color&&"warn"!==bi(l,175).color),n(l,177,0,bi(l,179).id,bi(l,179).disabled?null:-1,bi(l,179).checked,bi(l,179).disabled,"before"==bi(l,179).labelPosition,"NoopAnimations"===bi(l,179)._animationMode),n(l,182,1,["standard"==bi(l,183).appearance,"fill"==bi(l,183).appearance,"outline"==bi(l,183).appearance,"legacy"==bi(l,183).appearance,bi(l,183)._control.errorState,bi(l,183)._canLabelFloat,bi(l,183)._shouldLabelFloat(),bi(l,183)._hasFloatingLabel(),bi(l,183)._hideControlPlaceholder(),bi(l,183)._control.disabled,bi(l,183)._control.autofilled,bi(l,183)._control.focused,"accent"==bi(l,183).color,"warn"==bi(l,183).color,bi(l,183)._shouldForward("untouched"),bi(l,183)._shouldForward("touched"),bi(l,183)._shouldForward("pristine"),bi(l,183)._shouldForward("dirty"),bi(l,183)._shouldForward("valid"),bi(l,183)._shouldForward("invalid"),bi(l,183)._shouldForward("pending"),!bi(l,183)._animationsEnabled]),n(l,193,1,[bi(l,196).required?"":null,bi(l,197).pattern?bi(l,197).pattern:null,bi(l,202).ngClassUntouched,bi(l,202).ngClassTouched,bi(l,202).ngClassPristine,bi(l,202).ngClassDirty,bi(l,202).ngClassValid,bi(l,202).ngClassInvalid,bi(l,202).ngClassPending,bi(l,203)._isServer,bi(l,203).id,bi(l,203).placeholder,bi(l,203).disabled,bi(l,203).required,bi(l,203).readonly&&!bi(l,203)._isNativeSelect||null,bi(l,203)._ariaDescribedby||null,bi(l,203).errorState,bi(l,203).required.toString()]),n(l,206,0,bi(l,207).disabled||null,"NoopAnimations"===bi(l,207)._animationMode),n(l,208,0,e.lang.validate),n(l,209,0,bi(l,210).disabled||null,"NoopAnimations"===bi(l,210)._animationMode),n(l,211,0,e.lang.cancel)}))}function p8(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,c8)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,d8)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function m8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,p8,s8)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,u8,[nS,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var f8=oi("ng-component",u8,m8,{},{},[]),h8=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.viewContainerRef=i,this.lang=Kr,this.loading=!1,this.sendmail={type:"smtp",host:"",auth:!0,user:"",password:"",secure:"ssl",port:"465",charset:"utf-8",from:""},this.smtpTypeList=[{id:"smtp",label:this.lang.smtpclient},{id:"sendmail",label:this.lang.smtprelay},{id:"qmail",label:this.lang.qmail},{id:"mail",label:this.lang.phpmail}],this.smtpSecList=[{id:"",label:this.lang.none},{id:"ssl",label:"ssl"},{id:"tls",label:"tls"}],this.sendmailClone={},this.hidePassword=!0,this.serverConnectionLoading=!1,this.emailSendLoading=!1,this.emailSendResult={icon:"",msg:"",debug:""},this.currentUser={},this.recipientTest="",this.passwordLabel="",$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.sendmailShort),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/configurations/admin_email_server").subscribe((function(l){n.sendmail=l.configuration.value,n.sendmailClone=JSON.parse(JSON.stringify(n.sendmail)),n.loading=!1}),(function(l){n.notify.handleErrors(l)}))},n.prototype.cancelModification=function(){this.sendmail=JSON.parse(JSON.stringify(this.sendmailClone))},n.prototype.onSubmit=function(){var n=this;this.sendmailFormCpt.invalid?this.notify.handleErrors({error:{errors:this.lang.notSavedBecauseInvalid}}):this.http.put("../../rest/configurations/admin_email_server",this.sendmail).subscribe((function(l){n.sendmailClone=JSON.parse(JSON.stringify(n.sendmail)),n.notify.success(n.lang.configurationUpdated)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.checkModif=function(){return JSON.stringify(this.sendmailClone)===JSON.stringify(this.sendmail)},n.prototype.initEmailSend=function(){var n=this;this.emailSendResult={icon:"",msg:"",debug:""},void 0===this.currentUser.mail&&this.http.get("../../rest/currentUser/profile").subscribe((function(l){n.currentUser=l,n.recipientTest=l.mail}))},n.prototype.testEmailSend=function(){var n=this;JSON.stringify(this.sendmailClone)!==JSON.stringify(this.sendmail)&&this.onSubmit(),this.emailSendResult={icon:"fa-paper-plane primary",msg:this.lang.emailSendInProgress,debug:""};var l={sender:{email:this.currentUser.mail},recipients:[this.recipientTest],object:"["+this.lang.doNotReply+"] "+this.lang.emailSendTest,status:"EXPRESS",body:this.lang.emailSendTest,isHtml:!1};this.emailSendLoading=!0,this.http.post("../../rest/emails",l).subscribe((function(l){n.emailSendLoading=!1,n.emailSendResult={icon:"fa-check green",msg:n.lang.emailSendSuccess,debug:""}}),(function(l){n.emailSendLoading=!1,n.emailSendResult={icon:"fa-times red",msg:n.lang.emailSendFailed,debug:l.error.errors}}))},n.prototype.cleanAuthInfo=function(n){this.sendmail.passwordAlreadyExists=!1,this.sendmail.user="",this.sendmail.password=""},n}(),g8=yt({encapsulation:0,styles:[[".mat-list-item[_ngcontent-%COMP%]:hover{background:inherit}.green[_ngcontent-%COMP%]{color:green}.primary[_ngcontent-%COMP%]{color:#135f7f}.red[_ngcontent-%COMP%]{color:red}.bash[_ngcontent-%COMP%]{background:#34495e;height:310px;border-radius:5px;top:40px;display:absolute;color:#fff;padding:10px;margin:10px}"]],data:{}});function b8(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n.parent,26).toggle()&&t),t}),AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(10,0,null,0,2,"mat-icon",[["class","fas fa-signal mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(13,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(14,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "]))],(function(n,l){n(l,11,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,15,0,e.lang.checkSendmail)}))}function v8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function _8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[21,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function y8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[33,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function w8(n){return jo(0,[(n()(),_o(0,0,null,null,216,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,214,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,9,{_tabs:1}),(n()(),_o(5,16777216,null,null,211,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[9,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,10,{templateLabel:0}),ko(335544320,11,{_explicitContent:0}),(n()(),_o(9,0,null,0,207,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,11).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,11).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(10,16384,null,0,yy,[],null,null),Di(11,4210688,[[3,4],["sendmailForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(13,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(14,0,null,null,26,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,25,"div",[["class","col-md-12"],["style","margin-bottom: 20px;"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,12,{_controlNonStatic:0}),ko(335544320,13,{_controlStatic:0}),ko(603979776,14,{_labelChildNonStatic:0}),ko(335544320,15,{_labelChildStatic:0}),ko(603979776,16,{_placeholderChild:0}),ko(603979776,17,{_errorChildren:1}),ko(603979776,18,{_hintChildren:1}),ko(603979776,19,{_prefixChildren:1}),ko(603979776,20,{_suffixChildren:1}),(n()(),_o(27,0,null,1,13,"mat-select",[["class","mat-select"],["name","smtpType"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,34)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,34)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,34)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.type=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(29,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(31,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(33,16384,null,0,y_,[[4,v_]],null,null),Di(34,2080768,[["smtpType",4]],3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"]},null),ko(603979776,21,{options:1}),ko(603979776,22,{optionGroups:1}),ko(603979776,23,{customTrigger:0}),Ei(2048,[[12,4],[13,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,_8)),Di(40,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(41,0,null,null,76,"div",[["class","form-group"]],[[4,"opacity",null]],null,null,null,null)),Eo(42,2),(n()(),_o(43,0,null,null,25,"div",[["class","col-md-2"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,24,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(45,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,24,{_controlNonStatic:0}),ko(335544320,25,{_controlStatic:0}),ko(603979776,26,{_labelChildNonStatic:0}),ko(335544320,27,{_labelChildStatic:0}),ko(603979776,28,{_placeholderChild:0}),ko(603979776,29,{_errorChildren:1}),ko(603979776,30,{_hintChildren:1}),ko(603979776,31,{_prefixChildren:1}),ko(603979776,32,{_suffixChildren:1}),(n()(),_o(55,0,null,1,13,"mat-select",[["class","mat-select"],["name","SMTPSecure"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,61)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,61)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,61)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.secure=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(57,671744,null,0,_y,[[2,g_],[8,null],[8,null],[8,null]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Eo(58,2),Ei(2048,null,v_,null,[_y]),Di(60,16384,null,0,y_,[[4,v_]],null,null),Di(61,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,33,{options:1}),ko(603979776,34,{optionGroups:1}),ko(603979776,35,{customTrigger:0}),Eo(65,2),Ei(2048,[[24,4],[25,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,y8)),Di(68,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(69,0,null,null,23,"div",[["class","col-md-9"]],null,null,null,null,null)),(n()(),_o(70,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(71,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,36,{_controlNonStatic:0}),ko(335544320,37,{_controlStatic:0}),ko(603979776,38,{_labelChildNonStatic:0}),ko(335544320,39,{_labelChildStatic:0}),ko(603979776,40,{_placeholderChild:0}),ko(603979776,41,{_errorChildren:1}),ko(603979776,42,{_hintChildren:1}),ko(603979776,43,{_prefixChildren:1}),ko(603979776,44,{_suffixChildren:1}),(n()(),_o(81,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","host"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,82)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,82).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,82)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,82)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,90)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,90)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,90)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.host=e)&&t),t}),null,null)),Di(82,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(83,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(86,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Eo(87,2),Ei(2048,null,v_,null,[_y]),Di(89,16384,null,0,y_,[[4,v_]],null,null),Di(90,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"]},null),Eo(91,2),Ei(2048,[[36,4],[37,4]],nT,null,[OT]),(n()(),_o(93,0,null,null,24,"div",[["class","col-md-1"]],null,null,null,null,null)),(n()(),_o(94,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(95,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,45,{_controlNonStatic:0}),ko(335544320,46,{_controlStatic:0}),ko(603979776,47,{_labelChildNonStatic:0}),ko(335544320,48,{_labelChildStatic:0}),ko(603979776,49,{_placeholderChild:0}),ko(603979776,50,{_errorChildren:1}),ko(603979776,51,{_hintChildren:1}),ko(603979776,52,{_prefixChildren:1}),ko(603979776,53,{_suffixChildren:1}),(n()(),_o(105,0,null,1,12,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","port"],["required",""],["type","number"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,106)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,106).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,106)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,106)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,107).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,107).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,107).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,115)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,115)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,115)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.port=e)&&t),t}),null,null)),Di(106,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(107,16384,null,0,F_,[Te,Pe],null,null),Di(108,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(111,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Eo(112,2),Ei(2048,null,v_,null,[_y]),Di(114,16384,null,0,y_,[[4,v_]],null,null),Di(115,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Eo(116,2),Ei(2048,[[45,4],[46,4]],nT,null,[OT]),(n()(),_o(118,0,null,null,11,"div",[["class","form-group"]],[[4,"opacity",null]],null,null,null,null)),Eo(119,2),(n()(),_o(120,0,null,null,9,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(121,0,null,null,8,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["name","SMTPAuth"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,122)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.auth=e)&&t),"change"===l&&(t=!1!==i.cleanAuthInfo(e)&&t),t}),mV,pV)),Di(122,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{disabled:[0,"disabled"],color:[1,"color"],name:[2,"name"]},{change:"change"}),Eo(123,2),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(125,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Eo(126,2),Ei(2048,null,v_,null,[_y]),Di(128,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(129,0,["",""])),(n()(),_o(130,0,null,null,55,"div",[["class","form-group"]],[[4,"opacity",null]],null,null,null,null)),Eo(131,2),(n()(),_o(132,0,null,null,23,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(133,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(134,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,54,{_controlNonStatic:0}),ko(335544320,55,{_controlStatic:0}),ko(603979776,56,{_labelChildNonStatic:0}),ko(335544320,57,{_labelChildStatic:0}),ko(603979776,58,{_placeholderChild:0}),ko(603979776,59,{_errorChildren:1}),ko(603979776,60,{_hintChildren:1}),ko(603979776,61,{_prefixChildren:1}),ko(603979776,62,{_suffixChildren:1}),(n()(),_o(144,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","user"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,145)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,145).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,145)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,145)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,153)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,153)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,153)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.user=e)&&t),t}),null,null)),Di(145,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(146,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(149,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Eo(150,2),Ei(2048,null,v_,null,[_y]),Di(152,16384,null,0,y_,[[4,v_]],null,null),Di(153,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"]},null),Eo(154,2),Ei(2048,[[54,4],[55,4]],nT,null,[OT]),(n()(),_o(156,0,null,null,29,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(157,0,null,null,28,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(158,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,63,{_controlNonStatic:0}),ko(335544320,64,{_controlStatic:0}),ko(603979776,65,{_labelChildNonStatic:0}),ko(335544320,66,{_labelChildStatic:0}),ko(603979776,67,{_placeholderChild:0}),ko(603979776,68,{_errorChildren:1}),ko(603979776,69,{_hintChildren:1}),ko(603979776,70,{_prefixChildren:1}),ko(603979776,71,{_suffixChildren:1}),(n()(),_o(168,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,169)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,169).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,169)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,169)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,177)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,177)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,177)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.password=e)&&t),t}),null,null)),Di(169,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(170,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(173,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Eo(174,2),Ei(2048,null,v_,null,[_y]),Di(176,16384,null,0,y_,[[4,v_]],null,null),Di(177,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Eo(178,2),Ei(2048,[[63,4],[64,4]],nT,null,[OT]),(n()(),_o(180,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["color","primary"],["matSuffix",""],["role","img"],["style","cursor: pointer;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(182,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(183,1),Di(184,16384,[[71,4]],0,oT,[],null,null),Di(185,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(186,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(187,0,null,null,22,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(188,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(189,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,72,{_controlNonStatic:0}),ko(335544320,73,{_controlStatic:0}),ko(603979776,74,{_labelChildNonStatic:0}),ko(335544320,75,{_labelChildStatic:0}),ko(603979776,76,{_placeholderChild:0}),ko(603979776,77,{_errorChildren:1}),ko(603979776,78,{_hintChildren:1}),ko(603979776,79,{_prefixChildren:1}),ko(603979776,80,{_suffixChildren:1}),(n()(),_o(199,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","mailFrom"],["pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"],["required",""]],[[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,200)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,200).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,200)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,200)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,208)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,208)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,208)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.sendmail.from=e)&&t),t}),null,null)),Di(200,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(201,16384,null,0,My,[],{required:[0,"required"]},null),Di(202,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(205,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(207,16384,null,0,y_,[[4,v_]],null,null),Di(208,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[72,4],[73,4]],nT,null,[OT]),(n()(),_o(210,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(211,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(212,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(213,0,["",""])),(n()(),_o(214,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelModification()&&t),t}),PC,MC)),Di(215,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(216,0,["",""]))],(function(n,l){var e=l.component;n(l,6,0,Wt(1,"",e.lang.informations,"")),n(l,29,0,""),n(l,31,0,"smtpType",e.sendmail.type),n(l,34,0,Wt(1,"",e.lang.configurationType,""),""),n(l,40,0,e.smtpTypeList);var t=-1==n(l,58,0,"smtp","mail").indexOf(e.sendmail.type);n(l,57,0,"SMTPSecure",t,e.sendmail.secure);var i=-1==n(l,65,0,"smtp","mail").indexOf(e.sendmail.type);n(l,61,0,i,Wt(1,"",e.lang.smtpAuth,"")),n(l,68,0,e.smtpSecList),n(l,83,0,"");var a=-1==n(l,87,0,"smtp","mail").indexOf(e.sendmail.type);n(l,86,0,"host",a,e.sendmail.host);var o=-1==n(l,91,0,"smtp","mail").indexOf(e.sendmail.type);n(l,90,0,o,Wt(1,"",e.lang.host,""),""),n(l,108,0,"");var r=-1==n(l,112,0,"smtp","mail").indexOf(e.sendmail.type);n(l,111,0,"port",r,e.sendmail.port);var u=-1==n(l,116,0,"smtp","mail").indexOf(e.sendmail.type);n(l,115,0,u,Wt(1,"",e.lang.port,""),"","number");var s=-1==n(l,123,0,"smtp","mail").indexOf(e.sendmail.type);n(l,122,0,s,"primary","SMTPAuth");var c=-1==n(l,126,0,"smtp","mail").indexOf(e.sendmail.type);n(l,125,0,"SMTPAuth",c,e.sendmail.auth),n(l,146,0,"");var d=!e.sendmail.auth||-1==n(l,150,0,"smtp","mail").indexOf(e.sendmail.type);n(l,149,0,"user",d,e.sendmail.user);var p=!e.sendmail.auth||-1==n(l,154,0,"smtp","mail").indexOf(e.sendmail.type);n(l,153,0,p,Wt(1,"",e.lang.id,""),""),n(l,170,0,!e.sendmail.passwordAlreadyExists);var m=!e.sendmail.auth||-1==n(l,174,0,"smtp","mail").indexOf(e.sendmail.type);n(l,173,0,"password",m,e.sendmail.password);var f=!e.sendmail.auth||-1==n(l,178,0,"smtp","mail").indexOf(e.sendmail.type);n(l,177,0,f,!0===e.sendmail.passwordAlreadyExists?e.lang.passwordModification:e.lang.password,!e.sendmail.passwordAlreadyExists,e.hidePassword?"password":"text");var h=n(l,183,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,182,0,"fa fa-2x",h),n(l,185,0,"primary"),n(l,201,0,""),n(l,202,0,"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"),n(l,205,0,"mailFrom",e.sendmail.from),n(l,208,0,Wt(1,"",e.lang.mailFrom,""),""),n(l,212,0,e.checkModif()||!bi(l,11).valid,"primary"),n(l,215,0,e.checkModif(),"default")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,9,0,bi(l,13).ngClassUntouched,bi(l,13).ngClassTouched,bi(l,13).ngClassPristine,bi(l,13).ngClassDirty,bi(l,13).ngClassValid,bi(l,13).ngClassInvalid,bi(l,13).ngClassPending),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,1,[bi(l,29).required?"":null,bi(l,33).ngClassUntouched,bi(l,33).ngClassTouched,bi(l,33).ngClassPristine,bi(l,33).ngClassDirty,bi(l,33).ngClassValid,bi(l,33).ngClassInvalid,bi(l,33).ngClassPending,bi(l,34).id,bi(l,34).tabIndex,bi(l,34)._getAriaLabel(),bi(l,34)._getAriaLabelledby(),bi(l,34).required.toString(),bi(l,34).disabled.toString(),bi(l,34).errorState,bi(l,34).panelOpen?bi(l,34)._optionIds:null,bi(l,34).multiple,bi(l,34)._ariaDescribedby||null,bi(l,34)._getAriaActiveDescendant(),bi(l,34).disabled,bi(l,34).errorState,bi(l,34).required,bi(l,34).empty]);var t=n(l,42,0,"smtp","mail").indexOf(e.sendmail.type)>-1?"1":"0.5";n(l,41,0,t),n(l,44,1,["standard"==bi(l,45).appearance,"fill"==bi(l,45).appearance,"outline"==bi(l,45).appearance,"legacy"==bi(l,45).appearance,bi(l,45)._control.errorState,bi(l,45)._canLabelFloat,bi(l,45)._shouldLabelFloat(),bi(l,45)._hasFloatingLabel(),bi(l,45)._hideControlPlaceholder(),bi(l,45)._control.disabled,bi(l,45)._control.autofilled,bi(l,45)._control.focused,"accent"==bi(l,45).color,"warn"==bi(l,45).color,bi(l,45)._shouldForward("untouched"),bi(l,45)._shouldForward("touched"),bi(l,45)._shouldForward("pristine"),bi(l,45)._shouldForward("dirty"),bi(l,45)._shouldForward("valid"),bi(l,45)._shouldForward("invalid"),bi(l,45)._shouldForward("pending"),!bi(l,45)._animationsEnabled]),n(l,55,1,[bi(l,60).ngClassUntouched,bi(l,60).ngClassTouched,bi(l,60).ngClassPristine,bi(l,60).ngClassDirty,bi(l,60).ngClassValid,bi(l,60).ngClassInvalid,bi(l,60).ngClassPending,bi(l,61).id,bi(l,61).tabIndex,bi(l,61)._getAriaLabel(),bi(l,61)._getAriaLabelledby(),bi(l,61).required.toString(),bi(l,61).disabled.toString(),bi(l,61).errorState,bi(l,61).panelOpen?bi(l,61)._optionIds:null,bi(l,61).multiple,bi(l,61)._ariaDescribedby||null,bi(l,61)._getAriaActiveDescendant(),bi(l,61).disabled,bi(l,61).errorState,bi(l,61).required,bi(l,61).empty]),n(l,70,1,["standard"==bi(l,71).appearance,"fill"==bi(l,71).appearance,"outline"==bi(l,71).appearance,"legacy"==bi(l,71).appearance,bi(l,71)._control.errorState,bi(l,71)._canLabelFloat,bi(l,71)._shouldLabelFloat(),bi(l,71)._hasFloatingLabel(),bi(l,71)._hideControlPlaceholder(),bi(l,71)._control.disabled,bi(l,71)._control.autofilled,bi(l,71)._control.focused,"accent"==bi(l,71).color,"warn"==bi(l,71).color,bi(l,71)._shouldForward("untouched"),bi(l,71)._shouldForward("touched"),bi(l,71)._shouldForward("pristine"),bi(l,71)._shouldForward("dirty"),bi(l,71)._shouldForward("valid"),bi(l,71)._shouldForward("invalid"),bi(l,71)._shouldForward("pending"),!bi(l,71)._animationsEnabled]),n(l,81,1,[bi(l,83).required?"":null,bi(l,89).ngClassUntouched,bi(l,89).ngClassTouched,bi(l,89).ngClassPristine,bi(l,89).ngClassDirty,bi(l,89).ngClassValid,bi(l,89).ngClassInvalid,bi(l,89).ngClassPending,bi(l,90)._isServer,bi(l,90).id,bi(l,90).placeholder,bi(l,90).disabled,bi(l,90).required,bi(l,90).readonly&&!bi(l,90)._isNativeSelect||null,bi(l,90)._ariaDescribedby||null,bi(l,90).errorState,bi(l,90).required.toString()]),n(l,94,1,["standard"==bi(l,95).appearance,"fill"==bi(l,95).appearance,"outline"==bi(l,95).appearance,"legacy"==bi(l,95).appearance,bi(l,95)._control.errorState,bi(l,95)._canLabelFloat,bi(l,95)._shouldLabelFloat(),bi(l,95)._hasFloatingLabel(),bi(l,95)._hideControlPlaceholder(),bi(l,95)._control.disabled,bi(l,95)._control.autofilled,bi(l,95)._control.focused,"accent"==bi(l,95).color,"warn"==bi(l,95).color,bi(l,95)._shouldForward("untouched"),bi(l,95)._shouldForward("touched"),bi(l,95)._shouldForward("pristine"),bi(l,95)._shouldForward("dirty"),bi(l,95)._shouldForward("valid"),bi(l,95)._shouldForward("invalid"),bi(l,95)._shouldForward("pending"),!bi(l,95)._animationsEnabled]),n(l,105,1,[bi(l,108).required?"":null,bi(l,114).ngClassUntouched,bi(l,114).ngClassTouched,bi(l,114).ngClassPristine,bi(l,114).ngClassDirty,bi(l,114).ngClassValid,bi(l,114).ngClassInvalid,bi(l,114).ngClassPending,bi(l,115)._isServer,bi(l,115).id,bi(l,115).placeholder,bi(l,115).disabled,bi(l,115).required,bi(l,115).readonly&&!bi(l,115)._isNativeSelect||null,bi(l,115)._ariaDescribedby||null,bi(l,115).errorState,bi(l,115).required.toString()]);var i=n(l,119,0,"smtp","mail").indexOf(e.sendmail.type)>-1?"1":"0.5";n(l,118,0,i),n(l,121,1,[bi(l,122).id,bi(l,122).disabled?null:-1,bi(l,122).checked,bi(l,122).disabled,"before"==bi(l,122).labelPosition,"NoopAnimations"===bi(l,122)._animationMode,bi(l,128).ngClassUntouched,bi(l,128).ngClassTouched,bi(l,128).ngClassPristine,bi(l,128).ngClassDirty,bi(l,128).ngClassValid,bi(l,128).ngClassInvalid,bi(l,128).ngClassPending]),n(l,129,0,e.lang.enableAuth);var a=n(l,131,0,"smtp","mail").indexOf(e.sendmail.type)>-1?"1":"0.5";n(l,130,0,a),n(l,133,1,["standard"==bi(l,134).appearance,"fill"==bi(l,134).appearance,"outline"==bi(l,134).appearance,"legacy"==bi(l,134).appearance,bi(l,134)._control.errorState,bi(l,134)._canLabelFloat,bi(l,134)._shouldLabelFloat(),bi(l,134)._hasFloatingLabel(),bi(l,134)._hideControlPlaceholder(),bi(l,134)._control.disabled,bi(l,134)._control.autofilled,bi(l,134)._control.focused,"accent"==bi(l,134).color,"warn"==bi(l,134).color,bi(l,134)._shouldForward("untouched"),bi(l,134)._shouldForward("touched"),bi(l,134)._shouldForward("pristine"),bi(l,134)._shouldForward("dirty"),bi(l,134)._shouldForward("valid"),bi(l,134)._shouldForward("invalid"),bi(l,134)._shouldForward("pending"),!bi(l,134)._animationsEnabled]),n(l,144,1,[bi(l,146).required?"":null,bi(l,152).ngClassUntouched,bi(l,152).ngClassTouched,bi(l,152).ngClassPristine,bi(l,152).ngClassDirty,bi(l,152).ngClassValid,bi(l,152).ngClassInvalid,bi(l,152).ngClassPending,bi(l,153)._isServer,bi(l,153).id,bi(l,153).placeholder,bi(l,153).disabled,bi(l,153).required,bi(l,153).readonly&&!bi(l,153)._isNativeSelect||null,bi(l,153)._ariaDescribedby||null,bi(l,153).errorState,bi(l,153).required.toString()]),n(l,157,1,["standard"==bi(l,158).appearance,"fill"==bi(l,158).appearance,"outline"==bi(l,158).appearance,"legacy"==bi(l,158).appearance,bi(l,158)._control.errorState,bi(l,158)._canLabelFloat,bi(l,158)._shouldLabelFloat(),bi(l,158)._hasFloatingLabel(),bi(l,158)._hideControlPlaceholder(),bi(l,158)._control.disabled,bi(l,158)._control.autofilled,bi(l,158)._control.focused,"accent"==bi(l,158).color,"warn"==bi(l,158).color,bi(l,158)._shouldForward("untouched"),bi(l,158)._shouldForward("touched"),bi(l,158)._shouldForward("pristine"),bi(l,158)._shouldForward("dirty"),bi(l,158)._shouldForward("valid"),bi(l,158)._shouldForward("invalid"),bi(l,158)._shouldForward("pending"),!bi(l,158)._animationsEnabled]),n(l,168,1,[bi(l,170).required?"":null,bi(l,176).ngClassUntouched,bi(l,176).ngClassTouched,bi(l,176).ngClassPristine,bi(l,176).ngClassDirty,bi(l,176).ngClassValid,bi(l,176).ngClassInvalid,bi(l,176).ngClassPending,bi(l,177)._isServer,bi(l,177).id,bi(l,177).placeholder,bi(l,177).disabled,bi(l,177).required,bi(l,177).readonly&&!bi(l,177)._isNativeSelect||null,bi(l,177)._ariaDescribedby||null,bi(l,177).errorState,bi(l,177).required.toString()]),n(l,180,0,bi(l,185).inline,"primary"!==bi(l,185).color&&"accent"!==bi(l,185).color&&"warn"!==bi(l,185).color),n(l,188,1,["standard"==bi(l,189).appearance,"fill"==bi(l,189).appearance,"outline"==bi(l,189).appearance,"legacy"==bi(l,189).appearance,bi(l,189)._control.errorState,bi(l,189)._canLabelFloat,bi(l,189)._shouldLabelFloat(),bi(l,189)._hasFloatingLabel(),bi(l,189)._hideControlPlaceholder(),bi(l,189)._control.disabled,bi(l,189)._control.autofilled,bi(l,189)._control.focused,"accent"==bi(l,189).color,"warn"==bi(l,189).color,bi(l,189)._shouldForward("untouched"),bi(l,189)._shouldForward("touched"),bi(l,189)._shouldForward("pristine"),bi(l,189)._shouldForward("dirty"),bi(l,189)._shouldForward("valid"),bi(l,189)._shouldForward("invalid"),bi(l,189)._shouldForward("pending"),!bi(l,189)._animationsEnabled]),n(l,199,1,[bi(l,201).required?"":null,bi(l,202).pattern?bi(l,202).pattern:null,bi(l,207).ngClassUntouched,bi(l,207).ngClassTouched,bi(l,207).ngClassPristine,bi(l,207).ngClassDirty,bi(l,207).ngClassValid,bi(l,207).ngClassInvalid,bi(l,207).ngClassPending,bi(l,208)._isServer,bi(l,208).id,bi(l,208).placeholder,bi(l,208).disabled,bi(l,208).required,bi(l,208).readonly&&!bi(l,208)._isNativeSelect||null,bi(l,208)._ariaDescribedby||null,bi(l,208).errorState,bi(l,208).required.toString()]),n(l,211,0,bi(l,212).disabled||null,"NoopAnimations"===bi(l,212)._animationMode),n(l,213,0,e.lang.validate),n(l,214,0,bi(l,215).disabled||null,"NoopAnimations"===bi(l,215)._animationMode),n(l,216,0,e.lang.cancel)}))}function x8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-paper-plane fa-2x mat-icon notranslate"],["color","primary"],["matSuffix",""],["role","img"],["style","cursor: pointer;"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.testEmailSend()&&t),t}),FS,DS)),Di(1,16384,[[89,4]],0,oT,[],null,null),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"primary")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.beginSendTest,""),bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color)}))}function C8(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,90,{_lines:1}),ko(603979776,91,{_avatar:0}),ko(603979776,92,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[92,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[90,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,Wt(1,"fas ",e.emailSendResult.icon," fa-2x"),bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.emailSendResult.msg)}))}function k8(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","bash"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.emailSendResult.debug)}))}function S8(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{sendmailFormCpt:0}),(n()(),_o(3,0,null,null,62,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,b8)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,v8)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,w8)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(25,0,null,0,40,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;width:500px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[[null,"opened"],["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0,i=n.component;return"component:@transform.start"===l&&(t=!1!==bi(n,26)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,26)._animationDoneListener(e)&&t),"opened"===l&&(i.onSubmit(),t=!1!==i.initEmailSend()&&t),t}),zO,qO)),Di(26,3325952,[[4,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},{_openedStream:"opened"}),(n()(),_o(27,0,null,0,36,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["disableRipple","true"],["role","navigation"],["style","display: flex;flex-direction: column;"]],null,null,null,CI,xI)),Di(28,704512,null,0,eI,[],{disableRipple:[0,"disableRipple"]},null),(n()(),_o(29,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(30,16384,null,0,aI,[],null,null),(n()(),Lo(31,null,["",""])),(n()(),_o(32,0,null,0,29,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,28,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(34,0,null,null,27,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,36).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,36).onReset()&&t),t}),null,null)),Di(35,16384,null,0,yy,[],null,null),Di(36,4210688,[["testSendmailForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(38,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(39,0,null,null,22,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(40,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,81,{_controlNonStatic:0}),ko(335544320,82,{_controlStatic:0}),ko(603979776,83,{_labelChildNonStatic:0}),ko(335544320,84,{_labelChildStatic:0}),ko(603979776,85,{_placeholderChild:0}),ko(603979776,86,{_errorChildren:1}),ko(603979776,87,{_hintChildren:1}),ko(603979776,88,{_prefixChildren:1}),ko(603979776,89,{_suffixChildren:1}),(n()(),_o(50,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","recipientTest"],["pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"]],[[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,51)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,51).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,51)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,51)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,58)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,58)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,58)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.recipientTest=e)&&t),t}),null,null)),Di(51,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(52,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(55,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(57,16384,null,0,y_,[[4,v_]],null,null),Di(58,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[81,4],[82,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,x8)),Di(61,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,C8)),Di(63,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,k8)),Di(65,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading),n(l,26,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56"),n(l,28,0,"true"),n(l,52,0,"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"),n(l,55,0,"recipientTest",e.emailSendLoading,e.recipientTest),n(l,58,0,e.emailSendLoading,Wt(1,"",e.lang.mailTo,"")),n(l,61,0,!e.emailSendLoading&&bi(l,36).valid),n(l,63,0,""!=e.emailSendResult.msg),n(l,65,0,e.emailSendResult.msg===e.lang.emailSendFailed)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,25,0,null,"end"===bi(l,26).position,"over"===bi(l,26).mode,"push"===bi(l,26).mode,"side"===bi(l,26).mode,bi(l,26).opened,bi(l,26).fixedInViewport,bi(l,26).fixedInViewport?bi(l,26).fixedTopGap:null,bi(l,26).fixedInViewport?bi(l,26).fixedBottomGap:null,bi(l,26)._animationState),n(l,31,0,e.lang.emailSendTest),n(l,34,0,bi(l,38).ngClassUntouched,bi(l,38).ngClassTouched,bi(l,38).ngClassPristine,bi(l,38).ngClassDirty,bi(l,38).ngClassValid,bi(l,38).ngClassInvalid,bi(l,38).ngClassPending),n(l,39,1,["standard"==bi(l,40).appearance,"fill"==bi(l,40).appearance,"outline"==bi(l,40).appearance,"legacy"==bi(l,40).appearance,bi(l,40)._control.errorState,bi(l,40)._canLabelFloat,bi(l,40)._shouldLabelFloat(),bi(l,40)._hasFloatingLabel(),bi(l,40)._hideControlPlaceholder(),bi(l,40)._control.disabled,bi(l,40)._control.autofilled,bi(l,40)._control.focused,"accent"==bi(l,40).color,"warn"==bi(l,40).color,bi(l,40)._shouldForward("untouched"),bi(l,40)._shouldForward("touched"),bi(l,40)._shouldForward("pristine"),bi(l,40)._shouldForward("dirty"),bi(l,40)._shouldForward("valid"),bi(l,40)._shouldForward("invalid"),bi(l,40)._shouldForward("pending"),!bi(l,40)._animationsEnabled]),n(l,50,1,[bi(l,52).pattern?bi(l,52).pattern:null,bi(l,57).ngClassUntouched,bi(l,57).ngClassTouched,bi(l,57).ngClassPristine,bi(l,57).ngClassDirty,bi(l,57).ngClassValid,bi(l,57).ngClassInvalid,bi(l,57).ngClassPending,bi(l,58)._isServer,bi(l,58).id,bi(l,58).placeholder,bi(l,58).disabled,bi(l,58).required,bi(l,58).readonly&&!bi(l,58)._isNativeSelect||null,bi(l,58)._ariaDescribedby||null,bi(l,58).errorState,bi(l,58).required.toString()])}))}function I8(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,S8,g8)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,h8,[nS,tu,_u,yu,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var A8=oi("ng-component",h8,I8,{},{},[]),M8=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.functions=i,this.viewContainerRef=a,this.lang=Kr,this.shippings=[],this.loading=!1,this.displayedColumns=["label","description","accountid","actions"],$j("link[href='merged_css.php']").remove()}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["label","description","accountid"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.shippings),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/administration/shippings").subscribe((function(l){n.shippings=l.shippings,setTimeout((function(){n.dataSource=new mR(n.shippings),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0),n.loading=!1}))},n.prototype.deleteShipping=function(n){var l=this;confirm(this.lang.deleteMsg)&&this.http.delete("../../rest/administration/shippings/"+n).subscribe((function(n){l.shippings=n.shippings,l.dataSource=new mR(l.shippings),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.shippingDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n}(),P8=yt({encapsulation:2,styles:[],data:{}});function D8(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/shippings/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/shippings/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function F8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function E8(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function O8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.label)}))}function T8(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function L8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.description)}))}function R8(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.mailevaAccount)}))}function N8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.accountid)}))}function j8(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function V8(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteShipping(n.context.$implicit.id)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function q8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function z8(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/shippings/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function U8(n){return jo(0,[(n()(),_o(0,0,null,null,88,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,65,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(28,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,E8)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,O8)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,T8)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,L8)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,R8)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,N8)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,j8)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,V8)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,q8)),Di(82,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,z8)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(87,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(88,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"id","asc"),n(l,31,0,"label"),n(l,44,0,"description"),n(l,57,0,"accountid"),n(l,70,0,"actions"),n(l,82,0,e.displayedColumns),n(l,85,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,88,0,e.shippings.length,e.lang.shippings)}))}function B8(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,D8)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,F8)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,U8)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function $8(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,B8,P8)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,M8,[nS,tu,_u,yu,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var H8=oi("ng-component",M8,$8,{},{},[]),G8=function(){function n(n,l,e,t,i,a){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.lang=Kr,this.loading=!1,this.creationMode=!0,this.shipping={label:"",description:"",options:{shapingOptions:["addressPage"],sendMode:"fast"},fee:{firstPagePrice:0,nextPagePrice:0,postagePrice:0},account:{id:"",password:""},entities:[]},this.entities=[],this.entitiesClone=null,this.shippingClone=null,this.shapingOptions=["color","duplexPrinting","addressPage"],this.sendModes=["fast","economic"],this.hidePassword=!0,this.shippingAvailable=!1,$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.http.get("../../rest/externalConnectionsEnabled").pipe(Yr((function(l){n.shippingAvailable=!0===l.connection.maileva})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe(),this.route.params.subscribe((function(l){void 0===l.id?(n.headerService.setHeader(n.lang.shippingCreation),n.creationMode=!0,n.http.get("../../rest/administration/shippings/new").subscribe((function(l){n.entities=l.entities,n.entitiesClone=JSON.parse(JSON.stringify(n.entities)),setTimeout((function(){n.initEntitiesTree(n.entities)}),0),n.shippingClone=JSON.parse(JSON.stringify(n.shipping)),n.loading=!1}),(function(l){n.notify.handleErrors(l)})),n.loading=!1):(n.headerService.setHeader(n.lang.shippingModification),n.creationMode=!1,n.http.get("../../rest/administration/shippings/"+l.id).subscribe((function(l){n.shipping=l.shipping,n.entities=l.entities,n.entitiesClone=JSON.parse(JSON.stringify(n.entities)),setTimeout((function(){n.initEntitiesTree(n.entities)}),0),n.shippingClone=JSON.parse(JSON.stringify(n.shipping)),n.loading=!1}),(function(l){n.notify.handleErrors(l)})))}))},n.prototype.initEntitiesTree=function(n){var l=this;$j("#jstree").on("select_node.jstree",(function(n,e){e.event&&(e.instance.select_node(e.node.children_d),l.shipping.entities=e.selected)})).on("deselect_node.jstree",(function(n,e){l.shipping.entities=e.selected})).jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:n},plugins:["checkbox","search","sort"]});var e=!1;$j("#jstree_search").keyup((function(){e&&clearTimeout(e),e=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))},n.prototype.onSubmit=function(){var n=this;this.shipping.entities=$j("#jstree").jstree(!0).get_checked(),this.creationMode?this.http.post("../../rest/administration/shippings",this.shipping).subscribe((function(l){n.shippingClone=JSON.parse(JSON.stringify(n.shipping)),n.notify.success(n.lang.shippingAdded),n.router.navigate(["/administration/shippings"])}),(function(l){n.notify.handleErrors(l)})):this.http.put("../../rest/administration/shippings/"+this.shipping.id,this.shipping).subscribe((function(l){n.shippingClone=JSON.parse(JSON.stringify(n.shipping)),n.notify.success(n.lang.shippingUpdated),n.router.navigate(["/administration/shippings"])}),(function(l){n.notify.handleErrors(l)}))},n.prototype.checkModif=function(){return JSON.stringify(this.shippingClone)===JSON.stringify(this.shipping)},n.prototype.toggleShapingOption=function(n){var l=this.shipping.options.shapingOptions.indexOf(n);l>-1?this.shipping.options.shapingOptions.splice(l,1):this.shipping.options.shapingOptions.push(n)},n.prototype.cancelModification=function(){this.shipping=JSON.parse(JSON.stringify(this.shippingClone)),this.entities=JSON.parse(JSON.stringify(this.entitiesClone)),$j("#jstree").jstree(!0).destroy(),this.initEntitiesTree(this.entities)},n}(),W8=yt({encapsulation:0,styles:[[".radio-group[_ngcontent-%COMP%]{display:-webkit-inline-box;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.radio-group[_ngcontent-%COMP%] .mat-radio-button[_ngcontent-%COMP%]{padding:10px}.form-group[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-slide-toggle-label{color:#666;font-weight:700}.formType[_ngcontent-%COMP%] .mat-radio-button, .formType[_ngcontent-%COMP%] .mat-slide-toggle{opacity:.5;color:#666;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.formType[_ngcontent-%COMP%] .mat-checked, .formType[_ngcontent-%COMP%] .mat-radio-checked{opacity:1;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-checked .mat-slide-toggle-label{color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.ratio-1[_ngcontent-%COMP%], .ratio-2[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:first baseline;align-items:first baseline;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{font-size:10px;font-weight:700;opacity:.5}label[_ngcontent-%COMP%]{cursor:pointer}"]],data:{}});function K8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Y8(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-danger"],["role","alert"],["style","max-width: 100%"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.shippingUnavailable)}))}function J8(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-list-item",[["class","mat-list-item"],["role","listitem"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,22,{_lines:1}),ko(603979776,23,{_avatar:0}),ko(603979776,24,{_icon:0}),(n()(),_o(5,0,null,2,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,7)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleShapingOption(n.context.$implicit)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(7,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],checked:[2,"checked"]},{change:"change"}),(n()(),Lo(8,0,["",""]))],(function(n,l){var e=l.component;n(l,7,0,"primary",Wt(1,"",l.context.$implicit,""),e.shipping.options.shapingOptions.indexOf(l.context.$implicit)>-1)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,7).id,bi(l,7).disabled?null:-1,bi(l,7).checked,bi(l,7).disabled,"before"==bi(l,7).labelPosition,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,e.lang["maileva_"+l.context.$implicit])}))}function Z8(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-danger"],["role","alert"],["style","margin-top: 30px;max-width: none;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.warnShapingOption)}))}function Q8(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[25,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{name:[0,"name"],value:[1,"value"],color:[2,"color"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,Wt(1,"",l.context.$implicit,""),l.context.$implicit,"primary")}),(function(n,l){var e=l.component;n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,e.lang["maileva_"+l.context.$implicit])}))}function X8(n){return jo(0,[(n()(),_o(0,0,null,null,236,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,Y8)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,232,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,6).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,6).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(5,16384,null,0,yy,[],null,null),Di(6,4210688,[["shippingForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(8,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(9,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(22,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","64"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,23)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,23)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,23)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,31)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,31)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,31)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.label=e)&&t),t}),null,null)),Di(23,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(24,16384,null,0,My,[],{required:[0,"required"]},null),Di(25,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(28,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(30,16384,null,0,y_,[[4,v_]],null,null),Di(31,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(33,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(34,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(36,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(46,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["maxlength","255"],["name","description"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,47)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,47).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,47)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,47)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,55)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,55)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,55)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.description=e)&&t),t}),null,null)),Di(47,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(48,16384,null,0,My,[],{required:[0,"required"]},null),Di(49,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(52,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(54,16384,null,0,y_,[[4,v_]],null,null),Di(55,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(57,0,null,null,21,"div",[["class","form-group"],["style","flex-direction: row; flex-wrap: wrap;"]],null,null,null,null,null)),(n()(),_o(58,0,null,null,8,"div",[["class","formType ratio-2 col-sm-12"]],null,null,null,null,null)),(n()(),_o(59,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(60,null,[" "," "])),(n()(),_o(61,0,null,null,5,"mat-list",[["class","mat-list mat-list-base"],["role","list"]],null,null,null,SI,kI)),Di(62,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,J8)),Di(64,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,0,1,null,Z8)),Di(66,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(67,0,null,null,11,"div",[["class","formType ratio-1 col-sm-12"]],null,null,null,null,null)),(n()(),_o(68,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(69,null,[" "," "])),(n()(),_o(70,0,null,null,8,"mat-radio-group",[["class","radio-group mat-radio-group"],["name","sendMode"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.shipping.options.sendMode=e)&&t),t}),null,null)),Di(71,1064960,null,1,gq,[Nl],{name:[0,"name"]},null),ko(603979776,25,{_radios:1}),Ei(1024,null,d_,(function(n){return[n]}),[gq]),Di(74,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(76,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,Q8)),Di(78,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(79,0,null,null,149,"div",[["class","form-group"],["style","flex-direction: row; flex-wrap: wrap;"]],null,null,null,null,null)),(n()(),_o(80,0,null,null,92,"div",[["class","formType ratio-2"],["style","flex-direction: column;"]],null,null,null,null,null)),(n()(),_o(81,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(82,null,[" "," "])),(n()(),_o(83,0,null,null,29,"div",[["class","priceContent"]],null,null,null,null,null)),(n()(),_o(84,0,null,null,1,"label",[["class","priceContent-label"],["for","firstPagePrice"]],null,null,null,null,null)),(n()(),Lo(85,null,[" "," "])),(n()(),_o(86,0,null,null,26,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(87,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,26,{_controlNonStatic:0}),ko(335544320,27,{_controlStatic:0}),ko(603979776,28,{_labelChildNonStatic:0}),ko(335544320,29,{_labelChildStatic:0}),ko(603979776,30,{_placeholderChild:0}),ko(603979776,31,{_errorChildren:1}),ko(603979776,32,{_hintChildren:1}),ko(603979776,33,{_prefixChildren:1}),ko(603979776,34,{_suffixChildren:1}),(n()(),_o(97,0,null,1,12,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","firstPagePrice"],["matInput",""],["maxlength","255"],["min","0"],["name","firstPagePrice"],["pattern","^(?=.+)(?:[1-9]\\d*|0)?(?:\\.\\d+)?$"],["required",""],["step","0.1"],["type","number"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,98)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,98).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,98)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,98)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,99).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,99).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,99).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,108)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,108)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,108)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.fee.firstPagePrice=e)&&t),t}),null,null)),Di(98,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(99,16384,null,0,F_,[Te,Pe],null,null),Di(100,16384,null,0,My,[],{required:[0,"required"]},null),Di(101,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(102,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(105,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(107,16384,null,0,y_,[[4,v_]],null,null),Di(108,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[26,4],[27,4]],nT,null,[OT]),(n()(),_o(110,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(111,16384,[[34,4]],0,oT,[],null,null),(n()(),Lo(-1,null,[" €"])),(n()(),_o(113,0,null,null,29,"div",[["class","priceContent"]],null,null,null,null,null)),(n()(),_o(114,0,null,null,1,"label",[["class","priceContent-label"],["for","nextPagePrice"]],null,null,null,null,null)),(n()(),Lo(115,null,[" "," "])),(n()(),_o(116,0,null,null,26,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(117,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,35,{_controlNonStatic:0}),ko(335544320,36,{_controlStatic:0}),ko(603979776,37,{_labelChildNonStatic:0}),ko(335544320,38,{_labelChildStatic:0}),ko(603979776,39,{_placeholderChild:0}),ko(603979776,40,{_errorChildren:1}),ko(603979776,41,{_hintChildren:1}),ko(603979776,42,{_prefixChildren:1}),ko(603979776,43,{_suffixChildren:1}),(n()(),_o(127,0,null,1,12,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","nextPagePrice"],["matInput",""],["maxlength","255"],["min","0"],["name","nextPagePrice"],["pattern","^(?=.+)(?:[1-9]\\d*|0)?(?:\\.\\d+)?$"],["required",""],["step","0.1"],["type","number"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,128)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,128).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,128)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,128)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,129).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,129).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,129).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,138)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,138)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,138)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.fee.nextPagePrice=e)&&t),t}),null,null)),Di(128,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(129,16384,null,0,F_,[Te,Pe],null,null),Di(130,16384,null,0,My,[],{required:[0,"required"]},null),Di(131,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(132,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(135,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(137,16384,null,0,y_,[[4,v_]],null,null),Di(138,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[35,4],[36,4]],nT,null,[OT]),(n()(),_o(140,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(141,16384,[[43,4]],0,oT,[],null,null),(n()(),Lo(-1,null,[" €"])),(n()(),_o(143,0,null,null,29,"div",[["class","priceContent"]],null,null,null,null,null)),(n()(),_o(144,0,null,null,1,"label",[["class","priceContent-label"],["for","postagePrice"]],null,null,null,null,null)),(n()(),Lo(145,null,[" "," "])),(n()(),_o(146,0,null,null,26,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(147,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,44,{_controlNonStatic:0}),ko(335544320,45,{_controlStatic:0}),ko(603979776,46,{_labelChildNonStatic:0}),ko(335544320,47,{_labelChildStatic:0}),ko(603979776,48,{_placeholderChild:0}),ko(603979776,49,{_errorChildren:1}),ko(603979776,50,{_hintChildren:1}),ko(603979776,51,{_prefixChildren:1}),ko(603979776,52,{_suffixChildren:1}),(n()(),_o(157,0,null,1,12,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","postagePrice"],["matInput",""],["maxlength","255"],["min","0"],["name","postagePrice"],["pattern","^(?=.+)(?:[1-9]\\d*|0)?(?:\\.\\d+)?$"],["required",""],["step","0.1"],["type","number"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,158)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,158).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,158)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,158)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,159).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,159).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,159).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,168)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,168)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,168)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.fee.postagePrice=e)&&t),t}),null,null)),Di(158,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(159,16384,null,0,F_,[Te,Pe],null,null),Di(160,16384,null,0,My,[],{required:[0,"required"]},null),Di(161,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Di(162,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l,e){return[n,l,e]}),[My,Dy,Fy]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(165,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(167,16384,null,0,y_,[[4,v_]],null,null),Di(168,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[44,4],[45,4]],nT,null,[OT]),(n()(),_o(170,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(171,16384,[[52,4]],0,oT,[],null,null),(n()(),Lo(-1,null,[" €"])),(n()(),_o(173,0,null,null,55,"div",[["class","formType ratio-1"],["style","flex-direction: column; justify-content: center;"]],null,null,null,null,null)),(n()(),_o(174,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(175,null,[" "," "])),(n()(),_o(176,0,null,null,1,"div",[["class","alert-message alert-message-info"],["style","max-width: none;"]],null,null,null,null,null)),(n()(),Lo(177,null,["",""])),(n()(),_o(178,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(179,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(180,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,53,{_controlNonStatic:0}),ko(335544320,54,{_controlStatic:0}),ko(603979776,55,{_labelChildNonStatic:0}),ko(335544320,56,{_labelChildStatic:0}),ko(603979776,57,{_placeholderChild:0}),ko(603979776,58,{_errorChildren:1}),ko(603979776,59,{_hintChildren:1}),ko(603979776,60,{_prefixChildren:1}),ko(603979776,61,{_suffixChildren:1}),(n()(),_o(190,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","login"],["matInput",""],["maxlength","255"],["name","login"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,191)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,191).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,191)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,191)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,199)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,199)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,199)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.account.id=e)&&t),t}),null,null)),Di(191,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(192,16384,null,0,My,[],{required:[0,"required"]},null),Di(193,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(196,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(198,16384,null,0,y_,[[4,v_]],null,null),Di(199,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[53,4],[54,4]],nT,null,[OT]),(n()(),_o(201,0,null,null,27,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(202,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(203,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,62,{_controlNonStatic:0}),ko(335544320,63,{_controlStatic:0}),ko(603979776,64,{_labelChildNonStatic:0}),ko(335544320,65,{_labelChildStatic:0}),ko(603979776,66,{_placeholderChild:0}),ko(603979776,67,{_errorChildren:1}),ko(603979776,68,{_hintChildren:1}),ko(603979776,69,{_prefixChildren:1}),ko(603979776,70,{_suffixChildren:1}),(n()(),_o(213,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","password"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,214)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,214).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,214)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,214)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,221)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,221)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,221)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.shipping.account.password=e)&&t),t}),null,null)),Di(214,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(215,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(218,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(220,16384,null,0,y_,[[4,v_]],null,null),Di(221,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[62,4],[63,4]],nT,null,[OT]),(n()(),_o(223,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["color","primary"],["matSuffix",""],["maxlength","255"],["role","img"],["style","cursor: pointer;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(225,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(226,1),Di(227,16384,[[70,4]],0,oT,[],null,null),Di(228,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(229,0,null,null,7,"div",[["class","form-group"],["style","flex-direction: row; align-items: center"]],null,null,null,null,null)),(n()(),_o(230,0,null,null,6,"div",[["class","col-sm-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(231,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(232,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(233,0,["",""])),(n()(),_o(234,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelModification()&&t),t}),PC,MC)),Di(235,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(236,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,!e.shippingAvailable),n(l,24,0,""),n(l,25,0,"64"),n(l,28,0,"label",e.shipping.label),n(l,31,0,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,48,0,""),n(l,49,0,"255"),n(l,52,0,"description",e.shipping.description),n(l,55,0,"description",Wt(1,"",e.lang.description,""),"","text"),n(l,64,0,e.shapingOptions),n(l,66,0,-1==e.shipping.options.shapingOptions.indexOf("addressPage")),n(l,71,0,"sendMode"),n(l,74,0,"sendMode",e.shipping.options.sendMode),n(l,78,0,e.sendModes),n(l,87,0,"outline"),n(l,100,0,""),n(l,101,0,"255"),n(l,102,0,"^(?=.+)(?:[1-9]\\d*|0)?(?:\\.\\d+)?$"),n(l,105,0,"firstPagePrice",e.shipping.fee.firstPagePrice),n(l,108,0,"firstPagePrice","","number"),n(l,117,0,"outline"),n(l,130,0,""),n(l,131,0,"255"),n(l,132,0,"^(?=.+)(?:[1-9]\\d*|0)?(?:\\.\\d+)?$"),n(l,135,0,"nextPagePrice",e.shipping.fee.nextPagePrice),n(l,138,0,"nextPagePrice","","number"),n(l,147,0,"outline"),n(l,160,0,""),n(l,161,0,"255"),n(l,162,0,"^(?=.+)(?:[1-9]\\d*|0)?(?:\\.\\d+)?$"),n(l,165,0,"postagePrice",e.shipping.fee.postagePrice),n(l,168,0,"postagePrice","","number"),n(l,192,0,""),n(l,193,0,"255"),n(l,196,0,"login",e.shipping.account.id),n(l,199,0,"login",Wt(1,"",e.lang.id,""),"","text"),n(l,215,0,e.creationMode),n(l,218,0,"password",e.shipping.account.password),n(l,221,0,!1===e.creationMode?e.lang.passwordModification:e.lang.password,e.creationMode,e.hidePassword?"password":"text");var t=n(l,226,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,225,0,"fa fa-2x",t),n(l,228,0,"primary"),n(l,232,0,e.checkModif()||!bi(l,6).valid,"primary"),n(l,235,0,e.checkModif(),"default")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,22,1,[Wt(1,"",e.lang.label,""),bi(l,24).required?"":null,bi(l,25).maxlength?bi(l,25).maxlength:null,bi(l,30).ngClassUntouched,bi(l,30).ngClassTouched,bi(l,30).ngClassPristine,bi(l,30).ngClassDirty,bi(l,30).ngClassValid,bi(l,30).ngClassInvalid,bi(l,30).ngClassPending,bi(l,31)._isServer,bi(l,31).id,bi(l,31).placeholder,bi(l,31).disabled,bi(l,31).required,bi(l,31).readonly&&!bi(l,31)._isNativeSelect||null,bi(l,31)._ariaDescribedby||null,bi(l,31).errorState,bi(l,31).required.toString()]),n(l,35,1,["standard"==bi(l,36).appearance,"fill"==bi(l,36).appearance,"outline"==bi(l,36).appearance,"legacy"==bi(l,36).appearance,bi(l,36)._control.errorState,bi(l,36)._canLabelFloat,bi(l,36)._shouldLabelFloat(),bi(l,36)._hasFloatingLabel(),bi(l,36)._hideControlPlaceholder(),bi(l,36)._control.disabled,bi(l,36)._control.autofilled,bi(l,36)._control.focused,"accent"==bi(l,36).color,"warn"==bi(l,36).color,bi(l,36)._shouldForward("untouched"),bi(l,36)._shouldForward("touched"),bi(l,36)._shouldForward("pristine"),bi(l,36)._shouldForward("dirty"),bi(l,36)._shouldForward("valid"),bi(l,36)._shouldForward("invalid"),bi(l,36)._shouldForward("pending"),!bi(l,36)._animationsEnabled]),n(l,46,1,[Wt(1,"",e.lang.description,""),bi(l,48).required?"":null,bi(l,49).maxlength?bi(l,49).maxlength:null,bi(l,54).ngClassUntouched,bi(l,54).ngClassTouched,bi(l,54).ngClassPristine,bi(l,54).ngClassDirty,bi(l,54).ngClassValid,bi(l,54).ngClassInvalid,bi(l,54).ngClassPending,bi(l,55)._isServer,bi(l,55).id,bi(l,55).placeholder,bi(l,55).disabled,bi(l,55).required,bi(l,55).readonly&&!bi(l,55)._isNativeSelect||null,bi(l,55)._ariaDescribedby||null,bi(l,55).errorState,bi(l,55).required.toString()]),n(l,60,0,e.lang.shapingOptions),n(l,69,0,e.lang.sendModes),n(l,70,0,bi(l,76).ngClassUntouched,bi(l,76).ngClassTouched,bi(l,76).ngClassPristine,bi(l,76).ngClassDirty,bi(l,76).ngClassValid,bi(l,76).ngClassInvalid,bi(l,76).ngClassPending),n(l,82,0,e.lang.pricesInformations),n(l,85,0,e.lang.maileva_firstPagePrice),n(l,86,1,["standard"==bi(l,87).appearance,"fill"==bi(l,87).appearance,"outline"==bi(l,87).appearance,"legacy"==bi(l,87).appearance,bi(l,87)._control.errorState,bi(l,87)._canLabelFloat,bi(l,87)._shouldLabelFloat(),bi(l,87)._hasFloatingLabel(),bi(l,87)._hideControlPlaceholder(),bi(l,87)._control.disabled,bi(l,87)._control.autofilled,bi(l,87)._control.focused,"accent"==bi(l,87).color,"warn"==bi(l,87).color,bi(l,87)._shouldForward("untouched"),bi(l,87)._shouldForward("touched"),bi(l,87)._shouldForward("pristine"),bi(l,87)._shouldForward("dirty"),bi(l,87)._shouldForward("valid"),bi(l,87)._shouldForward("invalid"),bi(l,87)._shouldForward("pending"),!bi(l,87)._animationsEnabled]),n(l,97,1,[Wt(1,"",e.lang.maileva_firstPagePrice,""),bi(l,100).required?"":null,bi(l,101).maxlength?bi(l,101).maxlength:null,bi(l,102).pattern?bi(l,102).pattern:null,bi(l,107).ngClassUntouched,bi(l,107).ngClassTouched,bi(l,107).ngClassPristine,bi(l,107).ngClassDirty,bi(l,107).ngClassValid,bi(l,107).ngClassInvalid,bi(l,107).ngClassPending,bi(l,108)._isServer,bi(l,108).id,bi(l,108).placeholder,bi(l,108).disabled,bi(l,108).required,bi(l,108).readonly&&!bi(l,108)._isNativeSelect||null,bi(l,108)._ariaDescribedby||null,bi(l,108).errorState,bi(l,108).required.toString()]),n(l,115,0,e.lang.maileva_nextPagePrice),n(l,116,1,["standard"==bi(l,117).appearance,"fill"==bi(l,117).appearance,"outline"==bi(l,117).appearance,"legacy"==bi(l,117).appearance,bi(l,117)._control.errorState,bi(l,117)._canLabelFloat,bi(l,117)._shouldLabelFloat(),bi(l,117)._hasFloatingLabel(),bi(l,117)._hideControlPlaceholder(),bi(l,117)._control.disabled,bi(l,117)._control.autofilled,bi(l,117)._control.focused,"accent"==bi(l,117).color,"warn"==bi(l,117).color,bi(l,117)._shouldForward("untouched"),bi(l,117)._shouldForward("touched"),bi(l,117)._shouldForward("pristine"),bi(l,117)._shouldForward("dirty"),bi(l,117)._shouldForward("valid"),bi(l,117)._shouldForward("invalid"),bi(l,117)._shouldForward("pending"),!bi(l,117)._animationsEnabled]),n(l,127,1,[Wt(1,"",e.lang.maileva_nextPagePrice,""),bi(l,130).required?"":null,bi(l,131).maxlength?bi(l,131).maxlength:null,bi(l,132).pattern?bi(l,132).pattern:null,bi(l,137).ngClassUntouched,bi(l,137).ngClassTouched,bi(l,137).ngClassPristine,bi(l,137).ngClassDirty,bi(l,137).ngClassValid,bi(l,137).ngClassInvalid,bi(l,137).ngClassPending,bi(l,138)._isServer,bi(l,138).id,bi(l,138).placeholder,bi(l,138).disabled,bi(l,138).required,bi(l,138).readonly&&!bi(l,138)._isNativeSelect||null,bi(l,138)._ariaDescribedby||null,bi(l,138).errorState,bi(l,138).required.toString()]),n(l,145,0,e.lang.maileva_postagePrice),n(l,146,1,["standard"==bi(l,147).appearance,"fill"==bi(l,147).appearance,"outline"==bi(l,147).appearance,"legacy"==bi(l,147).appearance,bi(l,147)._control.errorState,bi(l,147)._canLabelFloat,bi(l,147)._shouldLabelFloat(),bi(l,147)._hasFloatingLabel(),bi(l,147)._hideControlPlaceholder(),bi(l,147)._control.disabled,bi(l,147)._control.autofilled,bi(l,147)._control.focused,"accent"==bi(l,147).color,"warn"==bi(l,147).color,bi(l,147)._shouldForward("untouched"),bi(l,147)._shouldForward("touched"),bi(l,147)._shouldForward("pristine"),bi(l,147)._shouldForward("dirty"),bi(l,147)._shouldForward("valid"),bi(l,147)._shouldForward("invalid"),bi(l,147)._shouldForward("pending"),!bi(l,147)._animationsEnabled]),n(l,157,1,[Wt(1,"",e.lang.maileva_postagePrice,""),bi(l,160).required?"":null,bi(l,161).maxlength?bi(l,161).maxlength:null,bi(l,162).pattern?bi(l,162).pattern:null,bi(l,167).ngClassUntouched,bi(l,167).ngClassTouched,bi(l,167).ngClassPristine,bi(l,167).ngClassDirty,bi(l,167).ngClassValid,bi(l,167).ngClassInvalid,bi(l,167).ngClassPending,bi(l,168)._isServer,bi(l,168).id,bi(l,168).placeholder,bi(l,168).disabled,bi(l,168).required,bi(l,168).readonly&&!bi(l,168)._isNativeSelect||null,bi(l,168)._ariaDescribedby||null,bi(l,168).errorState,bi(l,168).required.toString()]),n(l,175,0,e.lang.mailevaAccount),n(l,177,0,e.lang.infoMailevaAccount),n(l,179,1,["standard"==bi(l,180).appearance,"fill"==bi(l,180).appearance,"outline"==bi(l,180).appearance,"legacy"==bi(l,180).appearance,bi(l,180)._control.errorState,bi(l,180)._canLabelFloat,bi(l,180)._shouldLabelFloat(),bi(l,180)._hasFloatingLabel(),bi(l,180)._hideControlPlaceholder(),bi(l,180)._control.disabled,bi(l,180)._control.autofilled,bi(l,180)._control.focused,"accent"==bi(l,180).color,"warn"==bi(l,180).color,bi(l,180)._shouldForward("untouched"),bi(l,180)._shouldForward("touched"),bi(l,180)._shouldForward("pristine"),bi(l,180)._shouldForward("dirty"),bi(l,180)._shouldForward("valid"),bi(l,180)._shouldForward("invalid"),bi(l,180)._shouldForward("pending"),!bi(l,180)._animationsEnabled]),n(l,190,1,[Wt(1,"",e.lang.login,""),bi(l,192).required?"":null,bi(l,193).maxlength?bi(l,193).maxlength:null,bi(l,198).ngClassUntouched,bi(l,198).ngClassTouched,bi(l,198).ngClassPristine,bi(l,198).ngClassDirty,bi(l,198).ngClassValid,bi(l,198).ngClassInvalid,bi(l,198).ngClassPending,bi(l,199)._isServer,bi(l,199).id,bi(l,199).placeholder,bi(l,199).disabled,bi(l,199).required,bi(l,199).readonly&&!bi(l,199)._isNativeSelect||null,bi(l,199)._ariaDescribedby||null,bi(l,199).errorState,bi(l,199).required.toString()]),n(l,202,1,["standard"==bi(l,203).appearance,"fill"==bi(l,203).appearance,"outline"==bi(l,203).appearance,"legacy"==bi(l,203).appearance,bi(l,203)._control.errorState,bi(l,203)._canLabelFloat,bi(l,203)._shouldLabelFloat(),bi(l,203)._hasFloatingLabel(),bi(l,203)._hideControlPlaceholder(),bi(l,203)._control.disabled,bi(l,203)._control.autofilled,bi(l,203)._control.focused,"accent"==bi(l,203).color,"warn"==bi(l,203).color,bi(l,203)._shouldForward("untouched"),bi(l,203)._shouldForward("touched"),bi(l,203)._shouldForward("pristine"),bi(l,203)._shouldForward("dirty"),bi(l,203)._shouldForward("valid"),bi(l,203)._shouldForward("invalid"),bi(l,203)._shouldForward("pending"),!bi(l,203)._animationsEnabled]),n(l,213,1,[bi(l,215).required?"":null,bi(l,220).ngClassUntouched,bi(l,220).ngClassTouched,bi(l,220).ngClassPristine,bi(l,220).ngClassDirty,bi(l,220).ngClassValid,bi(l,220).ngClassInvalid,bi(l,220).ngClassPending,bi(l,221)._isServer,bi(l,221).id,bi(l,221).placeholder,bi(l,221).disabled,bi(l,221).required,bi(l,221).readonly&&!bi(l,221)._isNativeSelect||null,bi(l,221)._ariaDescribedby||null,bi(l,221).errorState,bi(l,221).required.toString()]),n(l,223,0,bi(l,228).inline,"primary"!==bi(l,228).color&&"accent"!==bi(l,228).color&&"warn"!==bi(l,228).color),n(l,231,0,bi(l,232).disabled||null,"NoopAnimations"===bi(l,232)._animationMode),n(l,233,0,e.lang.validate),n(l,234,0,bi(l,235).disabled||null,"NoopAnimations"===bi(l,235)._animationMode),n(l,236,0,e.lang.cancel)}))}function n5(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),(n()(),_o(1,0,null,null,43,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(5,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(6,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(7,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(11,114688,null,0,GO,[_u],null,null),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(14,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(15,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,K8)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,X8)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,0,22,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;width:400px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,23)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,23)._animationDoneListener(e)&&t),t}),zO,qO)),Di(23,3325952,[[2,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(24,0,null,0,20,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(25,704512,null,0,tI,[Pe],null,null),(n()(),_o(26,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(27,16384,null,0,aI,[],null,null),(n()(),Lo(28,null,["",""])),(n()(),_o(29,0,null,0,15,"div",[["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(30,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(31,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,71,{_controlNonStatic:0}),ko(335544320,72,{_controlStatic:0}),ko(603979776,73,{_labelChildNonStatic:0}),ko(335544320,74,{_labelChildStatic:0}),ko(603979776,75,{_placeholderChild:0}),ko(603979776,76,{_errorChildren:1}),ko(603979776,77,{_hintChildren:1}),ko(603979776,78,{_prefixChildren:1}),ko(603979776,79,{_suffixChildren:1}),(n()(),_o(41,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,42)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,42)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,42)._onInput()&&t),t}),null,null)),Di(42,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[71,4],[72,4]],nT,null,[OT]),(n()(),_o(44,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0),n(l,11,0),n(l,14,0),n(l,19,0,e.loading),n(l,21,0,!e.loading),n(l,23,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,42,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,5,0,bi(l,6)._container._contentMargins.left,bi(l,6)._container._contentMargins.right),n(l,8,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,22,0,null,"end"===bi(l,23).position,"over"===bi(l,23).mode,"push"===bi(l,23).mode,"side"===bi(l,23).mode,bi(l,23).opened,bi(l,23).fixedInViewport,bi(l,23).fixedInViewport?bi(l,23).fixedTopGap:null,bi(l,23).fixedInViewport?bi(l,23).fixedBottomGap:null,bi(l,23)._animationState),n(l,28,0,e.lang.chooseEntityAssociationModel),n(l,30,1,["standard"==bi(l,31).appearance,"fill"==bi(l,31).appearance,"outline"==bi(l,31).appearance,"legacy"==bi(l,31).appearance,bi(l,31)._control.errorState,bi(l,31)._canLabelFloat,bi(l,31)._shouldLabelFloat(),bi(l,31)._hasFloatingLabel(),bi(l,31)._hideControlPlaceholder(),bi(l,31)._control.disabled,bi(l,31)._control.autofilled,bi(l,31)._control.focused,"accent"==bi(l,31).color,"warn"==bi(l,31).color,bi(l,31)._shouldForward("untouched"),bi(l,31)._shouldForward("touched"),bi(l,31)._shouldForward("pristine"),bi(l,31)._shouldForward("dirty"),bi(l,31)._shouldForward("valid"),bi(l,31)._shouldForward("invalid"),bi(l,31)._shouldForward("pending"),!bi(l,31)._animationsEnabled]),n(l,41,0,bi(l,42)._isServer,bi(l,42).id,bi(l,42).placeholder,bi(l,42).disabled,bi(l,42).required,bi(l,42).readonly&&!bi(l,42)._isNativeSelect||null,bi(l,42)._ariaDescribedby||null,bi(l,42).errorState,bi(l,42).required.toString())}))}function l5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,n5,W8)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,G8,[nS,Zp,uf,tu,_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var e5=oi("ng-component",G8,l5,{},{},[]),t5=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.sortPipe=a,this.functionsService=o,this.lang=Kr,this.loading=!0,this.customFieldsTypes=[{label:this.lang.stringInput,type:"string"},{label:this.lang.integerInput,type:"integer"},{label:this.lang.selectInput,type:"select"},{label:this.lang.dateInput,type:"date"},{label:this.lang.radioInput,type:"radio"},{label:this.lang.checkboxInput,type:"checkbox"},{label:this.lang.banAutocompleteInput,type:"banAutocomplete"},{label:this.lang.contactInput,type:"contact"}],this.customFields=[],this.customFieldsClone=[],this.incrementCreation=1,this.sampleIncrement=[1,2,3,4],this.SQLMode=!1,this.availaibleTables={}}return n.prototype.ngOnInit=function(){this.headerService.setHeader(this.lang.administration+" "+this.lang.customFieldsAdmin),this.getTables(),this.loadCustomFields()},n.prototype.loadCustomFields=function(){var n=this;this.http.get("../../rest/customFields?admin=true").pipe(q((function(n){return n.customFields.forEach((function(n){n.SQLMode=!1!==n.SQLMode})),n})),Yr((function(l){n.customFields=l.customFields,n.customFieldsClone=JSON.parse(JSON.stringify(n.customFields))})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.addCustomField=function(n){var l=this,e={};this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.add,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){e={label:l.lang.newField+" "+l.incrementCreation,type:n.type,values:[]}})),MN((function(){return l.http.post("../../rest/customFields",e)})),Yr((function(n){e.id=n.customFieldId,l.customFields.push(e),l.notify.success(l.lang.customFieldAdded),l.incrementCreation++})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.addValue=function(n){this.customFields[n].values.push({key:this.customFields[n].values.length,label:""})},n.prototype.removeValue=function(n,l){n.values[l].label=null},n.prototype.removeCustomField=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete+' "'+this.customFields[n].label+'"',msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/customFields/"+l.customFields[n].id)})),Yr((function(){l.customFields.splice(n,1),l.notify.success(l.lang.customFieldDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.updateCustomField=function(n,l){var e=this,i=Object(t.__assign)({},n);if(n.SQLMode)["string","integer","date"].indexOf(n.type)>-1&&(n.values.label=[{column:n.values.key,delimiterEnd:"",delimiterStart:""}]);else if(n.values=n.values.filter((function(n,l,e){return e.map((function(n){return n.label})).indexOf(n.label)===l})),this.customFields.filter((function(n){return n.label===i.label})).length>1)return this.notify.handleErrors(this.lang.customFieldAlreadyExists),lu(!1);this.http.put("../../rest/customFields/"+n.id,i).pipe(Yr((function(){e.customFieldsClone[l]=JSON.parse(JSON.stringify(n)),e.notify.success(e.lang.customFieldUpdated),e.loadCustomFields()})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sortValues=function(n){n.values=this.sortPipe.transform(n.values,"label")},n.prototype.isModified=function(n,l){return!(JSON.stringify(n)!==JSON.stringify(this.customFieldsClone[l])&&""!==n.label&&!this.SQLMode)},n.prototype.switchSQLMode=function(n){n.SQLMode=!n.SQLMode,n.values=n.SQLMode?{key:"id",label:[{column:"id",delimiterEnd:"",delimiterStart:""}],table:"users",clause:"1=1"}:[]},n.prototype.getTables=function(){var n=this;this.http.get("../../rest/customFieldsWhiteList").pipe(Yr((function(l){l.allowedTables.forEach((function(l){n.availaibleTables[l.name]=l.columns}))})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.addColumnLabel=function(n,l){n.push({delimiterStart:"",delimiterEnd:"",column:l})},n.prototype.removeColumnLabel=function(n,l){n.splice(l,1)},n.prototype.isValidField=function(n){return!n.SQLMode||!(this.functionsService.empty(n.values.key)||this.functionsService.empty(n.values.label)||this.functionsService.empty(n.values.table)||this.functionsService.empty(n.values.clause))},n}(),i5=yt({encapsulation:0,styles:[[".mat-divider[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px}.customFielsdPanel[_ngcontent-%COMP%]{padding-left:0}.customFielsdPanel[_ngcontent-%COMP%] .mat-tab-body-wrapper{padding-left:0}.mat-expansion-panel-header-description[_ngcontent-%COMP%]{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.customFieldValues[_ngcontent-%COMP%]{box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-expansion-panel[_ngcontent-%COMP%]{margin:5px}.mat-accordion[_ngcontent-%COMP%]{padding:5px}.mat-tab-body-content[_ngcontent-%COMP%], .mat-tab-body-wrapper[_ngcontent-%COMP%], .mat-tab-group[_ngcontent-%COMP%]{height:100%}.actionsCustomFields[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.actionValuesCustom[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.alert-message-info[_ngcontent-%COMP%]{margin-top:30px;max-width:100%}.addCustomFieldTypeContainer[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;width:60px}.customFieldsTypesItem[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-top:10px;padding-bottom:10px}.mat-badge-content[_ngcontent-%COMP%]{top:2px!important}"],tN],data:{}});function a5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function o5(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.noCustomFieldInfo)}))}function r5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-mini-fab",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.switchSQLMode(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-database mat-icon notranslate"],["role","img"],["style","height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function u5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","default"],["mat-mini-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.sortValues(n.parent.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-sort-alpha-down mat-icon notranslate"],["color","primary"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,1,0,"default"),n(l,3,0,"primary")}),(function(n,l){n(l,0,0,l.component.lang.orderValues,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function s5(n){return jo(0,[(n()(),_o(0,0,null,null,23,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.context.$implicit.label=e)&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT]),(n()(),_o(19,0,null,4,4,"button",[["color","warn"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeValue(n.parent.parent.parent.parent.context.$implicit,n.parent.context.index)&&t),t}),PC,MC)),Di(20,16384,[[36,4]],0,oT,[],null,null),Di(21,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(22,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(23,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,14,0,l.parent.context.$implicit.label),n(l,17,0,e.lang.newValue),n(l,21,0,1===l.parent.parent.parent.parent.context.$implicit.values.length,"warn"),n(l,23,0)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()]),n(l,19,0,e.lang.delete,bi(l,21).disabled||null,"NoopAnimations"===bi(l,21)._animationMode),n(l,22,0,bi(l,23).inline,"primary"!==bi(l,23).color&&"accent"!==bi(l,23).color&&"warn"!==bi(l,23).color)}))}function c5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,s5)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,null!==l.context.$implicit.label)}),null)}function d5(n){return jo(0,[(n()(),_o(0,16777216,null,null,22,"mat-expansion-panel",[["class","customFieldValues mat-expansion-panel"],["opened",""]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,27,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,7,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,[[7,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title mat-badge"],["matBadgeSize","small"]],[[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),Di(10,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],size:[1,"size"]},null),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,1,7,"div",[["class","actionValuesCustom"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,3,"div",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addValue(n.parent.parent.context.index)&&t),t}),PC,MC)),Di(15,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(16,0,[" ",""])),(n()(),_o(17,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,u5)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,1,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,c5)),Di(22,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,10,0,l.parent.parent.context.$implicit.values.length,"small"),n(l,15,0,"primary"),n(l,19,0,l.parent.parent.context.$implicit.values.length>0),n(l,22,0,l.parent.parent.context.$implicit.values)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,8,0,bi(l,10).overlap,bi(l,10).isAbove(),!bi(l,10).isAbove(),!bi(l,10).isAfter(),bi(l,10).isAfter(),"small"===bi(l,10).size,"medium"===bi(l,10).size,"large"===bi(l,10).size,bi(l,10).hidden||!bi(l,10)._hasContent,bi(l,10).disabled),n(l,11,0,e.lang.valuesList),n(l,14,0,bi(l,15).disabled||null,"NoopAnimations"===bi(l,15)._animationMode),n(l,16,0,e.lang.addValue)}))}function p5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,d5)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,!l.parent.context.$implicit.SQLMode)}),null)}function m5(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" (",") "]))],null,(function(n,l){n(l,1,0,l.component.lang[l.parent.context.$implicit.key])}))}function f5(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[47,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "])),(n()(),vo(16777216,null,0,1,null,m5)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,l.context.$implicit.key),n(l,4,0,!e.functionsService.empty(e.lang[l.context.$implicit.key]))}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.key)}))}function h5(n){return jo(0,[(n()(),_o(0,0,null,null,21,"span",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"input",[["style","min-width: 8px;"]],[[4,"width","px"],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,2)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,2).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,2)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,2)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.delimiterStart=e)&&t),t}),null,null)),Di(2,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(4,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(6,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(7,0,null,null,8,"mat-chip",[["class","mat-chip"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,8)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,8)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,8).focus()&&t),"blur"===l&&(t=!1!==bi(n,8)._blur()&&t),"removed"===l&&(t=!1!==i.removeColumnLabel(n.parent.parent.parent.parent.context.$implicit.values.label,n.context.index)&&t),t}),null,null)),Di(8,147456,null,3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],null,{removed:"removed"}),ko(603979776,50,{avatar:0}),ko(603979776,51,{trailingIcon:0}),ko(603979776,52,{removeIcon:0}),(n()(),Lo(12,null,[" "," "])),(n()(),_o(13,0,null,null,2,"mat-icon",[["class","fa fa-times-circle mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,15)._handleClick(e)&&t),t}),FS,DS)),Di(14,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(15,16384,[[52,4]],0,aN,[iN],null,null),(n()(),_o(16,0,null,null,5,"input",[["style","min-width: 8px;"]],[[4,"width","px"],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.delimiterEnd=e)&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null)],(function(n,l){n(l,4,0,l.context.$implicit.delimiterStart),n(l,14,0),n(l,19,0,l.context.$implicit.delimiterEnd)}),(function(n,l){n(l,1,0,8*(l.context.$implicit.delimiterStart.length+1),bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,0,bi(l,8).disabled?null:-1,bi(l,8).selected,bi(l,8).avatar,bi(l,8).trailingIcon||bi(l,8).removeIcon,bi(l,8).disabled,bi(l,8)._animationsDisabled,bi(l,8).disabled||null,bi(l,8).disabled.toString(),bi(l,8).ariaSelected),n(l,12,0,l.context.$implicit.column),n(l,13,0,bi(l,14).inline,"primary"!==bi(l,14).color&&"accent"!==bi(l,14).color&&"warn"!==bi(l,14).color),n(l,16,0,8*(l.context.$implicit.delimiterEnd.length+1),bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending)}))}function g5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.addColumnLabel(n.parent.parent.parent.parent.context.$implicit.values.label,n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[53,4],[54,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.context.$implicit)}))}function b5(n){return jo(0,[(n()(),_o(0,0,null,null,19,"div",[["style","width:100%;padding-bottom: 20px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"mat-label",[["style","font-size: 75%;color: rgba(0,0,0,0.54);width: 100%;display: block;"]],null,null,null,null,null)),Di(2,16384,null,0,iT,[],null,null),(n()(),Lo(3,null,[" "," *"])),(n()(),vo(16777216,null,null,1,null,h5)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(6,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["color","primary"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,8)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,8)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,8)._handleClick(e)&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(8,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(9,0,null,0,0,"i",[["class","fa fa-plus-circle"]],null,null,null,null,null)),(n()(),Lo(10,0,[" "," "])),(n()(),_o(11,0,null,null,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(14,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,53,{_allItems:1}),ko(603979776,54,{items:1}),ko(603979776,55,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,g5)),Di(19,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,l.parent.parent.parent.context.$implicit.values.label),n(l,7,0,"primary"),n(l,8,0,bi(l,14)),n(l,14,0),n(l,19,0,e.availaibleTables[l.parent.parent.parent.context.$implicit.values.table])}),(function(n,l){var e=l.component;n(l,3,0,e.lang.targetLabel),n(l,6,0,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode,bi(l,8).menuOpen||null),n(l,10,0,e.lang.addColumn)}))}function v5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[65,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function _5(n){return jo(0,[(n()(),_o(0,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,56,{_controlNonStatic:0}),ko(335544320,57,{_controlStatic:0}),ko(603979776,58,{_labelChildNonStatic:0}),ko(335544320,59,{_labelChildStatic:0}),ko(603979776,60,{_placeholderChild:0}),ko(603979776,61,{_errorChildren:1}),ko(603979776,62,{_hintChildren:1}),ko(603979776,63,{_prefixChildren:1}),ko(603979776,64,{_suffixChildren:1}),(n()(),_o(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(12,16384,[[58,4],[59,4]],0,iT,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,13,"mat-select",[["class","mat-select"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,21)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,21)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,21)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.parent.parent.context.$implicit.values.key=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(16,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(18,671744,null,0,_y,[[8,null],[6,C_],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{required:[0,"required"]},null),ko(603979776,65,{options:1}),ko(603979776,66,{optionGroups:1}),ko(603979776,67,{customTrigger:0}),Ei(2048,[[56,4],[57,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,v5)),Di(27,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,16,0,""),n(l,18,0,l.parent.parent.parent.context.$implicit.values.key),n(l,21,0,""),n(l,27,0,e.availaibleTables[l.parent.parent.parent.context.$implicit.values.table])}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.targetIdentifier),n(l,14,1,[bi(l,16).required?"":null,bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21).id,bi(l,21).tabIndex,bi(l,21)._getAriaLabel(),bi(l,21)._getAriaLabelledby(),bi(l,21).required.toString(),bi(l,21).disabled.toString(),bi(l,21).errorState,bi(l,21).panelOpen?bi(l,21)._optionIds:null,bi(l,21).multiple,bi(l,21)._ariaDescribedby||null,bi(l,21)._getAriaActiveDescendant(),bi(l,21).disabled,bi(l,21).errorState,bi(l,21).required,bi(l,21).empty])}))}function y5(n){return jo(0,[(n()(),_o(0,16777216,null,null,70,"mat-expansion-panel",[["class","customFieldValues mat-expansion-panel"],["opened",""]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,37,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,[[7,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,59,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,34,"div",[["style","display: flex;flex-direction: column;"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,28,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,38,{_controlNonStatic:0}),ko(335544320,39,{_controlStatic:0}),ko(603979776,40,{_labelChildNonStatic:0}),ko(335544320,41,{_labelChildStatic:0}),ko(603979776,42,{_placeholderChild:0}),ko(603979776,43,{_errorChildren:1}),ko(603979776,44,{_hintChildren:1}),ko(603979776,45,{_prefixChildren:1}),ko(603979776,46,{_suffixChildren:1}),(n()(),_o(24,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(25,16384,[[40,4],[41,4]],0,iT,[],null,null),(n()(),Lo(26,null,["",""])),(n()(),_o(27,0,null,1,14,"mat-select",[["class","mat-select"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,34)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,34)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,34)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.parent.context.$implicit.values.table=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(29,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(31,671744,null,0,_y,[[8,null],[6,C_],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(33,16384,null,0,y_,[[4,v_]],null,null),Di(34,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{required:[0,"required"]},null),ko(603979776,47,{options:1}),ko(603979776,48,{optionGroups:1}),ko(603979776,49,{customTrigger:0}),Ei(2048,[[38,4],[39,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,2,null,f5)),Di(40,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),vo(16777216,null,null,2,null,b5)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(44,3),(n()(),vo(16777216,null,null,1,null,_5)),Di(46,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(47,0,null,null,23,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(48,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,68,{_controlNonStatic:0}),ko(335544320,69,{_controlStatic:0}),ko(603979776,70,{_labelChildNonStatic:0}),ko(335544320,71,{_labelChildStatic:0}),ko(603979776,72,{_placeholderChild:0}),ko(603979776,73,{_errorChildren:1}),ko(603979776,74,{_hintChildren:1}),ko(603979776,75,{_prefixChildren:1}),ko(603979776,76,{_suffixChildren:1}),(n()(),_o(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(59,16384,[[70,4],[71,4]],0,iT,[],null,null),(n()(),Lo(60,null,["",""])),(n()(),_o(61,0,null,1,9,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Ex. status='OK'"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,62)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,62).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,62)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,62)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,69)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,69)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,69)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.parent.context.$implicit.values.clause=e)&&t),t}),null,null)),Di(62,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(63,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(66,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(68,16384,null,0,y_,[[4,v_]],null,null),Di(69,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[68,4],[69,4]],nT,null,[OT]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,29,0,""),n(l,31,0,l.parent.parent.context.$implicit.values.table),n(l,34,0,""),n(l,40,0,bt(l,40,0,bi(l,41).transform(e.availaibleTables)));var t=-1===n(l,44,0,"string","integer","date").indexOf(l.parent.parent.context.$implicit.type)&&l.parent.parent.context.$implicit.values.table;n(l,43,0,t),n(l,46,0,l.parent.parent.context.$implicit.values.table),n(l,63,0,""),n(l,66,0,l.parent.parent.context.$implicit.values.clause),n(l,69,0,"Ex. status='OK'","")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,0,e.lang.database),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,26,0,e.lang.targetTable),n(l,27,1,[bi(l,29).required?"":null,bi(l,33).ngClassUntouched,bi(l,33).ngClassTouched,bi(l,33).ngClassPristine,bi(l,33).ngClassDirty,bi(l,33).ngClassValid,bi(l,33).ngClassInvalid,bi(l,33).ngClassPending,bi(l,34).id,bi(l,34).tabIndex,bi(l,34)._getAriaLabel(),bi(l,34)._getAriaLabelledby(),bi(l,34).required.toString(),bi(l,34).disabled.toString(),bi(l,34).errorState,bi(l,34).panelOpen?bi(l,34)._optionIds:null,bi(l,34).multiple,bi(l,34)._ariaDescribedby||null,bi(l,34)._getAriaActiveDescendant(),bi(l,34).disabled,bi(l,34).errorState,bi(l,34).required,bi(l,34).empty]),n(l,47,1,["standard"==bi(l,48).appearance,"fill"==bi(l,48).appearance,"outline"==bi(l,48).appearance,"legacy"==bi(l,48).appearance,bi(l,48)._control.errorState,bi(l,48)._canLabelFloat,bi(l,48)._shouldLabelFloat(),bi(l,48)._hasFloatingLabel(),bi(l,48)._hideControlPlaceholder(),bi(l,48)._control.disabled,bi(l,48)._control.autofilled,bi(l,48)._control.focused,"accent"==bi(l,48).color,"warn"==bi(l,48).color,bi(l,48)._shouldForward("untouched"),bi(l,48)._shouldForward("touched"),bi(l,48)._shouldForward("pristine"),bi(l,48)._shouldForward("dirty"),bi(l,48)._shouldForward("valid"),bi(l,48)._shouldForward("invalid"),bi(l,48)._shouldForward("pending"),!bi(l,48)._animationsEnabled]),n(l,60,0,e.lang.clause),n(l,61,1,[bi(l,63).required?"":null,bi(l,68).ngClassUntouched,bi(l,68).ngClassTouched,bi(l,68).ngClassPristine,bi(l,68).ngClassDirty,bi(l,68).ngClassValid,bi(l,68).ngClassInvalid,bi(l,68).ngClassPending,bi(l,69)._isServer,bi(l,69).id,bi(l,69).placeholder,bi(l,69).disabled,bi(l,69).required,bi(l,69).readonly&&!bi(l,69)._isNativeSelect||null,bi(l,69)._ariaDescribedby||null,bi(l,69).errorState,bi(l,69).required.toString()])}))}function w5(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["class","col-md-12"],["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"button",[["color","primary"],["mat-mini-fab",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.switchSQLMode(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fas fa-list-ol mat-icon notranslate"],["role","img"],["style","height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(6,0,null,null,2,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,y5)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,"primary"),n(l,5,0),n(l,8,0,l.parent.context.$implicit.SQLMode)}),(function(n,l){n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function x5(n){return jo(0,[(n()(),_o(0,16777216,null,null,69,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,8,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,[[7,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["color","primary"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(12,16384,null,0,Jj,[],null,null),(n()(),Lo(13,null,[" "," "])),(n()(),_o(14,0,null,1,38,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(16,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(26,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","id"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,27)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,27)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,27)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,32)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,32)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,32)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.id=e)&&t),t}),null,null)),Di(27,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(29,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],value:[2,"value"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(34,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(35,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,18,{_controlNonStatic:0}),ko(335544320,19,{_controlStatic:0}),ko(603979776,20,{_labelChildNonStatic:0}),ko(335544320,21,{_labelChildStatic:0}),ko(603979776,22,{_placeholderChild:0}),ko(603979776,23,{_errorChildren:1}),ko(603979776,24,{_hintChildren:1}),ko(603979776,25,{_prefixChildren:1}),ko(603979776,26,{_suffixChildren:1}),(n()(),_o(45,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","label"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,46)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,46)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,46)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,51)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,51)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,51)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.label=e)&&t),t}),null,null)),Di(46,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(48,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(50,16384,null,0,y_,[[4,v_]],null,null),Di(51,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],value:[1,"value"]},null),Ei(2048,[[18,4],[19,4]],nT,null,[OT]),(n()(),_o(53,0,null,1,7,"div",[["class","col-md-12"],["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,r5)),Di(56,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(57,2),(n()(),vo(16777216,null,null,2,null,p5)),Di(59,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(60,3),(n()(),vo(16777216,null,1,1,null,w5)),Di(62,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(63,0,null,1,6,"div",[["class","col-md-12 text-center"]],null,null,null,null,null)),(n()(),_o(64,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateCustomField(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(65,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(66,0,["",""])),(n()(),_o(67,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeCustomField(n.context.index)&&t),t}),PC,MC)),Di(68,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(69,0,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,29,0,"id","",l.context.$implicit.id),n(l,32,0,"",e.lang.technicalId,l.context.$implicit.id),n(l,48,0,"label",l.context.$implicit.label),n(l,51,0,e.lang.label,l.context.$implicit.label);var t=!l.context.$implicit.SQLMode&&-1===n(l,57,0,"banAutocomplete","contact").indexOf(l.context.$implicit.type);n(l,56,0,t);var i=n(l,60,0,"select","radio","checkbox").indexOf(l.context.$implicit.type)>-1;n(l,59,0,i),n(l,62,0,l.context.$implicit.SQLMode),n(l,65,0,e.isModified(l.context.$implicit,l.context.index)||!e.isValidField(l.context.$implicit),"primary"),n(l,68,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,0,l.context.$implicit.label),n(l,13,0,e.lang[l.context.$implicit.type+"Input"]),n(l,15,1,["standard"==bi(l,16).appearance,"fill"==bi(l,16).appearance,"outline"==bi(l,16).appearance,"legacy"==bi(l,16).appearance,bi(l,16)._control.errorState,bi(l,16)._canLabelFloat,bi(l,16)._shouldLabelFloat(),bi(l,16)._hasFloatingLabel(),bi(l,16)._hideControlPlaceholder(),bi(l,16)._control.disabled,bi(l,16)._control.autofilled,bi(l,16)._control.focused,"accent"==bi(l,16).color,"warn"==bi(l,16).color,bi(l,16)._shouldForward("untouched"),bi(l,16)._shouldForward("touched"),bi(l,16)._shouldForward("pristine"),bi(l,16)._shouldForward("dirty"),bi(l,16)._shouldForward("valid"),bi(l,16)._shouldForward("invalid"),bi(l,16)._shouldForward("pending"),!bi(l,16)._animationsEnabled]),n(l,26,1,[bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32)._isServer,bi(l,32).id,bi(l,32).placeholder,bi(l,32).disabled,bi(l,32).required,bi(l,32).readonly&&!bi(l,32)._isNativeSelect||null,bi(l,32)._ariaDescribedby||null,bi(l,32).errorState,bi(l,32).required.toString()]),n(l,34,1,["standard"==bi(l,35).appearance,"fill"==bi(l,35).appearance,"outline"==bi(l,35).appearance,"legacy"==bi(l,35).appearance,bi(l,35)._control.errorState,bi(l,35)._canLabelFloat,bi(l,35)._shouldLabelFloat(),bi(l,35)._hasFloatingLabel(),bi(l,35)._hideControlPlaceholder(),bi(l,35)._control.disabled,bi(l,35)._control.autofilled,bi(l,35)._control.focused,"accent"==bi(l,35).color,"warn"==bi(l,35).color,bi(l,35)._shouldForward("untouched"),bi(l,35)._shouldForward("touched"),bi(l,35)._shouldForward("pristine"),bi(l,35)._shouldForward("dirty"),bi(l,35)._shouldForward("valid"),bi(l,35)._shouldForward("invalid"),bi(l,35)._shouldForward("pending"),!bi(l,35)._animationsEnabled]),n(l,45,1,[bi(l,50).ngClassUntouched,bi(l,50).ngClassTouched,bi(l,50).ngClassPristine,bi(l,50).ngClassDirty,bi(l,50).ngClassValid,bi(l,50).ngClassInvalid,bi(l,50).ngClassPending,bi(l,51)._isServer,bi(l,51).id,bi(l,51).placeholder,bi(l,51).disabled,bi(l,51).required,bi(l,51).readonly&&!bi(l,51)._isNativeSelect||null,bi(l,51)._ariaDescribedby||null,bi(l,51).errorState,bi(l,51).required.toString()]),n(l,64,0,bi(l,65).disabled||null,"NoopAnimations"===bi(l,65)._animationMode),n(l,66,0,e.lang.update),n(l,67,0,bi(l,68).disabled||null,"NoopAnimations"===bi(l,68)._animationMode),n(l,69,0,e.lang.delete)}))}function C5(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,14,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,4,{_tabs:1}),(n()(),_o(5,16777216,null,null,11,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[4,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,5,{templateLabel:0}),ko(335544320,6,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,o5)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,0,5,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Ei(6144,null,Bj,null,[Qj]),Di(13,1720320,null,1,Qj,[],null,null),ko(603979776,7,{_headers:1}),(n()(),vo(16777216,null,null,1,null,x5)),Di(16,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,e.lang.usableFields),n(l,10,0,0===e.customFields.length),n(l,16,0,e.customFields)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition)}))}function k5(n){return jo(0,[(n()(),_o(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,80,{_controlNonStatic:0}),ko(335544320,81,{_controlStatic:0}),ko(603979776,82,{_labelChildNonStatic:0}),ko(335544320,83,{_labelChildStatic:0}),ko(603979776,84,{_placeholderChild:0}),ko(603979776,85,{_errorChildren:1}),ko(603979776,86,{_hintChildren:1}),ko(603979776,87,{_prefixChildren:1}),ko(603979776,88,{_suffixChildren:1}),(n()(),_o(12,0,null,1,3,"textarea",[["cdkAutosizeMaxRows","6"],["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["disabled",""],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["rows","1"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),"input"===l&&(t=!1!==bi(n,14)._noopInputHandler()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Di(14,4603904,null,0,PT,[Pe,sh,La],{maxRows:[0,"maxRows"],matAutosizeMinRows:[1,"matAutosizeMinRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[80,4],[81,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,14,0,"6","1","")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function S5(n){return jo(0,[(n()(),_o(0,0,null,null,14,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,13,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,89,{_controlNonStatic:0}),ko(335544320,90,{_controlStatic:0}),ko(603979776,91,{_labelChildNonStatic:0}),ko(335544320,92,{_labelChildStatic:0}),ko(603979776,93,{_placeholderChild:0}),ko(603979776,94,{_errorChildren:1}),ko(603979776,95,{_hintChildren:1}),ko(603979776,96,{_prefixChildren:1}),ko(603979776,97,{_suffixChildren:1}),(n()(),_o(12,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["type","number"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[89,4],[90,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"],"number")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function I5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[107,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang.choice,l.context.$implicit)}))}function A5(n){return jo(0,[(n()(),_o(0,0,null,null,20,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,98,{_controlNonStatic:0}),ko(335544320,99,{_controlStatic:0}),ko(603979776,100,{_labelChildNonStatic:0}),ko(335544320,101,{_labelChildStatic:0}),ko(603979776,102,{_placeholderChild:0}),ko(603979776,103,{_errorChildren:1}),ko(603979776,104,{_hintChildren:1}),ko(603979776,105,{_prefixChildren:1}),ko(603979776,106,{_suffixChildren:1}),(n()(),_o(12,0,null,1,8,"mat-select",[["class","mat-select"],["disabled",""],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,14)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,14)._onBlur()&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(14,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[8,null],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,107,{options:1}),ko(603979776,108,{optionGroups:1}),ko(603979776,109,{customTrigger:0}),Ei(2048,[[98,4],[99,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,I5)),Di(20,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,14,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,20,0,e.sampleIncrement)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).id,bi(l,14).tabIndex,bi(l,14)._getAriaLabel(),bi(l,14)._getAriaLabelledby(),bi(l,14).required.toString(),bi(l,14).disabled.toString(),bi(l,14).errorState,bi(l,14).panelOpen?bi(l,14)._optionIds:null,bi(l,14).multiple,bi(l,14)._ariaDescribedby||null,bi(l,14)._getAriaActiveDescendant(),bi(l,14).disabled,bi(l,14).errorState,bi(l,14).required,bi(l,14).empty])}))}function M5(n){return jo(0,[(n()(),_o(0,0,null,null,24,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,23,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,110,{_controlNonStatic:0}),ko(335544320,111,{_controlStatic:0}),ko(603979776,112,{_labelChildNonStatic:0}),ko(335544320,113,{_labelChildStatic:0}),ko(603979776,114,{_placeholderChild:0}),ko(603979776,115,{_errorChildren:1}),ko(603979776,116,{_hintChildren:1}),ko(603979776,117,{_prefixChildren:1}),ko(603979776,118,{_suffixChildren:1}),(n()(),_o(12,0,null,1,6,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"change"],[null,"blur"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,15)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,15)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,15)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,15)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"click"===l&&(t=!1!==bi(n,24).open()&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[lw]),Ei(5120,null,C_,(function(n){return[n]}),[lw]),Di(15,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],disabled:[1,"disabled"]},null),Ei(2048,null,DT,null,[lw]),Di(17,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[6,DT],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[110,4],[111,4]],nT,null,[OT]),(n()(),_o(19,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,21)._button.focus()&&t),t}),nk,QC)),Di(20,16384,[[118,4]],0,oT,[],null,null),Di(21,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,119,{_customIcon:0}),(n()(),_o(23,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(24,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,15,0,bi(l,24),""),n(l,17,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,21,0,bi(l,24))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,15)._datepicker?"dialog":null,(null==bi(l,15)._datepicker?null:bi(l,15)._datepicker.opened)&&bi(l,15)._datepicker.id||null,bi(l,15).min?bi(l,15)._dateAdapter.toIso8601(bi(l,15).min):null,bi(l,15).max?bi(l,15)._dateAdapter.toIso8601(bi(l,15).max):null,bi(l,15).disabled,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()]),n(l,19,0,-1,bi(l,21).datepicker&&bi(l,21).datepicker.opened,bi(l,21).datepicker&&"accent"===bi(l,21).datepicker.color,bi(l,21).datepicker&&"warn"===bi(l,21).datepicker.color)}))}function P5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[120,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,e.lang.choice,l.context.$implicit)}))}function D5(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-radio-group",[["class","radio-form mat-radio-group"],["color","primary"],["disabled",""],["role","radiogroup"]],null,null,null,null,null)),Ei(5120,null,d_,(function(n){return[n]}),[gq]),Di(3,1064960,null,1,gq,[Nl],{color:[0,"color"],disabled:[1,"disabled"]},null),ko(603979776,120,{_radios:1}),(n()(),vo(16777216,null,null,1,null,P5)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,3,0,"primary",""),n(l,6,0,e.sampleIncrement)}),null)}function F5(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[121,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],value:[1,"value"]},null),ko(603979776,122,{_avatar:0}),ko(603979776,123,{_icon:0}),ko(603979776,124,{_lines:1}),(n()(),Lo(5,0,[" "," "," "]))],(function(n,l){n(l,1,0,"before",l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,e.lang.choice,l.context.$implicit)}))}function E5(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip",[["class","mat-chip"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),t}),null,null)),Di(1,147456,[[125,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],null,null),ko(603979776,126,{avatar:0}),ko(603979776,127,{trailingIcon:0}),ko(603979776,128,{removeIcon:0}),(n()(),Lo(5,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.lang.selectedValue)}))}function O5(n){return jo(0,[(n()(),_o(0,0,null,null,13,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","input-form checkbox-form"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"mat-selection-list",[["aria-multiselectable","true"],["class","div-list mat-selection-list mat-list-base"],["disabled",""],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,4)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,4)._keydown(e)&&t),t}),FI,DI)),Ei(5120,null,d_,(function(n){return[n]}),[dI]),Di(4,1753088,[["sampleList",4]],1,dI,[Pe,[8,null]],{disabled:[0,"disabled"]},null),ko(603979776,121,{options:1}),(n()(),vo(16777216,null,0,1,null,F5)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(8,0,null,null,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,10).focus()&&t),"blur"===l&&(t=!1!==bi(n,10)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(10,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,125,{chips:1}),(n()(),vo(16777216,null,0,1,null,E5)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,7,0,e.sampleIncrement),n(l,10,0),n(l,13,0,bi(l,4).selectedOptions.selected)}),(function(n,l){n(l,2,0,bi(l,4).tabIndex,bi(l,4).disabled.toString()),n(l,8,1,[bi(l,10).disabled?null:bi(l,10)._tabIndex,bi(l,10)._ariaDescribedby||null,bi(l,10).required.toString(),bi(l,10).disabled.toString(),bi(l,10).errorState,bi(l,10).multiple,bi(l,10).role,bi(l,10).disabled,bi(l,10).errorState,bi(l,10).required,bi(l,10).ariaOrientation,bi(l,10)._uid])}))}function T5(n){return jo(0,[(n()(),_o(0,0,null,null,21,"div",[["class","customFieldsTypesItem"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["class","addCustomFieldTypeContainer"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addCustomField(n.context.$implicit)&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fas fa-plus-circle fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(6,0,null,null,15,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"div",[["style","color: rgba(0,0,0,0.54);"]],null,null,null,null,null)),(n()(),Lo(8,null,[""," :"])),(n()(),vo(16777216,null,null,2,null,k5)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(11,3),(n()(),vo(16777216,null,null,1,null,S5)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,A5)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,M5)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,D5)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,O5)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,"primary"),n(l,5,0);var e=n(l,11,0,"string","banAutocomplete","contact").indexOf(l.context.$implicit.type)>-1;n(l,10,0,e),n(l,13,0,"integer"===l.context.$implicit.type),n(l,15,0,"select"===l.context.$implicit.type),n(l,17,0,"date"===l.context.$implicit.type),n(l,19,0,"radio"===l.context.$implicit.type),n(l,21,0,"checkbox"===l.context.$implicit.type)}),(function(n,l){n(l,2,0,l.component.lang.add,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color),n(l,8,0,l.context.$implicit.label)}))}function L5(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),(n()(),_o(1,0,null,null,31,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(5,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(6,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(7,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(11,114688,null,0,GO,[_u],null,null),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(14,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(15,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,a5)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,C5)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,0,10,"mat-sidenav",[["class","col-md-4 col-sm-12 customFielsdPanel mat-drawer mat-sidenav"],["fixedTopGap","56"],["opened",""],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,23)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,23)._animationDoneListener(e)&&t),t}),zO,qO)),Di(23,3325952,[[2,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(24,0,null,0,8,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(25,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,77,{_tabs:1}),(n()(),_o(27,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(28,770048,[[77,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,78,{templateLabel:0}),ko(335544320,79,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,T5)),Di(32,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0),n(l,11,0),n(l,14,0),n(l,19,0,e.loading),n(l,21,0,!e.loading),n(l,23,0,"end",e.appService.getViewMode()?"over":"side","",e.appService.getViewMode(),"56"),n(l,28,0,e.lang.customFieldsTypesAvailable),n(l,32,0,e.customFieldsTypes)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,5,0,bi(l,6)._container._contentMargins.left,bi(l,6)._container._contentMargins.right),n(l,8,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,22,0,null,"end"===bi(l,23).position,"over"===bi(l,23).mode,"push"===bi(l,23).mode,"side"===bi(l,23).mode,bi(l,23).opened,bi(l,23).fixedInViewport,bi(l,23).fixedInViewport?bi(l,23).fixedTopGap:null,bi(l,23).fixedInViewport?bi(l,23).fixedBottomGap:null,bi(l,23)._animationState),n(l,24,0,bi(l,25).dynamicHeight,"below"===bi(l,25).headerPosition)}))}function R5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,L5,i5)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,null,0,t5,[nS,tu,Jv,_u,yu,HS,$S],null,null)],(function(n,l){n(l,3,0)}),null)}var N5=oi("ng-component",t5,R5,{},{},[]),j5=function(){function n(n,l,e,t,i){this.data=n,this.dialogRef=l,this.http=e,this.notify=t,this.sortPipe=i,this.lang=Kr,this.title=this.lang.delete,this.indexingModels=[],this.modelIds=[],this.mainIndexingModel={used:[]},this.resetFields=[],this.statuses=[],this.customFields=[],this.availableFields=[{identifier:"doctype",label:this.lang.doctype},{identifier:"subject",label:this.lang.subject},{identifier:"recipients",label:this.lang.getRecipients},{identifier:"priority",label:this.lang.priority},{identifier:"confidentiality",label:this.lang.confidential},{identifier:"initiator",label:this.lang.initiatorEntityAlt},{identifier:"departureDate",label:this.lang.departureDate},{identifier:"processLimitDate",label:this.lang.processLimitDate},{identifier:"tags",label:this.lang.tags},{identifier:"senders",label:this.lang.getSenders},{identifier:"destination",label:this.lang.destination},{identifier:"folders",label:this.lang.folders},{identifier:"documentDate",label:this.lang.docDate},{identifier:"arrivalDate",label:this.lang.arrivalDate}],this.loading=!0,this.mainIndexingModel.id=n.indexingModel.id}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.loadIndexingModelFields()];case 1:return n.sent(),this.mainIndexingModel.used.length>0?(this.title=this.lang.indexingModelReassign,[4,this.loadIndexingModels()]):[3,5];case 2:return n.sent(),[4,this.loadStatuses()];case 3:return n.sent(),[4,this.loadCustomFields()];case 4:n.sent(),this.formatFields(),n.label=5;case 5:return this.loading=!1,[2]}}))}))},n.prototype.loadIndexingModels=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/indexingModels").pipe(q((function(n){return n.indexingModels.filter((function(n){return!1===n.private}))})),Yr((function(l){n.indexingModels=l,n.sortPipe.transform(n.indexingModels,"label"),n.modelIds=n.indexingModels.map((function(n){return n.id}))})),iu((function(){return l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.loadIndexingModelFields=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/indexingModels/"+n.mainIndexingModel.id+"?used=true").pipe(Yr((function(l){n.mainIndexingModel.used=l.indexingModel.used,n.mainIndexingModelFields=l.indexingModel.fields})),Yr((function(){return l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.formatFields=function(){var n=this;this.mainIndexingModelFields=this.mainIndexingModelFields.map((function(l){var e=n.availableFields.find((function(n){return n.identifier===l.identifier}));return l.label=void 0===e?n.lang.undefined:e.label,l}))},n.prototype.loadStatuses=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/statuses").pipe(Yr((function(l){n.statuses=l.statuses,n.mainIndexingModel.used.forEach((function(l){var e=n.statuses.find((function(n){return n.id===l.status}));void 0!==e&&(l.status=e.label_status)}))})),iu((function(){return l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.loadCustomFields=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/customFields").pipe(Yr((function(l){l.customFields=l.customFields.map((function(n){return{identifier:"indexingCustomField_"+n.id,label:n.label}})),l.customFields.forEach((function(l){n.availableFields.push(l)})),n.sortPipe.transform(n.availableFields,"label")})),iu((function(){return l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.changeModel=function(n){var l=this;this.selectedModelId=n.value,this.http.get("../../rest/indexingModels/"+this.selectedModelId).pipe(Yr((function(n){l.selectedModelFields=n.indexingModel.fields,l.resetFields=l.mainIndexingModelFields.filter((function(n){return void 0===l.selectedModelFields.find((function(l){return l.identifier===n.identifier}))})),l.sortPipe.transform(l.resetFields,"label")})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.isValid=function(){return!this.loading&&(0===this.mainIndexingModel.used.length||void 0!==this.selectedModelId)},n.prototype.onSubmit=function(){var n=this;0===this.mainIndexingModel.used.length?this.http.delete("../../rest/indexingModels/"+this.mainIndexingModel.id).pipe(Yr((function(){n.notify.success(n.lang.indexingModelDeleted),n.dialogRef.close("ok")})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.http.request("DELETE","../../rest/indexingModels/"+this.mainIndexingModel.id,{body:{targetId:this.selectedModelId}}).pipe(Yr((function(){n.notify.success(n.lang.indexingModelDeleted),n.dialogRef.close("ok")})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),V5=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.viewContainerRef=o,this.lang=Kr,this.search=null,this.indexingModels=[],this.loading=!1,this.displayedColumns=["id","category","label","private","default","enabled","actions"],this.dataSource=new mR(this.indexingModels)}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["id","label"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/indexingModels?showDisabled=true&admin=true").pipe(q((function(n){return n.indexingModels.filter((function(n){return null===n.master}))})),Yr((function(l){n.indexingModels=l,n.headerService.setHeader(n.lang.administration+" "+n.lang.indexingModels),setTimeout((function(){n.dataSource=new mR(n.indexingModels),n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="label",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.delete=function(n){var l=this;this.dialogRef=this.dialog.open(j5,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{indexingModel:n}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){for(var e in l.indexingModels)l.indexingModels[e].id===n.id&&l.indexingModels.splice(Number(e),1);l.dataSource=new mR(l.indexingModels),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.disableIndexingModel=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.disable,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.request("PUT","../../rest/indexingModels/"+n.id+"/disable")})),Yr((function(e){for(var t in l.indexingModels)l.indexingModels[t].id==n.id&&(l.indexingModels[t].enabled=!1);l.notify.success(l.lang.indexingModelDisabled)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.enableIndexingModel=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.enable,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.request("PUT","../../rest/indexingModels/"+n.id+"/enable")})),Yr((function(e){for(var t in l.indexingModels)l.indexingModels[t].id==n.id&&(l.indexingModels[t].enabled=!0);l.notify.success(l.lang.indexingModelEnabled)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n}(),q5=yt({encapsulation:0,styles:[[".dataLabelWarn[_ngcontent-%COMP%]{color:#8e3e52}.dataLabelPrimary[_ngcontent-%COMP%]{color:#135f7f}.label[_ngcontent-%COMP%]{font-size:75%;font-weight:700}"]],data:{}});function z5(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/indexingModels/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/indexingModels/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function U5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function B5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.technicalId)}))}function $5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.id)}))}function H5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.category_id)}))}function G5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang[l.context.$implicit.category])}))}function W5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function K5(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.label)}))}function Y5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.perimeter)}))}function J5(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,4,"span",[["class","label"]],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(4,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(5,{dataLabelWarn:0,dataLabelPrimary:1}),(n()(),Lo(6,null,["",""]))],(function(n,l){var e=n(l,5,0,l.context.$implicit.private,!l.context.$implicit.private);n(l,4,0,"label",e)}),(function(n,l){var e=l.component;n(l,6,0,l.context.$implicit.private?e.lang.private:e.lang.public)}))}function Z5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.default)}))}function Q5(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,4,"span",[["class","label"]],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(4,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(5,{dataLabelWarn:0,dataLabelPrimary:1}),(n()(),Lo(6,null,["",""]))],(function(n,l){var e=n(l,5,0,!l.context.$implicit.default,l.context.$implicit.default);n(l,4,0,"label",e)}),(function(n,l){var e=l.component;n(l,6,0,l.context.$implicit.default?e.lang.yes:e.lang.no)}))}function X5(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.status)}))}function n9(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label dataLabelPrimary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.active)}))}function l9(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label dataLabelWarn"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.inactive)}))}function e9(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,n9)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,l9)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,l.context.$implicit.enabled),n(l,5,0,!l.context.$implicit.enabled)}),null)}function t9(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function i9(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.disableIndexingModel(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-pause fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.suspend,"")),n(l,2,0,l.parent.context.$implicit.default,"primary"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function a9(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","accent"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.enableIndexingModel(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-check fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.authorize,"")),n(l,2,0,"accent"),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function o9(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,i9)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,a9)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,7).show()&&t),"keydown"===l&&(t=!1!==bi(n,7)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,7)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.delete(n.context.$implicit)&&t),t}),PC,MC)),Di(7,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(9,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,3,0,l.context.$implicit.enabled),n(l,5,0,!l.context.$implicit.enabled),n(l,7,0,Wt(1,"",e.lang.delete,"")),n(l,8,0,l.context.$implicit.default,"warn"),n(l,10,0)}),(function(n,l){n(l,6,0,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color)}))}function r9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function u9(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/indexingModels/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function s9(n){return jo(0,[(n()(),_o(0,0,null,null,127,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,16)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,16)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,16)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(16,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(18,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(20,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(21,0,null,0,104,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(23,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(28,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(29,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(31,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,B5)),Di(37,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,$5)),Di(40,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(42,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(44,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,H5)),Di(50,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,G5)),Di(53,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(55,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(57,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,W5)),Di(63,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,K5)),Di(66,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),_o(68,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(70,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Y5)),Di(76,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,J5)),Di(79,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),_o(81,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(83,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,34,{cell:0}),ko(603979776,35,{headerCell:0}),ko(603979776,36,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Z5)),Di(89,16384,null,0,tR,[Xe],null,null),Ei(2048,[[35,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Q5)),Di(92,16384,null,0,eR,[Xe],null,null),Ei(2048,[[34,4]],OL,null,[eR]),(n()(),_o(94,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(96,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,37,{cell:0}),ko(603979776,38,{headerCell:0}),ko(603979776,39,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,X5)),Di(102,16384,null,0,tR,[Xe],null,null),Ei(2048,[[38,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,e9)),Di(105,16384,null,0,eR,[Xe],null,null),Ei(2048,[[37,4]],OL,null,[eR]),(n()(),_o(107,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(109,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,40,{cell:0}),ko(603979776,41,{headerCell:0}),ko(603979776,42,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,t9)),Di(115,16384,null,0,tR,[Xe],null,null),Ei(2048,[[41,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,o9)),Di(118,16384,null,0,eR,[Xe],null,null),Ei(2048,[[40,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,r9)),Di(121,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,u9)),Di(124,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(126,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;min-height: 48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(127,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,16,0,Wt(1,"",e.lang.filterBy,"")),n(l,20,0,100,10,!0),n(l,23,0,e.dataSource),n(l,28,0,"label","asc"),n(l,31,0,"id"),n(l,44,0,"category"),n(l,57,0,"label"),n(l,70,0,"private"),n(l,83,0,"default"),n(l,96,0,"enabled"),n(l,109,0,"actions"),n(l,121,0,e.displayedColumns),n(l,124,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,15,0,bi(l,16)._isServer,bi(l,16).id,bi(l,16).placeholder,bi(l,16).disabled,bi(l,16).required,bi(l,16).readonly&&!bi(l,16)._isNativeSelect||null,bi(l,16)._ariaDescribedby||null,bi(l,16).errorState,bi(l,16).required.toString()),n(l,127,0,e.indexingModels.length,e.lang.indexingModels)}))}function c9(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,z5)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,U5)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,s9)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function d9(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,c9,q5)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,V5,[nS,tu,_u,yu,Jv,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var p9=oi("ng-component",V5,d9,{},{},[]),m9=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.privilegeService=l,this.data=e,this.dialogRef=t,this.headerService=i,this.dialog=a,this.notify=o,this.renderer=r,this.lang=Kr,this.creationMode=!0,this.canUpdate=!1,this.contact=null,this.mode="read",this.loadedDocument=!1}return n.prototype.ngOnInit=function(){var n=this;null!==this.data.contactId?(this.contact={id:this.data.contactId,type:this.data.contactType},this.creationMode=!1):(this.creationMode=!0,this.mode="update","update"===this.mode&&($j(".maarch-modal").css({height:"99vh"}),$j(".maarch-modal").css({width:"99vw"})),null!==this.headerService.getLastLoadedFile()&&(this.drawer.toggle(),setTimeout((function(){n.loadedDocument=!0}),200))),this.canUpdate=this.privilegeService.hasCurrentUserPrivilege("update_contacts")},n.prototype.switchMode=function(){var n=this;this.mode="read"===this.mode?"update":"read","update"===this.mode&&($j(".maarch-modal").css({height:"99vh"}),$j(".maarch-modal").css({width:"99vw"})),null!==this.headerService.getLastLoadedFile()&&(this.drawer.toggle(),setTimeout((function(){n.loadedDocument=!0}),200))},n.prototype.linkContact=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.linkContact,msg:this.lang.goToContact}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){return[2,this.dialogRef.close(n)]}))}))})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n}(),f9=function(){function n(n,l,e,t,i,a,o,r,u){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.latinisePipe=a,this.privilegeService=o,this.contactService=r,this.functions=u,this.lang=Kr,this.loading=!1,this.loadingValues=!0,this.key="id",this.canAdd=!1,this.canUpdate=!1,this.noResultFound=null,this.myControl=new sy,this.valuesToDisplay={},this.newIds=[],this.customFields=[],this.singleMode=!1,this.retrieveDocumentEvent=new la,this.afterContactSelected=new la,this.removeContactEvent=new la}return n.prototype.ngOnInit=function(){this.controlAutocomplete.setValue(null===this.controlAutocomplete.value||""===this.controlAutocomplete.value?[]:this.controlAutocomplete.value),this.canAdd=this.privilegeService.hasCurrentUserPrivilege("create_contacts"),this.canUpdate=this.privilegeService.hasCurrentUserPrivilege("update_contacts"),this.getCustomFields(),this.initFormValue(),this.initAutocompleteRoute()},n.prototype.initAutocompleteRoute=function(){var n=this;this.listInfo=this.lang.autocompleteInfo,this.options=[],this.myControl.valueChanges.pipe(Yr((function(){n.noResultFound=null,n.options=[],n.listInfo=n.lang.autocompleteInfo})),Sh(300),tc((function(n){return n.length>2})),Yr((function(){return n.loading=!0})),Sc((function(l){return n.getDatas(l)})),q((function(l){return(l=l.filter((function(l){return!n.singleMode||"entity"!==l.type&&"contactGroup"!==l.type&&n.singleMode}))).map((function(l){return Object(t.__assign)({},l,{civility:n.contactService.formatCivilityObject(l.civility),fillingRate:n.contactService.formatFillingObject(l.fillingRate),customFields:void 0!==l.customFields?n.formatCustomField(l.customFields):[]})}))})),Yr((function(l){0===l.length?(n.noResultFound=!0,n.listInfo=n.lang.noAvailableValue):(n.noResultFound=!1,n.listInfo=""),n.options=l,n.filteredOptions=lu(n.options),n.loading=!1}))).subscribe()},n.prototype.getCustomFields=function(){var n=this;this.http.get("../../rest/contactsCustomFields").pipe(Yr((function(l){n.customFields=l.customFields.map((function(n){return{id:n.id,label:n.label}}))}))).subscribe()},n.prototype.formatCustomField=function(n){var l=this,e=[];return Object.keys(n).forEach((function(t){e.push({label:l.customFields.filter((function(n){return n.id==t}))[0].label,value:n[t]})})),e},n.prototype.getDatas=function(n){return this.http.get("../../rest/autocomplete/correspondents",{params:{search:n}})},n.prototype.selectOpt=function(n){this.setFormValue(n.option.value),this.myControl.setValue(""),this.afterContactSelected.emit(n.option.value)},n.prototype.initFormValue=function(){var n=this;this.controlAutocomplete.value.forEach((function(l){n.valuesToDisplay[l.id]={type:"",firstname:"",lastname:n.lang.undefined,company:"",fillingRate:{color:""}},"contact"===l.type?n.http.get("../../rest/contacts/"+l.id).pipe(Yr((function(l){n.valuesToDisplay[l.id]={type:"contact",firstname:l.firstname,lastname:l.lastname,company:l.company,fillingRate:n.functions.empty(l.fillingRate)?"":{color:n.contactService.getFillingColor(l.fillingRate.thresholdLevel)}}})),iu((function(){return n.loadingValues=!1})),Qr((function(l){return n.notify.error(l.error.errors),lu(!1)}))).subscribe():"user"===l.type?n.http.get("../../rest/users/"+l.id).pipe(Yr((function(l){n.valuesToDisplay[l.id]={type:"user",firstname:l.firstname,lastname:l.lastname,fillingRate:{color:""}}})),iu((function(){return n.loadingValues=!1})),Qr((function(l){return n.notify.error(l.error.errors),lu(!1)}))).subscribe():"entity"===l.type&&n.http.get("../../rest/entities/"+l.id).pipe(Yr((function(l){n.valuesToDisplay[l.id]={type:"entity",lastname:l.entity_label,fillingRate:{color:""}}})),iu((function(){return n.loadingValues=!1})),Qr((function(l){return n.notify.error(l.error.errors),lu(!1)}))).subscribe()}))},n.prototype.setFormValue=function(n){var l=this;"contactGroup"===n.type?this.http.get("../../rest/contactsGroups/"+n.id).pipe(q((function(n){return n.contactsGroup.contacts.map((function(n){return{id:n.id,type:n.type,lastname:n.contact,fillingRate:l.functions.empty(n.thresholdLevel)?"":{color:l.contactService.getFillingColor(n.thresholdLevel)}}}))})),Yr((function(n){n.forEach((function(n){l.setContact(n)}))})),iu((function(){return l.loadingValues=!1})),Qr((function(n){return console.log(n),l.notify.error(n.error.errors),lu(!1)}))).subscribe():this.setContact(n)},n.prototype.setContact=function(n){if(-1===this.controlAutocomplete.value.map((function(n){return n.id})).indexOf(n.id)){var l=[];null!==this.controlAutocomplete.value&&(l=this.controlAutocomplete.value),l.push({type:n.type,id:n.id}),this.valuesToDisplay[n.id]=n,this.controlAutocomplete.setValue(l),this.loadingValues=!1}},n.prototype.resetAutocomplete=function(){this.options=[],this.listInfo=this.lang.autocompleteInfo,this.myControl.setValue("")},n.prototype._filter=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.options.filter((function(n){return l.latinisePipe.transform(n[l.key].toLowerCase()).includes(e)}))}return this.options},n.prototype.unsetValue=function(){this.controlAutocomplete.setValue(""),this.myControl.setValue(""),this.myControl.enable()},n.prototype.removeItem=function(n){var l=this;if(this.removeContactEvent.emit(this.controlAutocomplete.value[n].id),-1===this.newIds.indexOf(this.controlAutocomplete.value[n])){var e=this.controlAutocomplete.value;this.controlAutocomplete.value.splice(n,1),this.controlAutocomplete.setValue(e)}else this.http.delete("../../rest/tags/"+this.controlAutocomplete.value[n]).pipe(Yr((function(e){var t=l.controlAutocomplete.value;l.controlAutocomplete.value.splice(n,1),l.controlAutocomplete.setValue(t)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.openContact=function(n){var l=this;void 0===n&&(n=null),this.retrieveDocumentEvent.emit(),this.dialog.open(m9,{maxWidth:"100vw",width:null===n?"99vw":"auto",panelClass:null===n?"maarch-full-height-modal":"maarch-modal",disableClose:!0,data:{editMode:this.canUpdate,contactId:null!==n?n.id:null,contactType:null!==n?n.type:null}}).afterClosed().pipe(tc((function(n){return void 0!==n})),Yr((function(n){l.setFormValue({type:"contact",id:n}),l.initFormValue()})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.empty=function(n){return null===n||""===n||void 0===n},n.prototype.resetAll=function(){this.controlAutocomplete.setValue([]),this.removeContactEvent.emit(!1),this.valuesToDisplay={}},n}(),h9=yt({encapsulation:0,styles:[[".smallInputInfo[_ngcontent-%COMP%]{font-size:9px;white-space:normal;line-height:13px;display:table-cell;vertical-align:middle;text-align:center}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{color:#1a80ab;background-color:#fff;border:1px solid #1a80ab}.noResult[_ngcontent-%COMP%]{text-align:center;font-style:italic;opacity:.5}.listAutocomplete[_ngcontent-%COMP%]{cursor:pointer;height:auto}.itemChip[_ngcontent-%COMP%]{display:block;width:95%}.itemChip[_ngcontent-%COMP%] .mat-chip-list-wrapper{margin:0}.mat-card[_ngcontent-%COMP%]{padding:0;margin:5px}.mat-card[_ngcontent-%COMP%]:hover{box-shadow:inset 0 0 5px 0 rgba(0,0,0,.12)}.itemList[_ngcontent-%COMP%]{padding-top:10px;overflow-x:hidden;max-height:165px}.mat-list[_ngcontent-%COMP%]{padding:0}.mat-option[_ngcontent-%COMP%]:not(.smallInputInfo){white-space:initial;line-height:initial;height:auto;padding:0}.mat-option[_ngcontent-%COMP%]:hover{background:initial}.contact-card[_ngcontent-%COMP%]{width:100%;margin-top:10px;margin-bottom:10px;padding:0;box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-card-header[_ngcontent-%COMP%]{background:#f9f9f9;padding:10px 10px 5px}.contact-header[_ngcontent-%COMP%] .mat-card-header-text{overflow:hidden;text-overflow:ellipsis}.contact-item[_ngcontent-%COMP%]{height:20px!important}.contact-item[_ngcontent-%COMP%] .mat-list-text{padding-left:0!important}.mat-card-title[_ngcontent-%COMP%]{font-size:13px}.mat-card-subtitle[_ngcontent-%COMP%]{white-space:pre;text-overflow:ellipsis;overflow:hidden;font-size:10px;margin-bottom:0}.contact-header-image[_ngcontent-%COMP%]{background:#135f7f;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:10px;color:#fff;height:24px;width:24px}.contact-group[_ngcontent-%COMP%]{color:#135f7f;font-size:10px!important;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding:0!important;margin:0}.mat-list-item-content[_ngcontent-%COMP%]{padding:0}.contact-content[_ngcontent-%COMP%]{font-size:10px!important;color:#337ab7}.contact-address[_ngcontent-%COMP%]{height:auto!important;padding-top:5px;padding-bottom:5px}.contact-address[_ngcontent-%COMP%] .mat-list-text{padding-left:0!important}.contact-address[_ngcontent-%COMP%] .mat-list-item-content{padding-top:0!important;padding-bottom:0!important}.contact-filling[_ngcontent-%COMP%]{position:absolute;right:8px;border-radius:10px}.create-contact[_ngcontent-%COMP%]{text-align:center;-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;height:auto;position:-webkit-sticky;position:sticky;bottom:0;width:auto;padding:0;background:#fff;box-shadow:1px 0 2px 0 rgba(0,0,0,.12);font-size:11px}"],tN],data:{}});function g9(n){return jo(0,[(n()(),_o(0,0,null,null,1,"sup",[["style","color: #666;"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," "]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.civility.abbreviation)}))}function b9(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-card-title",[["class","mat-card-title"]],[[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,_O,[],null,null),(n()(),vo(16777216,null,null,1,null,g9)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(4,null,[""," ",""]))],(function(n,l){n(l,3,0,!l.component.empty(l.parent.context.$implicit.civility.abbreviation))}),(function(n,l){n(l,0,0,l.parent.context.$implicit.civility.label+" "+l.parent.context.$implicit.firstname+" "+l.parent.context.$implicit.lastname),n(l,4,0,l.parent.context.$implicit.firstname,l.parent.context.$implicit.lastname)}))}function v9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],[[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,_O,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,0,0,l.parent.context.$implicit.company),n(l,2,0,l.parent.context.$implicit.company)}))}function _9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],[[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,yO,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.parent.context.$implicit.function),n(l,2,0,l.parent.context.$implicit.function)}))}function y9(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","contact-filling fa fa-circle"]],[[8,"title",0],[4,"color",null]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.contactsFillingRate+" : "+l.parent.context.$implicit.fillingRate.rate+"%",l.parent.context.$implicit.fillingRate.color)}))}function w9(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group far fa-building mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[15,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.contactsParameters_company,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,l.parent.context.$implicit.company),n(l,10,0,l.parent.context.$implicit.company)}))}function x9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(1,16384,[[16,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" (",") "]))],null,(function(n,l){n(l,0,0,l.parent.parent.context.$implicit.addressAdditional1),n(l,2,0,l.parent.parent.context.$implicit.addressAdditional1)}))}function C9(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,16,{_lines:1}),ko(603979776,17,{_avatar:0}),ko(603979776,18,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fa fa-sitemap mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[18,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[16,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),vo(16777216,null,1,1,null,x9)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0),n(l,12,0,!e.empty(l.parent.context.$implicit.addressAdditional1))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.contactsParameters_department,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,l.parent.context.$implicit.department),n(l,10,0,l.parent.context.$implicit.department)}))}function k9(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,19,{_lines:1}),ko(603979776,20,{_avatar:0}),ko(603979776,21,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group far fa-envelope mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[21,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[19,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.email,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,l.parent.context.$implicit.email),n(l,10,0,l.parent.context.$implicit.email)}))}function S9(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,22,{_lines:1}),ko(603979776,23,{_avatar:0}),ko(603979776,24,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-phone mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[24,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[22,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.phoneNumber,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,l.parent.context.$implicit.phone),n(l,10,0,l.parent.context.$implicit.phone)}))}function I9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(1,16384,[[25,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "," "]))],null,(function(n,l){n(l,0,0,l.parent.parent.context.$implicit.addressStreet),n(l,2,0,l.parent.parent.context.$implicit.addressNumber,l.parent.parent.context.$implicit.addressStreet)}))}function A9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(1,16384,[[25,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" (",") "]))],null,(function(n,l){n(l,0,0,l.parent.parent.context.$implicit.addressAdditional2),n(l,2,0,l.parent.parent.context.$implicit.addressAdditional2)}))}function M9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(1,16384,[[25,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "," "]))],null,(function(n,l){n(l,0,0,l.parent.parent.context.$implicit.addressPostcode+" "+l.parent.parent.context.$implicit.addressTown),n(l,2,0,l.parent.parent.context.$implicit.addressPostcode,l.parent.parent.context.$implicit.addressTown)}))}function P9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(1,16384,[[25,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.parent.parent.context.$implicit.addressCountry),n(l,2,0,l.parent.parent.context.$implicit.addressCountry)}))}function D9(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-list-item",[["class","contact-address mat-list-item"]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,25,{_lines:1}),ko(603979776,26,{_avatar:0}),ko(603979776,27,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-map-marker-alt mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[27,4]],0,iI,[],null,null),(n()(),vo(16777216,null,1,1,null,I9)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,A9)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,M9)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,P9)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0),n(l,9,0,!e.empty(l.parent.context.$implicit.addressNumber)||!e.empty(l.parent.context.$implicit.addressStreet)),n(l,11,0,!e.empty(l.parent.context.$implicit.addressAdditional2)),n(l,13,0,!e.empty(l.parent.context.$implicit.addressPostcode)||!e.empty(l.parent.context.$implicit.addressTown)),n(l,15,0,!e.empty(l.parent.context.$implicit.addressCountry))}),(function(n,l){n(l,0,0,l.component.lang.address,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function F9(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,28,{_lines:1}),ko(603979776,29,{_avatar:0}),ko(603979776,30,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group far fa-sticky-note mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[30,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[28,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.note,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,l.parent.context.$implicit.notes),n(l,10,0,l.parent.context.$implicit.notes)}))}function E9(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,31,{_lines:1}),ko(603979776,32,{_avatar:0}),ko(603979776,33,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-hashtag mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[33,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[31,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,l.parent.context.$implicit.label,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,l.parent.context.$implicit.value),n(l,10,0,l.parent.context.$implicit.value)}))}function O9(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,E9)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,null!==l.context.$implicit.value)}),null)}function T9(n){return jo(0,[(n()(),_o(0,0,null,null,33,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,31,"mat-card",[["class","mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(3,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(4,0,null,0,11,"mat-card-header",[["class","contact-header mat-card-header"]],null,null,null,MO,AO)),Di(5,49152,null,0,CO,[],null,null),(n()(),_o(6,0,null,0,1,"div",[["class","contact-header-image fa mat-card-avatar"],["mat-card-avatar",""]],[[2,"fa-address-card",null],[2,"fa-users",null],[2,"fa-sitemap",null],[2,"fa-user",null],[8,"title",0]],null,null,null,null)),Di(7,16384,null,0,wO,[],null,null),(n()(),vo(16777216,null,1,1,null,b9)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,v9)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,_9)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,y9)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,0,17,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Di(17,16384,null,0,vO,[],null,null),(n()(),_o(18,0,null,null,15,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(19,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,w9)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,C9)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,k9)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,S9)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,D9)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,F9)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,O9)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,l.context.$implicit),n(l,9,0,!e.empty(l.context.$implicit.firstname)||!e.empty(l.context.$implicit.lastname)),n(l,11,0,e.empty(l.context.$implicit.firstname)&&e.empty(l.context.$implicit.lastname)),n(l,13,0,!e.empty(l.context.$implicit.function)),n(l,15,0,"contact"===l.context.$implicit.type&&!e.empty(l.context.$implicit.fillingRate.rate)),n(l,21,0,!(e.empty(l.context.$implicit.firstname)&&e.empty(l.context.$implicit.lastname)||e.empty(l.context.$implicit.company))),n(l,23,0,!e.empty(l.context.$implicit.department)),n(l,25,0,!e.empty(l.context.$implicit.email)),n(l,27,0,!e.empty(l.context.$implicit.phone)),n(l,29,0,!(e.empty(l.context.$implicit.addressNumber)&&e.empty(l.context.$implicit.addressStreet)&&e.empty(l.context.$implicit.addressAdditional2)&&e.empty(l.context.$implicit.addressPostcode)&&e.empty(l.context.$implicit.addressTown)&&e.empty(l.context.$implicit.addressCountry))),n(l,31,0,!e.empty(l.context.$implicit.notes)),n(l,33,0,l.context.$implicit.customFields)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,"NoopAnimations"===bi(l,3)._animationMode),n(l,6,0,"contact"===l.context.$implicit.type,"contactGroup"===l.context.$implicit.type,"entity"===l.context.$implicit.type,"user"===l.context.$implicit.type,e.lang["contact_"+l.context.$implicit.type])}))}function L9(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,T9)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.filteredOptions)))}),null)}function R9(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.listInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function N9(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"],["style","text-align: center;display: block;padding: 10px;"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function j9(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","autoCompleteInfoResult smallInputInfo create-contact"],["disabled",""]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"a",[["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.openContact()&&t),t}),null,null)),(n()(),_o(2,0,null,null,2,"mat-icon",[["class","fas fa-plus-circle mat-icon notranslate"],["matSuffix",""],["role","img"],["style","padding-top: 5px"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,16384,null,0,oT,[],null,null),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),Lo(5,null,[" "," "]))],(function(n,l){n(l,4,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color),n(l,5,0,e.lang.createContact)}))}function V9(n){return jo(0,[(n()(),_o(0,0,null,null,37,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["matPrefix",""],["role","img"],["style","padding-left: 20px;font-size: 15px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,16384,[[9,4]],0,aT,[],null,null),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(14,16777216,[[1,0],["autoCompleteInput",1]],1,10,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["type","text"]],[[1,"maxlength",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,18)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,18)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,18)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,18)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),"click"===l&&(e.stopPropagation(),t=!1!==(i.noResultFound=null)&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(16,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Di(18,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(20,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Di(23,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(25,0,null,1,12,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectOpt(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(27,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,L9)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,R9)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,N9)),Di(35,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,j9)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,13,0,"primary"),n(l,16,0,"128"),n(l,18,0,bi(l,27)),n(l,20,0,e.myControl),n(l,23,0,e.lang.searchContact,"text"),n(l,31,0,e.options.length>0&&!e.loading),n(l,33,0,0===e.options.length&&!e.loading),n(l,35,0,e.loading),n(l,37,0,e.canAdd&&(null!==e.noResultFound||e.options.length>0)&&!e.loading)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,14,1,[bi(l,16).maxlength?bi(l,16).maxlength:null,bi(l,18).autocompleteAttribute,bi(l,18).autocompleteDisabled?null:"combobox",bi(l,18).autocompleteDisabled?null:"list",bi(l,18).panelOpen&&bi(l,18).activeOption?bi(l,18).activeOption.id:null,bi(l,18).autocompleteDisabled?null:bi(l,18).panelOpen.toString(),bi(l,18).autocompleteDisabled||!bi(l,18).panelOpen?null:null==bi(l,18).autocomplete?null:bi(l,18).autocomplete.id,!bi(l,18).autocompleteDisabled,bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString()])}))}function q9(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","text-align: right;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"button",[["color","warn"],["mat-button",""],["style","font-size: 10px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.resetAll()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"warn")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang.deleteAll)}))}function z9(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.valuesToDisplay[l.parent.context.$implicit.id].firstname)}))}function U9(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" (",")"]))],null,(function(n,l){n(l,1,0,l.component.valuesToDisplay[l.parent.context.$implicit.id].company)}))}function B9(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-circle"],["style","font-size: 9px;"]],[[4,"color",null]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.valuesToDisplay[l.parent.context.$implicit.id].fillingRate.color)}))}function $9(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[37,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function H9(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-chip",[["class","listAutocomplete mat-chip"],["color","default"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeItem(n.context.index)&&t),"click"===l&&(t=!1!==i.openContact(n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[34,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,35,{avatar:0}),ko(603979776,36,{trailingIcon:0}),ko(603979776,37,{removeIcon:0}),(n()(),_o(5,0,null,null,6,"span",[["style","display: flex;flex: 1;align-items: center;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,0,"i",[["class","fa"],["style","padding-right:5px;"]],[[2,"fa-address-card",null],[2,"fa-sitemap",null],[2,"fa-user",null],[8,"title",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,z9)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(9,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,U9)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,B9)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$9)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"default",!e.controlAutocomplete.disabled),n(l,8,0,!e.empty(e.valuesToDisplay[l.context.$implicit.id].firstname)),n(l,11,0,!e.empty(e.valuesToDisplay[l.context.$implicit.id].company)),n(l,13,0,!e.functions.empty(e.valuesToDisplay[l.context.$implicit.id].fillingRate.color)),n(l,15,0,!e.controlAutocomplete.disabled)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,6,0,"contact"===e.valuesToDisplay[l.context.$implicit.id].type,"entity"===e.valuesToDisplay[l.context.$implicit.id].type,"user"===e.valuesToDisplay[l.context.$implicit.id].type,e.lang[e.valuesToDisplay[l.context.$implicit.id].type]),n(l,9,0,e.valuesToDisplay[l.context.$implicit.id].lastname)}))}function G9(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,H9)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.controlAutocomplete.value)}),null)}function W9(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip-list",[["class","mat-chip-list-stacked itemChip mat-chip-list"],["color","default"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,2)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(2,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,34,{chips:1}),(n()(),vo(16777216,null,0,1,null,G9)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,5,0,!e.loadingValues)}),(function(n,l){n(l,0,1,[bi(l,2).disabled?null:bi(l,2)._tabIndex,bi(l,2)._ariaDescribedby||null,bi(l,2).required.toString(),bi(l,2).disabled.toString(),bi(l,2).errorState,bi(l,2).multiple,bi(l,2).role,bi(l,2).disabled,bi(l,2).errorState,bi(l,2).required,bi(l,2).ariaOrientation,bi(l,2)._uid])}))}function K9(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noResult"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noSelectedContact)}))}function Y9(n){return jo(0,[ko(402653184,1,{autoCompleteInput:0}),(n()(),_o(1,0,null,null,19,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,3).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,3).onReset()&&t),t}),null,null)),Di(2,16384,null,0,yy,[],null,null),Di(3,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(5,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(6,0,null,null,5,"input",[["type","hidden"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,7)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,7).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,7)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,7)._compositionEnd(e.target.value)&&t),t}),null,null)),Di(7,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(9,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(11,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,V9)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,q9)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,null,4,"div",[["class","itemList"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,W9)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,K9)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,9,0,e.controlAutocomplete),n(l,13,0,!e.controlAutocomplete.disabled&&!e.singleMode||e.singleMode&&0===e.controlAutocomplete.value.length&&!e.controlAutocomplete.disabled),n(l,15,0,e.controlAutocomplete.value.length>=2&&!e.controlAutocomplete.disabled),n(l,18,0,e.controlAutocomplete.value.length>0),n(l,20,0,0===e.controlAutocomplete.value.length)}),(function(n,l){n(l,1,0,bi(l,5).ngClassUntouched,bi(l,5).ngClassTouched,bi(l,5).ngClassPristine,bi(l,5).ngClassDirty,bi(l,5).ngClassValid,bi(l,5).ngClassInvalid,bi(l,5).ngClassPending),n(l,6,0,bi(l,11).ngClassUntouched,bi(l,11).ngClassTouched,bi(l,11).ngClassPristine,bi(l,11).ngClassDirty,bi(l,11).ngClassValid,bi(l,11).ngClassInvalid,bi(l,11).ngClassPending)}))}var J9=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.latinisePipe=a,this.lang=Kr,this.loading=!1,this.key="idToDisplay",this.canAdd=!0,this.myControl=new sy,this.valuesToDisplay={},this.newIds=[]}return n.prototype.ngOnInit=function(){this.controlAutocomplete.setValue(null===this.controlAutocomplete.value||""===this.controlAutocomplete.value?[]:this.controlAutocomplete.value),this.initFormValue(),this.initAutocompleteRoute()},n.prototype.initAutocompleteRoute=function(){var n=this;this.listInfo=this.lang.autocompleteInfo,this.options=[],this.myControl.valueChanges.pipe(Sh(300),tc((function(n){return n.length>2})),Gh(),Yr((function(){return n.loading=!0})),Sc((function(l){return n.getDatas(l)})),Yr((function(l){n.listInfo=0===l.length?n.lang.noAvailableValue:"",n.options=l,n.filteredOptions=lu(n.options),n.loading=!1}))).subscribe()},n.prototype.getDatas=function(n){return this.http.get("../../rest/autocomplete/folders",{params:{search:n}})},n.prototype.selectOpt=function(n){this.setFormValue(n.option.value),this.myControl.setValue("")},n.prototype.initFormValue=function(){var n=this;this.controlAutocomplete.value.forEach((function(l){n.http.get("../../rest/folders/"+l).pipe(Yr((function(l){for(var e in l)n.valuesToDisplay[l[e].id]=l[e].label}))).subscribe()}))},n.prototype.setFormValue=function(n){if(-1===this.controlAutocomplete.value.indexOf(n.id)){var l=[];null!==this.controlAutocomplete.value&&(l=this.controlAutocomplete.value),l.push(n.id),this.valuesToDisplay[n.id]=n[this.key],this.controlAutocomplete.setValue(l)}},n.prototype.resetAutocomplete=function(){this.options=[],this.listInfo=this.lang.autocompleteInfo},n.prototype._filter=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.options.filter((function(n){return l.latinisePipe.transform(n[l.key].toLowerCase()).includes(e)}))}return this.options},n.prototype.unsetValue=function(){this.controlAutocomplete.setValue(""),this.myControl.setValue(""),this.myControl.enable()},n.prototype.removeItem=function(n){var l=this;if(-1===this.newIds.indexOf(this.controlAutocomplete.value[n])){var e=this.controlAutocomplete.value;this.controlAutocomplete.value.splice(n,1),this.controlAutocomplete.setValue(e)}else this.http.delete("../../rest/folders/"+this.controlAutocomplete.value[n]).pipe(Yr((function(e){var t=l.controlAutocomplete.value;l.controlAutocomplete.value.splice(n,1),l.controlAutocomplete.setValue(t)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.addItem=function(){var n=this,l={};l[this.key]=this.myControl.value,this.http.post("../../rest/folders",{label:l[this.key]}).pipe(Yr((function(e){for(var t in e)l.id=e[t],n.newIds.push(e[t]);n.setFormValue(l),n.myControl.setValue("")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n}(),Z9=yt({encapsulation:0,styles:[[".smallInputInfo[_ngcontent-%COMP%]{font-size:9px;white-space:normal;line-height:13px;display:table-cell;vertical-align:middle;text-align:center}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{color:#fff;background-color:#1a80ab}.noResult[_ngcontent-%COMP%]{text-align:center;font-style:italic;opacity:.5}.itemChip[_ngcontent-%COMP%]{display:block;width:95%}.itemChip[_ngcontent-%COMP%] .mat-chip-list-wrapper{margin:0}.itemList[_ngcontent-%COMP%]{padding-top:10px;overflow-x:hidden;max-height:165px}.listAutocomplete[_ngcontent-%COMP%]{height:auto}"],tN],data:{}});function Q9(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-option",[["class","mat-option"],["role","option"]],[[8,"title",0],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"span",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),Lo(-1,0,[" "])),(n()(),_o(5,0,null,0,1,"small",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit[e.key],bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,l.context.$implicit[e.key]),n(l,6,0,l.context.$implicit[e.subInfoKey])}))}function X9(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,3,null,Q9)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(4,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=bt(l,2,0,n(l,4,0,bi(l.parent.parent,0),bt(l,2,0,bi(l,3).transform(e.filteredOptions)),e.key));n(l,2,0,t)}),null)}function nnn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.listInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function lnn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function enn(n){return jo(0,[(n()(),_o(0,0,null,null,38,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["matPrefix",""],["role","img"],["style","padding-left: 20px;font-size: 15px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,16384,[[9,4]],0,aT,[],null,null),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(14,16777216,[[1,0],["autoCompleteInput",1]],1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"focus"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,16)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,16)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,16)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,16)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(16,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(18,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(23,0,null,4,4,"button",[["mat-icon-button",""],["matSuffix",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addItem()&&t),t}),PC,MC)),Di(24,16384,[[10,4]],0,oT,[],null,null),Di(25,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(26,0,null,0,1,"mat-icon",[["class","fa fa-folder-plus mat-icon notranslate"],["role","img"]],[[8,"title",0],[4,"visibility",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(27,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(28,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectOpt(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(30,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,X9)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,nnn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,lnn)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,13,0,"primary"),n(l,16,0,bi(l,30)),n(l,18,0,e.myControl),n(l,21,0,e.lang.searchFolder,"text"),n(l,25,0,!e.canAdd),n(l,27,0),n(l,34,0,e.options.length>0&&!e.loading),n(l,36,0,0===e.options.length&&!e.loading),n(l,38,0,e.loading)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,14,1,[bi(l,16).autocompleteAttribute,bi(l,16).autocompleteDisabled?null:"combobox",bi(l,16).autocompleteDisabled?null:"list",bi(l,16).panelOpen&&bi(l,16).activeOption?bi(l,16).activeOption.id:null,bi(l,16).autocompleteDisabled?null:bi(l,16).panelOpen.toString(),bi(l,16).autocompleteDisabled||!bi(l,16).panelOpen?null:null==bi(l,16).autocomplete?null:bi(l,16).autocomplete.id,!bi(l,16).autocompleteDisabled,bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()]),n(l,23,0,bi(l,25).disabled||null,"NoopAnimations"===bi(l,25)._animationMode),n(l,26,0,e.lang.add,e.canAdd&&null!==e.myControl.value&&e.myControl.value.length>0?"visible":"hidden",bi(l,27).inline,"primary"!==bi(l,27).color&&"accent"!==bi(l,27).color&&"warn"!==bi(l,27).color)}))}function tnn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[16,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function inn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-chip",[["class","listAutocomplete mat-chip"],["color","default"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeItem(n.context.index)&&t),t}),null,null)),Di(1,147456,[[13,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,14,{avatar:0}),ko(603979776,15,{trailingIcon:0}),ko(603979776,16,{removeIcon:0}),(n()(),_o(5,0,null,null,2,"span",[["style","display: flex;flex: 1;align-items: center;"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(6,0,null,null,0,"i",[["class","fa fa-folder-open"],["style","padding-right:5px;"]],null,null,null,null,null)),(n()(),Lo(7,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,tnn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"default",!e.controlAutocomplete.disabled),n(l,9,0,!e.controlAutocomplete.disabled)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.valuesToDisplay[l.context.$implicit]),n(l,7,0,e.valuesToDisplay[l.context.$implicit])}))}function ann(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip-list",[["class","mat-chip-list-stacked itemChip mat-chip-list"],["color","default"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,2)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(2,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,13,{chips:1}),(n()(),vo(16777216,null,0,1,null,inn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,5,0,e.controlAutocomplete.value)}),(function(n,l){n(l,0,1,[bi(l,2).disabled?null:bi(l,2)._tabIndex,bi(l,2)._ariaDescribedby||null,bi(l,2).required.toString(),bi(l,2).disabled.toString(),bi(l,2).errorState,bi(l,2).multiple,bi(l,2).role,bi(l,2).disabled,bi(l,2).errorState,bi(l,2).required,bi(l,2).ariaOrientation,bi(l,2)._uid])}))}function onn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noResult"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noSelectedFolder)}))}function rnn(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{autoCompleteInput:0}),(n()(),_o(2,0,null,null,17,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,5,"input",[["type","hidden"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,8)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,8).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,8)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,8)._compositionEnd(e.target.value)&&t),t}),null,null)),Di(8,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(10,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(12,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,enn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,4,"div",[["class","itemList"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ann)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,onn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,10,0,e.controlAutocomplete),n(l,14,0,!e.controlAutocomplete.disabled),n(l,17,0,e.controlAutocomplete.value.length>0),n(l,19,0,0===e.controlAutocomplete.value.length)}),(function(n,l){n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,0,bi(l,12).ngClassUntouched,bi(l,12).ngClassTouched,bi(l,12).ngClassPristine,bi(l,12).ngClassDirty,bi(l,12).ngClassValid,bi(l,12).ngClassInvalid,bi(l,12).ngClassPending)}))}var unn=e("rNzc"),snn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functionsService=i,this.lang=Kr,this.loading=!1,this.tags=[],this.tag=null}return n.prototype.ngOnInit=function(){this.getTagsTree()},n.prototype.getTags=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/tags").pipe(Object(JU.tap)((function(e){n.tags=e.tags.map((function(n){return{id:n.id,label:n.label,parentId:n.parentId,countResources:n.countResources}})),l(!0)})),Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getTag=function(n){var l=this;this.http.get("../../rest/tags/"+n).pipe(Object(JU.tap)((function(n){l.tag=n})),Object(unn.catchError)((function(n){return l.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.getTagsTree=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n,l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return[4,this.getTags()];case 1:return e.sent(),n=this.tags.map((function(n){return{id:n.id,text:n.label,parent:l.functionsService.empty(n.parentId)?"#":n.parentId,state:{opened:l.data.id==n.id,selected:l.data.id==n.id,disabled:!l.functionsService.empty(l.data.id)}}})),setTimeout((function(){$j("#jstree").on("select_node.jstree",(function(n,e){l.getTag(e.node.id)})).jstree({checkbox:{deselect_all:!0,three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:n},plugins:["checkbox","search","sort"]})}),0),this.functionsService.empty(this.data.id)||this.getTag(this.data.id),[2]}}))}))},n.prototype.selectTag=function(n){this.functionsService.empty(this.data.id)&&($j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("select_node",n))},n.prototype.getTagLabel=function(n){return this.tags.filter((function(l){return l.id==n}))[0].label},n.prototype.onSubmit=function(){this.dialogRef.close(this.tag)},n}(),cnn=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.latinisePipe=a,this.privilegeService=o,this.functionsService=r,this.lang=Kr,this.loading=!1,this.key="idToDisplay",this.canAdd=!1,this.myControl=new sy,this.valuesToDisplay={},this.newIds=[],this.tags=[]}return n.prototype.ngOnInit=function(){this.controlAutocomplete.setValue(null===this.controlAutocomplete.value||""===this.controlAutocomplete.value?[]:this.controlAutocomplete.value),this.canAdd=this.privilegeService.hasCurrentUserPrivilege("manage_tags_application"),this.initFormValue(),this.initAutocompleteRoute()},n.prototype.initAutocompleteRoute=function(){var n=this;this.listInfo=this.lang.autocompleteInfo,this.options=[],this.myControl.valueChanges.pipe(Sh(300),tc((function(n){return n.length>2})),Gh(),Yr((function(){return n.loading=!0})),Sc((function(l){return n.getDatas(l)})),Yr((function(l){n.listInfo=0===l.length?n.lang.noAvailableValue:"",n.options=l,n.filteredOptions=lu(n.options),n.loading=!1}))).subscribe()},n.prototype.getDatas=function(n){return this.http.get("../../rest/autocomplete/tags",{params:{search:n}})},n.prototype.selectOpt=function(n){this.setFormValue(n.option.value),this.myControl.setValue("")},n.prototype.initFormValue=function(){var n=this;this.controlAutocomplete.value.forEach((function(l){n.http.get("../../rest/tags/"+l).pipe(Yr((function(l){n.valuesToDisplay[l.id]=l.label}))).subscribe()}))},n.prototype.setFormValue=function(n){if(-1===this.controlAutocomplete.value.indexOf(n.id)){var l=[];null!==this.controlAutocomplete.value&&(l=this.controlAutocomplete.value),l.push(n.id),this.valuesToDisplay[n.id]=n[this.key],this.controlAutocomplete.setValue(l)}},n.prototype.resetAutocomplete=function(){this.options=[],this.listInfo=this.lang.autocompleteInfo},n.prototype._filter=function(n){var l=this;if("string"==typeof n){var e=this.latinisePipe.transform(n.toLowerCase());return this.options.filter((function(n){return l.latinisePipe.transform(n[l.key].toLowerCase()).includes(e)}))}return this.options},n.prototype.unsetValue=function(){this.controlAutocomplete.setValue(""),this.myControl.setValue(""),this.myControl.enable()},n.prototype.removeItem=function(n){var l=this;if(-1===this.newIds.indexOf(this.controlAutocomplete.value[n])){var e=this.controlAutocomplete.value;this.controlAutocomplete.value.splice(n,1),this.controlAutocomplete.setValue(e)}else this.http.delete("../../rest/tags/"+this.controlAutocomplete.value[n]).pipe(Yr((function(e){var t=l.controlAutocomplete.value;l.controlAutocomplete.value.splice(n,1),l.controlAutocomplete.setValue(t)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.addItem=function(){var n=this,l={};l[this.key]=this.myControl.value,this.http.post("../../rest/tags",{label:l[this.key]}).pipe(Yr((function(e){for(var t in e)l.id=e[t],n.newIds.push(e[t]);n.setFormValue(l),n.myControl.setValue("")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.openThesaurus=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(snn,{panelClass:"maarch-modal",width:"600px",data:{id:n}}).afterClosed().pipe(tc((function(n){return!l.functionsService.empty(n)})),q((function(n){return{id:n.id,idToDisplay:n.label}})),Yr((function(n){console.log(n),l.setFormValue(n)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n}(),dnn=yt({encapsulation:0,styles:[[".smallInputInfo[_ngcontent-%COMP%]{font-size:9px;white-space:normal;line-height:13px;display:table-cell;vertical-align:middle;text-align:center}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{color:#fff;background-color:#1a80ab}.noResult[_ngcontent-%COMP%]{text-align:center;font-style:italic;opacity:.5}.listAutocomplete[_ngcontent-%COMP%]{height:auto}.itemChip[_ngcontent-%COMP%]{display:block;width:95%}.itemChip[_ngcontent-%COMP%] .mat-chip-list-wrapper{margin:0}.itemList[_ngcontent-%COMP%]{padding-top:10px;overflow-x:hidden;max-height:165px}"],tN],data:{}});function pnn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-option",[["class","mat-option"],["role","option"]],[[8,"title",0],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"span",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),Lo(-1,0,[" "])),(n()(),_o(5,0,null,0,1,"small",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit[e.key],bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,l.context.$implicit[e.key]),n(l,6,0,l.context.$implicit[e.subInfoKey])}))}function mnn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,3,null,pnn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(4,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=bt(l,2,0,n(l,4,0,bi(l.parent.parent,0),bt(l,2,0,bi(l,3).transform(e.filteredOptions)),e.key));n(l,2,0,t)}),null)}function fnn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.listInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function hnn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function gnn(n){return jo(0,[(n()(),_o(0,0,null,null,42,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,0,null,0,4,"button",[["color","primary"],["mat-icon-button",""],["matPrefix",""],["style","left: 20px;z-index: 1;"],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.openThesaurus()&&t),t}),PC,MC)),Di(12,16384,[[9,4]],0,aT,[],null,null),Di(13,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(14,0,null,0,1,"mat-icon",[["class","fas fa-external-link-alt mat-icon notranslate"],["role","img"],["style","font-size: 15px;"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(15,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(16,16777216,[[1,0],["autoCompleteInput",1]],1,10,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["type","text"]],[[1,"maxlength",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"focus"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,20)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,20)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,20)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,20)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,25)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,25)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,25)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(18,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Di(20,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(22,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(24,16384,null,0,y_,[[4,v_]],null,null),Di(25,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(27,0,null,4,4,"button",[["mat-icon-button",""],["matSuffix",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addItem()&&t),t}),PC,MC)),Di(28,16384,[[10,4]],0,oT,[],null,null),Di(29,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(30,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"]],[[8,"title",0],[4,"visibility",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(31,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(32,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectOpt(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(34,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,mnn)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,fnn)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,hnn)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,13,0,"primary"),n(l,15,0),n(l,18,0,"128"),n(l,20,0,bi(l,34)),n(l,22,0,e.myControl),n(l,25,0,e.lang.searchTag,"text"),n(l,29,0,!e.canAdd||null===e.myControl.value||0===e.myControl.value.length),n(l,31,0),n(l,38,0,e.options.length>0&&!e.loading),n(l,40,0,0===e.options.length&&!e.loading),n(l,42,0,e.loading)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,0,bi(l,13).disabled||null,"NoopAnimations"===bi(l,13)._animationMode),n(l,14,0,e.lang.openThesaurus,bi(l,15).inline,"primary"!==bi(l,15).color&&"accent"!==bi(l,15).color&&"warn"!==bi(l,15).color),n(l,16,1,[bi(l,18).maxlength?bi(l,18).maxlength:null,bi(l,20).autocompleteAttribute,bi(l,20).autocompleteDisabled?null:"combobox",bi(l,20).autocompleteDisabled?null:"list",bi(l,20).panelOpen&&bi(l,20).activeOption?bi(l,20).activeOption.id:null,bi(l,20).autocompleteDisabled?null:bi(l,20).panelOpen.toString(),bi(l,20).autocompleteDisabled||!bi(l,20).panelOpen?null:null==bi(l,20).autocomplete?null:bi(l,20).autocomplete.id,!bi(l,20).autocompleteDisabled,bi(l,24).ngClassUntouched,bi(l,24).ngClassTouched,bi(l,24).ngClassPristine,bi(l,24).ngClassDirty,bi(l,24).ngClassValid,bi(l,24).ngClassInvalid,bi(l,24).ngClassPending,bi(l,25)._isServer,bi(l,25).id,bi(l,25).placeholder,bi(l,25).disabled,bi(l,25).required,bi(l,25).readonly&&!bi(l,25)._isNativeSelect||null,bi(l,25)._ariaDescribedby||null,bi(l,25).errorState,bi(l,25).required.toString()]),n(l,27,0,bi(l,29).disabled||null,"NoopAnimations"===bi(l,29)._animationMode),n(l,30,0,e.lang.add,e.canAdd&&null!==e.myControl.value&&e.myControl.value.length>0?"visible":"hidden",bi(l,31).inline,"primary"!==bi(l,31).color&&"accent"!==bi(l,31).color&&"warn"!==bi(l,31).color)}))}function bnn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[16,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function vnn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-chip",[["class","listAutocomplete mat-chip"],["color","default"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeItem(n.context.index)&&t),"click"===l&&(t=!1!==i.openThesaurus(n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[13,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,14,{avatar:0}),ko(603979776,15,{trailingIcon:0}),ko(603979776,16,{removeIcon:0}),(n()(),_o(5,0,null,null,2,"span",[["style","display: flex;flex: 1;align-items: center;cursor: pointer;"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(6,0,null,null,0,"i",[["class","fa fa-tag"],["style","padding-right:5px;"]],null,null,null,null,null)),(n()(),Lo(7,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,bnn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"default",!e.controlAutocomplete.disabled),n(l,9,0,!e.controlAutocomplete.disabled)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.valuesToDisplay[l.context.$implicit]),n(l,7,0,e.valuesToDisplay[l.context.$implicit])}))}function _nn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip-list",[["class","mat-chip-list-stacked itemChip mat-chip-list"],["color","default"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,2)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(2,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,13,{chips:1}),(n()(),vo(16777216,null,0,1,null,vnn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,5,0,e.controlAutocomplete.value)}),(function(n,l){n(l,0,1,[bi(l,2).disabled?null:bi(l,2)._tabIndex,bi(l,2)._ariaDescribedby||null,bi(l,2).required.toString(),bi(l,2).disabled.toString(),bi(l,2).errorState,bi(l,2).multiple,bi(l,2).role,bi(l,2).disabled,bi(l,2).errorState,bi(l,2).required,bi(l,2).ariaOrientation,bi(l,2)._uid])}))}function ynn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noResult"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noSelectedTag)}))}function wnn(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{autoCompleteInput:0}),(n()(),_o(2,0,null,null,17,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,5,"input",[["type","hidden"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,8)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,8).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,8)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,8)._compositionEnd(e.target.value)&&t),t}),null,null)),Di(8,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(10,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(12,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,gnn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,4,"div",[["class","itemList"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_nn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ynn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,10,0,e.controlAutocomplete),n(l,14,0,!e.controlAutocomplete.disabled),n(l,17,0,e.controlAutocomplete.value.length>0),n(l,19,0,0===e.controlAutocomplete.value.length)}),(function(n,l){n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,0,bi(l,12).ngClassUntouched,bi(l,12).ngClassTouched,bi(l,12).ngClassPristine,bi(l,12).ngClassDirty,bi(l,12).ngClassValid,bi(l,12).ngClassInvalid,bi(l,12).ngClassPending)}))}var xnn=function(){function n(n,l,e){this.http=n,this.notify=l,this.dialog=e,this.lang=Kr,this.loading=!1,this.key="address",this.canAdd=!0,this.myControl=new sy,this.valuesToDisplay={},this.addressBANCurrentDepartment="75",this.departmentList=[]}return n.prototype.ngOnInit=function(){this.controlAutocomplete.setValue(null===this.controlAutocomplete.value||""===this.controlAutocomplete.value?[]:this.controlAutocomplete.value),this.initFormValue(),this.adminMode||this.initBanSearch(),this.initAutocompleteRoute()},n.prototype.initBanSearch=function(){var n=this;this.http.get("../../rest/ban/availableDepartments").pipe(Yr((function(l){null!==l.default&&-1!==l.departments.indexOf(l.default.toString())&&(n.addressBANCurrentDepartment=l.default),n.departmentList=l.departments})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.initAutocompleteRoute=function(){var n=this;this.listInfo=this.lang.autocompleteInfo,this.options=[],this.myControl.valueChanges.pipe(Sh(300),tc((function(n){return n.length>2})),Gh(),Yr((function(){return n.loading=!0})),Sc((function(l){return n.getDatas(l)})),Yr((function(l){n.listInfo=0===l.length?n.lang.noAvailableValue:"",n.options=l,n.filteredOptions=lu(n.options),n.loading=!1}))).subscribe()},n.prototype.getDatas=function(n){return this.http.get("../../rest/autocomplete/banAddresses",{params:{address:n,department:this.addressBANCurrentDepartment}})},n.prototype.selectOpt=function(n){this.setFormValue({id:n.option.value.banId,addressNumber:n.option.value.number,addressStreet:n.option.value.afnorName,addressPostcode:n.option.value.postalCode,addressTown:n.option.value.city,longitude:n.option.value.lon,latitude:n.option.value.lat}),this.myControl.setValue("")},n.prototype.initFormValue=function(){var n=this;this.controlAutocomplete.value.forEach((function(l){n.valuesToDisplay[l.id]=l.addressNumber+" "+l.addressStreet+", "+l.addressTown+" ("+l.addressPostcode+")"}))},n.prototype.setFormValue=function(n){this.valuesToDisplay[n.id]=n.addressNumber+" "+n.addressStreet+", "+n.addressTown+" ("+n.addressPostcode+")",this.controlAutocomplete.setValue([n])},n.prototype.resetAutocomplete=function(){this.options=[],this.listInfo=this.lang.autocompleteInfo},n.prototype.unsetValue=function(){this.controlAutocomplete.setValue(""),this.myControl.setValue(""),this.myControl.enable()},n.prototype.removeItem=function(n){var l=this.controlAutocomplete.value;this.controlAutocomplete.value.splice(n,1),this.controlAutocomplete.setValue(l)},n.prototype.goTo=function(n){window.open("https://www.google.com/maps/search/"+n.latitude+","+n.longitude,"_blank")},n}(),Cnn=yt({encapsulation:0,styles:[[".smallInputInfo[_ngcontent-%COMP%]{font-size:9px;white-space:normal;line-height:13px;display:table-cell;vertical-align:middle;text-align:center}.mat-chip.mat-standard-chip[_ngcontent-%COMP%]{color:#fff;background-color:#1a80ab}.noResult[_ngcontent-%COMP%]{text-align:center;font-style:italic;opacity:.5}.itemChip[_ngcontent-%COMP%]{display:block;width:95%}.itemChip[_ngcontent-%COMP%] .mat-chip-list-wrapper{margin:0}.itemList[_ngcontent-%COMP%]{padding-top:10px;overflow-x:hidden;max-height:165px}.depList[_ngcontent-%COMP%] .mat-form-field-infix{margin-left:-20px}"],tN],data:{}});function knn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==(i.addressBANCurrentDepartment=n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[11,4],[12,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,l.context.$implicit)}))}function Snn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["role","option"]],[[8,"title",0],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[14,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"span",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit[e.key],bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,l.context.$implicit[e.key])}))}function Inn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,3,null,Snn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),Fo(4,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=bt(l,2,0,n(l,4,0,bi(l.parent.parent,0),bt(l,2,0,bi(l,3).transform(e.filteredOptions)),e.key));n(l,2,0,t)}),null)}function Ann(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-option",[["class","autoCompleteInfoResult smallInputInfo mat-option"],["disabled",""],["role","option"]],[[8,"innerHTML",1],[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[14,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null)],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,l.component.listInfo,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled)}))}function Mnn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","mat-option"],["disabled",""],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[14,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","20"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,1,0,""),n(l,3,0,"20")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function Pnn(n){return jo(0,[(n()(),_o(0,0,null,null,45,"mat-form-field",[["class","input-form depList mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(11,16777216,null,0,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-button",""],["matPrefix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,14)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,14)._handleClick(e)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),PC,MC)),Di(12,16384,[[9,4]],0,aT,[],null,null),Di(13,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(14,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(15,0,[" "," "])),(n()(),_o(16,0,null,0,0,"i",[["class","fas fa-angle-down"]],null,null,null,null,null)),(n()(),_o(17,0,null,1,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(20,1294336,[["menu",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,11,{_allItems:1}),ko(603979776,12,{items:1}),ko(603979776,13,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,knn)),Di(25,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(26,16777216,[[1,0],["autoCompleteInput",1]],1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"focus"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,27)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,27)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,27)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,28)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,28)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,28)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,28)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,33)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,33)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,33)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),t}),null,null)),Di(27,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(28,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(30,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(32,16384,null,0,y_,[[4,v_]],null,null),Di(33,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(35,0,null,1,10,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectOpt(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(37,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,14,{options:1}),ko(603979776,15,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,Inn)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Ann)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Mnn)),Di(45,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"never"),n(l,13,0,e.adminMode),n(l,14,0,bi(l,20)),n(l,20,0),n(l,25,0,e.departmentList),n(l,28,0,bi(l,37)),n(l,30,0,e.myControl),n(l,33,0,e.lang.searchAddressBan,"text"),n(l,41,0,e.options.length>0&&!e.loading),n(l,43,0,0===e.options.length&&!e.loading),n(l,45,0,e.loading)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,0,bi(l,13).disabled||null,"NoopAnimations"===bi(l,13)._animationMode,bi(l,14).menuOpen||null),n(l,15,0,e.addressBANCurrentDepartment),n(l,26,1,[bi(l,28).autocompleteAttribute,bi(l,28).autocompleteDisabled?null:"combobox",bi(l,28).autocompleteDisabled?null:"list",bi(l,28).panelOpen&&bi(l,28).activeOption?bi(l,28).activeOption.id:null,bi(l,28).autocompleteDisabled?null:bi(l,28).panelOpen.toString(),bi(l,28).autocompleteDisabled||!bi(l,28).panelOpen?null:null==bi(l,28).autocomplete?null:bi(l,28).autocomplete.id,!bi(l,28).autocompleteDisabled,bi(l,32).ngClassUntouched,bi(l,32).ngClassTouched,bi(l,32).ngClassPristine,bi(l,32).ngClassDirty,bi(l,32).ngClassValid,bi(l,32).ngClassInvalid,bi(l,32).ngClassPending,bi(l,33)._isServer,bi(l,33).id,bi(l,33).placeholder,bi(l,33).disabled,bi(l,33).required,bi(l,33).readonly&&!bi(l,33)._isNativeSelect||null,bi(l,33)._ariaDescribedby||null,bi(l,33).errorState,bi(l,33).required.toString()])}))}function Dnn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[19,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function Fnn(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-chip",[["class","activeListAutocomplete mat-chip"],["color","default"],["role","option"],["style","height:auto;"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeItem(n.context.index)&&t),t}),null,null)),Di(1,147456,[[16,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{color:[0,"color"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,17,{avatar:0}),ko(603979776,18,{trailingIcon:0}),ko(603979776,19,{removeIcon:0}),(n()(),_o(5,0,null,null,1,"span",[["style","display: flex;flex: 1;align-items: center;cursor: pointer;"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goTo(n.context.$implicit)&&t),t}),null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Dnn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"default",!e.controlAutocomplete.disabled),n(l,8,0,!e.controlAutocomplete.disabled)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.valuesToDisplay[l.context.$implicit.id]),n(l,6,0,e.valuesToDisplay[l.context.$implicit.id])}))}function Enn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip-list",[["class","mat-chip-list-stacked itemChip mat-chip-list"],["color","default"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,2)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(2,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,16,{chips:1}),(n()(),vo(16777216,null,0,1,null,Fnn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,5,0,e.controlAutocomplete.value)}),(function(n,l){n(l,0,1,[bi(l,2).disabled?null:bi(l,2)._tabIndex,bi(l,2)._ariaDescribedby||null,bi(l,2).required.toString(),bi(l,2).disabled.toString(),bi(l,2).errorState,bi(l,2).multiple,bi(l,2).role,bi(l,2).disabled,bi(l,2).errorState,bi(l,2).required,bi(l,2).ariaOrientation,bi(l,2)._uid])}))}function Onn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noResult"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noSelectedAddress)}))}function Tnn(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(402653184,1,{autoCompleteInput:0}),(n()(),_o(2,0,null,null,17,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,5,"input",[["type","hidden"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,8)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,8).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,8)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,8)._compositionEnd(e.target.value)&&t),t}),null,null)),Di(8,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(10,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(12,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,Pnn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,4,"div",[["class","itemList"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Enn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Onn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,10,0,e.controlAutocomplete),n(l,14,0,!e.controlAutocomplete.disabled),n(l,17,0,e.controlAutocomplete.value.length>0),n(l,19,0,0===e.controlAutocomplete.value.length)}),(function(n,l){n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,0,bi(l,12).ngClassUntouched,bi(l,12).ngClassTouched,bi(l,12).ngClassPristine,bi(l,12).ngClassDirty,bi(l,12).ngClassValid,bi(l,12).ngClassInvalid,bi(l,12).ngClassPending)}))}var Lnn=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.lang=Kr,this.loading=!1,this.filtersChange=new la,this.displayedColumnsResource=["action","category","chrono","status","subject","typeLabel","creationDate","actions"],this.selectedRes=[],this.allResInSearch=[],this.isLoadingResults=!0,this.routeUrl="../../rest/search",this.resultsLength=0,this.searchResource=new sy,this.thumbnailUrl="",this.search="",this.singleMode=!1,this.excludeRes=[],this.linkedRes=[],this.destroy$=new M}return n.prototype.ngOnInit=function(){this.loading=!0,this.functions.empty(this.linkedRes)?(this.initResourceList(),this.selectedRes=[]):(this.data=this.processPostData(this.linkedRes),this.resultsLength=this.linkedRes.resources.length,this.allResInSearch=this.linkedRes.resources.map((function(n){return n.resId})),this.data=this.linkedRes.resources,this.selectedRes=this.linkedRes.resources.filter((function(n){return n.checked})).map((function(n){return n.resId})),this.loading=!1,this.isLoadingResults=!1)},n.prototype.initResourceList=function(){var n=this;this.resultListDatabase=new Rnn(this.http),this.paginator.pageIndex=0,this.sort.active="creationDate",this.sort.direction="desc",this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){return n.isLoadingResults=!0,n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.routeUrl,n.search)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.count,n.allResInSearch=l.allResources,l.resources})),Qr((function(l){return n.notify.handleErrors(l),n.isLoadingResults=!1,lu([])}))).subscribe((function(l){return n.data=l}))},n.prototype.processPostData=function(n){var l=this;return n.resources.forEach((function(n){Object.keys(n).forEach((function(e){"statusImage"==e&&l.functions.empty(n[e])?n[e]="fa-question undefined":l.functions.empty(n[e])&&-1===["senders","recipients","attachments","hasDocument"].indexOf(e)&&(n[e]=l.lang.undefined)}))})),n},n.prototype.refreshDao=function(n){void 0===n&&(n=null),null!==n&&(this.search=n),this.filtersChange.emit()},n.prototype.toggleRes=function(n,l){if(this.singleMode&&(this.selectedRes=[]),n.checked)-1===this.selectedRes.indexOf(l.resId)&&(this.selectedRes.push(l.resId),l.checked=!0);else{var e=this.selectedRes.indexOf(l.resId);this.selectedRes.splice(e,1),l.checked=!1}},n.prototype.toggleAllRes=function(n){var l=this;if(this.selectedRes=[],n.checked){this.data.forEach((function(n){-1===l.excludeRes.indexOf(n.resId)&&(n.checked=!0)}));var e=this.allResInSearch.filter((function(n){return-1===l.excludeRes.indexOf(n)}));this.selectedRes=JSON.parse(JSON.stringify(e))}else this.data.forEach((function(n){n.checked=!1}))},n.prototype.getSelectedRessources=function(){return this.selectedRes},n.prototype.viewDocument=function(n){var l=this;n.canConvert&&this.http.get("../../rest/resources/"+n.resId+"/content?mode=view",{responseType:"blob"}).pipe(Yr((function(l){var e=new Blob([l],{type:"application/pdf"}),t=URL.createObjectURL(e),i=window.open();i.document.write('<iframe style="width: 100%;height: 100%;margin: 0;padding: 0;" src="'+t+'" frameborder="0" allowfullscreen></iframe>'),i.document.title=n.chrono})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.viewThumbnailDoc=function(n){n.hasDocument&&(this.thumbnailUrl="../../rest/resources/"+n.resId+"/thumbnail",$j("#viewThumbnailDoc").show())},n.prototype.closeThumbnail=function(){$j("#viewThumbnailDoc").hide()},n.prototype.getTitle=function(n){return n.hasDocument?n.hasDocument&&n.canConvert?this.lang.viewResource:n.hasDocument&&!n.canConvert?this.lang.noAvailablePreview:void 0:this.lang.noDocument},n}(),Rnn=function(){function n(n){this.http=n}return n.prototype.getRepoIssues=function(n,l,e,t,i){return this.http.get(t+"?limit=10&offset="+10*e+"&order="+l+"&orderBy="+n+i)},n}(),Nnn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.router=e,this.data=t,this.dialogRef=i,this.lang=Kr,this.searchUrl=""}return n.prototype.ngOnInit=function(){},n.prototype.launchSearch=function(n){this.searchUrl=n,this.appSearchAdvList.refreshDao(n)},n.prototype.linkResources=function(){var n=this;if(this.router.url.includes("indexing"))this.dialogRef.close(this.appSearchAdvList.selectedRes);else{var l=this.appSearchAdvList.getSelectedRessources().filter((function(l){return l!==n.data.resId}));this.http.post("../../rest/resources/"+this.data.resId+"/linkedResources",{linkedResources:l}).pipe(Yr((function(){n.dialogRef.close("success")})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}},n}(),jnn=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.functions=a,this.route=o,this.lang=Kr,this.loading=!0,this.resId=null,this.canEdit=!0,this.mode="indexation",this.hideDiffusionList=!1,this.retrieveDocumentEvent=new la,this.loadingFormEndEvent=new la,this.reloadBadge=new la,this.resourceToLinkEvent=new la,this.fieldCategories=["mail","contact","process","classifying"],this.indexingModelsCore=[{identifier:"doctype",label:this.lang.doctype,unit:"mail",type:"select",system:!0,mandatory:!0,default_value:"",values:[]},{identifier:"subject",label:this.lang.subject,unit:"mail",type:"string",system:!0,mandatory:!0,default_value:"",values:[]}],this.indexingModels_mail=[],this.indexingModels_contact=[],this.indexingModels_process=[],this.indexingModels_classement=[],this.indexingModels_mailClone=[],this.indexingModels_contactClone=[],this.indexingModels_processClone=[],this.indexingModels_classementClone=[],this.indexingModelsCustomFields=[],this.indexingModelsClone=null,this.resFieldsClone=[],this.availableFields=[{identifier:"recipients",label:this.lang.getRecipients,type:"autocomplete",default_value:[],values:[]},{identifier:"priority",label:this.lang.priority,type:"select",default_value:null,values:[]},{identifier:"confidentiality",label:this.lang.confidential,type:"radio",default_value:null,values:[{id:!0,label:this.lang.yes},{id:!1,label:this.lang.no}]},{identifier:"initiator",label:this.lang.initiatorEntityAlt,type:"select",default_value:null,values:[]},{identifier:"departureDate",label:this.lang.departureDate,type:"date",default_value:null,values:[]},{identifier:"processLimitDate",label:this.lang.processLimitDate,type:"date",default_value:null,values:[]},{identifier:"tags",label:this.lang.tags,type:"autocomplete",default_value:[],values:["/rest/autocomplete/tags","/rest/tags"]},{identifier:"senders",label:this.lang.getSenders,type:"autocomplete",default_value:[],values:["/rest/autocomplete/correspondents"]},{identifier:"destination",label:this.lang.destination,type:"select",default_value:null,values:[]},{identifier:"folders",label:this.lang.folders,type:"autocomplete",default_value:[],values:["/rest/autocomplete/folders","/rest/folders"]},{identifier:"documentDate",label:this.lang.docDate,unit:"mail",type:"date",default_value:null,values:[]},{identifier:"arrivalDate",label:this.lang.arrivalDate,unit:"mail",type:"date",default_value:null,values:[]}],this.availableFieldsClone=[],this.availableCustomFields=[],this.availableCustomFieldsClone=null,this.arrFormControl={},this.currentCategory="",this.currentPriorityColor="",this.currentResourceValues=null,this.selfDest=!1,this.customDiffusion=[],this.hasLinkedRes=!1,this.linkedResources=[],this.selectedContactClone=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.adminMode=void 0!==this.adminMode,this.availableFieldsClone=JSON.parse(JSON.stringify(this.availableFields)),this.fieldCategories.forEach((function(l){n["indexingModels_"+l]=[]})),this.adminMode?[3,2]:[4,this.getParameter()];case 1:l.sent(),l.label=2;case 2:return this.indexingFormId<=0||void 0===this.indexingFormId?[4,this.initFields()]:[3,5];case 3:return l.sent(),[4,this.initCustomFields()];case 4:return l.sent(),this.initElemForm(),[3,6];case 5:this.loadForm(this.indexingFormId),l.label=6;case 6:return[2]}}))}))},n.prototype.initFields=function(){var n=this;return new Promise((function(l,e){n.fieldCategories.forEach((function(l){n["indexingModels_"+l]=n.indexingModelsCore.filter((function(n,e,t){return n.unit===l})),n["indexingModels_"+l].forEach((function(l){n.initValidator(l)}))})),l(!0)}))},n.prototype.initCustomFields=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/customFields").pipe(Yr((function(e){n.availableCustomFields=e.customFields.map((function(l){return l.identifier="indexingCustomField_"+l.id,l.system=!1,l.SQLMode=l.SQLMode,l.default_value=["integer","string","date"].indexOf(l.type)>-1&&!n.functions.empty(l.values)?l.values[0].key:["contact","banAutocomplete"].indexOf(l.type)>-1?[]:null,l.values=l.values.length>0?l.values.map((function(n){return{id:n.key,label:n.label}})):l.values,l})),n.availableCustomFieldsClone=JSON.parse(JSON.stringify(n.availableCustomFields)),l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()}))},n.prototype.drop=function(n){n.item.data.unit=n.container.id.split("_")[1],n.previousContainer===n.container?_U(n.container.data,n.previousIndex,n.currentIndex):(this.initValidator(n.item.data),yU(n.previousContainer.data,n.container.data,n.previousIndex,n.currentIndex),["destination","priority"].indexOf(n.item.data.identifier)>-1&&this.initElemForm())},n.prototype.onSubmit=function(){var n=this,l=[];this.fieldCategories.forEach((function(e){l=l.concat(n["indexingModels_"+e])}))},n.prototype.removeItem=function(n,l,e){var t=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.indexingModelModification,msg:this.lang.updateIndexingFieldWarning}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){l.mandatory=!1,l.identifier.indexOf("indexingCustomField")>-1?(t.availableCustomFields.push(l),t[n].splice(e,1)):(t.availableFields.push(l),t[n].splice(e,1))})),Qr((function(n){return t.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getDatas=function(n){var l=this;void 0===n&&(n=!0);var e=[];return this.fieldCategories.forEach((function(n){e=e.concat(l["indexingModels_"+n])})),e.forEach((function(t){t.default_value="date"!==t.type||l.functions.empty(l.arrFormControl[t.identifier].value)?""===l.arrFormControl[t.identifier].value?null:l.arrFormControl[t.identifier].value:!0===t.today?l.adminMode?"_TODAY":l.functions.formatDateObjectToDateString(l.arrFormControl[t.identifier].value,!1):l.functions.formatDateObjectToDateString(l.arrFormControl[t.identifier].value,"processLimitDate"===t.identifier),"destination"===t.identifier&&!l.adminMode&&n&&e.push({identifier:"diffusionList",default_value:l.arrFormControl.diffusionList.value})})),this.adminMode||(e.push({identifier:"modelId",default_value:this.indexingFormId}),"indexation"===this.mode&&e.push({identifier:"followed",default_value:this.arrFormControl["mailÂtracking"].value})),e},n.prototype.saveData=function(){var n=this;return new Promise((function(l,e){if(n.isValidForm()){var t=n.formatDatas(n.getDatas());return n.http.put("../../rest/resources/"+n.resId,t).pipe(Yr((function(){n.currentResourceValues=JSON.parse(JSON.stringify(n.getDatas())),n.notify.success(n.lang.dataUpdated),l(!0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe(),!0}return n.notify.error(n.lang.mustFixErrors),!1}))},n.prototype.formatDatas=function(n){var l={},e=/indexingCustomField_[.]*/g;return l.customFields={},n.forEach((function(n){null!==n.identifier.match(e)?l.customFields[n.identifier.split("_")[1]]=n.default_value:l[n.identifier]=n.default_value})),l},n.prototype.getCategory=function(){return this.currentCategory},n.prototype.getAvailableFields=function(){return this.availableFields},n.prototype.getAvailableCustomFields=function(){return this.availableCustomFields},n.prototype.isModified=function(){var n=this,l=!1,e="",t="";return this.fieldCategories.forEach((function(i){e=JSON.stringify(n["indexingModels_"+i]),t=JSON.stringify(n["indexingModels_"+i+"Clone"]),e!==t&&(l=!0)})),l},n.prototype.isResourceModified=function(){return!this.loading&&JSON.stringify(this.currentResourceValues)!==JSON.stringify(this.getDatas())},n.prototype.setModification=function(){var n=this;this.fieldCategories.forEach((function(l){n["indexingModels_"+l+"Clone"]=JSON.parse(JSON.stringify(n["indexingModels_"+l]))}))},n.prototype.cancelModification=function(){var n=this;this.fieldCategories.forEach((function(l){n["indexingModels_"+l]=JSON.parse(JSON.stringify(n["indexingModels_"+l+"Clone"]))}))},n.prototype.setDocumentDateField=function(n){var l=this;n.startDate="",n.endDate="_TODAY",this.fieldCategories.forEach((function(e){l["indexingModels_"+e].filter((function(n){return"arrivalDate"===n.identifier})).length>0?n.endDate="arrivalDate":l["indexingModels_"+e].filter((function(n){return"departureDate"===n.identifier})).length>0&&(n.endDate="departureDate")}))},n.prototype.setDestinationField=function(n){var l=this,e=this.adminMode||"indexation"!==this.mode?"../../rest/indexingModels/entities":"../../rest/indexing/groups/"+this.groupId+"/entities";return new Promise((function(t,i){l.http.get(e).pipe(Yr((function(e){if(l.adminMode){var i="";n.values=[{id:"#myPrimaryEntity",title:l.lang.myPrimaryEntity,label:'<i class="fa fa-hashtag"></i> '+l.lang.myPrimaryEntity,disabled:!1}],n.values=n.values.concat(e.entities.map((function(n){i=n.entity_label;for(var l=0;l<n.level;l++)n.entity_label=" "+n.entity_label;return{id:n.id,title:i,label:n.entity_label,disabled:!1}})))}else{var a="";if("#myPrimaryEntity"===n.default_value)l.selfDest="outgoing"===l.currentCategory,n.default_value=l.headerService.user.entities[0].id,l.arrFormControl[n.identifier].setValue(n.default_value);else{l.selfDest=!1;var o=e.entities.filter((function(l){return!0===l.enabled&&l.id===n.default_value}));n.default_value=o.length>0?o[0].id:null,l.arrFormControl[n.identifier].setValue(o.length>0?o[0].id:"")}n.values=e.entities.map((function(n){a=n.entity_label;for(var e=0;e<n.level;e++)n.entity_label=" "+n.entity_label;return{id:n.id,title:a,label:n.entity_label,disabled:"indexation"===l.mode&&!n.enabled}})),n.event="loadDiffusionList",n.allowedEntities=n.values.filter((function(n){return!1===n.disabled})).map((function(n){return n.id}))}t(!0)}))).subscribe()}))},n.prototype.setInitiatorField=function(n){n.values=this.headerService.user.entities.map((function(n){return{id:n.id,label:n.entity_label}}))},n.prototype.setCategoryField=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/categories").pipe(Yr((function(l){n.values=l.categories,e(!0)}))).subscribe()}))},n.prototype.setPriorityField=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/priorities").pipe(Yr((function(t){n.values=t.priorities,n.event="calcLimitDateByPriority",null!==n.default_value&&l.calcLimitDateByPriority(n,n.default_value),e(!0)}))).subscribe()}))},n.prototype.setDoctypeField=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/doctypes").pipe(Yr((function(t){var i=[];t.structure.forEach((function(n){void 0===n.doctypes_second_level_id&&(i.push({id:n.doctypes_first_level_id,label:n.doctypes_first_level_label,title:n.doctypes_first_level_label,disabled:!0,isTitle:!0,color:n.css_style}),t.structure.filter((function(l){return l.doctypes_first_level_id===n.doctypes_first_level_id&&void 0!==l.doctypes_second_level_id&&void 0===l.description})).forEach((function(n){i.push({id:n.doctypes_second_level_id,label:" "+n.doctypes_second_level_label,title:n.doctypes_second_level_label,disabled:!0,isTitle:!0,color:n.css_style}),i=i.concat(t.structure.filter((function(l){return l.doctypes_second_level_id===n.doctypes_second_level_id&&void 0!==l.description})).map((function(n){return{id:n.type_id,label:" "+n.description,title:n.description,disabled:!1,isTitle:!1}})))})))})),n.values=i,n.event="calcLimitDate",l.functions.empty(n.default_value)||l.adminMode||l.calcLimitDate(n,n.default_value),e(!0)}))).subscribe()}))},n.prototype.initElemForm=function(n){return void 0===n&&(n=!0),Object(t.__awaiter)(this,void 0,void 0,(function(){var l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.loading=!0,this.adminMode||this.arrFormControl["mailÂtracking"].setValue(!1),this.currentPriorityColor="",[4,Promise.all(this.fieldCategories.map((function(n){return Object(t.__awaiter)(l,void 0,void 0,(function(){var l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return[4,Promise.all(this["indexingModels_"+n].map((function(n){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return"documentDate"!==n.identifier?[3,1]:(this.setDocumentDateField(n),[3,14]);case 1:return"destination"!==n.identifier?[3,3]:[4,this.setDestinationField(n)];case 2:return l.sent(),[3,14];case 3:return"arrivalDate"!==n.identifier?[3,4]:(n.startDate="documentDate",n.endDate="_TODAY",[3,14]);case 4:return"initiator"!==n.identifier||this.adminMode?[3,5]:(this.setInitiatorField(n),[3,14]);case 5:return"processLimitDate"!==n.identifier?[3,6]:(n.startDate="_TODAY",n.endDate="",n.event="setPriorityColorByLimitDate",[3,14]);case 6:return"departureDate"!==n.identifier?[3,7]:(n.startDate="documentDate",n.endDate="",[3,14]);case 7:return"folders"!==n.identifier?[3,8]:(n.values=null,[3,14]);case 8:return"category_id"!==n.identifier?[3,10]:[4,this.setCategoryField(n)];case 9:return l.sent(),[3,14];case 10:return"priority"!==n.identifier?[3,12]:[4,this.setPriorityField(n)];case 11:return l.sent(),[3,14];case 12:return"doctype"!==n.identifier?[3,14]:[4,this.setDoctypeField(n)];case 13:l.sent(),l.label=14;case 14:return[2]}}))}))})))];case 1:return e.sent(),[2]}}))}))})))];case 1:return e.sent(),null===this.resId?[3,3]:[4,this.setResource(n)];case 2:e.sent(),e.label=3;case 3:return this.loading=!1,[2]}}))}))},n.prototype.setResource=function(n){var l=this;return void 0===n&&(n=!0),new Promise((function(e,i){l.http.get("../../rest/resources/"+l.resId).pipe(Yr((function(i){return Object(t.__awaiter)(l,void 0,void 0,(function(){var l,a=this;return Object(t.__generator)(this,(function(o){switch(o.label){case 0:return this.resFieldsClone=JSON.parse(JSON.stringify(i)),[4,Promise.all(this.fieldCategories.map((function(l){return Object(t.__awaiter)(a,void 0,void 0,(function(){var e=this;return Object(t.__generator)(this,(function(a){switch(a.label){case 0:return[4,Promise.all(this["indexingModels_"+l].map((function(l){return Object(t.__awaiter)(e,void 0,void 0,(function(){var e,a;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return e=Object.keys(i.customFields).filter((function(n){return n===l.identifier.split("indexingCustomField_")[1]}))[0],Object.keys(i).indexOf(l.identifier)>-1||void 0!==e?(a="",a=void 0!==e?i.customFields[e]:i[l.identifier],"priority"!==l.identifier?[3,1]:(this.setPriorityColor(null,a),[3,5])):[3,6];case 1:return"processLimitDate"!==l.identifier||this.functions.empty(a)?[3,2]:(l.startDate="",[3,5]);case 2:return"destination"!==l.identifier?[3,3]:("indexation"!==this.mode&&(this.arrFormControl[l.identifier].disable(),this.arrFormControl.diffusionList.disable()),[3,5]);case 3:return"initiator"!==l.identifier||0!==l.values.filter((function(n){return n.id===a})).length||this.functions.empty(a)?[3,5]:[4,this.getCurrentInitiator(l,a)];case 4:t.sent(),t.label=5;case 5:return"date"!==l.type||this.functions.empty(a)||(a=new Date(a)),this.functions.empty(a)||this.arrFormControl[l.identifier].setValue(a),[3,7];case 6:n||"destination"!==l.identifier||(this.arrFormControl[l.identifier].disable(),this.arrFormControl[l.identifier].setValidators([]),this.arrFormControl.diffusionList.disable()),t.label=7;case 7:return this.canEdit||this.arrFormControl[l.identifier].disable(),[2]}}))}))})))];case 1:return a.sent(),[2]}}))}))})))];case 1:return o.sent(),this.arrFormControl["mailÂtracking"].setValue(i.followed),n&&(void 0!==this.arrFormControl.diffusionList?this.arrFormControl.diffusionList.valueChanges.pipe(tc((function(n){return n.length>0})),Yr((function(){a.currentResourceValues=JSON.parse(JSON.stringify(a.getDatas())),setTimeout((function(){a.loadingFormEndEvent.emit()}),0)})),_c(1)).subscribe():this.currentResourceValues=JSON.parse(JSON.stringify(this.getDatas()))),null!==this.indexingModelsClone.master?(Object.keys(this.indexingModelsClone.fields).forEach((function(n){var l=a.indexingModelsClone.fields[n];a.functions.empty(l.default_value)||(l.identifier.includes("Date")?a.arrFormControl[l.identifier].value=new Date(a.functions.formatFrenchDateToObjectDate(a.functions.formatFrenchDateToTechnicalDate(l.default_value))):(a.arrFormControl[l.identifier].value=l.default_value,"priority"===l.identifier&&a.setPriorityColor(null,l.default_value)))})),this.newEntityId=this.functions.empty(l=this.arrFormControl.destination.value)?null:l):this.newEntityId=null,e(!0),[2]}}))}))})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()}))},n.prototype.getCurrentInitiator=function(n,l){var e=this;return new Promise((function(t,i){e.http.get("../../rest/entities/"+l).pipe(Yr((function(l){n.values.unshift({id:l.id,label:l.entity_label}),t(!0)}))).subscribe()}))},n.prototype.createForm=function(){this.indexingFormGroup=new cy(this.arrFormControl),null!==this.resId&&void 0!==this.arrFormControl.diffusionList||this.loadingFormEndEvent.emit()},n.prototype.resetForm=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return Object.keys(this.arrFormControl).forEach((function(l){delete n.arrFormControl[l]})),this.availableFields=JSON.parse(JSON.stringify(this.availableFieldsClone)),this.fieldCategories.forEach((function(l){n["indexingModels_"+l]=[]})),null!==this.availableCustomFieldsClone?[3,2]:[4,this.initCustomFields()];case 1:return l.sent(),[3,3];case 2:this.availableCustomFields=JSON.parse(JSON.stringify(this.availableCustomFieldsClone)),l.label=3;case 3:return[2]}}))}))},n.prototype.loadForm=function(n,l){return void 0===l&&(l=!0),Object(t.__awaiter)(this,void 0,void 0,(function(){var e=this;return Object(t.__generator)(this,(function(i){switch(i.label){case 0:return this.loading=!0,this.hasLinkedRes=!1,this.linkedResources=[],this.customDiffusion=[],this.indexingFormId=n,this.resourceToLinkEvent.emit([]),[4,this.resetForm()];case 1:return i.sent(),this.adminMode||(this.arrFormControl["mailÂtracking"]=new sy({value:"",disabled:!!this.adminMode})),this.http.get("../../rest/indexingModels/"+n).pipe(Yr((function(n){return Object(t.__awaiter)(e,void 0,void 0,(function(){var e,i=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.indexingModelsClone=JSON.parse(JSON.stringify({fields:n.indexingModel.fields,master:n.indexingModel.master})),this.indexingFormId=null!==n.indexingModel.master?n.indexingModel.master:n.indexingModel.id,this.currentCategory=n.indexingModel.category,0===n.indexingModel.fields.length?(this.initFields(),this.notify.error(this.lang.noFieldInModelMsg)):n.indexingModel.fields.forEach((function(n){e=!1,n.system=!1,n.values=[];var l=i.availableFields.map((function(n){return n.identifier})).indexOf(n.identifier);l>-1&&(n.label=i.availableFields[l].label,n.default_value=i.functions.empty(n.default_value)?i.availableFields[l].default_value:n.default_value,n.values=i.availableFields[l].values,n.type=i.availableFields[l].type,i.availableFields.splice(l,1),e=!0),(l=i.availableCustomFields.map((function(n){return n.identifier})).indexOf(n.identifier))>-1&&(n.label=i.availableCustomFields[l].label,n.default_value=i.functions.empty(n.default_value)?i.availableCustomFields[l].default_value:n.default_value,n.values=i.availableCustomFields[l].values,n.type=i.availableCustomFields[l].type,n.SQLMode=i.availableCustomFields[l].SQLMode,i.availableCustomFields.splice(l,1),e=!0),(l=i.indexingModelsCore.map((function(n){return n.identifier})).indexOf(n.identifier))>-1&&(n.label=i.indexingModelsCore[l].label,n.default_value=i.functions.empty(n.default_value)?i.indexingModelsCore[l].default_value:n.default_value,n.values=i.indexingModelsCore[l].values,n.type=i.indexingModelsCore[l].type,e=!0,n.system=!0),"date"===n.type&&"_TODAY"===n.default_value&&(n.today=!0,n.default_value=new Date),"initiator"===n.identifier&&"indexation"===i.mode&&i.functions.empty(n.default_value)&&i.headerService.user.entities[0]&&(n.default_value=i.headerService.user.entities.filter((function(n){return"Y"===n.primary_entity}))[0].id),"diffusionList"===n.identifier&&(i.customDiffusion=n.default_value),e?(i["indexingModels_"+n.unit].push(n),i.initValidator(n)):"diffusionList"!==n.identifier&&i.notify.error(i.lang.fieldNotExist+": "+n.identifier)})),[4,this.initElemForm(l)];case 1:return t.sent(),this.createForm(),[2]}}))}))})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe(),[2]}}))}))},n.prototype.initValidator=function(n){var l=[],e=!1;if(this.adminMode&&(["integer","string","date"].indexOf(n.type)>-1&&!this.functions.empty(n.values)||n.today&&this.adminMode)&&(e=!0),this.arrFormControl[n.identifier]=new sy({value:n.default_value,disabled:e}),"integer"===n.type?l.push(this.regexValidator(new RegExp("[+-]?([0-9]*[.])?[0-9]+"),{floatNumber:""})):"date"!==n.type||this.functions.empty(n.default_value)||this.arrFormControl[n.identifier].setValue(new Date(n.default_value)),n.mandatory&&!this.adminMode&&l.push(S_.required),this.arrFormControl[n.identifier].setValidators(l),"destination"===n.identifier){var t=[];n.mandatory?(t.push(S_.required),t.push(this.requireDestValidator({isDest:""}))):t.push(this.requireDestValidatorOrEmpty({isDest:""})),this.arrFormControl.diffusionList=new sy({value:null,disabled:!1}),this.arrFormControl.diffusionList.setValidators(t),this.arrFormControl.diffusionList.setValue([])}},n.prototype.requireDestValidator=function(n){return function(l){return l.value?l.value.filter((function(n){return"dest"===n.mode})).length>0?null:n:null}},n.prototype.requireDestValidatorOrEmpty=function(n){var l=this;return function(e){return e.value?e.value.filter((function(n){return"dest"===n.mode})).length>0||l.functions.empty(l.arrFormControl.destination.value)?null:n:null}},n.prototype.regexValidator=function(n,l){return function(e){return e.value?n.test(e.value)?null:l:null}},n.prototype.isValidForm=function(){var n=this;return this.indexingFormGroup.valid||Object.keys(this.indexingFormGroup.controls).forEach((function(l){null!=n.indexingFormGroup.get(l).errors&&n.indexingFormGroup.controls[l].markAsTouched()})),this.indexingFormGroup.valid},n.prototype.isEmptyField=function(n){return null===this.arrFormControl[n.identifier].value||(Array.isArray(this.arrFormControl[n.identifier].value)?!(this.arrFormControl[n.identifier].value.length>0):""===String(this.arrFormControl[n.identifier].value))},n.prototype.getMinDate=function(n){return void 0!==this.arrFormControl[n]?this.arrFormControl[n].value:"_TODAY"===n?new Date:""},n.prototype.getMaxDate=function(n){return void 0!==this.arrFormControl[n]?this.arrFormControl[n].value:"_TODAY"===n?new Date:""},n.prototype.toggleTodayDate=function(n){n.today=!n.today,n.today?(this.arrFormControl[n.identifier].disable(),this.arrFormControl[n.identifier].setValue(new Date)):(this.arrFormControl[n.identifier].setValue(""),this.arrFormControl[n.identifier].enable())},n.prototype.toggleMailTracking=function(){this.arrFormControl["mailÂtracking"].setValue(!this.arrFormControl["mailÂtracking"].value)},n.prototype.changeCategory=function(n){this.currentCategory=n},n.prototype.changeDestination=function(n,l){-1===n.indexOf(this.arrFormControl.destination.value)&&this.arrFormControl.destination.setValue(n[0])},n.prototype.checkDestinationFieldByRole=function(n){n.filter((function(n){return!0===n.canUpdate&&"dest"===n.id})).length>0&&this.arrFormControl.destination.enable(),n.filter((function(n){return!0===n.canUpdate})).length>0&&this.arrFormControl.diffusionList.enable(),(n.filter((function(n){return!1===n.canUpdate&&"dest"===n.id})).length>0||n.filter((function(n){return!1===n.canUpdate})).length===n.length)&&(this.hideDiffusionList=!0)},n.prototype.launchEvent=function(n,l){void 0===l.event||null===n||this.adminMode||this[l.event](l,n)},n.prototype.calcLimitDate=function(n,l){var e=this,t=null;void 0!==this.arrFormControl.processLimitDate&&this.http.get("../../rest/indexing/processLimitDate",{params:{doctype:l}}).pipe(Yr((function(n){t=null!==n.processLimitDate?new Date(n.processLimitDate):"",e.arrFormControl.processLimitDate.setValue(t)})),tc((function(n){return void 0!==e.arrFormControl.priority&&null!==n.processLimitDate})),MN((function(){return e.http.get("../../rest/indexing/priority",{params:{processLimitDate:t.toDateString()}})})),Yr((function(n){e.arrFormControl.priority.setValue(n.priority),e.setPriorityColor(null,n.priority)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.calcLimitDateByPriority=function(n,l){var e=this,t=null;void 0!==this.arrFormControl.processLimitDate?this.http.get("../../rest/indexing/processLimitDate",{params:{priority:l}}).pipe(Yr((function(i){t=null!==i.processLimitDate?new Date(i.processLimitDate):"",e.arrFormControl.processLimitDate.setValue(t),e.setPriorityColor(n,l)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe():this.setPriorityColor(n,l)},n.prototype.setPriorityColor=function(n,l){var e=this;null!==n?this.currentPriorityColor=n.values.filter((function(n){return n.id===l})).map((function(n){return n.color}))[0]:this.fieldCategories.forEach((function(n){e["indexingModels_"+n].filter((function(n){return"priority"===n.identifier})).length>0&&(e.currentPriorityColor=e["indexingModels_"+n].filter((function(n){return"priority"===n.identifier}))[0].values.filter((function(n){return n.id===l})).map((function(n){return n.color}))[0])}))},n.prototype.setPriorityColorByLimitDate=function(n,l){var e=this,t=new Date(l.value);this.http.get("../../rest/indexing/priority",{params:{processLimitDate:t.toDateString()}}).pipe(Yr((function(n){e.arrFormControl.priority.setValue(n.priority),e.setPriorityColor(null,n.priority)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.loadDiffusionList=function(n,l){this.functions.empty(this.appDiffusionsList)||this.appDiffusionsList.loadListModel(l)},n.prototype.getCheckboxListLabel=function(n,l){return l.filter((function(l){return l.id===n}))[0].label},n.prototype.selectedContact=function(n,l,e){var i=this;if(void 0===e&&(e=!1),"incoming"===this.getCategory()&&"senders"===l&&(1===this.arrFormControl.senders.value.length||e)&&this.suggestLinksNdaysAgo>0){var a=this.functions.empty(this.creationDateClone)?new Date:new Date(this.creationDateClone),o=new Date(a.setDate(a.getDate()-this.suggestLinksNdaysAgo)).toISOString().split("T")[0];this.http.get("../../rest/search?limit=10&offset=0&order=asc&orderBy=creationDate&resourceNotBefore="+o+"&contactId="+n.id).pipe(Yr((function(l){i.functions.empty(l.resources)?(i.hasLinkedRes=!1,i.linkedResources=[],i.resourceToLinkEvent.emit([])):1===l.allResources.length&&l.allResources.indexOf(i.resId)>-1?(i.hasLinkedRes=!1,i.linkedResources=[],i.resourceToLinkEvent.emit([])):(l.resources=l.resources.map((function(n){return Object(t.__assign)({},n,{checked:!1})})),i.linkedResources=l,i.selectedContactClone=JSON.parse(JSON.stringify(n)),i.hasLinkedRes=!0)})),Qr((function(n){return i.notify.error(n),lu(!1)}))).subscribe()}else this.hasLinkedRes=!1,this.linkedResources=[],this.resourceToLinkEvent.emit([])},n.prototype.getParameter=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/parameters/suggest_links_n_days_ago").pipe(Yr((function(e){n.suggestLinksNdaysAgo=e.parameter.param_value_int,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.openSearchResourceModal=function(){var n=this;this.dialog.open(Nnn,{panelClass:"maarch-full-height-modal",minWidth:"80%",data:{resId:this.resId,linkedRes:this.linkedResources,fromContact:!0,selectedContact:this.selectedContactClone}}).afterClosed().pipe(Yr((function(l){if(Array.isArray(l)){n.linkedResources.resources.forEach((function(n){n.checked=l.indexOf(n.resId)>-1}));var e=n.linkedResources.resources.filter((function(n){return n.checked}));e.length>0&&n.resourceToLinkEvent.emit(e.map((function(n){return n.resId})))}else"success"===l&&(n.reloadBadge.emit(),n.notify.success(n.lang.resourcesLinked))})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.checkRemovedItem=function(n){"boolean"==typeof n&&(this.hasLinkedRes=!1,this.resourceToLinkEvent.emit([]));var l=this.arrFormControl.senders.value.filter((function(l){return l.id!==n}));1===l.length?this.selectedContact(l[0],"senders",!0):(this.hasLinkedRes=!1,this.resourceToLinkEvent.emit([]))},n}(),Vnn=yt({encapsulation:0,styles:[tN],data:{}});function qnn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function znn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["style","display: flex;align-items: center;justify-content: flex-end;margin-top: 10px;margin-bottom: -20px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"button",[["class","categoryLabel"],["mat-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleMailTracking()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(3,0,[" "," "])),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size: 20px;"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,5,0,"primary")}),(function(n,l){var e=l.component;n(l,1,0,e.arrFormControl["mailÂtracking"].value?e.lang.untrackThisMail:e.lang.trackThisMail,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.arrFormControl["mailÂtracking"].value?e.lang.untrackThisMail:e.lang.trackThisMail),n(l,4,0,Wt(1,"",e.arrFormControl["mailÂtracking"].value?"fas":"far"," fa-star"),bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function Unn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"small",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(1,null,["",""])),Fo(2,1)],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.category_id);var t=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent.parent,1),e.lang["indexing_"+e.currentCategory]));n(l,1,0,t)}))}function Bnn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"i",[["cdkDragHandle",""],["class","fas fa-bars fa-2x cdk-drag-handle"],["color","primary"],["style","cursor: move"]],[[8,"title",0]],null,null,null,null)),Di(1,147456,[[3,4]],0,qU,[Pe,[2,VU]],null,null)],null,(function(n,l){n(l,0,0,l.component.lang.move)}))}function $nn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-ellipsis-v mat-icon notranslate"],["color","secondary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,7)),n(l,4,0,"secondary")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Hnn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.mandatoryField)}))}function Gnn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.optionalField)}))}function Wnn(n){return jo(0,[(n()(),_o(0,0,null,null,26,"div",[["class","fieldLabel"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Bnn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(3,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,$nn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,20,"mat-menu",[],null,null,null,XT,ZT)),Di(7,1294336,[["fieldActions",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,6,{_allItems:1}),ko(603979776,7,{items:1}),ko(603979776,8,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(13,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,14)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,14)._handleMouseEnter()&&t),"click"===l&&(t=0!=(n.parent.parent.context.$implicit.mandatory=!n.parent.parent.context.$implicit.mandatory)&&t),t}),lL,nL)),Di(14,180224,[[6,4],[7,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,Hnn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Gnn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(19,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(20,49152,null,0,mI,[],null,null),(n()(),_o(21,0,null,0,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,22)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,22)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.removeItem("indexingModels_"+n.parent.parent.parent.parent.context.$implicit,n.parent.parent.context.$implicit,n.parent.parent.context.index)&&t),t}),lL,nL)),Di(22,180224,[[6,4],[7,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(23,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(24,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(25,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(26,null,["",""]))],(function(n,l){var e=l.component;n(l,2,0,e.adminMode),n(l,5,0,e.adminMode&&!l.parent.parent.context.$implicit.system),n(l,7,0),n(l,16,0,!l.parent.parent.context.$implicit.mandatory),n(l,18,0,l.parent.parent.context.$implicit.mandatory),n(l,24,0,"warn")}),(function(n,l){var e=l.component;n(l,3,0,l.parent.parent.context.$implicit.label),n(l,13,0,bi(l,14).role,bi(l,14)._highlighted,bi(l,14)._triggersSubmenu,bi(l,14)._getTabIndex(),bi(l,14).disabled.toString(),bi(l,14).disabled||null),n(l,19,0,bi(l,20).vertical?"vertical":"horizontal",bi(l,20).vertical,!bi(l,20).vertical,bi(l,20).inset),n(l,21,0,bi(l,22).role,bi(l,22)._highlighted,bi(l,22)._triggersSubmenu,bi(l,22)._getTabIndex(),bi(l,22).disabled.toString(),bi(l,22).disabled||null),n(l,23,0,bi(l,24).inline,"primary"!==bi(l,24).color&&"accent"!==bi(l,24).color&&"warn"!==bi(l,24).color),n(l,26,0,e.lang.delete)}))}function Knn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),Di(1,16384,[[11,4],[12,4]],0,iT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.parent.parent.parent.context.$implicit.label)}))}function Ynn(n){return jo(0,[(n()(),_o(0,0,null,null,22,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,21,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),vo(16777216,null,3,1,null,Knn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,1,8,"textarea",[["class","subject mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matInput",""],["matTextareaAutosize",""],["rows","1"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"input"===l&&(t=!1!==bi(n,21)._noopInputHandler()&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Di(21,4603904,null,0,PT,[Pe,sh,La],{matTextareaAutosize:[0,"matTextareaAutosize"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,e.appService.getViewMode()?"":"never"),n(l,13,0,e.appService.getViewMode()),n(l,17,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier]),n(l,20,0,e.adminMode?e.lang.defaultValue:e.lang.typeValue),n(l,21,0,"")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,1,[bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()])}))}function Jnn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),Di(1,16384,[[20,4],[21,4]],0,iT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.parent.parent.parent.context.$implicit.label)}))}function Znn(n){return jo(0,[(n()(),_o(0,0,null,null,22,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,21,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,18,{_controlNonStatic:0}),ko(335544320,19,{_controlStatic:0}),ko(603979776,20,{_labelChildNonStatic:0}),ko(335544320,21,{_labelChildStatic:0}),ko(603979776,22,{_placeholderChild:0}),ko(603979776,23,{_errorChildren:1}),ko(603979776,24,{_hintChildren:1}),ko(603979776,25,{_prefixChildren:1}),ko(603979776,26,{_suffixChildren:1}),(n()(),vo(16777216,null,3,1,null,Jnn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["min","0"],["step","0.1"],["type","number"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,16).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,16).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,16).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(16,16384,null,0,F_,[Te,Pe],null,null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(18,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[18,4],[19,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,e.appService.getViewMode()?"":"never"),n(l,13,0,e.appService.getViewMode()),n(l,18,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier]),n(l,21,0,e.adminMode?e.lang.defaultValue:e.lang.typeValue,"number")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,1,[bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()])}))}function Qnn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.launchEvent(e,n.parent.parent.context.$implicit)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(4,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showResetOption:[4,"showResetOption"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,4,0,e.adminMode?e.lang.defaultValue:e.lang.chooseValue,e.arrFormControl[l.parent.parent.context.$implicit.identifier],l.parent.parent.context.$implicit.values,l.parent.parent.context.$implicit.label,e.adminMode||!l.parent.parent.context.$implicit.mandatory)}),null)}function Xnn(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"button",[["color","primary"],["mat-button",""],["mat-icon-button",""],["matPrefix",""],["style","position: absolute;left: -40px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.toggleTodayDate(n.parent.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,16384,null,0,aT,[],null,null),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.lang.todayDate),n(l,3,0,"primary"),n(l,5,0,"primary")}),(function(n,l){n(l,0,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,Wt(1,"",l.parent.parent.parent.context.$implicit.today?"far fa-bell-slash":"far fa-bell",""),bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function nln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),Di(1,16384,[[29,4],[30,4]],0,iT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.parent.parent.parent.context.$implicit.label)}))}function lln(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[35,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,36,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,30))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function eln(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.arrFormControl[n.parent.parent.parent.context.$implicit.identifier].reset()&&t),t}),PC,MC)),Di(1,16384,[[35,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function tln(n){return jo(0,[(n()(),_o(0,0,null,null,32,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Xnn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,29,"mat-form-field",[["class","input-form input-date mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,30).open()&&t),t}),kT,pT)),Di(4,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,27,{_controlNonStatic:0}),ko(335544320,28,{_controlStatic:0}),ko(603979776,29,{_labelChildNonStatic:0}),ko(335544320,30,{_labelChildStatic:0}),ko(603979776,31,{_placeholderChild:0}),ko(603979776,32,{_errorChildren:1}),ko(603979776,33,{_hintChildren:1}),ko(603979776,34,{_prefixChildren:1}),ko(603979776,35,{_suffixChildren:1}),(n()(),vo(16777216,null,3,1,null,nln)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"dateChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,18)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,18)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,18)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,25)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,25)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,25)._onInput()&&t),"dateChange"===l&&(t=!1!==i.launchEvent(e,n.parent.parent.context.$implicit)&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(18,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"],max:[2,"max"]},{dateChange:"dateChange"}),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(21,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(23,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(25,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[27,4],[28,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,lln)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(29,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(30,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,eln)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.adminMode),n(l,4,0,e.appService.getViewMode()?"":"never"),n(l,15,0,e.appService.getViewMode()),n(l,18,0,bi(l,30),e.getMinDate(l.parent.parent.context.$implicit.startDate),e.getMaxDate(l.parent.parent.context.$implicit.endDate)),n(l,21,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier]),n(l,25,0,e.adminMode?e.lang.defaultValue:e.lang.chooseDate,""),n(l,28,0,!e.arrFormControl[l.parent.parent.context.$implicit.identifier].value),n(l,30,0,e.appService.getViewMode()),n(l,32,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier].value&&!e.arrFormControl[l.parent.parent.context.$implicit.identifier].disabled)}),(function(n,l){n(l,3,1,["standard"==bi(l,4).appearance,"fill"==bi(l,4).appearance,"outline"==bi(l,4).appearance,"legacy"==bi(l,4).appearance,bi(l,4)._control.errorState,bi(l,4)._canLabelFloat,bi(l,4)._shouldLabelFloat(),bi(l,4)._hasFloatingLabel(),bi(l,4)._hideControlPlaceholder(),bi(l,4)._control.disabled,bi(l,4)._control.autofilled,bi(l,4)._control.focused,"accent"==bi(l,4).color,"warn"==bi(l,4).color,bi(l,4)._shouldForward("untouched"),bi(l,4)._shouldForward("touched"),bi(l,4)._shouldForward("pristine"),bi(l,4)._shouldForward("dirty"),bi(l,4)._shouldForward("valid"),bi(l,4)._shouldForward("invalid"),bi(l,4)._shouldForward("pending"),!bi(l,4)._animationsEnabled]),n(l,16,1,[bi(l,18)._datepicker?"dialog":null,(null==bi(l,18)._datepicker?null:bi(l,18)._datepicker.opened)&&bi(l,18)._datepicker.id||null,bi(l,18).min?bi(l,18)._dateAdapter.toIso8601(bi(l,18).min):null,bi(l,18).max?bi(l,18)._dateAdapter.toIso8601(bi(l,18).max):null,bi(l,18).disabled,bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending,bi(l,25)._isServer,bi(l,25).id,bi(l,25).placeholder,bi(l,25).disabled,bi(l,25).required,bi(l,25).readonly&&!bi(l,25)._isNativeSelect||null,bi(l,25)._ariaDescribedby||null,bi(l,25).errorState,bi(l,25).required.toString()])}))}function iln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-label",[],null,null,null,null,null)),Di(1,16384,[[39,4],[40,4]],0,iT,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.parent.parent.parent.context.$implicit.label)}))}function aln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[46,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,l.context.$implicit.label)}))}function oln(n){return jo(0,[(n()(),_o(0,0,null,null,25,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,24,"mat-form-field",[["class","input-form input-radio mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,37,{_controlNonStatic:0}),ko(335544320,38,{_controlStatic:0}),ko(603979776,39,{_labelChildNonStatic:0}),ko(335544320,40,{_labelChildStatic:0}),ko(603979776,41,{_placeholderChild:0}),ko(603979776,42,{_errorChildren:1}),ko(603979776,43,{_hintChildren:1}),ko(603979776,44,{_prefixChildren:1}),ko(603979776,45,{_suffixChildren:1}),(n()(),vo(16777216,null,3,1,null,iln)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["style","display: none;"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,15)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,15)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,15)._onInput()&&t),t}),null,null)),Di(15,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],null,null),Ei(2048,[[37,4],[38,4]],nT,null,[OT]),(n()(),_o(17,0,null,1,8,"mat-radio-group",[["class","radio-form mat-radio-group"],["color","primary"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],null,null,null,null)),Di(18,1064960,null,1,gq,[Nl],{color:[0,"color"]},null),ko(603979776,46,{_radios:1}),Ei(1024,null,d_,(function(n){return[n]}),[gq]),Di(21,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(23,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,aln)),Di(25,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.appService.getViewMode()?"":"never"),n(l,13,0,e.appService.getViewMode()),n(l,15,0),n(l,18,0,"primary"),n(l,21,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier]),n(l,25,0,l.parent.parent.context.$implicit.values)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,0,bi(l,15)._isServer,bi(l,15).id,bi(l,15).placeholder,bi(l,15).disabled,bi(l,15).required,bi(l,15).readonly&&!bi(l,15)._isNativeSelect||null,bi(l,15)._ariaDescribedby||null,bi(l,15).errorState,bi(l,15).required.toString()),n(l,17,0,bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending)}))}function rln(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[47,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],value:[1,"value"]},null),ko(603979776,48,{_avatar:0}),ko(603979776,49,{_icon:0}),ko(603979776,50,{_lines:1}),(n()(),Lo(5,0,[" "," "]))],(function(n,l){n(l,1,0,"before",l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,l.context.$implicit.label)}))}function uln(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip",[["class","mat-chip"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),t}),null,null)),Di(1,147456,[[51,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selected:[0,"selected"]},null),ko(603979776,52,{avatar:0}),ko(603979776,53,{trailingIcon:0}),ko(603979776,54,{removeIcon:0}),(n()(),Lo(5,null,[" "," "]))],(function(n,l){n(l,1,0,"")}),(function(n,l){n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,l.context.$implicit.value)}))}function sln(n){return jo(0,[(n()(),_o(0,0,null,null,16,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,9,"div",[["class","input-form checkbox-form"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,8,"mat-selection-list",[["aria-multiselectable","true"],["class","div-list mat-selection-list mat-list-base"],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,3)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,3)._keydown(e)&&t),t}),FI,DI)),Di(3,1753088,[["shoes",4]],1,dI,[Pe,[8,null]],null,null),ko(603979776,47,{options:1}),Ei(1024,null,d_,(function(n){return[n]}),[dI]),Di(6,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(8,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,0,1,null,rln)),Di(10,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(11,0,null,null,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,13).focus()&&t),"blur"===l&&(t=!1!==bi(n,13)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,13)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(13,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],{disabled:[0,"disabled"]},null),ko(603979776,51,{chips:1}),(n()(),vo(16777216,null,0,1,null,uln)),Di(16,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier]),n(l,10,0,l.parent.parent.context.$implicit.values),n(l,13,0,l.parent.parent.context.$implicit.system&&e.adminMode),n(l,16,0,bi(l,3).selectedOptions.selected)}),(function(n,l){n(l,2,0,bi(l,3).tabIndex,bi(l,3).disabled.toString(),bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending),n(l,11,1,[bi(l,13).disabled?null:bi(l,13)._tabIndex,bi(l,13)._ariaDescribedby||null,bi(l,13).required.toString(),bi(l,13).disabled.toString(),bi(l,13).errorState,bi(l,13).multiple,bi(l,13).role,bi(l,13).disabled,bi(l,13).errorState,bi(l,13).required,bi(l,13).ariaOrientation,bi(l,13)._uid])}))}function cln(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"app-contact-autocomplete",[["style","width:100%;"]],null,[[null,"retrieveDocumentEvent"],[null,"afterContactSelected"],[null,"removeContactEvent"]],(function(n,l,e){var t=!0,i=n.component;return"retrieveDocumentEvent"===l&&(t=!1!==i.retrieveDocumentEvent.emit()&&t),"afterContactSelected"===l&&(t=!1!==i.selectedContact(e,n.parent.parent.context.$implicit.identifier)&&t),"removeContactEvent"===l&&(t=!1!==i.checkRemovedItem(e)&&t),t}),Y9,h9)),Ei(4608,null,HS,HS,[QS,$S]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(5,114688,null,0,f9,[nS,tu,Jv,_u,yu,QS,TI,L1,$S],{controlAutocomplete:[0,"controlAutocomplete"]},{retrieveDocumentEvent:"retrieveDocumentEvent",afterContactSelected:"afterContactSelected",removeContactEvent:"removeContactEvent"})],(function(n,l){n(l,5,0,l.component.arrFormControl[l.parent.parent.context.$implicit.identifier])}),null)}function dln(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"app-folder-input",[["style","width:100%;"]],null,null,null,rnn,Z9)),Ei(4608,null,HS,HS,[QS,$S]),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(5,114688,null,0,J9,[nS,tu,Jv,_u,yu,QS],{controlAutocomplete:[0,"controlAutocomplete"]},null)],(function(n,l){n(l,5,0,l.component.arrFormControl[l.parent.parent.context.$implicit.identifier])}),null)}function pln(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"app-tag-input",[["style","width:100%;"]],null,null,null,wnn,dnn)),Ei(4608,null,HS,HS,[QS,$S]),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(5,114688,null,0,cnn,[nS,tu,Jv,_u,yu,QS,TI,$S],{controlAutocomplete:[0,"controlAutocomplete"]},null)],(function(n,l){n(l,5,0,l.component.arrFormControl[l.parent.parent.context.$implicit.identifier])}),null)}function mln(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"app-address-ban-input",[["style","width:100%;"]],null,null,null,Tnn,Cnn)),Di(2,114688,null,0,xnn,[nS,tu,Jv],{controlAutocomplete:[0,"controlAutocomplete"],adminMode:[1,"adminMode"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.arrFormControl[l.parent.parent.context.$implicit.identifier],e.adminMode)}),null)}function fln(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"app-contact-autocomplete",[["style","width:100%;"]],[[8,"id",0]],[[null,"retrieveDocumentEvent"]],(function(n,l,e){var t=!0;return"retrieveDocumentEvent"===l&&(t=!1!==n.component.retrieveDocumentEvent.emit()&&t),t}),Y9,h9)),Ei(4608,null,HS,HS,[QS,$S]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(5,114688,null,0,f9,[nS,tu,Jv,_u,yu,QS,TI,L1,$S],{controlAutocomplete:[0,"controlAutocomplete"]},{retrieveDocumentEvent:"retrieveDocumentEvent"})],(function(n,l){n(l,5,0,l.component.arrFormControl[l.parent.parent.context.$implicit.identifier])}),(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.identifier)}))}function hln(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk fieldRequired"]],[[2,"noMandatory",null]],null,null,null,null))],null,(function(n,l){n(l,0,0,!l.parent.parent.context.$implicit.mandatory)}))}function gln(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function bln(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function vln(n){return jo(0,[(n()(),_o(0,16777216,null,null,38,"div",[["cdkDrag",""],["cdkDragLockAxis","y"],["class","fieldRow cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Ei(6144,null,VU,null,[$U]),Di(2,4866048,[[2,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"],lockAxis:[1,"lockAxis"]},null),ko(603979776,3,{_handles:1}),ko(603979776,4,{_previewTemplate:0}),ko(603979776,5,{_placeholderTemplate:0}),(n()(),vo(16777216,null,null,1,null,Wnn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,null,23,"div",[["class","fieldInput"]],[[2,"textareaInput",null],[2,"checkboxInput",null]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ynn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Znn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Qnn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tln)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,oln)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,sln)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,cln)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(23,2),(n()(),vo(16777216,null,null,1,null,dln)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,pln)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mln)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fln)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,null,6,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,hln)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,gln)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bln)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,l.parent.context.$implicit,"y"),n(l,7,0,!e.adminMode&&!e.appService.getViewMode()||e.adminMode),n(l,10,0,"string"===l.parent.context.$implicit.type),n(l,12,0,"integer"===l.parent.context.$implicit.type),n(l,14,0,"select"===l.parent.context.$implicit.type),n(l,16,0,"date"===l.parent.context.$implicit.type),n(l,18,0,"radio"===l.parent.context.$implicit.type),n(l,20,0,"checkbox"===l.parent.context.$implicit.type);var t=n(l,23,0,"senders","recipients").indexOf(l.parent.context.$implicit.identifier)>-1;n(l,22,0,t),n(l,25,0,"folders"===l.parent.context.$implicit.identifier),n(l,27,0,"tags"===l.parent.context.$implicit.identifier),n(l,29,0,"banAutocomplete"===l.parent.context.$implicit.type),n(l,31,0,"contact"===l.parent.context.$implicit.type),n(l,34,0,e.adminMode||e.arrFormControl[l.parent.context.$implicit.identifier].hasError("required")&&e.arrFormControl[l.parent.context.$implicit.identifier].untouched),n(l,36,0,!e.adminMode&&e.arrFormControl[l.parent.context.$implicit.identifier].touched&&e.arrFormControl[l.parent.context.$implicit.identifier].hasError("required")),n(l,38,0,!e.adminMode&&e.arrFormControl[l.parent.context.$implicit.identifier].valid&&!e.isEmptyField(l.parent.context.$implicit))}),(function(n,l){n(l,0,0,bi(l,2).disabled,bi(l,2)._dragRef.isDragging()),n(l,8,0,"string"===l.parent.context.$implicit.type,"checkbox"===l.parent.context.$implicit.type)}))}function _ln(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","linkRes"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),Eo(2,1),Fo(3,2),(n()(),_o(4,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"a",[["style","cursor: pointer; display: contents; font-weight: bold; font-size: 14px;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openSearchResourceModal()&&t),t}),null,null)),(n()(),Lo(6,null,["",""]))],null,(function(n,l){var e=l.component,t=bt(l,1,0,n(l,3,0,bi(l.parent.parent.parent.parent.parent,2),e.lang.hasLinkedRes,n(l,2,0,e.suggestLinksNdaysAgo)));n(l,1,0,t),n(l,6,0,e.lang.seeMore)}))}function yln(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n.parent,16).switchMode()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-edit mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.modifyDiffusionList,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function wln(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk fieldRequired"]],[[2,"noMandatory",null]],null,null,null,null))],null,(function(n,l){n(l,0,0,!l.parent.parent.context.$implicit.mandatory)}))}function xln(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function Cln(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function kln(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(2,49152,null,0,mI,[],null,null),(n()(),_o(3,0,null,null,11,"div",[["style","padding: 10px;font-size: 16px;color: #135F7F;letter-spacing: 2px;font-weight: bold;display: flex;\n align-items: center;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,3,"div",[["style","display: flex;flex: 1;align-items: center;"]],null,null,null,null,null)),(n()(),Lo(5,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,yln)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,null,6,"div",[["class","fieldState"],["style","width: 20px;padding: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wln)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,xln)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Cln)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,1,"app-diffusions-list",[],null,[[null,"triggerEvent"],[null,"afterGetRoles"]],(function(n,l,e){var t=!0,i=n.component;return"triggerEvent"===l&&(t=!1!==i.changeDestination(e,n.parent.context.$implicit.allowedEntities)&&t),"afterGetRoles"===l&&(t=!1!==i.checkDestinationFieldByRole(e)&&t),t}),JW,TW)),Di(16,114688,[[1,4],["appDiffusionsList",4]],0,OW,[nS,tu,Te,Jv,$S,_u],{resId:[0,"resId"],entityId:[1,"entityId"],selfDest:[2,"selfDest"],category:[3,"category"],allowedEntities:[4,"allowedEntities"],customDiffusion:[5,"customDiffusion"],target:[6,"target"],diffFormControl:[7,"diffFormControl"],newEntityId:[8,"newEntityId"]},{triggerEvent:"triggerEvent",afterGetRoles:"afterGetRoles"}),(n()(),_o(17,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(18,49152,null,0,mI,[],null,null)],(function(n,l){var e=l.component;n(l,7,0,bi(l,16).canUpdateRoles()),n(l,10,0,e.adminMode||e.arrFormControl.diffusionList.hasError("required")&&e.arrFormControl.diffusionList.untouched),n(l,12,0,!e.adminMode&&e.arrFormControl.diffusionList.touched&&"INVALID"===e.arrFormControl.diffusionList.status),n(l,14,0,!e.adminMode&&e.arrFormControl.diffusionList.valid&&!e.isEmptyField(l.parent.context.$implicit)),n(l,16,0,e.resId,e.arrFormControl[l.parent.context.$implicit.identifier].value,e.selfDest,e.currentCategory,l.parent.context.$implicit.allowedEntities,e.customDiffusion,e.mode,e.arrFormControl.diffusionList,e.newEntityId)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).vertical?"vertical":"horizontal",bi(l,2).vertical,!bi(l,2).vertical,bi(l,2).inset),n(l,5,0,e.lang.diffusionList),n(l,17,0,bi(l,18).vertical?"vertical":"horizontal",bi(l,18).vertical,!bi(l,18).vertical,bi(l,18).inset)}))}function Sln(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,vln)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,_ln)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,kln)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.unit===l.parent.parent.context.$implicit),n(l,4,0,e.hasLinkedRes&&"senders"===l.context.$implicit.identifier),n(l,6,0,"destination"===l.context.$implicit.identifier&&!e.adminMode&&e.arrFormControl.destination.value>0&&!e.hideDiffusionList)}),null)}function Iln(n){return jo(0,[(n()(),_o(0,0,null,null,15,"div",[["class","banner"]],[[4,"borderColor",null]],null,null,null,null)),(n()(),_o(1,0,null,null,5,"div",[["class","title"]],[[4,"color",null]],null,null,null,null)),(n()(),Lo(2,null,[" "," "])),Fo(3,1),(n()(),vo(16777216,null,null,1,null,Unn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,8,"div",[["class","content"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,7,"div",[["cdkDropList",""],["class","indexingModelsCustomFieldsList cdk-drop-list"],["style","min-height: 50px;"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(10,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"],disabled:[3,"disabled"]},{dropped:"cdkDropListDropped"}),ko(603979776,2,{_draggables:1}),Eo(12,6),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,Sln)),Di(15,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,5,0,"mail"===l.parent.context.$implicit);var t=n(l,12,0,"indexingModelsCustomFieldsList_mail","indexingModelsCustomFieldsList_contact","indexingModelsCustomFieldsList_process","indexingModelsCustomFieldsList_classifying","customFieldsList","fieldsList");n(l,10,0,t,e["indexingModels_"+l.parent.context.$implicit],Wt(1,"indexingModelsCustomFieldsList_",l.parent.context.$implicit,""),!e.adminMode),n(l,15,0,e["indexingModels_"+l.parent.context.$implicit])}),(function(n,l){var e=l.component;n(l,0,0,e.currentPriorityColor),n(l,1,0,e.currentPriorityColor);var t=bt(l,2,0,n(l,3,0,bi(l.parent.parent.parent,0),e.lang[l.parent.context.$implicit]));n(l,2,0,t),n(l,8,0,bi(l,10).id,bi(l,10).disabled,bi(l,10)._dropListRef.isDragging(),bi(l,10)._dropListRef.isReceiving())}))}function Aln(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Iln)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e["indexingModels_"+l.context.$implicit].length>0||e.adminMode)}),null)}function Mln(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,znn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Aln)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,!e.adminMode&&"indexation"==e.mode),n(l,4,0,e.fieldCategories)}),null)}function Pln(n){return jo(0,[Fi(0,Ls,[]),Fi(0,Ts,[]),Fi(0,KS,[]),ko(671088640,1,{appDiffusionsList:0}),(n()(),vo(16777216,null,null,1,null,qnn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mln)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,e.loading),n(l,7,0,!e.loading)}),null)}var Dln=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.headerService=t,this.appService=i,this.sortPipe=a,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.drop=function(n){n.item.data.unit=n.container.id.split("_")[1],n.previousContainer===n.container?_U(n.container.data,n.previousIndex,n.currentIndex):yU(n.previousContainer.data,n.container.data,n.previousIndex,n.currentIndex)},n}(),Fln=yt({encapsulation:0,styles:[[""],tN],data:{}});function Eln(n){return jo(0,[(n()(),_o(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(12,0,null,1,3,"textarea",[["cdkAutosizeMaxRows","6"],["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["disabled",""],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["rows","1"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),"input"===l&&(t=!1!==bi(n,14)._noopInputHandler()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Di(14,4603904,null,0,PT,[Pe,sh,La],{maxRows:[0,"maxRows"],matAutosizeMinRows:[1,"matAutosizeMinRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[5,4],[6,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,14,0,"6","1","")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function Oln(n){return jo(0,[(n()(),_o(0,0,null,null,14,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,13,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,14,{_controlNonStatic:0}),ko(335544320,15,{_controlStatic:0}),ko(603979776,16,{_labelChildNonStatic:0}),ko(335544320,17,{_labelChildStatic:0}),ko(603979776,18,{_placeholderChild:0}),ko(603979776,19,{_errorChildren:1}),ko(603979776,20,{_hintChildren:1}),ko(603979776,21,{_prefixChildren:1}),ko(603979776,22,{_suffixChildren:1}),(n()(),_o(12,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["type","number"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[14,4],[15,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"],"number")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function Tln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[32,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function Lln(n){return jo(0,[(n()(),_o(0,0,null,null,20,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,23,{_controlNonStatic:0}),ko(335544320,24,{_controlStatic:0}),ko(603979776,25,{_labelChildNonStatic:0}),ko(335544320,26,{_labelChildStatic:0}),ko(603979776,27,{_placeholderChild:0}),ko(603979776,28,{_errorChildren:1}),ko(603979776,29,{_hintChildren:1}),ko(603979776,30,{_prefixChildren:1}),ko(603979776,31,{_suffixChildren:1}),(n()(),_o(12,0,null,1,8,"mat-select",[["class","mat-select"],["disabled",""],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,14)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,14)._onBlur()&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(14,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[8,null],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,32,{options:1}),ko(603979776,33,{optionGroups:1}),ko(603979776,34,{customTrigger:0}),Ei(2048,[[23,4],[24,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,Tln)),Di(20,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,14,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,20,0,l.parent.context.$implicit.values)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).id,bi(l,14).tabIndex,bi(l,14)._getAriaLabel(),bi(l,14)._getAriaLabelledby(),bi(l,14).required.toString(),bi(l,14).disabled.toString(),bi(l,14).errorState,bi(l,14).panelOpen?bi(l,14)._optionIds:null,bi(l,14).multiple,bi(l,14)._ariaDescribedby||null,bi(l,14)._getAriaActiveDescendant(),bi(l,14).disabled,bi(l,14).errorState,bi(l,14).required,bi(l,14).empty])}))}function Rln(n){return jo(0,[(n()(),_o(0,0,null,null,24,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,23,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,35,{_controlNonStatic:0}),ko(335544320,36,{_controlStatic:0}),ko(603979776,37,{_labelChildNonStatic:0}),ko(335544320,38,{_labelChildStatic:0}),ko(603979776,39,{_placeholderChild:0}),ko(603979776,40,{_errorChildren:1}),ko(603979776,41,{_hintChildren:1}),ko(603979776,42,{_prefixChildren:1}),ko(603979776,43,{_suffixChildren:1}),(n()(),_o(12,0,null,1,6,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"change"],[null,"blur"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,15)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,15)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,15)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,15)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"click"===l&&(t=!1!==bi(n,24).open()&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[lw]),Ei(5120,null,C_,(function(n){return[n]}),[lw]),Di(15,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],disabled:[1,"disabled"]},null),Ei(2048,null,DT,null,[lw]),Di(17,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[6,DT],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[35,4],[36,4]],nT,null,[OT]),(n()(),_o(19,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,21)._button.focus()&&t),t}),nk,QC)),Di(20,16384,[[43,4]],0,oT,[],null,null),Di(21,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,44,{_customIcon:0}),(n()(),_o(23,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(24,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,15,0,bi(l,24),""),n(l,17,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,21,0,bi(l,24))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,15)._datepicker?"dialog":null,(null==bi(l,15)._datepicker?null:bi(l,15)._datepicker.opened)&&bi(l,15)._datepicker.id||null,bi(l,15).min?bi(l,15)._dateAdapter.toIso8601(bi(l,15).min):null,bi(l,15).max?bi(l,15)._dateAdapter.toIso8601(bi(l,15).max):null,bi(l,15).disabled,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()]),n(l,19,0,-1,bi(l,21).datepicker&&bi(l,21).datepicker.opened,bi(l,21).datepicker&&"accent"===bi(l,21).datepicker.color,bi(l,21).datepicker&&"warn"===bi(l,21).datepicker.color)}))}function Nln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[45,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,l.context.$implicit.label)}))}function jln(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-radio-group",[["class","radio-form mat-radio-group"],["color","primary"],["disabled",""],["role","radiogroup"]],null,null,null,null,null)),Ei(5120,null,d_,(function(n){return[n]}),[gq]),Di(3,1064960,null,1,gq,[Nl],{color:[0,"color"],disabled:[1,"disabled"]},null),ko(603979776,45,{_radios:1}),(n()(),vo(16777216,null,null,1,null,Nln)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,"primary",""),n(l,6,0,l.parent.context.$implicit.values)}),null)}function Vln(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[46,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],value:[1,"value"]},null),ko(603979776,47,{_avatar:0}),ko(603979776,48,{_icon:0}),ko(603979776,49,{_lines:1}),(n()(),Lo(5,0,[" "," "]))],(function(n,l){n(l,1,0,"before",l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,l.context.$implicit.label)}))}function qln(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip",[["class","mat-chip"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),t}),null,null)),Di(1,147456,[[50,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selected:[0,"selected"]},null),ko(603979776,51,{avatar:0}),ko(603979776,52,{trailingIcon:0}),ko(603979776,53,{removeIcon:0}),(n()(),Lo(5,null,[" "," "]))],(function(n,l){n(l,1,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.lang.selectedValue)}))}function zln(n){return jo(0,[(n()(),_o(0,0,null,null,13,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","input-form checkbox-form"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"mat-selection-list",[["aria-multiselectable","true"],["class","div-list mat-selection-list mat-list-base"],["disabled",""],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,4)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,4)._keydown(e)&&t),t}),FI,DI)),Ei(5120,null,d_,(function(n){return[n]}),[dI]),Di(4,1753088,[["checkboxCustomElement",4]],1,dI,[Pe,[8,null]],{disabled:[0,"disabled"]},null),ko(603979776,46,{options:1}),(n()(),vo(16777216,null,0,1,null,Vln)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(8,0,null,null,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,10).focus()&&t),"blur"===l&&(t=!1!==bi(n,10)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(10,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,50,{chips:1}),(n()(),vo(16777216,null,0,1,null,qln)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,4,0,""),n(l,7,0,l.parent.context.$implicit.values),n(l,10,0),n(l,13,0,bi(l,4).selectedOptions.selected)}),(function(n,l){n(l,2,0,bi(l,4).tabIndex,bi(l,4).disabled.toString()),n(l,8,1,[bi(l,10).disabled?null:bi(l,10)._tabIndex,bi(l,10)._ariaDescribedby||null,bi(l,10).required.toString(),bi(l,10).disabled.toString(),bi(l,10).errorState,bi(l,10).multiple,bi(l,10).role,bi(l,10).disabled,bi(l,10).errorState,bi(l,10).required,bi(l,10).ariaOrientation,bi(l,10)._uid])}))}function Uln(n){return jo(0,[(n()(),_o(0,16777216,null,null,27,"div",[["cdkDrag",""],["class","customFieldRow cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Di(1,4866048,[[1,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"]},null),ko(603979776,2,{_handles:1}),ko(603979776,3,{_previewTemplate:0}),ko(603979776,4,{_placeholderTemplate:0}),Ei(2048,null,VU,null,[$U]),(n()(),_o(6,0,null,null,2,"div",[["class","customFieldDrag"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"i",[["cdkDragHandle",""],["class","fas fa-arrows-alt fa-2x cdk-drag-handle"],["color","primary"]],null,null,null,null,null)),Di(8,147456,[[2,4]],0,qU,[Pe,[2,VU]],null,null),(n()(),_o(9,0,null,null,18,"div",[["style","flex:1;display: flex;"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"div",[["class","fieldLabel"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,null,13,"div",[["class","fieldInput"]],[[2,"advancedInput",null]],null,null,null,null)),(n()(),vo(16777216,null,null,2,null,Eln)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(15,4),(n()(),vo(16777216,null,null,1,null,Oln)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Lln)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Rln)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jln)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zln)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,0,"i",[["class","fas fa-asterisk"]],[[2,"noMandatory",null]],null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.context.$implicit);var e=n(l,15,0,"string","autocomplete","banAutocomplete","contact").indexOf(l.context.$implicit.type)>-1;n(l,14,0,e),n(l,17,0,"integer"===l.context.$implicit.type),n(l,19,0,"select"===l.context.$implicit.type),n(l,21,0,"date"===l.context.$implicit.type),n(l,23,0,"radio"===l.context.$implicit.type),n(l,25,0,"checkbox"===l.context.$implicit.type)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._dragRef.isDragging()),n(l,11,0,l.context.$implicit.label),n(l,12,0,"checkbox"===l.context.$implicit.type),n(l,27,0,!l.context.$implicit.mandatory)}))}function Bln(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["cdkDropList",""],["class","content cdk-drop-list"],["id","customFieldsList"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(2,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,1,{_draggables:1}),Eo(4,4),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,2,null,Uln)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(8,2)],(function(n,l){var e=l.component,t=n(l,4,0,"indexingModelsCustomFieldsList_mail","indexingModelsCustomFieldsList_contact","indexingModelsCustomFieldsList_process","indexingModelsCustomFieldsList_classifying");n(l,2,0,t,e.availableCustomFields,"customFieldsList");var i=bt(l,7,0,n(l,8,0,bi(l.parent,0),e.availableCustomFields,"label"));n(l,7,0,i)}),(function(n,l){n(l,0,0,bi(l,2).id,bi(l,2).disabled,bi(l,2)._dropListRef.isDragging(),bi(l,2)._dropListRef.isReceiving())}))}function $ln(n){return jo(0,[(n()(),_o(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,58,{_controlNonStatic:0}),ko(335544320,59,{_controlStatic:0}),ko(603979776,60,{_labelChildNonStatic:0}),ko(335544320,61,{_labelChildStatic:0}),ko(603979776,62,{_placeholderChild:0}),ko(603979776,63,{_errorChildren:1}),ko(603979776,64,{_hintChildren:1}),ko(603979776,65,{_prefixChildren:1}),ko(603979776,66,{_suffixChildren:1}),(n()(),_o(12,0,null,1,3,"textarea",[["cdkAutosizeMaxRows","6"],["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["disabled",""],["matAutosizeMinRows","1"],["matInput",""],["matTextareaAutosize",""],["rows","1"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),"input"===l&&(t=!1!==bi(n,14)._noopInputHandler()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Di(14,4603904,null,0,PT,[Pe,sh,La],{maxRows:[0,"maxRows"],matAutosizeMinRows:[1,"matAutosizeMinRows"],matTextareaAutosize:[2,"matTextareaAutosize"]},null),Ei(2048,[[58,4],[59,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,14,0,"6","1","")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function Hln(n){return jo(0,[(n()(),_o(0,0,null,null,14,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,13,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,67,{_controlNonStatic:0}),ko(335544320,68,{_controlStatic:0}),ko(603979776,69,{_labelChildNonStatic:0}),ko(335544320,70,{_labelChildStatic:0}),ko(603979776,71,{_placeholderChild:0}),ko(603979776,72,{_errorChildren:1}),ko(603979776,73,{_hintChildren:1}),ko(603979776,74,{_prefixChildren:1}),ko(603979776,75,{_suffixChildren:1}),(n()(),_o(12,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["type","number"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[67,4],[68,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,13,0,"",e.lang[l.parent.context.$implicit.type+"Input"],"number")}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function Gln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[85,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function Wln(n){return jo(0,[(n()(),_o(0,0,null,null,20,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,76,{_controlNonStatic:0}),ko(335544320,77,{_controlStatic:0}),ko(603979776,78,{_labelChildNonStatic:0}),ko(335544320,79,{_labelChildStatic:0}),ko(603979776,80,{_placeholderChild:0}),ko(603979776,81,{_errorChildren:1}),ko(603979776,82,{_hintChildren:1}),ko(603979776,83,{_prefixChildren:1}),ko(603979776,84,{_suffixChildren:1}),(n()(),_o(12,0,null,1,8,"mat-select",[["class","mat-select"],["disabled",""],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,14)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,14)._onBlur()&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(14,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[8,null],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,85,{options:1}),ko(603979776,86,{optionGroups:1}),ko(603979776,87,{customTrigger:0}),Ei(2048,[[76,4],[77,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,Gln)),Di(20,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,14,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,20,0,l.parent.context.$implicit.values)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).id,bi(l,14).tabIndex,bi(l,14)._getAriaLabel(),bi(l,14)._getAriaLabelledby(),bi(l,14).required.toString(),bi(l,14).disabled.toString(),bi(l,14).errorState,bi(l,14).panelOpen?bi(l,14)._optionIds:null,bi(l,14).multiple,bi(l,14)._ariaDescribedby||null,bi(l,14)._getAriaActiveDescendant(),bi(l,14).disabled,bi(l,14).errorState,bi(l,14).required,bi(l,14).empty])}))}function Kln(n){return jo(0,[(n()(),_o(0,0,null,null,24,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,23,"mat-form-field",[["class","input-form mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,88,{_controlNonStatic:0}),ko(335544320,89,{_controlStatic:0}),ko(603979776,90,{_labelChildNonStatic:0}),ko(335544320,91,{_labelChildStatic:0}),ko(603979776,92,{_placeholderChild:0}),ko(603979776,93,{_errorChildren:1}),ko(603979776,94,{_hintChildren:1}),ko(603979776,95,{_prefixChildren:1}),ko(603979776,96,{_suffixChildren:1}),(n()(),_o(12,0,null,1,6,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"change"],[null,"blur"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,15)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,15)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,15)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,15)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"click"===l&&(t=!1!==bi(n,24).open()&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[lw]),Ei(5120,null,C_,(function(n){return[n]}),[lw]),Di(15,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],disabled:[1,"disabled"]},null),Ei(2048,null,DT,null,[lw]),Di(17,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[6,DT],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),Ei(2048,[[88,4],[89,4]],nT,null,[OT]),(n()(),_o(19,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,21)._button.focus()&&t),t}),nk,QC)),Di(20,16384,[[96,4]],0,oT,[],null,null),Di(21,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,97,{_customIcon:0}),(n()(),_o(23,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(24,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,15,0,bi(l,24),""),n(l,17,0,"",e.lang[l.parent.context.$implicit.type+"Input"]),n(l,21,0,bi(l,24))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,15)._datepicker?"dialog":null,(null==bi(l,15)._datepicker?null:bi(l,15)._datepicker.opened)&&bi(l,15)._datepicker.id||null,bi(l,15).min?bi(l,15)._dateAdapter.toIso8601(bi(l,15).min):null,bi(l,15).max?bi(l,15)._dateAdapter.toIso8601(bi(l,15).max):null,bi(l,15).disabled,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()]),n(l,19,0,-1,bi(l,21).datepicker&&bi(l,21).datepicker.opened,bi(l,21).datepicker&&"accent"===bi(l,21).datepicker.color,bi(l,21).datepicker&&"warn"===bi(l,21).datepicker.color)}))}function Yln(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(1,4440064,[[98,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,1,[bi(l,1).checked,bi(l,1).disabled,"NoopAnimations"===bi(l,1)._animationMode,"primary"===bi(l,1).color,"accent"===bi(l,1).color,"warn"===bi(l,1).color,-1,bi(l,1).id,null,null,null]),n(l,2,0,l.context.$implicit.label)}))}function Jln(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-radio-group",[["class","radio-form mat-radio-group"],["color","primary"],["disabled",""],["role","radiogroup"]],null,null,null,null,null)),Ei(5120,null,d_,(function(n){return[n]}),[gq]),Di(3,1064960,null,1,gq,[Nl],{color:[0,"color"],disabled:[1,"disabled"]},null),ko(603979776,98,{_radios:1}),(n()(),vo(16777216,null,null,1,null,Yln)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,"primary",""),n(l,6,0,l.parent.context.$implicit.values)}),null)}function Zln(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-list-option",[["checkboxPosition","before"],["class","mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[99,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],value:[1,"value"]},null),ko(603979776,100,{_avatar:0}),ko(603979776,101,{_icon:0}),ko(603979776,102,{_lines:1}),(n()(),Lo(5,0,[" "," "]))],(function(n,l){n(l,1,0,"before",l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,l.context.$implicit.label)}))}function Qln(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-chip",[["class","mat-chip"],["role","option"],["selected",""]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),t}),null,null)),Di(1,147456,[[103,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selected:[0,"selected"]},null),ko(603979776,104,{avatar:0}),ko(603979776,105,{trailingIcon:0}),ko(603979776,106,{removeIcon:0}),(n()(),Lo(5,null,[" "," "]))],(function(n,l){n(l,1,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.lang.selectedValue)}))}function Xln(n){return jo(0,[(n()(),_o(0,0,null,null,13,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","input-form checkbox-form"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"mat-selection-list",[["aria-multiselectable","true"],["class","div-list mat-selection-list mat-list-base"],["disabled",""],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,4)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,4)._keydown(e)&&t),t}),FI,DI)),Ei(5120,null,d_,(function(n){return[n]}),[dI]),Di(4,1753088,[["checkboxElement",4]],1,dI,[Pe,[8,null]],{disabled:[0,"disabled"]},null),ko(603979776,99,{options:1}),(n()(),vo(16777216,null,0,1,null,Zln)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(8,0,null,null,5,"mat-chip-list",[["class","checkbox-selected-list mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,10).focus()&&t),"blur"===l&&(t=!1!==bi(n,10)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(10,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,103,{chips:1}),(n()(),vo(16777216,null,0,1,null,Qln)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,4,0,""),n(l,7,0,l.parent.context.$implicit.values),n(l,10,0),n(l,13,0,bi(l,4).selectedOptions.selected)}),(function(n,l){n(l,2,0,bi(l,4).tabIndex,bi(l,4).disabled.toString()),n(l,8,1,[bi(l,10).disabled?null:bi(l,10)._tabIndex,bi(l,10)._ariaDescribedby||null,bi(l,10).required.toString(),bi(l,10).disabled.toString(),bi(l,10).errorState,bi(l,10).multiple,bi(l,10).role,bi(l,10).disabled,bi(l,10).errorState,bi(l,10).required,bi(l,10).ariaOrientation,bi(l,10)._uid])}))}function nen(n){return jo(0,[(n()(),_o(0,16777216,null,null,26,"div",[["cdkDrag",""],["class","customFieldRow cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Di(1,4866048,[[54,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"]},null),ko(603979776,55,{_handles:1}),ko(603979776,56,{_previewTemplate:0}),ko(603979776,57,{_placeholderTemplate:0}),Ei(2048,null,VU,null,[$U]),(n()(),_o(6,0,null,null,2,"div",[["cdkDragHandle",""],["class","customFieldDrag cdk-drag-handle"]],null,null,null,null,null)),Di(7,147456,[[55,4]],0,qU,[Pe,[2,VU]],null,null),(n()(),_o(8,0,null,null,0,"i",[["class","fas fa-arrows-alt fa-2x"],["color","primary"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,17,"div",[["style","flex:1;display: flex;"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"div",[["class","fieldLabel"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,null,12,"div",[["class","fieldInput"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$ln)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Hln)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Wln)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Kln)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Jln)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Xln)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(25,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,0,"i",[["class","fas fa-asterisk"]],[[2,"noMandatory",null]],null,null,null,null)),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.context.$implicit),n(l,14,0,"string"===l.context.$implicit.type||"autocomplete"===l.context.$implicit.type),n(l,16,0,"integer"===l.context.$implicit.type),n(l,18,0,"select"===l.context.$implicit.type),n(l,20,0,"date"===l.context.$implicit.type),n(l,22,0,"radio"===l.context.$implicit.type),n(l,24,0,"checkbox"===l.context.$implicit.type)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1)._dragRef.isDragging()),n(l,11,0,l.context.$implicit.label),n(l,26,0,!l.context.$implicit.mandatory)}))}function len(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["cdkDropList",""],["class","content cdk-drop-list"],["id","fieldsList"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(2,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,54,{_draggables:1}),Eo(4,4),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,2,null,nen)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(8,2)],(function(n,l){var e=l.component,t=n(l,4,0,"indexingModelsCustomFieldsList_mail","indexingModelsCustomFieldsList_contact","indexingModelsCustomFieldsList_process","indexingModelsCustomFieldsList_classifying");n(l,2,0,t,e.availableFields,"fieldsList");var i=bt(l,7,0,n(l,8,0,bi(l.parent,0),e.availableFields,"label"));n(l,7,0,i)}),(function(n,l){n(l,0,0,bi(l,2).id,bi(l,2).disabled,bi(l,2)._dropListRef.isDragging(),bi(l,2)._dropListRef.isReceiving())}))}function een(n){return jo(0,[Fi(0,HS,[QS,$S]),(n()(),vo(16777216,null,null,1,null,Bln)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,len)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,void 0!==e.availableCustomFields),n(l,4,0,void 0!==e.availableFields)}),null)}var ten=function(){function n(n,l,e,t,i,a,o){this.http=n,this.route=l,this.router=e,this.notify=t,this.dialog=i,this.headerService=a,this.appService=o,this.lang=Kr,this.loading=!0,this.indexingModel={id:0,label:"",category:"incoming",default:!1,owner:0,private:!1},this.indexingModelsCustomFields=[],this.creationMode=!0}return n.prototype.ngOnInit=function(){var n=this;this.route.params.subscribe((function(l){void 0===l.id?(n.creationMode=!0,n.headerService.setHeader(n.lang.indexingModelCreation),n.http.get("../../rest/categories").pipe(Yr((function(l){n.categoriesList=l.categories})),Yr((function(l){n.loading=!1,setTimeout((function(){n.indexingForm.changeCategory(n.indexingModel.category)}),0)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe(),n.indexingModelClone=JSON.parse(JSON.stringify(n.indexingModel))):(n.creationMode=!1,n.http.get("../../rest/indexingModels/"+l.id).pipe(Yr((function(l){n.indexingModel=l.indexingModel,n.headerService.setHeader(n.lang.indexingModelModification,n.indexingModel.label),n.indexingModelClone=JSON.parse(JSON.stringify(n.indexingModel))})),MN((function(){return n.http.get("../../rest/categories")})),Yr((function(l){n.categoriesList=l.categories})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe())}))},n.prototype.onSubmit=function(){var n=this,l=this.indexingForm.getDatas();l.forEach((function(n,e){l[e].default_value=["string","integer","date"].indexOf(l[e].type)>-1&&l[e].SQLMode?null:l[e].default_value,delete l[e].event,delete l[e].label,delete l[e].system,delete l[e].type,delete l[e].values})),this.indexingModel.fields=l,this.creationMode?this.http.post("../../rest/indexingModels",this.indexingModel).pipe(Yr((function(l){n.indexingForm.setModification(),n.setModification(),n.router.navigate(["/administration/indexingModels"]),n.notify.success(n.lang.indexingModelAdded)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe():this.http.put("../../rest/indexingModels/"+this.indexingModel.id,this.indexingModel).pipe(Yr((function(l){n.indexingForm.setModification(),n.setModification(),n.router.navigate(["/administration/indexingModels"]),n.notify.success(n.lang.indexingModelUpdated)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.isModified=function(){return JSON.stringify(this.indexingModel)!==JSON.stringify(this.indexingModelClone)},n.prototype.setModification=function(){this.indexingModelClone=JSON.parse(JSON.stringify(this.indexingModel))},n.prototype.changeCategory=function(n){this.indexingForm.changeCategory(n.value)},n}(),ien=yt({encapsulation:0,styles:[[".indexingModelLabel[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.defaultModel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding-left:10px}"],tN],data:{}});function aen(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function oen(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[14,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function ren(n){return jo(0,[(n()(),_o(0,0,null,null,78,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,28,"div",[["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(4,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(14,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(15,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(16,null,["",""])),(n()(),_o(17,0,null,1,13,"mat-select",[["class","mat-select"],["name","category"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,24)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,24)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,24)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.indexingModel.category=e)&&t),"selectionChange"===l&&(t=!1!==i.changeCategory(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(19,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(21,671744,null,0,_y,[[8,null],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(23,16384,null,0,y_,[[4,v_]],null,null),Di(24,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),ko(603979776,14,{options:1}),ko(603979776,15,{optionGroups:1}),ko(603979776,16,{customTrigger:0}),Ei(2048,[[5,4],[6,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,oen)),Di(30,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(31,0,null,0,31,"div",[["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(32,0,null,null,22,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","indexingModelLabel mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(34,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,17,{_controlNonStatic:0}),ko(335544320,18,{_controlStatic:0}),ko(603979776,19,{_labelChildNonStatic:0}),ko(335544320,20,{_labelChildStatic:0}),ko(603979776,21,{_placeholderChild:0}),ko(603979776,22,{_errorChildren:1}),ko(603979776,23,{_hintChildren:1}),ko(603979776,24,{_prefixChildren:1}),ko(603979776,25,{_suffixChildren:1}),(n()(),_o(44,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(45,16384,[[19,4],[20,4]],0,iT,[],null,null),(n()(),Lo(46,null,["",""])),(n()(),_o(47,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","label"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,48)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,48).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,48)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,48)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,53)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,53)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,53)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.indexingModel.label=e)&&t),t}),null,null)),Di(48,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(50,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(52,16384,null,0,y_,[[4,v_]],null,null),Di(53,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],null,null),Ei(2048,[[17,4],[18,4]],nT,null,[OT]),(n()(),_o(55,0,null,null,7,"div",[["class","defaultModel"]],null,null,null,null,null)),(n()(),_o(56,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["name","default"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,57)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.indexingModel.default=e)&&t),t}),mV,pV)),Di(57,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(59,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(61,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(62,0,[" "," "])),(n()(),_o(63,0,null,0,15,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(64,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,26,{_tabs:1}),(n()(),_o(66,16777216,null,null,12,"mat-tab",[],null,null,null,BV,zV)),Di(67,770048,[[26,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,27,{templateLabel:0}),ko(335544320,28,{_explicitContent:0}),(n()(),_o(70,0,null,0,4,"app-indexing-form",[],null,null,null,Pln,Vnn)),Ei(4608,null,HS,HS,[QS,$S]),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(74,114688,[[2,4],["indexingForm",4]],0,jnn,[nS,tu,Jv,_u,yu,$S,uf],{indexingFormId:[0,"indexingFormId"],adminMode:[1,"adminMode"]},null),(n()(),_o(75,0,null,0,3,"div",[["class","col-md-12 text-center"]],null,null,null,null,null)),(n()(),_o(76,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(77,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(78,0,["",""]))],(function(n,l){var e=l.component;n(l,19,0,""),n(l,21,0,"category",e.indexingModel.category),n(l,24,0,e.lang.category_id,""),n(l,30,0,e.categoriesList),n(l,34,0,"outline"),n(l,50,0,"label",e.indexingModel.label),n(l,53,0),n(l,57,0,"primary","default"),n(l,59,0,"default",e.indexingModel.default),n(l,67,0,e.lang.indexingForm),n(l,74,0,e.indexingModel.id,!0),n(l,77,0,!bi(l,74).isModified()&&!e.isModified()||""===e.indexingModel.label,"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,3,1,["standard"==bi(l,4).appearance,"fill"==bi(l,4).appearance,"outline"==bi(l,4).appearance,"legacy"==bi(l,4).appearance,bi(l,4)._control.errorState,bi(l,4)._canLabelFloat,bi(l,4)._shouldLabelFloat(),bi(l,4)._hasFloatingLabel(),bi(l,4)._hideControlPlaceholder(),bi(l,4)._control.disabled,bi(l,4)._control.autofilled,bi(l,4)._control.focused,"accent"==bi(l,4).color,"warn"==bi(l,4).color,bi(l,4)._shouldForward("untouched"),bi(l,4)._shouldForward("touched"),bi(l,4)._shouldForward("pristine"),bi(l,4)._shouldForward("dirty"),bi(l,4)._shouldForward("valid"),bi(l,4)._shouldForward("invalid"),bi(l,4)._shouldForward("pending"),!bi(l,4)._animationsEnabled]),n(l,16,0,e.lang.category_id),n(l,17,1,[bi(l,19).required?"":null,bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending,bi(l,24).id,bi(l,24).tabIndex,bi(l,24)._getAriaLabel(),bi(l,24)._getAriaLabelledby(),bi(l,24).required.toString(),bi(l,24).disabled.toString(),bi(l,24).errorState,bi(l,24).panelOpen?bi(l,24)._optionIds:null,bi(l,24).multiple,bi(l,24)._ariaDescribedby||null,bi(l,24)._getAriaActiveDescendant(),bi(l,24).disabled,bi(l,24).errorState,bi(l,24).required,bi(l,24).empty]),n(l,33,1,["standard"==bi(l,34).appearance,"fill"==bi(l,34).appearance,"outline"==bi(l,34).appearance,"legacy"==bi(l,34).appearance,bi(l,34)._control.errorState,bi(l,34)._canLabelFloat,bi(l,34)._shouldLabelFloat(),bi(l,34)._hasFloatingLabel(),bi(l,34)._hideControlPlaceholder(),bi(l,34)._control.disabled,bi(l,34)._control.autofilled,bi(l,34)._control.focused,"accent"==bi(l,34).color,"warn"==bi(l,34).color,bi(l,34)._shouldForward("untouched"),bi(l,34)._shouldForward("touched"),bi(l,34)._shouldForward("pristine"),bi(l,34)._shouldForward("dirty"),bi(l,34)._shouldForward("valid"),bi(l,34)._shouldForward("invalid"),bi(l,34)._shouldForward("pending"),!bi(l,34)._animationsEnabled]),n(l,46,0,e.lang.modelName),n(l,47,1,[bi(l,52).ngClassUntouched,bi(l,52).ngClassTouched,bi(l,52).ngClassPristine,bi(l,52).ngClassDirty,bi(l,52).ngClassValid,bi(l,52).ngClassInvalid,bi(l,52).ngClassPending,bi(l,53)._isServer,bi(l,53).id,bi(l,53).placeholder,bi(l,53).disabled,bi(l,53).required,bi(l,53).readonly&&!bi(l,53)._isNativeSelect||null,bi(l,53)._ariaDescribedby||null,bi(l,53).errorState,bi(l,53).required.toString()]),n(l,56,1,[bi(l,57).id,bi(l,57).disabled?null:-1,bi(l,57).checked,bi(l,57).disabled,"before"==bi(l,57).labelPosition,"NoopAnimations"===bi(l,57)._animationMode,bi(l,61).ngClassUntouched,bi(l,61).ngClassTouched,bi(l,61).ngClassPristine,bi(l,61).ngClassDirty,bi(l,61).ngClassValid,bi(l,61).ngClassInvalid,bi(l,61).ngClassPending]),n(l,62,0,e.lang.defaultModel),n(l,63,0,bi(l,64).dynamicHeight,"below"===bi(l,64).headerPosition),n(l,76,0,bi(l,77).disabled||null,"NoopAnimations"===bi(l,77)._animationMode),n(l,78,0,e.creationMode?e.lang.save:e.lang.update)}))}function uen(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-field-list",[],null,null,null,een,Fln)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(4,114688,null,0,Dln,[nS,tu,Jv,_u,yu,HS],{availableFields:[0,"availableFields"]},null)],(function(n,l){n(l,4,0,l.component.indexingForm.getAvailableFields())}),null)}function sen(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-field-list",[],null,null,null,een,Fln)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(4,114688,null,0,Dln,[nS,tu,Jv,_u,yu,HS],{availableCustomFields:[0,"availableCustomFields"]},null)],(function(n,l){n(l,4,0,l.component.indexingForm.getAvailableCustomFields())}),null)}function cen(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),ko(671088640,2,{indexingForm:0}),(n()(),_o(2,0,null,null,37,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(6,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(7,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(8,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(10,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(12,114688,null,0,GO,[_u],null,null),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(15,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(16,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,aen)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ren)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(23,0,null,0,16,"mat-sidenav",[["class","col-md-4 col-sm-12 mat-drawer mat-sidenav"],["fixedTopGap","56"],["opened",""],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,24)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,24)._animationDoneListener(e)&&t),t}),zO,qO)),Di(24,3325952,[[3,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(25,0,null,0,14,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(26,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,29,{_tabs:1}),(n()(),_o(28,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(29,770048,[[29,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,30,{templateLabel:0}),ko(335544320,31,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,uen)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(34,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(35,770048,[[29,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,32,{templateLabel:0}),ko(335544320,33,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,sen)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,""),n(l,7,0),n(l,12,0),n(l,15,0),n(l,20,0,e.loading),n(l,22,0,!e.loading),n(l,24,0,"end",e.appService.getViewMode()?"over":"side","",e.appService.getViewMode(),"56"),n(l,29,0,e.lang.availableFields),n(l,33,0,void 0!==e.indexingForm),n(l,35,0,e.lang.availableCustomFields),n(l,39,0,void 0!==e.indexingForm)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,6,0,bi(l,7)._container._contentMargins.left,bi(l,7)._container._contentMargins.right),n(l,9,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,23,0,null,"end"===bi(l,24).position,"over"===bi(l,24).mode,"push"===bi(l,24).mode,"side"===bi(l,24).mode,bi(l,24).opened,bi(l,24).fixedInViewport,bi(l,24).fixedInViewport?bi(l,24).fixedTopGap:null,bi(l,24).fixedInViewport?bi(l,24).fixedBottomGap:null,bi(l,24)._animationState),n(l,25,0,bi(l,26).dynamicHeight,"below"===bi(l,26).headerPosition)}))}function den(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,cen,ien)),Ei(4608,null,HS,HS,[QS,$S]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,ten,[nS,Zp,uf,tu,Jv,_u,yu],null,null)],(function(n,l){n(l,3,0)}),null)}var pen=oi("ng-component",ten,den,{},{},[]),men=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.viewContainerRef=o,this.lang=Kr,this.loading=!0,this.resultsLength=0,this.displayedColumns=["label","description","actions"]}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["label","description"])}},n.prototype.ngOnInit=function(){this.headerService.setHeader(this.lang.administration+" "+this.lang.tags),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loadList()},n.prototype.loadList=function(){var n=this;this.loading=!0,this.http.get("../../rest/tags").pipe(Yr((function(l){setTimeout((function(){n.dataSource=new mR(l.tags),n.resultsLength=l.tags.length,n.dataSource.paginator=n.paginator,n.dataSource.sortingDataAccessor=n.functions.listSortingDataAccessor,n.sort.active="label",n.sort.direction="asc",n.dataSource.sort=n.sort}),0)})),iu((function(){return n.loading=!1}))).subscribe()},n.prototype.deleteTag=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete+' "'+n.label+'"',msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/tags/"+n.id)})),Yr((function(){l.loadList(),l.notify.success(l.lang.tagDeleted)})),Qr((function(n){return l.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n}(),fen=yt({encapsulation:2,styles:[],data:{}});function hen(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/tags/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/tags/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function gen(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function ben(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.label)}))}function ven(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function _en(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.description)}))}function yen(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function wen(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.deleteTag(n.context.$implicit)&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0,"warn"),n(l,5,0)}),(function(n,l){n(l,2,0,l.component.lang.delete,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function xen(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function Cen(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-row",[["class","mat-row"],["role","row"],["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,49152,null,0,cR,[],null,null)],(function(n,l){n(l,2,0,Wt(1,"/administration/tags/",l.context.$implicit.id,""))}),null)}function ken(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,92,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,hen)),(n()(),_o(8,0,null,1,87,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,76,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,75,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,18,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,14,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,13,"mat-form-field",[["class","mat-form-field"],["style","font-size: 13px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(24,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(34,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,35)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,35)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,35)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(35,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(37,0,null,null,2,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(39,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(40,0,null,null,55,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(41,0,null,null,52,"mat-table",[["class","mat-table"],["id","contact-list"],["matSort",""],["matSortActive","label"],["matSortDirection","asc"],["style","width:100%;"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(43,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,18,{_contentColumnDefs:1}),ko(603979776,19,{_contentRowDefs:1}),ko(603979776,20,{_contentHeaderRowDefs:1}),ko(603979776,21,{_contentFooterRowDefs:1}),Di(48,737280,[[3,4],["tableContactListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(49,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(51,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,22,{cell:0}),ko(603979776,23,{headerCell:0}),ko(603979776,24,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,gen)),Di(57,16384,null,0,tR,[Xe],null,null),Ei(2048,[[23,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,ben)),Di(60,16384,null,0,eR,[Xe],null,null),Ei(2048,[[22,4]],OL,null,[eR]),(n()(),_o(62,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(64,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,25,{cell:0}),ko(603979776,26,{headerCell:0}),ko(603979776,27,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,ven)),Di(70,16384,null,0,tR,[Xe],null,null),Ei(2048,[[26,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,_en)),Di(73,16384,null,0,eR,[Xe],null,null),Ei(2048,[[25,4]],OL,null,[eR]),(n()(),_o(75,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(77,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,28,{cell:0}),ko(603979776,29,{headerCell:0}),ko(603979776,30,{footerCell:0}),Ei(2048,[[18,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,yen)),Di(83,16384,null,0,tR,[Xe],null,null),Ei(2048,[[29,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,wen)),Di(86,16384,null,0,eR,[Xe],null,null),Ei(2048,[[28,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,xen)),Di(89,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[20,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,Cen)),Di(92,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[19,4]],UL,null,[uR]),(n()(),_o(94,0,null,null,1,"div",[["class","mat-paginator"],["style","min-height:48px;display: flex;justify-content: end;align-items: center;padding-left: 20px;"]],null,null,null,null,null)),(n()(),Lo(95,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,35,0,Wt(1,"",e.lang.filterBy,"")),n(l,39,0,100,10,!0),n(l,43,0,e.dataSource),n(l,48,0,"label","asc"),n(l,51,0,"label"),n(l,64,0,"description"),n(l,77,0,"actions"),n(l,89,0,e.displayedColumns),n(l,92,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,23,1,["standard"==bi(l,24).appearance,"fill"==bi(l,24).appearance,"outline"==bi(l,24).appearance,"legacy"==bi(l,24).appearance,bi(l,24)._control.errorState,bi(l,24)._canLabelFloat,bi(l,24)._shouldLabelFloat(),bi(l,24)._hasFloatingLabel(),bi(l,24)._hideControlPlaceholder(),bi(l,24)._control.disabled,bi(l,24)._control.autofilled,bi(l,24)._control.focused,"accent"==bi(l,24).color,"warn"==bi(l,24).color,bi(l,24)._shouldForward("untouched"),bi(l,24)._shouldForward("touched"),bi(l,24)._shouldForward("pristine"),bi(l,24)._shouldForward("dirty"),bi(l,24)._shouldForward("valid"),bi(l,24)._shouldForward("invalid"),bi(l,24)._shouldForward("pending"),!bi(l,24)._animationsEnabled]),n(l,34,0,bi(l,35)._isServer,bi(l,35).id,bi(l,35).placeholder,bi(l,35).disabled,bi(l,35).required,bi(l,35).readonly&&!bi(l,35)._isNativeSelect||null,bi(l,35)._ariaDescribedby||null,bi(l,35).errorState,bi(l,35).required.toString()),n(l,95,0,e.resultsLength,e.lang.tags)}))}function Sen(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,ken,fen)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,men,[nS,tu,_u,yu,Jv,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var Ien=oi("ng-component",men,Sen,{},{},[]),Aen=function(){function n(n,l,e,t,i,a,o,r){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.functions=o,this.dialog=r,this.lang=Kr,this.loading=!1,this.loadingTags=!0,this.advancedMode=!1,this.tags=[],this.tag={label:new sy({value:"",disabled:!1},[S_.required]),description:new sy({value:"",disabled:!1}),parentId:new sy({value:"",disabled:!1}),links:new sy({value:[],disabled:!1}),usage:new sy({value:"",disabled:!1}),canMerge:new sy({value:!0,disabled:!1}),countResources:new sy({value:0,disabled:!1})},this.myControl=new sy,this.selectMergeTag=new sy({value:"",disabled:!1}),this.tagFormGroup=new cy(this.tag),this.currTagChildren=[]}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.route.params.subscribe((function(l){return Object(t.__awaiter)(n,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.id=l.id,[4,this.getTags()];case 1:return e.sent(),void 0===l.id?(this.headerService.setHeader(this.lang.tagCreation),this.creationMode=!0,this.loading=!1):(this.creationMode=!1,this.http.get("../../rest/tags/"+this.id).pipe(Yr((function(l){Object.keys(n.tag).forEach((function(e){n.functions.empty(l[e])||n.tag[e].setValue(l[e])})),n.functions.empty(n.tag.parentId.value)||n.toggleAdvancedTag(),n.headerService.setHeader(n.lang.tagModification,n.tag.label.value)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()),[2]}}))}))}))},n.prototype.onSubmit=function(){this.creationMode?this.createTag():this.updateTag()},n.prototype.formatTag=function(){var n=this,l={};return Object.keys(this.tag).forEach((function(e){l[e]=n.tag[e].value})),l},n.prototype.createTag=function(){var n=this;this.http.post("../../rest/tags",this.formatTag()).pipe(Yr((function(){n.notify.success(n.lang.tagAdded),n.router.navigate(["/administration/tags"])})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.updateTag=function(){var n=this;this.http.put("../../rest/tags/"+this.id,this.formatTag()).pipe(Yr((function(){n.notify.success(n.lang.tagUpdated),n.router.navigate(["/administration/tags"])})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.getTags=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/tags").pipe(Yr((function(e){n.tags=e.tags.map((function(l){return{id:l.id,label:l.label,parentId:l.parentId,countResources:l.countResources,disabled:l.id==n.id}})),l(!0)})),iu((function(){return n.loadingTags=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.mergeTag=function(n){var l=this;this.selectMergeTag.reset();var e=this.tags.filter((function(l){return l.id===n}))[0];this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.mergeWith+' "'+e.label+'"',msg:this.lang.confirmAction+"<br/><br/>"+this.lang.theTag+'<b> "'+this.tag.label.value+'" </b>'+this.lang.willBeDeletedAndMerged+'<b> "'+e.label+'"</b><br/><br/>'+this.lang.willBeTransferredToNewTag+'<b> "'+e.label+'"</b> : <b>'+this.tag.countResources.value+"</b>"}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.put("../../rest/mergeTags",{idMaster:e.id,idMerge:l.id})})),Yr((function(){l.notify.success(l.lang.tagMerged),l.router.navigate(["/administration/tags/"+e.id])})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.toggleAdvancedTag=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){return this.advancedMode=!this.advancedMode,this.getTagsTree(),this.filteredOptions=this.myControl.valueChanges.pipe(Pc(null),q((function(l){return l?n._filter(l):n.tags.slice()}))),[2]}))}))},n.prototype._filter=function(n){var l=n;return"string"==typeof n&&(l=n.toLowerCase()),this.tags.filter((function(n){return n.label.toLowerCase().indexOf(l)>-1}))},n.prototype.isSelected=function(n){return this.tag.links.value.filter((function(l){return l==n.id})).length>0},n.prototype.remove=function(n){var l=this.tag.links.value.indexOf(n);l>=0&&this.tag.links.value.splice(l,1)},n.prototype.selected=function(n){var l=this.tag.links.value;l.push(n.option.value.id),this.tag.links.setValue(l),this.linkedTagInput.nativeElement.value="",this.myControl.setValue(null)},n.prototype.getTagsTree=function(){var n=this;this.functions.empty(this.id)||this.getChildrens(this.id);var l=this.tags.map((function(l){return{id:l.id,text:l.label,parent:n.functions.empty(l.parentId)?"#":l.parentId,state:{opened:n.tag.parentId.value==l.id,selected:n.tag.parentId.value==l.id,disabled:n.currTagChildren.indexOf(l.id.toString())>-1}}}));setTimeout((function(){$j("#jstree").on("select_node.jstree",(function(l,e){n.tag.parentId.setValue(parseInt(e.node.id))})).on("deselect_node.jstree",(function(l,e){n.tag.parentId.setValue(null)})).jstree({checkbox:{deselect_all:!0,three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:l},plugins:["checkbox","search","sort"]});var e=!1;$j("#jstree_search").keyup((function(){e&&clearTimeout(e),e=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))}),0)},n.prototype.getChildrens=function(n){var l=this;this.currTagChildren.push(n.toString()),this.tags.filter((function(l){return l.parentId==n})).forEach((function(n){l.getChildrens(n.id)}))},n.prototype.getTagLabel=function(n){return this.tags.filter((function(l){return l.id==n}))[0].label},n}(),Men=yt({encapsulation:2,styles:[],data:{}});function Pen(n){return jo(0,[(n()(),_o(0,0,null,null,8,"mat-chip",[["class","mat-chip"],["role","option"],["style","cursor: pointer;"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"click"],[null,"removed"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"click"===l&&(t=!1!==i.remove(n.context.$implicit)&&t),"removed"===l&&(t=!1!==i.remove(n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[40,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"]},{removed:"removed"}),ko(603979776,41,{avatar:0}),ko(603979776,42,{trailingIcon:0}),ko(603979776,43,{removeIcon:0}),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,2,"mat-icon",[["class","fa fa-times-circle mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8)._handleClick(e)&&t),t}),FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(8,16384,[[43,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0,l.component.selectable),n(l,7,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,e.getTagLabel(l.context.$implicit)),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color)}))}function Den(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[44,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){var e=l.component;n(l,1,0,l.context.$implicit,e.isSelected(l.context.$implicit)||l.context.$implicit.id==e.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function Fen(n){return jo(0,[(n()(),_o(0,0,null,null,32,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,31,{_controlNonStatic:0}),ko(335544320,32,{_controlStatic:0}),ko(603979776,33,{_labelChildNonStatic:0}),ko(335544320,34,{_labelChildStatic:0}),ko(603979776,35,{_placeholderChild:0}),ko(603979776,36,{_errorChildren:1}),ko(603979776,37,{_hintChildren:1}),ko(603979776,38,{_prefixChildren:1}),ko(603979776,39,{_suffixChildren:1}),(n()(),_o(11,0,null,1,13,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,12).focus()&&t),"blur"===l&&(t=!1!==bi(n,12)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,12)._keydown(e)&&t),t}),hN,fN)),Di(12,1556480,[["chipList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,40,{chips:1}),Ei(2048,[[31,4],[32,4]],nT,null,[cN]),(n()(),vo(16777216,null,0,1,null,Pen)),Di(16,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(17,16777216,[[1,0],["linkedTagInput",1]],0,7,"input",[["class","mat-autocomplete-trigger mat-chip-input mat-input-element"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"disabled",0],[1,"placeholder",0],[1,"aria-invalid",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,18)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,18)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,18)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,19)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,19)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,19)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,19)._handleKeydown(e)&&t),"keydown"===l&&(t=!1!==bi(n,24)._keydown(e)&&t),"blur"===l&&(t=!1!==bi(n,24)._blur()&&t),"focus"===l&&(t=!1!==bi(n,24)._focus()&&t),"input"===l&&(t=!1!==bi(n,24)._onInput()&&t),t}),null,null)),Di(18,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(19,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(21,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(23,16384,null,0,y_,[[4,v_]],null,null),Di(24,540672,null,0,pN,[Pe,oN],{chipList:[0,"chipList"],placeholder:[1,"placeholder"]},null),(n()(),_o(25,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selected(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(27,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,44,{options:1}),ko(603979776,45,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,Den)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl])],(function(n,l){var e=l.component;n(l,12,0),n(l,16,0,e.tag.links.value),n(l,19,0,bi(l,27)),n(l,21,0,e.myControl),n(l,24,0,bi(l,12),e.lang.linkedTags),n(l,31,0,bt(l,31,0,bi(l,32).transform(e.filteredOptions)))}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,12).disabled?null:bi(l,12)._tabIndex,bi(l,12)._ariaDescribedby||null,bi(l,12).required.toString(),bi(l,12).disabled.toString(),bi(l,12).errorState,bi(l,12).multiple,bi(l,12).role,bi(l,12).disabled,bi(l,12).errorState,bi(l,12).required,bi(l,12).ariaOrientation,bi(l,12)._uid]),n(l,17,1,[bi(l,19).autocompleteAttribute,bi(l,19).autocompleteDisabled?null:"combobox",bi(l,19).autocompleteDisabled?null:"list",bi(l,19).panelOpen&&bi(l,19).activeOption?bi(l,19).activeOption.id:null,bi(l,19).autocompleteDisabled?null:bi(l,19).panelOpen.toString(),bi(l,19).autocompleteDisabled||!bi(l,19).panelOpen?null:null==bi(l,19).autocomplete?null:bi(l,19).autocomplete.id,!bi(l,19).autocompleteDisabled,bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending,bi(l,24).id,bi(l,24).disabled||null,bi(l,24).placeholder||null,bi(l,24)._chipList&&bi(l,24)._chipList.ngControl?bi(l,24)._chipList.ngControl.invalid:null])}))}function Een(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","alert-message alert-message-danger"],["style","min-width: 100%;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.cannotMergeTags)}))}function Oen(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterOpened"],[null,"afterSelected"]],(function(n,l,e){var t=!0,i=n.component;return"afterOpened"===l&&(t=!1!==i.getTags()&&t),"afterSelected"===l&&(t=!1!==i.mergeTag(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected",afterOpened:"afterOpened"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.mergeTagWith,e.selectMergeTag,e.tags,e.lang.mergeTagWith)}),null)}function Ten(n){return jo(0,[ko(671088640,1,{linkedTagInput:0}),(n()(),_o(1,0,null,null,118,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(5,0,null,1,91,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(6,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(7,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(11,114688,null,0,GO,[_u],null,null),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(14,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(15,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,0,80,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,null,79,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,78,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,77,"form",[["novalidate",""],["style","padding: 20px;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,21).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,21).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(20,16384,null,0,yy,[],null,null),Di(21,4210688,null,0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(23,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(24,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(25,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(35,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","128"],["required",""],["type","text"]],[[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,36)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,36).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,36)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,36)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,44)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,44)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,44)._onInput()&&t),t}),null,null)),Di(36,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(37,16384,null,0,My,[],{required:[0,"required"]},null),Di(38,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(41,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(43,16384,null,0,y_,[[4,v_]],null,null),Di(44,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(46,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(47,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(57,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,58)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,58).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,58)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,58)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,63)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,63)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,63)._onInput()&&t),t}),null,null)),Di(58,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(60,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(62,16384,null,0,y_,[[4,v_]],null,null),Di(63,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(65,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(66,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(76,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,77)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,77).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,77)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,77)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,82)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,82)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,82)._onInput()&&t),t}),null,null)),Di(77,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(79,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(81,16384,null,0,y_,[[4,v_]],null,null),Di(82,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),vo(16777216,null,null,1,null,Fen)),Di(85,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Een)),Di(87,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Oen)),Di(89,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(90,0,null,null,6,"div",[["class","text-center"]],null,null,null,null,null)),(n()(),_o(91,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(92,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(93,0,["",""])),(n()(),_o(94,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleAdvancedTag()&&t),t}),PC,MC)),Di(95,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(96,0,[" "," "])),(n()(),_o(97,0,null,0,22,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;width:450px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,98)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,98)._animationDoneListener(e)&&t),t}),zO,qO)),Di(98,3325952,[[2,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(99,0,null,0,20,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(100,704512,null,0,tI,[Pe],null,null),(n()(),_o(101,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(102,16384,null,0,aI,[],null,null),(n()(),Lo(103,null,[""," :"])),(n()(),_o(104,0,null,0,15,"div",[["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(105,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(106,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,46,{_controlNonStatic:0}),ko(335544320,47,{_controlStatic:0}),ko(603979776,48,{_labelChildNonStatic:0}),ko(335544320,49,{_labelChildStatic:0}),ko(603979776,50,{_placeholderChild:0}),ko(603979776,51,{_errorChildren:1}),ko(603979776,52,{_hintChildren:1}),ko(603979776,53,{_prefixChildren:1}),ko(603979776,54,{_suffixChildren:1}),(n()(),_o(116,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,117)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,117)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,117)._onInput()&&t),t}),null,null)),Di(117,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[46,4],[47,4]],nT,null,[OT]),(n()(),_o(119,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0),n(l,11,0),n(l,14,0),n(l,37,0,""),n(l,38,0,"128"),n(l,41,0,e.tag.label),n(l,44,0,e.lang.label,"","text"),n(l,60,0,e.tag.description),n(l,63,0,e.lang.description,"text"),n(l,79,0,e.tag.usage),n(l,82,0,e.lang.usage,"text"),n(l,85,0,e.advancedMode),n(l,87,0,!e.creationMode&&!e.tag.canMerge.value),n(l,89,0,!e.loadingTags&&e.tag.canMerge.value),n(l,92,0,!e.tagFormGroup.valid,"primary"),n(l,95,0,"default"),n(l,98,0,"end",e.appService.getViewMode()?"over":"side",e.advancedMode,e.appService.getViewMode(),"56"),n(l,117,0,"jstree_search",Wt(1,"",e.lang.searchTag,""),"text")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,5,0,bi(l,6)._container._contentMargins.left,bi(l,6)._container._contentMargins.right),n(l,8,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,19,0,bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending),n(l,24,1,["standard"==bi(l,25).appearance,"fill"==bi(l,25).appearance,"outline"==bi(l,25).appearance,"legacy"==bi(l,25).appearance,bi(l,25)._control.errorState,bi(l,25)._canLabelFloat,bi(l,25)._shouldLabelFloat(),bi(l,25)._hasFloatingLabel(),bi(l,25)._hideControlPlaceholder(),bi(l,25)._control.disabled,bi(l,25)._control.autofilled,bi(l,25)._control.focused,"accent"==bi(l,25).color,"warn"==bi(l,25).color,bi(l,25)._shouldForward("untouched"),bi(l,25)._shouldForward("touched"),bi(l,25)._shouldForward("pristine"),bi(l,25)._shouldForward("dirty"),bi(l,25)._shouldForward("valid"),bi(l,25)._shouldForward("invalid"),bi(l,25)._shouldForward("pending"),!bi(l,25)._animationsEnabled]),n(l,35,1,[bi(l,37).required?"":null,bi(l,38).maxlength?bi(l,38).maxlength:null,bi(l,43).ngClassUntouched,bi(l,43).ngClassTouched,bi(l,43).ngClassPristine,bi(l,43).ngClassDirty,bi(l,43).ngClassValid,bi(l,43).ngClassInvalid,bi(l,43).ngClassPending,bi(l,44)._isServer,bi(l,44).id,bi(l,44).placeholder,bi(l,44).disabled,bi(l,44).required,bi(l,44).readonly&&!bi(l,44)._isNativeSelect||null,bi(l,44)._ariaDescribedby||null,bi(l,44).errorState,bi(l,44).required.toString()]),n(l,46,1,["standard"==bi(l,47).appearance,"fill"==bi(l,47).appearance,"outline"==bi(l,47).appearance,"legacy"==bi(l,47).appearance,bi(l,47)._control.errorState,bi(l,47)._canLabelFloat,bi(l,47)._shouldLabelFloat(),bi(l,47)._hasFloatingLabel(),bi(l,47)._hideControlPlaceholder(),bi(l,47)._control.disabled,bi(l,47)._control.autofilled,bi(l,47)._control.focused,"accent"==bi(l,47).color,"warn"==bi(l,47).color,bi(l,47)._shouldForward("untouched"),bi(l,47)._shouldForward("touched"),bi(l,47)._shouldForward("pristine"),bi(l,47)._shouldForward("dirty"),bi(l,47)._shouldForward("valid"),bi(l,47)._shouldForward("invalid"),bi(l,47)._shouldForward("pending"),!bi(l,47)._animationsEnabled]),n(l,57,1,[bi(l,62).ngClassUntouched,bi(l,62).ngClassTouched,bi(l,62).ngClassPristine,bi(l,62).ngClassDirty,bi(l,62).ngClassValid,bi(l,62).ngClassInvalid,bi(l,62).ngClassPending,bi(l,63)._isServer,bi(l,63).id,bi(l,63).placeholder,bi(l,63).disabled,bi(l,63).required,bi(l,63).readonly&&!bi(l,63)._isNativeSelect||null,bi(l,63)._ariaDescribedby||null,bi(l,63).errorState,bi(l,63).required.toString()]),n(l,65,1,["standard"==bi(l,66).appearance,"fill"==bi(l,66).appearance,"outline"==bi(l,66).appearance,"legacy"==bi(l,66).appearance,bi(l,66)._control.errorState,bi(l,66)._canLabelFloat,bi(l,66)._shouldLabelFloat(),bi(l,66)._hasFloatingLabel(),bi(l,66)._hideControlPlaceholder(),bi(l,66)._control.disabled,bi(l,66)._control.autofilled,bi(l,66)._control.focused,"accent"==bi(l,66).color,"warn"==bi(l,66).color,bi(l,66)._shouldForward("untouched"),bi(l,66)._shouldForward("touched"),bi(l,66)._shouldForward("pristine"),bi(l,66)._shouldForward("dirty"),bi(l,66)._shouldForward("valid"),bi(l,66)._shouldForward("invalid"),bi(l,66)._shouldForward("pending"),!bi(l,66)._animationsEnabled]),n(l,76,1,[bi(l,81).ngClassUntouched,bi(l,81).ngClassTouched,bi(l,81).ngClassPristine,bi(l,81).ngClassDirty,bi(l,81).ngClassValid,bi(l,81).ngClassInvalid,bi(l,81).ngClassPending,bi(l,82)._isServer,bi(l,82).id,bi(l,82).placeholder,bi(l,82).disabled,bi(l,82).required,bi(l,82).readonly&&!bi(l,82)._isNativeSelect||null,bi(l,82)._ariaDescribedby||null,bi(l,82).errorState,bi(l,82).required.toString()]),n(l,91,0,bi(l,92).disabled||null,"NoopAnimations"===bi(l,92)._animationMode),n(l,93,0,e.lang.validate),n(l,94,0,bi(l,95).disabled||null,"NoopAnimations"===bi(l,95)._animationMode),n(l,96,0,e.advancedMode?e.lang.defaultMode:e.lang.advancedMode),n(l,97,0,null,"end"===bi(l,98).position,"over"===bi(l,98).mode,"push"===bi(l,98).mode,"side"===bi(l,98).mode,bi(l,98).opened,bi(l,98).fixedInViewport,bi(l,98).fixedInViewport?bi(l,98).fixedTopGap:null,bi(l,98).fixedInViewport?bi(l,98).fixedBottomGap:null,bi(l,98)._animationState),n(l,103,0,e.lang.selectParentTag),n(l,105,1,["standard"==bi(l,106).appearance,"fill"==bi(l,106).appearance,"outline"==bi(l,106).appearance,"legacy"==bi(l,106).appearance,bi(l,106)._control.errorState,bi(l,106)._canLabelFloat,bi(l,106)._shouldLabelFloat(),bi(l,106)._hasFloatingLabel(),bi(l,106)._hideControlPlaceholder(),bi(l,106)._control.disabled,bi(l,106)._control.autofilled,bi(l,106)._control.focused,"accent"==bi(l,106).color,"warn"==bi(l,106).color,bi(l,106)._shouldForward("untouched"),bi(l,106)._shouldForward("touched"),bi(l,106)._shouldForward("pristine"),bi(l,106)._shouldForward("dirty"),bi(l,106)._shouldForward("valid"),bi(l,106)._shouldForward("invalid"),bi(l,106)._shouldForward("pending"),!bi(l,106)._animationsEnabled]),n(l,116,0,bi(l,117)._isServer,bi(l,117).id,bi(l,117).placeholder,bi(l,117).disabled,bi(l,117).required,bi(l,117).readonly&&!bi(l,117)._isNativeSelect||null,bi(l,117)._ariaDescribedby||null,bi(l,117).errorState,bi(l,117).required.toString())}))}function Len(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,Ten,Men)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,Aen,[nS,Zp,uf,tu,_u,yu,$S,Jv],null,null)],(function(n,l){n(l,2,0)}),null)}var Ren=oi("ng-component",Aen,Len,{},{},[]),Nen=e("4ik+"),jen=e("/JYr"),Ven=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.functions=a,this.viewContainerRef=o,this.lang=Kr,this.alfrescoUrl="",this.accounts=[],this.loading=!1,this.displayedColumns=["label","entitiesLabel","actions"]}return n.prototype.applyFilter=function(n){var l=this;n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n,this.dataSource.filterPredicate=function(n,e){return l.functions.filterUnSensitive(n,e,["label","entitiesLabel"])}},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.administration+" "+this.lang.alfresco),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/alfresco/configuration").pipe(Object(Nen.filter)((function(l){return!n.functions.empty(l.configuration)})),Object(JU.tap)((function(l){n.alfrescoUrl=l.configuration.uri}))).subscribe(),this.http.get("../../rest/alfresco/accounts").subscribe((function(l){n.accounts=l.accounts,setTimeout((function(){n.dataSource=new mR(n.accounts),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0),n.loading=!1}))},n.prototype.deleteAccount=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(Object(Nen.filter)((function(n){return"ok"===n})),Object(jen.exhaustMap)((function(){return l.http.delete("../../rest/alfresco/accounts/"+n)})),Object(JU.tap)((function(){l.accounts=l.accounts.filter((function(l){return l.id!==n})),l.dataSource=new mR(l.accounts),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.accountDeleted)})),Object(unn.catchError)((function(n){return l.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.saveUrl=function(){var n=this;this.http.put("../../rest/alfresco/configuration",{uri:this.alfrescoUrl}).pipe(Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n}(),qen=yt({encapsulation:0,styles:[[".label[_ngcontent-%COMP%]{white-space:break-spaces;background:#135f7f;margin:5px}"]],data:{}});function zen(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,11,"a",[["class","mat-list-item"],["mat-list-item",""],["routerLink","/administration/alfresco/new"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Di(6,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(7,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(11,0,null,0,2,"mat-icon",[["class","fa fa-plus mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(13,16384,[[8,4]],0,iI,[],null,null),(n()(),_o(14,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[6,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" "," "]))],(function(n,l){n(l,6,0,"/administration/alfresco/new"),n(l,12,0,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6).target,bi(l,6).href,bi(l,7)._avatar||bi(l,7)._icon,bi(l,7)._avatar||bi(l,7)._icon),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,16,0,e.lang.add)}))}function Uen(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Ben(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function $en(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.label)}))}function Hen(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex: 2"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.linkedEntities)}))}function Gen(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.context.$implicit)}))}function Wen(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex: 2"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Gen)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,4,0,l.context.$implicit.entitiesLabel)}),null)}function Ken(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:none"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function Yen(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:none;justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteAccount(n.context.$implicit.id)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function Jen(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function Zen(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,Wt(1,"/administration/alfresco/",l.context.$implicit.id,"")),n(l,3,0,Wt(1,"",e.lang.view,""))}),null)}function Qen(n){return jo(0,[(n()(),_o(0,0,null,null,100,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,43,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,24,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,23,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(5,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,9,{_controlNonStatic:0}),ko(335544320,10,{_controlStatic:0}),ko(603979776,11,{_labelChildNonStatic:0}),ko(335544320,12,{_labelChildStatic:0}),ko(603979776,13,{_placeholderChild:0}),ko(603979776,14,{_errorChildren:1}),ko(603979776,15,{_hintChildren:1}),ko(603979776,16,{_prefixChildren:1}),ko(603979776,17,{_suffixChildren:1}),(n()(),_o(15,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(16,16384,[[11,4],[12,4]],0,iT,[],null,null),(n()(),Lo(17,null,["",""])),(n()(),_o(18,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","accountId"],["matInput",""],["name","accountId"],["placeholder","https://alfresco/api/"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"blur"],[null,"input"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,19)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,19)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,19)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,26)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,26)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.alfrescoUrl=e)&&t),"blur"===l&&(t=!1!==i.saveUrl()&&t),t}),null,null)),Di(19,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(20,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(23,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(25,16384,null,0,y_,[[4,v_]],null,null),Di(26,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[9,4],[10,4]],nT,null,[OT]),(n()(),_o(28,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(30,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,18,{_controlNonStatic:0}),ko(335544320,19,{_controlStatic:0}),ko(603979776,20,{_labelChildNonStatic:0}),ko(335544320,21,{_labelChildStatic:0}),ko(603979776,22,{_placeholderChild:0}),ko(603979776,23,{_errorChildren:1}),ko(603979776,24,{_hintChildren:1}),ko(603979776,25,{_prefixChildren:1}),ko(603979776,26,{_suffixChildren:1}),(n()(),_o(40,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,41)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,41)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,41)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(41,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[18,4],[19,4]],nT,null,[OT]),(n()(),_o(43,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(45,245760,[[2,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(46,0,null,0,52,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","id"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(48,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,27,{_contentColumnDefs:1}),ko(603979776,28,{_contentRowDefs:1}),ko(603979776,29,{_contentHeaderRowDefs:1}),ko(603979776,30,{_contentFooterRowDefs:1}),Di(53,737280,[[3,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(54,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(56,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,31,{cell:0}),ko(603979776,32,{headerCell:0}),ko(603979776,33,{footerCell:0}),Ei(2048,[[27,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Ben)),Di(62,16384,null,0,tR,[Xe],null,null),Ei(2048,[[32,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,$en)),Di(65,16384,null,0,eR,[Xe],null,null),Ei(2048,[[31,4]],OL,null,[eR]),(n()(),_o(67,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(69,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,34,{cell:0}),ko(603979776,35,{headerCell:0}),ko(603979776,36,{footerCell:0}),Ei(2048,[[27,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Hen)),Di(75,16384,null,0,tR,[Xe],null,null),Ei(2048,[[35,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Wen)),Di(78,16384,null,0,eR,[Xe],null,null),Ei(2048,[[34,4]],OL,null,[eR]),(n()(),_o(80,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(82,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,37,{cell:0}),ko(603979776,38,{headerCell:0}),ko(603979776,39,{footerCell:0}),Ei(2048,[[27,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Ken)),Di(88,16384,null,0,tR,[Xe],null,null),Ei(2048,[[38,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Yen)),Di(91,16384,null,0,eR,[Xe],null,null),Ei(2048,[[37,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Jen)),Di(94,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[29,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,Zen)),Di(97,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[28,4]],UL,null,[uR]),(n()(),_o(99,0,null,0,1,"div",[["class","mat-paginator"],["style","min-height:48px;display: flex;justify-content: end;align-items: center;padding-right: 20px;"]],null,null,null,null,null)),(n()(),Lo(100,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,5,0,"outline"),n(l,20,0,""),n(l,23,0,"accountId",e.alfrescoUrl),n(l,26,0,"accountId","https://alfresco/api/","","text"),n(l,41,0,Wt(1,"",e.lang.filterBy,"")),n(l,45,0,100,10,!0),n(l,48,0,e.dataSource),n(l,53,0,"id","asc"),n(l,56,0,"label"),n(l,69,0,"entitiesLabel"),n(l,82,0,"actions"),n(l,94,0,e.displayedColumns),n(l,97,0,e.displayedColumns)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,1,["standard"==bi(l,5).appearance,"fill"==bi(l,5).appearance,"outline"==bi(l,5).appearance,"legacy"==bi(l,5).appearance,bi(l,5)._control.errorState,bi(l,5)._canLabelFloat,bi(l,5)._shouldLabelFloat(),bi(l,5)._hasFloatingLabel(),bi(l,5)._hideControlPlaceholder(),bi(l,5)._control.disabled,bi(l,5)._control.autofilled,bi(l,5)._control.focused,"accent"==bi(l,5).color,"warn"==bi(l,5).color,bi(l,5)._shouldForward("untouched"),bi(l,5)._shouldForward("touched"),bi(l,5)._shouldForward("pristine"),bi(l,5)._shouldForward("dirty"),bi(l,5)._shouldForward("valid"),bi(l,5)._shouldForward("invalid"),bi(l,5)._shouldForward("pending"),!bi(l,5)._animationsEnabled]),n(l,17,0,e.lang.alfrescoAPI),n(l,18,1,[e.alfrescoUrl,bi(l,20).required?"":null,bi(l,25).ngClassUntouched,bi(l,25).ngClassTouched,bi(l,25).ngClassPristine,bi(l,25).ngClassDirty,bi(l,25).ngClassValid,bi(l,25).ngClassInvalid,bi(l,25).ngClassPending,bi(l,26)._isServer,bi(l,26).id,bi(l,26).placeholder,bi(l,26).disabled,bi(l,26).required,bi(l,26).readonly&&!bi(l,26)._isNativeSelect||null,bi(l,26)._ariaDescribedby||null,bi(l,26).errorState,bi(l,26).required.toString()]),n(l,29,1,["standard"==bi(l,30).appearance,"fill"==bi(l,30).appearance,"outline"==bi(l,30).appearance,"legacy"==bi(l,30).appearance,bi(l,30)._control.errorState,bi(l,30)._canLabelFloat,bi(l,30)._shouldLabelFloat(),bi(l,30)._hasFloatingLabel(),bi(l,30)._hideControlPlaceholder(),bi(l,30)._control.disabled,bi(l,30)._control.autofilled,bi(l,30)._control.focused,"accent"==bi(l,30).color,"warn"==bi(l,30).color,bi(l,30)._shouldForward("untouched"),bi(l,30)._shouldForward("touched"),bi(l,30)._shouldForward("pristine"),bi(l,30)._shouldForward("dirty"),bi(l,30)._shouldForward("valid"),bi(l,30)._shouldForward("invalid"),bi(l,30)._shouldForward("pending"),!bi(l,30)._animationsEnabled]),n(l,40,0,bi(l,41)._isServer,bi(l,41).id,bi(l,41).placeholder,bi(l,41).disabled,bi(l,41).required,bi(l,41).readonly&&!bi(l,41)._isNativeSelect||null,bi(l,41)._ariaDescribedby||null,bi(l,41).errorState,bi(l,41).required.toString()),n(l,100,0,e.accounts.length,e.lang.accounts)}))}function Xen(n){return jo(0,[ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{paginator:0}),ko(671088640,3,{sort:0}),(n()(),_o(3,0,null,null,21,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(4,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,4,{_drawers:1}),ko(603979776,5,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,zen)),(n()(),_o(8,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(9,1294336,[[5,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(10,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(14,114688,null,0,GO,[_u],null,null),(n()(),_o(15,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(17,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(18,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(19,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(20,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Uen)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Qen)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,""),n(l,9,0),n(l,14,0),n(l,17,0),n(l,22,0,e.loading),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4)._backdropOverride),n(l,8,0,bi(l,9)._container._contentMargins.left,bi(l,9)._container._contentMargins.right),n(l,11,0,e.appService.getViewMode()),n(l,18,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode())}))}function ntn(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,Xen,qen)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,Ven,[nS,tu,_u,yu,Jv,$S,lt],null,null)],(function(n,l){n(l,2,0)}),null)}var ltn=oi("ng-component",Ven,ntn,{},{},[]),etn=function(){function n(n,l,e,t,i,a,o){this.http=n,this.route=l,this.router=e,this.notify=t,this.headerService=i,this.appService=a,this.functionsService=o,this.lang=Kr,this.loading=!1,this.creationMode=!0,this.entities=[],this.availableEntities=[],this.alfresco={id:0,label:"",account:{id:"",password:""},rootFolder:null,linkedEntities:[]},this.hidePassword=!0,this.alfrescoTreeLoaded=!1}return n.prototype.ngOnInit=function(){var n=this;this.loading=!1,this.route.params.subscribe((function(l){return Object(t.__awaiter)(n,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return void 0===l.id?(this.headerService.setHeader(this.lang.alfrescoCreation),this.creationMode=!0):(this.headerService.setHeader(this.lang.alfrescoModification),this.alfresco.id=l.id,this.creationMode=!1),[4,this.getEntities()];case 1:return n.sent(),[4,this.getAvailableEntities()];case 2:return n.sent(),[4,this.initAccount()];case 3:return n.sent(),this.loading=!1,[2]}}))}))}))},n.prototype.onSubmit=function(){this.creationMode?this.createAccount():this.updateAccount()},n.prototype.createAccount=function(){var n=this;this.http.post("../../rest/alfresco/accounts",this.formatData()).pipe(Object(JU.tap)((function(){n.notify.success(n.lang.accountAdded),n.router.navigate(["/administration/alfresco"])})),Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.updateAccount=function(){var n=this;this.http.put("../../rest/alfresco/accounts/"+this.alfresco.id,this.formatData()).pipe(Object(JU.tap)((function(){n.notify.success(n.lang.accountUpdated),n.router.navigate(["/administration/alfresco"])})),Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.formatData=function(){var n={label:this.alfresco.label,login:this.alfresco.account.id,nodeId:this.alfresco.rootFolder,entities:$j("#jstree").jstree("get_checked",null,!0)};return this.functionsService.empty(this.alfresco.account.password)||(n.password=this.alfresco.account.password),n},n.prototype.getAvailableEntities=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/alfresco/availableEntities").pipe(Object(JU.tap)((function(e){n.availableEntities=e.availableEntities,l(!0)})),Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getEntities=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/entities").pipe(q((function(n){return n.entities=n.entities.map((function(n){return{text:n.entity_label,icon:n.icon,parent:n.parentSerialId,id:n.serialId.toString(),state:{opened:!0}}})),n.entities})),Object(JU.tap)((function(e){console.log(e),n.entities=e,l(!0)})),Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.initAccount=function(){var n=this;return new Promise((function(l,e){n.creationMode?n.http.get("../../rest/entities").pipe(q((function(n){return n.entities=n.entities.map((function(n){return{text:n.entity_label,icon:n.icon,parent:n.parentSerialId,id:n.serialId.toString(),state:{opened:!0}}})),n.entities})),Object(JU.tap)((function(e){n.entities=e,n.entities.forEach((function(l){l.state.disabled=!(n.availableEntities.indexOf(+l.id)>-1)})),setTimeout((function(){n.initEntitiesTree(n.entities)}),0),l(!0)})),Object(unn.catchError)((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe():n.http.get("../../rest/alfresco/accounts/"+n.alfresco.id).pipe(Object(JU.tap)((function(e){n.alfresco={id:e.id,label:e.label,account:{id:e.login},rootFolder:e.nodeId,linkedEntities:e.entities},n.entities.forEach((function(l){l.state.disabled=!(n.availableEntities.indexOf(+l.id)>-1),n.alfresco.linkedEntities.indexOf(+l.id)>-1&&(l.state.disabled=!1,l.state.selected=!0)})),setTimeout((function(){n.initEntitiesTree(n.entities)}),0),l(!0)})),Object(unn.catchError)((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.initEntitiesTree=function(n){$j("#jstree").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:n},plugins:["checkbox","search","sort"]});var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))},n.prototype.validAccount=function(){return!this.functionsService.empty(this.alfresco.rootFolder)&&0!==$j("#jstree").jstree("get_checked",null,!0).length},n.prototype.checkAccount=function(){var n=this;this.http.post("../../rest/alfresco/checkAccounts",this.creationMode?{login:this.alfresco.account.id,password:this.alfresco.account.password,nodeId:this.alfresco.rootFolder}:{accountId:this.alfresco.id,login:this.alfresco.account.id,password:this.alfresco.account.password,nodeId:this.alfresco.rootFolder}).pipe(Object(JU.tap)((function(){n.notify.success(n.lang.testSucceeded)})),Object(unn.catchError)((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n}(),ttn=yt({encapsulation:0,styles:[[".form-group[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-slide-toggle-label{color:#666;font-weight:700}.formType[_ngcontent-%COMP%] .mat-radio-button, .formType[_ngcontent-%COMP%] .mat-slide-toggle{opacity:.5;color:#666;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.formType[_ngcontent-%COMP%] .mat-checked, .formType[_ngcontent-%COMP%] .mat-radio-checked{opacity:1;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-checked .mat-slide-toggle-label{color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.ratio-1[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.ratio-2[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;-webkit-box-align:baseline;align-items:baseline}"]],data:{}});function itn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function atn(n){return jo(0,[(n()(),_o(0,0,null,null,112,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,110,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,4210688,[["alfrescoForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(8,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(18,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","64"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,19)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,19)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,19)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,27)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,27)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.alfresco.label=e)&&t),t}),null,null)),Di(19,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(20,16384,null,0,My,[],{required:[0,"required"]},null),Di(21,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(24,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(26,16384,null,0,y_,[[4,v_]],null,null),Di(27,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(29,0,null,null,76,"div",[["class","form-group"],["style","flex-direction: row; flex-wrap: wrap;"]],null,null,null,null,null)),(n()(),_o(30,0,null,null,51,"div",[["class","formType ratio-2 col-sm-12"]],null,null,null,null,null)),(n()(),_o(31,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(32,null,[" "," "])),(n()(),_o(33,0,null,null,48,"div",[["style","width: 100%;text-align: center;"]],null,null,null,null,null)),(n()(),_o(34,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(35,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(45,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","accountId"],["matInput",""],["name","accountId"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,46)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,46)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,46)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,53)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,53)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,53)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.alfresco.account.id=e)&&t),t}),null,null)),Di(46,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(47,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(50,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(52,16384,null,0,y_,[[4,v_]],null,null),Di(53,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(55,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(56,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(66,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","password"],["matInput",""],["name","password"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,67)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,67).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,67)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,67)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,74)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,74)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,74)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.alfresco.account.password=e)&&t),t}),null,null)),Di(67,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(68,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(71,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(73,16384,null,0,y_,[[4,v_]],null,null),Di(74,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),_o(76,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["color","primary"],["matSuffix",""],["role","img"],["style","cursor: pointer;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(78,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(79,1),Di(80,16384,[[30,4]],0,oT,[],null,null),Di(81,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(82,0,null,null,23,"div",[["class","formType ratio-1 col-sm-12"]],null,null,null,null,null)),(n()(),_o(83,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(84,null,[" "," "])),(n()(),_o(85,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(86,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,31,{_controlNonStatic:0}),ko(335544320,32,{_controlStatic:0}),ko(603979776,33,{_labelChildNonStatic:0}),ko(335544320,34,{_labelChildStatic:0}),ko(603979776,35,{_placeholderChild:0}),ko(603979776,36,{_errorChildren:1}),ko(603979776,37,{_hintChildren:1}),ko(603979776,38,{_prefixChildren:1}),ko(603979776,39,{_suffixChildren:1}),(n()(),_o(96,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","rootFolder"],["matInput",""],["name","rootFolder"],["placeholder","Dépôt racine"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,97)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,97).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,97)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,97)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,104)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,104)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,104)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.alfresco.rootFolder=e)&&t),t}),null,null)),Di(97,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(98,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(101,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(103,16384,null,0,y_,[[4,v_]],null,null),Di(104,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[31,4],[32,4]],nT,null,[OT]),(n()(),_o(106,0,null,null,6,"div",[["class","col-sm-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(107,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.checkAccount()&&t),t}),PC,MC)),Di(108,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(109,0,["",""])),(n()(),_o(110,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(111,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(112,0,["",""]))],(function(n,l){var e=l.component;n(l,20,0,""),n(l,21,0,"64"),n(l,24,0,"label",e.alfresco.label),n(l,27,0,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,47,0,""),n(l,50,0,"accountId",e.alfresco.account.id),n(l,53,0,"accountId",Wt(1,"",e.lang.id,""),"","text"),n(l,68,0,e.creationMode),n(l,71,0,"password",e.alfresco.account.password),n(l,74,0,"password",e.creationMode?e.lang.password:e.lang.changePassword,e.creationMode,e.hidePassword?"password":"text");var t=n(l,79,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,78,0,"fa fa-2x",t),n(l,81,0,"primary"),n(l,98,0,""),n(l,101,0,"rootFolder",e.alfresco.rootFolder),n(l,104,0,"rootFolder","Dépôt racine","","text"),n(l,108,0,e.functionsService.empty(e.alfresco.account.id)||e.functionsService.empty(e.alfresco.account.password)&&e.creationMode,"primary"),n(l,111,0,!bi(l,4).valid||!e.validAccount(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,1,["standard"==bi(l,8).appearance,"fill"==bi(l,8).appearance,"outline"==bi(l,8).appearance,"legacy"==bi(l,8).appearance,bi(l,8)._control.errorState,bi(l,8)._canLabelFloat,bi(l,8)._shouldLabelFloat(),bi(l,8)._hasFloatingLabel(),bi(l,8)._hideControlPlaceholder(),bi(l,8)._control.disabled,bi(l,8)._control.autofilled,bi(l,8)._control.focused,"accent"==bi(l,8).color,"warn"==bi(l,8).color,bi(l,8)._shouldForward("untouched"),bi(l,8)._shouldForward("touched"),bi(l,8)._shouldForward("pristine"),bi(l,8)._shouldForward("dirty"),bi(l,8)._shouldForward("valid"),bi(l,8)._shouldForward("invalid"),bi(l,8)._shouldForward("pending"),!bi(l,8)._animationsEnabled]),n(l,18,1,[Wt(1,"",e.lang.label,""),bi(l,20).required?"":null,bi(l,21).maxlength?bi(l,21).maxlength:null,bi(l,26).ngClassUntouched,bi(l,26).ngClassTouched,bi(l,26).ngClassPristine,bi(l,26).ngClassDirty,bi(l,26).ngClassValid,bi(l,26).ngClassInvalid,bi(l,26).ngClassPending,bi(l,27)._isServer,bi(l,27).id,bi(l,27).placeholder,bi(l,27).disabled,bi(l,27).required,bi(l,27).readonly&&!bi(l,27)._isNativeSelect||null,bi(l,27)._ariaDescribedby||null,bi(l,27).errorState,bi(l,27).required.toString()]),n(l,32,0,e.lang.alfrescoAccount),n(l,34,1,["standard"==bi(l,35).appearance,"fill"==bi(l,35).appearance,"outline"==bi(l,35).appearance,"legacy"==bi(l,35).appearance,bi(l,35)._control.errorState,bi(l,35)._canLabelFloat,bi(l,35)._shouldLabelFloat(),bi(l,35)._hasFloatingLabel(),bi(l,35)._hideControlPlaceholder(),bi(l,35)._control.disabled,bi(l,35)._control.autofilled,bi(l,35)._control.focused,"accent"==bi(l,35).color,"warn"==bi(l,35).color,bi(l,35)._shouldForward("untouched"),bi(l,35)._shouldForward("touched"),bi(l,35)._shouldForward("pristine"),bi(l,35)._shouldForward("dirty"),bi(l,35)._shouldForward("valid"),bi(l,35)._shouldForward("invalid"),bi(l,35)._shouldForward("pending"),!bi(l,35)._animationsEnabled]),n(l,45,1,[Wt(1,"",e.lang.id,""),bi(l,47).required?"":null,bi(l,52).ngClassUntouched,bi(l,52).ngClassTouched,bi(l,52).ngClassPristine,bi(l,52).ngClassDirty,bi(l,52).ngClassValid,bi(l,52).ngClassInvalid,bi(l,52).ngClassPending,bi(l,53)._isServer,bi(l,53).id,bi(l,53).placeholder,bi(l,53).disabled,bi(l,53).required,bi(l,53).readonly&&!bi(l,53)._isNativeSelect||null,bi(l,53)._ariaDescribedby||null,bi(l,53).errorState,bi(l,53).required.toString()]),n(l,55,1,["standard"==bi(l,56).appearance,"fill"==bi(l,56).appearance,"outline"==bi(l,56).appearance,"legacy"==bi(l,56).appearance,bi(l,56)._control.errorState,bi(l,56)._canLabelFloat,bi(l,56)._shouldLabelFloat(),bi(l,56)._hasFloatingLabel(),bi(l,56)._hideControlPlaceholder(),bi(l,56)._control.disabled,bi(l,56)._control.autofilled,bi(l,56)._control.focused,"accent"==bi(l,56).color,"warn"==bi(l,56).color,bi(l,56)._shouldForward("untouched"),bi(l,56)._shouldForward("touched"),bi(l,56)._shouldForward("pristine"),bi(l,56)._shouldForward("dirty"),bi(l,56)._shouldForward("valid"),bi(l,56)._shouldForward("invalid"),bi(l,56)._shouldForward("pending"),!bi(l,56)._animationsEnabled]),n(l,66,1,[e.creationMode?e.lang.password:e.lang.changePassword,bi(l,68).required?"":null,bi(l,73).ngClassUntouched,bi(l,73).ngClassTouched,bi(l,73).ngClassPristine,bi(l,73).ngClassDirty,bi(l,73).ngClassValid,bi(l,73).ngClassInvalid,bi(l,73).ngClassPending,bi(l,74)._isServer,bi(l,74).id,bi(l,74).placeholder,bi(l,74).disabled,bi(l,74).required,bi(l,74).readonly&&!bi(l,74)._isNativeSelect||null,bi(l,74)._ariaDescribedby||null,bi(l,74).errorState,bi(l,74).required.toString()]),n(l,76,0,bi(l,81).inline,"primary"!==bi(l,81).color&&"accent"!==bi(l,81).color&&"warn"!==bi(l,81).color),n(l,84,0,e.lang.rootFolder),n(l,85,1,["standard"==bi(l,86).appearance,"fill"==bi(l,86).appearance,"outline"==bi(l,86).appearance,"legacy"==bi(l,86).appearance,bi(l,86)._control.errorState,bi(l,86)._canLabelFloat,bi(l,86)._shouldLabelFloat(),bi(l,86)._hasFloatingLabel(),bi(l,86)._hideControlPlaceholder(),bi(l,86)._control.disabled,bi(l,86)._control.autofilled,bi(l,86)._control.focused,"accent"==bi(l,86).color,"warn"==bi(l,86).color,bi(l,86)._shouldForward("untouched"),bi(l,86)._shouldForward("touched"),bi(l,86)._shouldForward("pristine"),bi(l,86)._shouldForward("dirty"),bi(l,86)._shouldForward("valid"),bi(l,86)._shouldForward("invalid"),bi(l,86)._shouldForward("pending"),!bi(l,86)._animationsEnabled]),n(l,96,1,[e.lang.id,bi(l,98).required?"":null,bi(l,103).ngClassUntouched,bi(l,103).ngClassTouched,bi(l,103).ngClassPristine,bi(l,103).ngClassDirty,bi(l,103).ngClassValid,bi(l,103).ngClassInvalid,bi(l,103).ngClassPending,bi(l,104)._isServer,bi(l,104).id,bi(l,104).placeholder,bi(l,104).disabled,bi(l,104).required,bi(l,104).readonly&&!bi(l,104)._isNativeSelect||null,bi(l,104)._ariaDescribedby||null,bi(l,104).errorState,bi(l,104).required.toString()]),n(l,107,0,bi(l,108).disabled||null,"NoopAnimations"===bi(l,108)._animationMode),n(l,109,0,e.lang.test),n(l,110,0,bi(l,111).disabled||null,"NoopAnimations"===bi(l,111)._animationMode),n(l,112,0,e.lang.validate)}))}function otn(n){return jo(0,[ko(402653184,1,{sidenavRight:0}),(n()(),_o(1,0,null,null,43,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(5,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(6,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(7,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(11,114688,null,0,GO,[_u],null,null),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(14,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(15,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,itn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,atn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,0,22,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;width:400px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,23)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,23)._animationDoneListener(e)&&t),t}),zO,qO)),Di(23,3325952,[[2,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(24,0,null,0,20,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(25,704512,null,0,tI,[Pe],null,null),(n()(),_o(26,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(27,16384,null,0,aI,[],null,null),(n()(),Lo(28,null,["",""])),(n()(),_o(29,0,null,0,15,"div",[["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(30,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(31,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,40,{_controlNonStatic:0}),ko(335544320,41,{_controlStatic:0}),ko(603979776,42,{_labelChildNonStatic:0}),ko(335544320,43,{_labelChildStatic:0}),ko(603979776,44,{_placeholderChild:0}),ko(603979776,45,{_errorChildren:1}),ko(603979776,46,{_hintChildren:1}),ko(603979776,47,{_prefixChildren:1}),ko(603979776,48,{_suffixChildren:1}),(n()(),_o(41,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,42)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,42)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,42)._onInput()&&t),t}),null,null)),Di(42,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[40,4],[41,4]],nT,null,[OT]),(n()(),_o(44,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0),n(l,11,0),n(l,14,0),n(l,19,0,e.loading),n(l,21,0,!e.loading),n(l,23,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,42,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,5,0,bi(l,6)._container._contentMargins.left,bi(l,6)._container._contentMargins.right),n(l,8,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,22,0,null,"end"===bi(l,23).position,"over"===bi(l,23).mode,"push"===bi(l,23).mode,"side"===bi(l,23).mode,bi(l,23).opened,bi(l,23).fixedInViewport,bi(l,23).fixedInViewport?bi(l,23).fixedTopGap:null,bi(l,23).fixedInViewport?bi(l,23).fixedBottomGap:null,bi(l,23)._animationState),n(l,28,0,e.lang.chooseEntityAssociationAccount),n(l,30,1,["standard"==bi(l,31).appearance,"fill"==bi(l,31).appearance,"outline"==bi(l,31).appearance,"legacy"==bi(l,31).appearance,bi(l,31)._control.errorState,bi(l,31)._canLabelFloat,bi(l,31)._shouldLabelFloat(),bi(l,31)._hasFloatingLabel(),bi(l,31)._hideControlPlaceholder(),bi(l,31)._control.disabled,bi(l,31)._control.autofilled,bi(l,31)._control.focused,"accent"==bi(l,31).color,"warn"==bi(l,31).color,bi(l,31)._shouldForward("untouched"),bi(l,31)._shouldForward("touched"),bi(l,31)._shouldForward("pristine"),bi(l,31)._shouldForward("dirty"),bi(l,31)._shouldForward("valid"),bi(l,31)._shouldForward("invalid"),bi(l,31)._shouldForward("pending"),!bi(l,31)._animationsEnabled]),n(l,41,0,bi(l,42)._isServer,bi(l,42).id,bi(l,42).placeholder,bi(l,42).disabled,bi(l,42).required,bi(l,42).readonly&&!bi(l,42)._isNativeSelect||null,bi(l,42)._ariaDescribedby||null,bi(l,42).errorState,bi(l,42).required.toString())}))}function rtn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-alfresco",[],null,null,null,otn,ttn)),Di(1,114688,null,0,etn,[nS,Zp,uf,tu,_u,yu,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var utn=oi("app-alfresco",etn,rtn,{},{},[]),stn=yt({encapsulation:0,styles:[[".avatarAccount[_ngcontent-%COMP%]{border:3px solid #f99830;height:45px!important;width:45px!important;background-size:cover;background-repeat:no-repeat;background-position:center}"]],data:{}});function ctn(n){return jo(0,[(n()(),_o(0,0,null,null,19,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,17,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(3,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(7,0,null,0,2,"mat-icon",[["class","avatarAccount mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[4,"background-image",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(9,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(10,0,null,1,2,"h4",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(11,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(12,null,[""," ",""])),(n()(),_o(13,0,null,1,2,"p",[["class","mat-line"],["mat-line",""],["style","color:#666"]],null,null,null,null,null)),Di(14,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(15,null,["",""])),(n()(),_o(16,0,null,2,3,"button",[["color","warn"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.unlinkMaarchParapheurAccount()&&t),t}),PC,MC)),Di(17,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(18,0,null,0,1,"mat-icon",[["class","fas fa-unlink mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(19,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,8,0,"primary"),n(l,17,0,"warn"),n(l,19,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._avatar||bi(l,3)._icon,bi(l,3)._avatar||bi(l,3)._icon),n(l,7,0,"url("+e.externalUser.picture+")",bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,12,0,e.externalUser.firstname,e.externalUser.lastname),n(l,15,0,e.externalUser.email),n(l,16,0,e.lang.unlinkAccount,bi(l,17).disabled||null,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,bi(l,19).inline,"primary"!==bi(l,19).color&&"accent"!==bi(l,19).color&&"warn"!==bi(l,19).color)}))}function dtn(n){return jo(0,[(n()(),_o(0,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(11,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.externalUser.login=e)&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,14,0,e.externalUser.login),n(l,17,0,Wt(1,"",e.lang.newLoginInMaarchParapheur,""),"text")}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()])}))}function ptn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-danger"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.maarchParapheurAccountMsg+" <b>"+e.externalUser.login+"</b> "+e.lang.maarchParapheurAccountMsg2)}))}function mtn(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,10,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.selectUser(e)&&t),t}),HN,EN)),Di(7,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(8,1),(n()(),vo(16777216,null,null,1,null,ctn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dtn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ptn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(17,16384,null,0,l_,[],null,null),(n()(),_o(18,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.dialogRef.close(i.externalUser)&&t),t}),PC,MC)),Di(19,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(20,0,["",""])),(n()(),_o(21,0,null,null,2,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close("")&&t),t}),PC,MC)),Di(22,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(23,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0);var t=n(l,8,0,"/rest/autocomplete/maarchParapheurUsers?exludeAlreadyConnected=true");n(l,7,0,"outline",t,e.lang.searchUserInMaarchParapheur,"idToDisplay","email"),n(l,10,0,e.externalUser.inMaarchParapheur),n(l,12,0,!e.externalUser.inMaarchParapheur),n(l,14,0,!e.externalUser.inMaarchParapheur),n(l,19,0,""===e.externalUser.login,"primary")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.linkAccount),n(l,18,0,bi(l,19).disabled||null,"NoopAnimations"===bi(l,19)._animationMode),n(l,20,0,e.lang.validate),n(l,21,0,bi(l,22).disabled||null,"NoopAnimations"===bi(l,22)._animationMode),n(l,23,0,e.lang.cancel)}))}function ftn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,mtn,stn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,null,0,cq,[nS,Gv,Hv,tu],null,null)],(function(n,l){n(l,2,0)}),null)}var htn=oi("ng-component",cq,ftn,{},{},[]),gtn=yt({encapsulation:0,styles:[[".onlyofficeButton_close[_ngcontent-%COMP%], .onlyofficeButton_fullscreen[_ngcontent-%COMP%], .onlyofficeButton_hide[_ngcontent-%COMP%]{position:absolute;top:12px;z-index:3;-webkit-transition:.5s;transition:all .5s}.onlyofficeButton_fullscreen[_ngcontent-%COMP%]{right:6px}.onlyofficeButton_close[_ngcontent-%COMP%]{right:56px}.onlyofficeButton_hide[_ngcontent-%COMP%]{right:106px}.fullScreen[_ngcontent-%COMP%]{position:fixed}.fullScreenEditor[_ngcontent-%COMP%]{top:0;left:0}.buttonsHide[_ngcontent-%COMP%]{top:-15px;right:-15px;-webkit-transform:rotate(125deg);transform:rotate(125deg);-webkit-transition:.5s;transition:all .5s}"]],data:{}});function btn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","display:block;padding: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,["","..."]))],null,(function(n,l){n(l,1,0,l.component.lang.checkOnlyofficeServer)}))}function vtn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","onlyofficeButton_fullscreen"],["color","warn"],["mat-mini-fab",""]],[[2,"buttonsHide",null],[2,"fullScreen",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.quit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"warn"),n(l,3,0)}),(function(n,l){var e=l.component;n(l,0,0,e.hideButtons,e.fullscreenMode,e.lang.closeEditor,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function _tn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,btn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,vtn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,3,"button",[["class","onlyofficeButton_close"],["color","default"],["mat-mini-fab",""]],[[2,"buttonsHide",null],[2,"fullScreen",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openFullscreen()&&t),t}),PC,MC)),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","fas mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"fa-expand",null],[2,"fa-compress",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(8,0,null,null,3,"button",[["class","onlyofficeButton_hide"],["color","default"],["mat-mini-fab",""]],[[2,"fullScreen",null],[2,"buttonsHide",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hideButtons=!i.hideButtons)&&t),t}),PC,MC)),Di(9,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(10,0,null,0,1,"mat-icon",[["class","fa fa-arrow-right mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(12,0,null,null,0,"div",[["id","placeholder"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,1,0,e.loading),n(l,3,0,!e.hideCloseEditor),n(l,5,0,"default"),n(l,7,0),n(l,9,0,"default"),n(l,11,0)}),(function(n,l){var e=l.component;n(l,4,0,e.hideButtons,e.fullscreenMode,e.fullscreenMode?e.lang.closeFullscreen:e.lang.openFullscreen,bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode),n(l,6,0,!e.fullscreenMode,e.fullscreenMode,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,8,0,e.fullscreenMode,e.hideButtons,e.hideButtons?e.lang.showTool:e.lang.hideTool,bi(l,9).disabled||null,"NoopAnimations"===bi(l,9)._animationMode),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color)}))}var ytn=yt({encapsulation:0,styles:[[".collaboraOnlineButton_close[_ngcontent-%COMP%], .collaboraOnlineButton_fullscreen[_ngcontent-%COMP%], .collaboraOnlineButton_hide[_ngcontent-%COMP%]{position:absolute;top:12px;z-index:3;-webkit-transition:.5s;transition:all .5s}.collaboraOnlineButton_fullscreen[_ngcontent-%COMP%]{right:6px}.collaboraOnlineButton_close[_ngcontent-%COMP%]{right:56px}.collaboraOnlineButton_hide[_ngcontent-%COMP%]{right:106px}.fullScreen[_ngcontent-%COMP%]{position:fixed}.fullScreenEditor[_ngcontent-%COMP%]{top:0;left:0}.buttonsHide[_ngcontent-%COMP%]{top:-15px;right:-15px;-webkit-transform:rotate(125deg);transform:rotate(125deg);-webkit-transition:.5s;transition:all .5s}"]],data:{}});function wtn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","display:block;padding: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,["","..."]))],null,(function(n,l){n(l,1,0,l.component.lang.checkCollaboraOnlineServer)}))}function xtn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","collaboraOnlineButton_fullscreen"],["color","warn"],["mat-mini-fab",""]],[[2,"buttonsHide",null],[2,"fullScreen",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.quit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"warn"),n(l,3,0)}),(function(n,l){var e=l.component;n(l,0,0,e.hideButtons,e.fullscreenMode,e.lang.closeEditor,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Ctn(n){return jo(0,[(n()(),_o(0,0,[[1,0],["collaboraFrame",1]],null,0,"iframe",[["height","100%"],["id","collabora"],["name","frameEditor"],["width","100%"]],[[8,"src",5]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.editorUrl)}))}function ktn(n){return jo(0,[ko(671088640,1,{collaboraFrame:0}),(n()(),vo(16777216,null,null,1,null,wtn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,xtn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,3,"button",[["class","collaboraOnlineButton_close"],["color","default"],["mat-mini-fab",""]],[[2,"buttonsHide",null],[2,"fullScreen",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openFullscreen()&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(7,0,null,0,1,"mat-icon",[["class","fas mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"fa-expand",null],[2,"fa-compress",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(9,0,null,null,3,"button",[["class","collaboraOnlineButton_hide"],["color","default"],["mat-mini-fab",""]],[[2,"buttonsHide",null],[2,"fullScreen",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hideButtons=!i.hideButtons)&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(11,0,null,0,1,"mat-icon",[["class","fa fa-arrow-right mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,Ctn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.loading),n(l,4,0,!e.hideCloseEditor),n(l,6,0,"default"),n(l,8,0),n(l,10,0,"default"),n(l,12,0),n(l,14,0,""!==e.editorUrl)}),(function(n,l){var e=l.component;n(l,5,0,e.hideButtons,e.fullscreenMode,e.fullscreenMode?e.lang.closeFullscreen:e.lang.openFullscreen,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,!e.fullscreenMode,e.fullscreenMode,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,9,0,e.hideButtons,e.fullscreenMode,e.hideButtons?e.lang.showTool:e.lang.hideTool,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color)}))}var Stn=yt({encapsulation:0,styles:[[""]],data:{}});function Itn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Atn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"onlyoffice-viewer",[["style","height:100%;width:100%;"]],null,[[null,"triggerAfterUpdatedDoc"],[null,"triggerCloseEditor"],[null,"triggerModifiedDocument"],["window","message"]],(function(n,l,e){var t=!0,i=n.component;return"window:message"===l&&(t=!1!==bi(n,1).onMessage(e)&&t),"triggerAfterUpdatedDoc"===l&&(t=!1!==i.close()&&t),"triggerCloseEditor"===l&&(t=!1!==i.dialogRef.close("")&&t),"triggerModifiedDocument"===l&&(t=0!=(i.documentIsModified=!0)&&t),t}),_tn,gtn)),Di(1,4440064,[[1,4],["onlyofficeViewer",4]],0,y4,[nS,Jv,tu,_u],{editMode:[0,"editMode"],file:[1,"file"],params:[2,"params"],hideCloseEditor:[3,"hideCloseEditor"]},{triggerAfterUpdatedDoc:"triggerAfterUpdatedDoc",triggerCloseEditor:"triggerCloseEditor",triggerModifiedDocument:"triggerModifiedDocument"})],(function(n,l){var e=l.component;n(l,1,0,!0,e.file,e.editorOptions,!0)}),null)}function Mtn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-collabora-online-viewer",[["style","height:100%;width:100%;"]],null,[[null,"triggerAfterUpdatedDoc"],[null,"triggerCloseEditor"],[null,"triggerModifiedDocument"],["window","message"]],(function(n,l,e){var t=!0,i=n.component;return"window:message"===l&&(t=!1!==bi(n,1).onMessage(e)&&t),"triggerAfterUpdatedDoc"===l&&(t=!1!==i.close()&&t),"triggerCloseEditor"===l&&(t=!1!==i.dialogRef.close("")&&t),"triggerModifiedDocument"===l&&(t=0!=(i.documentIsModified=!0)&&t),t}),ktn,ytn)),Di(1,4440064,[[2,4],["collaboraOnlineViewer",4]],0,w4,[nS,Jv,tu,Ed,_u],{editMode:[0,"editMode"],file:[1,"file"],params:[2,"params"]},{triggerAfterUpdatedDoc:"triggerAfterUpdatedDoc",triggerCloseEditor:"triggerCloseEditor",triggerModifiedDocument:"triggerModifiedDocument"})],(function(n,l){var e=l.component;n(l,1,0,!0,e.file,e.editorOptions)}),null)}function Ptn(n){return jo(0,[ko(671088640,1,{onlyofficeViewer:0}),ko(671088640,2,{collaboraOnlineViewer:0}),(n()(),_o(2,0,null,null,18,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,7,"mat-dialog-content",[["class","mat-dialog-content"],["style","padding: 0px;"]],null,null,null,null,null)),Di(4,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Itn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Atn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mtn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(13,16384,null,0,l_,[],null,null),(n()(),_o(14,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.close()&&t),t}),PC,MC)),Di(15,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(16,0,["",""])),(n()(),_o(17,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,19).dialogRef.close(bi(n,19).dialogResult)&&t),t}),PC,MC)),Di(18,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(19,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(20,0,["",""]))],(function(n,l){var e=l.component;n(l,6,0,e.loading),n(l,8,0,"onlyoffice"===e.editorType),n(l,10,0,"collaboraonline"===e.editorType),n(l,15,0,!e.documentIsModified||e.loading,"primary"),n(l,18,0,e.loading),n(l,19,0)}),(function(n,l){var e=l.component;n(l,14,0,bi(l,15).disabled||null,"NoopAnimations"===bi(l,15)._animationMode),n(l,16,0,e.lang.validate),n(l,17,0,bi(l,18).disabled||null,"NoopAnimations"===bi(l,18)._animationMode,bi(l,19).ariaLabel||null,bi(l,19).type),n(l,20,0,e.lang.cancel)}))}function Dtn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Ptn,Stn)),Di(1,114688,null,0,x4,[Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var Ftn=oi("ng-component",x4,Dtn,{},{},[]),Etn=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.contactService=e,this.functionsService=t,this.contact={},this.selectable=!1,this.afterSelectedEvent=new la,this.afterDeselectedEvent=new la,this.lang=Kr,this.loading=!0,this.contactClone={},this.customFields=[]}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.getCustomFields()];case 1:return n.sent(),2===Object.keys(this.contact).length?this.loadContact(this.contact.id,this.contact.type):Object.keys(this.contact).length>2&&(this.contactClone=JSON.parse(JSON.stringify(this.contact)),this.loading=!1),[2]}}))}))},n.prototype.getCustomFields=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/contactsCustomFields").pipe(Yr((function(e){n.customFields=e.customFields.map((function(n){return{id:n.id,label:n.label}})),l(!0)}))).subscribe()}))},n.prototype.loadContact=function(n,l){var e=this;"contact"===l?this.http.get("../../rest/contacts/"+n+(this.selectable?"?resourcesCount=true":"")).pipe(Yr((function(n){e.contact=Object(t.__assign)({},n,{civility:e.contactService.formatCivilityObject(n.civility),fillingRate:e.contactService.formatFillingObject(n.fillingRate),customFields:e.functionsService.empty(n.customFields)?[]:e.formatCustomField(n.customFields),type:"contact"}),e.contactClone=JSON.parse(JSON.stringify(e.contact))})),iu((function(){return e.loading=!1})),Qr((function(n){return e.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe():"user"===l?this.http.get("../../rest/users/"+n).pipe(Yr((function(n){e.contact={type:"user",civility:e.contactService.formatCivilityObject(null),fillingRate:e.contactService.formatFillingObject(null),customFields:[],firstname:n.firstname,lastname:n.lastname,enabled:n.enabled},e.contactClone=JSON.parse(JSON.stringify(e.contact))})),iu((function(){return e.loading=!1})),Qr((function(n){return e.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe():"entity"===l&&this.http.get("../../rest/entities/"+n).pipe(Yr((function(n){e.contact={type:"entity",civility:e.contactService.formatCivilityObject(null),fillingRate:e.contactService.formatFillingObject(null),customFields:[],lastname:n.short_label,enabled:"Y"===n.enabled},e.contactClone=JSON.parse(JSON.stringify(e.contact))})),iu((function(){return e.loading=!1})),Qr((function(n){return e.notify.error(n.error.errors),Object(S0.of)(!1)}))).subscribe()},n.prototype.formatCustomField=function(n){var l=this,e=[];return Object.keys(n).forEach((function(t){e.push({label:l.customFields.filter((function(n){return n.id==t})).length>0?l.customFields.filter((function(n){return n.id==t}))[0].label:t,value:n[t]})})),e},n.prototype.goTo=function(n){window.open("https://www.google.com/maps/search/"+n.addressNumber+"+"+n.addressStreet+",+"+n.addressPostcode+"+"+n.addressTown+",+"+n.addressCountry,"_blank")},n.prototype.emptyOtherInfo=function(n){return!!("contact"!==n.type||this.functionsService.empty(n.notes)&&this.functionsService.empty(n.communicationMeans)&&this.functionsService.empty(n.customFields))},n.prototype.toggleContact=function(n){n.selected=!n.selected,n.selected?this.afterSelectedEvent.emit(n):this.afterDeselectedEvent.emit(n)},n.prototype.getContactInfo=function(){return this.contact},n.prototype.resetContact=function(){this.contact=JSON.parse(JSON.stringify(this.contactClone))},n.prototype.setContactInfo=function(n,l){this.functionsService.empty(l)||("customFields"===n?this.contact[n].push(l):this.contact[n]=l)},n.prototype.isNewValue=function(n){return"object"==typeof n&&"civility"!==n?0===this.contactClone.customFields.filter((function(l){return l.label===n.value.label})).length:"civility"===n?JSON.stringify(this.contact[n])!==JSON.stringify(this.contactClone[n]):this.contact[n]!==this.contactClone[n]},n}(),Otn=yt({encapsulation:0,styles:[[".contact-list-container[_ngcontent-%COMP%]{padding:10px;display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px}.contact-list-container-1[_ngcontent-%COMP%]{grid-template-columns:1fr}.contact-list-container-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.contact-card[_ngcontent-%COMP%]{padding:0;box-shadow:none;border:1px solid rgba(0,0,0,.12);height:100%}.contact-card[_ngcontent-%COMP%] .mat-expansion-panel-body{padding-left:0;padding-right:0}.mat-card-header[_ngcontent-%COMP%]{background:#f9f9f9;padding:10px 10px 5px}.mat-card-title[_ngcontent-%COMP%]{padding-right:15px}.contact-item[_ngcontent-%COMP%]{height:35px!important}.contact-header-image[_ngcontent-%COMP%]{background:#135f7f;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:18px;color:#fff}.contact-header-image[_ngcontent-%COMP%] .mat-checkbox-layout{margin:0}.contact-header-image[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not( .mat-checkbox-checked) .mat-checkbox-frame{border-color:#e6dfdf!important}.contact-group[_ngcontent-%COMP%]{color:#135f7f;font-size:16px!important;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.contact-content[_ngcontent-%COMP%]{font-size:13px!important}.contact-address[_ngcontent-%COMP%]{cursor:pointer;color:#337ab7}.contact-address[_ngcontent-%COMP%]:hover .contact-content[_ngcontent-%COMP%]{text-decoration:underline}.mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{font-size:14px;color:#666}.contact-filling[_ngcontent-%COMP%]{position:absolute;right:20px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.newData[_ngcontent-%COMP%]{color:#f99830!important}.selectable[_ngcontent-%COMP%]{z-index:1;background:#0003;position:absolute;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;width:100%;height:100%;opacity:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-transition:opacity .2s;transition:opacity .2s}.contact-card[_ngcontent-%COMP%]:hover .selectable[_ngcontent-%COMP%]{opacity:1;-webkit-transition:opacity .2s;transition:opacity .2s}.selected[_ngcontent-%COMP%]{opacity:1!important}.disabledContact[_ngcontent-%COMP%]{font-size:20px;color:red;text-align:center;opacity:.2;position:absolute;top:50%;left:50%;-webkit-transform:translateX(-50%) translateY(-50%) rotate(-30deg);transform:translateX(-50%) translateY(-50%) rotate(-30deg);white-space:pre;font-weight:700}"]],data:{}});function Ttn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function Ltn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"button",[["color","primary"],["mat-raised-button",""],["style","line-height: 15px;padding: 5px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.toggleContact(i.contact)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),_o(5,0,null,0,1,"small",[["style","font-size:80%"]],null,null,null,null,null)),(n()(),Lo(6,null,[""," ",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,3,0,e.lang.selectDuplicatedContact),n(l,6,0,e.contact.resourcesCount,e.lang.associatedElements)}))}function Rtn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-raised-button",""],["style","line-height: 15px;padding: 10px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.toggleContact(i.contact)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,0,"i",[["class","far fa-check-circle"]],null,null,null,null,null)),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,3,0,e.lang.selectedContact)}))}function Ntn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","selectable"]],[[2,"selected",null]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ltn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Rtn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,!e.contact.selected),n(l,4,0,e.contact.selected)}),(function(n,l){n(l,0,0,l.component.contact.selected)}))}function jtn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","disabledContact"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.contactDisabled)}))}function Vtn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"sup",[["style","color: #666;"]],[[2,"newData",null]],null,null,null,null)),(n()(),Lo(1,null,[""," "]))],null,(function(n,l){var e=l.component;n(l,0,0,e.isNewValue("civility")),n(l,1,0,e.contact.civility.abbreviation)}))}function qtn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-card-title",[["class","mat-card-title"]],[[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,_O,[],null,null),(n()(),vo(16777216,null,null,1,null,Vtn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(4,null,[""," "," "]))],(function(n,l){var e=l.component;n(l,3,0,!e.functionsService.empty(e.contact.civility))}),(function(n,l){var e=l.component;n(l,0,0,e.contact.civility.label+" "+e.contact.firstname+" "+e.contact.lastname),n(l,4,0,e.contact.firstname,e.contact.lastname)}))}function ztn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-card-title",[["class","mat-card-title"]],[[2,"newData",null],[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,_O,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e.isNewValue("company"),e.contact.company),n(l,2,0,e.contact.company)}))}function Utn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],[[2,"newData",null],[8,"title",0]],null,null,null,null)),Di(1,16384,null,0,yO,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,e.isNewValue("function"),e.contact.function),n(l,2,0,e.contact.function)}))}function Btn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","contact-filling fa fa-circle"]],[[4,"color",null],[8,"title",0]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.contact.fillingRate.color,e.lang.contactsFillingRate)}))}function $tn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group far fa-building mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null]],null,null,null,null)),Di(9,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.contactsParameters_company,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.isNewValue("company")),n(l,10,0,e.contact.company)}))}function Htn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fa fa-sitemap mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null]],null,null,null,null)),Di(9,16384,[[4,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.contactsParameters_department,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.isNewValue("department")),n(l,10,0,e.contact.department)}))}function Gtn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group far fa-envelope mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"a",[["class","contact-content mat-line"],["matLine",""]],[[8,"href",4],[2,"newData",null]],null,null,null,null)),Di(9,16384,[[7,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.email,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,Wt(1,"mailto:",e.contact.email,""),e.isNewValue("email")),n(l,10,0,e.contact.email)}))}function Wtn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,10,{_lines:1}),ko(603979776,11,{_avatar:0}),ko(603979776,12,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-phone mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[12,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null]],null,null,null,null)),Di(9,16384,[[10,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,e.lang.phoneNumber,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.isNewValue("phone")),n(l,10,0,e.contact.phone)}))}function Ktn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null]],null,null,null,null)),Di(1,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e.isNewValue("addressAdditional1")),n(l,2,0,e.contact.addressAdditional1)}))}function Ytn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(1,16384,[[13,4]],0,pv,[],null,null),(n()(),_o(2,0,null,null,1,"span",[],[[2,"newData",null]],null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(5,0,null,null,1,"span",[],[[2,"newData",null]],null,null,null,null)),(n()(),Lo(6,null,["",""]))],null,(function(n,l){var e=l.component;n(l,2,0,e.isNewValue("addressNumber")),n(l,3,0,e.contact.addressNumber),n(l,5,0,e.isNewValue("addressStreet")),n(l,6,0,e.contact.addressStreet)}))}function Jtn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null]],null,null,null,null)),Di(1,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(2,null,[""," "]))],null,(function(n,l){var e=l.component;n(l,0,0,e.isNewValue("addressAdditional2")),n(l,2,0,e.contact.addressAdditional2)}))}function Ztn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],null,null,null,null,null)),Di(1,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,e.contact.addressPostcode,e.contact.addressTown)}))}function Qtn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null]],null,null,null,null)),Di(1,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,e.isNewValue("addressCountry")),n(l,2,0,e.contact.addressCountry)}))}function Xtn(n){return jo(0,[(n()(),_o(0,0,null,null,17,"mat-list-item",[["class","contact-address mat-list-item"]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.goTo(i.contact)&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-map-marker-alt mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[15,4]],0,iI,[],null,null),(n()(),vo(16777216,null,1,1,null,Ktn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Ytn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Jtn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Ztn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Qtn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0),n(l,9,0,!e.functionsService.empty(e.contact.addressAdditional1)),n(l,11,0,!e.functionsService.empty(e.contact.addressNumber)||!e.functionsService.empty(e.contact.addressStreet)),n(l,13,0,!e.functionsService.empty(e.contact.addressAdditional2)),n(l,15,0,!e.functionsService.empty(e.contact.addressPostcode)||!e.functionsService.empty(e.contact.addressTown)),n(l,17,0,!e.functionsService.empty(e.contact.addressCountry))}),(function(n,l){n(l,0,0,l.component.lang.address,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function nin(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,17,{_lines:1}),ko(603979776,18,{_avatar:0}),ko(603979776,19,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group far fa-sticky-note mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[19,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null],[8,"title",0]],null,null,null,null)),Di(9,16384,[[17,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.note,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.isNewValue("notes"),e.contact.notes),n(l,10,0,e.contact.notes)}))}function lin(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,20,{_lines:1}),ko(603979776,21,{_avatar:0}),ko(603979776,22,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-hashtag mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[22,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null],[8,"title",0]],null,null,null,null)),Di(9,16384,[[20,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.communicationMean,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.isNewValue("communicationMeans"),e.contact.communicationMeans),n(l,10,0,e.contact.communicationMeans)}))}function ein(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,23,{_lines:1}),ko(603979776,24,{_avatar:0}),ko(603979776,25,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-hashtag mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[25,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(9,16384,[[23,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,e.lang.IdMaarch2Maarch,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.contact.externalId.m2m),n(l,10,0,e.contact.externalId.m2m)}))}function tin(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","contact-item mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,26,{_lines:1}),ko(603979776,27,{_avatar:0}),ko(603979776,28,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","contact-group fas fa-hashtag mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(7,16384,[[28,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","contact-content mat-line"],["mat-line",""]],[[2,"newData",null],[8,"title",0]],null,null,null,null)),Di(9,16384,[[26,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,l.parent.context.$implicit.value.label,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,e.isNewValue(l.parent.context.$implicit),l.parent.context.$implicit.value.value),n(l,10,0,l.parent.context.$implicit.value.value)}))}function iin(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tin)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,null!==l.context.$implicit.value.value)}),null)}function ain(n){return jo(0,[(n()(),_o(0,16777216,null,null,21,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,16,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,10,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(12,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,nin)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,lin)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,ein)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,2,null,iin)),Di(20,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.selectable),n(l,14,0,!e.functionsService.empty(e.contact.notes)),n(l,16,0,!e.functionsService.empty(e.contact.communicationMeans)),n(l,18,0,!e.functionsService.empty(e.contact.externalId)&&!e.functionsService.empty(e.contact.externalId.m2m)),n(l,20,0,bt(l,20,0,bi(l,21).transform(e.contact.customFields)))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,0,e.lang.othersInfos)}))}function oin(n){return jo(0,[(n()(),_o(0,0,null,null,36,"mat-card",[["class","contact-card mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,Ntn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,jtn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,0,11,"mat-card-header",[["class","mat-card-header"]],null,null,null,MO,AO)),Di(7,49152,null,0,CO,[],null,null),(n()(),_o(8,0,null,0,1,"div",[["class","contact-header-image fa mat-card-avatar"],["mat-card-avatar",""]],[[2,"fa-address-card",null],[2,"fa-users",null],[2,"fa-sitemap",null],[2,"fa-user",null],[8,"title",0]],null,null,null,null)),Di(9,16384,null,0,wO,[],null,null),(n()(),vo(16777216,null,1,1,null,qtn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,ztn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,Utn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,Btn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,0,18,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Di(19,16384,null,0,vO,[],null,null),(n()(),_o(20,0,null,null,14,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(21,704512,null,0,tI,[Pe],null,null),(n()(),_o(22,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(23,16384,null,0,aI,[],null,null),(n()(),Lo(24,null,["",""])),(n()(),vo(16777216,null,0,1,null,$tn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Htn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Gtn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Wtn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Xtn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ain)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.selectable),n(l,5,0,!e.contact.enabled),n(l,11,0,!e.functionsService.empty(e.contact.firstname)||!e.functionsService.empty(e.contact.lastname)),n(l,13,0,e.functionsService.empty(e.contact.firstname)&&e.functionsService.empty(e.contact.lastname)),n(l,15,0,!e.functionsService.empty(e.contact.function)),n(l,17,0,"contact"===e.contact.type&&!e.functionsService.empty(e.contact.fillingRate.color)),n(l,26,0,!(e.functionsService.empty(e.contact.firstname)&&e.functionsService.empty(e.contact.lastname)||e.functionsService.empty(e.contact.company))),n(l,28,0,!e.functionsService.empty(e.contact.department)),n(l,30,0,!e.functionsService.empty(e.contact.email)),n(l,32,0,!e.functionsService.empty(e.contact.phone)),n(l,34,0,!(e.functionsService.empty(e.contact.addressNumber)&&e.functionsService.empty(e.contact.addressStreet)&&e.functionsService.empty(e.contact.addressAdditional2)&&e.functionsService.empty(e.contact.addressPostcode)&&e.functionsService.empty(e.contact.addressTown)&&e.functionsService.empty(e.contact.addressCountry))),n(l,36,0,!e.emptyOtherInfo(e.contact))}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,8,0,"contact"===e.contact.type,"contactGroup"===e.contact.type,"entity"===e.contact.type,"user"===e.contact.type,e.lang["contact_"+e.contact.type]),n(l,24,0,e.lang.contactDetails)}))}function rin(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Ttn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,oin))],(function(n,l){n(l,1,0,l.component.loading,bi(l,2))}),null)}var uin=yt({encapsulation:0,styles:[[".merged[_ngcontent-%COMP%]{opacity:.5}.contact-list-container[_ngcontent-%COMP%]{padding:20px;display:grid;grid-template-columns:repeat(3,33%);grid-gap:10px}.contact-list-container-1[_ngcontent-%COMP%]{grid-template-columns:1fr}.contact-list-container-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.excludeLogo[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);font-size:80px;color:#8e3e52}"]],data:{}});function sin(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["mat-button",""],["mat-raised-button",""],["style","position: absolute;bottom: 0px;left: 50%;transform: translateX(-50%);"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.toggleExcludeContact(n.parent.context.$implicit),t=!1!==i.mergeContact()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.exludeContact)}))}function cin(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-ban excludeLogo"]],null,null,null,null,null))],null,null)}function din(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""],["style","position: absolute;bottom: 0px;left: 50%;transform: translateX(-50%);"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.toggleExcludeContact(n.parent.context.$implicit),t=!1!==i.mergeContact()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,0,"i",[["class","fas fa-ban"]],null,null,null,null,null)),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,3,0,e.lang.contactExcluded)}))}function pin(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["style","position: relative;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-contact-detail",[["style","height: 100%"]],[[2,"merged",null]],[[null,"afterSelectedEvent"],[null,"afterDeselectedEvent"]],(function(n,l,e){var t=!0,i=n.component;return"afterSelectedEvent"===l&&(t=!1!==i.mergeContact(n.context.index)&&t),"afterDeselectedEvent"===l&&(t=!1!==i.resetContact(e,n.context.index)&&t),t}),rin,Otn)),Ei(512,null,L1,L1,[nS,$S]),Di(3,114688,[[1,4],["appContactDetail",4]],0,Etn,[nS,tu,L1,$S],{contact:[0,"contact"],selectable:[1,"selectable"]},{afterSelectedEvent:"afterSelectedEvent",afterDeselectedEvent:"afterDeselectedEvent"}),(n()(),vo(16777216,null,null,1,null,sin)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cin)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,din)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,l.context.$implicit,e.contactSelected===l.context.index||null===e.contactSelected),n(l,5,0,e.contactSelected!==l.context.index&&null!==e.contactSelected&&-1===e.contactsExcluded.indexOf(l.context.$implicit.id)),n(l,7,0,e.contactSelected!==l.context.index&&null!==e.contactSelected&&e.contactsExcluded.indexOf(l.context.$implicit.id)>-1),n(l,9,0,e.contactSelected!==l.context.index&&null!==e.contactSelected&&e.contactsExcluded.indexOf(l.context.$implicit.id)>-1)}),(function(n,l){var e=l.component;n(l,1,0,e.contactSelected!==l.context.index&&null!==e.contactSelected&&-1===e.contactsExcluded.indexOf(l.context.$implicit.id))}))}function min(n){return jo(0,[ko(671088640,1,{appContactDetail:1}),(n()(),_o(1,0,null,null,14,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"div",[["class","contact-list-container mat-dialog-content"],["mat-dialog-content",""]],[[2,"contact-list-container-1",null],[2,"contact-list-container-2",null]],null,null,null,null)),Di(3,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,pin)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(6,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(8,16384,null,0,l_,[],null,null),(n()(),_o(9,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(11,0,["",""])),(n()(),_o(12,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,14).dialogRef.close(bi(n,14).dialogResult)&&t),t}),PC,MC)),Di(13,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(14,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(15,0,["",""]))],(function(n,l){var e=l.component;n(l,5,0,e.data.duplicate),n(l,10,0,null===e.contactSelected||e.loading||e.contactsExcluded.length===e.data.duplicate.length-1,"primary"),n(l,14,0)}),(function(n,l){var e=l.component;n(l,2,0,1==e.data.duplicate.length,2==e.data.duplicate.length),n(l,9,0,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,e.lang.merge),n(l,12,0,bi(l,13).disabled||null,"NoopAnimations"===bi(l,13)._animationMode,bi(l,14).ariaLabel||null,bi(l,14).type),n(l,15,0,e.lang.cancel)}))}function fin(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-manage-duplicate",[],null,null,null,min,uin)),Di(1,114688,null,0,c1,[nS,tu,Gv,Hv,_u,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var hin=oi("app-manage-duplicate",c1,fin,{},{},[]),gin=yt({encapsulation:0,styles:[[".mat-dialog-container{position:relative}.mat-dialog-content[_ngcontent-%COMP%]{padding-bottom:10px;overflow-x:hidden} .mat-expansion-panel-body{padding-bottom:50px}.mat-expansion-panel-header[_ngcontent-%COMP%]{opacity:.5}.noData[_ngcontent-%COMP%]{text-align:center;opacity:.5}.removeAllDatas[_ngcontent-%COMP%]{float:right;font-size:14px;opacity:1;cursor:pointer;margin-right:10px}.listFilter[_ngcontent-%COMP%]{font-size:10px;margin-bottom:-20px}.exportList[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.exportList[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{float:left;height:20px;font-size:10px;font-weight:700;opacity:.5}.exportList[_ngcontent-%COMP%] .cdk-list[_ngcontent-%COMP%]{height:100%}.cdk-list[_ngcontent-%COMP%]{width:100%;max-width:100%;border:1px solid #ccc;display:block;background:#fff;border-radius:4px;max-height:310px;min-height:310px;overflow:auto}.columns[_ngcontent-%COMP%]{width:100%;height:50px;padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.actions[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.loader[_ngcontent-%COMP%]{position:absolute;display:-webkit-box;display:flex;width:100%;left:0;top:0;height:100%;background:#fff9;z-index:1;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}"]],data:{}});function bin(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function vin(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function _in(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[23,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function yin(n){return jo(0,[(n()(),_o(0,0,null,null,26,"div",[["class","col-md-9"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,14,{_controlNonStatic:0}),ko(335544320,15,{_controlStatic:0}),ko(603979776,16,{_labelChildNonStatic:0}),ko(335544320,17,{_labelChildStatic:0}),ko(603979776,18,{_placeholderChild:0}),ko(603979776,19,{_errorChildren:1}),ko(603979776,20,{_hintChildren:1}),ko(603979776,21,{_prefixChildren:1}),ko(603979776,22,{_suffixChildren:1}),(n()(),_o(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(13,16384,[[16,4],[17,4]],0,iT,[],null,null),(n()(),Lo(14,null,["",""])),(n()(),_o(15,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,20)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,20)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,20)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.exportModel.delimiter=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(17,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,23,{options:1}),ko(603979776,24,{optionGroups:1}),ko(603979776,25,{customTrigger:0}),Ei(2048,[[14,4],[15,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,_in)),Di(26,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"outline"),n(l,17,0,"csv"!=e.exportModel.format,e.exportModel.delimiter),n(l,20,0,"csv"!=e.exportModel.format,Wt(1,"",e.lang.delimiter,"")),n(l,26,0,e.delimiters)}),(function(n,l){var e=l.component;n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,0,e.lang.delimiter),n(l,15,1,[bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20).id,bi(l,20).tabIndex,bi(l,20)._getAriaLabel(),bi(l,20)._getAriaLabelledby(),bi(l,20).required.toString(),bi(l,20).disabled.toString(),bi(l,20).errorState,bi(l,20).panelOpen?bi(l,20)._optionIds:null,bi(l,20).multiple,bi(l,20)._ariaDescribedby||null,bi(l,20)._getAriaActiveDescendant(),bi(l,20).disabled,bi(l,20).errorState,bi(l,20).required,bi(l,20).empty])}))}function win(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","columns cdk-drag"]],[[8,"id",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Ei(6144,null,VU,null,[$U]),Di(2,4866048,[[37,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,38,{_handles:1}),ko(603979776,39,{_previewTemplate:0}),ko(603979776,40,{_placeholderTemplate:0}),(n()(),Lo(6,null,[""," "])),(n()(),_o(7,0,null,null,0,"i",[["class","fa fa-plus"],["color","primary"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addData(n.context.$implicit)&&t),t}),null,null)),(n()(),vo(0,null,null,0))],null,(function(n,l){n(l,0,0,Wt(1,"",l.context.$implicit.value,""),bi(l,2).disabled,bi(l,2)._dragRef.isDragging()),n(l,6,0,l.context.$implicit.label)}))}function xin(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.noDataAvailable)}))}function Cin(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","columns cdk-drag"]],[[8,"id",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Ei(6144,null,VU,null,[$U]),Di(2,4866048,[[41,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,42,{_handles:1}),ko(603979776,43,{_previewTemplate:0}),ko(603979776,44,{_placeholderTemplate:0}),(n()(),Lo(6,null,[""," "])),(n()(),_o(7,0,null,null,0,"i",[["class","fa fa-minus"],["color","warn"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeData(n.context.index)&&t),t}),null,null)),(n()(),vo(0,null,null,0))],null,(function(n,l){n(l,0,0,Wt(1,"",l.context.$implicit.value,""),bi(l,2).disabled,bi(l,2)._dragRef.isDragging()),n(l,6,0,l.context.$implicit.label)}))}function kin(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.noDataAvailable)}))}function Sin(n){return jo(0,[Fi(0,iB,[QS]),Fi(0,HS,[QS,$S]),ko(402653184,1,{listFilter:0}),(n()(),_o(3,0,null,null,113,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(5,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(6,null,["",""])),(n()(),_o(7,0,null,null,99,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(8,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,bin)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,29,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,26,"div",[],[[2,"col-md-12",null],[2,"col-md-3",null]],null,null,null,null)),(n()(),_o(13,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(24,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(25,16384,[[4,4],[5,4]],0,iT,[],null,null),(n()(),Lo(26,null,["",""])),(n()(),_o(27,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,32)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,32)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,32)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.exportModel.format=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(29,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"]},null),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),ko(603979776,13,{customTrigger:0}),Ei(2048,[[2,4],[3,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,vin)),Di(38,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,yin)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(41,0,null,null,65,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(42,1720320,null,1,Qj,[],null,null),ko(603979776,26,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(45,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(46,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,27,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(49,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,50)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,50)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,50)._animationStarted()&&t),t}),aV,tV)),Di(50,180224,[[26,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(51,{collapsedHeight:0,expandedHeight:1}),Oo(52,{value:0,params:1}),(n()(),_o(53,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(54,16384,null,0,Zj,[],null,null),(n()(),Lo(55,null,[" "," "])),(n()(),_o(56,0,null,1,15,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(57,0,null,null,14,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(58,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","listFilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(59,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(69,0,[[1,0],["listFilter",1]],1,2,"input",[["cdkFocusInitial",""],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,70)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,70)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,70)._onInput()&&t),t}),null,null)),Di(70,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT]),(n()(),_o(72,0,null,1,34,"div",[["class","row exportList"]],null,null,null,null,null)),(n()(),_o(73,0,null,null,16,"div",[["class","col-md-6 available-data"]],null,null,null,null,null)),(n()(),_o(74,0,null,null,3,"h2",[],null,null,null,null,null)),(n()(),_o(75,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(n()(),Lo(76,null,["",""])),(n()(),_o(77,0,null,null,0,"i",[["class","fa fa-plus-circle removeAllDatas"],["color","primary"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addAllData()&&t),t}),null,null)),(n()(),_o(78,0,null,null,11,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"],["id","availableElements"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(80,1196032,[["dataAvailableList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,37,{_draggables:1}),Eo(82,1),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,3,null,win)),Di(85,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(86,2),Fo(87,3),(n()(),vo(16777216,null,null,1,null,xin)),Di(89,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(90,0,null,null,1,"div",[["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(91,0,null,null,0,"i",[["class","fas fa-arrow-right"]],null,null,null,null,null)),(n()(),_o(92,0,null,null,14,"div",[["class","col-md-6 active-data"]],null,null,null,null,null)),(n()(),_o(93,0,null,null,3,"h2",[],null,null,null,null,null)),(n()(),_o(94,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(n()(),Lo(95,null,["",""])),(n()(),_o(96,0,null,null,0,"i",[["class","fa fa-minus-circle removeAllDatas"],["color","warn"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeAllData()&&t),t}),null,null)),(n()(),_o(97,0,null,null,9,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"],["id","selectedElements"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(99,1196032,[["dataExportList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,41,{_draggables:1}),Eo(101,1),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,Cin)),Di(104,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,kin)),Di(106,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(107,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(108,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(109,16384,null,0,l_,[],null,null),(n()(),_o(110,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.exportData()&&t),t}),PC,MC)),Di(111,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(112,0,["",""])),(n()(),_o(113,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,115).dialogRef.close(bi(n,115).dialogResult)&&t),t}),PC,MC)),Di(114,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(115,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(116,0,["",""]))],(function(n,l){var e=l.component;n(l,5,0),n(l,10,0,e.loadingExport),n(l,14,0,"outline"),n(l,29,0,e.exportModel.format),n(l,32,0,Wt(1,"",e.lang.format,"")),n(l,38,0,e.formats),n(l,40,0,"csv"==e.exportModel.format),n(l,46,0,!0),n(l,59,0,"outline"),n(l,70,0,Wt(1,"",e.lang.searchDatas,""));var t=n(l,82,0,bi(l,99));n(l,80,0,t,e.dataAvailable,"availableElements");var i=bt(l,85,0,n(l,87,0,bi(l,0),bt(l,85,0,n(l,86,0,bi(l,1),e.dataAvailable,"label")),bi(l,69).value,"label"));n(l,85,0,i),n(l,89,0,0==e.dataAvailable.length);var a=n(l,101,0,bi(l,80));n(l,99,0,a,e.exportModel.data,"selectedElements"),n(l,104,0,e.exportModel.data),n(l,106,0,0==e.exportModel.data.length),n(l,111,0,0==e.exportModel.data.length,"primary"),n(l,115,0)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5).id),n(l,6,0,e.lang.exportDatas),n(l,12,0,"csv"!=e.exportModel.format,"csv"==e.exportModel.format),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,26,0,e.lang.format),n(l,27,1,[bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32).id,bi(l,32).tabIndex,bi(l,32)._getAriaLabel(),bi(l,32)._getAriaLabelledby(),bi(l,32).required.toString(),bi(l,32).disabled.toString(),bi(l,32).errorState,bi(l,32).panelOpen?bi(l,32)._optionIds:null,bi(l,32).multiple,bi(l,32)._ariaDescribedby||null,bi(l,32)._getAriaActiveDescendant(),bi(l,32).disabled,bi(l,32).errorState,bi(l,32).required,bi(l,32).empty]),n(l,45,0,bi(l,46).expanded,"NoopAnimations"===bi(l,46)._animationMode,bi(l,46)._hasSpacing());var t=bi(l,50).panel._headerId,i=bi(l,50).disabled?-1:0,a=bi(l,50)._getPanelId(),o=bi(l,50)._isExpanded(),r=bi(l,50).panel.disabled,u=bi(l,50)._isExpanded(),s="after"===bi(l,50)._getTogglePosition(),c="before"===bi(l,50)._getTogglePosition(),d=bi(l,50)._animationsDisabled,p=n(l,52,0,bi(l,50)._getExpandedState(),n(l,51,0,bi(l,50).collapsedHeight,bi(l,50).expandedHeight));n(l,49,0,t,i,a,o,r,u,s,c,d,p),n(l,55,0,e.lang.datasToExport),n(l,58,1,["standard"==bi(l,59).appearance,"fill"==bi(l,59).appearance,"outline"==bi(l,59).appearance,"legacy"==bi(l,59).appearance,bi(l,59)._control.errorState,bi(l,59)._canLabelFloat,bi(l,59)._shouldLabelFloat(),bi(l,59)._hasFloatingLabel(),bi(l,59)._hideControlPlaceholder(),bi(l,59)._control.disabled,bi(l,59)._control.autofilled,bi(l,59)._control.focused,"accent"==bi(l,59).color,"warn"==bi(l,59).color,bi(l,59)._shouldForward("untouched"),bi(l,59)._shouldForward("touched"),bi(l,59)._shouldForward("pristine"),bi(l,59)._shouldForward("dirty"),bi(l,59)._shouldForward("valid"),bi(l,59)._shouldForward("invalid"),bi(l,59)._shouldForward("pending"),!bi(l,59)._animationsEnabled]),n(l,69,0,bi(l,70)._isServer,bi(l,70).id,bi(l,70).placeholder,bi(l,70).disabled,bi(l,70).required,bi(l,70).readonly&&!bi(l,70)._isNativeSelect||null,bi(l,70)._ariaDescribedby||null,bi(l,70).errorState,bi(l,70).required.toString()),n(l,76,0,e.lang.availableDatas),n(l,77,0,Wt(1,"",e.lang.addAllData,"")),n(l,78,0,bi(l,80).id,bi(l,80).disabled,bi(l,80)._dropListRef.isDragging(),bi(l,80)._dropListRef.isReceiving()),n(l,95,0,e.lang.chosenDatas),n(l,96,0,Wt(1,"",e.lang.removeAllDatas,"")),n(l,97,0,bi(l,99).id,bi(l,99).disabled,bi(l,99)._dropListRef.isDragging(),bi(l,99)._dropListRef.isReceiving()),n(l,110,0,bi(l,111).disabled||null,"NoopAnimations"===bi(l,111)._animationMode),n(l,112,0,e.lang.toExport),n(l,113,0,bi(l,114).disabled||null,"NoopAnimations"===bi(l,114)._animationMode,bi(l,115).ariaLabel||null,bi(l,115).type),n(l,116,0,e.lang.cancel)}))}function Iin(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,Sin,gin)),Ei(512,null,HS,HS,[QS,$S]),Di(2,114688,null,0,I0,[nS,tu,Gv,HS,cA,_u],null,null)],(function(n,l){n(l,2,0)}),null)}var Ain=oi("ng-component",I0,Iin,{},{},[]),Min=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.router=e,this.appService=t,this.lang=Kr,this.user={baskets:[]},this.userAbsenceModel=[],this.basketsToRedirect=[],this.loading=!1,this.selectedIndex=0,this.selectionBaskets=new hg(!0,[]),this.myBasketExpansionPanel=!1,$j("link[href='merged_css.php']").remove()}return n.prototype.masterToggleBaskets=function(n){var l=this;n.checked?this.user.redirectedBaskets.forEach((function(n){l.selectionBaskets.select(n)})):this.selectionBaskets.clear()},n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.http.get("../../rest/currentUser/profile").subscribe((function(l){n.user=l,n.user.baskets.forEach((function(l,e){n.user.baskets[e].disabled=!1,n.user.redirectedBaskets.forEach((function(t){l.basket_id==t.basket_id&&l.basket_owner==t.basket_owner&&(n.user.baskets[e].disabled=!0)}))})),n.loading=!1}))},n.prototype.showActions=function(n){$j("#"+n.basket_id+"_"+n.group_id).show()},n.prototype.hideActions=function(n){$j("#"+n.basket_id+"_"+n.group_id).hide()},n.prototype.activateUser=function(){var n=this;this.http.put("../../rest/users/"+angularGlobals.user.id+"/status",{status:"OK"}).subscribe((function(){var l="";n.user.redirectedBaskets.forEach((function(e){-1!=n.selectionBaskets.selected.map((function(n){return n.basket_id})).indexOf(e.basket_id)&&-1!=n.selectionBaskets.selected.map((function(n){return n.group_id})).indexOf(e.group_id)&&(""!=l&&(l+="&redirectedBasketIds[]="),l+=e.id)})),""!=l?n.http.delete("../../rest/users/"+angularGlobals.user.id+"/redirectedBaskets?redirectedBasketIds[]="+l).subscribe((function(l){n.router.navigate(["/home"]),n.notify.success(n.lang.absOff)}),(function(l){n.notify.error(l.error.errors)})):(n.router.navigate(["/home"]),n.notify.success(n.lang.absOff))}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.logout=function(){location.href="index.php?display=true&page=logout&logout=true"},n}(),Pin=yt({encapsulation:2,styles:[],data:{}});function Din(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Fin(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""])),(n()(),_o(3,0,null,null,0,"br",[],null,null,null,null,null))],null,(function(n,l){n(l,2,0,l.component.lang.missingBasket)}))}function Ein(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","opacity: 0.5;font-style: italic;font-size: 80%;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.selectAll)}))}function Oin(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","opacity: 1;font-style: normal;font-size: 100%;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.selectAll)}))}function Tin(n){return jo(0,[(n()(),_o(0,0,null,null,19,"mat-list-item",[["class","mat-list-item"],["style","cursor: pointer;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"mouseover"],[null,"mouseout"]],(function(n,l,e){var t=!0,i=n.component;return"mouseover"===l&&(t=!1!==i.showActions(n.parent.context.$implicit)&&t),"mouseout"===l&&(t=!1!==i.hideActions(n.parent.context.$implicit)&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,7,{_lines:1}),ko(603979776,8,{_avatar:0}),ko(603979776,9,{_icon:0}),(n()(),_o(5,0,null,0,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[9,4]],0,iI,[],null,null),(n()(),_o(8,0,null,0,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"change"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==e.stopPropagation()&&t),"change"===l&&(t=!1!==(e?i.selectionBaskets.toggle(n.parent.context.$implicit):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(10,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(11,0,null,1,8,"h4",[["class","mat-line"],["color","primary"],["mat-line",""],["style","display: flex;align-items: center;"]],null,null,null,null,null)),Di(12,16384,[[7,4]],0,pv,[],null,null),(n()(),_o(13,16777216,null,null,6,"span",[["style","flex: 2;overflow: hidden;text-overflow: ellipsis;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,14).show()&&t),"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,14)._handleTouchend()&&t),"click"===l&&(t=!1!==i.selectionBaskets.toggle(n.parent.context.$implicit)&&t),t}),null,null)),Di(14,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(17,null,["",""])),(n()(),_o(18,0,null,null,1,"span",[["style","opacity: 0.5;font-style: italic;font-size: 80%;"]],null,null,null,null,null)),(n()(),Lo(19,null,[" "," ",""]))],(function(n,l){var e=l.component;n(l,6,0,"primary"),n(l,10,0,"primary",e.selectionBaskets.isSelected(l.parent.context.$implicit)),n(l,14,0,Wt(4,"",l.parent.context.$implicit.basket_name," [",l.parent.context.$implicit.group_desc,"] ",e.lang.redirectedTo," ",l.parent.context.$implicit.userToDisplay,""))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,8,0,bi(l,10).id,null,bi(l,10).indeterminate,bi(l,10).checked,bi(l,10).disabled,"before"==bi(l,10).labelPosition,"NoopAnimations"===bi(l,10)._animationMode),n(l,15,0,l.parent.context.$implicit.basket_name),n(l,17,0,l.parent.context.$implicit.group_desc),n(l,19,0,e.lang.redirectedTo,l.parent.context.$implicit.userToDisplay)}))}function Lin(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Tin)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,null!=l.context.$implicit.userToDisplay)}),null)}function Rin(n){return jo(0,[(n()(),_o(0,0,null,null,23,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,17,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(3,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,4,{_lines:1}),ko(603979776,5,{_avatar:0}),ko(603979776,6,{_icon:0}),(n()(),_o(7,0,null,0,6,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(9,16384,[[6,4]],0,iI,[],null,null),(n()(),_o(10,16777216,null,0,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,13).show()&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,13)._handleTouchend()&&t),"change"===l&&(t=!1!==(e?i.masterToggleBaskets(e):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(12,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),Di(13,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),_o(14,0,null,1,5,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[4,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,Ein)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Oin)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(21,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,Lin)),Di(23,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,8,0,"primary"),n(l,12,0,"primary",e.selectionBaskets.hasValue()),n(l,13,0,Wt(1,"",e.lang.selectAll,"")),n(l,17,0,!e.selectionBaskets.hasValue()),n(l,19,0,e.selectionBaskets.hasValue()),n(l,23,0,e.user.redirectedBaskets)}),(function(n,l){n(l,2,0,bi(l,3)._avatar||bi(l,3)._icon,bi(l,3)._avatar||bi(l,3)._icon),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,10,0,bi(l,12).id,null,bi(l,12).indeterminate,bi(l,12).checked,bi(l,12).disabled,"before"==bi(l,12).labelPosition,"NoopAnimations"===bi(l,12)._animationMode),n(l,20,0,bi(l,21).vertical?"vertical":"horizontal",bi(l,21).vertical,!bi(l,21).vertical,bi(l,21).inset)}))}function Nin(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","text-center"],["style","position:relative; top:50px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" ",""])),(n()(),_o(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.activateUser()&&t),t}),PC,MC)),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(6,0,["",""])),(n()(),_o(7,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.logout()&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(9,0,["",""]))],(function(n,l){n(l,5,0,"primary"),n(l,8,0,"primary")}),(function(n,l){var e=l.component;n(l,1,0,e.lang.missingChoose),n(l,4,0,bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode),n(l,6,0,e.lang.validate),n(l,7,0,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,e.lang.cancel)}))}function jin(n){return jo(0,[(n()(),_o(0,0,null,null,15,"div",[["class","card-app-content"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[["class","text-center"],["style","margin-top: 50px;"]],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""])),(n()(),_o(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(4,null,[" ",""])),(n()(),_o(5,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Fin)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,null,0,"div",[["class","col-sm-4"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","col-sm-4"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Rin)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(12,0,null,null,0,"div",[["class","col-sm-4"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,0,"div",[["style","clear:both;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Nin)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,7,0,e.user.redirectedBaskets.length>0),n(l,11,0,e.user.redirectedBaskets.length>0),n(l,15,0,!e.loading)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.missingAdvert),n(l,4,0,e.lang.missingAdvert2)}))}function Vin(n){return jo(0,[(n()(),_o(0,0,null,null,20,"div",[["class","admin-container"],["style","margin-top: -63px;"]],[[2,"admin-is-mobile",null]],null,null,null,null)),(n()(),_o(1,0,null,null,9,"mat-toolbar",[["class","admin-toolbar mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,g$,h$)),Di(2,4243456,null,1,m$,[Pe,sh,qs],{color:[0,"color"]},null),ko(603979776,1,{_toolbarRows:1}),(n()(),_o(4,0,null,0,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","maarchLogo mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{svgIcon:[0,"svgIcon"]},null),(n()(),_o(8,0,null,0,1,"h1",[["class","admin-toolbar-title text-center"]],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),_o(10,0,null,0,0,"span",[["style","flex: 1 1 auto;"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,9,"mat-sidenav-container",[["autosize",""],["class","admin-sidenav-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(12,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(15,0,null,1,5,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(16,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),vo(16777216,null,0,1,null,Din)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,jin)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"primary"),n(l,7,0,e.appService.getViewMode()?"maarchLogoOnly":"maarchLogo"),n(l,12,0,""),n(l,16,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode()),n(l,1,0,bi(l,2)._toolbarRows.length>0,0===bi(l,2)._toolbarRows.length),n(l,4,0,bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,9,0,e.lang.missingAdvertTitle),n(l,11,0,bi(l,12)._backdropOverride),n(l,15,0,bi(l,16)._container._contentMargins.left,bi(l,16)._container._contentMargins.right)}))}function qin(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,Vin,Pin)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,Min,[nS,tu,uf,yu],null,null)],(function(n,l){n(l,3,0)}),null)}var zin=oi("ng-component",Min,qin,{},{},[]),Uin=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this._formBuilder=e,this.dialog=t,this.appService=i,this.config={},this.lang=Kr,this.loading=!1,this.user={},this.ruleText="",this.hidePassword=!0,this.passLength=!1,this.arrValidator=[],this.validPassword=!1,this.matchPassword=!1,this.isLinear=!1,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},$j("link[href='merged_css.php']").remove(),this.user=angularGlobals.user}return n.prototype.prepare=function(){$j("link[href='merged_css.php']").remove(),$j("#footer").remove(),$j("#inner_content").remove(),$j("#menunav").hide(),$j("#divList").remove(),$j("#container").width("99%"),$j("#content h1")[0]&&$j("#content h1")[0]!=$j("my-app h1")[0]&&$j("#content h1")[0].remove()},n.prototype.ngOnInit=function(){var n=this;this.prepare(),setTimeout((function(){n.config={panelClass:"maarch-modal",data:{user:n.user,state:"BEGIN"},disableClose:!0},n.dialogRef=n.dialog.open(Bin,n.config)}),0),this.http.get("../../rest/passwordRules").subscribe((function(l){var e=[],t=[],i=[];e.push(S_.required),l.rules.forEach((function(l){"minLength"==l.label?(n.passwordRules.minLength.enabled=l.enabled,n.passwordRules.minLength.value=l.value,l.enabled&&(e.push(S_.minLength(n.passwordRules.minLength.value)),t.push(l.value+" "+n.lang["password"+l.label]))):"complexityUpper"==l.label?(n.passwordRules.complexityUpper.enabled=l.enabled,n.passwordRules.complexityUpper.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),t.push(n.lang["password"+l.label]))):"complexityNumber"==l.label?(n.passwordRules.complexityNumber.enabled=l.enabled,n.passwordRules.complexityNumber.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),t.push(n.lang["password"+l.label]))):"complexitySpecial"==l.label?(n.passwordRules.complexitySpecial.enabled=l.enabled,n.passwordRules.complexitySpecial.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),t.push(n.lang["password"+l.label]))):"renewal"==l.label?(n.passwordRules.renewal.enabled=l.enabled,n.passwordRules.renewal.value=l.value,l.enabled&&i.push(n.lang["password"+l.label]+" <b>"+l.value+" "+n.lang.days+"</b>. "+n.lang["password2"+l.label]+".")):"historyLastUse"==l.label&&(n.passwordRules.historyLastUse.enabled=l.enabled,n.passwordRules.historyLastUse.value=l.value,l.enabled&&i.push(n.lang.passwordhistoryLastUseDesc+" <b>"+l.value+"</b> "+n.lang.passwordhistoryLastUseDesc2+"."))})),n.ruleText=t.join(", "),n.otherRuleText=i.join("<br/>"),n.firstFormGroup.controls.newPasswordCtrl.setValidators(e)}),(function(l){n.notify.error(l.error.errors)})),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",S_.compose([S_.required])],currentPasswordCtrl:["",S_.compose([S_.required])]},{validator:this.matchValidator})},n.prototype.regexValidator=function(n,l){return function(e){return e.value?n.test(e.value)?null:l:null}},n.prototype.matchValidator=function(n){return n.controls.newPasswordCtrl.value!=n.controls.retypePasswordCtrl.value&&(n.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})},n.prototype.getErrorMessage=function(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!=this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.lang.requiredField+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.lang.passwordminLength+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.lang.passwordcomplexityUpper+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.lang.passwordcomplexityNumber+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.lang.passwordcomplexitySpecial+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")},n.prototype.onSubmit=function(){var n=this;this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.reNewPassword=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../../rest/users/"+angularGlobals.user.id+"/password",this.passwordModel).subscribe((function(){n.config={panelClass:"maarch-modal",data:{state:"END"},disableClose:!0},n.dialogRef=n.dialog.open(Bin,n.config)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.logout=function(){location.href="index.php?display=true&page=logout&logout=true"},n}(),Bin=function(){function n(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr}return n.prototype.redirect=function(){location.href="index.php"},n}(),$in=yt({encapsulation:2,styles:[],data:{}});function Hin(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Gin(n){return jo(0,[(n()(),Lo(0,null,["",""]))],null,(function(n,l){n(l,0,0,l.component.lang.passwordModification)}))}function Win(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[9,4]],0,XO,[],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.lang.requiredField)}))}function Kin(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[19,4]],0,tT,[],null,null),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-check"],["color","accent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["color","accent"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,4,0,e.lang.passwordValid)}))}function Yin(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[28,4]],0,tT,[],null,null),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-check"],["color","accent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["color","accent"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,4,0,e.lang.passwordMatch)}))}function Jin(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert alert-warning"],["role","alert"],["style","text-align:center;left:0px;bottom: 0px;position: absolute;width: 100%;margin: 0;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.otherRuleText)}))}function Zin(n){return jo(0,[(n()(),_o(0,0,null,null,111,"mat-card",[["class","card-app-content mat-card"],["style","display: flex;justify-content: center;align-items: center;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,107,"form",[["novalidate",""],["style","max-width: 700px;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,540672,null,0,Cy,[[8,null],[8,null]],{form:[0,"form"]},{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[Cy]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(0,null,null,0,null,Gin)),(n()(),_o(8,0,null,null,28,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(9,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(19,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","currentPasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,20)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,20)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,20)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,27)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,27)._onInput()&&t),t}),null,null)),Di(20,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(21,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(24,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(26,16384,null,0,y_,[[4,v_]],null,null),Di(27,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(29,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(31,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(32,1),Di(33,16384,[[12,4]],0,oT,[],null,null),Di(34,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,5,1,null,Win)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,null,1,"div",[["style","text-align:center;color: rgba(0,0,0,0.54);font-size: 75%;"]],null,null,null,null,null)),(n()(),Lo(38,null,["",""])),(n()(),_o(39,0,null,null,31,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(40,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(50,0,[["inputPasswd",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,51)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,51).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,51)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,51)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,58)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,58)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,58)._onInput()&&t),t}),null,null)),Di(51,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(52,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(55,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(57,16384,null,0,y_,[[4,v_]],null,null),Di(58,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(60,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(62,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(63,1),Di(64,16384,[[21,4]],0,oT,[],null,null),Di(65,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,Kin)),Di(67,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(68,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(69,16384,[[18,4]],0,XO,[],null,null),(n()(),Lo(70,null,["",""])),(n()(),_o(71,0,null,null,31,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(72,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(82,0,[["inputPasswd2",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","retypePasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,83)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,83).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,83)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,83)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,90)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,90)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,90)._onInput()&&t),t}),null,null)),Di(83,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(84,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(87,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(89,16384,null,0,y_,[[4,v_]],null,null),Di(90,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),_o(92,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(94,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(95,1),Di(96,16384,[[30,4]],0,oT,[],null,null),Di(97,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,Yin)),Di(99,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(100,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(101,16384,[[27,4]],0,XO,[],null,null),(n()(),Lo(102,null,[""," !"])),(n()(),_o(103,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","padding:10px;"]],null,null,null,null,null)),(n()(),_o(104,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(105,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(106,0,["",""])),(n()(),_o(107,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.logout()&&t),t}),PC,MC)),Di(108,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(109,0,["",""])),(n()(),vo(16777216,null,0,1,null,Jin)),Di(111,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.firstFormGroup),n(l,21,0,""),n(l,24,0,"currentPasswordCtrl"),n(l,27,0,Wt(1,"",e.lang.typeCurrentPassword,""),"",e.hidePassword?"password":"text");var t=n(l,32,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,31,0,"fa fa-2x",t),n(l,34,0),n(l,36,0,e.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),n(l,52,0,""),n(l,55,0,"newPasswordCtrl"),n(l,58,0,Wt(1,"",e.lang.typeNewPassword,""),"",e.hidePassword?"password":"text");var i=n(l,63,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,62,0,"fa fa-2x",i),n(l,65,0),n(l,67,0,e.validPassword),n(l,84,0,""),n(l,87,0,"retypePasswordCtrl"),n(l,90,0,Wt(1,"",e.lang.retypeNewPassword,""),"",e.hidePassword?"password":"text");var a=n(l,95,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,94,0,"fa fa-2x",a),n(l,97,0),n(l,99,0,!e.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=e.firstFormGroup.controls.retypePasswordCtrl.value),n(l,105,0,!e.firstFormGroup.valid,"primary"),n(l,108,0,"default"),n(l,111,0,e.passwordRules.renewal.enabled||e.passwordRules.historyLastUse.enabled)}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,8,1,["standard"==bi(l,9).appearance,"fill"==bi(l,9).appearance,"outline"==bi(l,9).appearance,"legacy"==bi(l,9).appearance,bi(l,9)._control.errorState,bi(l,9)._canLabelFloat,bi(l,9)._shouldLabelFloat(),bi(l,9)._hasFloatingLabel(),bi(l,9)._hideControlPlaceholder(),bi(l,9)._control.disabled,bi(l,9)._control.autofilled,bi(l,9)._control.focused,"accent"==bi(l,9).color,"warn"==bi(l,9).color,bi(l,9)._shouldForward("untouched"),bi(l,9)._shouldForward("touched"),bi(l,9)._shouldForward("pristine"),bi(l,9)._shouldForward("dirty"),bi(l,9)._shouldForward("valid"),bi(l,9)._shouldForward("invalid"),bi(l,9)._shouldForward("pending"),!bi(l,9)._animationsEnabled]),n(l,19,1,[bi(l,21).required?"":null,bi(l,26).ngClassUntouched,bi(l,26).ngClassTouched,bi(l,26).ngClassPristine,bi(l,26).ngClassDirty,bi(l,26).ngClassValid,bi(l,26).ngClassInvalid,bi(l,26).ngClassPending,bi(l,27)._isServer,bi(l,27).id,bi(l,27).placeholder,bi(l,27).disabled,bi(l,27).required,bi(l,27).readonly&&!bi(l,27)._isNativeSelect||null,bi(l,27)._ariaDescribedby||null,bi(l,27).errorState,bi(l,27).required.toString()]),n(l,29,0,bi(l,34).inline,"primary"!==bi(l,34).color&&"accent"!==bi(l,34).color&&"warn"!==bi(l,34).color),n(l,38,0,e.ruleText),n(l,39,1,["standard"==bi(l,40).appearance,"fill"==bi(l,40).appearance,"outline"==bi(l,40).appearance,"legacy"==bi(l,40).appearance,bi(l,40)._control.errorState,bi(l,40)._canLabelFloat,bi(l,40)._shouldLabelFloat(),bi(l,40)._hasFloatingLabel(),bi(l,40)._hideControlPlaceholder(),bi(l,40)._control.disabled,bi(l,40)._control.autofilled,bi(l,40)._control.focused,"accent"==bi(l,40).color,"warn"==bi(l,40).color,bi(l,40)._shouldForward("untouched"),bi(l,40)._shouldForward("touched"),bi(l,40)._shouldForward("pristine"),bi(l,40)._shouldForward("dirty"),bi(l,40)._shouldForward("valid"),bi(l,40)._shouldForward("invalid"),bi(l,40)._shouldForward("pending"),!bi(l,40)._animationsEnabled]),n(l,50,1,[bi(l,52).required?"":null,bi(l,57).ngClassUntouched,bi(l,57).ngClassTouched,bi(l,57).ngClassPristine,bi(l,57).ngClassDirty,bi(l,57).ngClassValid,bi(l,57).ngClassInvalid,bi(l,57).ngClassPending,bi(l,58)._isServer,bi(l,58).id,bi(l,58).placeholder,bi(l,58).disabled,bi(l,58).required,bi(l,58).readonly&&!bi(l,58)._isNativeSelect||null,bi(l,58)._ariaDescribedby||null,bi(l,58).errorState,bi(l,58).required.toString()]),n(l,60,0,bi(l,65).inline,"primary"!==bi(l,65).color&&"accent"!==bi(l,65).color&&"warn"!==bi(l,65).color),n(l,68,0,bi(l,69).id),n(l,70,0,e.getErrorMessage()),n(l,71,1,["standard"==bi(l,72).appearance,"fill"==bi(l,72).appearance,"outline"==bi(l,72).appearance,"legacy"==bi(l,72).appearance,bi(l,72)._control.errorState,bi(l,72)._canLabelFloat,bi(l,72)._shouldLabelFloat(),bi(l,72)._hasFloatingLabel(),bi(l,72)._hideControlPlaceholder(),bi(l,72)._control.disabled,bi(l,72)._control.autofilled,bi(l,72)._control.focused,"accent"==bi(l,72).color,"warn"==bi(l,72).color,bi(l,72)._shouldForward("untouched"),bi(l,72)._shouldForward("touched"),bi(l,72)._shouldForward("pristine"),bi(l,72)._shouldForward("dirty"),bi(l,72)._shouldForward("valid"),bi(l,72)._shouldForward("invalid"),bi(l,72)._shouldForward("pending"),!bi(l,72)._animationsEnabled]),n(l,82,1,[bi(l,84).required?"":null,bi(l,89).ngClassUntouched,bi(l,89).ngClassTouched,bi(l,89).ngClassPristine,bi(l,89).ngClassDirty,bi(l,89).ngClassValid,bi(l,89).ngClassInvalid,bi(l,89).ngClassPending,bi(l,90)._isServer,bi(l,90).id,bi(l,90).placeholder,bi(l,90).disabled,bi(l,90).required,bi(l,90).readonly&&!bi(l,90)._isNativeSelect||null,bi(l,90)._ariaDescribedby||null,bi(l,90).errorState,bi(l,90).required.toString()]),n(l,92,0,bi(l,97).inline,"primary"!==bi(l,97).color&&"accent"!==bi(l,97).color&&"warn"!==bi(l,97).color),n(l,100,0,bi(l,101).id),n(l,102,0,e.lang.passwordNotMatch),n(l,104,0,bi(l,105).disabled||null,"NoopAnimations"===bi(l,105)._animationMode),n(l,106,0,e.lang.validate),n(l,107,0,bi(l,108).disabled||null,"NoopAnimations"===bi(l,108)._animationMode),n(l,109,0,e.lang.logout)}))}function Qin(n){return jo(0,[Fi(0,Ls,[]),(n()(),_o(1,0,null,null,32,"div",[["class","admin-container"],["style","margin-top: -63px;"]],[[2,"admin-is-mobile",null]],null,null,null,null)),(n()(),_o(2,0,null,null,17,"mat-toolbar",[["class","admin-toolbar mat-toolbar"],["color","primary"]],[[2,"mat-toolbar-multiple-rows",null],[2,"mat-toolbar-single-row",null]],null,null,g$,h$)),Di(3,4243456,null,1,m$,[Pe,sh,qs],{color:[0,"color"]},null),ko(603979776,1,{_toolbarRows:1}),(n()(),_o(5,0,null,0,3,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,25).toggle()&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(7,0,null,0,1,"mat-icon",[["class","maarchLogo mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{svgIcon:[0,"svgIcon"]},null),(n()(),_o(9,0,null,0,1,"h1",[["class","admin-toolbar-title"]],null,null,null,null,null)),(n()(),Lo(10,null,[""," "])),(n()(),_o(11,0,null,0,0,"span",[["style","flex: 1 1 auto;"]],null,null,null,null,null)),(n()(),_o(12,0,null,0,7,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(13,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(14,0,null,0,2,"mat-icon",[["class","fa fa-user fa-2x mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","color:white; margin:0px 12px 8px 0px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(15,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(16,16384,null,0,iI,[],null,null),(n()(),Lo(17,0,["",". ",""])),Fo(18,1),Fo(19,1),(n()(),_o(20,0,null,null,13,"mat-sidenav-container",[["autosize",""],["class","admin-sidenav-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(21,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(24,0,null,0,1,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,25)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,25)._animationDoneListener(e)&&t),t}),zO,qO)),Di(25,3325952,[[2,4],["snav",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{mode:[0,"mode"],opened:[1,"opened"],fixedInViewport:[2,"fixedInViewport"],fixedTopGap:[3,"fixedTopGap"]},null),(n()(),_o(26,0,null,1,5,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(27,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),vo(16777216,null,0,1,null,Hin)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Zin)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,0,1,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,33)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,33)._animationDoneListener(e)&&t),t}),zO,qO)),Di(33,3325952,[[2,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null)],(function(n,l){var e=l.component;n(l,3,0,"primary"),n(l,8,0,e.appService.getViewMode()?"maarchLogoOnly":"maarchLogo"),n(l,15,0),n(l,21,0,""),n(l,25,0,e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,27,0),n(l,29,0,e.loading),n(l,31,0,!e.loading),n(l,33,0,"end",e.appService.getViewMode()?"over":"side",(e.appService.getViewMode(),!1),e.appService.getViewMode(),"56")}),(function(n,l){var e=l.component;n(l,1,0,e.appService.getViewMode()),n(l,2,0,bi(l,3)._toolbarRows.length>0,0===bi(l,3)._toolbarRows.length),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,10,0,e.lang.passwordModification),n(l,12,0,bi(l,13).disabled||null,"NoopAnimations"===bi(l,13)._animationMode),n(l,14,0,bi(l,15).inline,"primary"!==bi(l,15).color&&"accent"!==bi(l,15).color&&"warn"!==bi(l,15).color);var t=bt(l,17,0,n(l,18,0,bi(l,0),e.user.firstname.charAt(0))),i=bt(l,17,1,n(l,19,0,bi(l,0),e.user.lastname));n(l,17,0,t,i),n(l,20,0,bi(l,21)._backdropOverride),n(l,24,0,null,"end"===bi(l,25).position,"over"===bi(l,25).mode,"push"===bi(l,25).mode,"side"===bi(l,25).mode,bi(l,25).opened,bi(l,25).fixedInViewport,bi(l,25).fixedInViewport?bi(l,25).fixedTopGap:null,bi(l,25).fixedInViewport?bi(l,25).fixedBottomGap:null,bi(l,25)._animationState),n(l,26,0,bi(l,27)._container._contentMargins.left,bi(l,27)._container._contentMargins.right),n(l,32,0,null,"end"===bi(l,33).position,"over"===bi(l,33).mode,"push"===bi(l,33).mode,"side"===bi(l,33).mode,bi(l,33).opened,bi(l,33).fixedInViewport,bi(l,33).fixedInViewport?bi(l,33).fixedTopGap:null,bi(l,33).fixedInViewport?bi(l,33).fixedBottomGap:null,bi(l,33)._animationState)}))}function Xin(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,Qin,$in)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,Uin,[nS,tu,Oy,Jv,yu],null,null)],(function(n,l){n(l,3,0)}),null)}var nan=oi("ng-component",Uin,Xin,{},{},[]),lan=yt({encapsulation:2,styles:[],data:{}});function ean(n){return jo(0,[(n()(),_o(0,0,null,null,6,"p",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),_o(2,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,[""," ",""])),(n()(),Lo(-1,null,[", "])),(n()(),_o(5,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(6,null,["",". "]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.hello),n(l,3,0,e.data.user.firstname,e.data.user.lastname),n(l,6,0,e.lang.changePasswordInfo)}))}function tan(n){return jo(0,[(n()(),_o(0,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-check-circle fa-2x"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"span",[["style","padding-left: 10px;"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.passwordChanged)}))}function ian(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(-1,0,["Ok"]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode)}))}function aan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.redirect()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.homePage)}))}function oan(n){return jo(0,[(n()(),_o(0,0,null,null,13,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(2,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,ean)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tan)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,5,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(9,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,ian)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,aan)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,"BEGIN"==e.data.state),n(l,6,0,"END"==e.data.state),n(l,11,0,"BEGIN"==e.data.state),n(l,13,0,"END"==e.data.state)}),null)}function ran(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,oan,lan)),Di(1,49152,null,0,Bin,[nS,Gv,Hv],null,null)],null,null)}var uan=oi("ng-component",Bin,ran,{},{},[]),san=[".upload-drop-zone[_ngcontent-%COMP%]{font-size:16px;height:100px;margin-bottom:20px;color:#ccc;line-height:100px;text-align:center;border:2px dashed #ccc}.upload-drop-zone.drop[_ngcontent-%COMP%]{color:#222;border-color:#222}.avatar[_ngcontent-%COMP%]{text-decoration:none;background:#135f7f;color:#fff;width:100px;height:100px;border-radius:5px;display:block;overflow:hidden;margin:5px}"],can=function(){function n(n,l,e,t,i,a,o,r,u){var s=this;this.http=n,this.zone=l,this.notify=e,this.dialog=t,this._formBuilder=i,this.headerService=a,this.appService=o,this.viewContainerRef=r,this.functions=u,this.lang=Kr,this.user={baskets:[]},this.histories=[],this.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},this.ruleText="",this.validPassword=!1,this.matchPassword=!1,this.hidePassword=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""},this.mailSignatureModel={selected:-1,htmlBody:"",title:""},this.userAbsenceModel=[],this.basketsToRedirect=[],this.showPassword=!1,this.selectedSignature=-1,this.selectedSignatureLabel="",this.loading=!1,this.selectedIndex=0,this.selectedIndexContactsGrp=0,this.loadingSign=!1,this.selectionBaskets=new hg(!0,[]),this.myBasketExpansionPanel=!1,this.contactsGroups=[],this.displayedColumnsGroupsList=["label","description","nbContacts","public","actions"],this.contactsGroup={public:!1},this.initAutoCompleteContact=!0,this.searchTerm=new sy,this.searchResult=[],this.displayedColumnsContactsListAutocomplete=["select","contact","address"],this.selection=new hg(!0,[]),this.contactsListMode=!1,this.contactsList=[],this.displayedColumnsContactsList=["contact","address","actions"],this.displayedColumns=["event_date","record_id","info"],$j("link[href='merged_css.php']").remove(),window.angularProfileComponent={componentAfterUpload:function(n){return s.processAfterUpload(n)}},this.searchTerm.valueChanges.pipe(Sh(500),tc((function(n){return n.length>2})),Gh(),Sc((function(n){return s.http.get("../../rest/autocomplete/contacts",{params:{search:n}})}))).subscribe((function(n){s.searchResult=n,s.dataSourceContactsListAutocomplete=new mR(s.searchResult),s.dataSourceContactsListAutocomplete.paginator=s.paginatorGroupsListAutocomplete})),this.http.get("../../rest/documentEditors").pipe(Yr((function(n){s.editorsList=n}))).subscribe()}return n.prototype.masterToggleBaskets=function(n){var l=this;n.checked?this.user.baskets.forEach((function(n){n.userToDisplay||l.selectionBaskets.select(n)})):this.selectionBaskets.clear()},n.prototype.applyFilterGroupsList=function(n){n=(n=n.trim()).toLowerCase(),this.dataSourceGroupsList.filter=n},n.prototype.masterToggle=function(n){var l=this;n.checked?this.dataSourceContactsListAutocomplete.data.forEach((function(n){$j("#check_"+n.id+"-input").is(":disabled")||l.selection.select(n.id)})):this.selection.clear()},n.prototype.applyFilterContactsList=function(n){n=(n=n.trim()).toLowerCase(),this.dataSourceContactsList.filter=n},n.prototype.applyFilter=function(n){n=(n=n.trim()).toLowerCase(),this.dataSource.filter=n},n.prototype.initComponents=function(n){var l=this;this.selectedIndex=n.index,2==n.index?(this.appService.getViewMode()||this.sidenavRight.open(),this.http.get("../../rest/history/users/"+this.user.id).subscribe((function(n){l.histories=n.histories,setTimeout((function(){l.dataSource=new mR(l.histories),l.dataSource.sortingDataAccessor=l.functions.listSortingDataAccessor,l.dataSource.paginator=l.paginatorHistory,l.dataSource.sort=l.sortHistory}),0)}),(function(n){l.notify.error(n.error.errors)}))):1==n.index?this.sidenavRight.close():this.appService.getViewMode()||this.sidenavRight.open()},n.prototype.initMce=function(){tinymce.remove("textarea"),tinymce.baseURL="../../node_modules/tinymce",tinymce.suffix=".min",tinymce.init({selector:"textarea#emailSignature",statusbar:!1,language:this.lang.langISO.replace("-","_"),language_url:"../../node_modules/tinymce-i18n/langs/"+this.lang.langISO.replace("-","_")+".js",height:"200",plugins:["textcolor"],external_plugins:{maarch_b64image:"../../src/frontend/plugins/tinymce/maarch_b64image/plugin.min.js"},menubar:!1,toolbar:"undo | bold italic underline | alignleft aligncenter alignright | maarch_b64image | forecolor",theme_buttons1_add:"fontselect,fontsizeselect",theme_buttons2_add_before:"cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",theme_buttons2_add:"separator,insertdate,inserttime,preview,separator,forecolor,backcolor",theme_buttons3_add_before:"tablecontrols,separator",theme_buttons3_add:"separator,print,separator,ltr,rtl,separator,fullscreen,separator,insertlayer,moveforward,movebackward,absolut",theme_toolbar_align:"left",theme_advanced_toolbar_location:"top",theme_styles:"Header 1=header1;Header 2=header2;Header 3=header3;Table Row=tableRow1"})},n.prototype.initGroupsContact=function(){var n=this;this.contactsListMode=!1,this.selectedIndexContactsGrp=0,this.http.get("../../rest/contactsGroups").subscribe((function(l){n.contactsGroups=[],n.contactsGroup={public:!1,contacts:[]};var e=0;l.contactsGroups.forEach((function(l){l.owner==angularGlobals.user.id&&(l.position=e,n.contactsGroups.push(l),e++)})),setTimeout((function(){n.dataSourceGroupsList=new mR(n.contactsGroups),n.dataSourceGroupsList.paginator=n.paginatorGroupsList,n.dataSourceGroupsList.sort=n.sortGroupsList}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.contactsGroupSubmit=function(){var n=this;this.http.post("../../rest/contactsGroups",this.contactsGroup).subscribe((function(l){n.initGroupsContact(),n.notify.success(n.lang.contactsGroupAdded)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.updateGroupSubmit=function(){var n=this;this.http.put("../../rest/contactsGroups/"+this.contactsGroup.id,this.contactsGroup).subscribe((function(){n.notify.success(n.lang.contactsGroupUpdated),n.initGroupsContact()}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.deleteContactsGroup=function(n){var l=this,e=this.contactsGroups[n];confirm(this.lang.confirmAction+" "+this.lang.delete+" « "+e.label+" »")&&this.http.delete("../../rest/contactsGroups/"+e.id).subscribe((function(){l.contactsListMode=!1;var e=l.contactsGroups.length-1;l.contactsGroups[n]=l.contactsGroups[e],l.contactsGroups[n].position=n,l.contactsGroups.splice(e,1),l.dataSourceGroupsList=new mR(l.contactsGroups),l.dataSourceGroupsList.paginator=l.paginatorGroupsList,l.notify.success(l.lang.contactsGroupDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.loadContactsGroup=function(n){var l=this;this.contactsListMode=!0,this.http.get("../../rest/contactsGroups/"+n.id).subscribe((function(n){l.contactsGroup=n.contactsGroup,setTimeout((function(){l.dataSourceContactsList=new mR(l.contactsGroup.contacts),l.dataSourceContactsList.paginator=l.paginatorContactsList,l.dataSourceContactsList.sort=l.sortContactsList,l.selectedIndexContactsGrp=1}),0)}))},n.prototype.saveContactsList=function(n){var l=this;n.textContent=this.lang.loading+"...",n.disabled=!0,this.http.post("../../rest/contactsGroups/"+this.contactsGroup.id+"/contacts",{contacts:this.selection.selected}).subscribe((function(e){l.notify.success(l.lang.contactAdded),l.selection.clear(),n.textContent=l.lang.add,l.contactsGroup=e.contactsGroup,setTimeout((function(){l.dataSourceContactsList=new mR(l.contactsGroup.contacts),l.dataSourceContactsList.paginator=l.paginatorContactsList,l.dataSourceContactsList.sort=l.sortContactsList}),0)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.preDelete=function(n){confirm(this.lang.reallyWantToDeleteContactFromGroup)&&this.removeContact(this.contactsGroup.contacts[n],n)},n.prototype.removeContact=function(n,l){var e=this;this.http.delete("../../rest/contactsGroups/"+this.contactsGroup.id+"/contacts/"+n.id).subscribe((function(){var n=e.contactsGroup.contacts.length-1;e.contactsGroup.contacts[l]=e.contactsGroup.contacts[n],e.contactsGroup.contacts[l].position=l,e.contactsGroup.contacts.splice(n,1),e.dataSourceContactsList=new mR(e.contactsGroup.contacts),e.dataSourceContactsList.paginator=e.paginatorContactsList,e.dataSourceContactsList.sort=e.sortContactsList,e.notify.success(e.lang.contactDeletedFromGroup)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.launchLoading=function(){this.searchTerm.value.length>2&&(this.dataSourceContactsListAutocomplete=null,this.initAutoCompleteContact=!1)},n.prototype.isInGrp=function(n){var l=!1;return this.contactsGroup.contacts.forEach((function(e){e.id==n.id&&(l=!0)})),l},n.prototype.selectContact=function(n){$j("#check_"+n+"-input").is(":disabled")||this.selection.toggle(n)},n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.myProfile),this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu"),this.loading=!0,this.http.get("../../rest/currentUser/profile").subscribe((function(l){n.user=l,n.user.baskets.forEach((function(l,e){n.user.baskets[e].disabled=!1,n.user.redirectedBaskets.forEach((function(t){l.basket_id==t.basket_id&&l.basket_owner==t.basket_owner&&(n.user.baskets[e].disabled=!0)}))})),n.loading=!1}))},n.prototype.processAfterUpload=function(n){var l=this;this.zone.run((function(){return l.resfreshUpload(n)}))},n.prototype.resfreshUpload=function(n){this.signatureModel.size<=2e6?(this.signatureModel.base64=n.replace(/^data:.*?;base64,/,""),this.signatureModel.base64ForJs=n):(this.signatureModel.name="",this.signatureModel.size=0,this.signatureModel.type="",this.signatureModel.base64="",this.signatureModel.base64ForJs="",this.notify.error("Taille maximum de fichier dépassée (2 MB)"))},n.prototype.displayPassword=function(){this.showPassword=!this.showPassword},n.prototype.clickOnUploader=function(n){$j("#"+n).click()},n.prototype.uploadSignatureTrigger=function(n){var l=this;if(n.target.files&&n.target.files[0]){var e=new FileReader;this.signatureModel.name=n.target.files[0].name,this.signatureModel.size=n.target.files[0].size,this.signatureModel.type=n.target.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),e.readAsDataURL(n.target.files[0]),e.onload=function(n){window.angularProfileComponent.componentAfterUpload(n.target.result),l.submitSignature()}}},n.prototype.dndUploadSignature=function(n){var l=this;if(n.mouseEvent.dataTransfer.files&&n.mouseEvent.dataTransfer.files[0]){var e=new FileReader;this.signatureModel.name=n.mouseEvent.dataTransfer.files[0].name,this.signatureModel.size=n.mouseEvent.dataTransfer.files[0].size,this.signatureModel.type=n.mouseEvent.dataTransfer.files[0].type,""==this.signatureModel.label&&(this.signatureModel.label=this.signatureModel.name),e.readAsDataURL(n.mouseEvent.dataTransfer.files[0]),e.onload=function(n){window.angularProfileComponent.componentAfterUpload(n.target.result),l.submitSignature()}}},n.prototype.displaySignatureEditionForm=function(n){this.selectedSignature=n,this.selectedSignatureLabel=this.user.signatures[n].signature_label},n.prototype.changeEmailSignature=function(n){this.mailSignatureModel.selected=n,tinymce.get("emailSignature").setContent(this.user.emailSignatures[n].html_body),this.mailSignatureModel.title=this.user.emailSignatures[n].title},n.prototype.resetEmailSignature=function(){this.mailSignatureModel.selected=-1,tinymce.get("emailSignature").setContent(""),this.mailSignatureModel.title=""},n.prototype.addBasketRedirection=function(n){var l=this,e=[];this.selectionBaskets.selected.forEach((function(l){e.push({actual_user_id:n.serialId,basket_id:l.basket_id,group_id:l.groupSerialId,originalOwner:null})})),confirm(this.lang.confirmAction+" "+this.lang.redirectBasket)&&this.http.post("../../rest/users/"+this.user.id+"/redirectedBaskets",e).subscribe((function(n){l.user.baskets=n.baskets,l.user.redirectedBaskets=n.redirectedBaskets,l.selectionBaskets.clear(),l.notify.success(l.lang.basketUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.delBasketRedirection=function(n,l){var e=this;confirm(this.lang.confirmAction)&&this.http.delete("../../rest/users/"+this.user.id+"/redirectedBaskets?redirectedBasketIds[]="+n.id).subscribe((function(n){e.user.baskets=n.baskets,e.user.redirectedBaskets.splice(l,1),e.notify.success(e.lang.basketUpdated)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.delBasketAssignRedirection=function(n,l){var e=this;confirm(this.lang.confirmAction)&&this.http.delete("../../rest/users/"+this.user.id+"/redirectedBaskets?redirectedBasketIds[]="+n.id).subscribe((function(n){e.user.baskets=n.baskets,e.user.assignedBaskets.splice(l,1),e.notify.success(e.lang.basketUpdated)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.reassignBasketRedirection=function(n,l,e){var t=this;confirm(this.lang.confirmAction+" "+this.lang.redirectBasket)&&this.http.post("../../rest/users/"+this.user.id+"/redirectedBaskets",[{actual_user_id:n.serialId,basket_id:l.basket_id,group_id:l.group_id,originalOwner:l.owner_user_id}]).subscribe((function(n){t.user.baskets=n.baskets,t.user.assignedBaskets.splice(e,1),t.notify.success(t.lang.basketUpdated)}),(function(n){t.notify.error(n.error.errors)}))},n.prototype.updateBasketColor=function(n,l){var e=this;this.http.put("../../rest/currentUser/groups/"+this.user.regroupedBaskets[n].groupSerialId+"/baskets/"+this.user.regroupedBaskets[n].baskets[l].basket_id,{color:this.user.regroupedBaskets[n].baskets[l].color}).subscribe((function(n){e.user.regroupedBaskets=n.userBaskets,e.notify.success(e.lang.modificationSaved)}),(function(n){e.notify.error(n.error.errors)}))},n.prototype.activateAbsence=function(){var n=this;confirm(this.lang.confirmToBeAbsent)&&this.http.put("../../rest/users/"+this.user.id+"/status",{status:"ABS"}).subscribe((function(){location.search="?display=true&page=logout&logout=true"}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.askRedirectBasket=function(){var n=this;this.myBasketExpansionPanel=!1,this.viewPanels.forEach((function(n){return n.close()})),confirm(this.lang.askRedirectBasketBeforeAbsence)?(this.selectedIndex=1,setTimeout((function(){n.myBasketExpansionPanel=!0}),0)):this.activateAbsence()},n.prototype.updatePassword=function(){var n=this;this.passwordModel.currentPassword=this.firstFormGroup.controls.currentPasswordCtrl.value,this.passwordModel.newPassword=this.firstFormGroup.controls.newPasswordCtrl.value,this.passwordModel.reNewPassword=this.firstFormGroup.controls.retypePasswordCtrl.value,this.http.put("../../rest/users/"+this.user.id+"/password",this.passwordModel).subscribe((function(l){n.showPassword=!1,n.passwordModel={currentPassword:"",newPassword:"",reNewPassword:""},n.notify.success(n.lang.passwordUpdated)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.submitEmailSignature=function(){var n=this;this.mailSignatureModel.htmlBody=tinymce.get("emailSignature").getContent(),this.http.post("../../rest/currentUser/emailSignature",this.mailSignatureModel).subscribe((function(l){l.errors?n.notify.error(l.errors):(n.user.emailSignatures=l.emailSignatures,n.mailSignatureModel={selected:-1,htmlBody:"",title:""},tinymce.get("emailSignature").setContent(""),n.notify.success(n.lang.emailSignatureAdded))}))},n.prototype.updateEmailSignature=function(){var n=this;this.mailSignatureModel.htmlBody=tinymce.get("emailSignature").getContent(),this.http.put("../../rest/currentUser/emailSignature/"+this.user.emailSignatures[this.mailSignatureModel.selected].id,this.mailSignatureModel).subscribe((function(l){l.errors?n.notify.error(l.errors):(n.user.emailSignatures[n.mailSignatureModel.selected].title=l.emailSignature.title,n.user.emailSignatures[n.mailSignatureModel.selected].html_body=l.emailSignature.html_body,n.notify.success(n.lang.emailSignatureUpdated))}))},n.prototype.deleteEmailSignature=function(){var n=this;confirm(this.lang.confirmDeleteMailSignature)&&this.http.delete("../../rest/currentUser/emailSignature/"+this.user.emailSignatures[this.mailSignatureModel.selected].id).subscribe((function(l){l.errors?n.notify.error(l.errors):(n.user.emailSignatures=l.emailSignatures,n.mailSignatureModel={selected:-1,htmlBody:"",title:""},tinymce.get("emailSignature").setContent(""),n.notify.success(n.lang.emailSignatureDeleted))}))},n.prototype.submitSignature=function(){var n=this;this.http.post("../../rest/users/"+this.user.id+"/signatures",this.signatureModel).subscribe((function(l){n.user.signatures=l.signatures,n.signatureModel={base64:"",base64ForJs:"",name:"",type:"",size:0,label:""},n.notify.success(n.lang.signatureAdded)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.updateSignature=function(n){var l=this;this.http.put("../../rest/users/"+this.user.id+"/signatures/"+n.id,{label:n.signature_label}).subscribe((function(n){l.notify.success(l.lang.signatureUpdated)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.deleteSignature=function(n){var l=this;confirm(this.lang.confirmDeleteSignature)&&this.http.delete("../../rest/users/"+this.user.id+"/signatures/"+n).subscribe((function(n){l.user.signatures=n.signatures,l.notify.success(l.lang.signatureDeleted)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.onSubmit=function(){var n=this;this.http.put("../../rest/currentUser/profile",this.user).subscribe((function(){n.notify.success(n.lang.modificationSaved),n.headerService.user.firstname=n.user.firstname,n.headerService.user.lastname=n.user.lastname}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.updateUserPreferences=function(){var n=this;this.http.put("../../rest/currentUser/profile/preferences",{documentEdition:this.user.preferences.documentEdition}).subscribe((function(){n.notify.success(n.lang.modificationSaved),n.headerService.resfreshCurrentUser()}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.regexValidator=function(n,l){return function(e){return e.value?n.test(e.value)?null:l:null}},n.prototype.changePasswd=function(){var n=this;this.http.get("../../rest/passwordRules").subscribe((function(l){var e=[],t=[],i=[];e.push(S_.required),l.rules.forEach((function(l){"minLength"==l.label?(n.passwordRules.minLength.enabled=l.enabled,n.passwordRules.minLength.value=l.value,l.enabled&&(e.push(S_.minLength(n.passwordRules.minLength.value)),t.push(l.value+" "+n.lang["password"+l.label]))):"complexityUpper"==l.label?(n.passwordRules.complexityUpper.enabled=l.enabled,n.passwordRules.complexityUpper.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[A-Z]"),{complexityUpper:""})),t.push(n.lang["password"+l.label]))):"complexityNumber"==l.label?(n.passwordRules.complexityNumber.enabled=l.enabled,n.passwordRules.complexityNumber.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[0-9]"),{complexityNumber:""})),t.push(n.lang["password"+l.label]))):"complexitySpecial"==l.label?(n.passwordRules.complexitySpecial.enabled=l.enabled,n.passwordRules.complexitySpecial.value=l.value,l.enabled&&(e.push(n.regexValidator(new RegExp("[^A-Za-z0-9]"),{complexitySpecial:""})),t.push(n.lang["password"+l.label]))):"renewal"==l.label?(n.passwordRules.renewal.enabled=l.enabled,n.passwordRules.renewal.value=l.value,l.enabled&&i.push(n.lang["password"+l.label]+" <b>"+l.value+" "+n.lang.days+"</b>. "+n.lang["password2"+l.label]+".")):"historyLastUse"==l.label&&(n.passwordRules.historyLastUse.enabled=l.enabled,n.passwordRules.historyLastUse.value=l.value,l.enabled&&i.push(n.lang.passwordhistoryLastUseDesc+" <b>"+l.value+"</b> "+n.lang.passwordhistoryLastUseDesc2+"."))})),n.ruleText=t.join(", "),n.otherRuleText=i.join("<br/>"),n.firstFormGroup.controls.newPasswordCtrl.setValidators(e)}),(function(l){n.notify.error(l.error.errors)})),this.firstFormGroup=this._formBuilder.group({newPasswordCtrl:[""],retypePasswordCtrl:["",S_.compose([S_.required])],currentPasswordCtrl:["",S_.compose([S_.required])]},{validator:this.matchValidator}),this.validPassword=!1,this.firstFormGroup.controls.currentPasswordCtrl.setErrors(null),this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.firstFormGroup.controls.retypePasswordCtrl.setErrors(null),this.selectedIndex=0,this.showPassword=!0},n.prototype.matchValidator=function(n){return n.controls.newPasswordCtrl.value!=n.controls.retypePasswordCtrl.value&&(n.controls.retypePasswordCtrl.setErrors({mismatch:!0}),{mismatch:!0})},n.prototype.getErrorMessage=function(){return this.firstFormGroup.controls.retypePasswordCtrl.setErrors(this.firstFormGroup.controls.newPasswordCtrl.value!=this.firstFormGroup.controls.retypePasswordCtrl.value?{mismatch:!0}:null),this.firstFormGroup.controls.newPasswordCtrl.hasError("required")?this.lang.requiredField+" !":this.firstFormGroup.controls.newPasswordCtrl.hasError("minlength")&&this.passwordRules.minLength.enabled?this.passwordRules.minLength.value+" "+this.lang.passwordminLength+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityUpper&&this.passwordRules.complexityUpper.enabled?this.lang.passwordcomplexityUpper+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexityNumber&&this.passwordRules.complexityNumber.enabled?this.lang.passwordcomplexityNumber+" !":null!=this.firstFormGroup.controls.newPasswordCtrl.errors&&void 0!==this.firstFormGroup.controls.newPasswordCtrl.errors.complexitySpecial&&this.passwordRules.complexitySpecial.enabled?this.lang.passwordcomplexitySpecial+" !":(this.firstFormGroup.controls.newPasswordCtrl.setErrors(null),this.validPassword=!0,"")},n.prototype.showActions=function(n){$j("#"+n.basket_id+"_"+n.group_id).show()},n.prototype.hideActions=function(n){$j("#"+n.basket_id+"_"+n.group_id).hide()},n.prototype.toggleAddGrp=function(){this.initGroupsContact(),$j("#contactsGroupFormUp").toggle(),$j("#contactsGroupList").toggle()},n.prototype.toggleAddContactGrp=function(){$j("#contactsGroupFormAdd").toggle()},n.prototype.changeTabContactGrp=function(n){this.selectedIndexContactsGrp=n,0==n&&this.initGroupsContact()},n.prototype.syncMP=function(){var n=this;this.loadingSign=!0,this.http.put("../../rest/users/"+this.user.id+"/externalSignatures",{}).subscribe((function(l){n.loadingSign=!1,n.notify.success(n.lang.signsSynchronized)}),(function(l){n.loadingSign=!1,n.notify.handleErrors(l)}))},n}(),dan=yt({encapsulation:0,styles:[san],data:{}});function pan(n){return jo(0,[(n()(),_o(0,0,null,null,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changePasswd()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,16,{_lines:1}),ko(603979776,17,{_avatar:0}),ko(603979776,18,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-key mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[18,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[16,4]],0,pv,[],null,null),(n()(),Lo(10,null,[" "," "]))],(function(n,l){n(l,6,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,e.lang.changeMyPassword)}))}function man(n){return jo(0,[(n()(),_o(0,0,null,null,17,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.askRedirectBasket()&&t),t}),AI,II)),Di(6,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,13,{_lines:1}),ko(603979776,14,{_avatar:0}),ko(603979776,15,{_icon:0}),(n()(),_o(10,0,null,0,2,"mat-icon",[["class","fa fa-plane mat-icon notranslate mat-list-icon"],["color","warn"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(12,16384,[[15,4]],0,iI,[],null,null),(n()(),_o(13,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(14,16384,[[13,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "])),(n()(),vo(16777216,null,0,1,null,pan)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,11,0,"warn"),n(l,17,0,e.user.canModifyPassword)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.actions),n(l,5,0,bi(l,6)._avatar||bi(l,6)._icon,bi(l,6)._avatar||bi(l,6)._icon),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,15,0,e.lang.activateMyAbs)}))}function fan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function han(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(1,16384,[[27,4]],0,XO,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).id),n(l,2,0,e.lang.requiredField)}))}function gan(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[37,4]],0,tT,[],null,null),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-check"],["color","accent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["color","accent"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,4,0,e.lang.passwordValid)}))}function ban(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[46,4]],0,tT,[],null,null),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-check"],["color","accent"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[["color","accent"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,4,0,e.lang.passwordMatch)}))}function van(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","col-sm-12"],["style","padding-left:0px;padding-right:0px;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"div",[["class","alert alert-warning"],["role","alert"],["style","text-align:center;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,2,0,l.component.otherRuleText)}))}function _an(n){return jo(0,[(n()(),_o(0,0,null,null,114,"div",[["style","margin-bottom: 5%"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,113,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,3).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,3).onReset()&&t),t}),null,null)),Di(2,16384,null,0,yy,[],null,null),Di(3,540672,null,0,Cy,[[8,null],[8,null]],{form:[0,"form"]},null),Ei(2048,null,g_,null,[Cy]),Di(5,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(6,0,null,null,29,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,28,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(8,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(18,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","currentPasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,19)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,19)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,19)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,26)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,26)._onInput()&&t),t}),null,null)),Di(19,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(20,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(23,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(25,16384,null,0,y_,[[4,v_]],null,null),Di(26,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),_o(28,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(30,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(31,1),Di(32,16384,[[30,4]],0,oT,[],null,null),Di(33,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,5,1,null,han)),Di(35,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(36,0,null,null,68,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,1,"div",[["style","text-align:center;color: rgba(0,0,0,0.54);font-size: 75%;"]],null,null,null,null,null)),(n()(),Lo(38,null,[" ",""])),(n()(),_o(39,0,null,null,32,"div",[["class","col-sm-6"],["style","padding-left:0px;padding-right: 0px;"]],null,null,null,null,null)),(n()(),_o(40,0,null,null,31,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,31,{_controlNonStatic:0}),ko(335544320,32,{_controlStatic:0}),ko(603979776,33,{_labelChildNonStatic:0}),ko(335544320,34,{_labelChildStatic:0}),ko(603979776,35,{_placeholderChild:0}),ko(603979776,36,{_errorChildren:1}),ko(603979776,37,{_hintChildren:1}),ko(603979776,38,{_prefixChildren:1}),ko(603979776,39,{_suffixChildren:1}),(n()(),_o(51,0,[["inputPasswd",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","newPasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,52)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,52).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,52)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,52)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,59)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,59)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,59)._onInput()&&t),t}),null,null)),Di(52,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(53,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(56,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(58,16384,null,0,y_,[[4,v_]],null,null),Di(59,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[31,4],[32,4]],nT,null,[OT]),(n()(),_o(61,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(63,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(64,1),Di(65,16384,[[39,4]],0,oT,[],null,null),Di(66,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,gan)),Di(68,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(69,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(70,16384,[[36,4]],0,XO,[],null,null),(n()(),Lo(71,null,["",""])),(n()(),_o(72,0,null,null,32,"div",[["class","col-sm-6"],["style","padding-left:0px;padding-right:0px;"]],null,null,null,null,null)),(n()(),_o(73,0,null,null,31,"mat-form-field",[["class","mat-form-field"],["style","padding:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(74,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,40,{_controlNonStatic:0}),ko(335544320,41,{_controlStatic:0}),ko(603979776,42,{_labelChildNonStatic:0}),ko(335544320,43,{_labelChildStatic:0}),ko(603979776,44,{_placeholderChild:0}),ko(603979776,45,{_errorChildren:1}),ko(603979776,46,{_hintChildren:1}),ko(603979776,47,{_prefixChildren:1}),ko(603979776,48,{_suffixChildren:1}),(n()(),_o(84,0,[["inputPasswd2",1]],1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["formControlName","retypePasswordCtrl"],["matInput",""],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,85)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,85).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,85)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,85)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,92)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,92)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,92)._onInput()&&t),t}),null,null)),Di(85,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(86,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(89,671744,null,0,Ay,[[3,g_],[6,C_],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(91,16384,null,0,y_,[[4,v_]],null,null),Di(92,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[40,4],[41,4]],nT,null,[OT]),(n()(),_o(94,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hidePassword=!i.hidePassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(96,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(97,1),Di(98,16384,[[48,4]],0,oT,[],null,null),Di(99,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,ban)),Di(101,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(102,0,null,5,2,"mat-error",[["class","mat-error"],["role","alert"]],[[1,"id",0]],null,null,null,null)),Di(103,16384,[[45,4]],0,XO,[],null,null),(n()(),Lo(104,null,[""," !"])),(n()(),vo(16777216,null,null,1,null,van)),Di(106,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(107,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(108,0,null,null,6,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(109,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updatePassword()&&t),t}),PC,MC)),Di(110,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(111,0,["",""])),(n()(),_o(112,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=0!=(n.component.showPassword=!1)&&t),t}),PC,MC)),Di(113,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(114,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,e.firstFormGroup),n(l,20,0,""),n(l,23,0,"currentPasswordCtrl"),n(l,26,0,Wt(1,"",e.lang.typeCurrentPassword,""),"",e.hidePassword?"password":"text");var t=n(l,31,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,30,0,"fa fa-2x",t),n(l,33,0),n(l,35,0,e.firstFormGroup.controls.currentPasswordCtrl.hasError("required")),n(l,53,0,""),n(l,56,0,"newPasswordCtrl"),n(l,59,0,Wt(1,"",e.lang.typeNewPassword,""),"",e.hidePassword?"password":"text");var i=n(l,64,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,63,0,"fa fa-2x",i),n(l,66,0),n(l,68,0,e.validPassword),n(l,86,0,""),n(l,89,0,"retypePasswordCtrl"),n(l,92,0,Wt(1,"",e.lang.retypeNewPassword,""),"",e.hidePassword?"password":"text");var a=n(l,97,0,e.hidePassword?"fa-eye-slash":"fa-eye");n(l,96,0,"fa fa-2x",a),n(l,99,0),n(l,101,0,!e.firstFormGroup.controls.retypePasswordCtrl.hasError("mismatch")&&""!=e.firstFormGroup.controls.retypePasswordCtrl.value),n(l,106,0,e.passwordRules.renewal.enabled||e.passwordRules.historyLastUse.enabled),n(l,110,0,!e.firstFormGroup.valid,"primary"),n(l,113,0,"default")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,5).ngClassUntouched,bi(l,5).ngClassTouched,bi(l,5).ngClassPristine,bi(l,5).ngClassDirty,bi(l,5).ngClassValid,bi(l,5).ngClassInvalid,bi(l,5).ngClassPending),n(l,7,1,["standard"==bi(l,8).appearance,"fill"==bi(l,8).appearance,"outline"==bi(l,8).appearance,"legacy"==bi(l,8).appearance,bi(l,8)._control.errorState,bi(l,8)._canLabelFloat,bi(l,8)._shouldLabelFloat(),bi(l,8)._hasFloatingLabel(),bi(l,8)._hideControlPlaceholder(),bi(l,8)._control.disabled,bi(l,8)._control.autofilled,bi(l,8)._control.focused,"accent"==bi(l,8).color,"warn"==bi(l,8).color,bi(l,8)._shouldForward("untouched"),bi(l,8)._shouldForward("touched"),bi(l,8)._shouldForward("pristine"),bi(l,8)._shouldForward("dirty"),bi(l,8)._shouldForward("valid"),bi(l,8)._shouldForward("invalid"),bi(l,8)._shouldForward("pending"),!bi(l,8)._animationsEnabled]),n(l,18,1,[bi(l,20).required?"":null,bi(l,25).ngClassUntouched,bi(l,25).ngClassTouched,bi(l,25).ngClassPristine,bi(l,25).ngClassDirty,bi(l,25).ngClassValid,bi(l,25).ngClassInvalid,bi(l,25).ngClassPending,bi(l,26)._isServer,bi(l,26).id,bi(l,26).placeholder,bi(l,26).disabled,bi(l,26).required,bi(l,26).readonly&&!bi(l,26)._isNativeSelect||null,bi(l,26)._ariaDescribedby||null,bi(l,26).errorState,bi(l,26).required.toString()]),n(l,28,0,bi(l,33).inline,"primary"!==bi(l,33).color&&"accent"!==bi(l,33).color&&"warn"!==bi(l,33).color),n(l,38,0,e.ruleText),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[bi(l,53).required?"":null,bi(l,58).ngClassUntouched,bi(l,58).ngClassTouched,bi(l,58).ngClassPristine,bi(l,58).ngClassDirty,bi(l,58).ngClassValid,bi(l,58).ngClassInvalid,bi(l,58).ngClassPending,bi(l,59)._isServer,bi(l,59).id,bi(l,59).placeholder,bi(l,59).disabled,bi(l,59).required,bi(l,59).readonly&&!bi(l,59)._isNativeSelect||null,bi(l,59)._ariaDescribedby||null,bi(l,59).errorState,bi(l,59).required.toString()]),n(l,61,0,bi(l,66).inline,"primary"!==bi(l,66).color&&"accent"!==bi(l,66).color&&"warn"!==bi(l,66).color),n(l,69,0,bi(l,70).id),n(l,71,0,e.getErrorMessage()),n(l,73,1,["standard"==bi(l,74).appearance,"fill"==bi(l,74).appearance,"outline"==bi(l,74).appearance,"legacy"==bi(l,74).appearance,bi(l,74)._control.errorState,bi(l,74)._canLabelFloat,bi(l,74)._shouldLabelFloat(),bi(l,74)._hasFloatingLabel(),bi(l,74)._hideControlPlaceholder(),bi(l,74)._control.disabled,bi(l,74)._control.autofilled,bi(l,74)._control.focused,"accent"==bi(l,74).color,"warn"==bi(l,74).color,bi(l,74)._shouldForward("untouched"),bi(l,74)._shouldForward("touched"),bi(l,74)._shouldForward("pristine"),bi(l,74)._shouldForward("dirty"),bi(l,74)._shouldForward("valid"),bi(l,74)._shouldForward("invalid"),bi(l,74)._shouldForward("pending"),!bi(l,74)._animationsEnabled]),n(l,84,1,[bi(l,86).required?"":null,bi(l,91).ngClassUntouched,bi(l,91).ngClassTouched,bi(l,91).ngClassPristine,bi(l,91).ngClassDirty,bi(l,91).ngClassValid,bi(l,91).ngClassInvalid,bi(l,91).ngClassPending,bi(l,92)._isServer,bi(l,92).id,bi(l,92).placeholder,bi(l,92).disabled,bi(l,92).required,bi(l,92).readonly&&!bi(l,92)._isNativeSelect||null,bi(l,92)._ariaDescribedby||null,bi(l,92).errorState,bi(l,92).required.toString()]),n(l,94,0,bi(l,99).inline,"primary"!==bi(l,99).color&&"accent"!==bi(l,99).color&&"warn"!==bi(l,99).color),n(l,102,0,bi(l,103).id),n(l,104,0,e.lang.passwordNotMatch),n(l,109,0,bi(l,110).disabled||null,"NoopAnimations"===bi(l,110)._animationMode),n(l,111,0,e.lang.update),n(l,112,0,bi(l,113).disabled||null,"NoopAnimations"===bi(l,113)._animationMode),n(l,114,0,e.lang.cancel)}))}function yan(n){return jo(0,[(n()(),_o(0,0,null,null,141,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,2).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,2).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(1,16384,null,0,yy,[],null,null),Di(2,4210688,[["profileForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(4,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(5,0,null,null,19,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,18,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,2,"div",[["class","pull-left"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"div",[["class","avatar"],["style","font-size:90px;text-align:center;"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,0,"i",[["class","fa fa-user"],["style","font-size:90px;padding-top:5px;"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,14,"div",[["class","input-group"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,49,{_controlNonStatic:0}),ko(335544320,50,{_controlStatic:0}),ko(603979776,51,{_labelChildNonStatic:0}),ko(335544320,52,{_labelChildStatic:0}),ko(603979776,53,{_placeholderChild:0}),ko(603979776,54,{_errorChildren:1}),ko(603979776,55,{_hintChildren:1}),ko(603979776,56,{_prefixChildren:1}),ko(603979776,57,{_suffixChildren:1}),(n()(),_o(22,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["type","text"]],[[8,"title",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),t}),null,null)),Di(23,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"],value:[3,"value"]},null),Ei(2048,[[49,4],[50,4]],nT,null,[OT]),(n()(),_o(25,0,null,null,64,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,21,"div",[["class","col-sm-5"],["style","font-weight:bold;"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(28,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,58,{_controlNonStatic:0}),ko(335544320,59,{_controlStatic:0}),ko(603979776,60,{_labelChildNonStatic:0}),ko(335544320,61,{_labelChildStatic:0}),ko(603979776,62,{_placeholderChild:0}),ko(603979776,63,{_errorChildren:1}),ko(603979776,64,{_hintChildren:1}),ko(603979776,65,{_prefixChildren:1}),ko(603979776,66,{_suffixChildren:1}),(n()(),_o(38,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","lastname"],["matInput",""],["name","lastname"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,39)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,39).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,39)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,39)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,46)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,46)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,46)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.lastname=e)&&t),t}),null,null)),Di(39,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(40,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(43,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(45,16384,null,0,y_,[[4,v_]],null,null),Di(46,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[58,4],[59,4]],nT,null,[OT]),(n()(),_o(48,0,null,null,21,"div",[["class","col-sm-5"],["style","font-weight:bold;"]],null,null,null,null,null)),(n()(),_o(49,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(50,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,67,{_controlNonStatic:0}),ko(335544320,68,{_controlStatic:0}),ko(603979776,69,{_labelChildNonStatic:0}),ko(335544320,70,{_labelChildStatic:0}),ko(603979776,71,{_placeholderChild:0}),ko(603979776,72,{_errorChildren:1}),ko(603979776,73,{_hintChildren:1}),ko(603979776,74,{_prefixChildren:1}),ko(603979776,75,{_suffixChildren:1}),(n()(),_o(60,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","firstname"],["matInput",""],["name","firstname"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,61)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,61).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,61)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,61)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,68)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,68)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,68)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.firstname=e)&&t),t}),null,null)),Di(61,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(62,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(65,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(67,16384,null,0,y_,[[4,v_]],null,null),Di(68,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[67,4],[68,4]],nT,null,[OT]),(n()(),_o(70,0,null,null,19,"div",[["class","col-sm-2"],["style","font-style:italic;"]],null,null,null,null,null)),(n()(),_o(71,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(72,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,76,{_controlNonStatic:0}),ko(335544320,77,{_controlStatic:0}),ko(603979776,78,{_labelChildNonStatic:0}),ko(335544320,79,{_labelChildStatic:0}),ko(603979776,80,{_placeholderChild:0}),ko(603979776,81,{_errorChildren:1}),ko(603979776,82,{_hintChildren:1}),ko(603979776,83,{_prefixChildren:1}),ko(603979776,84,{_suffixChildren:1}),(n()(),_o(82,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","initials"],["matInput",""],["name","initials"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,83)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,83).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,83)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,83)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,88)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,88)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,88)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.initials=e)&&t),t}),null,null)),Di(83,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(85,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(87,16384,null,0,y_,[[4,v_]],null,null),Di(88,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[76,4],[77,4]],nT,null,[OT]),(n()(),_o(90,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(91,0,null,null,21,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(92,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(93,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,85,{_controlNonStatic:0}),ko(335544320,86,{_controlStatic:0}),ko(603979776,87,{_labelChildNonStatic:0}),ko(335544320,88,{_labelChildStatic:0}),ko(603979776,89,{_placeholderChild:0}),ko(603979776,90,{_errorChildren:1}),ko(603979776,91,{_hintChildren:1}),ko(603979776,92,{_prefixChildren:1}),ko(603979776,93,{_suffixChildren:1}),(n()(),_o(103,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","phone"],["matInput",""],["name","phone"],["pattern","\\+?((|\\ |\\.|\\(|\\)|\\-)?(\\d)*)*\\d$"],["type","tel"]],[[8,"title",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,104)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,104).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,104)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,104)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,111)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,111)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,111)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.phone=e)&&t),t}),null,null)),Di(104,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(105,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(108,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(110,16384,null,0,y_,[[4,v_]],null,null),Di(111,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[85,4],[86,4]],nT,null,[OT]),(n()(),_o(113,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(114,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(115,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(116,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,94,{_controlNonStatic:0}),ko(335544320,95,{_controlStatic:0}),ko(603979776,96,{_labelChildNonStatic:0}),ko(335544320,97,{_labelChildStatic:0}),ko(603979776,98,{_placeholderChild:0}),ko(603979776,99,{_errorChildren:1}),ko(603979776,100,{_hintChildren:1}),ko(603979776,101,{_prefixChildren:1}),ko(603979776,102,{_suffixChildren:1}),(n()(),_o(126,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","mail"],["matInput",""],["name","mail"],["pattern","(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"],["required",""],["type","email"]],[[8,"title",0],[1,"required",0],[1,"pattern",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,127)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,127).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,127)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,127)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,135)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,135)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,135)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.user.mail=e)&&t),t}),null,null)),Di(127,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(128,16384,null,0,My,[],{required:[0,"required"]},null),Di(129,540672,null,0,Fy,[],{pattern:[0,"pattern"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Fy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(132,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(134,16384,null,0,y_,[[4,v_]],null,null),Di(135,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[94,4],[95,4]],nT,null,[OT]),(n()(),_o(137,0,null,null,4,"div",[["class","form-group"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(138,0,null,null,3,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(139,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(140,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(141,0,["",""]))],(function(n,l){var e=l.component;n(l,23,0,"",Wt(1,"",e.lang.id,""),"text",Wt(1,"",e.user.user_id,"")),n(l,40,0,""),n(l,43,0,"lastname",e.user.lastname),n(l,46,0,"lastname",Wt(1,"",e.lang.lastname,""),"","text"),n(l,62,0,""),n(l,65,0,"firstname",e.user.firstname),n(l,68,0,"firstname",Wt(1,"",e.lang.firstname,""),"","text"),n(l,85,0,"initials",e.user.initials),n(l,88,0,"initials",Wt(1,"",e.lang.initials,""),"text"),n(l,105,0,"\\+?((|\\ |\\.|\\(|\\)|\\-)?(\\d)*)*\\d$"),n(l,108,0,"phone",e.user.phone),n(l,111,0,"phone",Wt(1,"",e.lang.phoneNumber,""),"tel"),n(l,128,0,""),n(l,129,0,"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+$)"),n(l,132,0,"mail",e.user.mail),n(l,135,0,"mail",Wt(1,"",e.lang.email,""),"","email"),n(l,140,0,!bi(l,2).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,4).ngClassUntouched,bi(l,4).ngClassTouched,bi(l,4).ngClassPristine,bi(l,4).ngClassDirty,bi(l,4).ngClassValid,bi(l,4).ngClassInvalid,bi(l,4).ngClassPending),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,22,0,Wt(1,"",e.lang.id,""),bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString()),n(l,27,1,["standard"==bi(l,28).appearance,"fill"==bi(l,28).appearance,"outline"==bi(l,28).appearance,"legacy"==bi(l,28).appearance,bi(l,28)._control.errorState,bi(l,28)._canLabelFloat,bi(l,28)._shouldLabelFloat(),bi(l,28)._hasFloatingLabel(),bi(l,28)._hideControlPlaceholder(),bi(l,28)._control.disabled,bi(l,28)._control.autofilled,bi(l,28)._control.focused,"accent"==bi(l,28).color,"warn"==bi(l,28).color,bi(l,28)._shouldForward("untouched"),bi(l,28)._shouldForward("touched"),bi(l,28)._shouldForward("pristine"),bi(l,28)._shouldForward("dirty"),bi(l,28)._shouldForward("valid"),bi(l,28)._shouldForward("invalid"),bi(l,28)._shouldForward("pending"),!bi(l,28)._animationsEnabled]),n(l,38,1,[Wt(1,"",e.lang.lastname,""),bi(l,40).required?"":null,bi(l,45).ngClassUntouched,bi(l,45).ngClassTouched,bi(l,45).ngClassPristine,bi(l,45).ngClassDirty,bi(l,45).ngClassValid,bi(l,45).ngClassInvalid,bi(l,45).ngClassPending,bi(l,46)._isServer,bi(l,46).id,bi(l,46).placeholder,bi(l,46).disabled,bi(l,46).required,bi(l,46).readonly&&!bi(l,46)._isNativeSelect||null,bi(l,46)._ariaDescribedby||null,bi(l,46).errorState,bi(l,46).required.toString()]),n(l,49,1,["standard"==bi(l,50).appearance,"fill"==bi(l,50).appearance,"outline"==bi(l,50).appearance,"legacy"==bi(l,50).appearance,bi(l,50)._control.errorState,bi(l,50)._canLabelFloat,bi(l,50)._shouldLabelFloat(),bi(l,50)._hasFloatingLabel(),bi(l,50)._hideControlPlaceholder(),bi(l,50)._control.disabled,bi(l,50)._control.autofilled,bi(l,50)._control.focused,"accent"==bi(l,50).color,"warn"==bi(l,50).color,bi(l,50)._shouldForward("untouched"),bi(l,50)._shouldForward("touched"),bi(l,50)._shouldForward("pristine"),bi(l,50)._shouldForward("dirty"),bi(l,50)._shouldForward("valid"),bi(l,50)._shouldForward("invalid"),bi(l,50)._shouldForward("pending"),!bi(l,50)._animationsEnabled]),n(l,60,1,[Wt(1,"",e.lang.firstname,""),bi(l,62).required?"":null,bi(l,67).ngClassUntouched,bi(l,67).ngClassTouched,bi(l,67).ngClassPristine,bi(l,67).ngClassDirty,bi(l,67).ngClassValid,bi(l,67).ngClassInvalid,bi(l,67).ngClassPending,bi(l,68)._isServer,bi(l,68).id,bi(l,68).placeholder,bi(l,68).disabled,bi(l,68).required,bi(l,68).readonly&&!bi(l,68)._isNativeSelect||null,bi(l,68)._ariaDescribedby||null,bi(l,68).errorState,bi(l,68).required.toString()]),n(l,71,1,["standard"==bi(l,72).appearance,"fill"==bi(l,72).appearance,"outline"==bi(l,72).appearance,"legacy"==bi(l,72).appearance,bi(l,72)._control.errorState,bi(l,72)._canLabelFloat,bi(l,72)._shouldLabelFloat(),bi(l,72)._hasFloatingLabel(),bi(l,72)._hideControlPlaceholder(),bi(l,72)._control.disabled,bi(l,72)._control.autofilled,bi(l,72)._control.focused,"accent"==bi(l,72).color,"warn"==bi(l,72).color,bi(l,72)._shouldForward("untouched"),bi(l,72)._shouldForward("touched"),bi(l,72)._shouldForward("pristine"),bi(l,72)._shouldForward("dirty"),bi(l,72)._shouldForward("valid"),bi(l,72)._shouldForward("invalid"),bi(l,72)._shouldForward("pending"),!bi(l,72)._animationsEnabled]),n(l,82,1,[Wt(1,"",e.lang.initials,""),bi(l,87).ngClassUntouched,bi(l,87).ngClassTouched,bi(l,87).ngClassPristine,bi(l,87).ngClassDirty,bi(l,87).ngClassValid,bi(l,87).ngClassInvalid,bi(l,87).ngClassPending,bi(l,88)._isServer,bi(l,88).id,bi(l,88).placeholder,bi(l,88).disabled,bi(l,88).required,bi(l,88).readonly&&!bi(l,88)._isNativeSelect||null,bi(l,88)._ariaDescribedby||null,bi(l,88).errorState,bi(l,88).required.toString()]),n(l,92,1,["standard"==bi(l,93).appearance,"fill"==bi(l,93).appearance,"outline"==bi(l,93).appearance,"legacy"==bi(l,93).appearance,bi(l,93)._control.errorState,bi(l,93)._canLabelFloat,bi(l,93)._shouldLabelFloat(),bi(l,93)._hasFloatingLabel(),bi(l,93)._hideControlPlaceholder(),bi(l,93)._control.disabled,bi(l,93)._control.autofilled,bi(l,93)._control.focused,"accent"==bi(l,93).color,"warn"==bi(l,93).color,bi(l,93)._shouldForward("untouched"),bi(l,93)._shouldForward("touched"),bi(l,93)._shouldForward("pristine"),bi(l,93)._shouldForward("dirty"),bi(l,93)._shouldForward("valid"),bi(l,93)._shouldForward("invalid"),bi(l,93)._shouldForward("pending"),!bi(l,93)._animationsEnabled]),n(l,103,1,[Wt(1,"",e.lang.phoneNumber,""),bi(l,105).pattern?bi(l,105).pattern:null,bi(l,110).ngClassUntouched,bi(l,110).ngClassTouched,bi(l,110).ngClassPristine,bi(l,110).ngClassDirty,bi(l,110).ngClassValid,bi(l,110).ngClassInvalid,bi(l,110).ngClassPending,bi(l,111)._isServer,bi(l,111).id,bi(l,111).placeholder,bi(l,111).disabled,bi(l,111).required,bi(l,111).readonly&&!bi(l,111)._isNativeSelect||null,bi(l,111)._ariaDescribedby||null,bi(l,111).errorState,bi(l,111).required.toString()]),n(l,115,1,["standard"==bi(l,116).appearance,"fill"==bi(l,116).appearance,"outline"==bi(l,116).appearance,"legacy"==bi(l,116).appearance,bi(l,116)._control.errorState,bi(l,116)._canLabelFloat,bi(l,116)._shouldLabelFloat(),bi(l,116)._hasFloatingLabel(),bi(l,116)._hideControlPlaceholder(),bi(l,116)._control.disabled,bi(l,116)._control.autofilled,bi(l,116)._control.focused,"accent"==bi(l,116).color,"warn"==bi(l,116).color,bi(l,116)._shouldForward("untouched"),bi(l,116)._shouldForward("touched"),bi(l,116)._shouldForward("pristine"),bi(l,116)._shouldForward("dirty"),bi(l,116)._shouldForward("valid"),bi(l,116)._shouldForward("invalid"),bi(l,116)._shouldForward("pending"),!bi(l,116)._animationsEnabled]),n(l,126,1,[Wt(1,"",e.lang.email,""),bi(l,128).required?"":null,bi(l,129).pattern?bi(l,129).pattern:null,bi(l,134).ngClassUntouched,bi(l,134).ngClassTouched,bi(l,134).ngClassPristine,bi(l,134).ngClassDirty,bi(l,134).ngClassValid,bi(l,134).ngClassInvalid,bi(l,134).ngClassPending,bi(l,135)._isServer,bi(l,135).id,bi(l,135).placeholder,bi(l,135).disabled,bi(l,135).required,bi(l,135).readonly&&!bi(l,135)._isNativeSelect||null,bi(l,135)._ariaDescribedby||null,bi(l,135).errorState,bi(l,135).required.toString()]),n(l,139,0,bi(l,140).disabled||null,"NoopAnimations"===bi(l,140)._animationMode),n(l,141,0,e.lang.update)}))}function wan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(1,16384,null,0,Jj,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.editorOptionAdmin)}))}function xan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[116,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function Can(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(1,16384,null,0,Jj,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.basketsColorAdmin)}))}function kan(n){return jo(0,[(n()(),_o(0,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.groupDesc)}))}function San(n){return jo(0,[(n()(),_o(0,0,null,null,21,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,120,{_lines:1}),ko(603979776,121,{_avatar:0}),ko(603979776,122,{_icon:0}),(n()(),_o(5,0,null,0,5,"mat-icon",[["class","fa fa-inbox mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(7,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(8,{color:0}),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(10,16384,[[122,4]],0,iI,[],null,null),(n()(),_o(11,0,null,1,2,"h4",[["class","mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Di(12,16384,[[120,4]],0,pv,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,2,5,"input",[["name","color"],["style","background: none;border: none;height: 20px;width:20px;padding: 0;margin-right: 15px"],["type","color"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(i.user.regroupedBaskets[n.parent.context.index].baskets[n.context.index].color=e)&&t),"change"===l&&(t=!1!==i.updateBasketColor(n.parent.context.index,n.context.index)&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(20,0,null,2,1,"a",[["style","cursor: pointer;color: #666666"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.user.regroupedBaskets[n.parent.context.index].baskets[n.context.index].color="",t=!1!==i.updateBasketColor(n.parent.context.index,n.context.index)&&t),t}),null,null)),(n()(),_o(21,0,null,null,0,"i",[["class","fa fa-magic"]],null,null,null,null,null))],(function(n,l){var e=l.component,t=n(l,8,0,e.user.regroupedBaskets[l.parent.context.index].baskets[l.context.index].color);n(l,7,0,t),n(l,9,0),n(l,17,0,"color",e.user.regroupedBaskets[l.parent.context.index].baskets[l.context.index].color)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color),n(l,11,0,Wt(1,"",l.context.$implicit.basket_id,"")),n(l,13,0,l.context.$implicit.basket_name),n(l,14,0,bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending),n(l,20,0,Wt(1,"",e.lang.resetColor,""))}))}function Ian(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kan)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,San)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.baskets[0]),n(l,4,0,l.context.$implicit.baskets)}),null)}function Aan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(1,16384,null,0,Jj,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.myBasketsDesc)}))}function Man(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","opacity: 0.5;font-style: italic;font-size: 80%;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.selectAll)}))}function Pan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.addBasketRedirection(e)&&t),t}),HN,EN)),Di(1,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(2,1)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/users");n(l,1,0,"outline",t,e.lang.redirectBaskets,"idToDisplay","descriptionToDisplay")}),null)}function Dan(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[129,4]],0,iI,[],null,null),(n()(),_o(3,0,null,0,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"change"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==e.stopPropagation()&&t),"change"===l&&(t=!1!==(e?i.selectionBaskets.toggle(n.parent.parent.context.$implicit):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(5,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"})],(function(n,l){var e=l.component;n(l,1,0,"primary"),n(l,5,0,"primary",e.selectionBaskets.isSelected(l.parent.parent.context.$implicit))}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color),n(l,3,0,bi(l,5).id,null,bi(l,5).indeterminate,bi(l,5).checked,bi(l,5).disabled,"before"==bi(l,5).labelPosition,"NoopAnimations"===bi(l,5)._animationMode)}))}function Fan(n){return jo(0,[(n()(),_o(0,0,null,null,13,"mat-list-item",[["class","mat-list-item"],["style","cursor: pointer;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"mouseover"],[null,"mouseout"]],(function(n,l,e){var t=!0,i=n.component;return"mouseover"===l&&(t=!1!==i.showActions(n.parent.context.$implicit)&&t),"mouseout"===l&&(t=!1!==i.hideActions(n.parent.context.$implicit)&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,127,{_lines:1}),ko(603979776,128,{_avatar:0}),ko(603979776,129,{_icon:0}),(n()(),vo(16777216,null,0,1,null,Dan)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,1,6,"h4",[["class","mat-line"],["color","primary"],["mat-line",""],["style","display: flex;align-items: center;"]],null,null,null,null,null)),Di(8,16384,[[127,4]],0,pv,[],null,null),(n()(),_o(9,16777216,null,null,4,"span",[["style","flex: 2;overflow: hidden;text-overflow: ellipsis;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,10).show()&&t),"keydown"===l&&(t=!1!==bi(n,10)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,10)._handleTouchend()&&t),"click"===l&&(t=!1!==i.selectionBaskets.toggle(n.parent.context.$implicit)&&t),t}),null,null)),Di(10,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(13,null,["",""]))],(function(n,l){n(l,6,0,l.parent.context.$implicit.enabled),n(l,10,0,Wt(2,"",l.parent.context.$implicit.basket_name," [",l.parent.context.$implicit.group_desc,"]"))}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,11,0,l.parent.context.$implicit.basket_name),n(l,13,0,l.parent.context.$implicit.group_desc)}))}function Ean(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Fan)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,null==l.context.$implicit.userToDisplay)}),null)}function Oan(n){return jo(0,[(n()(),_o(0,0,null,null,35,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,34,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,133,{_lines:1}),ko(603979776,134,{_avatar:0}),ko(603979776,135,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-paper-plane mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-top:-60px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[135,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,4,"h4",[["class","mat-line"],["color","primary"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[133,4]],0,pv,[],null,null),(n()(),Lo(11,null,[""," "])),(n()(),_o(12,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,21,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[133,4]],0,pv,[],null,null),(n()(),_o(16,0,null,null,19,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,136,{_controlNonStatic:0}),ko(335544320,137,{_controlStatic:0}),ko(603979776,138,{_labelChildNonStatic:0}),ko(335544320,139,{_labelChildStatic:0}),ko(603979776,140,{_placeholderChild:0}),ko(603979776,141,{_errorChildren:1}),ko(603979776,142,{_hintChildren:1}),ko(603979776,143,{_prefixChildren:1}),ko(603979776,144,{_suffixChildren:1}),(n()(),_o(27,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["color","warn"],["disabled",""],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,28)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,28)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,28)._onInput()&&t),t}),null,null)),Di(28,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),Ei(2048,[[136,4],[137,4]],nT,null,[OT]),(n()(),_o(30,16777216,null,4,5,"button",[["aria-label","Clear"],["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,32).show()&&t),"keydown"===l&&(t=!1!==bi(n,32)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,32)._handleTouchend()&&t),"click"===l&&(t=!1!==i.delBasketRedirection(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(31,16384,[[144,4]],0,oT,[],null,null),Di(32,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(33,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(34,0,null,0,1,"mat-icon",[["class","fa fa-times text-danger mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(35,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=l.component;n(l,7,0,"primary"),n(l,28,0,"","text",Wt(2,"",e.lang.redirectedTo," ",l.context.$implicit.userToDisplay,"")),n(l,32,0,Wt(1,"",e.lang.deleteRedirection,"")),n(l,33,0,"warn"),n(l,35,0,"warn")}),(function(n,l){n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.basket_name),n(l,13,0,l.context.$implicit.group_desc),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,0,bi(l,28)._isServer,bi(l,28).id,bi(l,28).placeholder,bi(l,28).disabled,bi(l,28).required,bi(l,28).readonly&&!bi(l,28)._isNativeSelect||null,bi(l,28)._ariaDescribedby||null,bi(l,28).errorState,bi(l,28).required.toString()),n(l,30,0,bi(l,33).disabled||null,"NoopAnimations"===bi(l,33)._animationMode),n(l,34,0,bi(l,35).inline,"primary"!==bi(l,35).color&&"accent"!==bi(l,35).color&&"warn"!==bi(l,35).color)}))}function Tan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.reassignBasketRedirection(e,n.parent.context.$implicit,n.parent.context.index)&&t),t}),HN,EN)),Di(1,114688,null,0,FN,[nS,tu,Jv,QS],{appearance:[0,"appearance"],routeDatas:[1,"routeDatas"],placeholder:[2,"placeholder"],key:[3,"key"],subInfoKey:[4,"subInfoKey"]},{selectedOpt:"triggerEvent"}),Eo(2,1)],(function(n,l){var e=l.component,t=n(l,2,0,"/rest/autocomplete/users");n(l,1,0,"outline",t,e.lang.redirectBaskets,"idToDisplay","descriptionToDisplay")}),null)}function Lan(n){return jo(0,[(n()(),_o(0,0,null,null,43,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,42,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,148,{_lines:1}),ko(603979776,149,{_avatar:0}),ko(603979776,150,{_icon:0}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-reply mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","margin-top:-60px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[150,4]],0,iI,[],null,null),(n()(),_o(9,0,null,1,4,"h4",[["class","mat-line"],["color","primary"],["mat-line",""]],null,null,null,null,null)),Di(10,16384,[[148,4]],0,pv,[],null,null),(n()(),Lo(11,null,[""," "])),(n()(),_o(12,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,29,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(15,16384,[[148,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,Tan)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(19,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,151,{_controlNonStatic:0}),ko(335544320,152,{_controlStatic:0}),ko(603979776,153,{_labelChildNonStatic:0}),ko(335544320,154,{_labelChildStatic:0}),ko(603979776,155,{_placeholderChild:0}),ko(603979776,156,{_errorChildren:1}),ko(603979776,157,{_hintChildren:1}),ko(603979776,158,{_prefixChildren:1}),ko(603979776,159,{_suffixChildren:1}),(n()(),_o(29,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["color","warn"],["disabled",""],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),t}),null,null)),Di(30,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],type:[1,"type"],value:[2,"value"]},null),Ei(2048,[[151,4],[152,4]],nT,null,[OT]),(n()(),_o(32,16777216,null,4,5,"button",[["aria-label","Clear"],["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,34).show()&&t),"keydown"===l&&(t=!1!==bi(n,34)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,34)._handleTouchend()&&t),"click"===l&&(t=!1!==(n.context.$implicit.userToDisplay=null)&&t),t}),PC,MC)),Di(33,16384,[[159,4]],0,oT,[],null,null),Di(34,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(35,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(36,0,null,0,1,"mat-icon",[["class","fa fa-edit mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(37,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(38,16777216,null,4,5,"button",[["aria-label","Clear"],["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,40).show()&&t),"keydown"===l&&(t=!1!==bi(n,40)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,40)._handleTouchend()&&t),"click"===l&&(t=!1!==i.delBasketAssignRedirection(n.context.$implicit,n.context.index)&&t),t}),PC,MC)),Di(39,16384,[[159,4]],0,oT,[],null,null),Di(40,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(41,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(42,0,null,0,1,"mat-icon",[["class","fa fa-times text-danger mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(43,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=l.component;n(l,7,0,"primary"),n(l,17,0,null==l.context.$implicit.userToDisplay),n(l,30,0,"","text",Wt(2,"",e.lang.assignBy," ",l.context.$implicit.userToDisplay,"")),n(l,34,0,Wt(1,"",e.lang.reassign,"")),n(l,35,0,"warn"),n(l,37,0,"primary"),n(l,40,0,Wt(1,"",e.lang.deleteAssignation,"")),n(l,41,0,"warn"),n(l,43,0,"warn")}),(function(n,l){n(l,1,0,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,11,0,l.context.$implicit.basket_name),n(l,13,0,l.context.$implicit.group_desc),n(l,18,1,["standard"==bi(l,19).appearance,"fill"==bi(l,19).appearance,"outline"==bi(l,19).appearance,"legacy"==bi(l,19).appearance,bi(l,19)._control.errorState,bi(l,19)._canLabelFloat,bi(l,19)._shouldLabelFloat(),bi(l,19)._hasFloatingLabel(),bi(l,19)._hideControlPlaceholder(),bi(l,19)._control.disabled,bi(l,19)._control.autofilled,bi(l,19)._control.focused,"accent"==bi(l,19).color,"warn"==bi(l,19).color,bi(l,19)._shouldForward("untouched"),bi(l,19)._shouldForward("touched"),bi(l,19)._shouldForward("pristine"),bi(l,19)._shouldForward("dirty"),bi(l,19)._shouldForward("valid"),bi(l,19)._shouldForward("invalid"),bi(l,19)._shouldForward("pending"),!bi(l,19)._animationsEnabled]),n(l,29,0,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()),n(l,32,0,bi(l,35).disabled||null,"NoopAnimations"===bi(l,35)._animationMode),n(l,36,0,bi(l,37).inline,"primary"!==bi(l,37).color&&"accent"!==bi(l,37).color&&"warn"!==bi(l,37).color),n(l,38,0,bi(l,41).disabled||null,"NoopAnimations"===bi(l,41)._animationMode),n(l,42,0,bi(l,43).inline,"primary"!==bi(l,43).color&&"accent"!==bi(l,43).color&&"warn"!==bi(l,43).color)}))}function Ran(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(1,16384,null,0,Jj,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.mySignMailDesc)}))}function Nan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,!bi(l.parent,172).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.save)}))}function jan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateEmailSignature()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,!bi(l.parent,172).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.update)}))}function Van(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteEmailSignature()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function qan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.resetEmailSignature()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"default")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.cancel)}))}function zan(n){return jo(0,[(n()(),_o(0,0,null,null,28,"div",[["class","col-md-6 col-sm-6 col-xm-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,27,"mat-card",[["class","mat-card"],["style","margin-bottom:10px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(2,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(3,0,null,0,25,"mat-card-content",[["class","mat-card-content"],["style","text-align:center;"]],null,null,null,null,null)),Di(4,16384,null,0,vO,[],null,null),(n()(),_o(5,0,null,null,18,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(6,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,170,{_controlNonStatic:0}),ko(335544320,171,{_controlStatic:0}),ko(603979776,172,{_labelChildNonStatic:0}),ko(335544320,173,{_labelChildStatic:0}),ko(603979776,174,{_placeholderChild:0}),ko(603979776,175,{_errorChildren:1}),ko(603979776,176,{_hintChildren:1}),ko(603979776,177,{_prefixChildren:1}),ko(603979776,178,{_suffixChildren:1}),(n()(),_o(16,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["name","selectedEmailSignatureLabel"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.title=e)&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[170,4],[171,4]],nT,null,[OT]),(n()(),_o(24,16777216,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,25).show()&&t),"keydown"===l&&(t=!1!==bi(n,25)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,25)._handleTouchend()&&t),"click"===l&&(t=!1!==i.changeEmailSignature(n.context.index)&&t),t}),PC,MC)),Di(25,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(26,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(27,0,null,0,1,"mat-icon",[["class","fa fa-edit fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(28,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,6,0,"never"),n(l,19,0,"selectedEmailSignatureLabel","",l.context.$implicit.title),n(l,22,0,"",Wt(1,"",e.lang.label,""),"text"),n(l,25,0,Wt(1,"",e.lang.update,"")),n(l,26,0,"primary"),n(l,28,0)}),(function(n,l){n(l,1,0,"NoopAnimations"===bi(l,2)._animationMode),n(l,5,1,["standard"==bi(l,6).appearance,"fill"==bi(l,6).appearance,"outline"==bi(l,6).appearance,"legacy"==bi(l,6).appearance,bi(l,6)._control.errorState,bi(l,6)._canLabelFloat,bi(l,6)._shouldLabelFloat(),bi(l,6)._hasFloatingLabel(),bi(l,6)._hideControlPlaceholder(),bi(l,6)._control.disabled,bi(l,6)._control.autofilled,bi(l,6)._control.focused,"accent"==bi(l,6).color,"warn"==bi(l,6).color,bi(l,6)._shouldForward("untouched"),bi(l,6)._shouldForward("touched"),bi(l,6)._shouldForward("pristine"),bi(l,6)._shouldForward("dirty"),bi(l,6)._shouldForward("valid"),bi(l,6)._shouldForward("invalid"),bi(l,6)._shouldForward("pending"),!bi(l,6)._animationsEnabled]),n(l,16,1,[bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()]),n(l,24,0,bi(l,26).disabled||null,"NoopAnimations"===bi(l,26)._animationMode),n(l,27,0,bi(l,28).inline,"primary"!==bi(l,28).color&&"accent"!==bi(l,28).color&&"warn"!==bi(l,28).color)}))}function Uan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(1,16384,null,0,Jj,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.mySignSignatureBookDesc)}))}function Ban(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","col-md-2"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"img",[["alt","Image non valide"],["id","signaturePreview"],["style","width: 100%;"]],[[8,"src",4]],null,null,null,null))],null,(function(n,l){n(l,1,0,Wt(1,"",l.component.signatureModel.base64ForJs,""))}))}function $an(n){return jo(0,[(n()(),_o(0,0,null,null,30,"div",[["class","col-md-4 col-sm-4 col-xm-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,29,"mat-card",[["class","mat-card"],["style","margin-bottom:10px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(2,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(3,0,null,0,27,"mat-card-content",[["class","mat-card-content"],["style","text-align:center;"]],null,null,null,null,null)),Di(4,16384,null,0,vO,[],null,null),(n()(),_o(5,0,null,null,24,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(6,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,189,{_controlNonStatic:0}),ko(335544320,190,{_controlStatic:0}),ko(603979776,191,{_labelChildNonStatic:0}),ko(335544320,192,{_labelChildStatic:0}),ko(603979776,193,{_placeholderChild:0}),ko(603979776,194,{_errorChildren:1}),ko(603979776,195,{_hintChildren:1}),ko(603979776,196,{_prefixChildren:1}),ko(603979776,197,{_suffixChildren:1}),(n()(),_o(16,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","selectedSignatureLabel"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.signature_label=e)&&t),"change"===l&&(t=!1!==i.updateSignature(n.context.$implicit)&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(19,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(21,16384,null,0,y_,[[4,v_]],null,null),Di(22,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[189,4],[190,4]],nT,null,[OT]),(n()(),_o(24,16777216,null,4,5,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,26).show()&&t),"keydown"===l&&(t=!1!==bi(n,26)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,26)._handleTouchend()&&t),"click"===l&&(t=!1!==i.deleteSignature(n.context.$implicit.id)&&t),t}),PC,MC)),Di(25,16384,[[197,4]],0,oT,[],null,null),Di(26,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(28,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(29,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(30,0,null,null,0,"img",[["alt","Signature"],["style","max-width:100%;height:60px;"]],[[8,"src",4]],null,null,null,null))],(function(n,l){var e=l.component;n(l,6,0,"never"),n(l,19,0,"selectedSignatureLabel",l.context.$implicit.signature_label),n(l,22,0,Wt(1,"",e.lang.label,""),"text"),n(l,26,0,Wt(1,"",e.lang.delete,"")),n(l,27,0,"warn"),n(l,29,0)}),(function(n,l){var e=l.component;n(l,1,0,"NoopAnimations"===bi(l,2)._animationMode),n(l,5,1,["standard"==bi(l,6).appearance,"fill"==bi(l,6).appearance,"outline"==bi(l,6).appearance,"legacy"==bi(l,6).appearance,bi(l,6)._control.errorState,bi(l,6)._canLabelFloat,bi(l,6)._shouldLabelFloat(),bi(l,6)._hasFloatingLabel(),bi(l,6)._hideControlPlaceholder(),bi(l,6)._control.disabled,bi(l,6)._control.autofilled,bi(l,6)._control.focused,"accent"==bi(l,6).color,"warn"==bi(l,6).color,bi(l,6)._shouldForward("untouched"),bi(l,6)._shouldForward("touched"),bi(l,6)._shouldForward("pristine"),bi(l,6)._shouldForward("dirty"),bi(l,6)._shouldForward("valid"),bi(l,6)._shouldForward("invalid"),bi(l,6)._shouldForward("pending"),!bi(l,6)._animationsEnabled]),n(l,16,1,[bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()]),n(l,24,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,bi(l,29).inline,"primary"!==bi(l,29).color&&"accent"!==bi(l,29).color&&"warn"!==bi(l,29).color),n(l,30,0,Wt(2,"../../rest/users/",e.user.id,"/signatures/",l.context.$implicit.id,"/content"))}))}function Han(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.syncMP()&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-sync-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"fa-spin",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.syncSignsToMaarchParapheur,"")),n(l,2,0,!e.user.external_id.maarchParapheur||e.loadingSign,"primary"),n(l,4,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.loadingSign,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Gan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-panel-description",[["class","mat-expansion-panel-header-description"]],null,null,null,null,null)),Di(1,16384,null,0,Jj,[],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.myContactsGroupsDesc)}))}function Wan(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.label)}))}function Kan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,0,0,l.component.appService.getViewMode()),n(l,2,0,l.context.$implicit.label)}))}function Yan(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function Jan(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.description)}))}function Zan(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.relatedContactNumber)}))}function Qan(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.nbContacts)}))}function Xan(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["color","primary"],["style","font-weight:bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.nbContacts)}))}function non(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,Qan)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Xan)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,0==l.context.$implicit.nbContacts),n(l,5,0,l.context.$implicit.nbContacts>0)}),null)}function lon(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[2,"hide-for-mobile",null],[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,e.appService.getViewMode(),bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.public)}))}function eon(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.no)}))}function ton(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.yes)}))}function ion(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],[[2,"hide-for-mobile",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,eon)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ton)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,!l.context.$implicit.public),n(l,5,0,l.context.$implicit.public)}),(function(n,l){n(l,0,0,l.component.appService.getViewMode())}))}function aon(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:1;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.createdBy)}))}function oon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.labelledOwner)}))}function ron(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function uon(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.deleteContactsGroup(n.context.$implicit.position)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function son(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function con(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"mat-row",[["class","mat-row"],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(t=!1!==i.loadContactsGroup(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(3,49152,null,0,cR,[],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.view,""))}),null)}function don(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert alert-danger"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.limitDataReached_1000)}))}function pon(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-progress-bar",[["aria-valuemax","100"],["aria-valuemin","0"],["class","mat-progress-bar"],["mode","indeterminate"],["role","progressbar"]],[[1,"aria-valuenow",0],[1,"mode",0],[2,"_mat-animation-noopable",null]],null,null,T1,O1)),Di(1,4374528,null,0,D1,[Pe,La,[2,SC],[2,M1]],{mode:[0,"mode"]},null)],(function(n,l){n(l,1,0,"indeterminate")}),(function(n,l){n(l,0,0,"indeterminate"===bi(l,1).mode||"query"===bi(l,1).mode?null:bi(l,1).value,bi(l,1).mode,bi(l,1)._isNoopAnimation)}))}function mon(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==(e?n.component.masterToggle(e):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(4,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"})],(function(n,l){n(l,4,0,"primary",l.component.selection.hasValue())}),(function(n,l){n(l,2,0,bi(l,4).id,null,bi(l,4).indeterminate,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function fon(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"change"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==e.stopPropagation()&&t),"change"===l&&(t=!1!==(e?i.selection.toggle(n.context.$implicit.id):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(4,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],id:[1,"id"],checked:[2,"checked"],disabled:[3,"disabled"]},{change:"change"})],(function(n,l){var e=l.component;n(l,4,0,"primary",Wt(1,"check_",l.context.$implicit.id,""),e.selection.isSelected(l.context.$implicit.id),e.isInGrp(l.context.$implicit))}),(function(n,l){n(l,2,0,bi(l,4).id,null,bi(l,4).indeterminate,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function hon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,2,0,l.component.lang.contact)}))}function gon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.contact)}))}function bon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,2,0,l.component.lang.address)}))}function von(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.address)}))}function _on(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function yon(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-row",[["class","mat-row"],["role","row"],["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.selectContact(n.context.$implicit.id)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(3,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(4,{opacity:0}),Di(5,49152,null,0,cR,[],null,null)],(function(n,l){var e=n(l,4,0,l.component.isInGrp(l.context.$implicit)?"0.5":"");n(l,3,0,e)}),null)}function won(n){return jo(0,[(n()(),_o(0,0,null,null,51,"mat-table",[["class","mat-table"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(2,2342912,[["tableContactList",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,266,{_contentColumnDefs:1}),ko(603979776,267,{_contentRowDefs:1}),ko(603979776,268,{_contentHeaderRowDefs:1}),ko(603979776,269,{_contentFooterRowDefs:1}),(n()(),_o(7,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(9,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,270,{cell:0}),ko(603979776,271,{headerCell:0}),ko(603979776,272,{footerCell:0}),Ei(2048,[[266,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,mon)),Di(15,16384,null,0,tR,[Xe],null,null),Ei(2048,[[271,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,fon)),Di(18,16384,null,0,eR,[Xe],null,null),Ei(2048,[[270,4]],OL,null,[eR]),(n()(),_o(20,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(22,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,273,{cell:0}),ko(603979776,274,{headerCell:0}),ko(603979776,275,{footerCell:0}),Ei(2048,[[266,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,hon)),Di(28,16384,null,0,tR,[Xe],null,null),Ei(2048,[[274,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,gon)),Di(31,16384,null,0,eR,[Xe],null,null),Ei(2048,[[273,4]],OL,null,[eR]),(n()(),_o(33,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(35,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,276,{cell:0}),ko(603979776,277,{headerCell:0}),ko(603979776,278,{footerCell:0}),Ei(2048,[[266,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,bon)),Di(41,16384,null,0,tR,[Xe],null,null),Ei(2048,[[277,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,von)),Di(44,16384,null,0,eR,[Xe],null,null),Ei(2048,[[276,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,_on)),Di(47,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[268,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,yon)),Di(50,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[267,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,2,0,e.dataSourceContactsListAutocomplete),n(l,9,0,"select"),n(l,22,0,"contact"),n(l,35,0,"address"),n(l,47,0,e.displayedColumnsContactsListAutocomplete),n(l,50,0,e.displayedColumnsContactsListAutocomplete)}),null)}function xon(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:3;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.contact)}))}function Con(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.contact)}))}function kon(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:3;"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.address)}))}function Son(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:3;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.address)}))}function Ion(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null)],null,null)}function Aon(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","justify-content: flex-end;flex:1;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,16777216,null,null,4,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,3).show()&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,3)._handleTouchend()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.preDelete(n.context.index)&&t),t}),PC,MC)),Di(3,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-trash-alt fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,3,0,Wt(1,"",l.component.lang.delete,"")),n(l,4,0,"warn"),n(l,6,0)}),(function(n,l){n(l,2,0,bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function Mon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function Pon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function Don(n){return jo(0,[(n()(),_o(0,0,null,null,52,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","contact"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(2,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,309,{_contentColumnDefs:1}),ko(603979776,310,{_contentRowDefs:1}),ko(603979776,311,{_contentHeaderRowDefs:1}),ko(603979776,312,{_contentFooterRowDefs:1}),Di(7,737280,[[8,4],["tableContactsListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(8,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(10,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,313,{cell:0}),ko(603979776,314,{headerCell:0}),ko(603979776,315,{footerCell:0}),Ei(2048,[[309,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,xon)),Di(16,16384,null,0,tR,[Xe],null,null),Ei(2048,[[314,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Con)),Di(19,16384,null,0,eR,[Xe],null,null),Ei(2048,[[313,4]],OL,null,[eR]),(n()(),_o(21,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(23,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,316,{cell:0}),ko(603979776,317,{headerCell:0}),ko(603979776,318,{footerCell:0}),Ei(2048,[[309,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,kon)),Di(29,16384,null,0,tR,[Xe],null,null),Ei(2048,[[317,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Son)),Di(32,16384,null,0,eR,[Xe],null,null),Ei(2048,[[316,4]],OL,null,[eR]),(n()(),_o(34,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(36,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,319,{cell:0}),ko(603979776,320,{headerCell:0}),ko(603979776,321,{footerCell:0}),Ei(2048,[[309,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Ion)),Di(42,16384,null,0,tR,[Xe],null,null),Ei(2048,[[320,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Aon)),Di(45,16384,null,0,eR,[Xe],null,null),Ei(2048,[[319,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Mon)),Di(48,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[311,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,Pon)),Di(51,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[310,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,2,0,e.dataSourceContactsList),n(l,7,0,"contact","asc"),n(l,10,0,"contact"),n(l,23,0,"address"),n(l,36,0,"actions"),n(l,48,0,e.displayedColumnsContactsList),n(l,51,0,e.displayedColumnsContactsList)}),null)}function Fon(n){return jo(0,[(n()(),_o(0,0,null,null,28,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,27,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedTabIndex_1=e)&&t),t}),LV,PV)),Di(2,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,297,{_tabs:1}),(n()(),_o(4,16777216,null,null,24,"mat-tab",[],null,null,null,BV,zV)),Di(5,770048,[[297,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,298,{templateLabel:0}),ko(335544320,299,{_explicitContent:0}),(n()(),_o(8,0,null,0,18,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(11,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,300,{_controlNonStatic:0}),ko(335544320,301,{_controlStatic:0}),ko(603979776,302,{_labelChildNonStatic:0}),ko(335544320,303,{_labelChildStatic:0}),ko(603979776,304,{_placeholderChild:0}),ko(603979776,305,{_errorChildren:1}),ko(603979776,306,{_hintChildren:1}),ko(603979776,307,{_prefixChildren:1}),ko(603979776,308,{_suffixChildren:1}),(n()(),_o(21,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilterContactsList(e.target.value)&&t),t}),null,null)),Di(22,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[300,4],[301,4]],nT,null,[OT]),(n()(),_o(24,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(26,245760,[[7,4],["paginatorContactsList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),vo(16777216,null,0,1,null,Don)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.selectedTabIndex_1),n(l,5,0,Wt(2,"",e.contactsGroup.contacts.length," ",e.lang.relatedContacts,"")),n(l,22,0,Wt(1,"",e.lang.filterBy,"")),n(l,26,0,0,10,!0),n(l,28,0,e.contactsListMode)}),(function(n,l){n(l,1,0,bi(l,2).dynamicHeight,"below"===bi(l,2).headerPosition),n(l,10,1,["standard"==bi(l,11).appearance,"fill"==bi(l,11).appearance,"outline"==bi(l,11).appearance,"legacy"==bi(l,11).appearance,bi(l,11)._control.errorState,bi(l,11)._canLabelFloat,bi(l,11)._shouldLabelFloat(),bi(l,11)._hasFloatingLabel(),bi(l,11)._hideControlPlaceholder(),bi(l,11)._control.disabled,bi(l,11)._control.autofilled,bi(l,11)._control.focused,"accent"==bi(l,11).color,"warn"==bi(l,11).color,bi(l,11)._shouldForward("untouched"),bi(l,11)._shouldForward("touched"),bi(l,11)._shouldForward("pristine"),bi(l,11)._shouldForward("dirty"),bi(l,11)._shouldForward("valid"),bi(l,11)._shouldForward("invalid"),bi(l,11)._shouldForward("pending"),!bi(l,11)._animationsEnabled]),n(l,21,0,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString())}))}function Eon(n){return jo(0,[(n()(),_o(0,16777216,null,null,137,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[199,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,253,{templateLabel:0}),ko(335544320,254,{_explicitContent:0}),(n()(),_o(4,0,null,0,59,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(5,1720320,null,1,Qj,[],null,null),ko(603979776,255,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(8,16777216,null,null,55,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(9,1753088,[[3,4],["linkContPan",4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,256,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(12,0,null,0,7,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,13)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,13)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,13)._animationStarted()&&t),t}),aV,tV)),Di(13,180224,[[255,4],[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(14,{collapsedHeight:0,expandedHeight:1}),Oo(15,{value:0,params:1}),(n()(),_o(16,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["color","primary"]],null,null,null,null,null)),Di(17,16384,null,0,Zj,[],null,null),(n()(),_o(18,0,null,null,1,"span",[["style","margin-top:5px;"]],null,null,null,null,null)),(n()(),Lo(19,null,["",""])),(n()(),_o(20,0,null,1,43,"div",[["id","contactsGroupFormAdd"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,33,"div",[["class","row"],["style","margin:0px;"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,26,"div",[["class","col-md-8"],["style","padding:5px;"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,25,"mat-form-field",[["class","mat-form-field"],["hintLabel","3 caractères minimum"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(24,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{hintLabel:[0,"hintLabel"]},null),ko(603979776,257,{_controlNonStatic:0}),ko(335544320,258,{_controlStatic:0}),ko(603979776,259,{_labelChildNonStatic:0}),ko(335544320,260,{_labelChildStatic:0}),ko(603979776,261,{_placeholderChild:0}),ko(603979776,262,{_errorChildren:1}),ko(603979776,263,{_hintChildren:1}),ko(603979776,264,{_prefixChildren:1}),ko(603979776,265,{_suffixChildren:1}),(n()(),_o(34,0,null,0,4,"span",[["matPrefix",""]],null,null,null,null,null)),Di(35,16384,[[264,4]],0,aT,[],null,null),(n()(),_o(36,0,null,null,1,"mat-icon",[["class","fa fa-user-plus mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(37,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(-1,null,["  "])),(n()(),_o(39,0,null,1,9,"input",[["autocomplete","off"],["class","autocompleteSearch mat-input-element mat-form-field-autofill-control"],["matInput",""],["minlength","3"],["type","text"]],[[1,"minlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,40)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,40).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,40)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,40)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,47)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,47)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,47)._onInput()&&t),"keyup"===l&&(t=!1!==i.launchLoading()&&t),t}),null,null)),Di(40,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(41,540672,null,0,Py,[],{minlength:[0,"minlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Py]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(44,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(46,16384,null,0,y_,[[4,v_]],null,null),Di(47,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[257,4],[258,4]],nT,null,[OT]),(n()(),_o(49,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,don)),Di(51,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(52,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(53,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(54,245760,[[6,4],["paginatorGroupsListAutocomplete",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),vo(16777216,null,null,1,null,pon)),Di(56,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,won)),Di(58,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(59,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(60,0,null,null,3,"div",[["style","text-align:center;margin-top:30px"]],null,null,null,null,null)),(n()(),_o(61,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveContactsList(e.target)&&t),t}),PC,MC)),Di(62,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(63,0,["",""])),(n()(),_o(64,0,null,0,73,"div",[["id","contactsGroup"],["style","margin-top:20px;"]],null,null,null,null,null)),(n()(),_o(65,0,null,null,70,"div",[["class","col-sm-6"]],null,null,null,null,null)),(n()(),_o(66,0,null,null,69,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,68).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,68).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.updateGroupSubmit()&&t),t}),null,null)),Di(67,16384,null,0,yy,[],null,null),Di(68,4210688,[["contactsGroupFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(70,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(71,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(72,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(73,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(74,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,279,{_controlNonStatic:0}),ko(335544320,280,{_controlStatic:0}),ko(603979776,281,{_labelChildNonStatic:0}),ko(335544320,282,{_labelChildStatic:0}),ko(603979776,283,{_placeholderChild:0}),ko(603979776,284,{_errorChildren:1}),ko(603979776,285,{_hintChildren:1}),ko(603979776,286,{_prefixChildren:1}),ko(603979776,287,{_suffixChildren:1}),(n()(),_o(84,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","32"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,85)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,85).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,85)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,85)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,93)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,93)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,93)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.label=e)&&t),t}),null,null)),Di(85,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(86,16384,null,0,My,[],{required:[0,"required"]},null),Di(87,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(90,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(92,16384,null,0,y_,[[4,v_]],null,null),Di(93,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[279,4],[280,4]],nT,null,[OT]),(n()(),_o(95,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(96,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(97,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(98,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,288,{_controlNonStatic:0}),ko(335544320,289,{_controlStatic:0}),ko(603979776,290,{_labelChildNonStatic:0}),ko(335544320,291,{_labelChildStatic:0}),ko(603979776,292,{_placeholderChild:0}),ko(603979776,293,{_errorChildren:1}),ko(603979776,294,{_hintChildren:1}),ko(603979776,295,{_prefixChildren:1}),ko(603979776,296,{_suffixChildren:1}),(n()(),_o(108,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["maxlength","255"],["name","description"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,109)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,109).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,109)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,109)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,117)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,117)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,117)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.description=e)&&t),t}),null,null)),Di(109,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(110,16384,null,0,My,[],{required:[0,"required"]},null),Di(111,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(114,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(116,16384,null,0,y_,[[4,v_]],null,null),Di(117,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[288,4],[289,4]],nT,null,[OT]),(n()(),_o(119,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(120,0,null,null,7,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(121,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["id","public"],["name","public"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,122)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.public=e)&&t),t}),mV,pV)),Di(122,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],id:[2,"id"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(124,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(126,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(127,0,[""," "])),(n()(),_o(128,0,null,null,7,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(129,0,null,null,6,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(130,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(131,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(132,0,["",""])),(n()(),_o(133,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.initGroupsContact()&&t),t}),PC,MC)),Di(134,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(135,0,["",""])),(n()(),vo(16777216,null,null,1,null,Fon)),Di(137,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(2,"",e.lang.grouping," : ",e.contactsGroup.label,"")),n(l,24,0,"3 caractères minimum"),n(l,37,0,"primary"),n(l,41,0,"3"),n(l,44,0,e.searchTerm),n(l,47,0,Wt(1,"",e.lang.linkContact,""),"text"),n(l,51,0,e.dataSourceContactsListAutocomplete&&1e3==e.dataSourceContactsListAutocomplete.data.length),n(l,54,0,0,10,!0),n(l,56,0,!e.dataSourceContactsListAutocomplete&&!e.initAutoCompleteContact),n(l,58,0,e.dataSourceContactsListAutocomplete),n(l,62,0,0==e.selection.selected.length,"primary"),n(l,86,0,""),n(l,87,0,"32"),n(l,90,0,"label",e.contactsGroup.label),n(l,93,0,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,110,0,""),n(l,111,0,"255"),n(l,114,0,"description",e.contactsGroup.description),n(l,117,0,"description",Wt(1,"",e.lang.description,""),"","text"),n(l,122,0,"primary","public","public"),n(l,124,0,"public",e.contactsGroup.public),n(l,131,0,!bi(l,68).form.valid,"primary"),n(l,134,0,"default"),n(l,137,0,e.contactsListMode)}),(function(n,l){var e=l.component;n(l,8,0,bi(l,9).expanded,"NoopAnimations"===bi(l,9)._animationMode,bi(l,9)._hasSpacing());var t=bi(l,13).panel._headerId,i=bi(l,13).disabled?-1:0,a=bi(l,13)._getPanelId(),o=bi(l,13)._isExpanded(),r=bi(l,13).panel.disabled,u=bi(l,13)._isExpanded(),s="after"===bi(l,13)._getTogglePosition(),c="before"===bi(l,13)._getTogglePosition(),d=bi(l,13)._animationsDisabled,p=n(l,15,0,bi(l,13)._getExpandedState(),n(l,14,0,bi(l,13).collapsedHeight,bi(l,13).expandedHeight));n(l,12,0,t,i,a,o,r,u,s,c,d,p),n(l,19,0,e.lang.linkContact),n(l,23,1,["standard"==bi(l,24).appearance,"fill"==bi(l,24).appearance,"outline"==bi(l,24).appearance,"legacy"==bi(l,24).appearance,bi(l,24)._control.errorState,bi(l,24)._canLabelFloat,bi(l,24)._shouldLabelFloat(),bi(l,24)._hasFloatingLabel(),bi(l,24)._hideControlPlaceholder(),bi(l,24)._control.disabled,bi(l,24)._control.autofilled,bi(l,24)._control.focused,"accent"==bi(l,24).color,"warn"==bi(l,24).color,bi(l,24)._shouldForward("untouched"),bi(l,24)._shouldForward("touched"),bi(l,24)._shouldForward("pristine"),bi(l,24)._shouldForward("dirty"),bi(l,24)._shouldForward("valid"),bi(l,24)._shouldForward("invalid"),bi(l,24)._shouldForward("pending"),!bi(l,24)._animationsEnabled]),n(l,36,0,bi(l,37).inline,"primary"!==bi(l,37).color&&"accent"!==bi(l,37).color&&"warn"!==bi(l,37).color),n(l,39,1,[bi(l,41).minlength?bi(l,41).minlength:null,bi(l,46).ngClassUntouched,bi(l,46).ngClassTouched,bi(l,46).ngClassPristine,bi(l,46).ngClassDirty,bi(l,46).ngClassValid,bi(l,46).ngClassInvalid,bi(l,46).ngClassPending,bi(l,47)._isServer,bi(l,47).id,bi(l,47).placeholder,bi(l,47).disabled,bi(l,47).required,bi(l,47).readonly&&!bi(l,47)._isNativeSelect||null,bi(l,47)._ariaDescribedby||null,bi(l,47).errorState,bi(l,47).required.toString()]),n(l,61,0,bi(l,62).disabled||null,"NoopAnimations"===bi(l,62)._animationMode),n(l,63,0,e.lang.add),n(l,66,0,bi(l,70).ngClassUntouched,bi(l,70).ngClassTouched,bi(l,70).ngClassPristine,bi(l,70).ngClassDirty,bi(l,70).ngClassValid,bi(l,70).ngClassInvalid,bi(l,70).ngClassPending),n(l,73,1,["standard"==bi(l,74).appearance,"fill"==bi(l,74).appearance,"outline"==bi(l,74).appearance,"legacy"==bi(l,74).appearance,bi(l,74)._control.errorState,bi(l,74)._canLabelFloat,bi(l,74)._shouldLabelFloat(),bi(l,74)._hasFloatingLabel(),bi(l,74)._hideControlPlaceholder(),bi(l,74)._control.disabled,bi(l,74)._control.autofilled,bi(l,74)._control.focused,"accent"==bi(l,74).color,"warn"==bi(l,74).color,bi(l,74)._shouldForward("untouched"),bi(l,74)._shouldForward("touched"),bi(l,74)._shouldForward("pristine"),bi(l,74)._shouldForward("dirty"),bi(l,74)._shouldForward("valid"),bi(l,74)._shouldForward("invalid"),bi(l,74)._shouldForward("pending"),!bi(l,74)._animationsEnabled]),n(l,84,1,[Wt(1,"",e.lang.label,""),bi(l,86).required?"":null,bi(l,87).maxlength?bi(l,87).maxlength:null,bi(l,92).ngClassUntouched,bi(l,92).ngClassTouched,bi(l,92).ngClassPristine,bi(l,92).ngClassDirty,bi(l,92).ngClassValid,bi(l,92).ngClassInvalid,bi(l,92).ngClassPending,bi(l,93)._isServer,bi(l,93).id,bi(l,93).placeholder,bi(l,93).disabled,bi(l,93).required,bi(l,93).readonly&&!bi(l,93)._isNativeSelect||null,bi(l,93)._ariaDescribedby||null,bi(l,93).errorState,bi(l,93).required.toString()]),n(l,97,1,["standard"==bi(l,98).appearance,"fill"==bi(l,98).appearance,"outline"==bi(l,98).appearance,"legacy"==bi(l,98).appearance,bi(l,98)._control.errorState,bi(l,98)._canLabelFloat,bi(l,98)._shouldLabelFloat(),bi(l,98)._hasFloatingLabel(),bi(l,98)._hideControlPlaceholder(),bi(l,98)._control.disabled,bi(l,98)._control.autofilled,bi(l,98)._control.focused,"accent"==bi(l,98).color,"warn"==bi(l,98).color,bi(l,98)._shouldForward("untouched"),bi(l,98)._shouldForward("touched"),bi(l,98)._shouldForward("pristine"),bi(l,98)._shouldForward("dirty"),bi(l,98)._shouldForward("valid"),bi(l,98)._shouldForward("invalid"),bi(l,98)._shouldForward("pending"),!bi(l,98)._animationsEnabled]),n(l,108,1,[Wt(1,"",e.lang.description,""),bi(l,110).required?"":null,bi(l,111).maxlength?bi(l,111).maxlength:null,bi(l,116).ngClassUntouched,bi(l,116).ngClassTouched,bi(l,116).ngClassPristine,bi(l,116).ngClassDirty,bi(l,116).ngClassValid,bi(l,116).ngClassInvalid,bi(l,116).ngClassPending,bi(l,117)._isServer,bi(l,117).id,bi(l,117).placeholder,bi(l,117).disabled,bi(l,117).required,bi(l,117).readonly&&!bi(l,117)._isNativeSelect||null,bi(l,117)._ariaDescribedby||null,bi(l,117).errorState,bi(l,117).required.toString()]),n(l,121,1,[Wt(1,"",e.lang.public,""),bi(l,122).id,bi(l,122).disabled?null:-1,bi(l,122).checked,bi(l,122).disabled,"before"==bi(l,122).labelPosition,"NoopAnimations"===bi(l,122)._animationMode,bi(l,126).ngClassUntouched,bi(l,126).ngClassTouched,bi(l,126).ngClassPristine,bi(l,126).ngClassDirty,bi(l,126).ngClassValid,bi(l,126).ngClassInvalid,bi(l,126).ngClassPending]),n(l,127,0,e.lang.public),n(l,130,0,bi(l,131).disabled||null,"NoopAnimations"===bi(l,131)._animationMode),n(l,132,0,e.lang.update),n(l,133,0,bi(l,134).disabled||null,"NoopAnimations"===bi(l,134)._animationMode),n(l,135,0,e.lang.close)}))}function Oon(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.date)}))}function Ton(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[""," "])),Fo(3,2)],null,(function(n,l){var e=bt(l,2,0,n(l,3,0,bi(l.parent.parent.parent,0),l.context.$implicit.event_date,"dd/MM/y HH:mm"));n(l,2,0,e)}))}function Lon(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.technicalId)}))}function Ron(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.context.$implicit.record_id)}))}function Non(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.description)}))}function jon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.info)}))}function Von(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function qon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function zon(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(3,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,324,{_controlNonStatic:0}),ko(335544320,325,{_controlStatic:0}),ko(603979776,326,{_labelChildNonStatic:0}),ko(335544320,327,{_labelChildStatic:0}),ko(603979776,328,{_placeholderChild:0}),ko(603979776,329,{_errorChildren:1}),ko(603979776,330,{_hintChildren:1}),ko(603979776,331,{_prefixChildren:1}),ko(603979776,332,{_suffixChildren:1}),(n()(),_o(13,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,14)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,14)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,14)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilter(e.target.value)&&t),t}),null,null)),Di(14,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[324,4],[325,4]],nT,null,[OT]),(n()(),_o(16,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(18,245760,[[9,4],["paginatorHistory",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(19,0,null,null,52,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","event_date"],["matSortDirection","desc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(21,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,333,{_contentColumnDefs:1}),ko(603979776,334,{_contentRowDefs:1}),ko(603979776,335,{_contentHeaderRowDefs:1}),ko(603979776,336,{_contentFooterRowDefs:1}),Di(26,737280,[[10,4],["tableHistorySort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(27,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(29,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,337,{cell:0}),ko(603979776,338,{headerCell:0}),ko(603979776,339,{footerCell:0}),Ei(2048,[[333,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Oon)),Di(35,16384,null,0,tR,[Xe],null,null),Ei(2048,[[338,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Ton)),Di(38,16384,null,0,eR,[Xe],null,null),Ei(2048,[[337,4]],OL,null,[eR]),(n()(),_o(40,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(42,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,340,{cell:0}),ko(603979776,341,{headerCell:0}),ko(603979776,342,{footerCell:0}),Ei(2048,[[333,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Lon)),Di(48,16384,null,0,tR,[Xe],null,null),Ei(2048,[[341,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Ron)),Di(51,16384,null,0,eR,[Xe],null,null),Ei(2048,[[340,4]],OL,null,[eR]),(n()(),_o(53,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(55,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,343,{cell:0}),ko(603979776,344,{headerCell:0}),ko(603979776,345,{footerCell:0}),Ei(2048,[[333,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Non)),Di(61,16384,null,0,tR,[Xe],null,null),Ei(2048,[[344,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,jon)),Di(64,16384,null,0,eR,[Xe],null,null),Ei(2048,[[343,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Von)),Di(67,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[335,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,qon)),Di(70,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[334,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,14,0,Wt(1,"",e.lang.filterBy,"")),n(l,18,0,100,10,!0),n(l,21,0,e.dataSource),n(l,26,0,"event_date","desc"),n(l,29,0,"event_date"),n(l,42,0,"record_id"),n(l,55,0,"info"),n(l,67,0,e.displayedColumns),n(l,70,0,e.displayedColumns)}),(function(n,l){n(l,2,1,["standard"==bi(l,3).appearance,"fill"==bi(l,3).appearance,"outline"==bi(l,3).appearance,"legacy"==bi(l,3).appearance,bi(l,3)._control.errorState,bi(l,3)._canLabelFloat,bi(l,3)._shouldLabelFloat(),bi(l,3)._hasFloatingLabel(),bi(l,3)._hideControlPlaceholder(),bi(l,3)._control.disabled,bi(l,3)._control.autofilled,bi(l,3)._control.focused,"accent"==bi(l,3).color,"warn"==bi(l,3).color,bi(l,3)._shouldForward("untouched"),bi(l,3)._shouldForward("touched"),bi(l,3)._shouldForward("pristine"),bi(l,3)._shouldForward("dirty"),bi(l,3)._shouldForward("valid"),bi(l,3)._shouldForward("invalid"),bi(l,3)._shouldForward("pending"),!bi(l,3)._animationsEnabled]),n(l,13,0,bi(l,14)._isServer,bi(l,14).id,bi(l,14).placeholder,bi(l,14).disabled,bi(l,14).required,bi(l,14).readonly&&!bi(l,14)._isNativeSelect||null,bi(l,14)._ariaDescribedby||null,bi(l,14).errorState,bi(l,14).required.toString())}))}function Uon(n){return jo(0,[(n()(),_o(0,0,null,null,514,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,512,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedTabChange"]],(function(n,l,e){var t=!0;return"selectedTabChange"===l&&(t=!1!==n.component.initComponents(e)&&t),t}),LV,PV)),Di(3,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedTabChange:"selectedTabChange"}),ko(603979776,19,{_tabs:1}),(n()(),_o(5,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(6,770048,[[19,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,20,{templateLabel:0}),ko(335544320,21,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,_an)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,yan)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,16777216,null,null,495,"mat-tab",[],null,null,null,BV,zV)),Di(14,770048,[[19,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,103,{templateLabel:0}),ko(335544320,104,{_explicitContent:0}),(n()(),_o(17,0,null,0,491,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(18,1720320,null,1,Qj,[],null,null),ko(603979776,105,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(21,16777216,null,null,44,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(22,1753088,[[3,4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,106,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(25,0,null,0,11,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,26)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,26)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,26)._animationStarted()&&t),t}),aV,tV)),Di(26,180224,[[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(27,{collapsedHeight:0,expandedHeight:1}),Oo(28,{value:0,params:1}),(n()(),_o(29,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(30,16384,null,0,Zj,[],null,null),(n()(),_o(31,0,null,null,1,"mat-icon",[["class","fa fa-file-word mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:25px;width:50px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(32,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(33,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(34,null,["",""])),(n()(),vo(16777216,null,1,1,null,wan)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,1,1,"div",[["class","col-sm-12 col-md-4"],["style","line-height: 50px;"]],null,null,null,null,null)),(n()(),Lo(38,null,["",""])),(n()(),_o(39,0,null,1,26,"div",[["class","col-sm-12 col-md-8"]],null,null,null,null,null)),(n()(),_o(40,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,107,{_controlNonStatic:0}),ko(335544320,108,{_controlStatic:0}),ko(603979776,109,{_labelChildNonStatic:0}),ko(335544320,110,{_labelChildStatic:0}),ko(603979776,111,{_placeholderChild:0}),ko(603979776,112,{_errorChildren:1}),ko(603979776,113,{_hintChildren:1}),ko(603979776,114,{_prefixChildren:1}),ko(603979776,115,{_suffixChildren:1}),(n()(),_o(51,0,null,1,11,"mat-select",[["class","mat-select"],["name","documentEdition"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,56)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,56)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,56)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.user.preferences.documentEdition=e)&&t),"selectionChange"===l&&(t=!1!==i.updateUserPreferences()&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(53,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(55,16384,null,0,y_,[[4,v_]],null,null),Di(56,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,116,{options:1}),ko(603979776,117,{optionGroups:1}),ko(603979776,118,{customTrigger:0}),Ei(2048,[[107,4],[108,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,xan)),Di(62,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(63,0,null,6,2,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(64,16384,[[113,4]],0,tT,[],null,null),(n()(),Lo(65,null,["",""])),(n()(),_o(66,16777216,null,null,21,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(67,1753088,[[3,4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,119,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(70,0,null,0,13,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,71)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,71)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,71)._animationStarted()&&t),t}),aV,tV)),Di(71,180224,[[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(72,{collapsedHeight:0,expandedHeight:1}),Oo(73,{value:0,params:1}),(n()(),_o(74,0,null,0,7,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(75,16384,null,0,Zj,[],null,null),(n()(),_o(76,0,null,null,1,"mat-icon",[["class","fa fa-inbox mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:25px;width:50px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(77,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(78,0,null,null,1,"mat-icon",[["class","fa fa-magic mat-icon notranslate"],["color","primary"],["role","img"],["style","position: absolute;margin-left: 30px;margin-top: -10px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(79,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(80,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(81,null,["",""])),(n()(),vo(16777216,null,1,1,null,Can)),Di(83,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(84,0,null,1,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(85,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,Ian)),Di(87,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(88,16777216,null,null,65,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(89,1753088,[[3,4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,123,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(92,0,null,0,12,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,93)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,93)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,93)._animationStarted()&&t),t}),aV,tV)),Di(93,180224,[[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(94,{collapsedHeight:0,expandedHeight:1}),Oo(95,{value:0,params:1}),(n()(),_o(96,0,null,0,6,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(97,16384,null,0,Zj,[],null,null),(n()(),_o(98,0,null,null,1,"mat-icon",[["class","fa fa-inbox mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:25px;width:50px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(99,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(100,0,null,null,1,"mat-icon",[["class","fa fa-reply mat-icon notranslate"],["color","primary"],["role","img"],["style","position: absolute;margin-left: 30px;margin-top: -10px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(101,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(102,null,[" "," "])),(n()(),vo(16777216,null,1,1,null,Aan)),Di(104,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(105,0,null,1,24,"div",[["class","col-sm-6"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(106,0,null,null,23,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(107,704512,null,0,tI,[Pe],null,null),(n()(),_o(108,0,null,0,17,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(109,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,124,{_lines:1}),ko(603979776,125,{_avatar:0}),ko(603979776,126,{_icon:0}),(n()(),_o(113,0,null,0,6,"mat-icon",[["class","mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(114,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(115,16384,[[126,4]],0,iI,[],null,null),(n()(),_o(116,16777216,null,0,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,119).show()&&t),"keydown"===l&&(t=!1!==bi(n,119)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,119)._handleTouchend()&&t),"change"===l&&(t=!1!==(e?i.masterToggleBaskets(e):null)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(118,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),Di(119,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),_o(120,0,null,1,5,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(121,16384,[[124,4]],0,pv,[],null,null),(n()(),vo(16777216,null,null,1,null,Man)),Di(123,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Pan)),Di(125,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(126,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(127,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,0,1,null,Ean)),Di(129,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(130,0,null,1,22,"div",[["class","col-sm-6"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(131,0,null,null,10,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(132,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,130,{_tabs:1}),(n()(),_o(134,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(135,770048,[[130,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,131,{templateLabel:0}),ko(335544320,132,{_explicitContent:0}),(n()(),_o(138,0,null,0,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(139,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,Oan)),Di(141,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(142,0,null,null,10,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(143,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,145,{_tabs:1}),(n()(),_o(145,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(146,770048,[[145,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,146,{templateLabel:0}),ko(335544320,147,{_explicitContent:0}),(n()(),_o(149,0,null,0,3,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(150,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,Lan)),Di(152,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(153,0,null,1,0,"div",[["style","clear:both;"]],null,null,null,null,null)),(n()(),_o(154,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"]],(function(n,l,e){var t=!0;return"opened"===l&&(t=!1!==n.component.initMce()&&t),t}),eV,nV)),Di(155,1753088,[[3,4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,{opened:"opened"}),ko(603979776,160,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(158,0,null,0,10,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,159)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,159)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,159)._animationStarted()&&t),t}),aV,tV)),Di(159,180224,[[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(160,{collapsedHeight:0,expandedHeight:1}),Oo(161,{value:0,params:1}),(n()(),_o(162,0,null,0,4,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(163,16384,null,0,Zj,[],null,null),(n()(),_o(164,0,null,null,1,"mat-icon",[["class","fa fa-envelope mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:25px;width:50px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(165,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(166,null,[" "," "])),(n()(),vo(16777216,null,1,1,null,Ran)),Di(168,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(169,0,null,1,42,"div",[["class","col-sm-6"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(170,0,null,null,41,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,172).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,172).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.submitEmailSignature()&&t),t}),null,null)),Di(171,16384,null,0,yy,[],null,null),Di(172,4210688,[["emailSignatureForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(174,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(175,0,null,null,22,"div",[["class","row"],["style","margin-top:5px;"]],null,null,null,null,null)),(n()(),_o(176,0,null,null,21,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(177,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(178,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,161,{_controlNonStatic:0}),ko(335544320,162,{_controlStatic:0}),ko(603979776,163,{_labelChildNonStatic:0}),ko(335544320,164,{_labelChildStatic:0}),ko(603979776,165,{_placeholderChild:0}),ko(603979776,166,{_errorChildren:1}),ko(603979776,167,{_hintChildren:1}),ko(603979776,168,{_prefixChildren:1}),ko(603979776,169,{_suffixChildren:1}),(n()(),_o(188,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","title"],["required",""],["type","text"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,189)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,189).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,189)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,189)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,196)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,196)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,196)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.mailSignatureModel.title=e)&&t),t}),null,null)),Di(189,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(190,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(193,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(195,16384,null,0,y_,[[4,v_]],null,null),Di(196,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],type:[2,"type"]},null),Ei(2048,[[161,4],[162,4]],nT,null,[OT]),(n()(),_o(198,0,null,null,3,"div",[["class","row"],["style","margin-top:5px;"]],null,null,null,null,null)),(n()(),_o(199,0,null,null,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(200,0,null,null,1,"div",[["id","html_mode"],["style","display: block; width:100%;"]],null,null,null,null,null)),(n()(),_o(201,0,null,null,0,"textarea",[["cols","60"],["id","emailSignature"],["name","emailSignature"],["rows","15"],["style","width:100%"]],null,null,null,null,null)),(n()(),_o(202,0,null,null,9,"div",[["class","col-md-12 form-group"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(203,0,null,null,8,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Nan)),Di(205,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jan)),Di(207,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Van)),Di(209,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qan)),Di(211,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(212,0,null,1,2,"div",[["class","col-sm-6"],["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,zan)),Di(214,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(215,0,null,1,0,"div",[["style","clear:both;"]],null,null,null,null,null)),(n()(),_o(216,16777216,null,null,72,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(217,1753088,[[3,4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,179,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(220,0,null,0,10,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,221)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,221)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,221)._animationStarted()&&t),t}),aV,tV)),Di(221,180224,[[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(222,{collapsedHeight:0,expandedHeight:1}),Oo(223,{value:0,params:1}),(n()(),_o(224,0,null,0,4,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(225,16384,null,0,Zj,[],null,null),(n()(),_o(226,0,null,null,1,"mat-icon",[["class","fa fa-certificate mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:25px;width:50px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(227,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(228,null,[" "," "])),(n()(),vo(16777216,null,1,1,null,Uan)),Di(230,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(231,0,null,1,49,"div",[["style","overflow:hidden;"]],null,null,null,null,null)),(n()(),_o(232,16777216,null,null,3,"div",[["class","dndFile"],["dnd-droppable",""]],[[2,"dndFileHighlighted",null]],[[null,"click"],[null,"dragover"],[null,"dragleave"],[null,"onDropSuccess"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,233).show()&&t),"keydown"===l&&(t=!1!==bi(n,233)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,233)._handleTouchend()&&t),"click"===l&&(t=!1!==i.clickOnUploader("uploadSignFile")&&t),"dragover"===l&&(t=0!=(i.highlightMe=!0)&&t),"dragleave"===l&&(t=0!=(i.highlightMe=!1)&&t),"onDropSuccess"===l&&(i.dndUploadSignature(e),t=0!=(i.highlightMe=!1)&&t),t}),null,null)),Di(233,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(234,16384,null,0,lq,[Pe,KV,GV,Nl],null,{onDropSuccess:"onDropSuccess"}),(n()(),Lo(235,null,[" "," "])),(n()(),_o(236,0,null,null,44,"form",[["novalidate",""],["style","display:none;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,238).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,238).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.submitSignature()&&t),t}),null,null)),Di(237,16384,null,0,yy,[],null,null),Di(238,4210688,[["signatureForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(240,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(241,0,null,null,24,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(242,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(243,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,180,{_controlNonStatic:0}),ko(335544320,181,{_controlStatic:0}),ko(603979776,182,{_labelChildNonStatic:0}),ko(335544320,183,{_labelChildStatic:0}),ko(603979776,184,{_placeholderChild:0}),ko(603979776,185,{_errorChildren:1}),ko(603979776,186,{_hintChildren:1}),ko(603979776,187,{_prefixChildren:1}),ko(603979776,188,{_suffixChildren:1}),(n()(),_o(253,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","signature_label"],["matInput",""],["name","signature_label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,254)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,254).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,254)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,254)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,261)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,261)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,261)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.signatureModel.label=e)&&t),t}),null,null)),Di(254,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(255,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(258,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(260,16384,null,0,y_,[[4,v_]],null,null),Di(261,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[180,4],[181,4]],nT,null,[OT]),(n()(),_o(263,0,null,null,2,"div",[["class","form-inline hide"]],null,null,null,null,null)),(n()(),_o(264,0,null,null,1,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(265,0,null,null,0,"input",[["accept","image/*"],["id","uploadSignFile"],["name","files[]"],["type","file"]],null,[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.uploadSignatureTrigger(e)&&t),t}),null,null)),(n()(),_o(266,0,null,null,7,"div",[],null,null,null,null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(268,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Eo(269,1),(n()(),_o(270,0,null,null,3,"div",[["class","upload-drop-zone"],["style","cursor:pointer"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.clickOnUploader("uploadSignFile")&&t),t}),null,null)),(n()(),Lo(271,null,[" "," "])),(n()(),_o(272,0,null,null,0,"i",[["class","fa fa-upload fa-2x"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" ( < 2MB) "])),(n()(),vo(16777216,null,null,1,null,Ban)),Di(275,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(276,0,null,null,4,"div",[["class","col-md-12 form-group"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(277,0,null,null,3,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(278,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(279,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(280,0,["",""])),(n()(),_o(281,0,null,1,6,"div",[["style","display: flex;align-items: flex-start;"]],null,null,null,null,null)),(n()(),_o(282,0,null,null,2,"div",[["style","flex:1;overflow:hidden;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$an)),Di(284,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(285,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Han)),Di(287,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(288,0,null,1,0,"div",[["style","clear:both;"]],null,null,null,null,null)),(n()(),_o(289,16777216,null,null,219,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"]],(function(n,l,e){var t=!0;return"opened"===l&&(t=!1!==n.component.initGroupsContact()&&t),t}),eV,nV)),Di(290,1753088,[[3,4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,{opened:"opened"}),ko(603979776,198,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(293,0,null,0,10,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,294)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,294)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,294)._animationStarted()&&t),t}),aV,tV)),Di(294,180224,[[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(295,{collapsedHeight:0,expandedHeight:1}),Oo(296,{value:0,params:1}),(n()(),_o(297,0,null,0,4,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(298,16384,null,0,Zj,[],null,null),(n()(),_o(299,0,null,null,1,"mat-icon",[["class","fa fa-users mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size:25px;width:50px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(300,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),Lo(301,null,[" "," "])),(n()(),vo(16777216,null,1,1,null,Gan)),Di(303,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(304,0,null,1,203,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(n.component.changeTabContactGrp(e),t=!1!==bi(n,316).close()&&t),t}),LV,PV)),Di(305,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,199,{_tabs:1}),(n()(),_o(307,16777216,null,null,198,"mat-tab",[],null,null,null,BV,zV)),Di(308,770048,[[199,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,200,{templateLabel:0}),ko(335544320,201,{_explicitContent:0}),(n()(),_o(311,0,null,0,82,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(312,1720320,null,1,Qj,[],null,null),ko(603979776,202,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(315,16777216,null,null,78,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],[[null,"opened"]],(function(n,l,e){var t=!0;return"opened"===l&&(t=!1!==n.component.initGroupsContact()&&t),t}),eV,nV)),Di(316,1753088,[[3,4],["createGrpContPan",4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,{opened:"opened"}),ko(603979776,203,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(319,0,null,0,7,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,320)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,320)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,320)._animationStarted()&&t),t}),aV,tV)),Di(320,180224,[[202,4],[105,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(321,{collapsedHeight:0,expandedHeight:1}),Oo(322,{value:0,params:1}),(n()(),_o(323,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["color","primary"]],null,null,null,null,null)),Di(324,16384,null,0,Zj,[],null,null),(n()(),_o(325,0,null,null,1,"span",[["style","margin-top:5px;"]],null,null,null,null,null)),(n()(),Lo(326,null,["",""])),(n()(),_o(327,0,null,1,66,"form",[["class","form-horizontal"],["id","contactsGroupFormUp"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,329).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,329).onReset()&&t),"ngSubmit"===l&&(i.contactsGroupSubmit(),t=!1!==bi(n,316).close()&&t),t}),null,null)),Di(328,16384,null,0,yy,[],null,null),Di(329,4210688,[["contactsGroupFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(331,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(332,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(333,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(334,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(335,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,204,{_controlNonStatic:0}),ko(335544320,205,{_controlStatic:0}),ko(603979776,206,{_labelChildNonStatic:0}),ko(335544320,207,{_labelChildStatic:0}),ko(603979776,208,{_placeholderChild:0}),ko(603979776,209,{_errorChildren:1}),ko(603979776,210,{_hintChildren:1}),ko(603979776,211,{_prefixChildren:1}),ko(603979776,212,{_suffixChildren:1}),(n()(),_o(345,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","label"],["matInput",""],["maxlength","32"],["name","label"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,346)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,346).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,346)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,346)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,354)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,354)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,354)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.label=e)&&t),t}),null,null)),Di(346,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(347,16384,null,0,My,[],{required:[0,"required"]},null),Di(348,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(351,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(353,16384,null,0,y_,[[4,v_]],null,null),Di(354,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[204,4],[205,4]],nT,null,[OT]),(n()(),_o(356,0,null,null,23,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(357,0,null,null,22,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(358,0,null,null,21,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(359,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,213,{_controlNonStatic:0}),ko(335544320,214,{_controlStatic:0}),ko(603979776,215,{_labelChildNonStatic:0}),ko(335544320,216,{_labelChildStatic:0}),ko(603979776,217,{_placeholderChild:0}),ko(603979776,218,{_errorChildren:1}),ko(603979776,219,{_hintChildren:1}),ko(603979776,220,{_prefixChildren:1}),ko(603979776,221,{_suffixChildren:1}),(n()(),_o(369,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","description"],["matInput",""],["maxlength","255"],["name","description"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,370)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,370).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,370)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,370)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,378)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,378)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,378)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.description=e)&&t),t}),null,null)),Di(370,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(371,16384,null,0,My,[],{required:[0,"required"]},null),Di(372,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(375,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(377,16384,null,0,y_,[[4,v_]],null,null),Di(378,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[213,4],[214,4]],nT,null,[OT]),(n()(),_o(380,0,null,null,8,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(381,0,null,null,7,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(382,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"],["id","plubic"],["name","plubic"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,383)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.contactsGroup.public=e)&&t),t}),mV,pV)),Di(383,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],name:[1,"name"],id:[2,"id"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(385,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(387,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(388,0,[" ",""])),(n()(),_o(389,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(390,0,null,null,3,"div",[["class","col-sm-12"],["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(391,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(392,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(393,0,["",""])),(n()(),_o(394,0,null,0,111,"div",[["id","contactsGroupList"],["style","margin-top: 10px;"]],null,null,null,null,null)),(n()(),_o(395,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(396,0,null,null,14,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(397,0,null,null,13,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(398,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,222,{_controlNonStatic:0}),ko(335544320,223,{_controlStatic:0}),ko(603979776,224,{_labelChildNonStatic:0}),ko(335544320,225,{_labelChildStatic:0}),ko(603979776,226,{_placeholderChild:0}),ko(603979776,227,{_errorChildren:1}),ko(603979776,228,{_hintChildren:1}),ko(603979776,229,{_prefixChildren:1}),ko(603979776,230,{_suffixChildren:1}),(n()(),_o(408,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"keyup"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0,i=n.component;return"blur"===l&&(t=!1!==bi(n,409)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,409)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,409)._onInput()&&t),"keyup"===l&&(t=!1!==i.applyFilterGroupsList(e.target.value)&&t),t}),null,null)),Di(409,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[222,4],[223,4]],nT,null,[OT]),(n()(),_o(411,0,null,null,2,"div",[["class","col-md-6 col-xs-6"]],null,null,null,null,null)),(n()(),_o(412,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(413,245760,[[4,4],["paginatorGroupsList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(414,0,null,null,91,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","label"],["matSortDirection","asc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(416,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,231,{_contentColumnDefs:1}),ko(603979776,232,{_contentRowDefs:1}),ko(603979776,233,{_contentHeaderRowDefs:1}),ko(603979776,234,{_contentFooterRowDefs:1}),Di(421,737280,[[5,4],["tableGroupsListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(422,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(424,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,235,{cell:0}),ko(603979776,236,{headerCell:0}),ko(603979776,237,{footerCell:0}),Ei(2048,[[231,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Wan)),Di(430,16384,null,0,tR,[Xe],null,null),Ei(2048,[[236,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Kan)),Di(433,16384,null,0,eR,[Xe],null,null),Ei(2048,[[235,4]],OL,null,[eR]),(n()(),_o(435,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(437,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,238,{cell:0}),ko(603979776,239,{headerCell:0}),ko(603979776,240,{footerCell:0}),Ei(2048,[[231,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Yan)),Di(443,16384,null,0,tR,[Xe],null,null),Ei(2048,[[239,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,Jan)),Di(446,16384,null,0,eR,[Xe],null,null),Ei(2048,[[238,4]],OL,null,[eR]),(n()(),_o(448,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(450,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,241,{cell:0}),ko(603979776,242,{headerCell:0}),ko(603979776,243,{footerCell:0}),Ei(2048,[[231,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Zan)),Di(456,16384,null,0,tR,[Xe],null,null),Ei(2048,[[242,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,non)),Di(459,16384,null,0,eR,[Xe],null,null),Ei(2048,[[241,4]],OL,null,[eR]),(n()(),_o(461,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(463,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,244,{cell:0}),ko(603979776,245,{headerCell:0}),ko(603979776,246,{footerCell:0}),Ei(2048,[[231,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,lon)),Di(469,16384,null,0,tR,[Xe],null,null),Ei(2048,[[245,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,ion)),Di(472,16384,null,0,eR,[Xe],null,null),Ei(2048,[[244,4]],OL,null,[eR]),(n()(),_o(474,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(476,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,247,{cell:0}),ko(603979776,248,{headerCell:0}),ko(603979776,249,{footerCell:0}),Ei(2048,[[231,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,aon)),Di(482,16384,null,0,tR,[Xe],null,null),Ei(2048,[[248,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,oon)),Di(485,16384,null,0,eR,[Xe],null,null),Ei(2048,[[247,4]],OL,null,[eR]),(n()(),_o(487,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(489,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,250,{cell:0}),ko(603979776,251,{headerCell:0}),ko(603979776,252,{footerCell:0}),Ei(2048,[[231,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,ron)),Di(495,16384,null,0,tR,[Xe],null,null),Ei(2048,[[251,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,uon)),Di(498,16384,null,0,eR,[Xe],null,null),Ei(2048,[[250,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,son)),Di(501,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[233,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,con)),Di(504,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[232,4]],UL,null,[uR]),(n()(),vo(16777216,null,null,1,null,Eon)),Di(507,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(508,0,null,1,0,"div",[["style","clear:both;"]],null,null,null,null,null)),(n()(),_o(509,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(510,770048,[[19,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,322,{templateLabel:0}),ko(335544320,323,{_explicitContent:0}),(n()(),vo(0,[[323,2]],0,1,null,zon)),Di(514,16384,null,0,gV,[Xe],null,null)],(function(n,l){var e=l.component;n(l,3,0,e.selectedIndex),n(l,6,0,Wt(1,"",e.lang.myInformations,"")),n(l,10,0,e.showPassword),n(l,12,0,!e.showPassword),n(l,14,0,Wt(1,"",e.lang.myParameters,"")),n(l,32,0,"primary"),n(l,36,0,!e.appService.getViewMode()),n(l,53,0,"documentEdition",e.user.preferences.documentEdition),n(l,56,0),n(l,62,0,e.editorsList),n(l,77,0,"primary"),n(l,79,0,"primary"),n(l,83,0,!e.appService.getViewMode()),n(l,87,0,e.user.regroupedBaskets),n(l,89,0,e.myBasketExpansionPanel),n(l,99,0,"primary"),n(l,101,0,"primary"),n(l,104,0,!e.appService.getViewMode()),n(l,114,0,"primary"),n(l,118,0,"primary",e.selectionBaskets.hasValue()),n(l,119,0,Wt(1,"",e.lang.selectAll,"")),n(l,123,0,!e.selectionBaskets.hasValue()),n(l,125,0,e.selectionBaskets.hasValue()),n(l,129,0,e.user.baskets),n(l,135,0,Wt(1,"",e.lang.basketsRedirected,"")),n(l,141,0,e.user.redirectedBaskets),n(l,146,0,Wt(1,"",e.lang.basketsAssigned,"")),n(l,152,0,e.user.assignedBaskets),n(l,165,0,"primary"),n(l,168,0,!e.appService.getViewMode()),n(l,190,0,""),n(l,193,0,"title",e.mailSignatureModel.title),n(l,196,0,Wt(1,"",e.lang.label,""),"","text"),n(l,205,0,-1==e.mailSignatureModel.selected),n(l,207,0,-1!=e.mailSignatureModel.selected),n(l,209,0,-1!=e.mailSignatureModel.selected),n(l,211,0,-1!=e.mailSignatureModel.selected),n(l,214,0,e.user.emailSignatures),n(l,227,0,"primary"),n(l,230,0,!e.appService.getViewMode()),n(l,233,0,Wt(1,"",e.lang.uploadSignFileInfo,"")),n(l,255,0,""),n(l,258,0,"signature_label",e.signatureModel.label),n(l,261,0,"signature_label",Wt(1,"",e.lang.label,""),"","text");var t=n(l,269,0,""!=e.signatureModel.size?"col-md-10":"col-md-12");n(l,268,0,t),n(l,275,0,e.signatureModel.size),n(l,279,0,!bi(l,238).form.valid||!e.signatureModel.size,"primary"),n(l,284,0,e.user.signatures),n(l,287,0,e.user.signatures.length>0),n(l,300,0,"primary"),n(l,303,0,!e.appService.getViewMode()),n(l,305,0,e.selectedIndexContactsGrp),n(l,308,0,Wt(1,"",e.lang.contactGroupList,"")),n(l,347,0,""),n(l,348,0,"32"),n(l,351,0,"label",e.contactsGroup.label),n(l,354,0,"label",Wt(1,"",e.lang.label,""),"","text"),n(l,371,0,""),n(l,372,0,"255"),n(l,375,0,"description",e.contactsGroup.description),n(l,378,0,"description",Wt(1,"",e.lang.description,""),"","text"),n(l,383,0,"primary","plubic","plubic"),n(l,385,0,"plubic",e.contactsGroup.public),n(l,392,0,!bi(l,329).form.valid,"primary"),n(l,409,0,Wt(1,"",e.lang.filterBy,"")),n(l,413,0,100,5,!0),n(l,416,0,e.dataSourceGroupsList),n(l,421,0,"label","asc"),n(l,424,0,"label"),n(l,437,0,"description"),n(l,450,0,"nbContacts"),n(l,463,0,"public"),n(l,476,0,"owner"),n(l,489,0,"actions"),n(l,501,0,e.displayedColumnsGroupsList),n(l,504,0,e.displayedColumnsGroupsList),n(l,507,0,e.contactsListMode),n(l,510,0,Wt(1,"",e.lang.myHistoric,""))}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).dynamicHeight,"below"===bi(l,3).headerPosition),n(l,21,0,bi(l,22).expanded,"NoopAnimations"===bi(l,22)._animationMode,bi(l,22)._hasSpacing());var t=bi(l,26).panel._headerId,i=bi(l,26).disabled?-1:0,a=bi(l,26)._getPanelId(),o=bi(l,26)._isExpanded(),r=bi(l,26).panel.disabled,u=bi(l,26)._isExpanded(),s="after"===bi(l,26)._getTogglePosition(),c="before"===bi(l,26)._getTogglePosition(),d=bi(l,26)._animationsDisabled,p=n(l,28,0,bi(l,26)._getExpandedState(),n(l,27,0,bi(l,26).collapsedHeight,bi(l,26).expandedHeight));n(l,25,0,t,i,a,o,r,u,s,c,d,p),n(l,31,0,bi(l,32).inline,"primary"!==bi(l,32).color&&"accent"!==bi(l,32).color&&"warn"!==bi(l,32).color),n(l,34,0,e.lang.editorOption),n(l,38,0,e.lang.documentEditor),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[bi(l,55).ngClassUntouched,bi(l,55).ngClassTouched,bi(l,55).ngClassPristine,bi(l,55).ngClassDirty,bi(l,55).ngClassValid,bi(l,55).ngClassInvalid,bi(l,55).ngClassPending,bi(l,56).id,bi(l,56).tabIndex,bi(l,56)._getAriaLabel(),bi(l,56)._getAriaLabelledby(),bi(l,56).required.toString(),bi(l,56).disabled.toString(),bi(l,56).errorState,bi(l,56).panelOpen?bi(l,56)._optionIds:null,bi(l,56).multiple,bi(l,56)._ariaDescribedby||null,bi(l,56)._getAriaActiveDescendant(),bi(l,56).disabled,bi(l,56).errorState,bi(l,56).required,bi(l,56).empty]),n(l,63,0,"end"==bi(l,64).align,bi(l,64).id,null),n(l,65,0,e.lang["documentEditor_"+e.user.preferences.documentEdition]),n(l,66,0,bi(l,67).expanded,"NoopAnimations"===bi(l,67)._animationMode,bi(l,67)._hasSpacing());var m=bi(l,71).panel._headerId,f=bi(l,71).disabled?-1:0,h=bi(l,71)._getPanelId(),g=bi(l,71)._isExpanded(),b=bi(l,71).panel.disabled,v=bi(l,71)._isExpanded(),_="after"===bi(l,71)._getTogglePosition(),y="before"===bi(l,71)._getTogglePosition(),w=bi(l,71)._animationsDisabled,x=n(l,73,0,bi(l,71)._getExpandedState(),n(l,72,0,bi(l,71).collapsedHeight,bi(l,71).expandedHeight));n(l,70,0,m,f,h,g,b,v,_,y,w,x),n(l,76,0,bi(l,77).inline,"primary"!==bi(l,77).color&&"accent"!==bi(l,77).color&&"warn"!==bi(l,77).color),n(l,78,0,bi(l,79).inline,"primary"!==bi(l,79).color&&"accent"!==bi(l,79).color&&"warn"!==bi(l,79).color),n(l,81,0,e.lang.basketsColor),n(l,88,0,bi(l,89).expanded,"NoopAnimations"===bi(l,89)._animationMode,bi(l,89)._hasSpacing());var C=bi(l,93).panel._headerId,k=bi(l,93).disabled?-1:0,S=bi(l,93)._getPanelId(),I=bi(l,93)._isExpanded(),A=bi(l,93).panel.disabled,M=bi(l,93)._isExpanded(),P="after"===bi(l,93)._getTogglePosition(),D="before"===bi(l,93)._getTogglePosition(),F=bi(l,93)._animationsDisabled,E=n(l,95,0,bi(l,93)._getExpandedState(),n(l,94,0,bi(l,93).collapsedHeight,bi(l,93).expandedHeight));n(l,92,0,C,k,S,I,A,M,P,D,F,E),n(l,98,0,bi(l,99).inline,"primary"!==bi(l,99).color&&"accent"!==bi(l,99).color&&"warn"!==bi(l,99).color),n(l,100,0,bi(l,101).inline,"primary"!==bi(l,101).color&&"accent"!==bi(l,101).color&&"warn"!==bi(l,101).color),n(l,102,0,e.lang.myBaskets),n(l,108,0,bi(l,109)._avatar||bi(l,109)._icon,bi(l,109)._avatar||bi(l,109)._icon),n(l,113,0,bi(l,114).inline,"primary"!==bi(l,114).color&&"accent"!==bi(l,114).color&&"warn"!==bi(l,114).color),n(l,116,0,bi(l,118).id,null,bi(l,118).indeterminate,bi(l,118).checked,bi(l,118).disabled,"before"==bi(l,118).labelPosition,"NoopAnimations"===bi(l,118)._animationMode),n(l,126,0,bi(l,127).vertical?"vertical":"horizontal",bi(l,127).vertical,!bi(l,127).vertical,bi(l,127).inset),n(l,131,0,bi(l,132).dynamicHeight,"below"===bi(l,132).headerPosition),n(l,142,0,bi(l,143).dynamicHeight,"below"===bi(l,143).headerPosition),n(l,154,0,bi(l,155).expanded,"NoopAnimations"===bi(l,155)._animationMode,bi(l,155)._hasSpacing());var O=bi(l,159).panel._headerId,T=bi(l,159).disabled?-1:0,L=bi(l,159)._getPanelId(),R=bi(l,159)._isExpanded(),N=bi(l,159).panel.disabled,j=bi(l,159)._isExpanded(),V="after"===bi(l,159)._getTogglePosition(),q="before"===bi(l,159)._getTogglePosition(),z=bi(l,159)._animationsDisabled,U=n(l,161,0,bi(l,159)._getExpandedState(),n(l,160,0,bi(l,159).collapsedHeight,bi(l,159).expandedHeight));n(l,158,0,O,T,L,R,N,j,V,q,z,U),n(l,164,0,bi(l,165).inline,"primary"!==bi(l,165).color&&"accent"!==bi(l,165).color&&"warn"!==bi(l,165).color),n(l,166,0,e.lang.mySignMail),n(l,170,0,bi(l,174).ngClassUntouched,bi(l,174).ngClassTouched,bi(l,174).ngClassPristine,bi(l,174).ngClassDirty,bi(l,174).ngClassValid,bi(l,174).ngClassInvalid,bi(l,174).ngClassPending),n(l,177,1,["standard"==bi(l,178).appearance,"fill"==bi(l,178).appearance,"outline"==bi(l,178).appearance,"legacy"==bi(l,178).appearance,bi(l,178)._control.errorState,bi(l,178)._canLabelFloat,bi(l,178)._shouldLabelFloat(),bi(l,178)._hasFloatingLabel(),bi(l,178)._hideControlPlaceholder(),bi(l,178)._control.disabled,bi(l,178)._control.autofilled,bi(l,178)._control.focused,"accent"==bi(l,178).color,"warn"==bi(l,178).color,bi(l,178)._shouldForward("untouched"),bi(l,178)._shouldForward("touched"),bi(l,178)._shouldForward("pristine"),bi(l,178)._shouldForward("dirty"),bi(l,178)._shouldForward("valid"),bi(l,178)._shouldForward("invalid"),bi(l,178)._shouldForward("pending"),!bi(l,178)._animationsEnabled]),n(l,188,1,[bi(l,190).required?"":null,bi(l,195).ngClassUntouched,bi(l,195).ngClassTouched,bi(l,195).ngClassPristine,bi(l,195).ngClassDirty,bi(l,195).ngClassValid,bi(l,195).ngClassInvalid,bi(l,195).ngClassPending,bi(l,196)._isServer,bi(l,196).id,bi(l,196).placeholder,bi(l,196).disabled,bi(l,196).required,bi(l,196).readonly&&!bi(l,196)._isNativeSelect||null,bi(l,196)._ariaDescribedby||null,bi(l,196).errorState,bi(l,196).required.toString()]),n(l,216,0,bi(l,217).expanded,"NoopAnimations"===bi(l,217)._animationMode,bi(l,217)._hasSpacing());var B=bi(l,221).panel._headerId,$=bi(l,221).disabled?-1:0,H=bi(l,221)._getPanelId(),G=bi(l,221)._isExpanded(),W=bi(l,221).panel.disabled,K=bi(l,221)._isExpanded(),Y="after"===bi(l,221)._getTogglePosition(),J="before"===bi(l,221)._getTogglePosition(),Z=bi(l,221)._animationsDisabled,Q=n(l,223,0,bi(l,221)._getExpandedState(),n(l,222,0,bi(l,221).collapsedHeight,bi(l,221).expandedHeight));n(l,220,0,B,$,H,G,W,K,Y,J,Z,Q),n(l,226,0,bi(l,227).inline,"primary"!==bi(l,227).color&&"accent"!==bi(l,227).color&&"warn"!==bi(l,227).color),n(l,228,0,e.lang.mySignSignatureBook),n(l,232,0,e.highlightMe),n(l,235,0,e.lang.uploadSignFile),n(l,236,0,bi(l,240).ngClassUntouched,bi(l,240).ngClassTouched,bi(l,240).ngClassPristine,bi(l,240).ngClassDirty,bi(l,240).ngClassValid,bi(l,240).ngClassInvalid,bi(l,240).ngClassPending),n(l,242,1,["standard"==bi(l,243).appearance,"fill"==bi(l,243).appearance,"outline"==bi(l,243).appearance,"legacy"==bi(l,243).appearance,bi(l,243)._control.errorState,bi(l,243)._canLabelFloat,bi(l,243)._shouldLabelFloat(),bi(l,243)._hasFloatingLabel(),bi(l,243)._hideControlPlaceholder(),bi(l,243)._control.disabled,bi(l,243)._control.autofilled,bi(l,243)._control.focused,"accent"==bi(l,243).color,"warn"==bi(l,243).color,bi(l,243)._shouldForward("untouched"),bi(l,243)._shouldForward("touched"),bi(l,243)._shouldForward("pristine"),bi(l,243)._shouldForward("dirty"),bi(l,243)._shouldForward("valid"),bi(l,243)._shouldForward("invalid"),bi(l,243)._shouldForward("pending"),!bi(l,243)._animationsEnabled]),n(l,253,1,[Wt(1,"",e.lang.label,""),bi(l,255).required?"":null,bi(l,260).ngClassUntouched,bi(l,260).ngClassTouched,bi(l,260).ngClassPristine,bi(l,260).ngClassDirty,bi(l,260).ngClassValid,bi(l,260).ngClassInvalid,bi(l,260).ngClassPending,bi(l,261)._isServer,bi(l,261).id,bi(l,261).placeholder,bi(l,261).disabled,bi(l,261).required,bi(l,261).readonly&&!bi(l,261)._isNativeSelect||null,bi(l,261)._ariaDescribedby||null,bi(l,261).errorState,bi(l,261).required.toString()]),n(l,271,0,e.lang.clickOn),n(l,278,0,bi(l,279).disabled||null,"NoopAnimations"===bi(l,279)._animationMode),n(l,280,0,e.lang.save),n(l,289,0,bi(l,290).expanded,"NoopAnimations"===bi(l,290)._animationMode,bi(l,290)._hasSpacing());var X=bi(l,294).panel._headerId,nn=bi(l,294).disabled?-1:0,ln=bi(l,294)._getPanelId(),en=bi(l,294)._isExpanded(),tn=bi(l,294).panel.disabled,an=bi(l,294)._isExpanded(),on="after"===bi(l,294)._getTogglePosition(),rn="before"===bi(l,294)._getTogglePosition(),un=bi(l,294)._animationsDisabled,sn=n(l,296,0,bi(l,294)._getExpandedState(),n(l,295,0,bi(l,294).collapsedHeight,bi(l,294).expandedHeight));n(l,293,0,X,nn,ln,en,tn,an,on,rn,un,sn),n(l,299,0,bi(l,300).inline,"primary"!==bi(l,300).color&&"accent"!==bi(l,300).color&&"warn"!==bi(l,300).color),n(l,301,0,e.lang.myContactsGroups),n(l,304,0,bi(l,305).dynamicHeight,"below"===bi(l,305).headerPosition),n(l,315,0,bi(l,316).expanded,"NoopAnimations"===bi(l,316)._animationMode,bi(l,316)._hasSpacing());var cn=bi(l,320).panel._headerId,dn=bi(l,320).disabled?-1:0,pn=bi(l,320)._getPanelId(),mn=bi(l,320)._isExpanded(),fn=bi(l,320).panel.disabled,hn=bi(l,320)._isExpanded(),gn="after"===bi(l,320)._getTogglePosition(),bn="before"===bi(l,320)._getTogglePosition(),vn=bi(l,320)._animationsDisabled,_n=n(l,322,0,bi(l,320)._getExpandedState(),n(l,321,0,bi(l,320).collapsedHeight,bi(l,320).expandedHeight));n(l,319,0,cn,dn,pn,mn,fn,hn,gn,bn,vn,_n),n(l,326,0,e.lang.contactGroupCreate),n(l,327,0,bi(l,331).ngClassUntouched,bi(l,331).ngClassTouched,bi(l,331).ngClassPristine,bi(l,331).ngClassDirty,bi(l,331).ngClassValid,bi(l,331).ngClassInvalid,bi(l,331).ngClassPending),n(l,334,1,["standard"==bi(l,335).appearance,"fill"==bi(l,335).appearance,"outline"==bi(l,335).appearance,"legacy"==bi(l,335).appearance,bi(l,335)._control.errorState,bi(l,335)._canLabelFloat,bi(l,335)._shouldLabelFloat(),bi(l,335)._hasFloatingLabel(),bi(l,335)._hideControlPlaceholder(),bi(l,335)._control.disabled,bi(l,335)._control.autofilled,bi(l,335)._control.focused,"accent"==bi(l,335).color,"warn"==bi(l,335).color,bi(l,335)._shouldForward("untouched"),bi(l,335)._shouldForward("touched"),bi(l,335)._shouldForward("pristine"),bi(l,335)._shouldForward("dirty"),bi(l,335)._shouldForward("valid"),bi(l,335)._shouldForward("invalid"),bi(l,335)._shouldForward("pending"),!bi(l,335)._animationsEnabled]),n(l,345,1,[Wt(1,"",e.lang.label,""),bi(l,347).required?"":null,bi(l,348).maxlength?bi(l,348).maxlength:null,bi(l,353).ngClassUntouched,bi(l,353).ngClassTouched,bi(l,353).ngClassPristine,bi(l,353).ngClassDirty,bi(l,353).ngClassValid,bi(l,353).ngClassInvalid,bi(l,353).ngClassPending,bi(l,354)._isServer,bi(l,354).id,bi(l,354).placeholder,bi(l,354).disabled,bi(l,354).required,bi(l,354).readonly&&!bi(l,354)._isNativeSelect||null,bi(l,354)._ariaDescribedby||null,bi(l,354).errorState,bi(l,354).required.toString()]),n(l,358,1,["standard"==bi(l,359).appearance,"fill"==bi(l,359).appearance,"outline"==bi(l,359).appearance,"legacy"==bi(l,359).appearance,bi(l,359)._control.errorState,bi(l,359)._canLabelFloat,bi(l,359)._shouldLabelFloat(),bi(l,359)._hasFloatingLabel(),bi(l,359)._hideControlPlaceholder(),bi(l,359)._control.disabled,bi(l,359)._control.autofilled,bi(l,359)._control.focused,"accent"==bi(l,359).color,"warn"==bi(l,359).color,bi(l,359)._shouldForward("untouched"),bi(l,359)._shouldForward("touched"),bi(l,359)._shouldForward("pristine"),bi(l,359)._shouldForward("dirty"),bi(l,359)._shouldForward("valid"),bi(l,359)._shouldForward("invalid"),bi(l,359)._shouldForward("pending"),!bi(l,359)._animationsEnabled]),n(l,369,1,[Wt(1,"",e.lang.description,""),bi(l,371).required?"":null,bi(l,372).maxlength?bi(l,372).maxlength:null,bi(l,377).ngClassUntouched,bi(l,377).ngClassTouched,bi(l,377).ngClassPristine,bi(l,377).ngClassDirty,bi(l,377).ngClassValid,bi(l,377).ngClassInvalid,bi(l,377).ngClassPending,bi(l,378)._isServer,bi(l,378).id,bi(l,378).placeholder,bi(l,378).disabled,bi(l,378).required,bi(l,378).readonly&&!bi(l,378)._isNativeSelect||null,bi(l,378)._ariaDescribedby||null,bi(l,378).errorState,bi(l,378).required.toString()]),n(l,382,1,[Wt(1,"",e.lang.contactsGroupDesc,""),bi(l,383).id,bi(l,383).disabled?null:-1,bi(l,383).checked,bi(l,383).disabled,"before"==bi(l,383).labelPosition,"NoopAnimations"===bi(l,383)._animationMode,bi(l,387).ngClassUntouched,bi(l,387).ngClassTouched,bi(l,387).ngClassPristine,bi(l,387).ngClassDirty,bi(l,387).ngClassValid,bi(l,387).ngClassInvalid,bi(l,387).ngClassPending]),n(l,388,0,e.lang.public),n(l,391,0,bi(l,392).disabled||null,"NoopAnimations"===bi(l,392)._animationMode),n(l,393,0,e.lang.save),n(l,397,1,["standard"==bi(l,398).appearance,"fill"==bi(l,398).appearance,"outline"==bi(l,398).appearance,"legacy"==bi(l,398).appearance,bi(l,398)._control.errorState,bi(l,398)._canLabelFloat,bi(l,398)._shouldLabelFloat(),bi(l,398)._hasFloatingLabel(),bi(l,398)._hideControlPlaceholder(),bi(l,398)._control.disabled,bi(l,398)._control.autofilled,bi(l,398)._control.focused,"accent"==bi(l,398).color,"warn"==bi(l,398).color,bi(l,398)._shouldForward("untouched"),bi(l,398)._shouldForward("touched"),bi(l,398)._shouldForward("pristine"),bi(l,398)._shouldForward("dirty"),bi(l,398)._shouldForward("valid"),bi(l,398)._shouldForward("invalid"),bi(l,398)._shouldForward("pending"),!bi(l,398)._animationsEnabled]),n(l,408,0,bi(l,409)._isServer,bi(l,409).id,bi(l,409).placeholder,bi(l,409).disabled,bi(l,409).required,bi(l,409).readonly&&!bi(l,409)._isNativeSelect||null,bi(l,409)._ariaDescribedby||null,bi(l,409).errorState,bi(l,409).required.toString())}))}function Bon(n){return jo(0,[(n()(),_o(0,0,null,null,35,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,346,{_lines:1}),ko(603979776,347,{_avatar:0}),ko(603979776,348,{_icon:0}),(n()(),_o(5,0,null,0,2,"mat-icon",[["class","fa fa-users mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(7,16384,[[348,4]],0,iI,[],null,null),(n()(),_o(8,0,null,1,2,"h4",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(9,16384,[[346,4]],0,pv,[],null,null),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,1,24,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(12,16384,[[346,4]],0,pv,[],null,null),(n()(),_o(13,0,null,null,22,"mat-form-field",[["class","mat-form-field"],["style","font-size:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,349,{_controlNonStatic:0}),ko(335544320,350,{_controlStatic:0}),ko(603979776,351,{_labelChildNonStatic:0}),ko(335544320,352,{_labelChildStatic:0}),ko(603979776,353,{_placeholderChild:0}),ko(603979776,354,{_errorChildren:1}),ko(603979776,355,{_hintChildren:1}),ko(603979776,356,{_prefixChildren:1}),ko(603979776,357,{_suffixChildren:1}),(n()(),_o(24,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","role"],["matInput",""],["name","role"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,25)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,25)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,25)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.role=e)&&t),t}),null,null)),Di(25,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(27,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(29,16384,null,0,y_,[[4,v_]],null,null),Di(30,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],type:[3,"type"]},null),Ei(2048,[[349,4],[350,4]],nT,null,[OT]),(n()(),_o(32,16777216,null,6,3,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,34).show()&&t),"keydown"===l&&(t=!1!==bi(n,34)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,34)._handleTouchend()&&t),t}),null,null)),Di(33,16384,[[355,4]],0,tT,[],null,null),Di(34,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),Lo(35,null,["",""]))],(function(n,l){var e=l.component;n(l,6,0,"primary"),n(l,27,0,"role","",l.context.$implicit.role),n(l,30,0,"","role",Wt(1,"",e.lang.role,""),"text"),n(l,34,0,Wt(1,"",e.lang.perimeter,""))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,10,0,l.context.$implicit.group_desc),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,24,1,[Wt(1,"",e.lang.role,""),bi(l,29).ngClassUntouched,bi(l,29).ngClassTouched,bi(l,29).ngClassPristine,bi(l,29).ngClassDirty,bi(l,29).ngClassValid,bi(l,29).ngClassInvalid,bi(l,29).ngClassPending,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()]),n(l,32,0,"end"==bi(l,33).align,bi(l,33).id,null),n(l,35,0,l.context.$implicit.maarch_comment)}))}function $on(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-sitemap mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[360,4]],0,iI,[],null,null)],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function Hon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-sitemap mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","position:relative;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(2,16384,[[360,4]],0,iI,[],null,null)],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function Gon(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label label-primary"],["style","font-weight:normal"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.primary)}))}function Won(n){return jo(0,[(n()(),_o(0,0,null,null,38,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,358,{_lines:1}),ko(603979776,359,{_avatar:0}),ko(603979776,360,{_icon:0}),(n()(),vo(16777216,null,0,1,null,$on)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Hon)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,16777216,null,1,8,"h4",[["class","mat-line"],["mat-line",""]],null,[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,13).show()&&t),"keydown"===l&&(t=!1!==bi(n,13)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,13)._handleTouchend()&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(11,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(12,{"font-weight":0}),Di(13,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(14,16384,[[358,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Gon)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,1,20,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(19,16384,[[358,4]],0,pv,[],null,null),(n()(),_o(20,0,null,null,18,"mat-form-field",[["class","mat-form-field"],["style","font-size:10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(21,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,361,{_controlNonStatic:0}),ko(335544320,362,{_controlStatic:0}),ko(603979776,363,{_labelChildNonStatic:0}),ko(335544320,364,{_labelChildStatic:0}),ko(603979776,365,{_placeholderChild:0}),ko(603979776,366,{_errorChildren:1}),ko(603979776,367,{_hintChildren:1}),ko(603979776,368,{_prefixChildren:1}),ko(603979776,369,{_suffixChildren:1}),(n()(),_o(31,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","role"],["matInput",""],["name","role"],["type","text"]],[[8,"title",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,32)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,32).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,32)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,32)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,37)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,37)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,37)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.context.$implicit.user_role=e)&&t),t}),null,null)),Di(32,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(34,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(36,16384,null,0,y_,[[4,v_]],null,null),Di(37,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],placeholder:[2,"placeholder"],type:[3,"type"]},null),Ei(2048,[[361,4],[362,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,6,0,"Y"==l.context.$implicit.primary_entity),n(l,8,0,"Y"!=l.context.$implicit.primary_entity);var t=n(l,12,0,"Y"==l.context.$implicit.primary_entity?"bold":"normal");n(l,11,0,t),n(l,13,0,Wt(1,"",l.context.$implicit.entity_label,"")),n(l,17,0,"Y"==l.context.$implicit.primary_entity),n(l,34,0,"role","",l.context.$implicit.user_role),n(l,37,0,"","role",Wt(1,"",e.lang.role,""),"text")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,15,0,l.context.$implicit.entity_label),n(l,20,1,["standard"==bi(l,21).appearance,"fill"==bi(l,21).appearance,"outline"==bi(l,21).appearance,"legacy"==bi(l,21).appearance,bi(l,21)._control.errorState,bi(l,21)._canLabelFloat,bi(l,21)._shouldLabelFloat(),bi(l,21)._hasFloatingLabel(),bi(l,21)._hideControlPlaceholder(),bi(l,21)._control.disabled,bi(l,21)._control.autofilled,bi(l,21)._control.focused,"accent"==bi(l,21).color,"warn"==bi(l,21).color,bi(l,21)._shouldForward("untouched"),bi(l,21)._shouldForward("touched"),bi(l,21)._shouldForward("pristine"),bi(l,21)._shouldForward("dirty"),bi(l,21)._shouldForward("valid"),bi(l,21)._shouldForward("invalid"),bi(l,21)._shouldForward("pending"),!bi(l,21)._animationsEnabled]),n(l,31,1,[Wt(1,"",e.lang.role,""),bi(l,36).ngClassUntouched,bi(l,36).ngClassTouched,bi(l,36).ngClassPristine,bi(l,36).ngClassDirty,bi(l,36).ngClassValid,bi(l,36).ngClassInvalid,bi(l,36).ngClassPending,bi(l,37)._isServer,bi(l,37).id,bi(l,37).placeholder,bi(l,37).disabled,bi(l,37).required,bi(l,37).readonly&&!bi(l,37)._isNativeSelect||null,bi(l,37)._ariaDescribedby||null,bi(l,37).errorState,bi(l,37).required.toString()])}))}function Kon(n){return jo(0,[Fi(0,Rs,[ba]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{viewPanels:1}),ko(671088640,4,{paginatorGroupsList:0}),ko(671088640,5,{sortGroupsList:0}),ko(671088640,6,{paginatorGroupsListAutocomplete:0}),ko(671088640,7,{paginatorContactsList:0}),ko(671088640,8,{sortContactsList:0}),ko(671088640,9,{paginatorHistory:0}),ko(671088640,10,{sortHistory:0}),(n()(),_o(11,0,null,null,37,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(12,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,11,{_drawers:1}),ko(603979776,12,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,man)),(n()(),_o(16,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(17,1294336,[[12,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(18,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(20,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(22,114688,null,0,GO,[_u],null,null),(n()(),_o(23,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(25,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(26,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(27,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(28,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,fan)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Uon)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(33,0,null,0,15,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["position","end"],["style","overflow-x:hidden;max-width:500px;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,34)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,34)._animationDoneListener(e)&&t),t}),zO,qO)),Di(34,3325952,[[11,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"],fixedTopGap:[4,"fixedTopGap"]},null),(n()(),_o(35,0,null,0,13,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(36,704512,null,0,tI,[Pe],null,null),(n()(),_o(37,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(38,16384,null,0,aI,[],null,null),(n()(),Lo(39,null,["",""])),(n()(),vo(16777216,null,0,1,null,Bon)),Di(41,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(42,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(43,49152,null,0,mI,[],null,null),(n()(),_o(44,0,null,0,2,"h3",[["class","mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(45,16384,null,0,aI,[],null,null),(n()(),Lo(46,null,["",""])),(n()(),vo(16777216,null,0,1,null,Won)),Di(48,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,12,0,""),n(l,17,0),n(l,22,0),n(l,25,0),n(l,30,0,e.loading),n(l,32,0,!e.loading),n(l,34,0,"end",e.appService.getViewMode()?"over":"side",!e.appService.getViewMode(),e.appService.getViewMode(),"56"),n(l,41,0,e.user.groups),n(l,48,0,e.user.entities)}),(function(n,l){var e=l.component;n(l,11,0,bi(l,12)._backdropOverride),n(l,16,0,bi(l,17)._container._contentMargins.left,bi(l,17)._container._contentMargins.right),n(l,19,0,e.appService.getViewMode()),n(l,26,0,e.appService.getViewMode()),n(l,27,0,e.appService.getViewMode()),n(l,33,0,null,"end"===bi(l,34).position,"over"===bi(l,34).mode,"push"===bi(l,34).mode,"side"===bi(l,34).mode,bi(l,34).opened,bi(l,34).fixedInViewport,bi(l,34).fixedInViewport?bi(l,34).fixedTopGap:null,bi(l,34).fixedInViewport?bi(l,34).fixedBottomGap:null,bi(l,34)._animationState),n(l,39,0,e.lang.groups),n(l,42,0,bi(l,43).vertical?"vertical":"horizontal",bi(l,43).vertical,!bi(l,43).vertical,bi(l,43).inset),n(l,46,0,e.lang.entities)}))}function Yon(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,Kon,dan)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,can,[nS,La,tu,Jv,Oy,_u,yu,lt,$S],null,null)],(function(n,l){n(l,2,0)}),null)}var Jon=oi("ng-component",can,Yon,{},{},[]),Zon=function(){function n(n,l){this.headerService=n,this.appService=l,this.lang=Kr,this.loading=!1,$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){this.headerService.setHeader(this.lang.aboutUs),this.applicationVersion=angularGlobals.applicationVersion,this.loading=!1},n}(),Qon=yt({encapsulation:0,styles:[[".img_credits_maarch_box[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}"]],data:{}});function Xon(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function nrn(n){return jo(0,[(n()(),_o(0,0,null,null,97,"mat-card",[["class","card-app-content mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,80,"div",[["class","col-sm-8"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Lo(4,null,["Maarch Courrier "," "])),(n()(),_o(5,0,null,null,0,"hr",[],null,null,null,null,null)),(n()(),_o(6,0,null,null,2,"p",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(8,null,["Copyright © 2008-2020 Maarch SAS ",""])),(n()(),_o(9,0,null,null,4,"p",[],null,null,null,null,null)),(n()(),Lo(10,null,[""," "])),(n()(),_o(11,0,null,null,1,"a",[["href","http://www.gnu.org/licenses/gpl-3.0-standalone.html"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["licence GNU GPLv3"])),(n()(),Lo(-1,null,["."])),(n()(),_o(14,0,null,null,13,"div",[],null,null,null,null,null)),(n()(),_o(15,0,null,null,12,"ul",[],null,null,null,null,null)),(n()(),_o(16,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),Lo(17,null,[""," : "])),(n()(),_o(18,0,null,null,1,"a",[["href","https://maarch.com/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["https://maarch.com"])),(n()(),_o(20,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),Lo(21,null,[""," : "])),(n()(),_o(22,0,null,null,1,"a",[["href","https://community.maarch.org/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["https://community.maarch.org"])),(n()(),_o(24,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),Lo(25,null,[""," : "])),(n()(),_o(26,0,null,null,1,"a",[["href","https://docs.maarch.org/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["https://docs.maarch.org"])),(n()(),_o(28,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(30,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Lo(31,null,["",""])),(n()(),_o(32,0,null,null,0,"hr",[],null,null,null,null,null)),(n()(),_o(33,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(34,null,["",""])),(n()(),_o(35,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(37,0,null,null,45,"ul",[],null,null,null,null,null)),(n()(),_o(38,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(39,0,null,null,1,"a",[["href","https://angular.io/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Angular"])),(n()(),_o(41,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(42,0,null,null,1,"a",[["href","https://material.angular.io/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Angular Material"])),(n()(),_o(44,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(45,0,null,null,1,"a",[["href","http://getbootstrap.com/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Bootstrap"])),(n()(),_o(47,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(48,0,null,null,1,"a",[["href","http://www.chartjs.org/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Chart.js"])),(n()(),_o(50,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(51,0,null,null,1,"a",[["href","http://fortawesome.github.io/Font-Awesome/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Font Awesome"])),(n()(),_o(53,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(54,0,null,null,1,"a",[["href","http://www.fpdf.org/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Fpdf"])),(n()(),_o(56,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(57,0,null,null,1,"a",[["href","http://www.setasign.de/products/pdf-php-solutions/fpdi/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["fpdi"])),(n()(),_o(59,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(60,0,null,null,1,"a",[["href","https://jquery.com/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Jquery"])),(n()(),_o(62,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(63,0,null,null,1,"a",[["href","https://github.com/running-coder/jquery-typeahead"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Jquery Typeahead"])),(n()(),_o(65,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(66,0,null,null,1,"a",[["href","http://logging.apache.org/log4php/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["log4php"])),(n()(),_o(68,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(69,0,null,null,1,"a",[["href","http://chir.ag/tech/download/pdfb"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Pdfb"])),(n()(),_o(71,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(72,0,null,null,1,"a",[["href","http://www.foolabs.com/xpdf/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Pdftotext"])),(n()(),_o(74,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(75,0,null,null,1,"a",[["href","http://www.tinybutstrong.com/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Tiny But Strong"])),(n()(),_o(77,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(78,0,null,null,1,"a",[["href","http://www.tinymce.com/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["TinyMCE"])),(n()(),_o(80,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(81,0,null,null,1,"a",[["href","http://framework.zend.com/"],["target","blank"]],null,null,null,null,null)),(n()(),Lo(-1,null,["Zend Lucene Search"])),(n()(),_o(83,0,null,0,14,"div",[["class","col-sm-4"]],null,null,null,null,null)),(n()(),_o(84,0,null,null,1,"h3",[],null,null,null,null,null)),(n()(),Lo(-1,null,["Crédits"])),(n()(),_o(86,0,null,null,0,"hr",[],null,null,null,null,null)),(n()(),_o(87,0,null,null,6,"ul",[],null,null,null,null,null)),(n()(),_o(88,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(-1,null,["Florian AZIZIAN, Damien BUREL, Bruno CARLIN, Carole COTIN, Prosper DE LAURE, Driss DEMIRAY, Gaël DE VILLEBLANCHE, Emmanuel DILLARD, Mathieu DONZEL, Jean-Louis ERCOLANI, Claire FIGUERAS, Laurent GIOVANNONI, Guillaume HEURTIER, Henri QUENEAU, Kader KANE, Yves-Christian KPAKPO, Alexandre MORIN, Sébastien NANABONDJA, Fodé NDIAYE, Cédric NDOUMBA, Alex ORLUC, Alexis RAGOT, Alexandre STEFANOVIC, Serge THIERRY-MIEG, Cyril VAZQUEZ, Arnaud VEBER, Loic VINET"])),(n()(),_o(90,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(91,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(92,0,null,null,1,"em",[],null,null,null,null,null)),(n()(),Lo(93,null,["",""])),(n()(),_o(94,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(96,0,null,null,1,"div",[["class","img_credits_maarch_box"]],null,null,null,null,null)),(n()(),_o(97,0,null,null,0,"img",[["src","static.php?filename=maarch_box.png"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,e.applicationVersion),n(l,8,0,e.lang.groupeCompany),n(l,10,0,e.lang.maarchLicence),n(l,17,0,e.lang.officialWebsite),n(l,21,0,e.lang.community),n(l,25,0,e.lang.documentation),n(l,31,0,e.lang.externalComponents),n(l,34,0,e.lang.thanksToExtDev),n(l,93,0,e.lang.thanksToCommunity)}))}function lrn(n){return jo(0,[(n()(),_o(0,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,1,{_drawers:1}),ko(603979776,2,{_content:0}),(n()(),_o(4,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[2,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(10,114688,null,0,GO,[_u],null,null),(n()(),_o(11,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(13,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(14,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(15,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Xon)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nrn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0),n(l,13,0),n(l,18,0,e.loading),n(l,20,0,!e.loading)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,7,0,e.appService.getViewMode()),n(l,14,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode())}))}function ern(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,lrn,Qon)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,Zon,[_u,yu],null,null)],(function(n,l){n(l,2,0)}),null)}var trn=oi("ng-component",Zon,ern,{},{},[]),irn=function(){function n(n,l,e,t){this.http=n,this.dialog=l,this.notify=e,this.headerService=t,this.lang=Kr,this.loading=!0,this.userList=[],this.displayedColumns=["id","title"],this.maarchParapheurUrl="",this.triggerEvent=new la,this.dataSource=new mR(this.userList)}return n.prototype.ngOnInit=function(){this.loading=!0},n.prototype.ngAfterViewInit=function(){var n=this;this.http.get("../../rest/home/maarchParapheurDocuments").pipe(iu((function(){return n.loading=!1}))).subscribe((function(l){setTimeout((function(){n.dataSource=new mR(l.documents),n.maarchParapheurUrl=l.url,n.triggerEvent.emit(l.count.current)}),0)}),(function(l){n.notify.handleErrors(l)}))},n.prototype.goTo=function(n){window.open(this.maarchParapheurUrl+"/dist/index.html#/documents/"+n.id,"_blank")},n}(),arn=yt({encapsulation:0,styles:[[".noResult[_ngcontent-%COMP%]{padding:10px;text-align:center;opacity:.5}"]],data:{}});function orn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function rrn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","width:15%;text-align:center;overflow:hidden;text-overflow: ellipsis;white-space: nowrap;padding: 5px;vertical-align: middle;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,5,"div",[["style","overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,4,"mat-icon",[["class","fas fa-2x mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(5,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(6,{"fa-file-signature":0,"fa-thumbs-up":1,"fa-comment-dots":2}),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(8,0,null,null,1,"div",[["style","padding-top: 5px;color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(9,null,[" "," "]))],(function(n,l){var e=n(l,6,0,"sign"==l.context.$implicit.mode,"visa"==l.context.$implicit.mode,"note"==l.context.$implicit.mode);n(l,5,0,"fas fa-2x",e),n(l,7,0,"primary")}),(function(n,l){n(l,3,0,Wt(1,"",l.component.lang["to_"+l.context.$implicit.mode],""),bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,8,0,Wt(1,"",l.context.$implicit.reference,"")),n(l,9,0,l.context.$implicit.reference)}))}function urn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","width:45%;overflow:hidden;text-overflow: ellipsis;padding: 5px;vertical-align: middle;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"div",[["style","overflow: hidden;line-height: 1.5em;height: 3em;overflow: hidden;"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(3,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){n(l,2,0,Wt(1,"",l.context.$implicit.title,"")),n(l,4,0,l.context.$implicit.title)}))}function srn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goTo(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function crn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noResult"]],null,null,null,null,null)),(n()(),Lo(1,null,[" ","\n"]))],null,(function(n,l){n(l,1,0,l.component.lang.noResult)}))}function drn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,orn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(2,0,null,null,30,"table",[["class","mat-table"],["mat-table",""],["matSort",""],["matSortActive","id"],["matSortDirection","asc"],["matSortDisableClear",""],["style","width:100%;table-layout: fixed;"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(4,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,1,{_contentColumnDefs:1}),ko(603979776,2,{_contentRowDefs:1}),ko(603979776,3,{_contentHeaderRowDefs:1}),ko(603979776,4,{_contentFooterRowDefs:1}),Di(9,737280,null,0,kL,[],{active:[0,"active"],direction:[1,"direction"],disableClear:[2,"disableClear"]},null),(n()(),_o(10,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(12,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,5,{cell:0}),ko(603979776,6,{headerCell:0}),ko(603979776,7,{footerCell:0}),Ei(2048,[[1,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,rrn)),Di(18,16384,null,0,eR,[Xe],null,null),Ei(2048,[[5,4]],OL,null,[eR]),(n()(),_o(20,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(22,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,8,{cell:0}),ko(603979776,9,{headerCell:0}),ko(603979776,10,{footerCell:0}),Ei(2048,[[1,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,urn)),Di(28,16384,null,0,eR,[Xe],null,null),Ei(2048,[[8,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,srn)),Di(31,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[2,4]],UL,null,[uR]),(n()(),vo(16777216,null,null,1,null,crn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.loading),n(l,4,0,e.dataSource),n(l,9,0,"id","asc",""),n(l,12,0,"id"),n(l,22,0,"title"),n(l,31,0,e.displayedColumns),n(l,34,0,0===e.dataSource.filteredData.length)}),null)}var prn=function(){function n(n,l){this.changeDetectorRef=n,this.ngZone=l,this.lang=Kr}return n.prototype.transform=function(n,l){var e=this;void 0===l&&(l=null),this.removeTimer();var t=new Date(n),i=("0"+t.getDate()).slice(-2),a=("0"+(t.getMonth()+1)).slice(-2),o=(("0"+t.getHours()).slice(-2),("0"+t.getMinutes()).slice(-2),new Date),r=[];r[0]=this.lang.januaryShort,r[1]=this.lang.februaryShort,r[2]=this.lang.marchShort,r[3]=this.lang.aprilShort,r[4]=this.lang.mayShort,r[5]=this.lang.juneShort,r[6]=this.lang.julyShort,r[7]=this.lang.augustShort,r[8]=this.lang.septemberShort,r[9]=this.lang.octoberShort,r[10]=this.lang.novemberShort,r[11]=this.lang.decemberShort;var u=Math.round(Math.abs((o.getTime()-t.getTime())/1e3)),s=("0"+o.getDate()).slice(-2),c=Number.isNaN(u)?1e3:1e3*this.getSecondsUntilUpdate(u);this.timer=this.ngZone.runOutsideAngular((function(){return"undefined"!=typeof window?window.setTimeout((function(){e.ngZone.run((function(){return e.changeDetectorRef.markForCheck()}))}),c):null}));var d=Math.round(Math.abs(u/60)),p=Math.round(Math.abs(d/60)),m=Math.round(Math.abs(p/24));return Math.round(Math.abs(m/30.416)),Math.round(Math.abs(m/365)),null==n?"<span>"+this.lang.undefined+"</span>":o>t?this.getFormatedDate("","badge"===l?p<=24&&i===s?"<b>"+this.lang.outdated+" "+this.lang.fromRange.toLowerCase()+" "+p+" "+this.lang.hours+" !</b>":p<=24?"<b>"+this.lang.outdated+" "+this.lang.fromRange.toLowerCase()+" "+p+" "+this.lang.hours+" !</b>":"<b>"+this.lang.outdated+" "+this.lang.fromRange.toLowerCase()+" "+m+" "+this.lang.dayS+" !</b>":"<b>"+this.lang.outdated+" !</b>","warn",l):Number.isNaN(u)?"":d<=59?this.getFormatedDate(this.lang.in[0].toUpperCase()+this.lang.in.substr(1).toLowerCase(),d+" "+this.lang.minutes,"warn",l):p<=23?this.getFormatedDate(this.lang.in[0].toUpperCase()+this.lang.in.substr(1).toLowerCase(),p+" "+this.lang.hours,"warn",l):m<=5?this.getFormatedDate(this.lang.in[0].toUpperCase()+this.lang.in.substr(1).toLowerCase(),m+" "+this.lang.dayS,"secondary",l):m<=345?this.getFormatedDate(this.lang.onRange[0].toUpperCase()+this.lang.onRange.substr(1).toLowerCase(),t.getDate()+" "+r[t.getMonth()],"accent",l):i+"/"+a+"/"+t.getFullYear()},n.prototype.ngOnDestroy=function(){this.removeTimer()},n.prototype.removeTimer=function(){this.timer&&(window.clearTimeout(this.timer),this.timer=null)},n.prototype.getSecondsUntilUpdate=function(n){return n<60?2:n<3600?30:n<86400?300:3600},n.prototype.getFormatedDate=function(n,l,e,t){return"badge"===t?n+" "+l+' <i class="fas fa-circle badgePipe_'+e+'"></i>':'<span color="'+e+'">'+l+"</span>"},n}(),mrn=function(){function n(n,l,e,t,i,a,o){this.http=n,this.dialog=l,this.sanitizer=e,this.notify=t,this.headerService=i,this.appService=a,this.router=o,this.lang=Kr,this.loading=!1,this.docUrl="",this.currentDate="",this.nbMpDocs=0,this.displayedColumns=["res_id","subject","creation_date"],$j("link[href='merged_css.php']").remove(),window.pdfWorkerSrc="../../node_modules/pdfjs-dist/build/pdf.worker.min.js"}return n.prototype.ngOnInit=function(){var n=this;this.headerService.user.changePassword&&(this.headerService.hideSideBar=!0,this.router.navigate(["/password-modification"])),this.loading=!0,this.appService.getViewMode()&&(this.displayedColumns=["res_id","subject"]),this.headerService.setHeader(this.lang.home);var l=new Date;this.currentDate=l.toLocaleDateString(this.lang.langISO,{weekday:"long",year:"numeric",month:"long",day:"numeric"}),this.http.get("../../rest/home").subscribe((function(l){n.homeData=l,n.homeMessage=l.homeMessage}))},n.prototype.ngAfterViewInit=function(){var n=this;this.http.get("../../rest/home/lastRessources").subscribe((function(l){setTimeout((function(){n.dataSource=new mR(l.lastResources),n.loading=!1}),0)}))},n.prototype.viewDocument=function(n){window.open("../../rest/resources/"+n.res_id+"/content?mode=view","_blank")},n.prototype.viewThumbnail=function(n){var l=+new Date;this.thumbnailUrl="../../rest/resources/"+n.res_id+"/thumbnail?tsp="+l,$j("#viewThumbnail").show(),$j("#listContent").css({overflow:"hidden"})},n.prototype.closeThumbnail=function(){$j("#viewThumbnail").hide(),$j("#listContent").css({overflow:"auto"})},n.prototype.goToDetail=function(n){var l=this;this.http.get("../../rest/resources/"+n.res_id+"/isAllowed").subscribe((function(e){e.isAllowed?l.router.navigate(["/resources/"+n.res_id]):l.notify.error(l.lang.documentOutOfPerimeter)}),(function(){l.notify.error(l.lang.errorOccured)}))},n.prototype.updateNbMpDocs=function(n){this.nbMpDocs=n},n}(),frn=yt({encapsulation:0,styles:[[".first_col[_ngcontent-%COMP%]{position:relative;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:5px;vertical-align:middle}.noDoc[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{color:#666;opacity:.5}.watermark[_ngcontent-%COMP%]{position:absolute;left:50%;-webkit-transform:translateX(-50%) rotate(-20deg);transform:translateX(-50%) rotate(-20deg);color:red;font-weight:700;opacity:.6}"]],data:{}});function hrn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"mat-card",[["class","mat-card"],["style","background: #135F7F;color: white;box-shadow: none;border: solid 2px white;width: 100%;border-radius: 20px;padding-bottom: 40px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,2,"div",[["style","display: flex;max-height: 250px;overflow: auto;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"div",[["style","padding-left: 10px;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(5,0,null,0,4,"div",[["style","text-align: right;opacity: 0.5;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,3,"button",[["mat-button",""],["routerLink","/about-us"],["style","position:absolute;font-size:10px;right: 0px;bottom: 0px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,7).onClick()&&t),t}),PC,MC)),Di(7,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(9,0,["",""]))],(function(n,l){n(l,7,0,"/about-us")}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,4,0,e.homeMessage),n(l,6,0,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,e.lang.aboutUs)}))}function grn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","mat-badge"],["matBadgeOverlap","false"]],[[2,"noDoc",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,null,null)),Di(1,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{overlap:[0,"overlap"],content:[1,"content"]},null),(n()(),Lo(2,null,["",""]))],(function(n,l){n(l,1,0,"false",Wt(1,"",l.component.nbMpDocs,""))}),(function(n,l){var e=l.component;n(l,0,1,[0===e.nbMpDocs,bi(l,1).overlap,bi(l,1).isAbove(),!bi(l,1).isAbove(),!bi(l,1).isAfter(),bi(l,1).isAfter(),"small"===bi(l,1).size,"medium"===bi(l,1).size,"large"===bi(l,1).size,bi(l,1).hidden||!bi(l,1)._hasContent,bi(l,1).disabled]),n(l,2,0,e.lang.maarchParapheurDocuments)}))}function brn(n){return jo(0,[(n()(),_o(0,16777216,null,null,8,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[4,4]],2,vV,[lt],null,null),ko(603979776,5,{templateLabel:0}),ko(335544320,6,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,grn)),Di(5,16384,[[5,4]],0,bV,[Xe,lt],null,null),(n()(),_o(6,0,null,0,2,"app-maarch-parapheur-list",[],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.updateNbMpDocs(e)&&t),t}),drn,arn)),Ei(512,null,tu,tu,[uf,hk]),Di(8,4308992,null,0,irn,[nS,Jv,tu,_u],null,{triggerEvent:"triggerEvent"}),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0),n(l,8,0)}),null)}function vrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function _rn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["style","color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;"]],[[8,"id",0],[8,"title",0]],null,null,null,null)),Fo(1,2),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-calendar"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component,t=Wt(1,"",l.parent.context.$implicit.res_id,"_creation_date"),i=Wt(1,"",bt(l,0,1,n(l,1,0,bi(l.parent.parent.parent.parent,0),l.parent.context.$implicit.creation_date,e.lang.onRange+" dd/MM/y "+e.lang.atRange+" HH:mm")),"");n(l,0,0,t,i),n(l,2,0,Wt(1,"",e.lang.creationDate,"")),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.context.$implicit.creation_date)))}))}function yrn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","watermark"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.confidential)}))}function wrn(n){return jo(0,[(n()(),_o(0,0,null,null,16,"td",[["class","first_col mat-cell"],["mat-cell",""],["role","gridcell"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{width:0}),Di(4,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,_rn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,7,"div",[["style","overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"className",0],[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(10,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(11,{color:0}),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(16777216,null,null,1,null,yrn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,1,"div",[["style","padding-top: 5px;color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(16,null,[" "," "]))],(function(n,l){var e=l.component,t=n(l,3,0,e.appService.getViewMode()?"30%":"15%");n(l,2,0,t),n(l,6,0,null==l.context.$implicit.closing_date&&e.appService.getViewMode());var i=n(l,11,0,l.context.$implicit.priority_color);n(l,10,0,i),n(l,12,0,"primary"),n(l,14,0,"Y"===l.context.$implicit.confidentiality)}),(function(n,l){var e=Wt(5,"",l.context.$implicit.status_icon.charAt(0),"",l.context.$implicit.status_icon.charAt(1)," ",l.context.$implicit.status_icon," ",l.context.$implicit.status_icon.charAt(0),"",l.context.$implicit.status_icon.charAt(1),"-2x");n(l,8,0,e,Wt(2,"",l.context.$implicit.status_label," (",l.context.$implicit.status_id,")"),bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,15,0,Wt(2,"",l.context.$implicit.alt_identifier," (n°",l.context.$implicit.res_id,")")),n(l,16,0,l.context.$implicit.alt_identifier)}))}function xrn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["style","color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;text-align: right;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-stopwatch"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(3,0,null,null,2,"span",[],[[8,"innerHTML",1],[8,"title",0]],null,null,null,null)),Fi(131072,prn,[Nl,La]),Fo(5,2)],null,(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.processLimitDate,""));var t=bt(l,3,0,bi(l,4).transform(l.parent.context.$implicit.process_limit_date)),i=Wt(1,"",bt(l,3,1,n(l,5,0,bi(l.parent.parent.parent.parent,0),l.parent.context.$implicit.process_limit_date,e.lang.onRange+" dd/MM/y "+e.lang.atRange+" HH:mm")),"");n(l,3,0,t,i)}))}function Crn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","width:45%;overflow:hidden;text-overflow: ellipsis;padding: 5px;vertical-align: middle;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,xrn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,2,"div",[["style","overflow: hidden;line-height: 1.5em;height: 3em;overflow: hidden;"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],(function(n,l){n(l,3,0,null==l.context.$implicit.closing_date&&l.component.appService.getViewMode())}),(function(n,l){n(l,4,0,Wt(1,"",l.context.$implicit.subject,"")),n(l,6,0,l.context.$implicit.subject)}))}function krn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["style","color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;"]],[[8,"id",0],[8,"title",0]],null,null,null,null)),Fo(1,2),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-calendar"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component,t=Wt(1,"",l.parent.context.$implicit.res_id,"_creation_date"),i=Wt(1,"",bt(l,0,1,n(l,1,0,bi(l.parent.parent.parent.parent,0),l.parent.context.$implicit.creation_date,e.lang.onRange+" dd/MM/y "+e.lang.atRange+" HH:mm")),"");n(l,0,0,t,i),n(l,2,0,Wt(1,"",e.lang.creationDate,"")),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.context.$implicit.creation_date)))}))}function Srn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["style","color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-stopwatch"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(3,0,null,null,2,"span",[],[[8,"innerHTML",1],[8,"title",0]],null,null,null,null)),Fi(131072,prn,[Nl,La]),Fo(5,2)],null,(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.processLimitDate,""));var t=bt(l,3,0,bi(l,4).transform(l.parent.context.$implicit.process_limit_date)),i=Wt(1,"",bt(l,3,1,n(l,5,0,bi(l.parent.parent.parent.parent,0),l.parent.context.$implicit.process_limit_date,e.lang.onRange+" dd/MM/y "+e.lang.atRange+" HH:mm")),"");n(l,3,0,t,i)}))}function Irn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["style","color: rgba(0,0,0,0.4);font-size: 90%;overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-lock"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(3,0,null,null,3,"span",[],[[8,"title",0]],null,null,null,null)),Fo(4,2),(n()(),Lo(5,null,["",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.closingDate,""));var t=Wt(1,"",bt(l,3,0,n(l,4,0,bi(l.parent.parent.parent.parent,0),l.parent.context.$implicit.closing_date,e.lang.onRange+" dd/MM/y "+e.lang.atRange+" HH:mm")),"");n(l,3,0,t),n(l,5,0,bt(l,5,0,bi(l,6).transform(l.parent.context.$implicit.closing_date)))}))}function Arn(n){return jo(0,[(n()(),_o(0,0,null,null,15,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","text-align: right;width:15%;overflow:hidden;text-overflow: ellipsis;white-space: nowrap;padding: 5px;vertical-align: middle;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,krn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Srn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Irn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),_o(9,0,null,null,6,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.viewDocument(n.context.$implicit)&&t),"mouseenter"===l&&(t=!1!==i.viewThumbnail(n.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.closeThumbnail()&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(11,0,null,0,4,"mat-icon",[["class","fa mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(13,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(14,1),Di(15,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,3,0,null==l.context.$implicit.closing_date),n(l,5,0,null==l.context.$implicit.closing_date),n(l,7,0,null!=l.context.$implicit.closing_date),n(l,10,0,!l.context.$implicit.hasDocument);var e=n(l,14,0,l.context.$implicit.hasDocument?"fa-eye":"fa-eye-slash");n(l,13,0,"fa",e),n(l,15,0,"primary")}),(function(n,l){var e=l.component;n(l,9,0,Wt(1,"",l.context.$implicit.hasDocument?e.lang.viewResource:e.lang.noDocument,""),bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,bi(l,15).inline,"primary"!==bi(l,15).color&&"accent"!==bi(l,15).color&&"warn"!==bi(l,15).color)}))}function Mrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"tr",[["class","mat-row"],["mat-row",""],["role","row"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goToDetail(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function Prn(n){return jo(0,[(n()(),_o(0,0,null,null,40,"table",[["class","mat-table"],["mat-table",""],["matSort",""],["matSortActive","res_id"],["matSortDirection","asc"],["matSortDisableClear",""],["style","width:100%;table-layout: fixed;"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(2,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,9,{_contentColumnDefs:1}),ko(603979776,10,{_contentRowDefs:1}),ko(603979776,11,{_contentHeaderRowDefs:1}),ko(603979776,12,{_contentFooterRowDefs:1}),Di(7,737280,null,0,kL,[],{active:[0,"active"],direction:[1,"direction"],disableClear:[2,"disableClear"]},null),(n()(),_o(8,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(10,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,13,{cell:0}),ko(603979776,14,{headerCell:0}),ko(603979776,15,{footerCell:0}),Ei(2048,[[9,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,wrn)),Di(16,16384,null,0,eR,[Xe],null,null),Ei(2048,[[13,4]],OL,null,[eR]),(n()(),_o(18,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(20,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,16,{cell:0}),ko(603979776,17,{headerCell:0}),ko(603979776,18,{footerCell:0}),Ei(2048,[[9,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Crn)),Di(26,16384,null,0,eR,[Xe],null,null),Ei(2048,[[16,4]],OL,null,[eR]),(n()(),_o(28,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(30,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,19,{cell:0}),ko(603979776,20,{headerCell:0}),ko(603979776,21,{footerCell:0}),Ei(2048,[[9,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Arn)),Di(36,16384,null,0,eR,[Xe],null,null),Ei(2048,[[19,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Mrn)),Di(39,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[10,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,2,0,e.dataSource),n(l,7,0,"res_id","asc",""),n(l,10,0,"res_id"),n(l,20,0,"subject"),n(l,30,0,"creation_date"),n(l,39,0,e.displayedColumns)}),null)}function Drn(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[4,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,7,{templateLabel:0}),ko(335544320,8,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,vrn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Prn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.myLastResources,"")),n(l,5,0,e.loading),n(l,7,0,!e.loading)}),null)}function Frn(n){return jo(0,[Fi(0,Rs,[ba]),ko(671088640,1,{viewPanels:1}),(n()(),_o(2,0,null,null,28,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(6,0,null,1,24,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(7,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(8,0,null,0,2,"mat-card",[["class","mat-card"],["id","viewThumbnail"],["style","display:none;position: fixed;z-index: 2;margin-left: 1px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(9,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(10,0,null,0,0,"img",[["style","max-height: 100vh;"]],[[8,"src",4]],null,null,null,null)),(n()(),_o(11,0,null,0,10,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(15,114688,null,0,GO,[_u],null,null),(n()(),_o(16,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(18,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(19,0,null,null,2,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,hrn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,0,8,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(23,0,null,null,7,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,6,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(25,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,null),ko(603979776,4,{_tabs:1}),(n()(),vo(16777216,null,null,1,null,brn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Drn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,""),n(l,7,0),n(l,15,0),n(l,18,0),n(l,21,0,e.homeMessage),n(l,28,0,void 0!==e.homeData&&e.homeData.isLinkedToMaarchParapheur),n(l,30,0,void 0!==e.homeData)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,6,0,bi(l,7)._container._contentMargins.left,bi(l,7)._container._contentMargins.right),n(l,8,0,"NoopAnimations"===bi(l,9)._animationMode),n(l,10,0,Wt(1,"",e.thumbnailUrl,"")),n(l,12,0,e.appService.getViewMode()),n(l,19,0,e.appService.getViewMode()),n(l,22,0,e.appService.getViewMode()),n(l,24,0,bi(l,25).dynamicHeight,"below"===bi(l,25).headerPosition)}))}function Ern(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,Frn,frn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,4308992,null,0,mrn,[nS,Jv,Ed,tu,_u,yu,uf],null,null)],(function(n,l){n(l,2,0)}),null)}var Orn=oi("ng-component",mrn,Ern,{},{},[]),Trn=function(){function n(){this.listsProperties=[],this.listsPropertiesIndex=0,this.filterMode=!1,this.mode="basket"}return n.prototype.initListsProperties=function(n,l,e,t,i){var a,o=this;return void 0===i&&(i=""),this.listsProperties=JSON.parse(sessionStorage.getItem("propertyList"+t)),this.listsPropertiesIndex=0,this.mode=t,null!=this.listsProperties?this.listsProperties.forEach((function(t,i){t.id==n&&t.groupId==l&&t.targetId==e&&(o.listsPropertiesIndex=i,a=t)})):this.listsProperties=[],a&&""===i||(this.listsProperties.push(a={id:n,groupId:l,targetId:e,page:"0",pageSize:10,order:"",orderDir:"DESC",search:i,delayed:!1,categories:[],priorities:[],entities:[],subEntities:[],statuses:[],doctypes:[],folders:[]}),this.listsPropertiesIndex=this.listsProperties.length-1,this.saveListsProperties()),a},n.prototype.updateListsPropertiesPage=function(n){this.listsProperties&&(this.listsProperties[this.listsPropertiesIndex].page=n,this.saveListsProperties())},n.prototype.updateListsPropertiesPageSize=function(n){this.listsProperties&&(this.listsProperties[this.listsPropertiesIndex].pageSize=n,this.saveListsProperties())},n.prototype.updateListsProperties=function(n){this.listsProperties&&(this.listsProperties[this.listsPropertiesIndex]=n,this.saveListsProperties())},n.prototype.saveListsProperties=function(){sessionStorage.setItem("propertyList"+this.mode,JSON.stringify(this.listsProperties))},n.prototype.getUrlFilters=function(){var n="";if(this.listsProperties){if(this.listsProperties[this.listsPropertiesIndex].delayed&&(n+="&delayed=true"),this.listsProperties[this.listsPropertiesIndex].order.length>0&&(n+="&order="+this.listsProperties[this.listsPropertiesIndex].order+" "+this.listsProperties[this.listsPropertiesIndex].orderDir),this.listsProperties[this.listsPropertiesIndex].search.length>0&&(n+="&search="+this.listsProperties[this.listsPropertiesIndex].search),this.listsProperties[this.listsPropertiesIndex].categories.length>0){var l=[];this.listsProperties[this.listsPropertiesIndex].categories.forEach((function(n){l.push(n.id)})),n+="&categories="+l.join(",")}if(this.listsProperties[this.listsPropertiesIndex].priorities.length>0){var e=[];this.listsProperties[this.listsPropertiesIndex].priorities.forEach((function(n){e.push(n.id)})),n+="&priorities="+e.join(",")}if(this.listsProperties[this.listsPropertiesIndex].statuses.length>0){var t=[];this.listsProperties[this.listsPropertiesIndex].statuses.forEach((function(n){t.push(n.id)})),n+="&statuses="+t.join(",")}if(this.listsProperties[this.listsPropertiesIndex].entities.length>0){var i=[];this.listsProperties[this.listsPropertiesIndex].entities.forEach((function(n){i.push(n.id)})),n+="&entities="+i.join(",")}if(this.listsProperties[this.listsPropertiesIndex].subEntities.length>0){var a=[];this.listsProperties[this.listsPropertiesIndex].subEntities.forEach((function(n){a.push(n.id)})),n+="&entitiesChildren="+a.join(",")}if(this.listsProperties[this.listsPropertiesIndex].doctypes.length>0){var o=[];this.listsProperties[this.listsPropertiesIndex].doctypes.forEach((function(n){o.push(n.id)})),n+="&doctypes="+o.join(",")}if(this.listsProperties[this.listsPropertiesIndex].folders.length>0){var r=[];this.listsProperties[this.listsPropertiesIndex].folders.forEach((function(n){r.push(n.id)})),n+="&folders="+r.join(",")}}return n},n}(),Lrn=function(){function n(n,l,e,t,i){var a=this;this.http=n,this.filtersListService=l,this.fb=e,this.latinisePipe=t,this.dialog=i,this.lang=Kr,this.stateForm=this.fb.group({stateGroup:""}),this.displayColsOrder=[{id:"dest_user"},{id:"category_id"},{id:"creation_date"},{id:"process_limit_date"},{id:"entity_label"},{id:"subject"},{id:"alt_identifier"},{id:"priority"},{id:"status"},{id:"type_label"}],this.priorities=[],this.categories=[],this.entitiesList=[],this.statuses=[],this.metaSearchInput="",this.stateGroups=[],this.isLoading=!1,this.refreshEvent=new la,this.refreshEventAfterAction=new la,this.toggleAllRes=new la,this._filter=function(n,l){if("string"==typeof l){var e=l.toLowerCase();return n.filter((function(n){return-1!=a.latinisePipe.transform(n.label.toLowerCase()).indexOf(a.latinisePipe.transform(e))}))}}}return n.prototype.ngOnInit=function(){},n.prototype._filterGroup=function(n){var l=this;return n&&"string"==typeof n?this.stateGroups.map((function(e){return{letter:e.letter,names:l._filter(e.names,n)}})).filter((function(n){return n.names.length>0})):this.stateGroups},n.prototype.changeOrderDir=function(){this.listProperties.orderDir="ASC"==this.listProperties.orderDir?"DESC":"ASC",this.updateFilters()},n.prototype.updateFilters=function(){this.listProperties.page=0,this.filtersListService.updateListsProperties(this.listProperties),this.refreshEvent.emit()},n.prototype.refreshAfterAction=function(){this.refreshEventAfterAction.emit()},n.prototype.setFilters=function(n,l){this.listProperties[l]=n.source.checked,this.updateFilters()},n.prototype.selectFilter=function(n){this.listProperties[n.option.value.id].push({id:n.option.value.value,label:n.option.value.label}),$j(".metaSearch").blur(),this.stateForm.controls.stateGroup.reset(),this.updateFilters()},n.prototype.metaSearch=function(n){this.listProperties.search=n.target.value,$j(".metaSearch").blur(),this.stateForm.controls.stateGroup.reset(),this.autocomplete.closePanel(),this.updateFilters()},n.prototype.removeFilter=function(n,l){this.listProperties[n].splice(l,1),this.updateFilters()},n.prototype.removeFilters=function(){var n=this;Object.keys(this.listProperties).forEach((function(l){Array.isArray(n.listProperties[l])?n.listProperties[l]=[]:"search"==l&&(n.listProperties[l]="")})),this.updateFilters()},n.prototype.haveFilters=function(){var n=this,l=!1;return Object.keys(this.listProperties).forEach((function(e){(Array.isArray(n.listProperties[e])&&n.listProperties[e].length>0||"search"==e&&""!=n.listProperties[e])&&(l=!0)})),l},n.prototype.setInputSearch=function(n){$j(".metaSearch").focus(),this.metaSearchInput=n},n.prototype.initFilters=function(){var n=this;this.isLoading=!0,this.stateForm.controls.stateGroup.reset(),this.stateGroups=[{letter:this.lang.categories,names:[]},{letter:this.lang.priorities,names:[]},{letter:this.lang.statuses,names:[]},{letter:this.lang.entities,names:[]},{letter:this.lang.subEntities,names:[]},{letter:this.lang.doctypes,names:[]},{letter:this.lang.folders,names:[]}],this.http.get("../.."+this.routeDatas+"?init"+this.filtersListService.getUrlFilters()).subscribe((function(l){l.categories.forEach((function(l){-1===n.listProperties.categories.map((function(n){return n.id})).indexOf(l.id)&&n.stateGroups[0].names.push({id:"categories",value:l.id,label:null!==l.id?l.label:n.lang.undefined,count:l.count})})),l.priorities.forEach((function(l){-1===n.listProperties.priorities.map((function(n){return n.id})).indexOf(l.id)&&n.stateGroups[1].names.push({id:"priorities",value:l.id,label:null!==l.id?l.label:n.lang.undefined,count:l.count})})),l.statuses.forEach((function(l){-1===n.listProperties.statuses.map((function(n){return n.id})).indexOf(l.id)&&n.stateGroups[2].names.push({id:"statuses",value:l.id,label:null!==l.id?l.label:n.lang.undefined,count:l.count})})),l.entities.forEach((function(l){-1===n.listProperties.entities.map((function(n){return n.id})).indexOf(l.entityId)&&0==n.listProperties.subEntities&&n.stateGroups[3].names.push({id:"entities",value:l.entityId,label:null!==l.entityId?l.label:n.lang.undefined,count:l.count})})),l.entitiesChildren.forEach((function(l){-1===n.listProperties.subEntities.map((function(n){return n.id})).indexOf(l.entityId)&&0==n.listProperties.entities&&n.stateGroups[4].names.push({id:"subEntities",value:l.entityId,label:null!==l.entityId?l.label:n.lang.undefined,count:l.count})})),l.doctypes.forEach((function(l){-1===n.listProperties.doctypes.map((function(n){return n.id})).indexOf(l.id)&&n.stateGroups[5].names.push({id:"doctypes",value:l.id,label:null!==l.id?l.label:n.lang.undefined,count:l.count})})),l.folders.forEach((function(l){-1===n.listProperties.folders.map((function(n){return n.id})).indexOf(l.id)&&n.stateGroups[6].names.push({id:"folders",value:l.id,label:null!==l.id?l.label:n.lang.undefined,count:l.count})})),n.isLoading=!1,n.metaSearchInput.length>0&&setTimeout((function(){n.stateForm.controls.stateGroup.setValue(n.metaSearchInput),n.metaSearchInput=""}),200)})),this.stateGroupOptions=this.stateForm.get("stateGroup").valueChanges.pipe(Pc(""),q((function(l){return n._filterGroup(l)})))},n}(),Rrn=yt({encapsulation:0,styles:[[".filtersContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.filtersContent[_ngcontent-%COMP%] .filterTool[_ngcontent-%COMP%], .filtersContent[_ngcontent-%COMP%] .orderTool[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.basket-search[_ngcontent-%COMP%]{color:#666;width:500px;padding-right:10px;height:55px}.basket-search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:30px}.basket-search[_ngcontent-%COMP%] .mat-form-field-infix{padding-bottom:15px}.basket-search[_ngcontent-%COMP%] .mat-form-field-flex{background:#fff;border-radius:30px}.basket-search[_ngcontent-%COMP%] .mat-form-field-label-wrapper{font-style:italic}.basket-search[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.basket-search[_ngcontent-%COMP%] .processLimitButton[_ngcontent-%COMP%]{color:#666;position:absolute;top:-32px;left:-47px;border-radius:30px}.basket-search[_ngcontent-%COMP%] .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:#f99830!important;color:#fff}.basket-order[_ngcontent-%COMP%]{color:#fff;width:300px;padding-left:10px;padding-right:10px;height:55px}.basket-order[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:30px}.basket-order[_ngcontent-%COMP%] .mat-select-value{color:#fff}.basket-order[_ngcontent-%COMP%] .mat-form-field-infix{padding-bottom:15px}.basket-order[_ngcontent-%COMP%] .mat-form-field-flex{background:#135f7f;border:2px solid #fff;border-radius:30px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.basket-order[_ngcontent-%COMP%] .mat-form-field-prefix{padding-left:15px;padding-right:10px}.basket-order[_ngcontent-%COMP%] .mat-form-field-label-wrapper{color:#fff}.basket-order[_ngcontent-%COMP%] .mat-select-arrow{color:#fff;margin-right:25px}.basket-order[_ngcontent-%COMP%] .mat-form-field-underline{display:none}.ascDescTool[_ngcontent-%COMP%] .mat-fab[_ngcontent-%COMP%]{background:#135f7f;border:2px solid #fff;color:#fff!important;box-shadow:none}.filterOptionContent[_ngcontent-%COMP%] .mat-option-text{display:-webkit-box;display:flex;overflow:inherit}.mat-option[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{background:#f99830;font-size:11px}.filterBadges[_ngcontent-%COMP%] > .badge-eraser[_ngcontent-%COMP%]{margin:5px;background:0 0;cursor:pointer;color:#fff;font-size:20px}.filterBadges[_ngcontent-%COMP%] > .label[_ngcontent-%COMP%]{white-space:inherit}.filterBadges[_ngcontent-%COMP%] > .badge-search[_ngcontent-%COMP%]{margin:5px;background:#666;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-categories[_ngcontent-%COMP%]{margin:5px;background:#78ad32;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-statuses[_ngcontent-%COMP%]{margin:5px;background:#5bc0de;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-priorities[_ngcontent-%COMP%]{margin:5px;background:#f9d812;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-entities[_ngcontent-%COMP%]{margin:5px;background:#7d5ba6;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-subEntities[_ngcontent-%COMP%]{margin:5px;background:#9440d5;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-doctypes[_ngcontent-%COMP%]{margin:5px;background:#d6716f;cursor:pointer}.filterBadges[_ngcontent-%COMP%] > .badge-folders[_ngcontent-%COMP%]{margin:5px;background:#f99830;cursor:pointer} .autoCompletePanelFilter{left:25px;min-width:400px!important;max-width:90%!important}.mat-optgroup-label[_ngcontent-%COMP%]{color:#f99830;font-size:14px;font-weight:500}"]],data:{}});function Nrn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-option",[["class","is-loading mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],null,null),(n()(),_o(2,0,null,0,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","50"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,3,0,"50")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function jrn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-option",[["class","filterOptionContent mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"span",[["style","flex:1;overflow: hidden;text-overflow: ellipsis;"]],[[2,"undefined",null]],null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,0,2,"span",[["class","filterBadges"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"span",[["style","min-width:auto;"]],[[8,"className",0]],null,null,null,null)),(n()(),Lo(6,null,["",""]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,"_UNDEFINED"===l.context.$implicit.label),n(l,3,0,l.context.$implicit.label),n(l,5,0,Wt(1,"badge badge-",l.context.$implicit.id,"")),n(l,6,0,l.context.$implicit.count)}))}function Vrn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-optgroup",[["class","mat-optgroup"],["role","group"]],[[2,"mat-optgroup-disabled",null],[1,"aria-disabled",0],[1,"aria-labelledby",0]],null,null,_I,vI)),Di(1,49152,[[12,4]],0,Mv,[],{label:[0,"label"]},null),(n()(),vo(16777216,null,1,1,null,jrn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,1,0,l.parent.context.$implicit.letter),n(l,3,0,l.parent.context.$implicit.names)}),(function(n,l){n(l,0,0,bi(l,1).disabled,bi(l,1).disabled.toString(),bi(l,1)._labelId)}))}function qrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Vrn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.names.length>0)}),null)}function zrn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,qrn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.stateGroupOptions)))}),null)}function Urn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[22,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang[l.context.$implicit.id])}))}function Brn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-sort-amount-down fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){n(l,1,0,"fas","fa-sort-amount-down fa-2x")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function $rn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-sort-amount-up fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){n(l,1,0,"fas","fa-sort-amount-up fa-2x")}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function Hrn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label badge-eraser"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.listProperties.search="",t=!1!==i.removeFilters()&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fas fa-eraser"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.eraseAllFilters,""))}))}function Grn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-search"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(i.listProperties.search="",t=!1!==i.updateFilters()&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,Wt(2,"",e.lang.subject," / ",e.lang.chronoNumber,"")),n(l,1,0,e.listProperties.search)}))}function Wrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-categories"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("categories",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.categories,"")),n(l,1,0,l.context.$implicit.label)}))}function Krn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-priorities"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("priorities",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.priorities,"")),n(l,1,0,l.context.$implicit.label)}))}function Yrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-statuses"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("statuses",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.statuses,"")),n(l,1,0,l.context.$implicit.label)}))}function Jrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-entities"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("entities",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.entities,"")),n(l,1,0,l.context.$implicit.label)}))}function Zrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-subEntities"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("subEntities",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.subEntities,"")),n(l,1,0,l.context.$implicit.label)}))}function Qrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-doctypes"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("doctypes",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.doctypes,"")),n(l,1,0,l.context.$implicit.label)}))}function Xrn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label badge-folders"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeFilter("folders",n.context.index)&&t),t}),null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-times-circle"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.folders,"")),n(l,1,0,l.context.$implicit.label)}))}function nun(n){return jo(0,[ko(402653184,1,{autocomplete:0}),(n()(),_o(1,0,null,null,81,"div",[["class","filtersContent"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,43,"form",[["class","filterTool"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,4).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,4).onReset()&&t),t}),null,null)),Di(3,16384,null,0,yy,[],null,null),Di(4,540672,null,0,Cy,[[8,null],[8,null]],{form:[0,"form"]},null),Ei(2048,null,g_,null,[Cy]),Di(6,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(7,0,null,null,38,"mat-form-field",[["class","basket-search mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(8,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(18,16777216,null,1,8,"input",[["class","metaSearch mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["formControlName","stateGroup"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"focus"],[null,"keyup.enter"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,19)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,19)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,19)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,20)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,20)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,20)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,20)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,25)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,25)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,25)._onInput()&&t),"focus"===l&&(t=!1!==i.initFilters()&&t),"keyup.enter"===l&&(t=!1!==i.metaSearch(e)&&t),t}),null,null)),Di(19,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(20,4866048,[[1,4]],0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(22,671744,null,0,Ay,[[3,g_],[8,null],[8,null],[6,d_],[2,wy]],{name:[0,"name"]},null),Ei(2048,null,v_,null,[Ay]),Di(24,16384,null,0,y_,[[4,v_]],null,null),Di(25,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(27,0,null,0,4,"button",[["mat-icon-button",""],["matPrefix",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(28,16384,[[9,4]],0,aT,[],null,null),Di(29,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(30,0,null,0,1,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(31,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(32,0,null,4,4,"mat-button-toggle",[["class","processLimitButton mat-button-toggle"],["matSuffix",""],["value","delayed"]],[[8,"title",0],[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"click"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,34).focus()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"change"===l&&(t=!1!==i.setFilters(e,"delayed")&&t),t}),MR,AR)),Di(33,16384,[[10,4]],0,oT,[],null,null),Di(34,245760,null,0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{value:[0,"value"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(35,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-stopwatch fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(36,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(37,0,null,1,8,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.selectFilter(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(39,1097728,[["autoGroup",4]],2,yN,[Nl,Pe,_N],{classList:[0,"classList"]},{optionSelected:"optionSelected"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),(n()(),vo(16777216,null,0,1,null,Nrn)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,zrn)),Di(45,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(46,0,null,null,29,"div",[["class","orderTool"]],null,null,null,null,null)),(n()(),_o(47,0,null,null,28,"mat-form-field",[["class","basket-order mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(48,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(58,0,null,0,2,"mat-icon",[["class","fa fa-list mat-icon notranslate"],["matPrefix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(59,16384,[[20,4]],0,aT,[],null,null),Di(60,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(61,0,null,1,14,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,65)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,65)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,65)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.listProperties.order=e)&&t),"selectionChange"===l&&(t=!1!==i.updateFilters()&&t),t}),GR,qR)),Di(62,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(64,16384,null,0,y_,[[4,v_]],null,null),Di(65,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,22,{options:1}),ko(603979776,23,{optionGroups:1}),ko(603979776,24,{customTrigger:0}),Ei(2048,[[13,4],[14,4]],nT,null,[jR]),Ei(2048,null,Fv,null,[jR]),(n()(),_o(71,0,null,1,2,"mat-option",[["class","mat-option"],["role","option"],["style","text-align: center;"],["value",""]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,72)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,72)._handleKeydown(e)&&t),t}),bI,hI)),Di(72,8568832,[[22,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(73,0,["",""])),(n()(),vo(16777216,null,1,1,null,Urn)),Di(75,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(76,0,null,null,6,"div",[["class","ascDescTool"]],null,null,null,null,null)),(n()(),_o(77,0,null,null,5,"button",[["mat-fab",""],["style","color: rgba(0,0,0,0.38);"]],[[4,"opacity",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeOrderDir()&&t),t}),PC,MC)),Di(78,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),vo(16777216,null,0,1,null,Brn)),Di(80,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,$rn)),Di(82,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(83,0,null,null,18,"div",[["class","filterBadges"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Hrn)),Di(85,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Grn)),Di(87,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Wrn)),Di(89,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Krn)),Di(91,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Yrn)),Di(93,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Jrn)),Di(95,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Zrn)),Di(97,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Qrn)),Di(99,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Xrn)),Di(101,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.stateForm),n(l,8,0,"never"),n(l,20,0,bi(l,39)),n(l,22,0,"stateGroup"),n(l,25,0,Wt(1,"",e.title,""),"text"),n(l,31,0),n(l,34,0,"delayed",e.listProperties.delayed),n(l,36,0,"fas","fa-stopwatch fa-2x"),n(l,39,0,"autoCompletePanelFilter"),n(l,43,0,e.isLoading),n(l,45,0,!e.isLoading),n(l,60,0),n(l,62,0,e.listProperties.order),n(l,65,0),n(l,72,0,""),n(l,75,0,e.displayColsOrder),n(l,78,0,""==e.listProperties.order),n(l,80,0,"DESC"==e.listProperties.orderDir),n(l,82,0,"ASC"==e.listProperties.orderDir),n(l,85,0,e.haveFilters()),n(l,87,0,""!==e.listProperties.search),n(l,89,0,e.listProperties.categories),n(l,91,0,e.listProperties.priorities),n(l,93,0,e.listProperties.statuses),n(l,95,0,e.listProperties.entities),n(l,97,0,e.listProperties.subEntities),n(l,99,0,e.listProperties.doctypes),n(l,101,0,e.listProperties.folders)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending),n(l,7,1,["standard"==bi(l,8).appearance,"fill"==bi(l,8).appearance,"outline"==bi(l,8).appearance,"legacy"==bi(l,8).appearance,bi(l,8)._control.errorState,bi(l,8)._canLabelFloat,bi(l,8)._shouldLabelFloat(),bi(l,8)._hasFloatingLabel(),bi(l,8)._hideControlPlaceholder(),bi(l,8)._control.disabled,bi(l,8)._control.autofilled,bi(l,8)._control.focused,"accent"==bi(l,8).color,"warn"==bi(l,8).color,bi(l,8)._shouldForward("untouched"),bi(l,8)._shouldForward("touched"),bi(l,8)._shouldForward("pristine"),bi(l,8)._shouldForward("dirty"),bi(l,8)._shouldForward("valid"),bi(l,8)._shouldForward("invalid"),bi(l,8)._shouldForward("pending"),!bi(l,8)._animationsEnabled]),n(l,18,1,[bi(l,20).autocompleteAttribute,bi(l,20).autocompleteDisabled?null:"combobox",bi(l,20).autocompleteDisabled?null:"list",bi(l,20).panelOpen&&bi(l,20).activeOption?bi(l,20).activeOption.id:null,bi(l,20).autocompleteDisabled?null:bi(l,20).panelOpen.toString(),bi(l,20).autocompleteDisabled||!bi(l,20).panelOpen?null:null==bi(l,20).autocomplete?null:bi(l,20).autocomplete.id,!bi(l,20).autocompleteDisabled,bi(l,24).ngClassUntouched,bi(l,24).ngClassTouched,bi(l,24).ngClassPristine,bi(l,24).ngClassDirty,bi(l,24).ngClassValid,bi(l,24).ngClassInvalid,bi(l,24).ngClassPending,bi(l,25)._isServer,bi(l,25).id,bi(l,25).placeholder,bi(l,25).disabled,bi(l,25).required,bi(l,25).readonly&&!bi(l,25)._isNativeSelect||null,bi(l,25)._ariaDescribedby||null,bi(l,25).errorState,bi(l,25).required.toString()]),n(l,27,0,bi(l,29).disabled||null,"NoopAnimations"===bi(l,29)._animationMode),n(l,30,0,bi(l,31).inline,"primary"!==bi(l,31).color&&"accent"!==bi(l,31).color&&"warn"!==bi(l,31).color),n(l,32,0,Wt(1,"",e.lang.displayProcessLimitRes,""),!bi(l,34).buttonToggleGroup,bi(l,34).checked,bi(l,34).disabled,"standard"===bi(l,34).appearance,-1,bi(l,34).id,null),n(l,35,0,bi(l,36).inline,"primary"!==bi(l,36).color&&"accent"!==bi(l,36).color&&"warn"!==bi(l,36).color),n(l,47,1,["standard"==bi(l,48).appearance,"fill"==bi(l,48).appearance,"outline"==bi(l,48).appearance,"legacy"==bi(l,48).appearance,bi(l,48)._control.errorState,bi(l,48)._canLabelFloat,bi(l,48)._shouldLabelFloat(),bi(l,48)._hasFloatingLabel(),bi(l,48)._hideControlPlaceholder(),bi(l,48)._control.disabled,bi(l,48)._control.autofilled,bi(l,48)._control.focused,"accent"==bi(l,48).color,"warn"==bi(l,48).color,bi(l,48)._shouldForward("untouched"),bi(l,48)._shouldForward("touched"),bi(l,48)._shouldForward("pristine"),bi(l,48)._shouldForward("dirty"),bi(l,48)._shouldForward("valid"),bi(l,48)._shouldForward("invalid"),bi(l,48)._shouldForward("pending"),!bi(l,48)._animationsEnabled]),n(l,58,0,bi(l,60).inline,"primary"!==bi(l,60).color&&"accent"!==bi(l,60).color&&"warn"!==bi(l,60).color),n(l,61,1,[bi(l,64).ngClassUntouched,bi(l,64).ngClassTouched,bi(l,64).ngClassPristine,bi(l,64).ngClassDirty,bi(l,64).ngClassValid,bi(l,64).ngClassInvalid,bi(l,64).ngClassPending,bi(l,65).id,bi(l,65).tabIndex,bi(l,65)._getAriaLabel(),bi(l,65)._getAriaLabelledby(),bi(l,65).required.toString(),bi(l,65).disabled.toString(),bi(l,65).errorState,bi(l,65).panelOpen?bi(l,65)._optionIds:null,bi(l,65).multiple,bi(l,65)._ariaDescribedby||null,bi(l,65)._getAriaActiveDescendant(),bi(l,65).disabled,bi(l,65).errorState,bi(l,65).required,bi(l,65).empty]),n(l,71,0,bi(l,72)._getTabIndex(),bi(l,72).selected,bi(l,72).multiple,bi(l,72).active,bi(l,72).id,bi(l,72)._getAriaSelected(),bi(l,72).disabled.toString(),bi(l,72).disabled),n(l,73,0,e.lang.defaultOrder),n(l,77,0,""==e.listProperties.order?"0.2":"1","DESC"==e.listProperties.orderDir?e.lang.descOrder:e.lang.ascOrder,bi(l,78).disabled||null,"NoopAnimations"===bi(l,78)._animationMode)}))}var lun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.data=e,this.sortPipe=t,this.lang=Kr,this.loading=!1,this.loadingExport=!1,this.delimiters=[";",",","TAB"],this.formats=["csv","pdf"],this.exportModel={delimiter:";",format:"csv",data:[],resources:[]},this.dataAvailable=[{value:"res_id",label:this.lang.resId,isFunction:!1},{value:"type_label",label:this.lang.doctype,isFunction:!1},{value:"doctypes_first_level_label",label:this.lang.firstLevelDoctype,isFunction:!1},{value:"doctypes_second_level_label",label:this.lang.secondLevelDoctype,isFunction:!1},{value:"format",label:this.lang.format,isFunction:!1},{value:"doc_date",label:this.lang.docDate,isFunction:!1},{value:"departure_date",label:this.lang.departureDate,isFunction:!1},{value:"barcode",label:this.lang.barcode,isFunction:!1},{value:"getFolder",label:this.lang.folderName,isFunction:!0},{value:"confidentiality",label:this.lang.confidentiality,isFunction:!1},{value:"alt_identifier",label:this.lang.chronoNumber,isFunction:!1},{value:"admission_date",label:this.lang.admissionDate,isFunction:!1},{value:"process_limit_date",label:this.lang.processLimitDate,isFunction:!1},{value:"opinion_limit_date",label:this.lang.getOpinionLimitDate,isFunction:!1},{value:"closing_date",label:this.lang.closingDate,isFunction:!1},{value:"subject",label:this.lang.subject,isFunction:!1},{value:"getStatus",label:this.lang.status,isFunction:!0},{value:"getPriority",label:this.lang.priority,isFunction:!0},{value:"getCopies",label:this.lang.copyUsersEntities,isFunction:!0},{value:"getDetailLink",label:this.lang.detailLink,isFunction:!0},{value:"getParentFolder",label:this.lang.parentFolder,isFunction:!0},{value:"getCategory",label:this.lang.category_id,isFunction:!0},{value:"getInitiatorEntity",label:this.lang.initiatorEntity,isFunction:!0},{value:"getDestinationEntity",label:this.lang.destinationEntity,isFunction:!0},{value:"getDestinationEntityType",label:this.lang.destinationEntityType,isFunction:!0},{value:"getSenders",label:this.lang.getSenders,isFunction:!0},{value:"getRecipients",label:this.lang.getRecipients,isFunction:!0},{value:"getTypist",label:this.lang.typist,isFunction:!0},{value:"getAssignee",label:this.lang.dest_user,isFunction:!0},{value:"getTags",label:this.lang.tags,isFunction:!0},{value:"getSignatories",label:this.lang.signUser,isFunction:!0},{value:"getSignatureDates",label:this.lang.signatureDate,isFunction:!0},{value:"getDepartment",label:this.lang.department,isFunction:!0},{value:"getAcknowledgementSendDate",label:this.lang.acknowledgementSendDate,isFunction:!0},{value:"",label:this.lang.comment,isFunction:!0}],this.dataAvailableClone=[]}return n.prototype.ngOnInit=function(){var n=this;this.dataAvailableClone=JSON.parse(JSON.stringify(this.dataAvailable)),this.http.get("../../rest/resourcesList/exportTemplate").subscribe((function(l){n.exportModel.resources=n.data.selectedRes,n.exportModelList=l.templates,n.exportModel.data=l.templates.csv.data,n.exportModel.data.forEach((function(l){n.dataAvailable.forEach((function(e,t){l.value==e.value&&n.dataAvailable.splice(t,1)}))})),n.loading=!1}),(function(l){n.notify.handleErrors(l)})),this.http.get("../../rest/customFields").pipe(q((function(n){return n.customFields=n.customFields.map((function(n){return{value:"custom_"+n.id,label:n.label,isFunction:!0}})),n})),Yr((function(l){n.dataAvailable=n.dataAvailable.concat(l.customFields),n.dataAvailableClone=n.dataAvailableClone.concat(l.customFields)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.drop=function(n){var l=this;if(n.previousContainer===n.container)_U(n.container.data,n.previousIndex,n.currentIndex);else{var e=n.previousIndex;if("selectedElements"==n.container.id&&(e=0,void 0!==$j(".available-data .columns")[n.previousIndex])){var t=$j(".available-data .columns")[n.previousIndex].id;e=this.dataAvailable.map((function(n){return n.value})).indexOf(t)}yU(n.previousContainer.data,n.container.data,e,n.currentIndex);var i=this.listFilter.nativeElement.value;this.listFilter.nativeElement.value="",setTimeout((function(){l.listFilter.nativeElement.value=i}),10)}},n.prototype.exportData=function(){var n=this;this.loadingExport=!0,this.http.put("../../rest/resourcesList/users/"+this.data.ownerId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/exports",this.exportModel,{responseType:"blob"}).pipe(Yr((function(l){if("text/html"!==l.type){var e=document.createElement("a");e.href=window.URL.createObjectURL(l);var t,i=void 0,a=void 0,o=void 0;a=(i=new Date).getDate(),o=i.getMonth()+1,t=i.getFullYear(),a<10&&(a="0"+a),o<10&&(o="0"+o),e.setAttribute("download","export_maarch_"+(i=a+"-"+o+"-"+t)+"."+n.exportModel.format.toLowerCase()),document.body.appendChild(e),e.click(),n.exportModelList[n.exportModel.format.toLowerCase()].data=n.exportModel.data}else alert(n.lang.tooMuchDatas)})),iu((function(){return n.loadingExport=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.addData=function(n){var l=this,e=0;this.dataAvailable.forEach((function(l,t){l.value==n.value&&(e=t)})),yU(this.dataAvailable,this.exportModel.data,e,this.exportModel.data.length);var t=this.listFilter.nativeElement.value;this.listFilter.nativeElement.value="",setTimeout((function(){l.listFilter.nativeElement.value=t}),10)},n.prototype.removeData=function(n){yU(this.exportModel.data,this.dataAvailable,n,this.dataAvailable.length),this.sortPipe.transform(this.dataAvailable,"label")},n.prototype.removeAllData=function(){this.dataAvailable=this.dataAvailable.concat(this.exportModel.data),this.exportModel.data=[]},n.prototype.addAllData=function(){for(this.exportModel.data=this.exportModel.data.concat(this.dataAvailable);this.dataAvailable.length>0;)this.dataAvailable.pop();this.listFilter.nativeElement.value=""},n.prototype.changeTemplate=function(n){var l=this;this.dataAvailable=JSON.parse(JSON.stringify(this.dataAvailableClone)),this.exportModel.format=n.value,this.exportModel.data=this.exportModelList[n.value].data,this.exportModel.data.forEach((function(n){l.dataAvailable.forEach((function(e,t){n.value==e.value&&l.dataAvailable.splice(t,1)}))}))},n}(),eun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.withQrcode=!0,this.paramMode=!1,this.dataAvailable=[{id:"primaryInformations",unit:"primaryInformations",label:this.lang.primaryInformations,css:"col-md-6 text-left",desc:[this.lang.mailDate,this.lang.arrivalDate,this.lang.nature,this.lang.creation_date,this.lang.mailType,this.lang.initiator],enabled:!0},{id:"senderRecipientInformations",unit:"senderRecipientInformations",label:this.lang.senderRecipientInformations,css:"col-md-6 text-left",desc:[this.lang.senders,this.lang.recipients],enabled:!0},{id:"secondaryInformations",unit:"secondaryInformations",label:this.lang.secondaryInformations,css:"col-md-6 text-left",desc:[this.lang.category_id,this.lang.status,this.lang.priority,this.lang.processLimitDate,this.lang.customFieldsAdmin],enabled:!0},{id:"diffusionList",unit:"diffusionList",label:this.lang.diffusionList,css:"col-md-6 text-left",desc:[this.lang.dest_user,this.lang.copyUsersEntities],enabled:!0},{id:"opinionWorkflow",unit:"opinionWorkflow",label:this.lang.avis,css:"col-md-4 text-center",desc:[this.lang.firstname+" "+this.lang.lastname+" ("+this.lang.destination.toLowerCase()+")",this.lang.role,this.lang.processDate],enabled:!0},{id:"visaWorkflow",unit:"visaWorkflow",label:this.lang.visaWorkflow,css:"col-md-4 text-center",desc:[this.lang.firstname+" "+this.lang.lastname+" ("+this.lang.destination.toLowerCase()+")",this.lang.role,this.lang.processDate],enabled:!0},{id:"notes",unit:"notes",label:this.lang.notes,css:"col-md-4 text-center",desc:[this.lang.firstname+" "+this.lang.lastname,this.lang.creation_date,this.lang.content],enabled:!0}]}return n.prototype.ngOnInit=function(){this.paramMode=!this.functions.empty(this.data.paramMode)},n.prototype.drop=function(n){n.previousContainer===n.container&&_U(n.container.data,n.previousIndex,n.currentIndex)},n.prototype.genSummarySheets=function(){var n=this;this.loading=!0,this.http.post("../../rest/resourcesList/users/"+this.data.ownerId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/summarySheets",{units:this.formatSummarySheet(),resources:this.data.selectedRes},{responseType:"blob"}).subscribe((function(l){if("text/html"!==l.type){var e=document.createElement("a");e.href=window.URL.createObjectURL(l);var t,i=void 0,a=void 0,o=void 0;a=(i=new Date).getDate(),o=i.getMonth()+1,t=i.getFullYear(),a<10&&(a="0"+a),o<10&&(o="0"+o),e.setAttribute("download",n.lang.summarySheetsAlt+"_"+(i=a+"-"+o+"-"+t)+".pdf"),document.body.appendChild(e),e.click()}else alert(n.lang.tooMuchDatas);n.loading=!1}),(function(l){n.notify.handleErrors(l)}))},n.prototype.formatSummarySheet=function(){var n=[];return this.withQrcode&&n.push({unit:"qrcode",label:""}),this.dataAvailable.forEach((function(l){l.enabled&&n.push({unit:l.unit,label:l.label})})),n},n.prototype.toggleQrcode=function(){this.withQrcode=!this.withQrcode},n.prototype.addCustomUnit=function(){this.dataAvailable.push({id:"freeField_"+this.dataAvailable.length,unit:"freeField",label:this.lang.comments,css:"col-md-12 text-left",desc:[this.lang.freeNote],enabled:!0})},n.prototype.removeCustomUnit=function(n){this.dataAvailable.splice(n,1)},n.prototype.closeModalWithParams=function(){this.dialogRef.close(this.formatSummarySheet())},n}(),tun=function(){function n(n,l){this.http=n,this.dialog=l,this.lang=Kr,this.priorities=[],this.categories=[],this.entitiesList=[],this.statuses=[],this.metaSearchInput="",this.stateGroups=[],this.isLoading=!1}return n.prototype.ngOnInit=function(){},n.prototype.openExport=function(){this.dialog.open(lun,{panelClass:"maarch-modal",width:"800px",data:{ownerId:this.currentBasketInfo.ownerId,groupId:this.currentBasketInfo.groupId,basketId:this.currentBasketInfo.basketId,selectedRes:this.selectedRes}})},n.prototype.openSummarySheet=function(){this.dialog.open(eun,{panelClass:"maarch-full-height-modal",width:"800px",data:{ownerId:this.currentBasketInfo.ownerId,groupId:this.currentBasketInfo.groupId,basketId:this.currentBasketInfo.basketId,selectedRes:this.selectedRes}})},n}(),iun=yt({encapsulation:0,styles:[[".mat-icon[_ngcontent-%COMP%]{height:auto}.mat-mini-fab[_ngcontent-%COMP%]{background:#fff;border:1px solid #135f7f;color:#135f7f;box-shadow:none;margin-left:5px;margin-right:5px}.mat-mini-fab[_ngcontent-%COMP%]:disabled{border:1px solid #fff}"]],data:{}});function aun(n){return jo(0,[ko(402653184,1,{autocomplete:0}),(n()(),_o(1,0,null,null,3,"button",[["mat-mini-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openSummarySheet()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-link mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(5,0,null,null,3,"button",[["mat-mini-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openExport()&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(7,0,null,0,1,"mat-icon",[["class","fa fa-file-download mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,2,0,0==e.selectedRes.length),n(l,4,0),n(l,6,0,0==e.selectedRes.length),n(l,8,0)}),(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.summarySheets,""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color),n(l,5,0,Wt(1,"",e.lang.exportDatas,""),bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color)}))}var oun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.data=e,this.dialogRef=t,this.lang=Kr,this.loading=!1,this.folderName=""}return n.prototype.ngOnInit=function(){this.folderName=void 0!==this.data.folderName?this.data.folderName:""},n.prototype.onSubmit=function(){var n=this;this.loading=!0,this.http.post("../../rest/folders",{label:this.folderName}).pipe(Yr((function(l){n.notify.success(n.lang.folderAdded),n.dialogRef.close(l.folder)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n}(),run=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.renderer=t,this.foldersService=i,this.functions=a,this.lang=Kr,this.foldersList=[],this.pinnedFolder=!0,this.loading=!0,this.refreshFolders=new la,this.refreshList=new la,this.searchTerm=new sy}return n.prototype.ngOnInit=function(){var n=this;this.searchTerm.valueChanges.pipe(Sh(300),Yr((function(l){0===l.length&&(n.pinnedFolder=!0,n.getFolders())})),tc((function(n){return n.length>2})),Yr((function(){return n.loading=!0})),Sc((function(l){return n.http.get("../../rest/autocomplete/folders",{params:{search:l}})})),Yr((function(l){n.pinnedFolder=!1,n.foldersList=l.map((function(n){return{id:n.id,label:n.idToDisplay}})),n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.initFolderMenu=function(){var n=this;this.searchTerm.setValue(""),setTimeout((function(){n.renderer.selectRootElement("#searchTerm").focus()}),200)},n.prototype.getFolders=function(){var n=this;this.loading=!0,this.http.get("../../rest/pinnedFolders").pipe(q((function(n){return n.folders})),Yr((function(l){n.foldersList=l})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.classifyDocuments=function(n){var l=this;this.http.post("../../rest/folders/"+n.id+"/resources",{resources:this.resIds}).pipe(Yr((function(){l.foldersService.getPinnedFolders(),l.refreshList.emit(),l.refreshFolders.emit(),l.notify.success(l.lang.mailClassified)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.unclassifyDocuments=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.unclassifyQuestion+" <b>"+this.resIds.length+"</b> "+this.lang.mailsInFolder+" ?"}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.request("DELETE","../../rest/folders/"+n.id+"/resources",{body:{resources:l.resIds}})})),Yr((function(){l.notify.success(l.lang.removedFromFolder),l.foldersService.getPinnedFolders(),l.refreshList.emit(),l.refreshFolders.emit()})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.openCreateFolderModal=function(){var n=this;this.dialogRef=this.dialog.open(oun,{panelClass:"maarch-modal",data:{folderName:this.searchTerm.value}}),this.dialogRef.afterClosed().pipe(tc((function(l){return!n.functions.empty(l)})),Yr((function(l){n.classifyDocuments({id:l})})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),uun=yt({encapsulation:0,styles:[[".folderAction[_ngcontent-%COMP%]{font-style:italic}.folderAction[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px}.labelFolder[_ngcontent-%COMP%]{color:#666;font-size:12px;font-weight:700}.private[_ngcontent-%COMP%]{color:#f99830} .folderListMenu{width:auto}.noFolder[_ngcontent-%COMP%]{font-size:12px;color:#666;text-align:center;font-style:italic}.smallInput[_ngcontent-%COMP%]{font-size:11px;padding-left:20px;padding-right:20px}.smallInput[_ngcontent-%COMP%] .mat-form-field-infix{padding:0 0 5px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.createFolder[_ngcontent-%COMP%]{color:#135f7f;text-align:center}"]],data:{}});function sun(n){return jo(0,[(n()(),_o(0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","folderAction mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),lL,nL)),Di(1,180224,null,0,zT,[Pe,qs,qb,[2,qT]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-folder-minus fa-2x mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(6,null,["","..."])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,6)),n(l,4,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color),n(l,6,0,e.lang.removeFromFolder)}))}function cun(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-users private"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.sharedFolder,""))}))}function dun(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["class","labelFolder mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.unclassifyDocuments(n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[1,4],[2,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,cun)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(4,0,[" ",""]))],(function(n,l){n(l,3,0,l.context.$implicit.public)}),(function(n,l){n(l,0,0,l.context.$implicit.label,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,4,0,l.context.$implicit.label)}))}function pun(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","noFolder mat-menu-item"],["disabled",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang.myPinnedFolder)}))}function mun(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","noFolder mat-menu-item"],["disabled",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang.noPinnedFolder)}))}function fun(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","noFolder mat-menu-item"],["disabled",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang.noAvailableFolder)}))}function hun(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","createFolder mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openCreateFolderModal()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(-1,0,["Créer un dossier"]))],null,(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null)}))}function gun(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-users private"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.sharedFolder,""))}))}function bun(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["class","labelFolder mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.classifyDocuments(n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,gun)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(4,0,[" ",""]))],(function(n,l){n(l,3,0,l.context.$implicit.public)}),(function(n,l){n(l,0,0,l.context.$implicit.label,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,4,0,l.context.$implicit.label)}))}function vun(n){return jo(0,[(n()(),_o(0,0,null,null,11,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,pun)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mun)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fun)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hun)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,bun)),Di(10,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(11,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.pinnedFolder&&0!==e.foldersList.length),n(l,4,0,e.pinnedFolder&&0===e.foldersList.length),n(l,6,0,!e.pinnedFolder&&0===e.foldersList.length&&!e.loading),n(l,8,0,!e.pinnedFolder&&0===e.foldersList.length&&!e.loading);var t=bt(l,10,0,n(l,11,0,bi(l.parent.parent,0),e.foldersList,"label"));n(l,10,0,t)}),null)}function _un(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,2,0,"35")}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function yun(n){return jo(0,[(n()(),_o(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,7,{_controlNonStatic:0}),ko(335544320,8,{_controlStatic:0}),ko(603979776,9,{_labelChildNonStatic:0}),ko(335544320,10,{_labelChildStatic:0}),ko(603979776,11,{_placeholderChild:0}),ko(603979776,12,{_errorChildren:1}),ko(603979776,13,{_hintChildren:1}),ko(603979776,14,{_prefixChildren:1}),ko(603979776,15,{_suffixChildren:1}),(n()(),_o(11,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["id","searchTerm"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keydown"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Ei(2048,[[7,4],[8,4]],nT,null,[OT]),(n()(),vo(16777216,null,null,1,null,vun)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,_un))],(function(n,l){var e=l.component;n(l,1,0,"outline","never"),n(l,14,0,e.searchTerm),n(l,17,0,"searchTerm",Wt(1,"",e.lang.searchFolder,"")),n(l,20,0,!e.loading,bi(l,21))}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()])}))}function wun(n){return jo(0,[Fi(0,HS,[QS,$S]),(n()(),vo(16777216,null,null,1,null,sun)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,9,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(6,1294336,[["currentFolders",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,1,{_allItems:1}),ko(603979776,2,{items:1}),ko(603979776,3,{lazyContent:0}),(n()(),vo(16777216,null,0,2,null,dun)),Di(11,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(12,2),(n()(),_o(13,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","folderAction mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"menuOpened"],[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,14)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,14)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,15)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,15)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,15)._handleClick(e)&&t),"menuOpened"===l&&(t=!1!==i.initFolderMenu()&&t),t}),lL,nL)),Di(14,180224,null,0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),Di(15,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},{menuOpened:"menuOpened"}),(n()(),_o(16,0,null,0,1,"mat-icon",[["class","fa fa-folder-open fa-2x mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(17,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(18,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(19,null,["",""])),(n()(),_o(20,0,null,null,8,"mat-menu",[["restoreFocus","false"]],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(23,1294336,[["folders",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,4,{_allItems:1}),ko(603979776,5,{items:1}),ko(603979776,6,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,yun)),Di(28,147456,[[6,4]],0,VT,[Xe,Se,Qa,le,lt,qs,Nl],null,null)],(function(n,l){var e=l.component;n(l,2,0,void 0!==e.currentFoldersList&&e.currentFoldersList.length>0),n(l,6,0,"folderListMenu");var t=bt(l,11,0,n(l,12,0,bi(l,0),e.currentFoldersList,"label"));n(l,11,0,t),n(l,14,0,0===e.resIds.length),n(l,15,0,bi(l,23)),n(l,17,0,"primary"),n(l,23,0,"folderListMenu")}),(function(n,l){var e=l.component;n(l,13,0,bi(l,14).role,bi(l,14)._highlighted,bi(l,14)._triggersSubmenu,bi(l,14)._getTabIndex(),bi(l,14).disabled.toString(),bi(l,14).disabled||null,bi(l,15).menuOpen||null),n(l,16,0,bi(l,17).inline,"primary"!==bi(l,17).color&&"accent"!==bi(l,17).color&&"warn"!==bi(l,17).color),n(l,19,0,e.lang.classifyIn)}))}var xun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.headerService=e,this.functions=t,this.latinisePipe=i,this.lang=Kr,this.loading=!1,this.templatesNote=[],this.entities=[],this.entitiesRestriction=[],this.title=this.lang.addNote,this.content="",this.disableRestriction=!1,this.refreshNotes=new la,this.searchTerm=new sy,this.entitiesList=[]}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return[4,this.getEntities()];case 1:return l.sent(),this.defaultRestriction&&this.setDefaultRestriction(),this.upMode&&(this.content=this.noteContent,(this.content.startsWith("["+this.lang.avisUserState+"]")||this.content.startsWith("["+this.lang.avisUserAsk.toUpperCase()+"]"))&&(this.disableRestriction=!0),this.entitiesRestriction=this.entitiesNoteRestriction),this.entitiesList=this.entities,this.searchTerm.valueChanges.pipe(Sh(300),Yr((function(l){if(l.length>0){var e=n.latinisePipe.transform(l.toLowerCase());n.entitiesList=n.entities.filter((function(l){return n.latinisePipe.transform(l.entity_label.toLowerCase()).includes(e)||n.latinisePipe.transform(l.entity_id.toLowerCase()).includes(e)}))}else n.entitiesList=n.entities})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe(),[2]}}))}))},n.prototype.setDefaultRestriction=function(){var n=this;this.entitiesRestriction=[],this.http.get("../../rest/resources/"+this.resIds[0]+"/fields/destination").pipe(Yr((function(l){n.entitiesRestriction=n.headerService.user.entities.map((function(n){return n.entity_id})),-1!==n.entitiesRestriction.indexOf(l.field)||n.functions.empty(l.field)||n.entitiesRestriction.push(l.field),n.entities.filter((function(l){return n.entitiesRestriction.indexOf(l.id)>-1})).forEach((function(n){n.selected=!0}))})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.addNote=function(){var n=this;this.loading=!0,this.http.post("../../rest/notes",{value:this.content,resId:this.resIds[0],entities:this.entitiesRestriction}).subscribe((function(l){n.refreshNotes.emit(n.resIds[0]),n.loading=!1}))},n.prototype.updateNote=function(){var n=this;this.loading=!0,this.http.put("../../rest/notes/"+this.noteId,{value:this.content,resId:this.resIds[0],entities:this.entitiesRestriction}).subscribe((function(l){n.refreshNotes.emit(n.resIds[0]),n.loading=!1}))},n.prototype.getNoteContent=function(){return this.content},n.prototype.setNoteContent=function(n){this.content=n},n.prototype.getNote=function(){return{content:this.content,entities:this.entitiesRestriction}},n.prototype.selectTemplate=function(n){this.content=this.content.length>0?this.content+" "+n.template_content:n.template_content},n.prototype.selectEntity=function(n){n.selected=!0,this.entitiesRestriction.push(n.id)},n.prototype.getTemplatesNote=function(){var n=this;if(0==this.templatesNote.length){var l={};this.functions.empty(this.resIds)||1!=this.resIds.length||(l.resId=this.resIds[0]),this.http.get("../../rest/notesTemplates",{params:l}).subscribe((function(l){n.templatesNote=l.templates}))}},n.prototype.getEntities=function(){var n=this;return new Promise((function(l,e){0==n.entities.length&&(n.functions.empty(n.resIds),n.http.get("../../rest/entities").pipe(Yr((function(e){n.entities=e.entities,l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe())}))},n.prototype.removeEntityRestriction=function(n,l){this.entities[l].selected=!1,this.entitiesRestriction.splice(n,1)},n}(),Cun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,0===this.data.resIds.length?this.indexDocumentAndExecuteAction():this.executeAction()},n.prototype.indexDocumentAndExecuteAction=function(){var n=this;this.http.post("../../rest/resources",this.data.resource).pipe(Yr((function(l){n.data.resIds=[l.resId]})),MN((function(){return n.http.put(n.data.indexActionRoute,{resource:n.data.resIds[0],note:n.noteEditor.getNote()})})),Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),kun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.emptyMandatoryFields=[],this.canCloseResIds=[],this.customFields=[]}return n.prototype.ngOnInit=function(){this.data.resIds.length>0?(this.loading=!0,this.checkClose()):this.checkIndexingClose()},n.prototype.checkIndexingClose=function(){var n=this;this.http.get("../../rest/actions/"+this.data.action.id).pipe(Yr((function(l){n.requiredFields=n.functions.empty(l.action.parameters.requiredFields)?[]:l.action.parameters.requiredFields})),MN((function(){return n.http.get("../../rest/customFields")})),Yr((function(l){return n.customFields=l.customFields})),Yr((function(){var l=[];n.requiredFields.forEach((function(e){for(var t=function(t){e==="indexingCustomField_"+t&&n.functions.empty(n.data.resource.customFields[t])&&l.push(n.customFields.filter((function(n){return n.id==t}))[0].label)},i=0,a=Object.keys(n.data.resource.customFields);i<a.length;i++)t(a[i])})),n.functions.empty(l)?n.canCloseResIds=[1]:(n.emptyMandatoryFields.push({fields:l.join(", ")}),n.canCloseResIds=[])})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.checkClose=function(){var n=this;this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/actions/"+this.data.action.id+"/checkCloseWithFieldsAction",{resources:this.data.resIds}).pipe(Yr((function(l){n.emptyMandatoryFields=l.errors,n.canCloseResIds=l.success})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.onSubmit=function(){this.loading=!0,0===this.data.resIds.length?this.indexDocumentAndExecuteAction():this.executeAction()},n.prototype.indexDocumentAndExecuteAction=function(){var n=this;this.http.post("../../rest/resources",this.data.resource).pipe(Yr((function(l){n.data.resIds=[l.resId]})),MN((function(){return n.http.put(n.data.indexActionRoute,{resource:n.data.resIds[0],note:n.noteEditor.getNote()})})),Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.canCloseResIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.canCloseResIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Sun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesWarnings=[],this.resourcesErrors=[],this.noResourceToProcess=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.loading=!0,[4,this.checkRejectVisaBackToPrevious()];case 1:return n.sent(),this.loading=!1,[2]}}))}))},n.prototype.checkRejectVisaBackToPrevious=function(){var n=this;return this.resourcesErrors=[],this.resourcesWarnings=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkRejectVisa",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.resourcesInformations.warning)||(n.resourcesWarnings=e.resourcesInformations.warning),n.functions.empty(e.resourcesInformations.error)||(n.resourcesErrors=e.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.onSubmit=function(){this.loading=!0,this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!this.noResourceToProcess},n}(),Iun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesWarnings=[],this.resourcesErrors=[],this.noResourceToProcess=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.loading=!0,[4,this.checkResetVisa()];case 1:return n.sent(),this.loading=!1,[2]}}))}))},n.prototype.checkResetVisa=function(){var n=this;return this.resourcesErrors=[],this.resourcesWarnings=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkInterruptResetVisa",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.resourcesInformations.warning)||(n.resourcesWarnings=e.resourcesInformations.warning),n.functions.empty(e.resourcesInformations.error)||(n.resourcesErrors=e.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.onSubmit=function(){this.loading=!0,this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!this.noResourceToProcess},n}(),Aun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesWarnings=[],this.resourcesErrors=[],this.noResourceToProcess=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.loading=!0,[4,this.checkInterruptVisa()];case 1:return n.sent(),this.loading=!1,[2]}}))}))},n.prototype.checkInterruptVisa=function(){var n=this;return this.resourcesErrors=[],this.resourcesWarnings=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkInterruptResetVisa",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.resourcesInformations.warning)||(n.resourcesWarnings=e.resourcesInformations.warning),n.functions.empty(e.resourcesInformations.error)||(n.resourcesErrors=e.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.onSubmit=function(){this.loading=!0,this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!this.noResourceToProcess},n}(),Mun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,0===this.data.resIds.length?this.indexDocumentAndExecuteAction():this.executeAction()},n.prototype.indexDocumentAndExecuteAction=function(){var n=this;this.http.post("../../rest/resources",this.data.resource).pipe(Yr((function(l){n.data.resIds=[l.resId]})),MN((function(){return n.http.put(n.data.indexActionRoute,{resource:n.data.resIds[0],note:n.noteEditor.getNote()})})),Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Pun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1,this.acknowledgementSendDate=new Date,this.acknowledgementSendDateEnd=new Date}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote(),data:{send_date:(this.acknowledgementSendDate.getTime()/1e3).toString()}}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Dun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.functions=t,this.data=i,this.lang=Kr,this.loading=!1,this.loadingInit=!1,this.emailsubject="",this.availableEmailModels=[],this.availableSignEmailModels=[],this.emailSignListForm=new sy,this.templateEmailListForm=new sy,this.acknowledgement={alReadyGenerated:{},alReadySend:{},noSendAR:{},sendEmail:0,sendPaper:0,sendList:[]},this.realResSelected=[],this.currentMode="",this.manualAR=!1,this.arMode="auto"}return n.prototype.ngOnInit=function(){this.loadingInit=!0,this.checkAcknowledgementReceipt()},n.prototype.checkAcknowledgementReceipt=function(){var n=this;this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/actions/"+this.data.action.id+"/checkAcknowledgementReceipt?"+this.currentMode,{resources:this.data.resIds}).subscribe((function(l){n.acknowledgement=l,n.realResSelected=l.sendList,n.loadingInit=!1,n.arMode=l.mode,n.arModeInit(n.arMode)}),(function(l){n.notify.error(l.error.errors),n.dialogRef.close(),n.loadingInit=!1}))},n.prototype.arModeInit=function(n){"manual"===n&&this.toggleArManual(!0)},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.ngOnDestroy=function(){tinymce.remove()},n.prototype.executeAction=function(){var n=this,l=null;if(this.manualAR){if(this.functions.empty(tinymce.get("emailSignature").getContent()))return this.notify.error(this.lang.arContentIsEmpty),this.loading=!1,!1;l={subject:this.emailsubject,content:tinymce.get("emailSignature").getContent(),manual:!0}}this.http.put(this.data.processActionRoute,{resources:this.realResSelected,note:this.noteEditor.getNote(),data:l}).pipe(Yr((function(l){l&&null!=l.data&&n.downloadAcknowledgementReceipt(l.data),l&&null!=l.errors&&(n.notify.error(l.errors),console.log(l.errors)),n.dialogRef.close(n.realResSelected)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.downloadAcknowledgementReceipt=function(n){var l=this;this.loadingExport=!0,this.http.post("../../rest/acknowledgementReceipts",{resources:n},{responseType:"blob"}).subscribe((function(n){var e,t,i,a,o=document.createElement("a");o.href=window.URL.createObjectURL(n),t=(e=new Date).getDate(),i=e.getMonth()+1,a=e.getFullYear(),t<10&&(t="0"+t),i<10&&(i="0"+i),o.setAttribute("download","acknowledgement_receipt_maarch_"+(e=t+"-"+i+"-"+a)+".pdf"),document.body.appendChild(o),o.click(),l.loadingExport=!1}),(function(n){l.notify.handleErrors(n)}))},n.prototype.toggleArManual=function(n){var l=this;n?(this.currentMode="mode=manual",this.checkAcknowledgementReceipt(),this.manualAR=!0,1===this.data.resIds.length&&(this.emailsubject=this.data.resource.subject,this.emailsubject=this.emailsubject.substring(0,100)),this.initEmailModelsList(),this.initSignEmailModelsList(),setTimeout((function(){l.initMce()}),800)):(this.currentMode="mode=auto",this.checkAcknowledgementReceipt(),tinymce.remove(),this.manualAR=!1)},n.prototype.initMce=function(){tinymce.init({selector:"textarea#emailSignature",base_url:"../../node_modules/tinymce/",readonly:!1,suffix:".min",language:this.lang.langISO.replace("-","_"),language_url:"../../node_modules/tinymce-i18n/langs/"+this.lang.langISO.replace("-","_")+".js",menubar:!1,statusbar:!1,plugins:["autolink","autoresize"],external_plugins:{maarch_b64image:"../../src/frontend/plugins/tinymce/maarch_b64image/plugin.min.js"},toolbar_sticky:!0,toolbar_drawer:"floating",toolbar:"undo redo | fontselect fontsizeselect | bold italic underline strikethrough forecolor | maarch_b64image | alignleft aligncenter alignright alignjustify bullist numlist outdent indent | removeformat"})},n.prototype.mergeEmailTemplate=function(n){var l=this;this.templateEmailListForm.reset(),this.http.post("../../rest/templates/"+n+"/mergeEmail",{data:{resId:this.data.resIds[0]}}).pipe(Yr((function(n){var l=document.createElement("div");if(l.innerHTML=tinymce.get("emailSignature").getContent(),l.getElementsByClassName("signature").length>0){var e=l.getElementsByClassName("signature")[0].innerHTML;l.getElementsByClassName("signature")[0].remove(),tinymce.get("emailSignature").setContent(""+l.innerHTML+n.mergedDocument+'<div class="signature">'+e+"</div>")}else tinymce.get("emailSignature").setContent(""+tinymce.get("emailSignature").getContent()+n.mergedDocument)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.mergeSignEmailTemplate=function(n){var l=this;this.emailSignListForm.reset(),this.http.get("../../rest/currentUser/emailSignatures/"+n).pipe(Yr((function(n){var l=document.createElement("div");l.innerHTML=tinymce.get("emailSignature").getContent(),l.getElementsByClassName("signature").length>0?(l.getElementsByClassName("signature")[0].remove(),tinymce.get("emailSignature").setContent(l.innerHTML+'<div class="signature">'+n.emailSignature.content+"</div>")):tinymce.get("emailSignature").setContent(tinymce.get("emailSignature").getContent()+'<div class="signature">'+n.emailSignature.content+"</div>")})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.initEmailModelsList=function(){var n=this;0===this.availableEmailModels.length&&1===this.data.resIds.length&&this.http.get("../../rest/resources/"+this.data.resIds[0]+"/emailTemplates").pipe(Yr((function(l){n.availableEmailModels=l.templates})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.initSignEmailModelsList=function(){var n=this;0===this.availableSignEmailModels.length&&1===this.data.resIds.length&&this.http.get("../../rest/currentUser/emailSignatures").pipe(Yr((function(l){n.availableSignEmailModels=l.emailSignatures})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Fun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Eun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Oun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Tun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,data:{basketId:this.data.basketId},note:this.noteEditor.getNote()}).pipe(Yr((function(){n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Lun=function(){function n(n){this.data=n,this.lang=Kr}return n.prototype.ngOnInit=function(){},n}(),Run=function(){function n(n,l){this.http=n,this.notify=l,this.lang=Kr,this.loading=!1,this.newAccount={},this.currentAccount=null,this.usersWorkflowList=[],this.currentWorkflow=[],this.contextList=["FON","PER","SPH","DIR","DLP","EXE"],this.addAccountMode=!1,this.usersCtrl=new sy}return n.prototype.ngOnInit=function(){},n.prototype.drop=function(n){n.previousContainer===n.container&&_U(n.container.data,n.previousIndex,n.currentIndex)},n.prototype.selectAccount=function(n){this.loading=!1,this.currentAccount=n.value,this.usersWorkflowList=[],this.currentWorkflow=[],this.getUsersWorkflowList(this.currentAccount)},n.prototype.getUsersWorkflowList=function(n){var l=this;this.loading=!0,this.filteredUsers=this.usersCtrl.valueChanges.pipe(Pc(""),q((function(n){return n?l._filterUsers(n):l.usersWorkflowList.slice()}))),this.http.get("../../rest/xParaphWorkflow?login="+n.login+"&siret="+n.siret).subscribe((function(n){l.usersWorkflowList=n.workflow,l.usersWorkflowList.forEach((function(n){n.currentRole=n.roles[0],n.currentContext=l.contextList[0]})),setTimeout((function(){$j("#availableUsers").focus()}),0)}),(function(n){l.loading=!1,l.notify.error(n.error.errors[0])}))},n.prototype.changeRole=function(n,l){this.currentWorkflow[n].currentRole=l},n.prototype.changeContext=function(n,l){this.currentWorkflow[n].currentContext=l},n.prototype.addItem=function(n){this.currentWorkflow.push(JSON.parse(JSON.stringify(n.option.value))),$j("#availableUsers").blur(),this.usersCtrl.setValue("")},n.prototype.deleteItem=function(n){this.currentWorkflow.splice(n,1)},n.prototype._filterUsers=function(n){if("string"==typeof n){var l=n.toLowerCase();return this.usersWorkflowList.filter((function(n){return-1!=n.displayName.toLowerCase().indexOf(l)}))}},n.prototype.isValidParaph=function(){return this.additionalsInfos.attachments.length>0&&this.currentWorkflow.length>0&&""!=this.currentAccount.login&&""!=this.currentAccount.siret},n.prototype.getRessources=function(){return this.additionalsInfos.attachments.map((function(n){return n.res_id}))},n.prototype.getDatas=function(){var n=this;return this.externalSignatoryBookDatas={info:{siret:this.currentAccount.siret,login:this.currentAccount.login},steps:[]},this.currentWorkflow.forEach((function(l){n.externalSignatoryBookDatas.steps.push({login:l.userId,action:"visa"==l.currentRole?"2":"1",contexte:l.currentContext})})),this.externalSignatoryBookDatas},n.prototype.addNewAccount=function(){var n=this;this.loading=!0,this.http.post("../../rest/xParaphAccount",{login:this.newAccount.login,siret:this.newAccount.siret}).subscribe((function(l){n.additionalsInfos.accounts.push({login:n.newAccount.login,siret:n.newAccount.siret}),n.newAccount={},n.loading=!1,n.addAccountMode=!1,n.notify.success(n.lang.accountAdded)}),(function(l){n.notify.handleErrors(l),n.loading=!1}))},n.prototype.removeAccount=function(n){var l=this;confirm(this.lang.confirmDeleteAccount)&&this.http.delete("../../rest/xParaphAccount?siret="+this.additionalsInfos.accounts[n].siret+"&login="+this.additionalsInfos.accounts[n].login).subscribe((function(e){l.additionalsInfos.accounts.splice(n,1),l.notify.success(l.lang.accountDeleted)}),(function(n){l.notify.handleErrors(n),l.loading=!1}))},n.prototype.initNewAccount=function(){this.loading=!1,this.usersWorkflowList=[],this.currentWorkflow=[],this.currentAccount=null,this.addAccountMode=!0,setTimeout((function(){$j("#newAccountLogin").focus()}),0)},n}(),Nun=function(){function n(n,l){this.http=n,this.notify=l,this.lang=Kr,this.loading=!1,this.currentAccount=null,this.usersWorkflowList=[],this.injectDatasParam={resId:0,editable:!0}}return n.prototype.ngOnInit=function(){var n=this;void 0!==this.additionalsInfos.destinationId&&""!==this.additionalsInfos.destinationId&&setTimeout((function(){n.appVisaWorkflow.loadListModel(n.additionalsInfos.destinationId)}),0)},n.prototype.isValidParaph=function(){return!(0==this.additionalsInfos.attachments.length||0===this.appVisaWorkflow.getWorkflow().length||this.appVisaWorkflow.checkExternalSignatoryBook().length>0)},n.prototype.getRessources=function(){return this.additionalsInfos.attachments.map((function(n){return n.res_id}))},n.prototype.getDatas=function(){var n=this;return this.appVisaWorkflow.getWorkflow().forEach((function(l){n.externalSignatoryBookDatas.steps.push({externalId:l.externalId.maarchParapheur,action:l.requested_signature?"sign":"visa"})})),this.externalSignatoryBookDatas},n}(),jun=function(){function n(n,l){this.http=n,this.notify=l,this.lang=Kr,this.loading=!1,this.currentAccount=null,this.usersWorkflowList=[],this.injectDatasParam={resId:0,editable:!0}}return n.prototype.ngOnInit=function(){},n.prototype.isValidParaph=function(){return 0!=this.additionalsInfos.attachments.length},n.prototype.getRessources=function(){return this.additionalsInfos.attachments.map((function(n){return n.res_id}))},n.prototype.getDatas=function(){return this.externalSignatoryBookDatas},n}(),Vun=function(){function n(n,l){this.http=n,this.notify=l,this.lang=Kr,this.loading=!1,this.currentAccount=null,this.usersWorkflowList=[],this.injectDatasParam={resId:0,editable:!0}}return n.prototype.ngOnInit=function(){},n.prototype.isValidParaph=function(){return 0!=this.additionalsInfos.attachments.length},n.prototype.getRessources=function(){return this.additionalsInfos.attachments.map((function(n){return n.res_id}))},n.prototype.getDatas=function(){return this.externalSignatoryBookDatas},n}(),qun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.headerService=e,this.localStorage=t,this.lang=Kr,this.loading=!0,this.currentAccount=null,this.usersWorkflowList=[],this.natures=[],this.messagesModel=[],this.ixbusDatas={nature:"",messageModel:"",login:"",password:"",signatureMode:"manual"},this.injectDatasParam={resId:0,editable:!0},this.selectNature=new sy,this.selectWorkflow=new sy}return n.prototype.ngOnInit=function(){this.natures=this.additionalsInfos.ixbus.natures.map((function(n){return{id:n,label:n}})),this.messagesModel=this.additionalsInfos.ixbus.messagesModel.map((function(n){return{id:n,label:n}})),null!==this.localStorage.get("ixBusSignatureMode_"+this.headerService.user.id)&&(this.ixbusDatas.signatureMode=this.localStorage.get("ixBusSignatureMode_"+this.headerService.user.id)),this.loading=!1},n.prototype.isValidParaph=function(){return!!(0!=this.additionalsInfos.attachments.length&&0!=this.natures.length&&0!=this.messagesModel.length&&this.ixbusDatas.nature&&this.ixbusDatas.messageModel&&this.ixbusDatas.login&&this.ixbusDatas.password)},n.prototype.getRessources=function(){return this.additionalsInfos.attachments.map((function(n){return n.res_id}))},n.prototype.getDatas=function(){return this.localStorage.save("ixBusSignatureMode_"+this.headerService.user.id,this.ixbusDatas.signatureMode),this.externalSignatoryBookDatas={ixbus:this.ixbusDatas,steps:[]},this.externalSignatoryBookDatas},n}(),zun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.changeDetectorRef=i,this.lang=Kr,this.loading=!1,this.additionalsInfos={destinationId:"",users:[],attachments:[],noAttachment:[]},this.resourcesMailing=[],this.signatoryBookEnabled="",this.externalSignatoryBookDatas={steps:[],objectSent:"attachment"},this.integrationsInfo={inSignatureBook:{icon:"fas fa-file-signature"}}}return n.prototype.ngOnInit=function(){this.loading=!0,this.checkExternalSignatureBook()},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.checkExternalSignatureBook=function(){var n=this;return this.loading=!0,new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/checkExternalSignatoryBook",{resources:n.data.resIds}).pipe(Yr((function(e){n.additionalsInfos=e.additionalsInfos,n.additionalsInfos.attachments.length>0&&(n.signatoryBookEnabled=e.signatureBookEnabled,e.additionalsInfos.attachments.forEach((function(l){l.mailing&&n.resourcesMailing.push(l)}))),n.errors=e.errors,l(!0)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()}))},n.prototype.executeAction=function(){var n,l,e=this;n=this[this.signatoryBookEnabled].getRessources(),l=this[this.signatoryBookEnabled].getDatas(),this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote(),data:l}).pipe(Yr((function(l){l||e.dialogRef.close(n),l&&null!=l.errors&&e.notify.error(l.errors)})),iu((function(){return e.loading=!1})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return void 0!==this[this.signatoryBookEnabled]&&this[this.signatoryBookEnabled].isValidParaph()},n.prototype.toggleIntegration=function(n){var l,e=this;this.http.put("../../rest/resourcesList/integrations",{resources:this.data.resIds,integrations:(l={},l[n]=!this.data.resource.integrations[n],l)}).pipe(Yr((function(){return Object(t.__awaiter)(e,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.data.resource.integrations[n]=!this.data.resource.integrations[n],[4,this.checkExternalSignatureBook()];case 1:return l.sent(),this.changeDetectorRef.detectChanges(),[2]}}))}))})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n}(),Uun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1,this.additionalsInfos={users:[],mails:[],noMail:[]},this.externalSignatoryBookDatas={processingUser:""}}return n.prototype.ngOnInit=function(){var n=this;this.loading=!0,this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/checkExternalNoteBook",{resources:this.data.resIds}).pipe(q((function(n){return n.additionalsInfos.users.forEach((function(n){n.displayName=n.firstname+" "+n.lastname})),n})),Yr((function(l){n.additionalsInfos=l.additionalsInfos,n.errors=l.errors})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n,l,e=this;n=this.additionalsInfos.mails.map((function(n){return n.res_id})),l=this.externalSignatoryBookDatas,this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote(),data:l}).pipe(Yr((function(l){l||e.dialogRef.close(n),l&&null!=l.errors&&e.notify.error(l.errors)})),iu((function(){return e.loading=!1})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.checkValidAction=function(){return 0==this.additionalsInfos.mails.length||!this.externalSignatoryBookDatas.processingUser||0==this.additionalsInfos.users.length},n.prototype.setVal=function(n){this.externalSignatoryBookDatas.processingUser=n.id},n}(),Bun=e("RmLz"),$un=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functionsService=i,this.lang=Kr,this.loading=!1,this.entities=[],this.injectDatasParam={resId:0,editable:!0,keepDestForRedirection:!1},this.destUser=null,this.oldUser=null,this.keepDestForRedirection=!1,this.currentDiffusionListDestRedirect=[],this.diffusionListDestRedirect=[],this.currentEntity={serialId:0,entity_label:""},this.redirectMode="",this.userListRedirect=[],this.userRedirectCtrl=new sy,this.isDestinationChanging=!1}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.loading=!0,[4,this.getEntities()];case 1:return n.sent(),[4,this.getDefaultEntity()];case 2:return n.sent(),0===this.userListRedirect.length&&0===this.entities.filter((function(n){return n.allowed})).length?(this.redirectMode="none",this.loading=!1):0===this.userListRedirect.length&&this.entities.filter((function(n){return n.allowed})).length>0?this.loadEntities():this.userListRedirect.length>0&&0===this.entities.filter((function(n){return n.allowed})).length?this.loadDestUser():this.loading=!1,[2]}}))}))},n.prototype.getEntities=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/getRedirect").pipe(Yr((function(e){n.entities=e.entities,n.userListRedirect=e.users,n.keepDestForRedirection=e.keepDestForRedirection,n.injectDatasParam.keepDestForRedirection=e.keepDestForRedirection,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.getDefaultEntity=function(){var n=this;return new Promise((function(l,e){1===n.data.resIds.length?n.http.get("../../rest/resources/"+n.data.resIds[0]+"/fields/destination?alt=true").pipe(Yr((function(e){n.functionsService.empty(e.field)?n.entities.filter((function(n){return n.state.selected})).length>0&&(n.currentEntity=n.entities.filter((function(n){return n.state.selected}))[0]):(n.currentEntity=n.entities.filter((function(n){return n.serialId===e.field}))[0],n.entities=n.entities.map((function(n){return Object(t.__assign)({},n,{state:{selected:!1,opened:!1,disabled:n.state.disabled}})}))),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():(n.currentEntity=n.entities.filter((function(n){return n.state.selected}))[0],l(!0))}))},n.prototype.loadEntities=function(){var n=this;this.redirectMode="entity",1===this.data.resIds.length&&(this.injectDatasParam.resId=this.data.resIds[0]),this.loading=!1,setTimeout((function(){$j("#jstree").jstree({checkbox:{deselect_all:!0,three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:n.entities},plugins:["checkbox","search","sort"]});var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)})),$j("#jstree").on("loaded.jstree",(function(l,e){n.currentEntity.serialId>0&&($j("#jstree").jstree("select_node",n.currentEntity),n.selectEntity(n.currentEntity,!0))})).on("select_node.jstree",(function(l,e){n.selectEntity(e.node.original)})).on("deselect_node.jstree",(function(n,l){$j("#jstree").jstree("select_node",l.node.original)})).jstree()}),0)},n.prototype.loadDestUser=function(){var n=this;this.redirectMode="user",this.filteredUserRedirect=this.userRedirectCtrl.valueChanges.pipe(Object(Bun.startWith)(""),q((function(l){return l?n._filterUserRedirect(l):n.userListRedirect.slice()}))),this.loading=!1,1===this.data.resIds.length?this.http.get("../../rest/resources/"+this.data.resIds[0]+"/listInstance").subscribe((function(l){n.diffusionListDestRedirect=l.listInstance,Object.keys(l).forEach((function(e){l[e].forEach((function(l){"dest"===l.item_mode&&(n.oldUser=l)}))})),$j(".searchUserRedirect").click()}),(function(l){n.notify.handleErrors(l)})):(this.keepDestForRedirection=!1,setTimeout((function(){$j(".searchUserRedirect").click()}),200))},n.prototype.changeDest=function(n){var l=this;this.currentDiffusionListDestRedirect=this.diffusionListDestRedirect;var e=n.option.value;if(this.destUser={difflist_type:"entity_id",item_mode:"dest",item_type:"user_id",item_id:e.user_id,labelToDisplay:e.labelToDisplay,descriptionToDisplay:e.descriptionToDisplay},1===this.data.resIds.length){if(this.isDestinationChanging=!1,this.http.get("../../rest/resources/"+this.data.resIds[0]+"/users/"+e.id+"/isDestinationChanging").subscribe((function(n){l.isDestinationChanging=n.isDestinationChanging}),(function(n){l.notify.handleErrors(n)})),this.keepDestForRedirection&&this.currentDiffusionListDestRedirect.length>0){var t=!1,i=null;this.currentDiffusionListDestRedirect.forEach((function(n){"cc"===n.item_mode&&n.item_id===l.oldUser.item_id&&(t=!0)})),t||((i=this.oldUser).item_mode="cc",this.currentDiffusionListDestRedirect.push(i))}this.currentDiffusionListDestRedirect.splice(this.currentDiffusionListDestRedirect.map((function(n){return n.item_mode})).indexOf("dest"),1)}else this.isDestinationChanging=!0;this.currentDiffusionListDestRedirect.push(this.destUser),this.userRedirectCtrl.reset(),$j(".searchUserRedirect").blur()},n.prototype._filterUserRedirect=function(n){if("string"==typeof n){var l=n.toLowerCase();return this.userListRedirect.filter((function(n){return n.labelToDisplay.toLowerCase().indexOf(l)>=0}))}},n.prototype.selectEntity=function(n,l){void 0===l&&(l=!1),this.currentEntity=n,this.appDiffusionsList.loadListModel(n.serialId,l)},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this;"user"===this.redirectMode?this.http.put(this.data.processActionRoute,{resources:this.data.resIds,data:{onlyRedirectDest:!0,listInstances:this.currentDiffusionListDestRedirect},note:this.noteEditor.getNote()}).pipe(Yr((function(l){l&&null!=l.errors&&n.notify.error(l.errors),n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe():this.http.put(this.data.processActionRoute,{resources:this.data.resIds,data:{destination:this.currentEntity.serialId,listInstances:this.appDiffusionsList.getCurrentListinstance()},note:this.noteEditor.getNote()}).pipe(Yr((function(l){l&&null!=l.errors&&n.notify.error(l.errors),n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.checkValidity=function(){return!("entity"===this.redirectMode&&this.appDiffusionsList&&this.appDiffusionsList.getDestUser().length>0&&this.currentEntity.serialId>0&&!this.loading||"user"===this.redirectMode&&this.currentDiffusionListDestRedirect.length>0&&null!=this.destUser&&!this.loading)},n}(),Hun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.shippings=[{label:"",description:"",options:{shapingOptions:[],sendMode:""},fee:0,account:{id:"",password:""}}],this.currentShipping=null,this.entitiesList=[],this.attachList=[],this.mailsNotSend=[],this.integrationsInfo={inShipping:{icon:"fas fa-shipping-fast"}},this.fatalError=[]}return n.prototype.ngOnInit=function(){this.loading=!0,this.checkShipping()},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.checkShipping=function(){var n=this;this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/actions/"+this.data.action.id+"/checkShippings",{resources:this.data.resIds}).pipe(Yr((function(l){n.functions.empty(l.fatalError)?(n.shippings=l.shippingTemplates,n.mailsNotSend=l.canNotSend,n.entitiesList=l.entities,n.attachList=l.resources):(n.fatalError=l,n.shippings=[])})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()},n.prototype.executeAction=function(){var n=this,l=this.attachList.filter((function(n){return"attachment"===n.type})).map((function(n){return n.res_id_master}));l=l.concat(this.attachList.filter((function(n){return"mail"===n.type})).map((function(n){return n.res_id}))),this.http.put(this.data.processActionRoute,{resources:l,data:{shippingTemplateId:this.currentShipping.id},note:this.noteEditor.getNote()}).pipe(Yr((function(e){e&&null!=e.errors?n.notify.error(e.errors):n.dialogRef.close(l)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.toggleIntegration=function(n){var l,e=this;this.http.put("../../rest/resourcesList/integrations",{resources:this.data.resIds,integrations:(l={},l[n]=!this.data.resource.integrations[n],l)}).pipe(Yr((function(){e.data.resource.integrations[n]=!e.data.resource.integrations[n],e.checkShipping()})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n}(),Gun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1,this.loadingInit=!1,this.resourcesInfo={withEntity:[],withoutEntity:[]}}return n.prototype.ngOnInit=function(){var n=this;this.loadingInit=!0,this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/checkInitiatorEntity",{resources:this.data.resIds}).subscribe((function(l){n.resourcesInfo=l,n.loadingInit=!1}),(function(l){n.notify.error(l.error.errors),n.loadingInit=!1,n.dialogRef.close()}))},n.prototype.onSubmit=function(){this.loading=!0,this.executeAction()},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.resourcesInfo.withEntity,note:this.noteEditor.getNote()}).pipe(Yr((function(l){l&&null!=l.errors&&n.notify.error(l.errors),n.dialogRef.close(n.resourcesInfo.withEntity)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Wun=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.lang=Kr,this.loading=!1,this.loadingInit=!1,this.resourcesInfo={withEntity:[],withoutEntity:[]}}return n.prototype.ngOnInit=function(){var n=this;this.loadingInit=!0,this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/checkAttachmentsAndNotes",{resources:this.data.resIds}).subscribe((function(l){n.resourcesInfo=l,n.loadingInit=!1}),(function(l){n.notify.error(l.error.errors),n.loadingInit=!1}))},n.prototype.onSubmit=function(){this.loading=!0,this.executeAction()},n.prototype.checkNote=function(){return!(!this.noteEditor||!this.noteEditor.getNoteContent())},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.data.resIds,note:this.noteEditor.getNote()}).pipe(Yr((function(l){l&&null!=l.errors&&n.notify.error(l.errors),n.dialogRef.close(n.data.resIds)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n}(),Kun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!0,this.resourcesMailing=[],this.resourcesError=[],this.noResourceToProcess=null,this.integrationsInfo={inSignatureBook:{icon:"fas fa-file-signature"}}}return n.prototype.ngAfterViewInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){return 0===this.data.resIds.length&&this.checkSignatureBookInIndexingPage(),this.initVisaWorkflow(),this.loading=!1,[2]}))}))},n.prototype.onSubmit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n,l,e=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.loading=!0,0!==this.data.resIds.length?[3,4]:[4,this.indexDocument()];case 1:return(l=t.sent())?[4,this.appVisaWorkflow.saveVisaWorkflow(this.data.resIds)]:[3,3];case 2:l=t.sent(),t.label=3;case 3:return l&&this.executeIndexingAction(this.data.resIds[0]),[3,6];case 4:return n=this.data.resIds.filter((function(n){return-1===e.resourcesError.map((function(n){return n.res_id})).indexOf(n)})),[4,this.appVisaWorkflow.saveVisaWorkflow(n)];case 5:(l=t.sent())&&this.executeAction(n),t.label=6;case 6:return this.loading=!1,[2]}}))}))},n.prototype.checkSignatureBook=function(){var n=this;return this.resourcesError=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkSignatureBook",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.resourcesInformations.error)||(n.resourcesError=e.resourcesInformations.error),n.noResourceToProcess=n.data.resIds.length===n.resourcesError.length,e.resourcesInformations.success&&(n.resourcesMailing=e.resourcesInformations.success.filter((function(n){return n.mailing}))),l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.indexDocument=function(){var n=this;return this.data.resource.integrations={inSignatureBook:!0},new Promise((function(l){n.http.post("../../rest/resources",n.data.resource).pipe(Yr((function(e){n.data.resIds=[e.resId],l(!0)})),Qr((function(e){return n.notify.handleErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.executeAction=function(n){var l=this;this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote()}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.executeIndexingAction=function(n){var l=this;this.http.put(this.data.indexActionRoute,{resource:n,note:this.noteEditor.getNote()}).pipe(Yr((function(n){n||l.dialogRef.close(l.data.resIds),n&&null!=n.errors&&l.notify.error(n.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.initVisaWorkflow=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return 0!==this.data.resIds.length?[3,3]:this.functions.empty(this.data.resource.destination)||this.noResourceToProcess?[3,2]:(this.noResourceToProcess=!1,[4,this.appVisaWorkflow.loadListModel(this.data.resource.destination)]);case 1:n.sent(),n.label=2;case 2:return[3,9];case 3:return this.data.resIds.length>1?[4,this.checkSignatureBook()]:[3,5];case 4:return n.sent(),[3,9];case 5:return[4,this.checkSignatureBook()];case 6:return n.sent(),this.noResourceToProcess?[3,9]:[4,this.appVisaWorkflow.loadWorkflow(this.data.resIds[0])];case 7:return n.sent(),[4,this.loadWorkflowEntity()];case 8:n.sent(),n.label=9;case 9:return[2]}}))}))},n.prototype.loadWorkflowEntity=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return void 0===this.appVisaWorkflow?[3,3]:this.appVisaWorkflow.emptyWorkflow()?[4,this.appVisaWorkflow.loadDefaultWorkflow(this.data.resIds[0])]:[3,2];case 1:l.sent(),l.label=2;case 2:return[3,4];case 3:setTimeout((function(){return Object(t.__awaiter)(n,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.appVisaWorkflow.emptyWorkflow()?[4,this.appVisaWorkflow.loadDefaultWorkflow(this.data.resIds[0])]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))}),100),l.label=4;case 4:return[2]}}))}))},n.prototype.checkSignatureBookInIndexingPage=function(){null===this.data.resource.encodedFile&&(this.noResourceToProcess=!0,this.resourcesError=[{alt_identifier:this.lang.currentIndexingMail,reason:"noDocumentToSend"}])},n.prototype.toggleIntegration=function(n){var l,e=this;this.http.put("../../rest/resourcesList/integrations",{resources:this.data.resIds,integrations:(l={},l[n]=!this.data.resource.integrations[n],l)}).pipe(Yr((function(){return Object(t.__awaiter)(e,void 0,void 0,(function(){var l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.data.resource.integrations[n]=!this.data.resource.integrations[n],[4,this.checkSignatureBook()];case 1:return e.sent(),setTimeout((function(){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.appVisaWorkflow.loadWorkflow(this.data.resIds[0])];case 1:return n.sent(),this.loadWorkflowEntity(),[2]}}))}))}),100),[2]}}))}))})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.afterAttachmentToggle=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.checkSignatureBook()];case 1:return n.sent(),this.loadWorkflowEntity(),[2]}}))}))},n.prototype.isValidAction=function(){return!this.noResourceToProcess&&void 0!==this.appVisaWorkflow&&!this.appVisaWorkflow.emptyWorkflow()&&!this.appVisaWorkflow.workflowEnd()},n}(),Yun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesMailing=[],this.resourcesWarnings=[],this.resourcesErrors=[],this.noResourceToProcess=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.loading=!0,[4,this.checkSignatureBook()];case 1:return n.sent(),this.loading=!1,[2]}}))}))},n.prototype.checkSignatureBook=function(){var n=this;return this.resourcesErrors=[],this.resourcesWarnings=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkContinueVisaCircuit",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.resourcesInformations.warning)||(n.resourcesWarnings=e.resourcesInformations.warning),n.functions.empty(e.resourcesInformations.error)||(n.resourcesErrors=e.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),e.resourcesInformations.success&&e.resourcesInformations.success.forEach((function(l){l.mailing&&n.resourcesMailing.push(l)})),l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.onSubmit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n,l=this;return Object(t.__generator)(this,(function(e){return n=this.data.resIds.filter((function(n){return-1===l.resourcesErrors.map((function(n){return n.res_id})).indexOf(n)})),this.executeAction(n),[2]}))}))},n.prototype.executeAction=function(n){var l=this;this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote()}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!this.noResourceToProcess},n}(),Jun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesError=[],this.noResourceToProcess=null,this.opinionLimitDate=null,this.today=new Date}return n.prototype.ngAfterViewInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return 1!==this.data.resIds.length?[3,2]:[4,this.appAvisWorkflow.loadWorkflow(this.data.resIds[0])];case 1:n.sent(),this.appAvisWorkflow.emptyWorkflow()&&this.appAvisWorkflow.loadDefaultWorkflow(this.data.resIds[0]),n.label=2;case 2:return[2]}}))}))},n.prototype.onSubmit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n,l,e=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.loading=!0,0!==this.data.resIds.length?[3,4]:[4,this.indexDocument()];case 1:return(l=t.sent())?[4,this.appAvisWorkflow.saveAvisWorkflow(this.data.resIds)]:[3,3];case 2:l=t.sent(),t.label=3;case 3:return l&&this.executeAction(this.data.resIds),[3,6];case 4:return n=this.data.resIds.filter((function(n){return-1===e.resourcesError.map((function(n){return n.res_id})).indexOf(n)})),[4,this.appAvisWorkflow.saveAvisWorkflow(n)];case 5:(l=t.sent())&&this.executeAction(n),t.label=6;case 6:return this.loading=!1,[2]}}))}))},n.prototype.indexDocument=function(){var n=this;return new Promise((function(l,e){n.http.post("../../rest/resources",n.data.resource).pipe(Yr((function(e){n.data.resIds=[e.resId],l(!0)})),Qr((function(e){return n.notify.handleErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.executeAction=function(n){var l=this,e="["+this.lang.avisUserAsk.toUpperCase()+"] "+this.noteEditor.getNoteContent();this.noteEditor.setNoteContent(e),this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote(),data:{opinionLimitDate:this.functions.formatDateObjectToDateString(this.opinionLimitDate,!0)}}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!(this.noResourceToProcess||void 0===this.appAvisWorkflow||this.appAvisWorkflow.emptyWorkflow()||this.appAvisWorkflow.workflowEnd()||this.functions.empty(this.noteEditor.getNoteContent())||this.functions.empty(this.functions.formatDateObjectToDateString(this.opinionLimitDate)))},n}(),Zun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesWarnings=[],this.resourcesErrors=[],this.ownerOpinion="",this.opinionContent="",this.opinionLimitDate=null,this.noResourceToProcess=null}return n.prototype.ngOnInit=function(){this.checkAvisCircuit()},n.prototype.checkAvisCircuit=function(){var n=this;this.loading=!0,this.resourcesErrors=[],this.resourcesWarnings=[],this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/actions/"+this.data.action.id+"/checkContinueOpinionCircuit",{resources:this.data.resIds}).pipe(Yr((function(l){n.functions.empty(l.resourcesInformations.warning)||(n.resourcesWarnings=l.resourcesInformations.warning),n.functions.empty(l.resourcesInformations.error)||(n.resourcesErrors=l.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),n.noResourceToProcess||(n.ownerOpinion=l.resourcesInformations.success[0].avisUserAsk,n.opinionContent=l.resourcesInformations.success[0].note,n.opinionLimitDate=new Date(l.resourcesInformations.success[0].opinionLimitDate),n.opinionLimitDate=n.functions.formatDateObjectToDateString(n.opinionLimitDate))})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()},n.prototype.onSubmit=function(){var n=this,l=this.data.resIds.filter((function(l){return-1===n.resourcesErrors.map((function(n){return n.res_id})).indexOf(l)}));this.executeAction(l)},n.prototype.executeAction=function(n){var l=this,e="["+this.lang.avisUserState+"] "+this.noteEditor.getNoteContent();this.noteEditor.setNoteContent(e),this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote()}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!this.noResourceToProcess&&!this.functions.empty(this.noteEditor.getNoteContent())},n}(),Qun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesError=[],this.noResourceToProcess=null,this.opinionLimitDate=new Date,this.today=new Date,this.availableRoles=[],this.opinionLimitDate.setTime(this.today.getTime()+6048e5)}return n.prototype.ngAfterViewInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return 1!==this.data.resIds.length?[3,2]:[4,this.appAvisWorkflow.loadParallelWorkflow(this.data.resIds[0])];case 1:n.sent(),this.appAvisWorkflow.emptyWorkflow()&&this.appAvisWorkflow.loadDefaultWorkflow(this.data.resIds[0]),n.label=2;case 2:return[2]}}))}))},n.prototype.onSubmit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n,l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.loading=!0,0!==this.data.resIds.length?[3,2]:[4,this.indexDocument()];case 1:return e.sent()&&this.executeAction(this.data.resIds),[3,3];case 2:n=this.data.resIds.filter((function(n){return-1===l.resourcesError.map((function(n){return n.res_id})).indexOf(n)})),this.executeAction(n),e.label=3;case 3:return this.loading=!1,[2]}}))}))},n.prototype.indexDocument=function(){var n=this;return new Promise((function(l,e){n.http.post("../../rest/resources",n.data.resource).pipe(Yr((function(e){n.data.resIds=[e.resId],l(!0)})),Qr((function(e){return n.notify.handleErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.executeAction=function(n){var l=this,e="["+this.lang.avisUserAsk.toUpperCase()+"] "+this.noteEditor.getNoteContent();this.noteEditor.setNoteContent(e),this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote(),data:{opinionLimitDate:this.functions.formatDateObjectToDateString(this.opinionLimitDate,!0,"yyyy-mm-dd"),opinionCircuit:this.appAvisWorkflow.getWorkflow()}}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!(this.noResourceToProcess||void 0===this.appAvisWorkflow||this.appAvisWorkflow.emptyWorkflow()||this.appAvisWorkflow.workflowEnd()||this.functions.empty(this.noteEditor.getNoteContent())||this.functions.empty(this.functions.formatDateObjectToDateString(this.opinionLimitDate)))},n}(),Xun=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.resourcesWarnings=[],this.resourcesErrors=[],this.noResourceToProcess=null,this.opinionLimitDate=null,this.ownerOpinion="",this.opinionContent=""}return n.prototype.ngOnInit=function(){this.checkAvisParallel()},n.prototype.checkAvisParallel=function(){var n=this;this.loading=!0,this.resourcesErrors=[],this.resourcesWarnings=[],this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/actions/"+this.data.action.id+"/checkGiveParallelOpinion",{resources:this.data.resIds}).pipe(Yr((function(l){n.functions.empty(l.resourcesInformations.warning)||(n.resourcesWarnings=l.resourcesInformations.warning),n.functions.empty(l.resourcesInformations.error)||(n.resourcesErrors=l.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),n.noResourceToProcess||(n.ownerOpinion=l.resourcesInformations.success[0].avisUserAsk,n.opinionContent=l.resourcesInformations.success[0].note,n.opinionLimitDate=new Date(l.resourcesInformations.success[0].opinionLimitDate),n.opinionLimitDate=n.functions.formatDateObjectToDateString(n.opinionLimitDate))})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()},n.prototype.onSubmit=function(){var n=this,l=this.data.resIds.filter((function(l){return-1===n.resourcesErrors.map((function(n){return n.res_id})).indexOf(l)}));this.executeAction(l)},n.prototype.executeAction=function(n){var l=this,e="["+this.lang.avisUserState+"] "+this.noteEditor.getNoteContent();this.noteEditor.setNoteContent(e),this.http.put(this.data.processActionRoute,{resources:n,note:this.noteEditor.getNote()}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return!this.noResourceToProcess&&!this.functions.empty(this.noteEditor.getNoteContent())},n}(),nsn=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.headerService=a,this.lang=Kr,this.loading=!1,this.resourcesWarnings=[],this.resourcesErrors=[],this.ownerOpinion="",this.opinionContent="",this.noResourceToProcess=null,this.opinionLimitDate=null,this.today=new Date,this.availableRoles=[]}return n.prototype.ngOnInit=function(){this.checkAvisCircuit()},n.prototype.checkAvisCircuit=function(){var n=this;this.loading=!0,this.resourcesErrors=[],this.resourcesWarnings=[],this.http.post("../../rest/resourcesList/users/"+this.data.userId+"/groups/"+this.data.groupId+"/baskets/"+this.data.basketId+"/actions/"+this.data.action.id+"/checkValidateParallelOpinion",{resources:this.data.resIds}).pipe(Yr((function(l){n.functions.empty(l.resourcesInformations.warning)||(n.resourcesWarnings=l.resourcesInformations.warning),n.functions.empty(l.resourcesInformations.error)||(n.resourcesErrors=l.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length),n.noResourceToProcess||(n.ownerOpinion=l.resourcesInformations.success[0].avisUserAsk,n.opinionContent=l.resourcesInformations.success[0].note,n.opinionLimitDate=new Date(l.resourcesInformations.success[0].opinionLimitDate))})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()},n.prototype.ngAfterViewInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return 1!==this.data.resIds.length?[3,2]:[4,this.appAvisWorkflow.loadParallelWorkflow(this.data.resIds[0])];case 1:n.sent(),n.label=2;case 2:return[2]}}))}))},n.prototype.onSubmit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n,l=this;return Object(t.__generator)(this,(function(e){return n=this.data.resIds.filter((function(n){return-1===l.resourcesErrors.map((function(n){return n.res_id})).indexOf(n)})),this.executeAction(n),[2]}))}))},n.prototype.executeAction=function(n){var l=this,e="["+this.lang.avisUserAsk.toUpperCase()+"] "+this.noteEditor.getNoteContent()+" ↠"+this.lang.validateBy+" "+this.headerService.user.firstname+" "+this.headerService.user.lastname;this.noteEditor.setNoteContent(e),this.http.put(this.data.processActionRoute,{resources:n,data:{note:this.noteEditor.getNote(),opinionLimitDate:this.functions.formatDateObjectToDateString(this.opinionLimitDate,!0),opinionCircuit:this.appAvisWorkflow.getWorkflow()}}).pipe(Yr((function(e){e||l.dialogRef.close(n),e&&null!=e.errors&&l.notify.error(e.errors)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return 1===this.data.resIds.length?!(this.noResourceToProcess||void 0===this.noteEditor||void 0===this.appAvisWorkflow||this.appAvisWorkflow.emptyWorkflow()||this.appAvisWorkflow.workflowEnd()||this.functions.empty(this.noteEditor.getNoteContent())||this.functions.empty(this.functions.formatDateObjectToDateString(this.opinionLimitDate))):!this.noResourceToProcess},n}(),lsn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.searchUrl="",this.resourcesErrors=[],this.selectedRes=[],this.noResourceToProcess=!1}return n.prototype.ngOnInit=function(){this.checkReconcile()},n.prototype.onSubmit=function(){this.loading=!0,this.executeAction()},n.prototype.checkReconcile=function(){var n=this;return this.resourcesErrors=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkReconcile",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.resourcesInformations.error)||(n.resourcesErrors=e.resourcesInformations.error),e.resourcesInformations.success&&e.resourcesInformations.success.forEach((function(l){n.selectedRes.push(l.res_id)})),n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length,l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.executeAction=function(){var n=this;this.http.put(this.data.processActionRoute,{resources:this.selectedRes,data:{resId:this.appSearchAdvList.getSelectedRessources()[0]}}).pipe(Yr((function(l){null===l||n.functions.empty(l.errors)?n.dialogRef.close(n.selectedRes):n.notify.error(l.errors)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.launchSearch=function(n){this.searchUrl=n,this.appSearchAdvList.refreshDao(n)},n}(),esn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.data=t,this.functions=i,this.lang=Kr,this.loading=!1,this.alfrescoFolders=[],this.searchFolder=new sy,this.selectedFolder=null,this.resourcesErrors=[],this.noResourceToProcess=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.loading=!0,[4,this.checkAlfresco()];case 1:return l.sent(),this.loading=!1,this.initTree(),this.searchFolder.valueChanges.pipe(Sh(300),Yr((function(l){n.selectedFolder=null,0===l.length&&($j("#jstreeAlfresco").jstree(!0).settings.core.data={url:function(n){return"#"===n.id?"../../rest/alfresco/rootFolders":"../../rest/alfresco/folders/"+n.id+"/children"},data:function(n){return{id:n.id}}},$j("#jstreeAlfresco").jstree("refresh"))})),tc((function(n){return n.length>2})),Yr((function(n){$j("#jstreeAlfresco").jstree(!0).settings.core.data={url:function(l){return"#"===l.id?"../../rest/alfresco/autocomplete/folders?search="+n:"../../rest/alfresco/folders/"+l.id+"/children"},data:function(n){return{id:n.id}}},$j("#jstreeAlfresco").jstree("refresh")}))).subscribe(),[2]}}))}))},n.prototype.checkAlfresco=function(){var n=this;return this.resourcesErrors=[],new Promise((function(l,e){n.http.post("../../rest/resourcesList/users/"+n.data.userId+"/groups/"+n.data.groupId+"/baskets/"+n.data.basketId+"/actions/"+n.data.action.id+"/checkSendAlfresco",{resources:n.data.resIds}).subscribe((function(e){n.functions.empty(e.fatalError)?n.functions.empty(e.resourcesInformations.error)||(n.resourcesErrors=e.resourcesInformations.error,n.noResourceToProcess=n.resourcesErrors.length===n.data.resIds.length):(n.notify.error(n.lang[e.reason]),n.dialogRef.close()),l(!0)}),(function(l){n.notify.handleSoftErrors(l),n.dialogRef.close()}))}))},n.prototype.getRootAlfrescoFolders=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/alfresco/rootFolders").pipe(q((function(n){return n.folders=n.folders.map((function(n){return Object(t.__assign)({},n,{icon:"fa fa-folder",parent:"#",text:n.name,children:!0})})),n.folders})),Yr((function(e){n.alfrescoFolders=e,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(),lu(!1)}))).subscribe()}))},n.prototype.getAlfrescoFolder=function(n){var l=this;this.http.get("../../rest/folders/"+n+"/children").pipe(q((function(n){return n.folders=n.folders.map((function(n){return Object(t.__assign)({},n,{id:n.id,icon:"fa fa-folder",text:n.name,parent:"#",children:!0})})),n.folders})),Yr((function(n){l.alfrescoFolders=n})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.initTree=function(){var n=this;setTimeout((function(){$j("#jstreeAlfresco").jstree({checkbox:{deselect_all:!0,three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:{url:function(n){return"#"===n.id?"../../rest/alfresco/rootFolders":"../../rest/alfresco/folders/"+n.id+"/children"},data:function(n){return{id:n.id}}}},plugins:["checkbox"]}),$j("#jstreeAlfresco").on("select_node.jstree",(function(l,e){n.selectedFolder=e.node.id})).on("deselect_node.jstree",(function(l,e){n.selectedFolder=null})).jstree()}),0)},n.prototype.onSubmit=function(){this.loading=!0,this.data.resIds.length>0&&this.executeAction()},n.prototype.executeAction=function(){var n=this,l=this.data.resIds.filter((function(l){return-1===n.resourcesErrors.map((function(n){return n.res_id})).indexOf(l)}));this.http.put(this.data.processActionRoute,{resources:l,note:this.noteEditor.getNoteContent(),data:{folderId:this.selectedFolder}}).pipe(Yr((function(l){l||n.dialogRef.close("success"),l&&null!=l.errors&&n.notify.error(l.errors)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.isValidAction=function(){return null!==this.selectedFolder&&!this.noResourceToProcess},n}(),tsn=function(){function n(n,l,e,t,i,a){this.http=n,this.dialog=l,this.notify=e,this.router=t,this.headerService=i,this.functions=a,this.lang=Kr,this.mode="indexing",this.currentResourceLock=null,this.lockMode=!0,this.actionEnded=!1,this.currentAction=null,this.currentUserId=null,this.currentGroupId=null,this.currentBasketId=null,this.currentResIds=[],this.currentResourceInformations=null,this.loading=!1,this.eventAction=new M}return n.prototype.catchAction=function(){return this.eventAction.asObservable()},n.prototype.emitAction=function(){this.eventAction.next()},n.prototype.setLoading=function(n){this.loading=n},n.prototype.setActionInformations=function(n,l,e,t,i){return!(null!==n&&null===n.component||(null!==n&&l>0&&e>0?(this.mode=null===t?"indexing":"process",this.currentAction=n,this.currentUserId=l,this.currentGroupId=e,this.currentBasketId=t,this.currentResIds=null===i?[]:i,this.indexActionRoute="../../rest/indexing/groups/"+this.currentGroupId+"/actions/"+this.currentAction.id,this.processActionRoute="../../rest/resourcesList/users/"+this.currentUserId+"/groups/"+this.currentGroupId+"/baskets/"+this.currentBasketId+"/actions/"+this.currentAction.id,0):(console.log("Bad informations: "),console.log({action:n},{userId:l},{groupId:e},{basketId:t},{resIds:i}),this.notify.error("Une erreur est survenue"),1)))},n.prototype.saveDocument=function(n){return this.loading=!0,this.setResourceInformations(n),this.http.post("../../rest/resources",this.currentResourceInformations)},n.prototype.setResourceInformations=function(n){this.currentResourceInformations=n},n.prototype.setResourceIds=function(n){this.currentResourceInformations.resId=n,this.currentResIds=n},n.prototype.launchIndexingAction=function(n,l,e,t){if(this.setActionInformations(n,l,e,null,null)){this.setResourceInformations(t),this.loading=!0;try{this[n.component]()}catch(i){console.log(i),console.log(n.component),alert(this.lang.actionNotExist)}}},n.prototype.launchAction=function(n,l,e,i,a,o,r){return void 0===r&&(r=!0),Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.setActionInformations(n,l,e,i,a)?(this.actionEnded=!1,this.loading=!0,this.lockMode=r,this.setResourceInformations(o),this.lockMode?[4,this.canExecuteAction(a)]:[3,2]):[3,3];case 1:if(!0===t.sent())if(["viewDoc","documentDetails","signatureBookAction","processDocument"].indexOf(n.component)>-1)this[n.component](n.data);else try{this.lockResource(),this[n.component](n.data)}catch(u){console.log(u),console.log(n),this.unlockResourceAfterActionModal([]),alert(this.lang.actionNotExist)}return[3,3];case 2:try{this[n.component]()}catch(u){console.log(u),console.log(n),alert(this.lang.actionNotExist)}t.label=3;case 3:return[2]}}))}))},n.prototype.canExecuteAction=function(n,l,e,t){var i=this;return void 0===l&&(l=this.currentUserId),void 0===e&&(e=this.currentGroupId),void 0===t&&(t=this.currentBasketId),new Promise((function(a){i.http.put("../../rest/resourcesList/users/"+l+"/groups/"+e+"/baskets/"+t+"/locked",{resources:n}).pipe(Yr((function(l){var e=i.lang.warnLockRes+" : "+l.lockers.join(", ");l.countLockedResources!=n.length&&(e+=i.lang.warnLockRes2+"."),l.countLockedResources>0&&alert(l.countLockedResources+" "+e),l.countLockedResources!=n.length?(i.currentResIds=l.resourcesToProcess,a(!0)):a(!1)})),Qr((function(n){return i.notify.handleErrors(n),lu(!1)}))).subscribe()}))},n.prototype.hasLockResources=function(){return!this.functions.empty(this.currentResourceLock)},n.prototype.lockResource=function(n,l,e,t){var i=this;void 0===n&&(n=this.currentUserId),void 0===l&&(l=this.currentGroupId),void 0===e&&(e=this.currentBasketId),void 0===t&&(t=this.currentResIds),this.http.put("../../rest/resourcesList/users/"+n+"/groups/"+l+"/baskets/"+e+"/lock",{resources:t}).pipe(Qr((function(n){return i.notify.handleErrors(n),lu(!1)}))).subscribe(),this.functions.empty(this.currentResourceLock)||clearInterval(this.currentResourceLock),this.currentResourceLock=setInterval((function(){i.http.put("../../rest/resourcesList/users/"+n+"/groups/"+l+"/baskets/"+e+"/lock",{resources:t}).pipe(Qr((function(n){return 403===n.status&&clearInterval(i.currentResourceLock),i.notify.handleErrors(n),lu(!1)}))).subscribe()}),5e4)},n.prototype.unlockResource=function(n,l,e,t){var i=this;void 0===n&&(n=this.currentUserId),void 0===l&&(l=this.currentGroupId),void 0===e&&(e=this.currentBasketId),void 0===t&&(t=this.currentResIds),t.length>0&&this.http.put("../../rest/resourcesList/users/"+n+"/groups/"+l+"/baskets/"+e+"/unlock",{resources:t}).pipe(Qr((function(n){return i.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.stopRefreshResourceLock=function(){null!==this.currentResourceLock&&clearInterval(this.currentResourceLock)},n.prototype.setDatasActionToSend=function(){return{resIds:this.currentResIds,resource:this.currentResourceInformations,action:this.currentAction,userId:this.currentUserId,groupId:this.currentGroupId,basketId:this.currentBasketId,indexActionRoute:this.indexActionRoute,processActionRoute:this.processActionRoute}},n.prototype.unlockResourceAfterActionModal=function(n){this.lockMode&&(this.stopRefreshResourceLock(),this.functions.empty(n)&&this.unlockResource())},n.prototype.endAction=function(n){"indexing"===this.mode&&!this.functions.empty(this.currentResourceInformations.followed)&&this.currentResourceInformations.followed&&this.headerService.nbResourcesFollowed++,this.notify.success(this.lang.action+' : "'+this.currentAction.label+'" '+this.lang.done),this.actionEnded=!0,this.eventAction.next(n)},n.prototype.confirmAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Cun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.closeMailAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(kun,{disableClose:!0,width:"500px",panelClass:"maarch-modal",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.closeAndIndexAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Mun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.redirectInitiatorEntityAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Gun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.closeMailWithAttachmentsOrNotesAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Wun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.updateAcknowledgementSendDateAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Pun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.createAcknowledgementReceiptsAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Dun,{panelClass:"maarch-modal",disableClose:!0,width:"600px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.updateDepartureDateAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Fun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.disabledBasketPersistenceAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Eun,{disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.enabledBasketPersistenceAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Oun,{disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.resMarkAsReadAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Tun,{disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.viewDoc=function(n){void 0===n&&(n=null),this.dialog.open(Lun,{panelClass:"maarch-modal",data:this.setDatasActionToSend()})},n.prototype.sendExternalSignatoryBookAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(zun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sendExternalNoteBookAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Uun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.redirectAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open($un,{panelClass:"maarch-modal",disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sendShippingAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Hun,{panelClass:"maarch-modal",disableClose:!0,minWidth:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sendSignatureBookAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Kun,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.continueVisaCircuitAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Yun,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.noConfirmAction=function(n){var l=this;void 0===n&&(n=null);var e=this.setDatasActionToSend();0===e.resIds.length?this.http.post("../../rest/resources",e.resource).pipe(Yr((function(n){e.resIds=[n.resId]})),MN((function(){return l.http.put(e.indexActionRoute,{resource:e.resIds[0]})})),Yr((function(){l.endAction(e.resIds)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe():this.http.put(e.processActionRoute,{resources:this.setDatasActionToSend().resIds}).pipe(Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.processDocument=function(n){void 0===n&&(n=null),this.router.navigate(["/process/users/"+this.currentUserId+"/groups/"+this.currentGroupId+"/baskets/"+this.currentBasketId+"/resId/"+this.currentResIds])},n.prototype.signatureBookAction=function(n){void 0===n&&(n=null),this.router.navigate(["/signatureBook/users/"+this.currentUserId+"/groups/"+this.currentGroupId+"/baskets/"+this.currentBasketId+"/resources/"+this.currentResIds])},n.prototype.documentDetails=function(n){void 0===n&&(n=null),this.router.navigate(["/resources/"+this.currentResIds])},n.prototype.rejectVisaBackToPreviousAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Sun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.resetVisaAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Iun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.interruptVisaAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Aun,{panelClass:"maarch-modal",disableClose:!0,width:"500px",data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sendToOpinionCircuitAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Jun,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sendToParallelOpinion=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Qun,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.continueOpinionCircuitAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Zun,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.giveOpinionParallelAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(Xun,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.validateParallelOpinionDiffusionAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(nsn,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.reconcileAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(lsn,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(){l.stopRefreshResourceLock()})),tc((function(n){return!l.functions.empty(n)})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.sendAlfrescoAction=function(n){var l=this;void 0===n&&(n=null),this.dialog.open(esn,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:this.setDatasActionToSend()}).afterClosed().pipe(Yr((function(n){l.unlockResourceAfterActionModal(n)})),tc((function(n){return"success"===n})),Yr((function(n){l.endAction(n)})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n}(),isn=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.router=t,this.actionService=i,this.headerService=a,this.lang=Kr,this.loading=!1,this.triggerEvent=new la,this.contextMenuPosition={x:"0px",y:"0px"},this.contextMenuTitle="",this.currentAction={},this.basketInfo={},this.contextResId=0,this.currentLock=null,this.arrRes=[],this.folderList=[],this.actionsList=[],this.currentResource={},this.refreshEvent=new la,this.refreshEventAfterAction=new la,this.refreshPanelFolders=new la}return n.prototype.ngOnInit=function(){},n.prototype.open=function(n,l,e){return this.loadActionList(),this.contextMenuPosition.x=n+"px",this.contextMenuPosition.y=l+"px",this.currentResource=e,this.contextMenuTitle=e.chrono,this.contextResId=e.resId,this.folderList=void 0!==e.folders?e.folders:[],this.contextMenu.openMenu(),!1},n.prototype.launchEvent=function(n,l){this.arrRes=[],this.currentAction=n,this.arrRes=this.selectedRes,this.contextMode&&this.selectedRes.length>1&&(this.contextMenuTitle="",this.contextResId=0),void 0!==l&&(this.contextMenuTitle=l.chrono,this.currentResource=l),this.actionService.launchAction(n,this.currentBasketInfo.ownerId,this.currentBasketInfo.groupId,this.currentBasketInfo.basketId,this.selectedRes,this.currentResource,!0)},n.prototype.loadActionList=function(){var n=this;JSON.stringify(this.basketInfo)!=JSON.stringify(this.currentBasketInfo)&&(this.basketInfo=JSON.parse(JSON.stringify(this.currentBasketInfo)),this.http.get("../../rest/resourcesList/users/"+this.currentBasketInfo.ownerId+"/groups/"+this.currentBasketInfo.groupId+"/baskets/"+this.currentBasketInfo.basketId+"/actions").subscribe((function(l){n.actionsList=l.actions.length>0?l.actions:[{id:0,label:n.lang.noAction,component:""}],n.loading=!1}),(function(l){n.notify.handleErrors(l)})))},n.prototype.refreshList=function(){this.refreshEvent.emit()},n.prototype.refreshFolders=function(){this.refreshPanelFolders.emit()},n.prototype.unFollow=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.stopFollowingAlert}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:n.selectedRes}})})),Yr((function(l){n.notify.success(n.lang.removedFromFolder),n.headerService.nbResourcesFollowed-=l.unFollowed,n.refreshList()}))).subscribe()},n}(),asn=yt({encapsulation:0,styles:[[".mat-icon[_ngcontent-%COMP%]{height:auto}.mat-stroked-button[_ngcontent-%COMP%]{border-radius:20px;border-color:#135f7f;color:#135f7f} .actionListMenu .mat-menu-content{padding-top:0;padding-bottom:0}.followAction[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;color:#8e3e52}"]],data:{}});function osn(n){return jo(0,[(n()(),_o(0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),"click"===l&&(t=!1!==i.loadActionList()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(-1,0,["Actions "])),(n()(),_o(4,0,null,0,2,"mat-icon",[["class","fa fa-caret-down mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,16384,null,0,oT,[],null,null),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,8)),n(l,6,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,4,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function rsn(n){return jo(0,[(n()(),_o(0,16777216,[["menu2",1]],null,1,"span",[["aria-haspopup","true"],["class","mat-menu-trigger"],["style","position: fixed;"]],[[4,"left",null],[4,"top",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,1)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),t}),null,null)),Di(1,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,bi(l.parent,8))}),(function(n,l){var e=l.component;n(l,0,0,e.contextMenuPosition.x,e.contextMenuPosition.y,bi(l,1).menuOpen||null)}))}function usn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.contextMenuTitle)}))}function ssn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.launchEvent(n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],(function(n,l){n(l,1,0,""==l.context.$implicit.component||0==l.component.selectedRes.length)}),(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,l.context.$implicit.label)}))}function csn(n){return jo(0,[ko(671088640,1,{contextMenu:0}),(n()(),vo(16777216,null,null,1,null,osn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rsn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,23,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(8,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,2,{_allItems:1}),ko(603979776,3,{items:1}),ko(603979776,4,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,usn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,ssn)),Di(15,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(16,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(17,49152,null,0,mI,[],null,null),(n()(),_o(18,0,null,0,5,"button",[["class","followAction mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,19)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,19)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.unFollow()&&t),t}),lL,nL)),Di(19,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(20,0,null,0,1,"mat-icon",[["class","far fa-star fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(21,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(22,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(23,null,["",""])),(n()(),_o(24,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(25,49152,null,0,mI,[],null,null),(n()(),_o(26,0,null,0,2,"folder-menu",[],null,[[null,"refreshList"],[null,"refreshFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshList"===l&&(t=!1!==i.refreshList()&&t),"refreshFolders"===l&&(t=!1!==i.refreshFolders()&&t),t}),wun,uun)),Ei(512,null,tu,tu,[uf,hk]),Di(28,114688,null,0,run,[nS,tu,Jv,Te,ru,$S],{resIds:[0,"resIds"],currentFoldersList:[1,"currentFoldersList"]},{refreshFolders:"refreshFolders",refreshList:"refreshList"})],(function(n,l){var e=l.component;n(l,2,0,!e.contextMode),n(l,4,0,e.contextMode),n(l,8,0,"actionListMenu"),n(l,13,0,e.contextMode&&1==e.selectedRes.length),n(l,15,0,e.actionsList),n(l,19,0,0===e.selectedRes.length),n(l,21,0),n(l,28,0,e.selectedRes,e.folderList)}),(function(n,l){var e=l.component;n(l,16,0,bi(l,17).vertical?"vertical":"horizontal",bi(l,17).vertical,!bi(l,17).vertical,bi(l,17).inset),n(l,18,0,bi(l,19).role,bi(l,19)._highlighted,bi(l,19)._triggersSubmenu,bi(l,19)._getTabIndex(),bi(l,19).disabled.toString(),bi(l,19).disabled||null),n(l,20,0,bi(l,21).inline,"primary"!==bi(l,21).color&&"accent"!==bi(l,21).color&&"warn"!==bi(l,21).color),n(l,23,0,e.lang.untrackThisMail),n(l,24,0,bi(l,25).vertical?"vertical":"horizontal",bi(l,25).vertical,!bi(l,25).vertical,bi(l,25).inset)}))}var dsn=yt({encapsulation:0,styles:[[".noteEditorContent[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]:disabled{opacity:.5}.noteEditorContent[_ngcontent-%COMP%] .mat-form-field-flex{-webkit-box-align:start;align-items:flex-start}.noteEditorContent[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0} .templateNoteListMenu .mat-menu-content{padding-top:0;padding-bottom:0;max-height:500px} .fixedWidth .mat-menu-content{min-width:265px} .mat-tooltip{font-size:14px}.noteRestriction[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.4);white-space:normal;display:inline-block;margin:5px!important;cursor:pointer}.noNoteRestriction[_ngcontent-%COMP%]{background-color:#135f7f;white-space:normal;display:inline-block;margin:5px!important;cursor:pointer}.labelFolder[_ngcontent-%COMP%]{color:#666;font-size:12px;font-weight:700}.smallInput[_ngcontent-%COMP%]{font-size:11px;padding-left:20px;padding-right:20px}.smallInput[_ngcontent-%COMP%] .mat-form-field-infix{padding:0 0 5px}"]],data:{}});function psn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),lL,nL)),Di(1,180224,[[10,4],[11,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,56))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null,bi(l,2).menuOpen||null),n(l,4,0,e.lang.visibleBy)}))}function msn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["class","mat-menu-item"],["mat-menu-item",""],["matTooltipPosition","left"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==bi(n,2)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.selectTemplate(n.context.$implicit)&&t),t}),lL,nL)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{position:[0,"position"],message:[1,"message"]},null),Di(2,180224,[[13,4],[14,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(3,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"left",Wt(1,"",l.context.$implicit.template_content,""))}),(function(n,l){n(l,0,0,bi(l,2).role,bi(l,2)._highlighted,bi(l,2)._triggersSubmenu,bi(l,2)._getTabIndex(),bi(l,2).disabled.toString(),bi(l,2).disabled||null),n(l,4,0,l.context.$implicit.template_label)}))}function fsn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-menu-item"],["disabled",""],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),t}),lL,nL)),Di(1,180224,[[13,4],[14,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],(function(n,l){n(l,1,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,e.lang.noTemplate)}))}function hsn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","labelFolder mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.selectEntity(n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[16,4],[17,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.selected)}),(function(n,l){n(l,0,0,l.context.$implicit.entity_label,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.context.$implicit.entity_label)}))}function gsn(n){return jo(0,[(n()(),_o(0,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"],["floatLabel","never"],["style","margin-bottom: -15px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,19,{_controlNonStatic:0}),ko(335544320,20,{_controlStatic:0}),ko(603979776,21,{_labelChildNonStatic:0}),ko(335544320,22,{_labelChildStatic:0}),ko(603979776,23,{_placeholderChild:0}),ko(603979776,24,{_errorChildren:1}),ko(603979776,25,{_hintChildren:1}),ko(603979776,26,{_prefixChildren:1}),ko(603979776,27,{_suffixChildren:1}),(n()(),_o(11,0,null,1,7,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["id","searchTerm"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keydown"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,12)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,12).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,12)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,12)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keydown"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(12,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(14,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(16,16384,null,0,y_,[[4,v_]],null,null),Di(17,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Ei(2048,[[19,4],[20,4],[1,4],[2,4]],nT,null,[OT]),(n()(),_o(19,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,hsn)),Di(21,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,"outline","never"),n(l,14,0,e.searchTerm),n(l,17,0,"searchTerm",Wt(1,"",e.lang.searchEntities,"")),n(l,21,0,e.entitiesList)}),(function(n,l){n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,11,1,[bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()])}))}function bsn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addNote()&&t),t}),PC,MC)),Di(1,16384,[[9,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-paper-plane fa-2x"],["fontSet","far"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){var e=l.component;n(l,2,0,""==e.content.trim()||e.loading,"primary"),n(l,4,0,"far","fa-paper-plane fa-2x")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.add,""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function vsn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","primary"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateNote()&&t),t}),PC,MC)),Di(1,16384,[[9,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-paper-plane fa-2x"],["fontSet","far"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){var e=l.component;n(l,2,0,""==e.content.trim()||e.loading,"primary"),n(l,4,0,"far","fa-paper-plane fa-2x")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.validate,""),bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function _sn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","label label-default noNoteRestriction"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.all)}))}function ysn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"span",[["class","label label-default noteRestriction"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.removeEntityRestriction(i.entitiesRestriction.indexOf(n.parent.context.$implicit.id),n.parent.context.index)&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-sitemap"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),(n()(),_o(3,0,null,null,0,"i",[["class","fa fa-times"],["style","cursor: pointer;"]],null,null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.restrictedEntity,"")),n(l,2,0,l.parent.context.$implicit.entity_label)}))}function wsn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ysn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.entitiesRestriction.indexOf(l.context.$implicit.id)>-1)}),null)}function xsn(n){return jo(0,[Fi(0,HS,[QS,$S]),(n()(),_o(1,0,null,null,66,"mat-form-field",[["appearance","outline"],["class","noteEditorContent mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(12,0,null,1,7,"textarea",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.content=e)&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(15,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(20,16777216,null,4,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["color","primary"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,23)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,23)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,23)._handleClick(e)&&t),t}),PC,MC)),Di(21,16384,[[9,4]],0,oT,[],null,null),Di(22,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(23,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(24,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-angle-right fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(25,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(26,0,null,1,13,"mat-menu",[],null,null,null,XT,ZT)),Di(27,1294336,[["menuMain",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,10,{_allItems:1}),ko(603979776,11,{items:1}),ko(603979776,12,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(33,16777216,null,0,4,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"menuOpened"],[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,34)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,34)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,35)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,35)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,35)._handleClick(e)&&t),"menuOpened"===l&&(t=!1!==i.getTemplatesNote()&&t),t}),lL,nL)),Di(34,180224,[[10,4],[11,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),Di(35,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},{menuOpened:"menuOpened"}),(n()(),_o(36,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(37,null,["",""])),(n()(),vo(16777216,null,0,1,null,psn)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(40,0,null,1,12,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(43,1294336,[["menuTemplates",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,13,{_allItems:1}),ko(603979776,14,{items:1}),ko(603979776,15,{lazyContent:0}),(n()(),_o(47,0,null,0,1,"div",[["style","z-index:1;position: sticky;top: 0px;text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(48,null,[" "," "])),(n()(),vo(16777216,null,0,1,null,msn)),Di(50,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,0,1,null,fsn)),Di(52,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(53,0,null,1,10,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(56,1294336,[["menuEntities",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,16,{_allItems:1}),ko(603979776,17,{items:1}),ko(603979776,18,{lazyContent:0}),(n()(),_o(60,0,null,0,1,"div",[["style","z-index:1;position: sticky;top: 0px;text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(61,null,[" "," "])),(n()(),vo(16777216,null,0,1,null,gsn)),Di(63,147456,[[18,4]],0,VT,[Xe,Se,Qa,le,lt,qs,Nl],null,null),(n()(),vo(16777216,null,4,1,null,bsn)),Di(65,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,4,1,null,vsn)),Di(67,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(68,0,null,null,7,"div",[["style","overflow: auto;max-height: 75px;"]],null,null,null,null,null)),(n()(),_o(69,0,null,null,1,"div",[["style","font-size: 11px;position: sticky;top: 0px;"]],[[4,"background",null]],null,null,null,null)),(n()(),Lo(70,null,["",""])),(n()(),vo(16777216,null,null,1,null,_sn)),Di(72,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,wsn)),Di(74,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(75,2)],(function(n,l){var e=l.component;n(l,2,0,"outline"),n(l,15,0,e.content),n(l,18,0,Wt(1,"",e.title,"")),n(l,22,0,"primary"),n(l,23,0,bi(l,27)),n(l,25,0,"fas","fa-angle-right fa-2x"),n(l,27,0,"templateNoteListMenu"),n(l,35,0,bi(l,43)),n(l,39,0,!e.disableRestriction),n(l,43,0,"templateNoteListMenu"),n(l,50,0,e.templatesNote),n(l,52,0,0==e.templatesNote.length),n(l,56,0,"templateNoteListMenu fixedWidth"),n(l,65,0,e.addMode),n(l,67,0,e.upMode),n(l,72,0,0===e.entitiesRestriction.length);var t=bt(l,74,0,n(l,75,0,bi(l,0),e.entities,"entity_label"));n(l,74,0,t)}),(function(n,l){var e=l.component;n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()]),n(l,20,0,Wt(1,"",e.lang.options,""),bi(l,22).disabled||null,"NoopAnimations"===bi(l,22)._animationMode,bi(l,23).menuOpen||null),n(l,24,0,bi(l,25).inline,"primary"!==bi(l,25).color&&"accent"!==bi(l,25).color&&"warn"!==bi(l,25).color),n(l,33,0,bi(l,34).role,bi(l,34)._highlighted,bi(l,34)._triggersSubmenu,bi(l,34)._getTabIndex(),bi(l,34).disabled.toString(),bi(l,34).disabled||null,bi(l,35).menuOpen||null),n(l,37,0,e.lang.noteTemplates),n(l,48,0,e.lang.noteTemplates),n(l,61,0,e.lang.entities),n(l,69,0,e.upMode&&e.entitiesRestriction.length>0?"#FFEDCC":"white"),n(l,70,0,e.lang.noteVisibleBy)}))}var Csn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.headerService=e,this.dialog=t,this.functions=i,this.lang=Kr,this.notes=[],this.loading=!0,this.resIds=[],this.resId=null,this.editMode=!1,this.reloadBadgeNotes=new la}return n.prototype.ngOnInit=function(){var n=this;null!==this.resId&&this.http.get("../../rest/resources/"+this.resId+"/notes").pipe(Yr((function(l){n.resIds[0]=n.resId,n.notes=l.notes})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.loadNotes=function(n){var l=this;this.resIds[0]=n,this.loading=!0,this.http.get("../../rest/resources/"+this.resIds[0]+"/notes").subscribe((function(n){l.notes=n.notes,l.reloadBadgeNotes.emit(""+l.notes.length),l.loading=!1}))},n.prototype.getRestrictionEntitiesId=function(n){return this.functions.empty(n)?[]:n.map((function(n){return n.item_id[0]}))},n.prototype.removeNote=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!1,data:{title:this.lang.confirmRemoveNote,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.request("DELETE","../../rest/notes/"+n.id)})),Yr((function(){var e=l.notes.findIndex((function(l){return l.id==n.id}));e>-1&&l.notes.splice(e,1),l.notify.success(l.lang.noteRemoved),l.reloadBadgeNotes.emit(""+l.notes.length)}))).subscribe()},n.prototype.editNote=function(n){n.edit=!n.edit},n}(),ksn=yt({encapsulation:0,styles:[[".mat-card[_ngcontent-%COMP%]{margin:20px;padding:0;box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-card-header[_ngcontent-%COMP%]{background:#f9f9f9;padding:10px}.mat-card-avatar[_ngcontent-%COMP%]{height:auto;width:auto;border-radius:0;display:-webkit-box;display:flex;text-align:center}.mat-card-avatar[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;font-size:25px;margin:auto}.mat-card-title[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin:0}.mat-card-subtitle[_ngcontent-%COMP%]{margin:0;padding-top:5px}.dateNote[_ngcontent-%COMP%]{position:absolute;right:10px;top:13px;font-size:12px;margin:0;color:#135f7f}.removeNote[_ngcontent-%COMP%]{position:absolute;top:22px;right:0}.editNote[_ngcontent-%COMP%]{margin-right:-10px;color:#135f7f}.noteTextContent[_ngcontent-%COMP%]{white-space:pre-line;padding:30px}.noteRestriction[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.4);white-space:normal;display:inline-block;margin:5px!important}"]],data:{}});function Ssn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Isn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-note-editor",[["style","margin: 20px;display: flex;flex-direction: column;"]],null,[[null,"refreshNotes"]],(function(n,l,e){var t=!0;return"refreshNotes"===l&&(t=!1!==n.component.loadNotes(e)&&t),t}),xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,[["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"],addMode:[1,"addMode"],defaultRestriction:[2,"defaultRestriction"]},{refreshNotes:"refreshNotes"})],(function(n,l){n(l,2,0,l.component.resIds,!0,!0)}),null)}function Asn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","text-align:center;font-size:24px;font-weight:bold;opacity:0.3;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noNote)}))}function Msn(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-card-subtitle",[["class","removeNote mat-card-subtitle"]],null,null,null,null,null)),Di(1,16384,null,0,yO,[],null,null),(n()(),_o(2,0,null,null,4,"button",[["class","editNote"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.editNote(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(3,16384,null,0,oT,[],null,null),Di(4,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(5,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-pencil-alt fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(7,0,null,null,4,"button",[["mat-icon-button",""],["matSuffix",""],["style","color: red;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeNote(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(8,16384,null,0,oT,[],null,null),Di(9,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(10,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-trash-alt fa-2x"],["fontSet","far"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){n(l,6,0,"fas","fa-pencil-alt fa-2x"),n(l,11,0,"far","fa-trash-alt fa-2x")}),(function(n,l){var e=l.component;n(l,2,0,Wt(1,"",e.lang.editNote,""),bi(l,4).disabled||null,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color),n(l,7,0,Wt(1,"",e.lang.removeNote,""),bi(l,9).disabled||null,"NoopAnimations"===bi(l,9)._animationMode),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color)}))}function Psn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-note-editor",[["style","margin: 20px;display: flex;flex-direction: column;"]],null,[[null,"refreshNotes"]],(function(n,l,e){var t=!0;return"refreshNotes"===l&&(t=!1!==n.component.loadNotes(e)&&t),t}),xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,[["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"],upMode:[1,"upMode"],noteContent:[2,"noteContent"],entitiesNoteRestriction:[3,"entitiesNoteRestriction"],noteId:[4,"noteId"]},{refreshNotes:"refreshNotes"})],(function(n,l){var e=l.component;n(l,2,0,e.resIds,!0,l.parent.context.$implicit.value,e.getRestrictionEntitiesId(l.parent.context.$implicit.entities_restriction),l.parent.context.$implicit.id)}),null)}function Dsn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","label label-default noteRestriction"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-sitemap"]],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.restrictedEntity,"")),n(l,2,0,l.context.$implicit.short_label)}))}function Fsn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","overflow: auto;max-height: 75px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Dsn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,2,0,l.parent.parent.context.$implicit.entities_restriction)}),null)}function Esn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-card-content",[["class","mat-card-content"]],null,null,null,null,null)),Di(1,16384,null,0,vO,[],null,null),(n()(),_o(2,0,null,null,1,"p",[["class","noteTextContent"]],null,null,null,null,null)),(n()(),Lo(3,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Fsn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,5,0,!l.component.functions.empty(l.parent.context.$implicit.entities_restriction))}),(function(n,l){n(l,3,0,l.parent.context.$implicit.value)}))}function Osn(n){return jo(0,[(n()(),_o(0,0,null,null,26,"mat-card",[["class","mat-card"],["style","margin-top: 10px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{"background-color":0}),Di(4,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(5,0,null,0,17,"mat-card-header",[["class","mat-card-header"]],null,null,null,MO,AO)),Di(6,49152,null,0,CO,[],null,null),(n()(),_o(7,0,null,0,2,"div",[["class","mat-card-avatar"],["mat-card-avatar",""]],null,null,null,null,null)),Di(8,16384,null,0,wO,[],null,null),(n()(),_o(9,0,null,null,0,"i",[["class","fa fa-user"],["color","primary"]],null,null,null,null,null)),(n()(),_o(10,0,null,1,2,"mat-card-title",[["class","mat-card-title"]],null,null,null,null,null)),Di(11,16384,null,0,_O,[],null,null),(n()(),Lo(12,null,[""," ",""])),(n()(),_o(13,0,null,1,2,"mat-card-subtitle",[["class","mat-card-subtitle"]],null,null,null,null,null)),Di(14,16384,null,0,yO,[],null,null),(n()(),Lo(15,null,["",""])),(n()(),_o(16,0,null,1,4,"mat-card-subtitle",[["class","dateNote mat-card-subtitle"]],[[8,"title",0]],null,null,null,null)),Di(17,16384,null,0,yO,[],null,null),Fi(0,wG,[$S]),(n()(),Lo(19,null,["",""])),Fi(131072,xG,[Nl,La]),(n()(),vo(16777216,null,1,1,null,Msn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Psn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Esn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,3,0,l.context.$implicit.entities_restriction?"#FFEDCC":"white");n(l,2,0,t),n(l,22,0,l.context.$implicit.user_id==e.headerService.user.id),n(l,24,0,l.context.$implicit.edit),n(l,26,0,!l.context.$implicit.edit)}),(function(n,l){n(l,0,0,"NoopAnimations"===bi(l,4)._animationMode),n(l,12,0,l.context.$implicit.firstname,l.context.$implicit.lastname),n(l,15,0,l.context.$implicit.entity_label),n(l,16,0,Wt(1,"",bt(l,16,0,bi(l,18).transform(l.context.$implicit.creation_date)),"")),n(l,19,0,bt(l,19,0,bi(l,20).transform(l.context.$implicit.creation_date)))}))}function Tsn(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Isn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Asn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Osn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.editMode),n(l,4,0,0==e.notes.length),n(l,6,0,e.notes)}),null)}function Lsn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Ssn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Tsn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.loading),n(l,3,0,!e.loading)}),null)}var Rsn=function(){function n(n,l){this.dialogRef=n,this.data=l,this.lang=Kr,this.loading=!1}return n.prototype.ngOnInit=function(){},n}(),Nsn=function(){function n(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr}return n.prototype.ngOnInit=function(){this.appVisaWorkflow.loadWorkflowMaarchParapheur(this.data.id,this.data.type)},n}(),jsn=function(){function n(n,l,e,t,i,a,o,r,u){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.dialog=i,this.sortPipe=a,this.functions=o,this.privilegeService=r,this.localStorage=u,this.base64=null,this.format=null,this.mode="mainDocument",this.resId=null,this.resIdMaster=null,this.editMode=!1,this.hideTools=!1,this.title="",this.attachType=null,this.triggerEvent=new la,this.lang=Kr,this.loading=!0,this.noConvertedFound=!1,this.noFile=!1,this.file={name:"",type:"",contentMode:"base64",content:null,src:null},this.allowedExtensions=[],this.maxFileSize=0,this.maxFileSizeLabel="",this.percentInProgress=0,this.editInProgress=!1,this.listTemplates=[],this.externalId={},this.templateListForm=new sy,this.loadingInfo={mode:"indeterminate",percent:0,message:""},this.editor={mode:"",async:!0,options:{docUrl:null,dataToMerge:null}},this.isDocModified=!1,window.pdfWorkerSrc="../../node_modules/pdfjs-dist/build/pdf.worker.min.js"}return n.prototype.ngOnInit=function(){var n=this;this.setEditor(),this.http.get("../../rest/indexing/fileInformations").pipe(Yr((function(l){n.allowedExtensions=l.informations.allowedFiles.map((function(n){return{extension:"."+n.extension.toLowerCase(),mimeType:n.mimeType,canConvert:n.canConvert}})),n.allowedExtensions=n.sortPipe.transform(n.allowedExtensions,"extension"),n.maxFileSize=l.informations.maximumSize,n.maxFileSizeLabel=l.informations.maximumSizeLabel,null!==n.resId?(n.loadRessource(n.resId,n.mode),n.editMode&&(null!==n.attachType&&"attachment"===n.mode?n.loadTemplatesByResId(n.resIdMaster,n.attachType):n.loadTemplates())):(n.loadTemplates(),n.loading=!1)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe(),this.functions.empty(this.base64)?""!==this.tmpFilename&&void 0!==this.tmpFilename&&this.http.get("../../rest/convertedFile/"+this.tmpFilename).pipe(Yr((function(l){n.file={name:n.tmpFilename,format:"pdf",type:"application/pdf",contentMode:"base64",content:n.getBase64Document(n.base64ToArrayBuffer(l.encodedResource)),src:n.base64ToArrayBuffer(l.encodedResource)},n.noConvertedFound=!1,n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe():this.loadFileFromBase64()},n.prototype.loadFileFromBase64=function(){this.loading=!0,this.file={name:"maarch",format:"pdf",type:"application/pdf",contentMode:"base64",content:this.base64,src:this.base64ToArrayBuffer(this.base64)},this.loading=!1},n.prototype.loadTmpFile=function(n){var l=this;return new Promise((function(e,t){l.loading=!0,l.loadingInfo.mode="determinate",l.requestWithLoader("../../rest/convertedFile/"+n+"?convert=true").subscribe((function(t){t.encodedResource&&(l.file={name:n,format:t.extension,type:t.type,contentMode:"base64",content:t.encodedResource,src:void 0!==t.encodedConvertedResource?l.base64ToArrayBuffer(t.encodedConvertedResource):null},l.editMode=!0,l.triggerEvent.emit(),void 0!==t.encodedConvertedResource?l.noConvertedFound=!1:(l.noConvertedFound=!0,l.notify.error(t.convertedResourceErrors)),l.loading=!1,e(!0))}),(function(n){return l.noConvertedFound=!0,l.notify.handleErrors(n),l.loading=!1,e(!0),lu(!1)}))}))},n.prototype.uploadTrigger=function(n){var l=this;if(n.target.files&&n.target.files[0]&&this.isExtensionAllowed(n.target.files[0])){this.initUpload();var e=new FileReader;this.file.name=n.target.files[0].name,this.file.type=n.target.files[0].type,this.file.format=this.file.name.split(".").pop(),e.readAsArrayBuffer(n.target.files[0]),e.onload=function(n){l.file.content=l.getBase64Document(n.target.result),l.triggerEvent.emit(),"application/pdf"!==l.file.type?l.convertDocument(l.file):(l.file.src=n.target.result,l.loading=!1)}}else this.loading=!1},n.prototype.initUpload=function(){this.loading=!0,this.file={name:"",type:"",contentMode:"base64",content:null,src:null},this.noConvertedFound=!1,this.loadingInfo.message=this.lang.loadingFile+"...",this.loadingInfo.mode="indeterminate"},n.prototype.getBase64Document=function(n){var l=new Uint8Array(n).reduce((function(n,l){return n+String.fromCharCode(l)}),"");return btoa(l)},n.prototype.base64ToArrayBuffer=function(n){for(var l=window.atob(n),e=l.length,t=new Uint8Array(e),i=0;i<e;i++)t[i]=l.charCodeAt(i);return t.buffer},n.prototype.b64toBlob=function(n,l,e){void 0===l&&(l=""),void 0===e&&(e=512);for(var t=atob(n),i=[],a=0;a<t.length;a+=e){for(var o=t.slice(a,a+e),r=new Array(o.length),u=0;u<o.length;u++)r[u]=o.charCodeAt(u);var s=new Uint8Array(r);i.push(s)}return new Blob(i,{type:l})},n.prototype.convertDocument=function(n){var l=this;this.canBeConverted(n)?this.upload({name:n.name,base64:n.content}).subscribe((function(n){n.encodedResource&&(l.file.base64src=n.encodedResource,l.file.src=l.base64ToArrayBuffer(n.encodedResource),l.loading=!1)}),(function(n){return l.noConvertedFound=!0,l.notify.handleErrors(n),l.loading=!1,lu(!1)})):(this.noConvertedFound=!0,this.loading=!1)},n.prototype.upload=function(n){var l=this;return this.http.post("../../rest/convertedFile",n,{reportProgress:!0,observe:"events"}).pipe(q((function(n){switch(n.type){case Kk.DownloadProgress:var e=Math.round(100*n.loaded/n.total);return l.loadingInfo.percent=e,l.loadingInfo.mode="determinate",l.loadingInfo.message="3/3 "+l.lang.downloadConvertedFile+"...",{status:"progress",message:e};case Kk.UploadProgress:var t=Math.round(100*n.loaded/n.total);return l.loadingInfo.percent=t,100===t?(l.loadingInfo.mode="indeterminate",l.loadingInfo.message="2/3 "+l.lang.convertingFile+"..."):(l.loadingInfo.mode="determinate",l.loadingInfo.message="1/3 "+l.lang.loadingFile+"..."),{status:"progress",message:t};case Kk.Response:return n.body;default:return"Unhandled event: "+n.type}})))},n.prototype.requestWithLoader=function(n){var l=this;return this.loadingInfo.percent=0,this.http.get(n,{reportProgress:!0,observe:"events"}).pipe(q((function(n){switch(n.type){case Kk.DownloadProgress:var e=Math.round(100*n.loaded/n.total);return l.loadingInfo.percent=e,l.loadingInfo.mode="determinate",l.loadingInfo.message="",{status:"progressDownload",message:e};case Kk.Response:return n.body;default:return"Unhandled event: "+n.type}})))},n.prototype.onError=function(n){console.log(n)},n.prototype.cleanFile=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.templateListForm.reset(),n.file={name:"",type:"",content:null,src:null},n.docToUploadValue="",n.triggerEvent.emit("cleanFile")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.saveDocService=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return[4,this.getFilePdf()];case 1:return n=l.sent(),this.headerService.setLoadedFile(n),[2]}}))}))},n.prototype.getFile=function(){if("onlyoffice"===this.editor.mode&&void 0!==this.onlyofficeViewer)return this.onlyofficeViewer.getFile();if("collaboraOnline"===this.editor.mode&&void 0!==this.collaboraOnlineViewer)return this.collaboraOnlineViewer.getFile();var n=JSON.parse(JSON.stringify(this.file));return n.content="route"===n.contentMode?null:n.content,lu(n)},n.prototype.getFilePdf=function(){var n=this;return new Promise((function(l,e){n.functions.empty(n.file.src)?n.getFile().pipe(_c(1),Yr((function(l){return"collaboraOnline"===n.editor.mode&&void 0!==n.collaboraOnlineViewer&&(n.collaboraOnlineViewer.isSaving=!1),l})),MN((function(l){return n.http.post("../../rest/convertedFile",{name:l.name+"."+l.format,base64:""+l.content})})),Yr((function(n){l(n.encodedResource)}))).subscribe():l(n.getBase64Document(n.file.src))}))},n.prototype.dndUploadFile=function(n){this.uploadTrigger({target:{files:[n[0]]}})},n.prototype.canBeConverted=function(n){var l="."+n.name.toLowerCase().split(".").pop();return this.allowedExtensions.filter((function(e){return!0===e.canConvert&&e.mimeType===n.type&&e.extension===l})).length>0},n.prototype.isExtensionAllowed=function(n){var l="."+n.name.toLowerCase().split(".").pop();return 0===this.allowedExtensions.filter((function(e){return e.mimeType===n.type&&e.extension===l})).length?(this.dialog.open(KI,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.notAllowedExtension+" !",msg:this.lang.file+" : <b>"+n.name+"</b>, "+this.lang.type+" : <b>"+n.type+"</b><br/><br/><u>"+this.lang.allowedExtensions+"</u> : <br/>"+this.allowedExtensions.map((function(n){return n.extension})).filter((function(n,l,e){return l===e.indexOf(n)})).join(", ")}}),!1):!(n.size>this.maxFileSize&&this.maxFileSize>0&&(this.dialog.open(KI,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.maxFileSizeReached+" ! ",msg:this.lang.maxFileSize+" : "+this.maxFileSizeLabel}}),1))},n.prototype.downloadOriginalFile=function(){var n=document.createElement("a");n.href="base64"===this.file.contentMode?"data:"+this.file.type+";base64,"+this.file.content:this.file.content,n.setAttribute("download",this.file.name),document.body.appendChild(n),n.click()},n.prototype.openPdfInTab=function(){var n=this.file.contentView;"base64"===this.file.contentMode&&(n="data:"+this.file.type+";base64,"+this.file.content);var l=window.open();l.document.write('<iframe style="width: 100%;height: 100%;margin: 0;padding: 0;" src="'+n+'" frameborder="0" allowfullscreen></iframe>'),l.document.title=this.title},n.prototype.loadRessource=function(n,l){return void 0===l&&(l="mainDocument"),Object(t.__awaiter)(this,void 0,void 0,(function(){var e=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return this.resId=n,this.mode=l,this.loading=!0,"attachment"!==l?[3,1]:(this.requestWithLoader("../../rest/attachments/"+n+"/content?mode=base64").subscribe((function(l){l.encodedDocument&&(e.file.contentMode="route",e.file.format=l.originalFormat,e.file.creatorId=l.originalCreatorId,e.file.signatoryId=l.signatoryId,e.file.content="../../rest/attachments/"+n+"/originalContent",e.file.contentView="../../rest/attachments/"+n+"/content?mode=view",e.file.src=e.base64ToArrayBuffer(l.encodedDocument),e.loading=!1,e.noFile=!1)}),(function(l){return"Document has no file"===l.error.errors?e.noFile=!0:"Converted Document not found"===l.error.errors||"Document can not be converted"===l.error.errors?(e.file.contentMode="route",e.file.content="../../rest/attachments/"+n+"/originalContent",e.noConvertedFound=!0):(e.notify.error(l.error.errors),e.noFile=!0),e.loading=!1,lu(!1)})),[3,3]);case 1:return[4,this.loadMainDocumentSubInformations()];case 2:t.sent(),0===this.file.subinfos.mainDocVersions.length?(this.noFile=!0,this.loading=!1):this.file.subinfos.canConvert?(this.requestWithLoader("../../rest/resources/"+n+"/content?mode=base64").subscribe((function(l){l.encodedDocument&&(e.file.contentMode="route",e.file.format=l.originalFormat,e.file.signatoryId=l.signatoryId,e.file.content="../../rest/resources/"+n+"/originalContent",e.file.contentView="../../rest/resources/"+n+"/content?mode=view",e.file.src=e.base64ToArrayBuffer(l.encodedDocument),e.loading=!1,e.noFile=!1)}),(function(n){return e.notify.error(n.error.errors),e.noFile=!0,e.loading=!1,lu(!1)})),this.http.get("../../rest/resources/"+this.resId+"/fields/externalId").pipe(Yr((function(n){e.externalId=n.field})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()):(this.file.contentMode="route",this.file.content="../../rest/resources/"+n+"/originalContent",this.noConvertedFound=!0,this.loading=!1),t.label=3;case 3:return[2]}}))}))},n.prototype.loadMainDocumentSubInformations=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/resources/"+n.resId+"/versionsInformations").pipe(Yr((function(l){var e=l.DOC,t=!1,i=!1,a=!1;void 0!==l.DOC[l.DOC.length-1]&&(i=l.SIGN.indexOf(l.DOC[l.DOC.length-1])>-1,a=l.NOTE.indexOf(l.DOC[l.DOC.length-1])>-1,t=l.PDF.indexOf(l.DOC[l.DOC.length-1])>-1),n.file.subinfos={mainDocVersions:e,signedDocVersions:i,commentedDocVersions:a,mainDocPDFVersions:t}})),MN((function(){return n.http.get("../../rest/resources/"+n.resId+"/fileInformation")})),Yr((function(e){n.file.subinfos.canConvert=e.information.canConvert,l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()}))},n.prototype.editTemplate=function(n){null!==this.localStorage.get("modal_confirmEditTemplate_"+this.headerService.user.id)?this.launchEditTemplate(n):this.confirmEditTemplate(n)},n.prototype.confirmEditTemplate=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{idModal:"confirmEditTemplate",title:this.lang.templateEdition,msg:"attachment"===this.mode?this.lang.editionAttachmentConfirmFirst+"<br><br>"+this.lang.editionAttachmentConfirmThird:this.lang.editionAttachmentConfirmFirst+"<br><br>"+this.lang.editionAttachmentConfirmSecond}}),this.dialogRef.afterClosed().pipe(Yr((function(n){"ok"!==n&&l.templateListForm.reset()})),tc((function(n){return"ok"===n})),Yr((function(){l.launchEditTemplate(n)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.launchEditTemplate=function(n){var l=this;this.triggerEvent.emit();var e=this.listTemplates.filter((function(l){return l.id===n}))[0];this.file.format=e.extension,"onlyoffice"===this.editor.mode?(this.editor.async=!1,this.editor.options={objectType:"attachmentCreation",objectId:e.id,docUrl:"rest/onlyOffice/mergedFile",dataToMerge:this.resourceDatas},this.editInProgress=!0):"collaboraOnline"===this.editor.mode?(this.editor.async=!1,this.editInProgress=!0,this.editor.options={objectType:"attachment"===this.mode?"attachmentCreation":"resourceCreation",objectId:e.id,dataToMerge:this.resourceDatas}):(this.editor.async=!0,this.editor.options={objectType:"attachmentCreation",objectId:e.id,cookie:document.cookie,data:this.resourceDatas},this.editInProgress=!0,this.http.post("../../rest/jnlp",this.editor.options).pipe(Yr((function(n){window.location.href="../../rest/jnlp/"+n.generatedJnlp,l.checkLockFile(n.jnlpUniqueId,e.extension)}))).subscribe())},n.prototype.editResource=function(){"attachment"===this.mode?this.editAttachment():this.editMainDocument()},n.prototype.editAttachment=function(){var n=this;this.triggerEvent.emit("setData"),"onlyoffice"===this.editor.mode?(this.editor.async=!1,this.editor.options={objectType:"attachmentModification",objectId:this.resId,docUrl:"rest/onlyOffice/mergedFile",dataToMerge:this.resourceDatas},this.editInProgress=!0):"collaboraOnline"===this.editor.mode?(this.editor.async=!1,this.editInProgress=!0,this.editor.options={objectType:"attachmentModification",objectId:this.resId,dataToMerge:this.resourceDatas}):(this.editor.async=!0,this.editor.options={objectType:"attachmentModification",objectId:this.resId,cookie:document.cookie,data:this.resourceDatas},this.editInProgress=!0,this.http.post("../../rest/jnlp",this.editor.options).pipe(Yr((function(l){window.location.href="../../rest/jnlp/"+l.generatedJnlp,n.checkLockFile(l.jnlpUniqueId,n.file.format)}))).subscribe())},n.prototype.editMainDocument=function(){var n=this;"onlyoffice"===this.editor.mode?(this.editor.async=!1,this.editor.options={objectType:"resourceModification",objectId:this.resId,docUrl:"rest/onlyOffice/mergedFile"},this.editInProgress=!0):"collaboraOnline"===this.editor.mode?(this.editor.async=!1,this.editor.options={objectType:"resourceModification",objectId:this.resId,dataToMerge:this.resourceDatas},this.editInProgress=!0):(this.editor.async=!0,this.editor.options={objectType:"resourceModification",objectId:this.resId,cookie:document.cookie},this.editInProgress=!0,this.http.post("../../rest/jnlp",this.editor.options).pipe(Yr((function(l){window.location.href="../../rest/jnlp/"+l.generatedJnlp,n.checkLockFile(l.jnlpUniqueId,n.file.format)}))).subscribe())},n.prototype.setDatas=function(n){this.resourceDatas=n},n.prototype.checkLockFile=function(n,l){var e=this;this.intervalLockFile=setInterval((function(){e.http.get("../../rest/jnlp/lock/"+n).subscribe((function(n){return Object(t.__awaiter)(e,void 0,void 0,(function(){return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return n.lockFileFound?[3,2]:(this.editInProgress=!1,clearInterval(this.intervalLockFile),[4,this.loadTmpFile(n.fileTrunk+"."+l)]);case 1:e.sent(),"mainDocument"===this.mode&&null!==this.resId&&this.saveMainDocument(),e.label=2;case 2:return[2]}}))}))}))}),1e3)},n.prototype.cancelTemplateEdition=function(){clearInterval(this.intervalLockFile),this.editInProgress=!1},n.prototype.isEditingTemplate=function(){return"onlyoffice"===this.editor.mode?void 0!==this.onlyofficeViewer:"collaboraOnline"===this.editor.mode?void 0!==this.collaboraOnlineViewer:this.editInProgress},n.prototype.loadTemplatesByResId=function(n,l){var e=this,t=[],i=[];this.listTemplates=[],this.http.get("../../rest/attachmentsTypes").pipe(Yr((function(n){Object.keys(n.attachmentsTypes).forEach((function(l){i.push({id:l,label:n.attachmentsTypes[l].label})})),(i=e.sortPipe.transform(i,"label")).push({id:"all",label:e.lang.others})})),MN((function(){return e.http.get("../../rest/resources/"+n+"/templates?attachmentType="+l+",all")})),Yr((function(n){e.listTemplates=n.templates,(i=i.filter((function(l){return n.templates.map((function(n){return n.attachmentType})).indexOf(l.id)>-1}))).forEach((function(l){t.push({id:l.id,label:l.label,title:l.label,disabled:!0,isTitle:!0,color:"#135f7f"}),n.templates.filter((function(n){return n.attachmentType===l.id})).forEach((function(n){t.push({id:n.id,label:" "+n.label,title:n.exists?n.label:e.lang.fileDoesNotExists,extension:n.extension,disabled:!n.exists})}))})),e.listTemplates=t}))).subscribe()},n.prototype.loadTemplates=function(){var n=this;if(0===this.listTemplates.length){var l=[];if("mainDocument"===this.mode)this.http.get("../../rest/currentUser/templates?target=indexingFile").pipe(Yr((function(e){n.listTemplates=e.templates,l.push({id:"all",label:n.lang.indexation,title:n.lang.indexation,disabled:!0,isTitle:!0,color:"#135f7f"}),e.templates.forEach((function(e){l.push({id:e.id,label:" "+e.label,title:e.exists?e.label:n.lang.fileDoesNotExists,extension:e.extension,disabled:!e.exists})})),n.listTemplates=l}))).subscribe();else{var e=[];this.http.get("../../rest/attachmentsTypes").pipe(Yr((function(l){e.push({id:"all",label:n.lang.others}),Object.keys(l.attachmentsTypes).forEach((function(t){e.push({id:t,label:l.attachmentsTypes[t].label}),e=n.sortPipe.transform(e,"label")}))})),MN((function(){return n.http.get("../../rest/currentUser/templates?target=attachments&type=office")})),Yr((function(t){n.listTemplates=t.templates,(e=e.filter((function(n){return t.templates.map((function(n){return n.attachmentType})).indexOf(n.id)>-1}))).forEach((function(e){l.push({id:e.id,label:e.label,title:e.label,disabled:!0,isTitle:!0,color:"#135f7f"}),t.templates.filter((function(n){return n.attachmentType===e.id})).forEach((function(e){l.push({id:e.id,label:" "+e.label,title:e.exists?e.label:n.lang.fileDoesNotExists,extension:e.extension,disabled:!e.exists})}))})),n.listTemplates=l}))).subscribe()}}},n.prototype.closeEditor=function(){this.templateListForm.reset(),this.editInProgress=!1,this.isDocModified=!1},n.prototype.setEditor=function(){"java"===this.headerService.user.preferences.documentEdition?(this.editor.mode="java",this.editor.async=!0):"onlyoffice"===this.headerService.user.preferences.documentEdition?(this.editor.mode="onlyoffice",this.editor.async=!1):"collaboraonline"===this.headerService.user.preferences.documentEdition&&(this.editor.mode="collaboraOnline",this.editor.async=!1)},n.prototype.saveMainDocument=function(){var n=this;return this.loading=!0,new Promise((function(l){n.getFile().pipe(q((function(l){return{encodedFile:l.content,format:l.format,resId:n.resId}})),MN((function(l){return n.http.put("../../rest/resources/"+n.resId+"?onlyDocument=true",l)})),Yr((function(){n.closeEditor(),n.loadRessource(n.resId),l(!0)})),iu((function(){return n.loading=!1})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.loadTmpDocument=function(n,l){var e=this;return new Promise((function(t,i){e.http.post("../../rest/convertedFile/encodedFile",{format:l,encodedFile:n}).pipe(Yr((function(t){console.log(t),e.file={name:"maarch",format:l,type:"application/pdf",contentMode:"base64",content:n,src:e.base64ToArrayBuffer(t.encodedResource)}})),Qr((function(n){return e.notify.handleSoftErrors(n),t(!1),lu(!1)}))).subscribe()}))},n.prototype.saveTmpDocument=function(){var n=this;return new Promise((function(l,e){n.getFile().pipe(Yr((function(l){n.file={name:"maarch",format:l.format,type:"application/pdf",contentMode:"base64",content:l.content,src:null}})),MN((function(l){return n.http.post("../../rest/convertedFile/encodedFile",{format:l.format,encodedFile:l.content})})),Yr((function(e){n.file.src=n.base64ToArrayBuffer(e.encodedResource),n.closeEditor(),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.openResourceVersion=function(n,l){var e=this,t="PDF"!==l?this.lang[l+"_version"]:this.lang.version+" "+n;this.http.get("../../rest/resources/"+this.resId+"/content/"+n+"?type="+(l="SIGN"===l?"PDF":l)).pipe(Yr((function(n){e.dialog.open(Rsn,{autoFocus:!1,panelClass:"maarch-full-height-modal",data:{title:""+t,base64:n.encodedDocument}})})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.unsignMainDocument=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.UNSIGN,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.put("../../rest/resources/"+n.resId+"/unsign",{})})),Yr((function(){n.notify.success(n.lang.documentUnsigned),n.loadRessource(n.resId)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.isEditorLoaded=function(){return!this.isEditingTemplate()||this.isEditingTemplate()&&this.isDocModified},n.prototype.openMaarchParapheurWorkflow=function(){this.dialog.open(Nsn,{panelClass:"maarch-modal",data:{id:this.resId,type:"resource"}})},n}(),Vsn=function(){function n(n,l,e,t,i,a,o,r,u,s){this.http=n,this.data=l,this.dialog=e,this.dialogRef=t,this.appService=i,this.notify=a,this.sortPipe=o,this.headerService=r,this.privilegeService=u,this.functions=s,this.lang=Kr,this.loading=!0,this.sendMassMode=!1,this.sendingData=!1,this.attachmentsTypes=[],this.versions=[],this.hidePanel=!1,this.newVersion=!1,this.attachFormGroup=null,this.editMode=!1}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.hidePanel=void 0!==this.data.hidePanel&&this.data.hidePanel,[4,this.loadAttachmentTypes()];case 1:return n.sent(),[4,this.loadAttachment()];case 2:return n.sent(),this.loading=!1,[2]}}))}))},n.prototype.loadAttachmentTypes=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/attachmentsTypes").pipe(Yr((function(e){Object.keys(e.attachmentsTypes).forEach((function(l){e.attachmentsTypes[l].show&&n.attachmentsTypes.push(Object(t.__assign)({id:l},e.attachmentsTypes[l]))})),n.attachmentsTypes=n.sortPipe.transform(n.attachmentsTypes,"label"),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.loadAttachment=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/attachments/"+n.data.resId).pipe(Yr((function(e){var t=null;!n.privilegeService.hasCurrentUserPrivilege("manage_attachments")&&n.headerService.user.id!==e.typist||"SIGN"===e.status||"FRZ"===e.status||(n.editMode=!0),null!==e.recipientId&&"SEND_MASS"!==e.status&&(t=[{id:e.recipientId,type:e.recipientType}]),n.sendMassMode="SEND_MASS"===e.status,n.attachment={typist:new sy({value:e.typist,disabled:!0},[S_.required]),typistLabel:new sy({value:e.typistLabel,disabled:!0},[S_.required]),creationDate:new sy({value:e.creationDate,disabled:!0},[S_.required]),modificationDate:new sy({value:e.modificationDate,disabled:!0}),modifiedBy:new sy({value:e.modifiedBy,disabled:!0}),signatory:new sy({value:e.signatory,disabled:!0}),signatoryId:new sy({value:e.signatoryId,disabled:!0}),signDate:new sy({value:e.signDate,disabled:!0}),resId:new sy({value:n.data.resId,disabled:!0},[S_.required]),chrono:new sy({value:e.chrono,disabled:!0}),originId:new sy({value:e.originId,disabled:!0}),resIdMaster:new sy({value:e.resIdMaster,disabled:!0},[S_.required]),status:new sy({value:e.status,disabled:!0},[S_.required]),relation:new sy({value:e.relation,disabled:!0},[S_.required]),title:new sy({value:e.title,disabled:!n.editMode},[S_.required]),recipient:new sy({value:t,disabled:!n.editMode}),type:new sy({value:e.type,disabled:!n.editMode},[S_.required]),validationDate:new sy({value:null!==e.validationDate?new Date(e.validationDate):null,disabled:!n.editMode}),signedResponse:new sy({value:e.signedResponse,disabled:!1}),encodedFile:new sy({value:"_CURRENT_FILE",disabled:!n.editMode},[S_.required]),format:new sy({value:e.format,disabled:!0},[S_.required])},n.versions=e.versions,n.attachFormGroup=new cy(n.attachment),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.createNewVersion=function(n){var l=this;void 0===n&&(n="default"),this.sendingData=!0,this.appAttachmentViewer.getFile().pipe(Yr((function(n){l.attachment.encodedFile.setValue(n.content),l.attachment.format.setValue(n.format),l.functions.empty(l.attachment.encodedFile.value)&&(l.notify.error(l.lang.mustEditAttachmentFirst),l.sendingData=!1)})),tc((function(){return!l.functions.empty(l.attachment.encodedFile.value)})),MN((function(){return l.http.post("../../rest/attachments",l.getAttachmentValues(!0,n))})),Yr((function(e){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.sendMassMode&&"mailing"===n?[4,this.generateMailling(e.id)]:[3,2];case 1:return l.sent(),this.notify.success(this.lang.attachmentGenerated),[3,3];case 2:this.notify.success(this.lang.newVersionAdded),l.label=3;case 3:return this.dialogRef.close("success"),[2]}}))}))})),iu((function(){return l.sendingData=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),l.dialogRef.close(""),lu(!1)}))).subscribe()},n.prototype.updateAttachment=function(n){var l=this;void 0===n&&(n="default"),this.sendingData=!0,this.appAttachmentViewer.getFile().pipe(Yr((function(n){l.attachment.encodedFile.setValue(n.content),l.attachment.format.setValue(n.format)})),MN((function(){return l.http.put("../../rest/attachments/"+l.attachment.resId.value,l.getAttachmentValues(!1,n))})),Yr((function(){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.sendMassMode&&"mailing"===n?[4,this.generateMailling(this.attachment.resId.value)]:[3,2];case 1:return l.sent(),this.notify.success(this.lang.attachmentGenerated),[3,3];case 2:this.notify.success(this.lang.attachmentUpdated),l.label=3;case 3:return this.dialogRef.close("success"),[2]}}))}))})),iu((function(){return l.sendingData=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),l.dialogRef.close(""),lu(!1)}))).subscribe()},n.prototype.generateMailling=function(n){var l=this;return new Promise((function(e){l.http.post("../../rest/attachments/"+n+"/mailing",{}).pipe(Yr((function(){e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),l.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.enableForm=function(n){var l=this;Object.keys(this.attachment).forEach((function(e){-1===["status","typistLabel","creationDate","relation","modificationDate","modifiedBy"].indexOf(e)&&(n?l.attachment[e].enable():l.attachment[e].disable())}))},n.prototype.getAttachmentValues=function(n,l){var e=this;void 0===n&&(n=!1);var t={};return Object.keys(this.attachment).forEach((function(n){if(void 0!==e.attachment[n]&&null!=e.attachment[n].value){if("validationDate"===n){var i=e.attachment[n].value.getDate(),a=e.attachment[n].value.getMonth()+1,o=e.attachment[n].value.getFullYear();t[n]=("00"+i).slice(-2)+"-"+("00"+a).slice(-2)+"-"+o+" 23:59:59"}else"recipient"===n?(t.recipientId=e.attachment[n].value.length>0?e.attachment[n].value[0].id:null,t.recipientType=e.attachment[n].value.length>0?e.attachment[n].value[0].type:null):t[n]=e.attachment[n].value;"encodedFile"===n&&"_CURRENT_FILE"===e.attachment[n].value&&(t.encodedFile=null),"mailing"===l&&(t.inMailing=!0)}})),n&&(t.originId=null!==this.attachment.originId.value?this.attachment.originId.value:t.resId,t.relation=this.attachment.relation.value+1,delete t.resId),t},n.prototype.setDatasViewer=function(n){var l=this,e={};Object.keys(this.attachment).forEach((function(n){["title","validationDate","effectiveDate"].indexOf(n)>-1&&(e["attachment_"+n]=l.attachment[n].value)})),"setData"===n?this.appAttachmentViewer.setDatas(e):"cleanFile"===n?this.attachment.encodedFile.setValue(null):(e.resId=this.attachment.resIdMaster.value,this.appAttachmentViewer.setDatas(e))},n.prototype.getAttachType=function(n){this.appAttachmentViewer.loadTemplatesByResId(this.attachment.resIdMaster.value,n)},n.prototype.setNewVersion=function(){var n=this;this.newVersion||this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.createNewVersion,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.newVersion=!0})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.deleteSignedVersion=function(){var n=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.deleteSignedVersion,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.put("../../rest/attachments/"+n.attachment.resId.value+"/unsign",{})})),Yr((function(){n.attachment.status.setValue("A_TRA"),n.attachment.signedResponse.setValue(null),(n.privilegeService.hasCurrentUserPrivilege("manage_attachments")||n.headerService.user.id===n.attachment.typist.value)&&(n.editMode=!0,n.enableForm(n.editMode)),n.notify.success(n.lang.signedVersionDeleted),n.dialogRef.close("success")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.isEmptyField=function(n){return null===n.value||(Array.isArray(n.value)?!(n.value.length>0):""===String(n.value))},n.prototype.isEditing=function(){return!this.functions.empty(this.appAttachmentViewer)&&this.appAttachmentViewer.isEditorLoaded()},n.prototype.closeModal=function(){var n=this;this.appAttachmentViewer.isEditingTemplate()?this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.close,msg:this.lang.editingDocumentMsg}}).afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.dialogRef.close()})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe():this.dialogRef.close()},n}(),qsn=function(){function n(n,l,e,t,i,a,o,r,u){this.http=n,this.data=l,this.dialogRef=e,this.appService=t,this.notify=i,this.sortPipe=a,this.dialog=o,this.functions=r,this.contactService=u,this.lang=Kr,this.loading=!0,this.sendMassMode=!1,this.sendingData=!1,this.attachmentsTypes=[],this.creationMode=!0,this.attachFormGroup=[],this.attachments=[],this.now=new Date,this.asyncIndexTab=0,this.indexTab=0,this.resourceSubject="",this.resourceContacts=[],this.selectedContact=new sy,this.loadingContact=!1,this.resId=null}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.loadAttachmentTypes()];case 1:return n.sent(),[4,this.loadResource()];case 2:return n.sent(),this.loading=!1,[2]}}))}))},n.prototype.loadAttachmentTypes=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/attachmentsTypes").pipe(Yr((function(e){Object.keys(e.attachmentsTypes).forEach((function(l){e.attachmentsTypes[l].show&&n.attachmentsTypes.push(Object(t.__assign)({id:l},e.attachmentsTypes[l]))})),n.attachmentsTypes=n.sortPipe.transform(n.attachmentsTypes,"label"),l(!0)})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.loadResource=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/resources/"+n.data.resIdMaster+"?light=true").pipe(Yr((function(e){return Object(t.__awaiter)(n,void 0,void 0,(function(){var n,i=this;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:return n="","outgoing"!==e.categoryId?[3,3]:!this.functions.empty(e.recipients)&&e.recipients.length>0?(e.recipients=e.recipients.filter((function(n){return"entity"!==n.type})),[4,this.getContacts(e.recipients)]):[3,2];case 1:t.sent(),n=this.functions.empty(e.recipients)?"":[{id:this.resourceContacts[0].id,type:this.resourceContacts[0].type}],t.label=2;case 2:return[3,5];case 3:return!this.functions.empty(e.senders)&&e.senders.length>0?(e.senders=e.senders.filter((function(n){return"entity"!==n.type})),[4,this.getContacts(e.senders)]):[3,5];case 4:t.sent(),n=this.functions.empty(e.senders)?"":[{id:this.resourceContacts[0].id,type:this.resourceContacts[0].type}],t.label=5;case 5:return this.resourceSubject=e.subject,this.attachments.push({title:new sy({value:e.subject,disabled:!1},[S_.required]),recipient:new sy({value:n,disabled:!1}),type:new sy({value:"response_project",disabled:!1},[S_.required]),validationDate:new sy({value:"",disabled:!1}),format:new sy({value:"",disabled:!1},[S_.required]),encodedFile:new sy({value:"",disabled:!1},[S_.required])}),setTimeout((function(){i.getAttachType("response_project",0)}),800),this.attachFormGroup.push(new cy(this.attachments[0])),"outgoing"===e.categoryId?!this.functions.empty(e.recipients)&&e.recipients.length>1&&this.toggleSendMass():!this.functions.empty(e.senders)&&e.senders.length>1&&this.toggleSendMass(),l(!0),[2]}}))}))})),Qr((function(l){return n.notify.handleSoftErrors(l),n.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.getContacts=function(n){return Object(t.__awaiter)(this,void 0,void 0,(function(){var l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.resourceContacts=[],[4,Promise.all(n.map((function(n){return Object(t.__awaiter)(l,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return[4,this.getContact(n.id,n.type)];case 1:return l.sent(),[2]}}))}))})))];case 1:return e.sent(),this.resourceContacts=this.sortPipe.transform(this.resourceContacts,"label"),[2]}}))}))},n.prototype.selectContact=function(n){var l=this;this.loadingContact=!0;var e=JSON.parse(JSON.stringify(this.resourceContacts.filter((function(l){return l.id===n.id&&l.type===n.type}))[0]));this.attachments[this.indexTab].recipient.setValue([e]),setTimeout((function(){l.loadingContact=!1}),0),this.selectedContact.reset()},n.prototype.getContact=function(n,l){var e=this;return new Promise((function(t,i){"contact"===l?e.http.get("../../rest/contacts/"+n).pipe(Yr((function(n){e.resourceContacts.push({id:n.id,type:"contact",label:e.contactService.formatContact(n)}),t(!0)})),Qr((function(n){return e.notify.handleSoftErrors(n),t(!1),lu(!1)}))).subscribe():"user"===l?e.http.get("../../rest/users/"+n).pipe(Yr((function(n){e.resourceContacts.push({id:n.id,type:"user",label:n.firstname+" "+n.lastname}),t(!0)})),Qr((function(n){return e.notify.handleSoftErrors(n),t(!1),lu(!1)}))).subscribe():"entity"===l&&e.http.get("../../rest/entities/"+n).pipe(Yr((function(n){e.resourceContacts.push({id:n.id,type:"entity",label:n.entity_label}),t(!0)})),Qr((function(n){return e.notify.handleSoftErrors(n),t(!1),lu(!1)}))).subscribe()}))},n.prototype.selectAttachType=function(n,l){n.type=l.id},n.prototype.formatAttachments=function(){var n=this,l=[];return this.attachments.forEach((function(e,t){l.push({resIdMaster:n.data.resIdMaster,type:e.type.value,title:e.title.value,recipientId:e.recipient.value.length>0?e.recipient.value[0].id:null,recipientType:e.recipient.value.length>0?e.recipient.value[0].type:null,validationDate:""!==e.validationDate.value?e.validationDate.value:null,encodedFile:e.encodedFile.value,format:e.format.value})})),l},n.prototype.onSubmit=function(n){var l=this;void 0===n&&(n="default"),this.appDocumentViewer.toArray()[this.indexTab].getFile().pipe(Gh(),Yr((function(n){l.attachments[l.indexTab].encodedFile.setValue(n.content),l.attachments[l.indexTab].format.setValue(n.format)})),Yr((function(){return Object(t.__awaiter)(l,void 0,void 0,(function(){var l,e,i,a;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:if(!this.isValid())return[3,7];l=null,this.sendingData=!0,e=this.formatAttachments(),i=0,a=e,t.label=1;case 1:return i<a.length?[4,this.saveAttachment(a[i])]:[3,4];case 2:l=t.sent(),t.label=3;case 3:return i++,[3,1];case 4:return this.sendMassMode&&null!==l&&"mailing"===n?[4,this.generateMailling(l)]:[3,6];case 5:t.sent(),t.label=6;case 6:return this.sendingData=!1,this.notify.success(this.lang.attachmentAdded),this.dialogRef.close("success"),[3,8];case 7:this.sendingData=!1,this.notify.error(this.lang.mustCompleteAllAttachments),t.label=8;case 8:return[2]}}))}))}))).subscribe()},n.prototype.saveAttachment=function(n){var l=this;return n.status=this.sendMassMode?"SEND_MASS":"A_TRA",new Promise((function(e,t){l.http.post("../../rest/attachments",n).pipe(Yr((function(n){e(n.id)})),Qr((function(n){return l.notify.handleSoftErrors(n),l.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.generateMailling=function(n){var l=this;return new Promise((function(e,t){l.http.post("../../rest/attachments/"+n+"/mailing",{}).pipe(Yr((function(){e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),l.dialogRef.close(""),lu(!1)}))).subscribe()}))},n.prototype.isValid=function(){var n=!0;return this.attachFormGroup.forEach((function(l){Object.keys(l.controls).forEach((function(n){l.controls[n].markAsTouched()})),"INVALID"===l.status&&(n=!1)})),n},n.prototype.isPjValid=function(n){var l=!0;return"INVALID"===this.attachFormGroup[n].status&&(l=!1),l},n.prototype.isDocLoading=function(){var n=!1;return this.appDocumentViewer.toArray().forEach((function(l,e){l.isEditingTemplate()&&(n=!0)})),n},n.prototype.canValidatePj=function(){var n=!1;return this.appDocumentViewer.toArray().forEach((function(l,e){l.isEditingTemplate()&&l.editor.async&&(n=!0)})),n},n.prototype.setDatasViewer=function(n){var l=this,e={};Object.keys(this.attachments[n]).forEach((function(t){["title","validationDate","recipient"].indexOf(t)>-1&&("recipient"===t&&l.attachments[n][t].value.length>0?(e.recipientId=l.attachments[n][t].value[0].id,e.recipientType=l.attachments[n][t].value[0].type):e["attachment_"+t]=l.attachments[n][t].value)}));var t=1;this.attachments.forEach((function(n){"transmission"==n.type.value&&(e["transmissionRecipientId"+t]=n.recipient.value[0].id,e["transmissionRecipientType"+t]=n.recipient.value[0].type,t++)})),e.resId=this.data.resIdMaster,this.sendMassMode&&(e.inMailing=!0),this.appDocumentViewer.toArray()[n].setDatas(e)},n.prototype.newPj=function(){var n=this;this.attachments.push({title:new sy({value:this.resourceSubject,disabled:!1},[S_.required]),recipient:new sy({value:this.functions.empty(this.resourceContacts[this.attachments.length])?null:[{id:this.resourceContacts[this.attachments.length].id,type:this.resourceContacts[this.attachments.length].type}],disabled:!1}),type:new sy({value:"response_project",disabled:!1},[S_.required]),validationDate:new sy({value:null,disabled:!1}),encodedFile:new sy({value:"",disabled:!1},[S_.required]),format:new sy({value:"",disabled:!1},[S_.required])}),this.attachFormGroup.push(new cy(this.attachments[this.attachments.length-1])),this.indexTab=this.attachments.length-1,setTimeout((function(){n.getAttachType("response_project",n.indexTab)}),800)},n.prototype.updateFile=function(n){var l=this;this.functions.empty(this.attachments[this.asyncIndexTab].encodedFile.value)?this.appDocumentViewer.toArray()[this.asyncIndexTab].getFile().pipe(_c(1),Yr((function(e){l.attachments[l.asyncIndexTab].encodedFile.setValue(e.content),l.attachments[l.asyncIndexTab].format.setValue(e.format),l.asyncIndexTab=n}))).subscribe():this.asyncIndexTab=n},n.prototype.removePj=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete+" : "+this.lang.attachmentShort+" n°"+(n+1),msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){l.indexTab=0,l.asyncIndexTab=l.indexTab,l.attachments.splice(n,1),l.attachFormGroup.splice(n,1)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getAttachType=function(n,l){this.appDocumentViewer.toArray()[l].loadTemplatesByResId(this.data.resIdMaster,n)},n.prototype.isEmptyField=function(n){return null===n.value||(Array.isArray(n.value)?!(n.value.length>0):""===String(n.value))},n.prototype.toggleSendMass=function(){this.sendMassMode?(this.sendMassMode=!this.sendMassMode,this.selectedContact.enable()):1===this.attachments.length?(this.sendMassMode=!this.sendMassMode,this.selectedContact.disable()):this.notify.error("Veuillez supprimer les <b>autres onglets PJ</b> avant de passer en <b>publipostage</b>.")},n}(),zsn=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.appService=t,this.headerService=i,this.privilegeService=a,this.lang=Kr,this.loading=!0,this.pos=0,this.mailevaEnabled=!1,this.maarchParapheurEnabled=!1,this.hideMainInfo=!1,this.filterAttachTypes=[],this.currentFilter="",this.resId=null,this.target="panel",this.autoOpenCreation=!1,this.reloadBadgeAttachments=new la,this.afterActionAttachment=new la}return n.prototype.ngOnInit=function(){var n=this;this.autoOpenCreation&&this.createAttachment(),this.checkMaarchParapheurEnabled(),null!==this.resId&&this.http.get("../../rest/resources/"+this.resId+"/attachments").pipe(Yr((function(l){n.mailevaEnabled=l.mailevaEnabled,n.attachments=l.attachments,n.attachments.forEach((function(l){0===n.filterAttachTypes.filter((function(n){return n.id===l.type})).length&&n.filterAttachTypes.push({id:l.type,label:l.typeLabel}),l.thumbnailUrl="../../rest/attachments/"+l.resId+"/thumbnail",l.canDelete=n.privilegeService.hasCurrentUserPrivilege("manage_attachments")||n.headerService.user.id===l.typist}))})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.checkMaarchParapheurEnabled=function(){var n=this;this.http.get("../../rest/externalSignatureBooks/enabled").subscribe((function(l){"maarchParapheur"===l.enabledSignatureBook&&(n.maarchParapheurEnabled=!0)}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.loadAttachments=function(n){var l=this,e=+new Date;this.resId=n,this.loading=!0,this.filterAttachTypes=[],this.http.get("../../rest/resources/"+this.resId+"/attachments").subscribe((function(n){l.mailevaEnabled=n.mailevaEnabled,l.attachments=n.attachments,l.attachments.forEach((function(n){0===l.filterAttachTypes.filter((function(l){return l.id===n.type})).length&&l.filterAttachTypes.push({id:n.type,label:n.typeLabel}),n.thumbnailUrl="../../rest/attachments/"+n.resId+"/thumbnail?tsp="+e,n.canDelete=l.privilegeService.hasCurrentUserPrivilege("manage_attachments")||l.headerService.user.id===n.typist})),0===l.attachments.filter((function(n){return n.type===l.currentFilter})).length&&(l.currentFilter=""),l.reloadBadgeAttachments.emit(""+l.attachments.length),l.loading=!1}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.setInSignatureBook=function(n){var l=this;this.http.put("../../rest/attachments/"+n.resId+"/inSignatureBook",{}).subscribe((function(){n.inSignatureBook=!n.inSignatureBook,l.afterActionAttachment.emit("setInSignatureBook"),l.notify.success(l.lang.actionDone)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.setInSendAttachment=function(n){var l=this;this.http.put("../../rest/attachments/"+n.resId+"/inSendAttachment",{}).subscribe((function(){n.inSendAttach=!n.inSendAttach,l.afterActionAttachment.emit("setInSendAttachment"),l.notify.success(l.lang.actionDone)}),(function(n){l.notify.error(n.error.errors)}))},n.prototype.toggleInfo=function(n,l){this.attachments.forEach((function(n){n.hideMainInfo=!1})),n.hideMainInfo=l},n.prototype.resetToggleInfo=function(){this.attachments.forEach((function(n){n.hideMainInfo=!1}))},n.prototype.showAttachment=function(n){var l=this;this.dialogRef=this.dialog.open(Vsn,{height:"99vh",width:this.appService.getViewMode()?"99vw":"90vw",maxWidth:this.appService.getViewMode()?"99vw":"90vw",panelClass:"attachment-modal-container",disableClose:!0,data:{resId:n.resId}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"success"===n})),Yr((function(){l.loadAttachments(l.resId)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.createAttachment=function(){var n=this;this.dialogRef=this.dialog.open(qsn,{disableClose:!0,panelClass:"attachment-modal-container",height:"90vh",width:this.appService.getViewMode()?"99vw":"90vw",maxWidth:this.appService.getViewMode()?"99vw":"90vw",data:{resIdMaster:this.resId}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"success"===n})),Yr((function(){n.loadAttachments(n.resId),n.afterActionAttachment.emit("setInSendAttachment")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.deleteAttachment=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/attachments/"+n.resId)})),Yr((function(){l.loadAttachments(l.resId),l.afterActionAttachment.emit("setInSendAttachment"),l.notify.success(l.lang.attachmentDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.filterType=function(n){this.currentFilter=n.value},n.prototype.openMaarchParapheurWorkflow=function(n){this.dialog.open(Nsn,{panelClass:"maarch-modal",data:{id:n.resId,type:"attachment"}})},n}(),Usn=yt({encapsulation:0,styles:[[".mat-card[_ngcontent-%COMP%]{border:1px solid #e0e0e0;box-shadow:0 0 8px 0 rgba(0,0,0,.75)}.layout[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;background:#0003;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;cursor:pointer}.layout[_ngcontent-%COMP%] .mat-raised-button[_ngcontent-%COMP%]{width:200px}.infosPj[_ngcontent-%COMP%]{background:#f9f9f9;border-top:1px solid rgba(0,0,0,.12);position:absolute;width:100%;bottom:0;padding:5px;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center}.infosPj[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0}.infosPj[_ngcontent-%COMP%] .mat-form-field-label{color:#135f7f}.mainInfos[_ngcontent-%COMP%]{display:block;font-size:16px;color:#666}.subInfos[_ngcontent-%COMP%]{display:block;font-size:10px;color:#135f7f}.stateInfo[_ngcontent-%COMP%]{font-size:12px;color:#135f7f;position:absolute;left:0;height:100%;top:0;width:100px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:left;justify-content:left;font-style:italic;padding-left:10px}.statusInfo[_ngcontent-%COMP%]{font-size:12px;color:#666;opacity:.5;position:absolute;right:0;height:100%;top:0;width:100px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-style:italic}.subInfosBottom[_ngcontent-%COMP%]{font-style:italic;font-size:12px;color:#666}.signed[_ngcontent-%COMP%]{border:1px solid green}.signed[_ngcontent-%COMP%] .infosPj[_ngcontent-%COMP%]{background:green}.signed[_ngcontent-%COMP%] .mainInfos[_ngcontent-%COMP%], .signed[_ngcontent-%COMP%] .stateInfo[_ngcontent-%COMP%], .signed[_ngcontent-%COMP%] .statusInfo[_ngcontent-%COMP%], .signed[_ngcontent-%COMP%] .subInfos[_ngcontent-%COMP%], .signed[_ngcontent-%COMP%] .subInfosBottom[_ngcontent-%COMP%]{color:#fff}.mat-icon[_ngcontent-%COMP%]{height:auto}.pjToolsContent[_ngcontent-%COMP%]{position:absolute;right:0;border-bottom:1px solid #e0e0e0;border-left:1px solid #e0e0e0;border-bottom-left-radius:5px;background:#fff}.pjToolsContent[_ngcontent-%COMP%] .actionsButton[_ngcontent-%COMP%], .pjToolsContent[_ngcontent-%COMP%] .downloadButton[_ngcontent-%COMP%], .pjToolsContent[_ngcontent-%COMP%] .versionButton[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px;font-size:10px}.pjToolsContent[_ngcontent-%COMP%] .downloadButton[_ngcontent-%COMP%]:active, .pjToolsContent[_ngcontent-%COMP%] .downloadButton[_ngcontent-%COMP%]:focus, .pjToolsContent[_ngcontent-%COMP%] .downloadButton[_ngcontent-%COMP%]:hover{text-decoration:none}.pjToolsContent[_ngcontent-%COMP%] .mat-badge-content[_ngcontent-%COMP%]{right:0;top:-7px;font-size:10px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;top:0;left:0;width:100%;background:#ffffffb3;z-index:1;overflow:hidden}.filterTypes[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden;width:auto;max-width:100%;margin-left:10px}.filterTypes[_ngcontent-%COMP%] .mat-button-toggle-checked{background:#f99830;color:#fff;font-weight:700;height:25px;font-size:10px}.filterTypes[_ngcontent-%COMP%] .mat-button-toggle-checked .mat-button-toggle-label-content{line-height:0}.filterTypes[_ngcontent-%COMP%] .mat-button-toggle-checked .mat-button-toggle-button{height:100%}.filterTypes[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not( .mat-button-toggle-checked) .mat-button-toggle-button{color:#135f7f;font-weight:700;height:25px;font-size:10px}.filterTypes[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not( .mat-button-toggle-checked) .mat-button-toggle-button .mat-button-toggle-label-content{line-height:0}.addPjProcess[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;z-index:2;bottom:0;margin-left:10px}.addPjPanel[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;z-index:2;bottom:10px;margin-left:10px}"]],data:{animation:[{type:7,name:"myAnimation",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{transform:"translateY(-10%)",opacity:0},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},timings:"150ms"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{transform:"translateY(0)",opacity:1},offset:null},{type:4,styles:{type:6,styles:{transform:"translateY(-10%)",opacity:0},offset:null},timings:"150ms"}],options:null}],options:{}}]}});function Bsn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function $sn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","text-align:center;font-size:24px;font-weight:bold;opacity:0.3;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noAttachment)}))}function Hsn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-button-toggle",[["class","mat-button-toggle"]],[[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1).focus()&&t),t}),MR,AR)),Di(1,245760,[[1,4]],0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{value:[0,"value"],checked:[1,"checked"]},null),(n()(),Lo(2,0,[""," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id,l.component.currentFilter===l.context.$implicit.id)}),(function(n,l){n(l,0,0,!bi(l,1).buttonToggleGroup,bi(l,1).checked,bi(l,1).disabled,"standard"===bi(l,1).appearance,-1,bi(l,1).id,null),n(l,2,0,l.context.$implicit.label)}))}function Gsn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-button-toggle-group",[["class","filterTypes mat-button-toggle-group"],["role","group"]],[[1,"aria-disabled",0],[2,"mat-button-toggle-vertical",null],[2,"mat-button-toggle-group-appearance-standard",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.filterType(e)&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[kR]),Ei(6144,null,wR,null,[kR]),Di(3,1130496,null,1,kR,[Nl,[2,yR]],null,{change:"change"}),ko(603979776,1,{_buttonToggles:1}),(n()(),_o(5,0,null,null,2,"mat-button-toggle",[["class","mat-button-toggle"]],[[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,6).focus()&&t),t}),MR,AR)),Di(6,245760,[[1,4]],0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{value:[0,"value"],checked:[1,"checked"]},null),(n()(),Lo(-1,0,["Tous"])),(n()(),vo(16777216,null,null,2,null,Hsn)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(10,2)],(function(n,l){var e=l.component;n(l,3,0),n(l,6,0,"",""===e.currentFilter);var t=bt(l,9,0,n(l,10,0,bi(l.parent.parent,0),e.filterAttachTypes,"label"));n(l,9,0,t)}),(function(n,l){n(l,0,0,bi(l,3).disabled,bi(l,3).vertical,"standard"===bi(l,3).appearance),n(l,5,0,!bi(l,6).buttonToggleGroup,bi(l,6).checked,bi(l,6).disabled,"standard"===bi(l,6).appearance,-1,bi(l,6).id,null)}))}function Wsn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.deleteAttachment(n.parent.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,!l.parent.parent.context.$implicit.canDelete,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.deleteResource)}))}function Ksn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","layout"]],[[24,"@myAnimation",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showAttachment(n.parent.context.$implicit)&&t),t}),null,null)),(n()(),_o(1,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.showAttachment(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(3,0,["",""])),(n()(),vo(16777216,null,null,1,null,Wsn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"primary"),n(l,5,0,"SIGN"!==l.parent.context.$implicit.status&&"FRZ"!==l.parent.context.$implicit.status)}),(function(n,l){var e=l.component;n(l,0,0,void 0),n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang.viewResource)}))}function Ysn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"span",[["class","versionButton"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,1,"b",[["color","secondary"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.version),n(l,3,0,l.parent.context.$implicit.relation)}))}function Jsn(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(2,49152,null,0,mI,[],null,null),(n()(),_o(3,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,4)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,4)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openMaarchParapheurWorkflow(n.parent.context.$implicit)&&t),t}),lL,nL)),Di(4,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(5,0,[" "," "]))],null,(function(n,l){var e=l.component;n(l,1,0,bi(l,2).vertical?"vertical":"horizontal",bi(l,2).vertical,!bi(l,2).vertical,bi(l,2).inset),n(l,3,0,bi(l,4).role,bi(l,4)._highlighted,bi(l,4)._triggersSubmenu,bi(l,4)._getTabIndex(),bi(l,4).disabled.toString(),bi(l,4).disabled||null),n(l,5,0,e.lang.externalVisaWorkflow)}))}function Zsn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-file-signature"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.inSignatureBook,""))}))}function Qsn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-shipping-fast"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.inShipping,""))}))}function Xsn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","mainInfos"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.chrono)}))}function ncn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","mainInfos"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),Fo(2,3)],null,(function(n,l){var e=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent,2),l.parent.context.$implicit.title,40,"..."));n(l,1,0,e)}))}function lcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","subInfos"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.typeLabel)}))}function ecn(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),_o(2,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),Fi(131072,xG,[Nl,La]),(n()(),Lo(5,null,[" "," "])),Fo(6,1),(n()(),_o(7,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(8,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.signedAlt),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.parent.context.$implicit.signDate,"full")));var t=bt(l,5,0,n(l,6,0,bi(l.parent.parent.parent.parent,3),e.lang.by));n(l,5,0,t),n(l,8,0,l.parent.parent.context.$implicit.signatory)}))}function tcn(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),_o(2,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),Fi(131072,xG,[Nl,La]),(n()(),Lo(5,null,[" "," "])),Fo(6,1),(n()(),_o(7,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(8,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.modified),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.parent.parent.context.$implicit.modificationDate,"full")));var t=bt(l,5,0,n(l,6,0,bi(l.parent.parent.parent.parent.parent,3),e.lang.by));n(l,5,0,t),n(l,8,0,l.parent.parent.parent.context.$implicit.modifiedBy)}))}function icn(n){return jo(0,[(n()(),Lo(0,null,[" "," "])),(n()(),_o(1,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),Fi(131072,xG,[Nl,La]),(n()(),Lo(4,null,[" "," "])),Fo(5,1),(n()(),_o(6,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(7,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.created),n(l,2,0,bt(l,2,0,bi(l,3).transform(l.parent.parent.parent.context.$implicit.creationDate,"full")));var t=bt(l,4,0,n(l,5,0,bi(l.parent.parent.parent.parent.parent,3),e.lang.by));n(l,4,0,t),n(l,7,0,l.parent.parent.parent.context.$implicit.typistLabel)}))}function acn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,tcn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["creationTemplate",2]],null,0,null,icn))],(function(n,l){n(l,1,0,null!==l.parent.parent.context.$implicit.modificationDate,bi(l,2))}),null)}function ocn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","subInfos"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ecn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,acn))],(function(n,l){n(l,2,0,void 0!==l.parent.context.$implicit.signDate,bi(l,3))}),null)}function rcn(n){return jo(0,[(n()(),_o(0,0,null,null,55,"mat-card",[["class","mat-card"],["style","padding:0;margin: 30px;min-height: 300px;background-size: cover;overflow: hidden;"]],[[2,"signed",null],[4,"background-image",null],[2,"_mat-animation-noopable",null]],[[null,"mouseover"]],(function(n,l,e){var t=!0,i=n.component;return"mouseover"===l&&(e.stopPropagation(),t=!1!==i.toggleInfo(n.context.$implicit,!0)&&t),t}),IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),vo(16777216,null,0,1,null,Ksn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,0,34,"div",[["class","pjToolsContent"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ysn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","actionsButton mat-menu-trigger"],["color","primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,9)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,9)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,9)._handleClick(e)&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(9,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(10,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-ellipsis-v"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(12,0,null,null,26,"mat-menu",[],null,null,null,XT,ZT)),Di(13,1294336,[["menuPjAction",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,2,{_allItems:1}),ko(603979776,3,{items:1}),ko(603979776,4,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(19,0,null,0,8,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,20)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,20)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setInSignatureBook(n.context.$implicit)&&t),t}),lL,nL)),Di(20,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(21,0,null,0,5,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.context.$implicit.inSignatureBook=e)&&t),t}),sA,uA)),Di(22,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"]},null),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(24,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(26,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(27,0,[" "," "])),(n()(),_o(28,0,null,0,8,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,29)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,29)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.setInSendAttachment(n.context.$implicit)&&t),t}),lL,nL)),Di(29,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(30,0,null,0,5,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.context.$implicit.inSendAttach=e)&&t),t}),sA,uA)),Di(31,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],disabled:[1,"disabled"]},null),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(33,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(35,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(36,0,[" "," "])),(n()(),vo(16777216,null,0,1,null,Jsn)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(39,0,null,0,16,"div",[["class","infosPj"]],null,null,null,null,null)),(n()(),_o(40,0,null,null,5,"div",[["class","stateInfo"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Zsn)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" "])),(n()(),vo(16777216,null,null,1,null,Qsn)),Di(45,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Xsn)),Di(47,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ncn)),Di(49,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,lcn)),Di(51,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ocn)),Di(53,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(54,0,null,null,1,"div",[["class","statusInfo"]],null,null,null,null,null)),(n()(),Lo(55,null,[" "," "]))],(function(n,l){var e=l.component;n(l,3,0,l.context.$implicit.hideMainInfo),n(l,6,0,l.context.$implicit.relation>1),n(l,8,0,"primary"),n(l,9,0,bi(l,13)),n(l,11,0,"fas","fa-ellipsis-v"),n(l,13,0),n(l,20,0,"FRZ"===l.context.$implicit.status),n(l,22,0,"primary"),n(l,24,0,l.context.$implicit.inSignatureBook),n(l,29,0,!e.mailevaEnabled),n(l,31,0,"primary",!e.mailevaEnabled),n(l,33,0,!e.mailevaEnabled,l.context.$implicit.inSendAttach),n(l,38,0,e.maarchParapheurEnabled&&"FRZ"===l.context.$implicit.status),n(l,42,0,l.context.$implicit.inSignatureBook),n(l,45,0,l.context.$implicit.inSendAttach),n(l,47,0,!l.context.$implicit.hideMainInfo),n(l,49,0,l.context.$implicit.hideMainInfo),n(l,51,0,!l.context.$implicit.hideMainInfo),n(l,53,0,l.context.$implicit.hideMainInfo)}),(function(n,l){var e=l.component;n(l,0,0,"SIGN"===l.context.$implicit.status,"url("+l.context.$implicit.thumbnailUrl+")","NoopAnimations"===bi(l,1)._animationMode),n(l,7,0,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode,bi(l,9).menuOpen||null),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,19,0,bi(l,20).role,bi(l,20)._highlighted,bi(l,20)._triggersSubmenu,bi(l,20)._getTabIndex(),bi(l,20).disabled.toString(),bi(l,20).disabled||null),n(l,21,1,[bi(l,22).id,null,bi(l,22).indeterminate,bi(l,22).checked,bi(l,22).disabled,"before"==bi(l,22).labelPosition,"NoopAnimations"===bi(l,22)._animationMode,bi(l,26).ngClassUntouched,bi(l,26).ngClassTouched,bi(l,26).ngClassPristine,bi(l,26).ngClassDirty,bi(l,26).ngClassValid,bi(l,26).ngClassInvalid,bi(l,26).ngClassPending]),n(l,27,0,e.lang.putInSignatureBook),n(l,28,0,bi(l,29).role,bi(l,29)._highlighted,bi(l,29)._triggersSubmenu,bi(l,29)._getTabIndex(),bi(l,29).disabled.toString(),bi(l,29).disabled||null),n(l,30,1,[bi(l,31).id,null,bi(l,31).indeterminate,bi(l,31).checked,bi(l,31).disabled,"before"==bi(l,31).labelPosition,"NoopAnimations"===bi(l,31)._animationMode,bi(l,35).ngClassUntouched,bi(l,35).ngClassTouched,bi(l,35).ngClassPristine,bi(l,35).ngClassDirty,bi(l,35).ngClassValid,bi(l,35).ngClassInvalid,bi(l,35).ngClassPending]),n(l,36,0,e.lang.putInSendAttach),n(l,55,0,e.lang["attachment_"+l.context.$implicit.status])}))}function ucn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[],null,[[null,"mouseover"]],(function(n,l,e){var t=!0;return"mouseover"===l&&(t=!1!==n.component.resetToggleInfo()&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,$sn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Gsn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,rcn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(7,3),(n()(),_o(8,0,null,null,3,"button",[["class","addPj"],["color","primary"],["mat-fab",""]],[[2,"addPjPanel",null],[2,"addPjProcess",null],[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.createAttachment()&&t),t}),PC,MC)),Di(9,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(10,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,2,0,0==e.attachments.length),n(l,4,0,e.attachments.length>0);var t=bt(l,6,0,n(l,7,0,bi(l.parent,1),e.attachments,e.currentFilter,"type"));n(l,6,0,t),n(l,9,0,"primary"),n(l,11,0)}),(function(n,l){var e=l.component;n(l,8,0,"panel"===e.target,"process"===e.target,e.lang.addAttachment,bi(l,9).disabled||null,"NoopAnimations"===bi(l,9)._animationMode),n(l,10,0,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color)}))}function scn(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,iB,[QS]),Fi(0,YS,[]),Fi(0,Es,[]),(n()(),vo(16777216,null,null,1,null,Bsn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseLoading",2]],null,0,null,ucn))],(function(n,l){n(l,5,0,l.component.loading,bi(l,6))}),null)}var ccn=function(){function n(){this.lang=Kr,this.loading=!1,this.selectedDiffusionTab=0,this.injectDatasParam={resId:0,editable:!1},this.currentResource={},this.refreshBadgeNotes=new la,this.refreshBadgeAttachments=new la}return n.prototype.ngOnInit=function(){},n.prototype.loadComponent=function(n,l){var e=this;this.mode=n,this.currentResource=l,this.injectDatasParam.resId=this.currentResource.resId,"diffusion"==n?setTimeout((function(){e.icon="fa-sitemap",e.selectedDiffusionTab=0,e.injectDatasParam.resId=e.currentResource.resId,e.appDiffusionsList.loadListinstance(e.currentResource.resId),e.appVisaWorkflow.loadWorkflow(e.currentResource.resId),e.appAvisWorkflow.loadWorkflow(e.currentResource.resId)}),0):"note"==n?(setTimeout((function(){e.icon="fa-comments",e.appNotesList.loadNotes(e.currentResource.resId)}),0),setTimeout((function(){$j("textarea").focus()}),200)):"attachment"==n&&setTimeout((function(){e.icon="fa-paperclip",e.appAttachmentsList.loadAttachments(e.currentResource.resId)}),0)},n.prototype.reloadBadgeNotes=function(n){this.refreshBadgeNotes.emit(n)},n.prototype.reloadBadgeAttachments=function(n){this.refreshBadgeAttachments.emit(n)},n}(),dcn=yt({encapsulation:0,styles:[[""]],data:{}});function pcn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{color:0}),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=n(l,3,0,l.component.currentResource.priorityColor);n(l,2,0,e),n(l,4,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,Wt(5,"",e.currentResource.statusImage.charAt(0),"",e.currentResource.statusImage.charAt(1)," ",e.currentResource.statusImage," ",e.currentResource.statusImage.charAt(0),"",e.currentResource.statusImage.charAt(1),"-2x"),bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function mcn(n){return jo(0,[(n()(),_o(0,0,null,null,21,"mat-tab-group",[["class","diffusionTab mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0;return"selectedIndexChange"===l&&(t=!1!==(n.component.selectedDiffusionTab=e)&&t),t}),LV,PV)),Di(1,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,6,{_tabs:1}),(n()(),_o(3,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(4,770048,[[6,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,7,{templateLabel:0}),ko(335544320,8,{_explicitContent:0}),(n()(),_o(7,0,null,0,1,"app-diffusions-list",[],null,null,null,JW,TW)),Di(8,114688,[[1,4],["appDiffusionsList",4]],0,OW,[nS,tu,Te,Jv,$S,_u],{adminMode:[0,"adminMode"]},null),(n()(),_o(9,16777216,null,null,6,"mat-tab",[],null,null,null,BV,zV)),Di(10,770048,[[6,4]],2,vV,[lt],{disabled:[0,"disabled"],textLabel:[1,"textLabel"]},null),ko(603979776,9,{templateLabel:0}),ko(335544320,10,{_explicitContent:0}),(n()(),_o(13,0,null,0,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(15,114688,[[2,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{injectDatas:[0,"injectDatas"],adminMode:[1,"adminMode"]},null),(n()(),_o(16,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(17,770048,[[6,4]],2,vV,[lt],{disabled:[0,"disabled"],textLabel:[1,"textLabel"]},null),ko(603979776,11,{templateLabel:0}),ko(335544320,12,{_explicitContent:0}),(n()(),_o(20,0,null,0,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(21,114688,[[3,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{injectDatas:[0,"injectDatas"],adminMode:[1,"adminMode"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.selectedDiffusionTab),n(l,4,0,Wt(1,"",e.lang.diffusionList,"")),n(l,8,0,!1),n(l,10,0,0==bi(l,15).getVisaCount(),Wt(1,"",e.lang.visaWorkflow,"")),n(l,15,0,e.injectDatasParam,!1),n(l,17,0,0==bi(l,21).getAvisCount(),Wt(1,"",e.lang.avis,"")),n(l,21,0,e.injectDatasParam,!1)}),(function(n,l){n(l,0,0,bi(l,1).dynamicHeight,"below"===bi(l,1).headerPosition)}))}function fcn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-notes-list",[],null,[[null,"reloadBadgeNotes"]],(function(n,l,e){var t=!0;return"reloadBadgeNotes"===l&&(t=!1!==n.component.reloadBadgeNotes(e)&&t),t}),Lsn,ksn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,[[4,4],["appNotesList",4]],0,Csn,[nS,tu,_u,Jv,$S],{injectDatas:[0,"injectDatas"],editMode:[1,"editMode"]},{reloadBadgeNotes:"reloadBadgeNotes"})],(function(n,l){n(l,2,0,l.component.injectDatasParam,!0)}),null)}function hcn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-attachments-list",[],null,[[null,"reloadBadgeAttachments"]],(function(n,l,e){var t=!0;return"reloadBadgeAttachments"===l&&(t=!1!==n.component.reloadBadgeAttachments(e)&&t),t}),scn,Usn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,[[5,4],["appAttachmentsList",4]],0,zsn,[nS,tu,Jv,yu,_u,TI],{injectDatas:[0,"injectDatas"]},{reloadBadgeAttachments:"reloadBadgeAttachments"})],(function(n,l){n(l,2,0,l.component.injectDatasParam)}),null)}function gcn(n){return jo(0,[Fi(0,YS,[]),ko(671088640,1,{appDiffusionsList:0}),ko(671088640,2,{appVisaWorkflow:0}),ko(671088640,3,{appAvisWorkflow:0}),ko(671088640,4,{appNotesList:0}),ko(671088640,5,{appAttachmentsList:0}),(n()(),_o(6,0,null,null,2,"div",[["style","font-size: 60px;opacity: 0.1;padding-bottom: 30px;text-align: center;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"mat-icon",[["class","mat-icon notranslate"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(9,0,null,null,3,"div",[["style","position: sticky;top: 0px;background:white;z-index: 1;display:flex;justify-content: center;align-items: center;color: #666;padding: 10px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,pcn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(12,null,[" "," "])),(n()(),_o(13,0,null,null,4,"div",[["style","text-align: center;color: #666;margin-bottom: 10px;padding-left: 10px;padding-right: 10px;"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(14,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"span",[["style","color: rgba(0,0,0,0.4);font-size: 90%;"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,0,"i",[["class","fas fa-barcode"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),_o(18,0,null,null,2,"div",[["style","text-align: center;font-weight: bold;margin-bottom: 30px;padding-left: 10px;padding-right: 10px;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(19,null,[" ","\n"])),Fo(20,3),(n()(),vo(16777216,null,null,1,null,mcn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fcn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hcn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,8,0,"fas",Wt(1,"",e.icon," fa-2x")),n(l,11,0,void 0!==e.currentResource.statusImage),n(l,22,0,"diffusion"==e.mode),n(l,24,0,"note"==e.mode),n(l,26,0,"attachment"==e.mode)}),(function(n,l){var e=l.component;n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,12,0,e.currentResource.chrono),n(l,13,0,Wt(1,"",e.currentResource.barcode,"")),n(l,16,0,Wt(1,"",e.lang.barcode,"")),n(l,17,0,e.currentResource.barcode),n(l,18,0,Wt(1,"",e.currentResource.subject,""));var t=bt(l,19,0,n(l,20,0,bi(l,0),e.currentResource.subject,50,"..."));n(l,19,0,t)}))}var bcn=function(){return function(n,l,e){this.http=n,this.data=l,this.dialogRef=e,this.lang=Kr}}(),vcn=function(){function n(n,l,e,t,i,a,o,r,u,s,c,d,p,m){var f=this;this.router=n,this._activatedRoute=l,this.route=e,this.http=t,this.dialog=i,this.sanitizer=a,this.headerService=o,this.filtersListService=r,this.notify=u,this.overlay=s,this.viewContainerRef=c,this.appService=d,this.foldersService=p,this.actionService=m,this.lang=Kr,this.loading=!1,this.docUrl="",this.injectDatasParam={resId:0,editable:!1},this.currentResource={},this.filtersChange=new la,this.dragInit=!0,this.displayedColumnsBasket=["resId"],this.displayedMainData=[{value:"chrono",cssClasses:["softColorData","align_centerData","chronoData"],icon:""},{value:"subject",cssClasses:["longData"],icon:""}],this.displayedSecondaryData=[],this.resultsLength=0,this.isLoadingResults=!0,this.listProperties={},this.currentBasketInfo={},this.currentChrono="",this.currentMode="",this.defaultAction={id:19,component:"processAction"},this.thumbnailUrl="",this.selectedRes=[],this.allResInBasket=[],this.selectedDiffusionTab=0,this.specificChrono="",this.displayFolderTags=!1,this.destroy$=new M,this.currentSelectedChrono="",l.queryParams.subscribe((function(n){return f.specificChrono=n.chrono})),this.subscription=this.foldersService.catchEvent().subscribe((function(n){"function"===n.type&&f[n.content]()})),this.subscription2=this.actionService.catchAction().subscribe((function(n){f.refreshDaoAfterAction()})),$j("link[href='merged_css.php']").remove()}return n.prototype.ngOnInit=function(){var n=this;this.loading=!1,this.isLoadingResults=!1,this.route.params.subscribe((function(l){n.dragInit=!0,n.destroy$.next(!0),n.basketUrl="../../rest/resourcesList/users/"+l.userSerialId+"/groups/"+l.groupSerialId+"/baskets/"+l.basketId,n.currentBasketInfo={ownerId:l.userSerialId,groupId:l.groupSerialId,basketId:l.basketId},n.headerService.currentBasketInfo=n.currentBasketInfo,n.filtersListService.filterMode=!1,n.selectedRes=[],n.sidenavRight.close(),n.listProperties=n.filtersListService.initListsProperties(n.currentBasketInfo.ownerId,n.currentBasketInfo.groupId,n.currentBasketInfo.basketId,"basket",n.specificChrono),setTimeout((function(){n.dragInit=!1}),1e3),n.initResultList()}),(function(l){n.notify.handleErrors(l)}))},n.prototype.ngOnDestroy=function(){this.destroy$.next(!0),this.subscription.unsubscribe(),this.subscription2.unsubscribe()},n.prototype.initResultList=function(){var n=this;this.resultListDatabase=new _cn(this.http,this.filtersListService),this.paginator.pageIndex=this.listProperties.page,this.paginator.pageSize=25,this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){return n.data=[],n.isLoadingResults=!0,n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.basketUrl,n.filtersListService.getUrlFilters(),n.paginator.pageSize)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.count,n.allResInBasket=l.allResources,n.currentBasketInfo.basket_id=l.basket_id,n.defaultAction=l.defaultAction,n.displayFolderTags=l.displayFolderTags,n.headerService.setHeader(l.basketLabel,"","fa fa-inbox"),l.resources})),Qr((function(l){return n.notify.handleErrors(l),n.router.navigate(["/home"]),n.isLoadingResults=!1,lu(!1)}))).subscribe((function(l){return n.data=l}))},n.prototype.goTo=function(n){this.filtersListService.filterMode=!1,this.docUrl=="../../rest/resources/"+n.resId+"/content"&&this.sidenavRight.opened?this.sidenavRight.close():(this.docUrl="../../rest/resources/"+n.resId+"/content",this.currentChrono=n.chrono,this.innerHtml=this.sanitizer.bypassSecurityTrustHtml("<iframe style='height:100%;width:100%;' src='"+this.docUrl+"' class='embed-responsive-item'></iframe>"),this.sidenavRight.open())},n.prototype.goToDetail=function(n){this.router.navigate(["/resources/"+n.resId])},n.prototype.goToFolder=function(n){this.router.navigate(["/folders/"+n.id])},n.prototype.togglePanel=function(n,l){var e=this.currentResource;l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l),e.resId===l.resId&&this.sidenavRight.opened&&this.currentMode===n?this.sidenavRight.close():(this.currentMode=n,this.currentResource=l,this.appPanelList.loadComponent(n,l),this.sidenavRight.open())},n.prototype.refreshBadgeNotes=function(n){this.currentResource.countNotes=n},n.prototype.refreshBadgeAttachments=function(n){this.currentResource.countAttachments=n},n.prototype.refreshDao=function(){this.paginator.pageIndex=this.listProperties.page,this.filtersChange.emit()},n.prototype.refreshDaoAfterAction=function(){this.sidenavRight.close(),this.refreshDao(),this.toggleAllRes({checked:!1})},n.prototype.filterThis=function(n){this.filtersTool.setInputSearch(n)},n.prototype.viewThumbnail=function(n){if(n.hasDocument){var l=+new Date;this.thumbnailUrl="../../rest/resources/"+n.resId+"/thumbnail?tsp="+l,$j("#viewThumbnail").show(),$j("#listContent").css({overflow:"hidden"})}},n.prototype.closeThumbnail=function(){$j("#viewThumbnail").hide(),$j("#listContent").css({overflow:"auto"})},n.prototype.processPostData=function(n){var l=this;return this.displayedSecondaryData=[],n.resources.forEach((function(n){Object.keys(n).forEach((function(e){"statusImage"===e&&null==n[e]?n[e]="fa-question undefined":null!=n[e]&&""!==n[e]||-1!==["closingDate","countAttachments","countNotes","display","folders","hasDocument","integrations","mailTracking"].indexOf(e)||(n[e]=l.lang.undefined)})),n.display.forEach((function(n){if(n.event=!1,n.displayTitle=n.displayValue,null!=n.displayValue&&""!==n.displayValue||-1!==["getCreationDate","getProcessLimitDate","getCreationAndProcessLimitDates","getParallelOpinionsNumber"].indexOf(n.value))if(["getSenders","getRecipients"].indexOf(n.value)>-1)n.event=!0,n.displayValue.length>1?(n.displayTitle=n.displayValue.join(" - "),n.displayValue="<b>"+n.displayValue.length+"</b> "+l.lang.contactsAlt):n.displayValue=n.displayValue[0];else if("getCreationAndProcessLimitDates"===n.value)n.icon="";else if("getVisaWorkflow"===n.value){var e=[],t="",i="",a=[];n.displayValue.forEach((function(n,o){t="",a.push(i=n.user),"sign"===n.mode&&(i="<u>"+i+"</u>"),t=""===n.date?'<i class="fa fa-hourglass-half"></i> <span title="'+l.lang[n.mode+"User"]+'">'+i+"</span>":'<span color="accent" style=""><i class="fa fa-check"></i> <span title="'+l.lang[n.mode+"User"]+'">'+i+"</span></span>",n.current&&o>=0&&(t='<b color="primary">'+t+"</b>"),e.push(t)}));var o=n.displayValue.map((function(n){return n.current})).indexOf(!0);if(o>0){e=(e=e.slice(o-1)).reverse();var r=n.displayValue.map((function(n){return n.current})).reverse().indexOf(!0);r>1&&(e=e.slice(r-1)),e=e.reverse()}else 0===o?e=(e=(e=e.reverse()).slice(o-2)).reverse():-1===o&&(e=e.slice(e.length-2));(o>=2||-1===o&&n.displayValue.length>=3)&&e.unshift("..."),-1!==o&&o-2<=n.displayValue.length&&o+2<n.displayValue.length&&n.displayValue.length>=3&&e.push("..."),n.displayValue=e.join(' <i class="fas fa-long-arrow-alt-right"></i> '),n.displayTitle=a.join(" - ")}else if("getSignatories"===n.value){var u=[];n.displayValue.forEach((function(n){u.push(n.user)})),n.displayValue=u.join(", "),n.displayTitle=u.join(", ")}else"getParallelOpinionsNumber"===n.value&&(n.displayTitle=n.displayValue+" "+l.lang.opinionsSent,n.displayValue=n.displayValue>0?'<b color="primary">'+n.displayValue+"</b> "+l.lang.opinionsSent:n.displayValue+" "+l.lang.opinionsSent);else n.displayValue=l.lang.undefined,n.displayTitle="";n.label=l.lang[n.value]})),n.checked=-1!==l.selectedRes.indexOf(n.resId)})),n},n.prototype.toggleRes=function(n,l){if(n.checked)-1===this.selectedRes.indexOf(l.resId)&&(this.currentResource=l,this.selectedRes.push(l.resId),l.checked=!0);else{var e=this.selectedRes.indexOf(l.resId);this.selectedRes.splice(e,1),l.checked=!1}},n.prototype.toggleAllRes=function(n){this.selectedRes=[],n.checked?(this.data.forEach((function(n){n.checked=!0})),this.selectedRes=JSON.parse(JSON.stringify(this.allResInBasket))):this.data.forEach((function(n){n.checked=!1}))},n.prototype.selectSpecificRes=function(n){this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},n)},n.prototype.open=function(n,l){var e=n.x,t=n.y;return!1===l.checked&&(l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l)),this.actionsList.open(e,t,l),!1},n.prototype.launch=function(n,l){var e=this;l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l),setTimeout((function(){e.actionsList.launchEvent(n,l)}),200)},n.prototype.listTodrag=function(){return this.foldersService.getDragIds()},n.prototype.launchEventSubData=function(n,l){n.event&&["getSenders","getRecipients"].indexOf(n.value)>-1&&this.openContact(l,"getSenders"===n.value?"senders":"recipients")},n.prototype.openContact=function(n,l){this.dialog.open(bcn,{panelClass:"maarch-modal",data:{title:n.chrono+" - "+n.subject,mode:l,resId:n.resId}})},n.prototype.viewDocument=function(n){window.open("../../rest/resources/"+n.resId+"/content?mode=view","_blank")},n.prototype.toggleMailTracking=function(n){var l=this;n.mailTracking?this.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:[n.resId]}}).pipe(Yr((function(){return l.headerService.nbResourcesFollowed--})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe():this.http.post("../../rest/resources/follow",{resources:[n.resId]}).pipe(Yr((function(){return l.headerService.nbResourcesFollowed++})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe(),n.mailTracking=!n.mailTracking},n}(),_cn=function(){function n(n,l){this.http=n,this.filtersListService=l}return n.prototype.getRepoIssues=function(n,l,e,t,i,a){return this.filtersListService.updateListsPropertiesPage(e),this.filtersListService.updateListsPropertiesPageSize(a),this.http.get(t+"?limit="+a+"&offset="+e*a+i)},n}(),ycn=yt({encapsulation:0,styles:[[".align_leftData[_ngcontent-%COMP%]{text-align:left}.align_centerData[_ngcontent-%COMP%]{text-align:center}.align_rightData[_ngcontent-%COMP%]{text-align:right}.boldFontData[_ngcontent-%COMP%]{font-weight:700}.bigFontData[_ngcontent-%COMP%]{font-size:14px}.smallFontData[_ngcontent-%COMP%]{font-size:10px}.normalData[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.chronoData[_ngcontent-%COMP%]{width:150px}.longData[_ngcontent-%COMP%]{-webkit-box-flex:3;flex:3}.locked[_ngcontent-%COMP%]{opacity:.5}.watermark[_ngcontent-%COMP%]{position:absolute;left:50%;-webkit-transform:translateX(-50%) rotate(-20deg);transform:translateX(-50%) rotate(-20deg);color:red;font-weight:700;opacity:.6}.dragPreview[_ngcontent-%COMP%]{text-align:center;border-radius:5px;background:#fff;padding:10px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);color:#135f7f}.folder-info[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.badge-folder[_ngcontent-%COMP%]{cursor:pointer;background:#f99830;margin:5px;font-size:12px;border-radius:3px;opacity:.8;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hasEvent[_ngcontent-%COMP%]{cursor:pointer}.hasEvent[_ngcontent-%COMP%]:hover{color:#135f7f}.followIcon[_ngcontent-%COMP%]{color:#f99830}"]],data:{}});function wcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function xcn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wcn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function Ccn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"small",[],null,null,null,null,null)),(n()(),Lo(1,null,["- "," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.selectedRes.length,e.lang.selected)}))}function kcn(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-lock"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(3,0,null,null,2,"span",[],[[8,"innerHTML",1],[8,"title",0]],null,null,null,null)),Fi(131072,xG,[Nl,La]),Fi(0,wG,[$S])],null,(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.closingDate,"")),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.parent.parent.parent.context.$implicit.closing_date)),Wt(1,"",bt(l,3,1,bi(l,5).transform(l.parent.parent.parent.parent.context.$implicit.closing_date)),""))}))}function Scn(n){return jo(0,[(n()(),_o(0,0,null,null,11,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-calendar"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(3,0,null,null,2,"span",[],[[8,"innerHTML",1],[8,"title",0]],null,null,null,null)),Fi(131072,xG,[Nl,La]),Fi(0,wG,[$S]),(n()(),Lo(-1,null,[" - "])),(n()(),_o(7,0,null,null,0,"i",[["class","fa fa-stopwatch"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(9,0,null,null,2,"span",[],[[8,"innerHTML",1],[8,"title",0]],null,null,null,null)),Fi(131072,prn,[Nl,La]),Fi(0,wG,[$S])],null,(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.creationDate,"")),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.parent.parent.context.$implicit.displayValue.creationDate)),Wt(1,"",bt(l,3,1,bi(l,5).transform(l.parent.parent.parent.context.$implicit.displayValue.creationDate)),"")),n(l,7,0,Wt(1,"",e.lang.processLimitDate,"")),n(l,9,0,bt(l,9,0,bi(l,10).transform(l.parent.parent.parent.context.$implicit.displayValue.processLimitDate)),Wt(1,"",bt(l,9,1,bi(l,11).transform(l.parent.parent.parent.context.$implicit.displayValue.processLimitDate)),""))}))}function Icn(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[],[[8,"className",0],[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(3,0,null,null,2,"span",[["style","margin-left: 3px;"]],[[8,"innerHTML",1],[8,"title",0]],null,null,null,null)),Fi(131072,prn,[Nl,La]),Fi(0,wG,[$S])],null,(function(n,l){var e=l.component;n(l,1,0,Wt(1,"fa ",l.parent.parent.parent.context.$implicit.icon,""),Wt(1,"",e.lang.processLimitDate,"")),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.parent.parent.context.$implicit.displayValue)),Wt(1,"",bt(l,3,1,bi(l,5).transform(l.parent.parent.parent.context.$implicit.displayValue)),""))}))}function Acn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Scn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Icn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"getCreationAndProcessLimitDates"===l.parent.parent.context.$implicit.value),n(l,4,0,"getProcessLimitDate"===l.parent.parent.context.$implicit.value)}),null)}function Mcn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kcn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Acn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,l.parent.parent.parent.context.$implicit.closing_date!=e.lang.undefined&&"getProcessLimitDate"!==l.parent.context.$implicit.value&&"getCreationDate"!==l.parent.context.$implicit.value),n(l,4,0,l.parent.parent.parent.context.$implicit.closing_date==e.lang.undefined||"getProcessLimitDate"===l.parent.context.$implicit.value)}),null)}function Pcn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[],[[8,"className",0],[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,["  "]))],null,(function(n,l){n(l,1,0,Wt(1,"fa ",l.parent.context.$implicit.icon,""),Wt(1,"",l.parent.context.$implicit.label,""))}))}function Dcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","opacity: 0.5"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,Wt(1,"id: ",l.parent.parent.context.$implicit.displayValue,"")),n(l,1,0,e.lang.undefined)}))}function Fcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",e.lang[l.parent.parent.context.$implicit.displayValue],"")),n(l,1,0,e.lang[l.parent.parent.context.$implicit.displayValue])}))}function Ecn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Dcn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Fcn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,!e.lang[l.parent.context.$implicit.displayValue]),n(l,4,0,e.lang[l.parent.context.$implicit.displayValue])}),null)}function Ocn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"span",[],[[8,"title",0],[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.parent.parent.context.$implicit.displayTitle,""),l.parent.parent.context.$implicit.displayValue)}))}function Tcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],[[8,"innerHTML",1]],null,null,null,null)),Fi(131072,xG,[Nl,La])],null,(function(n,l){n(l,0,0,bt(l,0,0,bi(l,1).transform(l.parent.parent.context.$implicit.displayValue)))}))}function Lcn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ocn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Tcn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=!l.parent.context.$implicit.value.includes("Date");n(l,2,0,e);var t=l.parent.context.$implicit.value.includes("Date");n(l,4,0,t)}),null)}function Rcn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"span",[["class","sub-info-data"],["style","flex:1;white-space: pre;\n overflow: hidden;\n text-overflow: ellipsis;\n padding-left: 5px;\n padding-right: 5px;"]],[[8,"className",0],[2,"hasEvent",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.launchEventSubData(n.context.$implicit,n.parent.parent.context.$implicit)&&t),t}),null,null)),(n()(),vo(16777216,null,null,2,null,Mcn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),Eo(3,3),(n()(),vo(16777216,null,null,1,null,Pcn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ecn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Lcn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=n(l,3,0,"getCreationDate","getProcessLimitDate","getCreationAndProcessLimitDates").indexOf(l.context.$implicit.value)>-1;n(l,2,0,e),n(l,5,0,""!=l.context.$implicit.icon&&"getProcessLimitDate"!==l.context.$implicit.value),n(l,7,0,"getCategory"==l.context.$implicit.value),n(l,9,0,"getCategory"!=l.context.$implicit.value&&"getProcessLimitDate"!==l.context.$implicit.value&&"getCreationAndProcessLimitDates"!==l.context.$implicit.value)}),(function(n,l){var e=l.context.$implicit.cssClasses.join(" ");n(l,0,0,e,l.context.$implicit.event)}))}function Ncn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","sub-info"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Rcn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,2,0,l.parent.context.$implicit.display)}),null)}function jcn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"title",0],[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{color:0}),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=n(l,3,0,l.parent.parent.context.$implicit.priorityColor);n(l,2,0,e),n(l,4,0,"primary")}),(function(n,l){var e=Wt(1,"",l.parent.parent.context.$implicit.statusLabel,""),t=Wt(5,"",l.parent.parent.context.$implicit.statusImage.charAt(0),"",l.parent.parent.context.$implicit.statusImage.charAt(1)," ",l.parent.parent.context.$implicit.statusImage," ",l.parent.parent.context.$implicit.statusImage.charAt(0),"",l.parent.parent.context.$implicit.statusImage.charAt(1),"-2x");n(l,0,0,e,t,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Vcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","watermark"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.confidential)}))}function qcn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fa fa-lock fa-2x mat-icon notranslate"],["role","img"],["style","color: red;"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,Wt(2,"",l.component.lang.warnLockResInProgress," : ",l.parent.parent.context.$implicit.locker,""),bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function zcn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"span",[["class","main-info-status"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.launch(i.defaultAction,n.parent.context.$implicit)&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,jcn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Vcn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qcn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,!0!==l.parent.context.$implicit.isLocked),n(l,4,0,"Y"===l.parent.context.$implicit.confidentiality),n(l,6,0,!0===l.parent.context.$implicit.isLocked)}),null)}function Ucn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.parent.parent.context.$implicit.chrono)}))}function Bcn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"span",[["class","main-info-data"],["style","width:200px;text-align:center;cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.launch(i.defaultAction,n.parent.context.$implicit)&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,Ucn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(4,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"span",[["style","color: rgba(0,0,0,0.4);font-size: 90%;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,0,"i",[["class","fas fa-barcode"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(7,null,[" "," "]))],(function(n,l){n(l,2,0,l.parent.context.$implicit.chrono!=l.component.lang.undefined)}),(function(n,l){n(l,6,0,Wt(1,"",l.component.lang.barcode,"")),n(l,7,0,l.parent.context.$implicit.barcode)}))}function $cn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","badge badge-folder"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.goToFolder(n.context.$implicit)&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-folder"]],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,0,0,Wt(2,"",l.component.lang.goToFolder," : ",l.context.$implicit.label,"")),n(l,2,0,l.context.$implicit.label)}))}function Hcn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","folder-info"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,$cn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(3,2)],(function(n,l){var e=bt(l,2,0,n(l,3,0,bi(l.parent.parent,2),l.parent.context.$implicit.folders,"label"));n(l,2,0,e)}),null)}function Gcn(n){return jo(0,[(n()(),_o(0,0,null,null,50,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","padding:0;border-top: solid 1px rgba(0, 0, 0, 0.12);"]],[[2,"selected-data",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,Ncn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,44,"div",[["class","main-info"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,3,"span",[["style","width:50px;height: 16px;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleRes(e,n.context.$implicit)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(8,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(9,0,null,null,6,"button",[["class","followIcon"],["mat-icon-button",""],["style","margin-left: -25px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.toggleMailTracking(n.context.$implicit)&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(11,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(13,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Eo(14,1),Di(15,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,zcn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Bcn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,null,2,"span",[["class","main-info-data"],["style","font-weight:bold;flex:1;cursor:pointer;"]],[[2,"undefined",null],[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.launch(i.defaultAction,n.context.$implicit)&&t),t}),null,null)),(n()(),Lo(21,null,["",""])),Fo(22,3),(n()(),_o(23,0,null,null,25,"span",[["class","main-info-action"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[2,"noData",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("note",n.context.$implicit)&&t),t}),PC,MC)),Di(25,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(26,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-comments fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(27,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),Di(28,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(29,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[2,"noData",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("attachment",n.context.$implicit)&&t),t}),PC,MC)),Di(30,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(31,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-paperclip fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(32,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),Di(33,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(34,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("diffusion",n.context.$implicit)&&t),t}),PC,MC)),Di(35,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(36,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-sitemap fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(37,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),(n()(),_o(38,0,null,null,6,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.viewDocument(n.context.$implicit)&&t),"mouseenter"===l&&(t=!1!==i.viewThumbnail(n.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.closeThumbnail()&&t),t}),PC,MC)),Di(39,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(40,0,null,0,4,"mat-icon",[["class","fa mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(42,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(43,1),Di(44,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(45,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.goToDetail(n.context.$implicit)&&t),t}),PC,MC)),Di(46,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(47,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-info-circle fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(48,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),vo(16777216,null,null,1,null,Hcn)),Di(50,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,!bi(l.parent,85).opened&&!e.appService.getViewMode()&&l.context.$implicit.display.length>0),n(l,8,0,"primary",l.context.$implicit.checked);var t=n(l,14,0,!0===l.context.$implicit.mailTracking?"fas fa-star":"far fa-star");n(l,13,0,t),n(l,15,0),n(l,17,0,!e.appService.getViewMode()),n(l,19,0,!e.appService.getViewMode()),n(l,27,0,bi(l.parent,85).opened&&l.context.$implicit.checked&&"note"==e.currentMode?"primary":"","fas","fa-comments fa-2x"),n(l,28,0,Wt(1,"",l.context.$implicit.countNotes,""),Wt(1,"",0==l.context.$implicit.countNotes,"")),n(l,32,0,bi(l.parent,85).opened&&l.context.$implicit.checked&&"attachment"==e.currentMode?"primary":"","fas","fa-paperclip fa-2x"),n(l,33,0,Wt(1,"",l.context.$implicit.countAttachments,""),Wt(1,"",0==l.context.$implicit.countAttachments,"")),n(l,37,0,bi(l.parent,85).opened&&l.context.$implicit.checked&&"diffusion"==e.currentMode?"primary":"","fas","fa-sitemap fa-2x"),n(l,39,0,!l.context.$implicit.hasDocument);var i=n(l,43,0,l.context.$implicit.hasDocument?"fa-eye":"fa-eye-slash");n(l,42,0,"fa",i),n(l,44,0),n(l,48,0,"fas","fa-info-circle fa-2x"),n(l,50,0,e.displayFolderTags&&void 0!==l.context.$implicit.folders&&l.context.$implicit.folders.length>0)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit.checked),n(l,6,0,bi(l,8).id,null,bi(l,8).indeterminate,bi(l,8).checked,bi(l,8).disabled,"before"==bi(l,8).labelPosition,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,!0===l.context.$implicit.mailTracking?e.lang.untrackThisMail:e.lang.trackThisMail,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,bi(l,15).inline,"primary"!==bi(l,15).color&&"accent"!==bi(l,15).color&&"warn"!==bi(l,15).color),n(l,20,0,l.context.$implicit.subject==e.lang.undefined,Wt(1,"",l.context.$implicit.subject,""));var t=bt(l,21,0,n(l,22,0,bi(l.parent,1),l.context.$implicit.subject,150,"..."));n(l,21,0,t),n(l,24,0,Wt(1,"",e.lang.notes,""),0==l.context.$implicit.countNotes,bi(l,25).disabled||null,"NoopAnimations"===bi(l,25)._animationMode),n(l,26,1,[bi(l,27).inline,"primary"!==bi(l,27).color&&"accent"!==bi(l,27).color&&"warn"!==bi(l,27).color,bi(l,28).overlap,bi(l,28).isAbove(),!bi(l,28).isAbove(),!bi(l,28).isAfter(),bi(l,28).isAfter(),"small"===bi(l,28).size,"medium"===bi(l,28).size,"large"===bi(l,28).size,bi(l,28).hidden||!bi(l,28)._hasContent,bi(l,28).disabled]),n(l,29,0,Wt(1,"",e.lang.attachments,""),0==l.context.$implicit.countAttachments,bi(l,30).disabled||null,"NoopAnimations"===bi(l,30)._animationMode),n(l,31,1,[bi(l,32).inline,"primary"!==bi(l,32).color&&"accent"!==bi(l,32).color&&"warn"!==bi(l,32).color,bi(l,33).overlap,bi(l,33).isAbove(),!bi(l,33).isAbove(),!bi(l,33).isAfter(),bi(l,33).isAfter(),"small"===bi(l,33).size,"medium"===bi(l,33).size,"large"===bi(l,33).size,bi(l,33).hidden||!bi(l,33)._hasContent,bi(l,33).disabled]),n(l,34,0,Wt(1,"",e.lang.diffusionList,""),bi(l,35).disabled||null,"NoopAnimations"===bi(l,35)._animationMode),n(l,36,0,bi(l,37).inline,"primary"!==bi(l,37).color&&"accent"!==bi(l,37).color&&"warn"!==bi(l,37).color),n(l,38,0,Wt(1,"",l.context.$implicit.hasDocument?e.lang.viewResource:e.lang.noDocument,""),bi(l,39).disabled||null,"NoopAnimations"===bi(l,39)._animationMode),n(l,40,0,bi(l,44).inline,"primary"!==bi(l,44).color&&"accent"!==bi(l,44).color&&"warn"!==bi(l,44).color),n(l,45,0,Wt(1,"",e.lang.linkDetails,""),bi(l,46).disabled||null,"NoopAnimations"===bi(l,46)._animationMode),n(l,47,0,bi(l,48).inline,"primary"!==bi(l,48).color&&"accent"!==bi(l,48).color&&"warn"!==bi(l,48).color)}))}function Wcn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","example-custom-placeholder"]],null,null,null,null,null))],null,null)}function Kcn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","dragPreview"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fas fa-envelope-open-text fa-2x"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(3,null,[""," : "])),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.classifyInFolder),n(l,5,0,l.parent.context.$implicit.chrono)}))}function Ycn(n){return jo(0,[(n()(),_o(0,16777216,null,null,11,"tr",[["cdkDrag",""],["class","rowData mat-row cdk-drag"],["mat-row",""],["role","row"]],[[2,"locked",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"contextmenu"],[null,"cdkDragStarted"]],(function(n,l,e){var t=!0,i=n.component;return"contextmenu"===l&&(t=!1!==i.open(e,n.context.$implicit)&&t),"cdkDragStarted"===l&&(t=!1!==i.selectSpecificRes(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(6144,null,VU,null,[$U]),Di(3,49152,null,0,cR,[],null,null),Di(4,4866048,[[13,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"]},{started:"cdkDragStarted"}),ko(603979776,17,{_handles:1}),ko(603979776,18,{_previewTemplate:0}),ko(603979776,19,{_placeholderTemplate:0}),(n()(),vo(0,null,null,1,null,Wcn)),Di(9,16384,[[19,4]],0,zU,[Xe],null,null),(n()(),vo(0,null,null,1,null,Kcn)),Di(11,16384,[[18,4]],0,UU,[Xe],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,4,0,l.context.$implicit)}),(function(n,l){n(l,0,0,1==l.context.$implicit.isLocked,bi(l,4).disabled,bi(l,4)._dragRef.isDragging())}))}function Jcn(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,"div",[["style","height: 100%;overflow: hidden;"]],[[8,"innerHTML",1]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.component.currentChrono)}),(function(n,l){n(l,0,0,l.component.innerHtml)}))}function Zcn(n){return jo(0,[Fi(0,ZS,[]),Fi(0,YS,[]),Fi(0,HS,[QS,$S]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{actionsList:0}),ko(402653184,3,{filtersTool:0}),ko(402653184,4,{appPanelList:0}),ko(402653184,5,{paginator:0}),ko(402653184,6,{sort:0}),(n()(),_o(9,0,null,null,87,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(10,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,7,{_drawers:1}),ko(603979776,8,{_content:0}),(n()(),_o(13,0,null,1,67,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(14,1294336,[[8,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(15,0,null,0,2,"mat-card",[["class","mat-card"],["id","viewThumbnail"],["style","display:none;position: fixed;z-index: 2;margin-left: 1px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(16,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(17,0,null,0,0,"img",[["style","max-height: 100vh;"]],[[8,"src",4]],null,null,null,null)),(n()(),_o(18,0,null,0,11,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(20,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(22,114688,null,0,GO,[_u],null,null),(n()(),_o(23,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(25,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(26,0,null,null,3,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(27,0,null,null,2,"app-filters-tool",[["style","flex:1;overflow-x: auto;overflow-y: hidden;"]],null,[[null,"toggleAllRes"],[null,"refreshEventAfterAction"],[null,"refreshEvent"]],(function(n,l,e){var t=!0,i=n.component;return"toggleAllRes"===l&&(t=!1!==i.toggleAllRes(e)&&t),"refreshEventAfterAction"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshEvent"===l&&(t=!1!==i.refreshDao()&&t),t}),nun,Rrn)),Ei(512,null,QS,QS,[]),Di(29,114688,[[3,4],["filtersTool",4]],0,Lrn,[nS,Trn,Oy,QS,Jv],{listProperties:[0,"listProperties"],title:[1,"title"],routeDatas:[2,"routeDatas"],sidenavRight:[3,"sidenavRight"],selectedRes:[4,"selectedRes"],totalRes:[5,"totalRes"]},{refreshEvent:"refreshEvent",refreshEventAfterAction:"refreshEventAfterAction",toggleAllRes:"toggleAllRes"}),(n()(),_o(30,0,null,0,50,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(31,0,null,null,49,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xcn)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(34,0,null,null,19,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(35,0,null,null,7,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["style","margin: 10px;padding-right: 10px;"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleAllRes(e)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(38,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"],indeterminate:[2,"indeterminate"]},{change:"change"}),(n()(),Lo(39,null,[" "," "," "])),Fo(40,1),(n()(),vo(16777216,null,null,1,null,Ccn)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(43,0,null,null,10,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),_o(45,0,null,null,2,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(46,245760,[[5,4],["paginatorResultList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSizeOptions:[1,"pageSizeOptions"]},null),Eo(47,4),(n()(),_o(48,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),_o(49,0,null,null,1,"app-tools-list",[],null,null,null,aun,iun)),Di(50,114688,[["actionsList",4]],0,tun,[nS,Jv],{currentBasketInfo:[0,"currentBasketInfo"],selectedRes:[1,"selectedRes"]},null),(n()(),_o(51,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),_o(52,0,null,null,1,"app-actions-list",[],null,[[null,"refreshEvent"],[null,"refreshPanelFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshEvent"===l&&(t=!1!==i.refreshDao()&&t),"refreshPanelFolders"===l&&(t=!1!==i.foldersService.getFolders()&&t),t}),csn,asn)),Di(53,114688,[["actionsList",4]],0,isn,[nS,tu,Jv,uf,tsn,_u],{selectedRes:[0,"selectedRes"],totalRes:[1,"totalRes"],contextMode:[2,"contextMode"],currentBasketInfo:[3,"currentBasketInfo"],currentResource:[4,"currentResource"]},{refreshEvent:"refreshEvent",refreshPanelFolders:"refreshPanelFolders"}),(n()(),_o(54,0,null,null,25,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(55,0,null,null,24,"table",[["cdkDropList",""],["class","mat-table cdk-drop-list"],["id","document-list"],["mat-table",""],["matSort",""],["matSortActive","resId"],["matSortDirection","asc"],["matSortDisableClear",""],["style","width:100%;"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],null,null,hR,fR)),Ei(6144,null,jU,null,[KU]),Ei(6144,null,QL,null,[lR]),Di(58,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,9,{_contentColumnDefs:1}),ko(603979776,10,{_contentRowDefs:1}),ko(603979776,11,{_contentHeaderRowDefs:1}),ko(603979776,12,{_contentFooterRowDefs:1}),Di(63,737280,[[6,4],["tableBasketListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"],disableClear:[2,"disableClear"]},null),Di(64,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"],disabled:[3,"disabled"]},null),ko(603979776,13,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(67,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(69,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,14,{cell:0}),ko(603979776,15,{headerCell:0}),ko(603979776,16,{footerCell:0}),Ei(2048,[[9,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Gcn)),Di(75,16384,null,0,eR,[Xe],null,null),Ei(2048,[[14,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Ycn)),Di(78,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[10,4]],UL,null,[uR]),(n()(),_o(80,0,null,null,0,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(81,0,null,0,15,"mat-sidenav",[["autoFocus","false"],["class","panel-right mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[2,"docView",null],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,85)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,85)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(83,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(84,{width:0}),Di(85,3325952,[[7,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"],fixedInViewport:[4,"fixedInViewport"]},null),(n()(),vo(16777216,null,0,1,null,Jcn)),Di(87,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(88,0,null,0,4,"div",[["style","display:flex;position: sticky;top: 0px;z-index: 2;"]],null,null,null,null,null)),(n()(),_o(89,0,null,null,3,"button",[["mat-icon-button",""],["style","font-size: 20px;color:#666;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,85).close()&&t),t}),PC,MC)),Di(90,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(91,0,null,0,1,"mat-icon",[["class","fa fa-arrow-right mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(92,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(93,0,null,0,1,"app-panel-list",[],null,[[null,"refreshBadgeNotes"],[null,"refreshBadgeAttachments"]],(function(n,l,e){var t=!0,i=n.component;return"refreshBadgeNotes"===l&&(t=!1!==i.refreshBadgeNotes(e)&&t),"refreshBadgeAttachments"===l&&(t=!1!==i.refreshBadgeAttachments(e)&&t),t}),gcn,dcn)),Di(94,114688,[[4,4],["appPanelList",4]],0,ccn,[],null,{refreshBadgeNotes:"refreshBadgeNotes",refreshBadgeAttachments:"refreshBadgeAttachments"}),(n()(),_o(95,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(96,49152,null,0,mI,[],null,null),(n()(),_o(97,0,null,null,1,"app-actions-list",[],null,[[null,"refreshEvent"],[null,"refreshEventAfterAction"],[null,"refreshPanelFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshEvent"===l&&(t=!1!==i.refreshDao()&&t),"refreshEventAfterAction"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshPanelFolders"===l&&(t=!1!==i.foldersService.getFolders()&&t),t}),csn,asn)),Di(98,114688,[[2,4],["actionsListContext",4]],0,isn,[nS,tu,Jv,uf,tsn,_u],{selectedRes:[0,"selectedRes"],totalRes:[1,"totalRes"],contextMode:[2,"contextMode"],currentBasketInfo:[3,"currentBasketInfo"]},{refreshEvent:"refreshEvent",refreshEventAfterAction:"refreshEventAfterAction",refreshPanelFolders:"refreshPanelFolders"})],(function(n,l){var e=l.component;n(l,10,0),n(l,14,0),n(l,22,0),n(l,25,0),n(l,29,0,e.listProperties,e.lang.searchMailInBasket,"/rest/resourcesList/users/"+e.currentBasketInfo.ownerId+"/groups/"+e.currentBasketInfo.groupId+"/baskets/"+e.currentBasketInfo.basketId+"/filters",bi(l,85),e.selectedRes,e.allResInBasket.length),n(l,33,0,e.isLoadingResults),n(l,38,0,"primary",e.selectedRes.length==e.allResInBasket.length&&e.selectedRes.length>0,e.selectedRes.length>0&&e.selectedRes.length<e.allResInBasket.length),n(l,42,0,e.selectedRes.length>0);var t=e.resultsLength,i=n(l,47,0,25,50,100,150);n(l,46,0,t,i),n(l,50,0,e.currentBasketInfo,e.selectedRes),n(l,53,0,e.selectedRes,e.allResInBasket.length,!1,e.currentBasketInfo,e.currentResource),n(l,58,0,e.data),n(l,63,0,"resId","asc",""),n(l,64,0,e.listTodrag(),e.data,"document-list",e.dragInit||e.appService.getViewMode()),n(l,69,0,"resId"),n(l,78,0,e.displayedColumnsBasket);var a=n(l,84,0,e.appService.getViewMode()?"80%":"30%");n(l,83,0,a),n(l,85,0,"end",e.appService.getViewMode()?"over":"side","false",(e.appService.getViewMode(),!1),e.appService.getViewMode()),n(l,87,0,e.innerHtml&&!e.filtersListService.filterMode),n(l,92,0),n(l,94,0),n(l,98,0,e.selectedRes,e.allResInBasket.length,!0,e.currentBasketInfo)}),(function(n,l){var e=l.component;n(l,9,0,bi(l,10)._backdropOverride),n(l,13,0,bi(l,14)._container._contentMargins.left,bi(l,14)._container._contentMargins.right),n(l,15,0,"NoopAnimations"===bi(l,16)._animationMode),n(l,17,0,Wt(1,"",e.thumbnailUrl,"")),n(l,19,0,e.appService.getViewMode()),n(l,26,0,e.appService.getViewMode()),n(l,30,0,e.appService.getViewMode()),n(l,36,0,Wt(1,"",e.lang.selectAllResInBasket,""),bi(l,38).id,null,bi(l,38).indeterminate,bi(l,38).checked,bi(l,38).disabled,"before"==bi(l,38).labelPosition,"NoopAnimations"===bi(l,38)._animationMode);var t=e.allResInBasket.length,i=bt(l,39,1,n(l,40,0,bi(l,0),e.lang.records));n(l,39,0,t,i),n(l,55,0,bi(l,64).id,bi(l,64).disabled,bi(l,64)._dropListRef.isDragging(),bi(l,64)._dropListRef.isReceiving()),n(l,81,1,[!e.filtersListService.filterMode,null,"end"===bi(l,85).position,"over"===bi(l,85).mode,"push"===bi(l,85).mode,"side"===bi(l,85).mode,bi(l,85).opened,bi(l,85).fixedInViewport,bi(l,85).fixedInViewport?bi(l,85).fixedTopGap:null,bi(l,85).fixedInViewport?bi(l,85).fixedBottomGap:null,bi(l,85)._animationState]),n(l,89,0,bi(l,90).disabled||null,"NoopAnimations"===bi(l,90)._animationMode),n(l,91,0,bi(l,92).inline,"primary"!==bi(l,92).color&&"accent"!==bi(l,92).color&&"warn"!==bi(l,92).color),n(l,95,0,bi(l,96).vertical?"vertical":"horizontal",bi(l,96).vertical,!bi(l,96).vertical,bi(l,96).inset)}))}function Qcn(n){return jo(0,[(n()(),_o(0,16777216,null,null,2,"ng-component",[],null,null,null,Zcn,ycn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,245760,null,0,vcn,[uf,Zp,Zp,nS,Jv,Ed,_u,Trn,tu,Zg,lt,yu,ru,tsn],null,null)],(function(n,l){n(l,2,0)}),null)}var Xcn=oi("ng-component",vcn,Qcn,{},{},[]),ndn=function(){function n(n,l,e){this.http=n,this.notify=l,this.privilegeService=e,this.lang=Kr,this.loading=!0,this.disabledHistory=!0,this.histories=[],this.resId=null,this.goTo=new la}return n.prototype.ngOnInit=function(){this.loading=!0,this.privilegeService.hasCurrentUserPrivilege("view_full_history")||this.privilegeService.hasCurrentUserPrivilege("view_doc_history")?(this.disabledHistory=!1,this.loadHistory(this.resId)):this.loading=!1},n.prototype.loadHistory=function(n){var l=this;this.loading=!0,this.http.get("../../rest/history?resId="+n+"&limit=3&onlyActions=true").pipe(Yr((function(n){l.histories=n.history})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.showMore=function(){this.goTo.emit()},n}(),ldn=yt({encapsulation:0,styles:[[".historyList[_ngcontent-%COMP%]{font-size:13px;width:100%;display:grid;grid-template-columns:15% 70% 15%;-webkit-box-align:center;align-items:center}.historyList[_ngcontent-%COMP%]:nth-child(2n){background:rgba(19,95,127,.1)}.date[_ngcontent-%COMP%]{padding:5px;color:#135f7f}.info[_ngcontent-%COMP%]{padding:5px}.noData[_ngcontent-%COMP%]{text-align:center;font-size:24px;font-weight:700;opacity:.3}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100%}.showMore[_ngcontent-%COMP%]{float:right;font-size:10px;position:absolute;right:10px;margin-top:-2px;padding:0;line-height:20px;width:35px;color:#f99830;font-weight:700}"]],data:{}});function edn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,3,0,"35")}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function tdn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","historyList"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","date"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La]),(n()(),_o(5,0,null,null,2,"div",[["class","info"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),Fo(7,3),(n()(),_o(8,0,null,null,1,"div",[["class","date"]],null,null,null,null,null)),(n()(),Lo(9,null,[" "," "]))],null,(function(n,l){n(l,1,0,bt(l,1,0,bi(l,2).transform(l.context.$implicit.event_date))),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.context.$implicit.event_date)));var e=bt(l,6,0,n(l,7,0,bi(l.parent.parent.parent,0),l.context.$implicit.info,110,"..."));n(l,6,0,e),n(l,9,0,l.context.$implicit.userLabel)}))}function idn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","showMore"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showMore()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.showMore)}))}function adn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noEvent)}))}function odn(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tdn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,idn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,adn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.histories),n(l,4,0,3===e.histories.length),n(l,6,0,0===e.histories.length)}),null)}function rdn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.historyDisabled)}))}function udn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,odn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["noPrivilegeTemplate",2]],null,0,null,rdn))],(function(n,l){n(l,1,0,!l.component.disabledHistory,bi(l,2))}),null)}function sdn(n){return jo(0,[Fi(0,YS,[]),(n()(),vo(16777216,null,null,1,null,edn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,udn))],(function(n,l){n(l,2,0,l.component.loading,bi(l,3))}),null)}var cdn=function(){function n(n,l){this.http=n,this.notify=l,this.lang=Kr,this.loading=!0,this.notes=[],this.resId=null,this.goTo=new la}return n.prototype.ngOnInit=function(){this.loading=!0,this.loadNotes(this.resId)},n.prototype.loadNotes=function(n){var l=this;this.loading=!0,this.http.get("../../rest/resources/"+n+"/notes?limit=3").pipe(Yr((function(n){l.notes=n.notes})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.showMore=function(){this.goTo.emit()},n}(),ddn=yt({encapsulation:0,styles:[[".noteList[_ngcontent-%COMP%]{font-size:13px;width:100%;display:grid;grid-template-columns:15% 70% 15%;-webkit-box-align:center;align-items:center}.noteList[_ngcontent-%COMP%]:nth-child(2n){background:rgba(19,95,127,.1)}.date[_ngcontent-%COMP%]{padding:5px;color:#135f7f}.info[_ngcontent-%COMP%]{padding:5px}.noData[_ngcontent-%COMP%]{text-align:center;font-size:24px;font-weight:700;opacity:.3}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100%}.showMore[_ngcontent-%COMP%]{float:right;font-size:10px;position:absolute;right:10px;margin-top:-2px;padding:0;line-height:20px;width:35px;color:#f99830;font-weight:700}"]],data:{}});function pdn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,3,0,"35")}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function mdn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","noteList"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","date"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La]),(n()(),_o(5,0,null,null,2,"div",[["class","info"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(6,null,[" "," "])),Fo(7,3),(n()(),_o(8,0,null,null,1,"div",[["class","date"]],null,null,null,null,null)),(n()(),Lo(9,null,[" "," "," "]))],null,(function(n,l){n(l,1,0,bt(l,1,0,bi(l,2).transform(l.context.$implicit.creation_date))),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.context.$implicit.creation_date))),n(l,5,0,l.context.$implicit.value);var e=bt(l,6,0,n(l,7,0,bi(l.parent.parent,0),l.context.$implicit.value,110,"..."));n(l,6,0,e),n(l,9,0,l.context.$implicit.firstname,l.context.$implicit.lastname)}))}function fdn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","showMore"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showMore()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.showMore)}))}function hdn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noNote)}))}function gdn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,mdn)),Di(1,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,fdn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hdn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.notes),n(l,3,0,3===e.notes.length),n(l,5,0,0===e.notes.length)}),null)}function bdn(n){return jo(0,[Fi(0,YS,[]),(n()(),vo(16777216,null,null,1,null,pdn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,gdn))],(function(n,l){n(l,2,0,l.component.loading,bi(l,3))}),null)}var vdn=function(){function n(n,l,e){this.http=n,this.notify=l,this.dialog=e,this.lang=Kr,this.loading=!0,this.attachments=[],this.resId=null,this.goTo=new la}return n.prototype.ngOnInit=function(){this.loading=!0,this.loadAttachments(this.resId)},n.prototype.loadAttachments=function(n){var l=this;this.loading=!0,this.http.get("../../rest/resources/"+n+"/attachments?limit=3").pipe(Yr((function(n){l.attachments=n.attachments})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.showAttachment=function(n){var l=this;this.dialogRef=this.dialog.open(Vsn,{height:"99vh",width:"99vw",disableClose:!0,panelClass:"modal-container",data:{resId:n.resId}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"success"===n})),Yr((function(){l.loadAttachments(l.resId)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.showMore=function(){this.goTo.emit()},n}(),_dn=yt({encapsulation:0,styles:[[".attachmentsList[_ngcontent-%COMP%]{cursor:pointer;font-size:13px;width:100%;display:grid;grid-template-columns:15% 65% 20%;-webkit-box-align:center;align-items:center}.attachmentsList[_ngcontent-%COMP%]:nth-child(2n){background:rgba(19,95,127,.1)}.date[_ngcontent-%COMP%]{padding:5px;color:#135f7f}.info[_ngcontent-%COMP%]{padding:5px}.attachmentType[_ngcontent-%COMP%]{font-size:10px;color:#135f7f}.noData[_ngcontent-%COMP%]{text-align:center;font-size:24px;font-weight:700;opacity:.3}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100%}.showMore[_ngcontent-%COMP%]{float:right;font-size:10px;position:absolute;right:10px;margin-top:-2px;padding:0;line-height:20px;width:35px;color:#f99830;font-weight:700}"]],data:{}});function ydn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,3,0,"35")}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function wdn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","date"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La])],null,(function(n,l){n(l,1,0,bt(l,1,0,bi(l,2).transform(l.parent.context.$implicit.modificationDate))),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.context.$implicit.modificationDate)))}))}function xdn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","date"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[" "," "])),Fi(131072,xG,[Nl,La])],null,(function(n,l){n(l,0,0,bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.creationDate))),n(l,2,0,bt(l,2,0,bi(l,3).transform(l.parent.context.$implicit.creationDate)))}))}function Cdn(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["class","attachmentsList"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showAttachment(n.context.$implicit)&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,wdn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,xdn)),(n()(),_o(4,0,null,null,2,"div",[["class","info"]],null,null,null,null,null)),(n()(),Lo(5,null,[" "," "])),Fo(6,3),(n()(),_o(7,0,null,null,1,"div",[["class","attachmentType"]],null,null,null,null,null)),(n()(),Lo(8,null,[" "," "]))],(function(n,l){n(l,2,0,null!==l.context.$implicit.modificationDate,bi(l,3))}),(function(n,l){var e=bt(l,5,0,n(l,6,0,bi(l.parent.parent,0),l.context.$implicit.title,110,"..."));n(l,5,0,e),n(l,8,0,l.context.$implicit.typeLabel)}))}function kdn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","showMore"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showMore()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.showMore)}))}function Sdn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noAttachment)}))}function Idn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Cdn)),Di(1,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,kdn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Sdn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.attachments),n(l,3,0,3===e.attachments.length),n(l,5,0,0===e.attachments.length)}),null)}function Adn(n){return jo(0,[Fi(0,YS,[]),(n()(),vo(16777216,null,null,1,null,ydn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,Idn))],(function(n,l){n(l,2,0,l.component.loading,bi(l,3))}),null)}var Mdn=function(){function n(n,l,e){this.http=n,this.notify=l,this.functions=e,this.lang=Kr,this.loading=!0,this.mails=[],this.resId=null,this.goTo=new la}return n.prototype.ngOnInit=function(){this.loading=!0,this.loadMails(this.resId)},n.prototype.loadMails=function(n){var l=this;this.loading=!0,this.http.get("../../rest/externalSummary/"+n+"?limit=3").pipe(q((function(n){return n.elementsSend=n.elementsSend.map((function(n){var e=n.object,t=n.type;return"aknowledgement_receipt"==n.type&&l.functions.empty(n.object)?(e=l.lang.ARPaper,t="aknowledgement_receipt"):"aknowledgement_receipt"==n.type&&n.object.startsWith("[AR]")&&(e=l.lang.ARelectronic,t="aknowledgement_receipt"),{object:l.functions.empty(e)?"<i>"+l.lang.emptySubject+"<i>":e,send_date:n.send_date,status:n.status,userInfo:n.userInfo,type:t}})),n})),Yr((function(n){l.mails=n.elementsSend})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.showMore=function(){this.goTo.emit()},n}(),Pdn=yt({encapsulation:0,styles:[[".mailList[_ngcontent-%COMP%]{font-size:13px;width:100%;display:grid;grid-template-columns:15% 70% 15%;-webkit-box-align:center;align-items:center}.mailList[_ngcontent-%COMP%]:nth-child(2n){background:rgba(19,95,127,.1)}.date[_ngcontent-%COMP%]{padding:5px;color:#135f7f}.info[_ngcontent-%COMP%]{padding:5px}.noData[_ngcontent-%COMP%]{text-align:center;font-size:24px;font-weight:700;opacity:.3}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100%}.showMore[_ngcontent-%COMP%]{float:right;font-size:10px;position:absolute;right:10px;margin-top:-2px;padding:0;line-height:20px;width:35px;color:#f99830;font-weight:700}.error[_ngcontent-%COMP%]{padding:5px;font-style:italic;color:#8e3e52}.arType[_ngcontent-%COMP%]{color:#666;font-style:italic}"]],data:{}});function Ddn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,3,0,"35")}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function Fdn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[["class","date"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(3,null,[" "," "])),Fi(131072,xG,[Nl,La])],null,(function(n,l){n(l,1,0,bt(l,1,0,bi(l,2).transform(l.parent.context.$implicit.send_date))),n(l,3,0,bt(l,3,0,bi(l,4).transform(l.parent.context.$implicit.send_date)))}))}function Edn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","error"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bt(l,0,0,bi(l,1).transform(l.parent.parent.context.$implicit.send_date))),n(l,2,0,e.lang.sendError)}))}function Odn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Edn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"ERROR"===l.parent.context.$implicit.status)}),null)}function Tdn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","mailList"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Fdn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,Odn)),(n()(),_o(4,0,null,null,1,"div",[["class","info"]],[[2,"arType",null],[8,"innerHTML",1]],null,null,null,null)),Fo(5,3),(n()(),_o(6,0,null,null,1,"div",[["class","date"]],null,null,null,null,null)),(n()(),Lo(7,null,[" "," "]))],(function(n,l){n(l,2,0,"SENT"===l.context.$implicit.status,bi(l,3))}),(function(n,l){var e="aknowledgement_receipt"===l.context.$implicit.type,t=bt(l,4,1,n(l,5,0,bi(l.parent.parent,0),l.context.$implicit.object,110,"..."));n(l,4,0,e,t),n(l,7,0,l.context.$implicit.userInfo)}))}function Ldn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","showMore"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.showMore()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.showMore)}))}function Rdn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noSendmail)}))}function Ndn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Tdn)),Di(1,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Ldn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Rdn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.mails),n(l,3,0,3===e.mails.length),n(l,5,0,0===e.mails.length)}),null)}function jdn(n){return jo(0,[Fi(0,YS,[]),(n()(),vo(16777216,null,null,1,null,Ddn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,Ndn))],(function(n,l){n(l,2,0,l.component.loading,bi(l,3))}),null)}var Vdn=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.appService=e,this.dialog=t,this.functions=i,this.privilegeService=a,this.lang=Kr,this.loading=!0,this.linkedResources=[],this.displayedColumns=["resId"],this.thumbnailUrl="",this.reloadBadgeLinkedResources=new la}return n.prototype.ngOnInit=function(){this.loading=!0,this.initLinkedResources()},n.prototype.initLinkedResources=function(){var n=this;this.http.get("../../rest/resources/"+this.resId+"/linkedResources").pipe(Yr((function(l){n.linkedResources=l.linkedResources,n.reloadBadgeLinkedResources.emit(""+n.linkedResources.length),setTimeout((function(){n.linkedResources=n.processPostData(n.linkedResources),n.dataSource=new mR(n.linkedResources),n.dataSource.paginator=n.paginator,n.dataSource.sort=n.sort}),0)})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.processPostData=function(n){var l=this;return n.forEach((function(n){Object.keys(n).forEach((function(e){"statusImage"===e&&l.functions.empty(n[e])?n[e]="fa-question undefined":l.functions.empty(n[e])&&-1===["senders","recipients","attachments","hasDocument","confidentiality","visaCircuit"].indexOf(e)&&(n[e]=l.lang.undefined),"senders"===e&&n[e].length>1&&(n[e]=n[e].length>1?n[e].length+" "+l.lang.contactsAlt:n[e][0])}))})),n},n.prototype.getUsersVisaCircuit=function(n){return n.visaCircuit.length>0?n.visaCircuit.map((function(n){return n.userLabel})):""},n.prototype.unlinkResource=function(n){var l=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.unlink,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/resources/"+l.resId+"/linkedResources/"+n.resId)})),Yr((function(){l.linkedResources=l.linkedResources.filter((function(l){return l.resId!==n.resId})),l.reloadBadgeLinkedResources.emit(""+l.linkedResources.length),l.dataSource=new mR(l.linkedResources),l.dataSource.paginator=l.paginator,l.dataSource.sort=l.sort,l.notify.success(l.lang.resourceUnlinked)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.viewThumbnail=function(n){n.hasDocument&&(this.thumbnailUrl="../../rest/resources/"+n.resId+"/thumbnail",$j("#viewThumbnail").show())},n.prototype.closeThumbnail=function(){$j("#viewThumbnail").hide()},n.prototype.openSearchResourceModal=function(){var n=this;this.dialog.open(Nnn,{panelClass:"maarch-full-height-modal",minWidth:"80%",data:{resId:this.resId,currentLinkedRes:this.linkedResources.map((function(n){return n.resId}))}}).afterClosed().pipe(tc((function(n){return"success"===n})),Yr((function(){n.initLinkedResources(),n.notify.success(n.lang.resourcesLinked)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.openContact=function(n,l){this.dialog.open(bcn,{panelClass:"maarch-modal",data:{title:n.chrono+" - "+n.subject,mode:l,resId:n.resId}})},n}(),qdn=yt({encapsulation:0,styles:[[".loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}.linkRes[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;z-index:2;bottom:10px;margin-left:10px;margin-top:10px}.main-info[_ngcontent-%COMP%]{width:100%}.sub-info[_ngcontent-%COMP%]{width:100%;display:block}.sub-info-data[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;text-overflow:ellipsis;padding-left:5px;padding-right:5px}.watermark[_ngcontent-%COMP%]{position:absolute;left:50%;-webkit-transform:translateX(-50%) rotate(-20deg);transform:translateX(-50%) rotate(-20deg);color:red;font-weight:700;opacity:.6}.senders[_ngcontent-%COMP%]{cursor:pointer}.senders[_ngcontent-%COMP%]:hover{color:#135f7f}"]],data:{}});function zdn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function Udn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[["class","sub-info-data col-md-6 text-right"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fas fa-list-ol"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,["  "])),(n()(),_o(3,0,null,null,1,"span",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.visaWorkflow,"")),n(l,3,0,e.getUsersVisaCircuit(l.parent.context.$implicit)),n(l,4,0,e.getUsersVisaCircuit(l.parent.context.$implicit))}))}function Bdn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","watermark"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.confidential)}))}function $dn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.unlinkResource(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["aria-hidden","true"],["class","fa fa-unlink fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,"true"],[2,kS]],null,null)],(function(n,l){n(l,1,0,"warn"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.unlink,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Hdn(n){return jo(0,[(n()(),_o(0,0,null,null,44,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex: 1;flex-direction: column;padding: 0px;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,25,"div",[["class","sub-info"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,4,"span",[["class","sub-info-data col-md-4"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"i",[["class","fas fa-exchange-alt"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,["  "])),(n()(),_o(6,0,null,null,1,"span",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(7,null,["",""])),(n()(),_o(8,0,null,null,4,"span",[["class","sub-info-data col-md-4 text-center senders"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openContact(n.context.$implicit,"senders")&&t),t}),null,null)),(n()(),_o(9,0,null,null,0,"i",[["class","fas fa-user"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,["  "])),(n()(),_o(11,0,null,null,1,"span",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(12,null,["",""])),(n()(),_o(13,0,null,null,7,"span",[["class","sub-info-data col-md-4 text-right"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,0,"i",[["class","fas fa-calendar"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,["  "])),(n()(),_o(16,0,null,null,4,"span",[],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(18,null,["",""])),Fi(131072,xG,[Nl,La]),Fo(20,1),(n()(),_o(21,0,null,null,4,"span",[["class","sub-info-data col-md-6"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,0,"i",[["class","fas fa-sitemap"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(-1,null,["  "])),(n()(),_o(24,0,null,null,1,"span",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(25,null,["",""])),(n()(),vo(16777216,null,null,1,null,Udn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,null,16,"div",[["class","main-info"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,7,"span",[["class","main-info-status"]],null,null,null,null,null)),(n()(),_o(30,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"title",0],[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(32,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(33,{color:0}),Di(34,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(16777216,null,null,1,null,Bdn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,null,1,"span",[["class","main-info-data"],["style","width:200px;text-align:center;"]],null,null,null,null,null)),(n()(),Lo(38,null,[" "," "])),(n()(),_o(39,0,null,null,2,"span",[["class","main-info-data"],["style","font-weight:bold;flex:1;"]],[[2,"undefined",null],[8,"title",0]],null,null,null,null)),(n()(),Lo(40,null,["",""])),Fo(41,3),(n()(),_o(42,0,null,null,2,"span",[["class","main-info-data"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$dn)),Di(44,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,27,0,l.context.$implicit.visaCircuit.length>0);var t=n(l,33,0,l.context.$implicit.priorityColor);n(l,32,0,t),n(l,34,0,"primary"),n(l,36,0,l.context.$implicit.confidentiality),n(l,44,0,e.privilegeService.hasCurrentUserPrivilege("add_links"))}),(function(n,l){var e=l.component;n(l,4,0,Wt(1,"",e.lang.category_id,"")),n(l,6,0,Wt(1,"",e.lang[l.context.$implicit.categoryId],"")),n(l,7,0,e.lang[l.context.$implicit.categoryId]),n(l,9,0,Wt(1,"",e.lang.contact,"")),n(l,11,0,l.context.$implicit.senders),n(l,12,0,l.context.$implicit.senders),n(l,14,0,Wt(1,"",e.lang.creationDate,"")),n(l,16,0,bt(l,16,0,bi(l,17).transform(l.context.$implicit.documentDate)));var t=bt(l,18,0,n(l,20,0,bi(l.parent.parent,0),bt(l,18,0,bi(l,19).transform(l.context.$implicit.documentDate,"full"))));n(l,18,0,t),n(l,22,0,Wt(1,"",e.lang.getAssignee,"")),n(l,24,0,l.context.$implicit.destUserLabel+" ("+l.context.$implicit.destinationLabel+")"),n(l,25,0,l.context.$implicit.destUserLabel+" ("+l.context.$implicit.destinationLabel+")");var i=Wt(1,"",l.context.$implicit.statusLabel,""),a=Wt(5,"",l.context.$implicit.statusImage.charAt(0),"",l.context.$implicit.statusImage.charAt(1)," ",l.context.$implicit.statusImage," ",l.context.$implicit.statusImage.charAt(0),"",l.context.$implicit.statusImage.charAt(1),"-2x");n(l,30,0,i,a,bi(l,34).inline,"primary"!==bi(l,34).color&&"accent"!==bi(l,34).color&&"warn"!==bi(l,34).color),n(l,38,0,l.context.$implicit.chrono),n(l,39,0,l.context.$implicit.subject==e.lang.undefined,Wt(1,"",l.context.$implicit.subject,""));var o=bt(l,40,0,n(l,41,0,bi(l.parent.parent,1),l.context.$implicit.subject,150,"..."));n(l,40,0,o)}))}function Gdn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-row",[["class","mat-row"],["role","row"],["style","cursor: pointer;"]],null,[[null,"mouseenter"],[null,"mouseleave"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,2).onClick()&&t),"mouseenter"===l&&(t=!1!==i.viewThumbnail(n.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.closeThumbnail()&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,16384,null,0,sf,[uf,Zp,[8,null],Te,Pe],{routerLink:[0,"routerLink"]},null),Di(3,49152,null,0,cR,[],null,null)],(function(n,l){n(l,2,0,Wt(1,"/resources/",l.context.$implicit.resId,""))}),null)}function Wdn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","linkRes"],["color","primary"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openSearchResourceModal()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-link mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.linkResource,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Kdn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-card",[["class","mat-card"],["id","viewThumbnail"],["style","display:none;position: fixed;z-index: 2;margin-left: 1px;left: 50%;transform: translate(-50%,-50%);top: 50%;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(1,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(2,0,null,0,0,"img",[["style","max-height: 100vh;"]],[[8,"src",4]],null,null,null,null)),(n()(),_o(3,0,null,null,3,"div",[["class","row"],["style","margin: 0px;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,1,"mat-paginator",[["class","mat-paginator"]],null,null,null,nN,WR)),Di(6,245760,[[1,4],["paginator",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(7,0,null,null,20,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","resId"],["matSortDirection","desc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(9,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,3,{_contentColumnDefs:1}),ko(603979776,4,{_contentRowDefs:1}),ko(603979776,5,{_contentHeaderRowDefs:1}),ko(603979776,6,{_contentFooterRowDefs:1}),Di(14,737280,[[2,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(15,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(17,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,7,{cell:0}),ko(603979776,8,{headerCell:0}),ko(603979776,9,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Hdn)),Di(23,16384,null,0,eR,[Xe],null,null),Ei(2048,[[7,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Gdn)),Di(26,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[4,4]],UL,null,[uR]),(n()(),vo(16777216,null,null,1,null,Wdn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,6,0,100,10,!0),n(l,9,0,e.dataSource),n(l,14,0,"resId","desc"),n(l,17,0,"resId"),n(l,26,0,e.displayedColumns),n(l,29,0,e.privilegeService.hasCurrentUserPrivilege("add_links"))}),(function(n,l){var e=l.component;n(l,0,0,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,Wt(1,"",e.thumbnailUrl,""))}))}function Ydn(n){return jo(0,[Fi(0,ZS,[]),Fi(0,YS,[]),ko(671088640,1,{paginator:0}),ko(671088640,2,{sort:0}),(n()(),vo(16777216,null,null,1,null,zdn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseLoading",2]],null,0,null,Kdn))],(function(n,l){n(l,5,0,l.component.loading,bi(l,6))}),null)}var Jdn=function(){function n(n,l,e,t,i,a,o,r,u){this.http=n,this.notify=l,this.data=e,this.dialog=t,this.dialogRef=i,this.functions=a,this.contactService=o,this.privilegeService=r,this.headerService=u,this.lang=Kr,this.loading=!0,this.separatorKeysCodes=[ah,ih,th,190],this.availableEmailModels=[],this.availableSignEmailModels=[],this.resourceData=null,this.availableSenders=[],this.currentSender={},this.recipients=[],this.copies=[],this.invisibleCopies=[],this.recipientsInput=new sy,this.emailSignListForm=new sy,this.templateEmailListForm=new sy,this.showCopies=!1,this.showInvisibleCopies=!1,this.emailCreatorId=null,this.emailId=null,this.emailsubject="",this.emailStatus="WAITING",this.emailContent="",this.currentEmailAttachTool="",this.emailAttachTool={document:{icon:"fa fa-file",title:this.lang.attachMainDocument,list:[]},notes:{icon:"fas fa-pen-square",title:this.lang.attachNote,list:[]},attachments:{icon:"fa fa-paperclip",title:this.lang.attachAttachment,list:[]}},this.emailAttach={},this.canManage=!1,this.pdfMode=!1,this.htmlMode=!0}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return Object.keys(this.emailAttachTool).forEach((function(l){n.emailAttach[l]="document"===l?{id:n.data.resId,isLinked:!1,original:!1}:[]})),[4,this.getAttachElements()];case 1:return l.sent(),this.data.emailId&&"email"===this.data.emailType?[4,this.getEmailData(this.data.emailId)]:[3,3];case 2:return l.sent(),[3,5];case 3:return this.data.emailId&&"acknowledgementReceipt"===this.data.emailType?[4,this.getAcknowledgementReceiptData(this.data.emailId)]:[3,5];case 4:l.sent(),l.label=5;case 5:return this.canManageMail()?(this.initEmailModelsList(),this.initEmailsList(),this.initSignEmailModelsList(),[4,this.getResourceData()]):[3,8];case 6:return l.sent(),[4,this.getUserEmails()];case 7:l.sent(),"DRAFT"!==this.emailStatus&&this.setDefaultInfo(),l.label=8;case 8:return setTimeout((function(){n.initMce()}),0),[2]}}))}))},n.prototype.initMce=function(){var n=this;tinymce.init({selector:"textarea#emailSignature",base_url:"../../node_modules/tinymce/",setup:function(l){l.on("init",(function(l){n.loading=!1}))},readonly:"SENT"===this.emailStatus,height:"400",suffix:".min",language:this.lang.langISO.replace("-","_"),language_url:"../../node_modules/tinymce-i18n/langs/"+this.lang.langISO.replace("-","_")+".js",menubar:!1,statusbar:!1,plugins:["autolink"],external_plugins:{maarch_b64image:"../../src/frontend/plugins/tinymce/maarch_b64image/plugin.min.js"},toolbar_sticky:!0,toolbar_drawer:"floating",toolbar:"SENT"!==this.emailStatus&&"undo redo | fontselect fontsizeselect | bold italic underline strikethrough forecolor | maarch_b64image | alignleft aligncenter alignright alignjustify bullist numlist outdent indent | removeformat"})},n.prototype.add=function(n,l){var e=n.input,t=n.value;(t||"").trim()&&this[l].push({label:t.trim(),email:t.trim(),badFormat:this.isBadEmailFormat(t.trim())}),e&&(e.value="")},n.prototype.isBadEmailFormat=function(n){return null===n.trim().match(/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/g)},n.prototype.closeModal=function(n){void 0===n&&(n=""),tinymce.remove(),this.dialogRef.close(n)},n.prototype.addEmail=function(n,l){var e=this;this[l].splice(this[l].length-1,1),"contactGroup"===n.type?this.http.get("../../rest/contactsGroups/"+n.id).pipe(q((function(n){return n.contactsGroup.contacts.filter((function(n){return!e.functions.empty(n.email)})).map((function(n){return{label:n.contact,email:n.email}}))})),Yr((function(n){e[l]=e[l].concat(n)})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe():this[l].push({label:n.label,email:n.email})},n.prototype.mergeEmailTemplate=function(n){var l=this;this.templateEmailListForm.reset(),this.http.post("../../rest/templates/"+n+"/mergeEmail",{data:{resId:this.data.resId}}).pipe(Yr((function(n){var e=document.createElement("div");if(e.innerHTML=tinymce.get("emailSignature").getContent(),e.getElementsByClassName("signature").length>0){var t=e.getElementsByClassName("signature")[0].innerHTML;e.getElementsByClassName("signature")[0].remove(),tinymce.get("emailSignature").setContent(""+e.innerHTML+n.mergedDocument+'<div class="signature">'+t+"</div>")}else tinymce.get("emailSignature").setContent(""+tinymce.get("emailSignature").getContent()+n.mergedDocument);l.htmlMode||tinymce.get("emailSignature").setContent(tinymce.get("emailSignature").getContent({format:"text"}))})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.mergeSignEmailTemplate=function(n){var l=this;this.emailSignListForm.reset(),this.http.get("../../rest/currentUser/emailSignatures/"+n).pipe(Yr((function(n){var e=document.createElement("div");e.innerHTML=tinymce.get("emailSignature").getContent(),e.getElementsByClassName("signature").length>0?(e.getElementsByClassName("signature")[0].remove(),tinymce.get("emailSignature").setContent(e.innerHTML+'<div class="signature">'+n.emailSignature.content+"</div>")):tinymce.get("emailSignature").setContent(tinymce.get("emailSignature").getContent()+'<div class="signature">'+n.emailSignature.content+"</div>"),l.htmlMode||tinymce.get("emailSignature").setContent(tinymce.get("emailSignature").getContent({format:"text"}))})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.remove=function(n,l){if(this.canManageMail()){var e=this[l].indexOf(n);e>=0&&this[l].splice(e,1)}},n.prototype.getEmailData=function(n){var l=this;return new Promise((function(e){l.http.get("../../rest/emails/"+n).pipe(Yr((function(n){l.emailCreatorId=n.userId,l.recipients=n.recipients.map((function(n){return{label:n,email:n,badFormat:l.isBadEmailFormat(n)}})),l.copies=n.cc.map((function(n){return{label:n,email:n,badFormat:l.isBadEmailFormat(n)}})),l.invisibleCopies=n.cci.map((function(n){return{label:n,email:n,badFormat:l.isBadEmailFormat(n)}})),l.showCopies=l.copies.length>0,l.showInvisibleCopies=l.invisibleCopies.length>0,l.emailsubject=n.object,l.emailStatus=n.status,l.currentSender={entityId:n.sender.entityId,label:n.sender.label,email:n.sender.email},l.emailContent=n.body,Object.keys(n.document).forEach((function(e){-1===["id","isLinked","original"].indexOf(e)?(l.emailAttach[e]=[],n.document[e].forEach((function(n){var i=l.emailAttachTool[e].list.filter((function(l){return l.id===n.id||l.id===n}));i.length>0&&(l.emailAttach[e]=l.emailAttach[e].concat(i.map((function(l){return Object(t.__assign)({},l,{format:n.original||void 0===n.original?l.format:"pdf",original:n.original,size:n.original||void 0===n.original?l.size:l.convertedDocument.size})}))))}))):"isLinked"===e&&!0===n.document.isLinked&&(l.emailAttach.document.isLinked=!0,l.emailAttach.document.format=n.document.original||void 0===n.document.original?l.emailAttachTool.document.list[0].format:"pdf",l.emailAttach.document.original=n.document.original,l.emailAttach.document.size=l.emailAttach.document.original?l.emailAttachTool.document.list[0].size:l.emailAttachTool.document.list[0].convertedDocument.size)})),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),e(!1),lu(!1)}))).subscribe()}))},n.prototype.getAcknowledgementReceiptData=function(n){var l=this;return new Promise((function(e){l.http.get("../../rest/acknowledgementReceipts/"+n).pipe(Yr((function(n){l.currentSender={label:n.acknowledgementReceipt.userLabel,email:n.acknowledgementReceipt.userLabel},l.recipients=[{label:l.functions.empty(n.acknowledgementReceipt.contact)?l.lang.contactDeleted:l.contactService.formatContact(n.acknowledgementReceipt.contact),email:l.functions.empty(n.acknowledgementReceipt.contact.email)?l.lang.withoutEmail:n.acknowledgementReceipt.contact.email}],l.emailStatus="SENT"})),MN((function(){return l.http.get("../../rest/acknowledgementReceipts/"+n+"/content")})),Yr((function(n){l.pdfMode="pdf"===n.format,l.pdfMode?(l.emailsubject=l.lang.ARPaper,l.emailContent=n.encodedDocument,l.loading=!1):(l.emailsubject=l.lang.ARelectronic,l.emailContent=l.b64DecodeUnicode(n.encodedDocument)),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),e(!1),lu(!1)}))).subscribe()}))},n.prototype.getResourceData=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"?light=true").pipe(Yr((function(e){n.resourceData=e,n.emailAttach.document.chrono=n.resourceData.chrono,n.emailAttach.document.label=n.resourceData.subject,l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.setDefaultInfo=function(){var n=this;this.emailsubject="["+this.resourceData.chrono+"] "+this.resourceData.subject,this.emailsubject=this.emailsubject.substring(0,70),this.currentSender=this.availableSenders.filter((function(l){return l.entityId===n.headerService.user.entities[0].id})).length>0?this.availableSenders.filter((function(l){return l.entityId===n.headerService.user.entities[0].id}))[0]:this.availableSenders[0],this.functions.empty(this.resourceData.senders)||this.resourceData.senders.forEach((function(l){n.setSender(l.id)}))},n.prototype.setSender=function(n){var l=this;this.http.get("../../rest/contacts/"+n).pipe(Yr((function(n){l.functions.empty(n.email)||l.recipients.push({label:l.contactService.formatContact(n),email:n.email})})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.getUserEmails=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/currentUser/availableEmails").pipe(Yr((function(e){n.availableSenders=e.emails,l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.getAttachElements=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/emailsInitialization").pipe(Yr((function(e){Object.keys(e).forEach((function(l){"resource"===l?(n.emailAttachTool.document.list=[],n.functions.empty(e[l])||(n.emailAttachTool.document.list=[e[l]])):n.emailAttachTool[l].list=e[l].map((function(e){return e.attachInMail&&n.toggleAttachMail(e,l,"SIGN"===e.status?"pdf":"original"),Object(t.__assign)({},e,{original:void 0===e.original||e.original,title:void 0!==e.chrono?e.chrono+" - "+e.label+" ("+e.typeLabel+")":e.label+" ("+e.typeLabel+")"})}))})),n.getRecipientInfos(n.emailAttachTool.attachments.list),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.initEmailsList=function(){var n=this;this.recipientsInput.valueChanges.pipe(tc((function(n){return null!==n})),Sh(300),Yr((function(l){0===l.length&&(n.filteredEmails=lu([]))})),tc((function(n){return n.length>2})),Gh(),Sc((function(l){return n.http.get("../../rest/autocomplete/correspondents",{params:{search:l,searchEmails:"true"}})})),Yr((function(l){l=l.filter((function(l){return!n.functions.empty(l.email)||"contactGroup"===l.type})).map((function(l){var e="";return"user"===l.type||"contact"===l.type?n.functions.empty(l.firstname)&&n.functions.empty(l.lastname)?e=l.company:(e=l.firstname+" "+l.lastname,n.functions.empty(l.function)||(e=e+" - "+l.function),n.functions.empty(l.company)||(e=e+" ("+l.company+") ")):e="contactGroup"===l.type?l.firstname+" "+l.lastname:""+l.lastname,{id:l.id,type:l.type,label:e,email:l.email}})),n.filteredEmails=lu(l)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.initEmailModelsList=function(){var n=this;this.http.get("../../rest/resources/"+this.data.resId+"/emailTemplates").pipe(Yr((function(l){n.availableEmailModels=l.templates})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.initSignEmailModelsList=function(){var n=this;this.http.get("../../rest/currentUser/emailSignatures").pipe(Yr((function(l){n.availableSignEmailModels=l.emailSignatures})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.resetAutocomplete=function(){this.filteredEmails=lu([])},n.prototype.onSubmit=function(){var n=this;this.emailStatus="WAITING",null===this.data.emailId?this.isAllEmailRightFormat()?""===this.emailsubject?this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.confirm,msg:this.lang.warnEmptySubject}}).afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.createEmail(!0)}))).subscribe():this.createEmail(!0):this.notify.error(this.lang.badEmailsFormat):this.updateEmail(!0)},n.prototype.createEmail=function(n){var l=this;void 0===n&&(n=!0),this.http.post("../../rest/emails",this.formatEmail()).pipe(Yr((function(){"DRAFT"===l.emailStatus||l.notify.success(l.lang.sendingEmail+"..."),n&&l.closeModal("success")})),iu((function(){"DRAFT"===l.emailStatus&&l.closeModal("success")})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.deleteEmail=function(){var n=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.delete("../../rest/emails/"+n.data.emailId)})),Yr((function(){n.notify.success(n.lang.emailDeleted),n.closeModal("success")})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.updateEmail=function(n){var l=this;void 0===n&&(n=!0),this.http.put("../../rest/emails/"+this.data.emailId,this.formatEmail()).pipe(Yr((function(){"DRAFT"===l.emailStatus||l.notify.success(l.lang.sendingEmail+"..."),n&&l.closeModal("success")})),iu((function(){"DRAFT"===l.emailStatus&&l.closeModal("success")})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.saveDraft=function(){this.canManageMail()?(this.emailStatus="DRAFT",null===this.data.emailId?this.functions.empty(tinymce.get("emailSignature").getContent())?this.closeModal():this.createEmail(!0):this.updateEmail(!0)):this.closeModal()},n.prototype.drop=function(n){n.previousContainer!==n.container&&yU(n.previousContainer.data,n.container.data,n.previousIndex,n.currentIndex)},n.prototype.toggleAttachMail=function(n,l,e){"document"===l?!1===this.emailAttach.document.isLinked&&(this.emailAttach.document.isLinked=!0,this.emailAttach.document.format="pdf"!==e?n.format:"pdf",this.emailAttach.document.original="pdf"!==e,this.emailAttach.document.size="pdf"===e?n.convertedDocument.size:n.size):0===this.emailAttach[l].filter((function(l){return l.id===n.id})).length&&this.emailAttach[l].push(Object(t.__assign)({},n,{format:"pdf"!==e?n.format:"pdf",original:"pdf"!==e,size:"pdf"===e?n.convertedDocument.size:n.size}))},n.prototype.removeAttachMail=function(n,l){"document"===l?(this.emailAttach.document.isLinked=!1,this.emailAttach.document.original=!1):this.emailAttach[l].splice(n,1)},n.prototype.switchEditionMode=function(){var n=this;this.htmlMode=!this.htmlMode,this.htmlMode?($j(".tox-editor-header").show(),tinymce.get("emailSignature").setContent(tinymce.get("emailSignature").getContent())):this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.switchInPlainText,msg:this.lang.confirmSwitchInPlanText}}).afterClosed().pipe(Yr((function(l){"ok"===l?($j(".tox-editor-header").hide(),tinymce.get("emailSignature").setContent(tinymce.get("emailSignature").getContent({format:"text"}))):n.htmlMode=!n.htmlMode}))).subscribe()},n.prototype.formatEmail=function(){var n=this,l={};Object.keys(this.emailAttach).forEach((function(e){n.functions.empty(n.emailAttach[e])||("document"===e?l={id:n.emailAttach[e].id,isLinked:n.emailAttach[e].isLinked,original:n.emailAttach[e].original}:l[e]=n.emailAttach[e].map("notes"===e?function(n){return n.id}:function(n){return{id:n.id,original:n.original}}))}));var e={email:this.currentSender.email,entityId:this.functions.empty(this.currentSender.entityId)?null:this.currentSender.entityId};return{document:l,sender:e,recipients:this.recipients.map((function(n){return n.email})),cc:this.showCopies?this.copies.map((function(n){return n.email})):[],cci:this.showInvisibleCopies?this.invisibleCopies.map((function(n){return n.email})):[],object:this.emailsubject,body:this.htmlMode?tinymce.get("emailSignature").getContent():tinymce.get("emailSignature").getContent({format:"text"}),isHtml:!0,status:this.emailStatus}},n.prototype.isSelectedAttachMail=function(n,l){return"document"===l?this.emailAttach.document.isLinked:this.emailAttach[l].filter((function(l){return l.id===n.id})).length>0},n.prototype.canManageMail=function(){return null===this.data.emailId||"SENT"!==this.emailStatus&&this.headerService.user.id===this.emailCreatorId?(this.recipientsInput.enable(),!0):(this.recipientsInput.disable(),!1)},n.prototype.isAllEmailRightFormat=function(){var n=this,l=!0;return this.recipients.concat(this.copies).concat(this.invisibleCopies).map((function(n){return n.email})).forEach((function(e){n.isBadEmailFormat(e)&&(l=!1)})),l},n.prototype.compareSenders=function(n,l){return!(n.label!==l.label&&(null!==n.label&&null!==l.label||null!==n.entityId&&null!==l.entityId)||n.entityId!==l.entityId||n.email!==l.email)},n.prototype.b64DecodeUnicode=function(n){return decodeURIComponent(atob(n).split("").map((function(n){return"%"+("00"+n.charCodeAt(0).toString(16)).slice(-2)})).join(""))},n.prototype.onPaste=function(n,l){var e=n.clipboardData.getData("text");this.formatEmailAddress(e,l)},n.prototype.formatEmailAddress=function(n,l){var e=this,t=n.split(/[,;]+/);this.functions.empty(t)||(setTimeout((function(){e.recipientsInput.setValue(null),e[l+"Field"].nativeElement.value=""}),0),t.forEach((function(n){n=n.match(/([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)/gi),e.functions.empty(n)||e[l].push({label:n[0],email:n[0]})})))},n.prototype.getRecipientInfos=function(n){var l=this;n.forEach((function(n,e){if(null!==n.recipientId)switch(n.recipientType){case"user":l.http.get("../../rest/users/"+n.recipientId).pipe(Yr((function(n){l.emailAttachTool.attachments.list[e]=Object(t.__assign)({},l.emailAttachTool.attachments.list[e],{recipientLabel:l.formatUserName(n)})})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe();break;case"contact":l.http.get("../../rest/contacts/"+n.recipientId).pipe(Yr((function(n){l.emailAttachTool.attachments.list[e]=Object(t.__assign)({},l.emailAttachTool.attachments.list[e],{recipientLabel:l.contactService.formatContact(n),onlyCompany:!(l.functions.empty(n.company)||!l.functions.empty(n.firstname)||!l.functions.empty(n.lastname))})})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()}}))},n.prototype.formatUserName=function(n){var l=this;if(this.functions.empty(n.firstname)&&this.functions.empty(n.lastname))return null;var e=[];return e.push(n.firstname),e.push(n.lastname),e.filter((function(n){return!l.functions.empty(n)})).join(" ")},n.prototype.openEmailAttach=function(n,l){var e=this;"attachments"===n&&this.http.get("../../rest/attachments/"+l.id+"/content?mode=base64").pipe(Yr((function(n){e.dialog.open(Rsn,{autoFocus:!1,panelClass:"maarch-full-height-modal",data:{title:""+l.label,base64:n.encodedDocument,filename:n.filename}})})),Qr((function(n){return e.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n}(),Zdn=function(){function n(n,l,e,t,i,a,o,r,u,s,c){this.http=n,this.notify=l,this.data=e,this.dialog=t,this.dialogRef=i,this.functions=a,this.contactService=o,this.privilegeService=r,this.headerService=u,this.stringPipe=s,this.reversePipe=c,this.lang=Kr,this.loading=!0,this.availableEmailModels=[],this.availableSignEmailModels=[],this.resourceData=null,this.availableSenders=[],this.currentSender={},this.recipients=[],this.recipientsCtrl=new sy,this.emailSignListForm=new sy,this.templateEmailListForm=new sy,this.numericPackageCreatorId=null,this.numericPackageStatus="WAITING",this.numericPackageCurrentAttachTool="",this.numericPackageAttachTool={document:{icon:"fa fa-file",title:this.lang.attachMainDocument,list:[]},notes:{icon:"fas fa-pen-square",title:this.lang.attachNote,list:[]},attachments:{icon:"fa fa-paperclip",title:this.lang.attachAttachment,list:[]}},this.numericPackageAttach=[],this.numericPackage={mainExchangeDoc:null,object:"",contacts:[],joinFile:[],joinAttachment:[],notes:[],content:"",senderEmail:null},this.reference=null,this.messageReview=[],this.maarch2maarchUrl="https://docs.maarch.org/gitbook/html/MaarchCourrier/"+angularGlobals.applicationVersion.split(".")[0]+"."+angularGlobals.applicationVersion.split(".")[1]+"/guat/guat_exploitation/maarch2maarch.html"}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.getAttachElements()];case 1:return n.sent(),this.data.emailId?[4,this.getNumericPackageData(this.data.emailId)]:[3,3];case 2:n.sent(),n.label=3;case 3:return this.canManageMail()?(this.initEmailModelsList(),this.initM2MList(),this.initSignEmailModelsList(),[4,this.getResourceData()]):[3,6];case 4:return n.sent(),[4,this.getM2MSenders()];case 5:n.sent(),this.setDefaultInfo(),n.label=6;case 6:return this.loading=!1,[2]}}))}))},n.prototype.isBadEmailFormat=function(n){return null===n.trim().match(/^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$/g)},n.prototype.closeModal=function(n){void 0===n&&(n=""),this.dialogRef.close(n)},n.prototype.addRecipient=function(n){this.recipients.push(n),this.recipientsInput.nativeElement.value="",this.recipientsCtrl.setValue("")},n.prototype.mergeEmailTemplate=function(n){var l=this;this.templateEmailListForm.reset(),this.http.post("../../rest/templates/"+n+"/mergeEmail",{data:{resId:this.data.resId}}).pipe(Yr((function(n){var e=document.createElement("textarea");e.innerHTML=n.mergedDocument,l.numericPackage.content+=l.stringPipe.transform(e.value)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.mergeSignEmailTemplate=function(n){var l=this;this.emailSignListForm.reset(),this.http.get("../../rest/currentUser/emailSignatures/"+n).pipe(Yr((function(n){var e=document.createElement("textarea");e.innerHTML=n.emailSignature.content,l.numericPackage.content+=l.stringPipe.transform(e.value)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.remove=function(n,l){if(this.canManageMail()){var e=this[l].indexOf(n);e>=0&&this[l].splice(e,1)}},n.prototype.getNumericPackageData=function(n){var l=this;return new Promise((function(e){l.http.get("../../rest/messageExchanges/"+n).pipe(q((function(n){return n.messageExchange})),Yr((function(n){l.numericPackageCreatorId=n.userId,n.recipient.communicationMeans=n.communicationType,l.recipients=[n.recipient],l.currentSender.label=n.sender,l.numericPackage.object=n.object,l.numericPackageStatus=n.status.toUpperCase(),l.numericPackage.content=n.body,l.reference=n.reference,l.messageReview=n.messageReview.map((function(n){return{date:l.functions.formatFrenchDateToObjectDate(n.substring(1,19),"/"),content:n.substring(21)}})),l.messageReview=l.reversePipe.transform(l.messageReview),"res_letterbox"===n.disposition.tablename?(l.numericPackage.mainExchangeDoc=Object(t.__assign)({},l.numericPackageAttachTool.document.list[0],{typeLabel:l.lang.mainDocument,type:"document"}),l.numericPackageAttach=l.numericPackageAttach.concat(l.numericPackageAttachTool.attachments.list.filter((function(l){return n.attachments.indexOf(l.id.toString())>-1})))):(l.numericPackage.mainExchangeDoc=Object(t.__assign)({},l.numericPackageAttachTool.attachments.list.filter((function(l){return l.id==n.disposition.res_id}))[0],{type:"attachments"}),l.numericPackageAttach=l.numericPackageAttach.concat(l.numericPackageAttachTool.attachments.list.filter((function(l){return n.attachments.indexOf(l.id.toString())>-1&&l.id!=n.disposition.res_id})))),n.resMasterAttached&&"res_letterbox"!==n.disposition.tablename&&l.numericPackageAttach.push(Object(t.__assign)({},l.numericPackageAttachTool.document.list[0],{typeLabel:l.lang.mainDocument,type:"document"})),l.numericPackageAttach=l.numericPackageAttach.concat(l.numericPackageAttachTool.notes.list.filter((function(l){return n.notes.indexOf(l.id.toString())>-1}))),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),e(!1),lu(!1)}))).subscribe()}))},n.prototype.getResourceData=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"?light=true").pipe(Yr((function(e){n.resourceData=e,n.numericPackage.object=n.resourceData.subject,l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.setDefaultInfo=function(){var n=this;this.functions.empty(this.resourceData.senders)||this.resourceData.senders.forEach((function(l){n.setSender(l.id)}))},n.prototype.setSender=function(n){var l=this;this.http.get("../../rest/contacts/"+n).pipe(Yr((function(n){l.functions.empty(n.communicationMeans)||l.functions.empty(n.externalId.m2m)||l.recipients.push({label:l.contactService.formatContact(n),email:n.email,m2m:n.externalId.m2m,communicationMeans:n.communicationMeans})})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.getM2MSenders=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/messageExchangesInitialization").pipe(Yr((function(e){n.availableSenders=e.entities,n.currentSender=n.availableSenders[0],l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.getAttachElements=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/emailsInitialization").pipe(Yr((function(e){Object.keys(e).forEach((function(l){"resource"===l?(n.numericPackageAttachTool.document.list=[],n.functions.empty(e[l])||(n.numericPackageAttachTool.document.list=[e[l]])):n.numericPackageAttachTool[l].list=e[l].map((function(n){return Object(t.__assign)({},n,{original:void 0===n.original||n.original,title:void 0!==n.chrono?n.chrono+" - "+n.label+" ("+n.typeLabel+")":n.label+" ("+n.typeLabel+")"})}))})),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.initM2MList=function(){var n=this;this.recipientsCtrl.valueChanges.pipe(tc((function(n){return null!==n})),Sh(300),Yr((function(l){0===l.length&&(n.filteredEmails=lu([]))})),tc((function(n){return n.length>2})),Gh(),Sc((function(l){return n.http.get("../../rest/autocomplete/contacts/m2m",{params:{search:l}})})),Yr((function(l){l=l.map((function(l){return Object(t.__assign)({},l,{address:n.contactService.formatContact(l),label:n.contactService.formatContact(l)})})),n.filteredEmails=lu(l)})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.initEmailModelsList=function(){var n=this;this.http.get("../../rest/resources/"+this.data.resId+"/emailTemplates").pipe(Yr((function(l){n.availableEmailModels=l.templates})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.initSignEmailModelsList=function(){var n=this;this.http.get("../../rest/currentUser/emailSignatures").pipe(Yr((function(l){n.availableSignEmailModels=l.emailSignatures})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.resetAutocomplete=function(){this.filteredEmails=lu([])},n.prototype.onSubmit=function(){var n=this;this.loading=!0,this.numericPackageStatus="WAITING",null===this.data.emailId?""===this.numericPackage.object?this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.confirm,msg:this.lang.warnEmptySubject}}).afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.createEmail(!0)}))).subscribe():this.createEmail(!0):this.updateEmail(!0)},n.prototype.createEmail=function(n){var l=this;void 0===n&&(n=!0),this.http.post("../../rest/resources/"+this.data.resId+"/messageExchange",this.formatNumericPackage()).pipe(Yr((function(){l.notify.success(l.lang.numericPackageSent),l.closeModal("success")})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.deleteEmail=function(){var n=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.delete("../../rest/messageExchanges/"+n.data.emailId)})),Yr((function(){n.notify.success(n.lang.numericPackageDeleted),n.closeModal("success")})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.updateEmail=function(n){var l=this;void 0===n&&(n=!0),this.http.put("../../rest/emails/"+this.data.emailId,this.formatNumericPackage()).pipe(Yr((function(){l.notify.success(l.lang.numericPackageSent),n&&l.closeModal("success")})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.toggleAttach=function(n,l,e){null===this.numericPackage.mainExchangeDoc&&"notes"!==l?this.numericPackage.mainExchangeDoc=Object(t.__assign)({},n,{typeLabel:void 0!==n.typeLabel?n.typeLabel:this.lang.mainDocument,type:l}):this.numericPackageAttach.push(Object(t.__assign)({},n,{typeLabel:void 0!==n.typeLabel?n.typeLabel:this.lang.mainDocument,type:l}))},n.prototype.removeAttach=function(n){this.numericPackageAttach.splice(n,1)},n.prototype.formatNumericPackage=function(){var n={};if(null!==this.numericPackage.mainExchangeDoc){var l="res_letterbox";"attachments"===this.numericPackage.mainExchangeDoc.type?l="res_attachments":"notes"===this.numericPackage.mainExchangeDoc.type&&(l="notes"),n.joinFile=[parseInt(this.numericPackage.mainExchangeDoc.id)],n.mainExchangeDoc=l+"__"+this.numericPackage.mainExchangeDoc.id}return n.object=this.numericPackage.object,n.content=this.numericPackage.content,n.contacts=this.recipients.map((function(n){return n.id})),n.joinAttachment=this.numericPackageAttach.filter((function(n){return"attachments"===n.type})).map((function(n){return n.id})),n.notes=this.numericPackageAttach.filter((function(n){return"notes"===n.type})).map((function(n){return n.id})),n.senderEmail=this.currentSender.id,n},n.prototype.isSelectedAttach=function(n,l){return this.numericPackageAttach.filter((function(e){return e.id===n.id&&e.type===l})).length>0||null!==this.numericPackage.mainExchangeDoc&&this.numericPackage.mainExchangeDoc.id===n.id&&l===this.numericPackage.mainExchangeDoc.type},n.prototype.isSelectedAttachType=function(n){return this.numericPackageAttach.filter((function(l){return l.type===n})).length>0||null!==this.numericPackage.mainExchangeDoc&&n===this.numericPackage.mainExchangeDoc.type},n.prototype.canManageMail=function(){return null===this.data.emailId||"SENT"!==this.numericPackageStatus&&this.headerService.user.id===this.numericPackageCreatorId?(this.recipientsCtrl.enable(),!0):(this.recipientsCtrl.disable(),!1)},n.prototype.compareSenders=function(n,l){return!(n.label!==l.label&&(null!==n.label&&null!==l.label||null!==n.entityId&&null!==l.entityId)||n.entityId!==l.entityId||n.email!==l.email)},n.prototype.saveNumericPackageFile=function(){var n=this;this.http.get("../../rest/messageExchanges/"+this.data.emailId+"/archiveContent",{responseType:"blob"}).pipe(Yr((function(l){var e,t,i,a,o=document.createElement("a");o.href=window.URL.createObjectURL(l),t=(e=new Date).getDate(),i=e.getMonth()+1,a=e.getFullYear(),t<10&&(t="0"+t),i<10&&(i="0"+i),o.setAttribute("download",n.lang.summarySheetsAlt+"_"+(e=t+"-"+i+"-"+a)+".pdf"),document.body.appendChild(o),o.click()})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.canSendNumericPackage=function(){return this.privilegeService.getCurrentUserMenus().filter((function(n){return"manage_numeric_package"===n.id})).length>0},n}(),Qdn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialog=e,this.functions=t,this.privilegeService=i,this.lang=Kr,this.loading=!0,this.displayedColumns=["creationDate"],this.sentResources=[],this.resultsLength=0,this.currentFilter="",this.filterTypes=[],this.resId=null,this.reloadBadgeSentResource=new la}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){return this.loadList(),[2]}))}))},n.prototype.loadList=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return this.sentResources=[],this.loading=!0,[4,this.initAcknowledgementReceiptList()];case 1:return l.sent(),[4,this.initEmailList()];case 2:return l.sent(),[4,this.initMessageExchange()];case 3:return l.sent(),[4,this.initShippings()];case 4:return l.sent(),this.reloadBadgeSentResource.emit(""+this.sentResources.length),this.initFilter(),setTimeout((function(){n.dataSource=new mR(n.sentResources),n.dataSource.sort=n.sort}),0),this.loading=!1,[2]}}))}))},n.prototype.initAcknowledgementReceiptList=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.resId+"/acknowledgementReceipts?type=ar").pipe(q((function(l){return l.map((function(l){var e,t;return e=n.functions.empty(l.contact.email)?n.lang.withoutEmail:l.contact.email,t=n.functions.empty(l.contact.firstname)&&n.functions.empty(l.contact.lastname)?n.functions.empty(l.contact.company)?n.lang.contactDeleted:l.contact.company:l.contact.firstname+" "+l.contact.lastname,{id:l.id,sender:!1,recipients:"html"===l.format?e:t,creationDate:l.creationDate,sendDate:l.sendDate,type:"acknowledgementReceipt",typeColor:"#7d5ba6",desc:"html"===l.format?n.lang.ARelectronic:n.lang.ARPaper,status:"html"===l.format&&null===l.sendDate?"ERROR":"SENT",hasAttach:!1,hasNote:!1,hasMainDoc:!1,canManage:!0}}))})),Yr((function(e){n.sentResources=n.sentResources.concat(e),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.initEmailList=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.resId+"/emails?type=email").pipe(q((function(l){return l.emails=l.emails.map((function(l){return{id:l.id,sender:l.sender.email,recipients:l.recipients,creationDate:l.creation_date,sendDate:l.send_date,type:"email",typeColor:"#5bc0de",desc:n.functions.empty(l.object)?"<i>"+n.lang.emptySubject+"<i>":l.object,status:l.status,hasAttach:!n.functions.empty(l.document.attachments),hasNote:!n.functions.empty(l.document.notes),hasMainDoc:l.document.isLinked,canManage:!0}})),l.emails})),Yr((function(e){n.sentResources=n.sentResources.concat(e),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.initMessageExchange=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.resId+"/messageExchanges").pipe(q((function(l){return l.messageExchanges=l.messageExchanges.map((function(l){return{id:l.messageId,sender:l.sender,recipients:l.recipient,creationDate:l.creationDate,sendDate:l.receptionDate,operationDate:l.operationDate,type:"m2m_ARCHIVETRANSFER",typeColor:"#F99830",desc:n.lang.m2m_ARCHIVETRANSFER,status:l.status.toUpperCase(),hasAttach:!1,hasNote:!1,hasMainDoc:!1,canManage:!0}})),l.messageExchanges})),Yr((function(e){n.sentResources=n.sentResources.concat(e),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.initShippings=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.resId+"/shippings").pipe(q((function(l){return l.map((function(l){return{id:l.id,sender:l.userLabel,recipients:l.recipients.map((function(n){return n.contactLabel})),creationDate:l.creationDate,sendDate:l.creationDate,type:"shipping",typeColor:"#9440D5",desc:n.lang.shipping,status:"SENT",hasAttach:"attachment"===l.creationDate,hasNote:!1,hasMainDoc:"resource"===l.creationDate,canManage:!1}}))})),Yr((function(e){n.sentResources=n.sentResources.concat(e),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.initFilter=function(){var n=this;this.sentResources.forEach((function(l){0===n.filterTypes.filter((function(n){return n.id===l.type})).length&&n.filterTypes.push({id:l.type,label:n.lang[l.type]})}))},n.prototype.filterType=function(n){this.currentFilter=n.value,this.dataSource.filter=n.value},n.prototype.open=function(n){void 0===n&&(n={id:null,type:null}),"m2m_ARCHIVETRANSFER"===n.type?this.openPromptNumericPackage(n):this.openPromptMail(n)},n.prototype.openPromptMail=function(n){var l=this;void 0===n&&(n={id:null,type:null});var e=this.lang.sendElement;null!==n.id&&(e=this.lang[n.type]),(n.canManage||null===n.id)&&this.dialog.open(Jdn,{panelClass:"maarch-modal",width:"60vw",disableClose:!0,data:{title:e,resId:this.resId,emailId:n.id,emailType:n.type}}).afterClosed().pipe(tc((function(n){return"success"===n.state||"success"===n})),Yr((function(){l.refreshEmailList(),setTimeout((function(){l.refreshWaitingElements()}),5e3)})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.openPromptNumericPackage=function(n){var l=this;void 0===n&&(n={id:null,type:null});var e=this.lang.sendElement;null!==n.id&&(e=this.lang[n.type]),(n.canManage||null===n.id)&&this.dialog.open(Zdn,{panelClass:"maarch-modal",width:"60vw",disableClose:!0,data:{title:e,resId:this.resId,emailId:n.id}}).afterClosed().pipe(tc((function(n){return"success"===n.state||"success"===n})),Yr((function(){l.loadList()})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.refreshWaitingElements=function(){var n=this;this.sentResources.forEach((function(l){"WAITING"==l.status&&"email"==l.type&&n.http.get("../../rest/emails/"+l.id).pipe(Yr((function(e){"SENT"!=e.status&&"ERROR"!=e.status||("SENT"==e.status?n.notify.success(n.lang.emailSent):n.notify.error(n.lang.emailCannotSent),n.sentResources.forEach((function(t,i){t.id==l.id&&"email"==t.type&&(n.sentResources[i].status=e.status,n.sentResources[i].sendDate=e.sendDate)})))}))).subscribe()})),setTimeout((function(){n.dataSource=new mR(n.sentResources),n.dataSource.sort=n.sort}),0)},n.prototype.refreshEmailList=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.resId+"/emails?type=email").pipe(q((function(l){return l.emails=l.emails.map((function(l){return{id:l.id,sender:l.sender.email,recipients:l.recipients,creationDate:l.creation_date,sendDate:l.send_date,type:"email",typeColor:"#5bc0de",desc:n.functions.empty(l.object)?"<i>"+n.lang.emptySubject+"<i>":l.object,status:l.status,hasAttach:!n.functions.empty(l.document.attachments),hasNote:!n.functions.empty(l.document.notes),hasMainDoc:l.document.isLinked,canManage:!0}})),l.emails})),Yr((function(e){var t=n.sentResources.filter((function(n){return"email"!==n.type}));n.sentResources=t.concat(e),setTimeout((function(){n.dataSource=new mR(n.sentResources),n.dataSource.sort=n.sort}),0),n.initFilter(),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),lu(!1)}))).subscribe()}))},n.prototype.canSendNumericPackage=function(){return this.privilegeService.getCurrentUserMenus().filter((function(n){return"manage_numeric_package"===n.id})).length>0},n}(),Xdn=yt({encapsulation:0,styles:[[".dateType[_ngcontent-%COMP%]{width:100px;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;font-size:10px!important;-webkit-box-pack:center;justify-content:center;text-align:center}.dateType[_ngcontent-%COMP%] .type[_ngcontent-%COMP%] .badge[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:10px!important;color:#fff;font-weight:400;width:100px;border-radius:.25em}.dateType[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{opacity:.5}.desc[_ngcontent-%COMP%]{font-size:13px;-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.error[_ngcontent-%COMP%]{color:red}.success[_ngcontent-%COMP%]{color:green}.contact[_ngcontent-%COMP%]{font-size:10px;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;display:-webkit-box;display:flex}.filterTypes[_ngcontent-%COMP%]{overflow:auto;overflow-y:hidden;width:auto;max-width:100%;margin-left:10px}.filterTypes[_ngcontent-%COMP%] .mat-button-toggle-checked{background:#f99830;color:#fff;font-weight:700;height:25px;font-size:10px}.filterTypes[_ngcontent-%COMP%] .mat-button-toggle-checked .mat-button-toggle-label-content{line-height:0}.filterTypes[_ngcontent-%COMP%] .mat-button-toggle-checked .mat-button-toggle-button{height:100%}.filterTypes[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not( .mat-button-toggle-checked) .mat-button-toggle-button{color:#135f7f;font-weight:700;height:25px;font-size:10px}.filterTypes[_ngcontent-%COMP%] [_ngcontent-%COMP%]:not( .mat-button-toggle-checked) .mat-button-toggle-button .mat-button-toggle-label-content{line-height:0}.subinfo[_ngcontent-%COMP%]{padding:5px;display:-webkit-box;display:flex;font-size:10px;width:100%}.canManage[_ngcontent-%COMP%]{cursor:pointer;-webkit-transition:.5s;transition:all .5s}.canManage[_ngcontent-%COMP%]:hover{background:rgba(19,95,127,.1);-webkit-transition:.5s;transition:all .5s}.attach[_ngcontent-%COMP%]{font-size:13px;display:-webkit-box;display:flex;padding:5px;color:#135f7f}.attach[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;cursor:help}.addSentResource[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;z-index:2;bottom:10px;margin-left:10px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}"]],data:{}});function npn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function lpn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-button-toggle",[["class","mat-button-toggle"]],[[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1).focus()&&t),t}),MR,AR)),Di(1,245760,[[2,4]],0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{value:[0,"value"],checked:[1,"checked"]},null),(n()(),Lo(2,0,[""," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id,l.component.currentFilter===l.context.$implicit.id)}),(function(n,l){n(l,0,0,!bi(l,1).buttonToggleGroup,bi(l,1).checked,bi(l,1).disabled,"standard"===bi(l,1).appearance,-1,bi(l,1).id,null),n(l,2,0,l.context.$implicit.label)}))}function epn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-button-toggle-group",[["class","filterTypes mat-button-toggle-group"],["role","group"]],[[1,"aria-disabled",0],[2,"mat-button-toggle-vertical",null],[2,"mat-button-toggle-group-appearance-standard",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.filterType(e)&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[kR]),Ei(6144,null,wR,null,[kR]),Di(3,1130496,null,1,kR,[Nl,[2,yR]],null,{change:"change"}),ko(603979776,2,{_buttonToggles:1}),(n()(),_o(5,0,null,null,2,"mat-button-toggle",[["class","mat-button-toggle"]],[[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,6).focus()&&t),t}),MR,AR)),Di(6,245760,[[2,4]],0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{value:[0,"value"],checked:[1,"checked"]},null),(n()(),Lo(7,0,["",""])),(n()(),vo(16777216,null,null,2,null,lpn)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(10,2)],(function(n,l){var e=l.component;n(l,3,0),n(l,6,0,"",""===e.currentFilter);var t=bt(l,9,0,n(l,10,0,bi(l.parent.parent,0),e.filterTypes,"label"));n(l,9,0,t)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,3).disabled,bi(l,3).vertical,"standard"===bi(l,3).appearance),n(l,5,0,!bi(l,6).buttonToggleGroup,bi(l,6).checked,bi(l,6).disabled,"standard"===bi(l,6).appearance,-1,bi(l,6).id,null),n(l,7,0,e.lang.all)}))}function tpn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"span",[["style","flex:1"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,0,0,bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.creationDate))),n(l,2,0,"m2m_ARCHIVETRANSFER"==l.parent.context.$implicit.type?e.lang.sent:e.lang.createdAlt),n(l,4,0,bt(l,4,0,bi(l,5).transform(l.parent.context.$implicit.creationDate,"full")))}))}function ipn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"span",[["style","flex:1;color:green"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,0,0,bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.sendDate))),n(l,2,0,"m2m_ARCHIVETRANSFER"==l.parent.context.$implicit.type?"Reçu":e.lang.sent),n(l,4,0,bt(l,4,0,bi(l,5).transform(l.parent.context.$implicit.sendDate,"full")))}))}function apn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","flex:1;color:orange"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.draft)}))}function opn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","flex:1;color:orange"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.waitingReception)}))}function rpn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","flex:1;color:orange;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.emailSendInProgress)}))}function upn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","flex:1;color:red;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.notSent)}))}function spn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","flex:1;color:orange"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.manualSendingAR)}))}function cpn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"span",[["style","flex:1;color:green"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),Fi(131072,xG,[Nl,La])],null,(function(n,l){var e=l.component;n(l,0,0,bt(l,0,0,bi(l,1).transform(l.parent.context.$implicit.operationDate))),n(l,2,0,e.lang.delivery),n(l,4,0,bt(l,4,0,bi(l,5).transform(l.parent.context.$implicit.operationDate,"full")))}))}function dpn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-file"],["title","Document attaché"]],null,null,null,null,null))],null,null)}function ppn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-paperclip"],["title","Pièce(s) jointe(s) attachée(s)"]],null,null,null,null,null))],null,null)}function mpn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-pen-square"],["title","Note(s) attachée(s)"]],null,null,null,null,null))],null,null)}function fpn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","white-space: pre;overflow: hidden;text-overflow: ellipsis;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(1,null,[" "," : "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,l.parent.context.$implicit.sender),n(l,1,0,e.lang.senderShort,l.parent.context.$implicit.sender)}))}function hpn(n){return jo(0,[(n()(),_o(0,0,null,null,36,"mat-cell",[["class","dataLine mat-cell"],["role","gridcell"],["style","flex: 1;padding: 0px;flex-direction: column;"]],[[2,"canManage",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.open(n.context.$implicit)&&t),t}),null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,16,"div",[["class","subinfo"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tpn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ipn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,apn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,opn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rpn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,upn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,spn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cpn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(19,0,null,null,17,"div",[["style","display: grid;grid-template-columns: 100px 1fr 170px;width: 100%;grid-gap: 10px;align-items: center;padding:10px;"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,10,"div",[["class","dateType"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,9,"span",[["class","type"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,1,"span",[["class","badge"]],[[4,"background",null],[8,"title",0]],null,null,null,null)),(n()(),Lo(23,null,["",""])),(n()(),_o(24,0,null,null,6,"div",[["class","attach"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,dpn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ppn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mpn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(31,0,null,null,0,"div",[["class","desc"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(32,0,null,null,4,"div",[["class","contact"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,fpn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,null,1,"span",[["style","white-space: pre;overflow: hidden;text-overflow: ellipsis;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(36,null,[" "," : "," "]))],(function(n,l){var e=l.component;n(l,4,0,null===l.context.$implicit.sendDate&&"SENT"===l.context.$implicit.status&&"m2m_ARCHIVETRANSFER"==l.context.$implicit.type||"m2m_ARCHIVETRANSFER"!=l.context.$implicit.type),n(l,6,0,null!==l.context.$implicit.sendDate),n(l,8,0,"DRAFT"===l.context.$implicit.status),n(l,10,0,null===l.context.$implicit.sendDate&&"SENT"===l.context.$implicit.status&&"m2m_ARCHIVETRANSFER"!==l.context.$implicit.type),n(l,12,0,"WAITING"===l.context.$implicit.status),n(l,14,0,"ERROR"===l.context.$implicit.status),n(l,16,0,"ERROR"!==l.context.$implicit.status&&"acknowledgementReceipt"==l.context.$implicit.type&&e.functions.empty(l.context.$implicit.sendDate)),n(l,18,0,!e.functions.empty(l.context.$implicit.operationDate)),n(l,26,0,l.context.$implicit.hasMainDoc),n(l,28,0,l.context.$implicit.hasAttach),n(l,30,0,l.context.$implicit.hasNote),n(l,34,0,l.context.$implicit.sender)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit.canManage),n(l,22,0,l.context.$implicit.typeColor,e.lang[l.context.$implicit.type]),n(l,23,0,e.lang[l.context.$implicit.type]),n(l,31,0,l.context.$implicit.desc),n(l,35,0,l.context.$implicit.recipients),n(l,36,0,e.lang.recipientShort,l.context.$implicit.recipients)}))}function gpn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function bpn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","addSentResource"],["color","primary"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openPromptMail()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"],["style","height: auto;width: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.sendElement,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function vpn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","addSentResource"],["color","primary"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openPromptNumericPackage()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,3,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","height: auto;width: auto;font-size: 20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(4,0,null,0,0,"i",[["class","fas fa-envelope-open-text"],["style","left: -5px;position: relative;"]],null,null,null,null,null)),(n()(),_o(5,0,null,0,0,"i",[["class","fas fa-wifi"],["style","position: absolute;font-size: 10px;transform: rotate(35deg);margin-left: -3px;margin-top: -3px;"]],null,null,null,null,null))],(function(n,l){n(l,1,0,"primary"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.sendNumericPackage,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function _pn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","row"],["style","margin: 0px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","col-md-12"],["style","padding-bottom: 10px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,epn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,20,"mat-table",[["class","mat-table"],["matSort",""],["matSortActive","creationDate"],["matSortDirection","desc"]],null,null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Di(6,2342912,[["table",4]],4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,3,{_contentColumnDefs:1}),ko(603979776,4,{_contentRowDefs:1}),ko(603979776,5,{_contentHeaderRowDefs:1}),ko(603979776,6,{_contentFooterRowDefs:1}),Di(11,737280,[[1,4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"]},null),(n()(),_o(12,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(14,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,7,{cell:0}),ko(603979776,8,{headerCell:0}),ko(603979776,9,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,hpn)),Di(20,16384,null,0,eR,[Xe],null,null),Ei(2048,[[7,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,gpn)),Di(23,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[4,4]],UL,null,[uR]),(n()(),vo(16777216,null,null,1,null,bpn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,vpn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,3,0,e.sentResources.length>0),n(l,6,0,e.dataSource),n(l,11,0,"creationDate","desc"),n(l,14,0,"creationDate"),n(l,23,0,e.displayedColumns),n(l,26,0,e.privilegeService.hasCurrentUserPrivilege("sendmail")),n(l,28,0,e.canSendNumericPackage())}),null)}function ypn(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(671088640,1,{sort:0}),(n()(),vo(16777216,null,null,1,null,npn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseLoading",2]],null,0,null,_pn))],(function(n,l){n(l,3,0,l.component.loading,bi(l,4))}),null)}var wpn=function(){function n(n,l,e,t){this.http=n,this.data=l,this.dialogRef=e,this.notify=t,this.lang=Kr}return n.prototype.ngOnInit=function(){},n.prototype.onSubmit=function(){var n=this;this.http.post("../../rest/indexingModels",this.data.indexingModel).pipe(Yr((function(l){n.data.indexingModel.id=l.id,n.notify.success(n.lang.indexingModelAdded),n.dialogRef.close(n.data)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n}(),xpn=function(){function n(n,l,e,t,i){this.http=n,this.headerService=l,this.notify=e,this.sortPipe=t,this.dialog=i,this.lang=Kr,this.loading=!0,this.defaultIndexingModelId=null,this.indexingModels=[],this.adminMode=!1,this.afterListModelsLoaded=new la,this.afterSelectedListModel=new la,this.currentIndexingModel={}}return n.prototype.ngOnInit=function(){this.getIndexingModelList()},n.prototype.getIndexingModelList=function(){var n=this;this.http.get("../../rest/indexingModels").pipe(Object(JU.tap)((function(l){n.indexingModels=l.indexingModels,n.indexingModels.length>0&&(n.currentIndexingModel=null===n.defaultIndexingModelId?n.indexingModels.filter((function(n){return!0===n.default}))[0]:n.indexingModels.filter((function(l){return l.id===n.defaultIndexingModelId}))[0],void 0===n.currentIndexingModel&&(n.currentIndexingModel=n.indexingModels[0],n.notify.error(n.lang.noDefaultIndexingModel)),n.loadIndexingModelsList())})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.loadIndexingModelsList=function(){var n=this,l=this.sortPipe.transform(this.indexingModels.filter((function(n){return null===n.master})),"label"),e=this.sortPipe.transform(this.indexingModels.filter((function(n){return null!==n.master})),"label");this.indexingModels=[],l.forEach((function(l){n.indexingModels.push(l),e.forEach((function(e){e.master===l.id&&n.indexingModels.push(e)}))})),this.afterListModelsLoaded.emit(this.currentIndexingModel)},n.prototype.resetIndexingModel=function(){this.currentIndexingModel=this.indexingModels.filter((function(n){return!0===n.default}))[0],this.afterSelectedListModel.emit(this.currentIndexingModel)},n.prototype.selectIndexingModel=function(n){this.currentIndexingModel=n,this.afterSelectedListModel.emit(n)},n.prototype.getCurrentIndexingModel=function(){return this.currentIndexingModel},n.prototype.getIndexingModels=function(){return this.indexingModels},n.prototype.savePrivateIndexingModel=function(){var n=this,l=JSON.parse(JSON.stringify(this.indexingForm.getDatas()));l.forEach((function(n,e){delete l[e].event,delete l[e].label,delete l[e].system,delete l[e].type,delete l[e].values}));var e={category:this.indexingForm.getCategory(),label:"",owner:this.headerService.user.id,private:!1,fields:l,master:null!==this.currentIndexingModel.master?this.currentIndexingModel.master:this.currentIndexingModel.id},t=this.indexingModels.filter((function(n){return n.id===e.master}))[0];this.dialog.open(wpn,{panelClass:"maarch-modal",autoFocus:!0,disableClose:!0,data:{indexingModel:e,masterIndexingModel:t}}).afterClosed().pipe(tc((function(n){return void 0!==n})),Object(JU.tap)((function(l){n.indexingModels.push(l.indexingModel),n.currentIndexingModel=n.indexingModels.filter((function(n){return n.id===l.indexingModel.id}))[0],n.loadIndexingModelsList()})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.deletePrivateIndexingModel=function(n,l){var e=this;this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}).afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return e.http.delete("../../rest/indexingModels/"+n)})),Object(JU.tap)((function(){e.indexingModels.splice(l,1),e.notify.success(e.lang.indexingModelDeleted)})),Qr((function(n){return e.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe()},n}(),Cpn=yt({encapsulation:0,styles:[[".listModels[_ngcontent-%COMP%]{background:#f9f9f9;display:-webkit-box;display:flex;padding:10px 40px}@media (max-width:768px){.listModels[_ngcontent-%COMP%]{padding-bottom:20px;padding-left:0;padding-right:0}}.listModels[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;height:auto}.listModels-button[_ngcontent-%COMP%]{margin-right:20px;width:450px!important} .listModels-menu{min-width:450px!important} .listModels-menu .mat-menu-item:hover:hover .listModels-menu-badge{background:#fff!important;color:#135f7f!important} .listModels-menu .mat-menu-item:hover:hover .listModels-menu-delete .mat-icon{color:#fff!important} .listModels-menu-badge{font-size:70%;background:#135f7f;padding:2px 5px;border-radius:20px;color:#fff;font-weight:700} .listModels-menu-delete .mat-icon{margin-right:0} .listModels-menu-selected{color:#fff!important;background:#135f7f} .listModels-menu-selected .listModels-menu-badge{background:#fff!important;color:#135f7f!important}.smallInput[_ngcontent-%COMP%]{padding:10px}.smallInput[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.menuTitle[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-left:20px;-webkit-box-align:center;align-items:center;color:#135f7f;font-weight:700}.private[_ngcontent-%COMP%]{padding-left:50px}"],tN],data:{}});function kpn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[" Modèle utilisé : "," "," "]))],null,(function(n,l){var e=l.component;n(l,1,0,e.currentIndexingModel.label,e.currentIndexingModel.default?"("+e.lang.default+")":"")}))}function Spn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "," "])),Fo(2,3)],null,(function(n,l){var e=l.component,t=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent,1),l.parent.context.$implicit.label,45,"..."));n(l,1,0,t,l.parent.context.$implicit.default?"("+e.lang.default+")":"")}))}function Ipn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),Fo(2,3),(n()(),_o(3,0,null,null,1,"span",[["class","listModels-menu-badge"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component,t=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent,1),l.parent.context.$implicit.label,45,"..."));n(l,1,0,t),n(l,4,0,e.lang.public)}))}function Apn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","listModels-menu-delete"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.deletePrivateIndexingModel(n.parent.context.$implicit.id,n.parent.context.index)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,3,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.delete,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Mpn(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"button",[["class","mat-menu-item"],["mat-menu-item",""],["style","display: flex;align-items: center;"]],[[8,"title",0],[2,"listModels-menu-selected",null],[2,"private",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,2)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.selectIndexingModel(n.context.$implicit)&&t),t}),lL,nL)),Di(2,180224,[[1,4],[2,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),vo(16777216,null,0,1,null,Spn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Ipn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Apn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,null===l.context.$implicit.master),n(l,6,0,null!==l.context.$implicit.master),n(l,8,0,l.context.$implicit.id!==e.currentIndexingModel.id&&null!==l.context.$implicit.master)}),(function(n,l){n(l,1,0,l.context.$implicit.label,l.context.$implicit.id===l.component.currentIndexingModel.id,null!==l.context.$implicit.master,bi(l,2).role,bi(l,2)._highlighted,bi(l,2)._triggersSubmenu,bi(l,2)._getTabIndex(),bi(l,2).disabled.toString(),bi(l,2).disabled||null)}))}function Ppn(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"button",[["aria-haspopup","true"],["class","button-form-primary listModels-button mat-menu-trigger"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fab fa-wpforms mat-icon notranslate"],["mattPrefix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(5,0,null,0,1,"span",[["class","menu-label"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(6,null,[" "," "," "])),(n()(),_o(7,0,null,0,0,"i",[["class","fa fa-chevron-down menu-icon"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,26,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(11,1294336,[["IndexingModelsMenu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,1,{_allItems:1}),ko(603979776,2,{items:1}),ko(603979776,3,{lazyContent:0}),(n()(),_o(15,0,null,0,16,"div",[["class","menuTitle"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),_o(18,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"],["floatLabel","never"],["style","width: 220px !important;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),kT,pT)),Di(19,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(29,0,[["listFilter",1]],1,2,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["id","searchTerm"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keydown"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,30)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,30)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,30)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keydown"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(30,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),vo(16777216,null,0,2,null,Mpn)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(34,3),(n()(),_o(35,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""],["type","button"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.savePrivateIndexingModel()&&t),t}),PC,MC)),Di(36,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(37,0,null,0,1,"mat-icon",[["class","far fa-copy mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(38,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,2,0,bi(l,11)),n(l,4,0),n(l,11,0,"menuForm listModels-menu"),n(l,19,0,"outline","never"),n(l,30,0,"searchTerm",Wt(1,"",e.lang.filterBy,""));var t=bt(l,33,0,n(l,34,0,bi(l.parent,0),e.indexingModels,bi(l,29).value,"label"));n(l,33,0,t),n(l,36,0,"primary"),n(l,38,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color),n(l,5,0,e.currentIndexingModel.label),n(l,6,0,e.currentIndexingModel.label,e.currentIndexingModel.default?"("+e.lang.default+")":""),n(l,17,0,e.lang.indexingModel),n(l,18,1,["standard"==bi(l,19).appearance,"fill"==bi(l,19).appearance,"outline"==bi(l,19).appearance,"legacy"==bi(l,19).appearance,bi(l,19)._control.errorState,bi(l,19)._canLabelFloat,bi(l,19)._shouldLabelFloat(),bi(l,19)._hasFloatingLabel(),bi(l,19)._hideControlPlaceholder(),bi(l,19)._control.disabled,bi(l,19)._control.autofilled,bi(l,19)._control.focused,"accent"==bi(l,19).color,"warn"==bi(l,19).color,bi(l,19)._shouldForward("untouched"),bi(l,19)._shouldForward("touched"),bi(l,19)._shouldForward("pristine"),bi(l,19)._shouldForward("dirty"),bi(l,19)._shouldForward("valid"),bi(l,19)._shouldForward("invalid"),bi(l,19)._shouldForward("pending"),!bi(l,19)._animationsEnabled]),n(l,29,0,bi(l,30)._isServer,bi(l,30).id,bi(l,30).placeholder,bi(l,30).disabled,bi(l,30).required,bi(l,30).readonly&&!bi(l,30)._isNativeSelect||null,bi(l,30)._ariaDescribedby||null,bi(l,30).errorState,bi(l,30).required.toString()),n(l,35,0,e.lang.createPrivateIndexingModel,bi(l,36).disabled||null,"NoopAnimations"===bi(l,36)._animationMode),n(l,37,0,bi(l,38).inline,"primary"!==bi(l,38).color&&"accent"!==bi(l,38).color&&"warn"!==bi(l,38).color)}))}function Dpn(n){return jo(0,[Fi(0,iB,[QS]),Fi(0,YS,[]),(n()(),_o(2,0,null,null,3,"div",[["class","listModels"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kpn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["menuModel",2]],null,0,null,Ppn))],(function(n,l){n(l,4,0,!l.component.adminMode,bi(l,5))}),null)}var Fpn,Epn,Opn=function(){function n(){this.onFileDropped=new la,this.disabled=!1,this.background="none",this.opacity="1"}return n.prototype.onDragOver=function(n){this.disabled||(n.preventDefault(),n.stopPropagation(),this.background="#9ecbec",this.opacity="0.8")},n.prototype.onDragLeave=function(n){this.disabled||(n.preventDefault(),n.stopPropagation(),this.background="none",this.opacity="1")},n.prototype.ondrop=function(n){if(!this.disabled){n.preventDefault(),n.stopPropagation(),this.background="none",this.opacity="1";var l=n.dataTransfer.files;l.length>0&&this.onFileDropped.emit(l)}},n}(),Tpn=function(n){var l,e=new n.EventBus(!0);return(l=e).on("documentload",(function(){var n=document.createEvent("CustomEvent");n.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(n)})),l.on("pagerendered",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("pagerendered",!0,!0,{pageNumber:n.pageNumber,cssTransform:n.cssTransform}),n.source.div.dispatchEvent(l)})),l.on("textlayerrendered",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:n.pageNumber}),n.source.textLayerDiv.dispatchEvent(l)})),l.on("pagechanging",(function(n){var l=document.createEvent("UIEvents");l.initUIEvent("pagechanging",!0,!0,window,0),l.pageNumber=n.pageNumber,n.source.container.dispatchEvent(l)})),l.on("pagesinit",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("pagesinit",!0,!0,null),n.source.container.dispatchEvent(l)})),l.on("pagesloaded",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("pagesloaded",!0,!0,{pagesCount:n.pagesCount}),n.source.container.dispatchEvent(l)})),l.on("scalechange",(function(n){var l=document.createEvent("UIEvents");l.initUIEvent("scalechange",!0,!0,window,0),l.scale=n.scale,l.presetValue=n.presetValue,n.source.container.dispatchEvent(l)})),l.on("updateviewarea",(function(n){var l=document.createEvent("UIEvents");l.initUIEvent("updateviewarea",!0,!0,window,0),l.location=n.location,n.source.container.dispatchEvent(l)})),l.on("find",(function(n){if(n.source!==window){var l=document.createEvent("CustomEvent");l.initCustomEvent("find"+n.type,!0,!0,{query:n.query,phraseSearch:n.phraseSearch,caseSensitive:n.caseSensitive,highlightAll:n.highlightAll,findPrevious:n.findPrevious}),window.dispatchEvent(l)}})),l.on("attachmentsloaded",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:n.attachmentsCount}),n.source.container.dispatchEvent(l)})),l.on("sidebarviewchanged",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("sidebarviewchanged",!0,!0,{view:n.view}),n.source.outerContainer.dispatchEvent(l)})),l.on("pagemode",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("pagemode",!0,!0,{mode:n.mode}),n.source.pdfViewer.container.dispatchEvent(l)})),l.on("namedaction",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("namedaction",!0,!0,{action:n.action}),n.source.pdfViewer.container.dispatchEvent(l)})),l.on("presentationmodechanged",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("presentationmodechanged",!0,!0,{active:n.active,switchInProgress:n.switchInProgress}),window.dispatchEvent(l)})),l.on("outlineloaded",(function(n){var l=document.createEvent("CustomEvent");l.initCustomEvent("outlineloaded",!0,!0,{outlineCount:n.outlineCount}),n.source.container.dispatchEvent(l)})),e};function Lpn(){return"undefined"==typeof window}Lpn()||(Fpn=e("lRFz"),Epn=e("louq"),Fpn.verbosity=Fpn.VerbosityLevel.ERRORS);var Rpn=function(n){return n[n.DISABLED=0]="DISABLED",n[n.ENABLED=1]="ENABLED",n[n.ENHANCED=2]="ENHANCED",n}({}),Npn=function(){function n(n){var l;this.element=n,this.isVisible=!1,this._cMapsUrl=void 0!==Fpn?"https://unpkg.com/pdfjs-dist@"+Fpn.version+"/cmaps/":null,this._renderText=!0,this._renderTextMode=Rpn.ENABLED,this._stickToPage=!1,this._originalSize=!0,this._page=1,this._zoom=1,this._rotation=0,this._showAll=!0,this._canAutoResize=!0,this._fitToPage=!1,this._externalLinkTarget="blank",this._showBorders=!1,this.isInitialized=!1,this.afterLoadComplete=new la,this.pageRendered=new la,this.textLayerRendered=new la,this.onError=new la,this.onProgress=new la,this.pageChange=new la(!0),Lpn()||(l=window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:"https://cdnjs.cloudflare.com/ajax/libs/pdf.js/"+Fpn.version+"/pdf.worker.min.js",Fpn.GlobalWorkerOptions.workerSrc=l)}var l;return l=n,Object.defineProperty(n.prototype,"cMapsUrl",{set:function(n){this._cMapsUrl=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"page",{set:function(n){n=parseInt(n,10)||1,this._pdf&&(n=this.getValidPageNumber(n)),this._page=n,this.pageChange.emit(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderText",{set:function(n){this._renderText=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"renderTextMode",{set:function(n){this._renderTextMode=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"originalSize",{set:function(n){this._originalSize=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"showAll",{set:function(n){this._showAll=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"stickToPage",{set:function(n){this._stickToPage=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"zoom",{get:function(){return this._zoom},set:function(n){n<=0||(this._zoom=n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"rotation",{set:function(n){"number"==typeof n&&n%90==0?this._rotation=n:console.warn("Invalid pages rotation angle.")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"externalLinkTarget",{set:function(n){this._externalLinkTarget=n},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"autoresize",{set:function(n){this._canAutoResize=Boolean(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fitToPage",{set:function(n){this._fitToPage=Boolean(n)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"showBorders",{set:function(n){this._showBorders=Boolean(n)},enumerable:!0,configurable:!0}),n.getLinkTarget=function(n){switch(n){case"blank":return Fpn.LinkTarget.BLANK;case"none":return Fpn.LinkTarget.NONE;case"self":return Fpn.LinkTarget.SELF;case"parent":return Fpn.LinkTarget.PARENT;case"top":return Fpn.LinkTarget.TOP}return null},n.setExternalLinkTarget=function(n){var e=l.getLinkTarget(n);null!==e&&(Fpn.externalLinkTarget=e)},n.prototype.ngAfterViewChecked=function(){var n=this;if(!this.isInitialized){var l=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=l?!1===this.isVisible&&null!=l&&(this.isVisible=!0,setTimeout((function(){n.ngOnInit(),n.ngOnChanges({src:n.src})}))):this.isVisible=!1}},n.prototype.ngOnInit=function(){!Lpn()&&this.isVisible&&(this.isInitialized=!0,this.setupMultiPageViewer(),this.setupSinglePageViewer())},n.prototype.ngOnDestroy=function(){this._pdf&&this._pdf.destroy()},n.prototype.onPageResize=function(){var n=this;this._canAutoResize&&this._pdf&&(this.resizeTimeout&&clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout((function(){n.updateSize()}),100))},Object.defineProperty(n.prototype,"pdfLinkService",{get:function(){return this._showAll?this.pdfMultiPageLinkService:this.pdfSinglePageLinkService},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pdfViewer",{get:function(){return this.getCurrentViewer()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"pdfFindController",{get:function(){return this._showAll?this.pdfMultiPageFindController:this.pdfSinglePageFindController},enumerable:!0,configurable:!0}),n.prototype.ngOnChanges=function(n){!Lpn()&&this.isVisible&&("src"in n?this.loadPDF():this._pdf&&("renderText"in n?(this.getCurrentViewer().textLayerMode=this._renderText?this._renderTextMode:Rpn.DISABLED,this.resetPdfDocument()):"showAll"in n&&this.resetPdfDocument(),"page"in n&&this.getCurrentViewer().scrollPageIntoView({pageNumber:this._page}),this.update()))},n.prototype.updateSize=function(){var n=this,l=this.getCurrentViewer();this._pdf.getPage(l.currentPageNumber).then((function(e){var t=e.getViewport({scale:n._zoom,rotation:n._rotation}),i=n._zoom,a=!0;(!n._originalSize||n._fitToPage&&t.width>n.element.nativeElement.offsetWidth)&&(i=n.getScale(e.getViewport({scale:1,rotation:n._rotation}).width),a=!n._stickToPage),l._setScale(i,a)}))},n.prototype.setupMultiPageViewer=function(){var n=this;Fpn.disableTextLayer=!this._renderText,l.setExternalLinkTarget(this._externalLinkTarget);var e=Tpn(Epn);e.on("pagerendered",(function(l){n.pageRendered.emit(l)})),e.on("pagechanging",(function(l){l.pageNumber!=n._page&&(n.page=l.pageNumber)})),e.on("textlayerrendered",(function(l){n.textLayerRendered.emit(l)})),this.pdfMultiPageLinkService=new Epn.PDFLinkService({eventBus:e}),this.pdfMultiPageFindController=new Epn.PDFFindController({linkService:this.pdfMultiPageLinkService,eventBus:e});var t={eventBus:e,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfMultiPageLinkService,textLayerMode:this._renderText?this._renderTextMode:Rpn.DISABLED,findController:this.pdfMultiPageFindController};this.pdfMultiPageViewer=new Epn.PDFViewer(t),this.pdfMultiPageLinkService.setViewer(this.pdfMultiPageViewer),this.pdfMultiPageFindController.setDocument(this._pdf)},n.prototype.setupSinglePageViewer=function(){var n=this;Fpn.disableTextLayer=!this._renderText,l.setExternalLinkTarget(this._externalLinkTarget);var e=Tpn(Epn);e.on("pagechanging",(function(l){l.pageNumber!=n._page&&(n.page=l.pageNumber)})),e.on("pagerendered",(function(l){n.pageRendered.emit(l)})),e.on("textlayerrendered",(function(l){n.textLayerRendered.emit(l)})),this.pdfSinglePageLinkService=new Epn.PDFLinkService({eventBus:e}),this.pdfSinglePageFindController=new Epn.PDFFindController({linkService:this.pdfSinglePageLinkService,eventBus:e});var t={eventBus:e,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfSinglePageLinkService,textLayerMode:this._renderText?this._renderTextMode:Rpn.DISABLED,findController:this.pdfSinglePageFindController};this.pdfSinglePageViewer=new Epn.PDFSinglePageViewer(t),this.pdfSinglePageLinkService.setViewer(this.pdfSinglePageViewer),this.pdfSinglePageFindController.setDocument(this._pdf),this.pdfSinglePageViewer._currentPageNumber=this._page},n.prototype.getValidPageNumber=function(n){return n<1?1:n>this._pdf.numPages?this._pdf.numPages:n},n.prototype.getDocumentParams=function(){var n=typeof this.src;if(!this._cMapsUrl)return this.src;var l={cMapUrl:this._cMapsUrl,cMapPacked:!0};return"string"===n?l.url=this.src:"object"===n&&(void 0!==this.src.byteLength?l.data=this.src:Object.assign(l,this.src)),l},n.prototype.loadPDF=function(){var n=this;if(this.src)if(this.lastLoaded!==this.src){var l=Fpn.getDocument(this.getDocumentParams());l.onProgress=function(l){n.onProgress.emit(l)};var e=this.src;l.promise.then((function(l){n._pdf&&n._pdf.destroy(),n._pdf=l,n.lastLoaded=e,n.afterLoadComplete.emit(l),n.pdfMultiPageViewer||(n.setupMultiPageViewer(),n.setupSinglePageViewer()),n.resetPdfDocument(),n.update()}),(function(l){n.onError.emit(l)}))}else this.update()},n.prototype.update=function(){this.page=this._page,this.render()},n.prototype.render=function(){var n=this;this._page=this.getValidPageNumber(this._page);var l=this.getCurrentViewer();0===this._rotation&&l.pagesRotation===this._rotation||setTimeout((function(){l.pagesRotation=n._rotation})),this._stickToPage&&setTimeout((function(){l.currentPageNumber=n._page})),this.updateSize()},n.prototype.getScale=function(n){var e=this.element.nativeElement.offsetWidth-(this._showBorders?2*l.BORDER_WIDTH:0);return 0===e?1:this._zoom*(e/n)/l.CSS_UNITS},n.prototype.getCurrentViewer=function(){return this._showAll?this.pdfMultiPageViewer:this.pdfSinglePageViewer},n.prototype.resetPdfDocument=function(){this.pdfFindController.setDocument(this._pdf),this._showAll?(this.pdfSinglePageViewer.setDocument(null),this.pdfSinglePageLinkService.setDocument(null),this.pdfMultiPageViewer.setDocument(this._pdf),this.pdfMultiPageLinkService.setDocument(this._pdf,null)):(this.pdfMultiPageViewer.setDocument(null),this.pdfMultiPageLinkService.setDocument(null),this.pdfSinglePageViewer.setDocument(this._pdf),this.pdfSinglePageLinkService.setDocument(this._pdf,null))},n.CSS_UNITS=96/72,n.BORDER_WIDTH=9,n}(),jpn=function(){return function(){}}(),Vpn=yt({encapsulation:0,styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto}[_nghost-%COMP%] .textLayer{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1}[_nghost-%COMP%] .textLayer>span{color:transparent;position:absolute;white-space:pre;cursor:text;-webkit-transform-origin:0 0;transform-origin:0 0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::-moz-selection{background:#00f}[_nghost-%COMP%] .textLayer ::-moz-selection, [_nghost-%COMP%] .textLayer ::selection{background:#00f}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}[_nghost-%COMP%] .annotationLayer section{position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a, [_nghost-%COMP%] .annotationLayer .linkAnnotation>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover, [_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;padding:0 3px;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-color:rgba(0,54,255,.13);border:1px solid transparent;box-sizing:border-box;font-size:9px;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{font:message-box;font-size:9px;resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:0 0;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover{border:1px solid #000}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover{border:1px solid #000}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid #000}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus{background:0 0;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:0 0;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{background-color:#000;content:"";display:block;position:absolute;height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:#000;content:"";display:block;position:absolute;border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{-webkit-transform:rotate(45deg);transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:115%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;width:20em}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;z-index:200;max-width:20em;background-color:#ff9;box-shadow:0 2px 5px #333;border-radius:2px;padding:.6em;margin-left:5px;cursor:pointer;font:message-box;word-wrap:break-word}[_nghost-%COMP%] .annotationLayer .popup h1{font-size:1em;border-bottom:1px solid #000;margin:0;padding-bottom:.2em}[_nghost-%COMP%] .annotationLayer .popup p{margin:0;padding-top:.2em}[_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation, [_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation{cursor:pointer}[_nghost-%COMP%] .pdfViewer{padding-bottom:10px}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:1px auto -8px;position:relative;overflow:visible;border:9px solid rgba(0,0,0,.01);background-clip:content-box;-o-border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;border-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAA6UlEQVR4Xl2Pi2rEMAwE16fm1f7/r14v7w4rI0IzLAF7hLxNevBSEMEF5+OilNCsRd8ZMyn+a4NmsOT8WJw1lFbSYgGFzF2bLFoLjTClWjKKGRWpDYAGXUnZ4uhbBUzF3Oe/GG/ue2fn4GgsyXhNgysV2JnrhKEMg4fEZcALmiKbNhBBRFpSyDOj1G4QOVly6O1FV54ZZq8OVygrciDt6JazRgi1ljTPH0gbrPmHPXAbCiDd4GawIjip1TPh9tt2sz24qaCjr/jAb/GBFTbq9KZ7Ke/Cqt8nayUikZKsWZK7Fe6bg5dOUt8fZHWG2BHc+6EAAAAASUVORK5CYII=) 9 9 repeat;background-color:#fff}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.removePageBorders{padding-bottom:0}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page{display:inline-block;vertical-align:middle;margin-left:-3.5px;margin-right:-3.5px}[_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:-3.5px;margin-right:-3.5px}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{margin-left:0;margin-right:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page, [_nghost-%COMP%] .pdfPresentationMode .pdfViewer .spread{display:block}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page, [_nghost-%COMP%] .pdfPresentationMode .pdfViewer.removePageBorders .page{margin-left:auto;margin-right:auto}[_nghost-%COMP%] .pdfPresentationMode:-ms-fullscreen .pdfViewer .page{margin-bottom:100%!important}[_nghost-%COMP%] .pdfPresentationMode:-moz-full-screen .pdfViewer .page, [_nghost-%COMP%] .pdfPresentationMode:-webkit-full-screen .pdfViewer .page{margin-bottom:100%;border:0}[_nghost-%COMP%] .pdfPresentationMode:-moz-full-screen .pdfViewer .page, [_nghost-%COMP%] .pdfPresentationMode:-webkit-full-screen .pdfViewer .page, [_nghost-%COMP%] .pdfPresentationMode:fullscreen .pdfViewer .page{margin-bottom:100%;border:0}'],data:{}});function qpn(n){return jo(0,[ko(671088640,1,{pdfViewerContainer:0}),(n()(),_o(1,0,[[1,0],["pdfViewerContainer",1]],null,1,"div",[["class","ng2-pdf-viewer-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"div",[["class","pdfViewer"]],null,null,null,null,null))],null,null)}var zpn=yt({encapsulation:0,styles:[[".upload-icon[_ngcontent-%COMP%]{font-size:180px;opacity:.4;margin-bottom:30px}.view-doc-container[_ngcontent-%COMP%]{width:100%;height:100%;-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center}.example-loading-shade[_ngcontent-%COMP%]{background:rgba(255,255,255,.7);display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.example-loading-shade[_ngcontent-%COMP%] .percent[_ngcontent-%COMP%]{position:absolute;margin-top:-5px;color:#135f7f}.viewer-tools[_ngcontent-%COMP%]{position:fixed;margin-top:5px;z-index:1;background:#135f7f;margin-left:5px;border-radius:10px;color:#fff;display:-webkit-box;display:flex;-webkit-box-align:left;align-items:left;-webkit-transition:.5s;transition:all .5s}.viewer-tools[_ngcontent-%COMP%] .mat-button[_ngcontent-%COMP%]{font-size:10px} .optionsListMenu{min-height:auto} .optionsListMenu .mat-menu-content{font-size:13px;padding-top:0;padding-bottom:0} .optionsListMenu .mat-icon{height:auto}.viewer-tools[_ngcontent-%COMP%]:hover .mat-icon-button[_ngcontent-%COMP%]:hover .mat-icon[_ngcontent-%COMP%]{-webkit-transition:.5s;transition:all .5s;border-radius:5px;background:rgba(255,255,255,.2)}.no-doc-container[_ngcontent-%COMP%]{width:100%;height:100%;-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;font-weight:initial}.no-doc-container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;cursor:pointer;text-decoration:underline}.no-view[_ngcontent-%COMP%]{font-size:30px;opacity:.2}.no-view[_ngcontent-%COMP%] .no-view-icon[_ngcontent-%COMP%]{font-size:100px}.noFile[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;height:100%;font-size:30px;opacity:.2}.noFile[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:100px}.loaded-file[_ngcontent-%COMP%]{position:absolute;top:105px;padding:10px;border-radius:10px;background:#ffffff47}.extensionsList[_ngcontent-%COMP%]{height:200px;overflow:auto}.editInProgress[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;-webkit-box-pack:center;justify-content:center;opacity:.5}.editInProgress[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{font-size:20px;padding-top:20px}.editInProgress[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:150px}@-webkit-keyframes bounce{20%,53%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}@keyframes bounce{20%,53%,80%,from,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0);transform:translate3d(0,-30px,0)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0);transform:translate3d(0,-15px,0)}90%{-webkit-transform:translate3d(0,-4px,0);transform:translate3d(0,-4px,0)}}.bounce[_ngcontent-%COMP%]{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.disabledButton[_ngcontent-%COMP%]{cursor:not-allowed}"],tN],data:{}});function Upn(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"div",[["class","editInProgress"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"i",[["class","fas fa-file-word bounce"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(4,null,[" "," "])),(n()(),_o(5,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(6,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancelTemplateEdition()&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(8,0,["",""]))],null,(function(n,l){var e=l.component;n(l,4,0,e.lang.editInProgress),n(l,6,0,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,e.lang.cancel)}))}function Bpn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","noFile"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"i",[["class","far fa-times-circle"]],null,null,null,null,null)),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){n(l,3,0,l.component.lang.noFile)}))}function $pn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-progress-spinner",[["class","mat-progress-spinner"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"],[1,"aria-valuemin",0],[1,"aria-valuemax",0],[1,"aria-valuenow",0],[1,"mode",0]],null,null,mO,cO)),Di(2,114688,null,0,rO,[Pe,sh,[2,qs],[2,SC],oO],{mode:[0,"mode"],value:[1,"value"]},null),(n()(),_o(3,0,null,null,1,"div",[["class","percent"]],null,null,null,null,null)),(n()(),Lo(4,null,[""," %"])),(n()(),_o(5,0,null,null,1,"div",[["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],(function(n,l){var e=l.component;n(l,2,0,e.loadingInfo.mode,e.loadingInfo.percent)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter,"determinate"===bi(l,2).mode?0:null,"determinate"===bi(l,2).mode?100:null,"determinate"===bi(l,2).mode?bi(l,2).value:null,bi(l,2).mode),n(l,4,0,e.loadingInfo.percent),n(l,6,0,e.loadingInfo.message)}))}function Hpn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[["style","width: 240px;text-align: left;font-weight:normal;font-size: 13px;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.editTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,[[1,4],["templateList",4]],0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],class:[4,"class"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.chooseModel,e.templateListForm,e.listTemplates,e.lang.chooseModel,"input-form-filled")}),null)}function Gpn(n){return jo(0,[(n()(),_o(0,0,null,null,13,"div",[["appUploadFileDragDrop",""],["class","view-doc-container"]],[[4,"background-color",null],[4,"opacity",null]],[[null,"onFileDropped"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],(function(n,l,e){var t=!0,i=n.component;return"dragover"===l&&(t=!1!==bi(n,1).onDragOver(e)&&t),"dragleave"===l&&(t=!1!==bi(n,1).onDragLeave(e)&&t),"drop"===l&&(t=!1!==bi(n,1).ondrop(e)&&t),"onFileDropped"===l&&(t=!1!==i.dndUploadFile(e)&&t),t}),null,null)),Di(1,16384,null,0,Opn,[],{disabled:[0,"disabled"]},{onFileDropped:"onFileDropped"}),(n()(),_o(2,0,null,null,0,"i",[["class","fa fa-file-upload upload-icon"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(4,null,[" ",""])),(n()(),_o(5,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(6,null,[""," "])),(n()(),_o(7,0,null,null,6,"div",[["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["style","margin-right:20px;align-items: center;justify-content: center;text-align: center;display: flex;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Hpn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,2,"button",[["class","button-form-primary-alt"],["mat-button",""],["style","align-items: center;justify-content: center;text-align: center;display: flex;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n.parent,4).click()&&t),t}),PC,MC)),Di(12,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(13,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!e.editMode),n(l,10,0,e.listTemplates.length>0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).background,bi(l,1).opacity),n(l,4,0,e.lang.dragAndDrop),n(l,6,0,e.lang.or),n(l,11,0,bi(l,12).disabled||null,"NoopAnimations"===bi(l,12)._animationMode),n(l,13,0,e.lang.chooseFile)}))}function Wpn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["mat-icon-button",""]],[[2,"disabledButton",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.editResource()&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-edit mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.functions.empty(e.file.subinfos)||!e.functions.empty(e.file.subinfos)&&!e.file.subinfos.signedDocVersions?e.lang.editDocument:e.lang.documentSignedMsg),n(l,2,0,!e.functions.empty(e.file.subinfos)&&e.file.subinfos.signedDocVersions),n(l,4,0)}),(function(n,l){var e=l.component;n(l,0,0,!e.functions.empty(e.file.subinfos)&&e.file.subinfos.signedDocVersions,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Kpn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openPdfInTab()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-external-link-alt mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color),n(l,5,0,e.lang.openInExternalModal)}))}function Ypn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openMaarchParapheurWorkflow()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-list-ol mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color),n(l,5,0,e.lang.externalVisaWorkflow)}))}function Jpn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==bi(n.parent.parent,4).click()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-file-upload mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color),n(l,5,0,e.lang.uploadAnOtherFile)}))}function Zpn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.cleanFile()&&t),t}),lL,nL)),Di(1,180224,[[4,4],[5,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],(function(n,l){n(l,3,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color),n(l,5,0,e.lang.removeFile)}))}function Qpn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger mat-badge"],["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),Di(3,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"]},null),(n()(),Lo(4,0,[" "," "])),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,bi(l.parent,6)),n(l,3,0,e.file.subinfos.mainDocVersions.length)}),(function(n,l){var e=l.component;n(l,0,1,[bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null,bi(l,3).overlap,bi(l,3).isAbove(),!bi(l,3).isAbove(),!bi(l,3).isAfter(),bi(l,3).isAfter(),"small"===bi(l,3).size,"medium"===bi(l,3).size,"large"===bi(l,3).size,bi(l,3).hidden||!bi(l,3)._hasContent,bi(l,3).disabled]),n(l,4,0,e.lang.versions)}))}function Xpn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openResourceVersion(n.context.$implicit,"PDF")&&t),t}),lL,nL)),Di(1,180224,[[7,4],[8,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(3,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,e.lang.version,l.context.$implicit)}))}function nmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.openResourceVersion(i.file.subinfos.mainDocVersions[i.file.subinfos.mainDocVersions.length-1],"SIGN")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.SIGN_version)}))}function lmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["mat-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.openResourceVersion(i.file.subinfos.mainDocVersions[i.file.subinfos.mainDocVersions.length-1],"NOTE")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(2,0,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.NOTE_version)}))}function emn(n){return jo(0,[(n()(),_o(0,0,null,null,15,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Qpn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,8,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(6,1294336,[["menuVersionsDoc",4]],3,$T,[Pe,La,UT],null,null),ko(603979776,7,{_allItems:1}),ko(603979776,8,{items:1}),ko(603979776,9,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,Xpn)),Di(11,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,nmn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,lmn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.file.subinfos.mainDocVersions.length>1&&!e.file.subinfos.signedDocVersions),n(l,6,0),n(l,11,0,e.file.subinfos.mainDocVersions),n(l,13,0,e.file.subinfos.signedDocVersions),n(l,15,0,e.file.subinfos.commentedDocVersions>0)}),null)}function tmn(n){return jo(0,[(n()(),_o(0,0,null,null,29,"div",[["class","viewer-tools"]],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,2).show()&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,2)._handleTouchend()&&t),"click"===l&&(t=!1!==i.downloadOriginalFile()&&t),t}),PC,MC)),Di(2,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fa fa-download mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,Wpn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(8,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,10)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,10)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,10)._handleClick(e)&&t),t}),PC,MC)),Di(9,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(10,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(11,0,null,0,1,"mat-icon",[["class","fas fa-chevron-down mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(13,0,null,null,14,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(16,1294336,[["menuOptions",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,4,{_allItems:1}),ko(603979776,5,{items:1}),ko(603979776,6,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,Kpn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Ypn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Jpn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Zpn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,emn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.lang.downloadOriginalFile),n(l,5,0),n(l,7,0,e.editMode&&null!==e.resId&&!e.noConvertedFound),n(l,10,0,bi(l,16)),n(l,12,0),n(l,16,0,"optionsListMenu"),n(l,21,0,void 0!==e.file.contentView||null!==e.base64),n(l,23,0,(void 0!==e.file.contentView||null!==e.base64)&&null!=e.resId&&"attachment"!==e.mode&&e.externalId.signatureBookId),n(l,25,0,e.editMode&&null===e.resId),n(l,27,0,e.editMode&&null===e.resId),n(l,29,0,"mainDocument"===e.mode&&!e.functions.empty(e.file.subinfos))}),(function(n,l){n(l,1,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color),n(l,8,0,bi(l,9).disabled||null,"NoopAnimations"===bi(l,9)._animationMode,bi(l,10).menuOpen||null),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color)}))}function imn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"pdf-viewer",[["style","width:100%;"]],null,[[null,"error"],["window","resize"]],(function(n,l,e){var t=!0,i=n.component;return"window:resize"===l&&(t=!1!==bi(n,1).onPageResize()&&t),"error"===l&&(t=!1!==i.onError(e)&&t),t}),qpn,Vpn)),Di(1,9158656,null,0,Npn,[Pe],{src:[0,"src"],renderText:[1,"renderText"],originalSize:[2,"originalSize"],showAll:[3,"showAll"],autoresize:[4,"autoresize"]},{onError:"error"})],(function(n,l){n(l,1,0,l.component.file.src,!0,!1,!0,!0)}),null)}function amn(n){return jo(0,[(n()(),_o(0,0,null,null,13,"div",[["appUploadFileDragDrop",""],["class","no-doc-container"]],[[4,"background-color",null],[4,"opacity",null]],[[null,"onFileDropped"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],(function(n,l,e){var t=!0,i=n.component;return"dragover"===l&&(t=!1!==bi(n,1).onDragOver(e)&&t),"dragleave"===l&&(t=!1!==bi(n,1).onDragLeave(e)&&t),"drop"===l&&(t=!1!==bi(n,1).ondrop(e)&&t),"onFileDropped"===l&&(t=!1!==i.dndUploadFile(e)&&t),t}),null,null)),Di(1,16384,null,0,Opn,[],{disabled:[0,"disabled"]},{onFileDropped:"onFileDropped"}),(n()(),_o(2,0,null,null,7,"div",[["class","loaded-file"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,0,"i",[["class","fa fa-file"]],null,null,null,null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(5,0,null,null,1,"a",[],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.downloadOriginalFile()&&t),t}),null,null)),(n()(),Lo(6,null,["",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(8,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),_o(10,0,null,null,3,"div",[["class","no-view"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,0,"i",[["class","far fa-eye-slash no-view-icon"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(13,null,["",""]))],(function(n,l){n(l,1,0,!l.component.editMode)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).background,bi(l,1).opacity),n(l,6,0,e.file.name),n(l,9,0,e.lang.loaded),n(l,13,0,e.lang.noAvailablePreview)}))}function omn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,$pn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Gpn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,[["docToUpload",1]],null,5,"input",[["name","files[]"],["style","display:none;"],["type","file"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"change"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,5)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,5).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,5)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,5)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==i.uploadTrigger(e)&&t),t}),null,null)),Di(5,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(7,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},null),Ei(2048,null,v_,null,[_y]),Di(9,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(10,0,null,null,6,"div",[["appUploadFileDragDrop",""],["style","display: block;width:100%;"]],[[4,"background-color",null],[4,"opacity",null]],[[null,"onFileDropped"],[null,"dragover"],[null,"dragleave"],[null,"drop"]],(function(n,l,e){var t=!0,i=n.component;return"dragover"===l&&(t=!1!==bi(n,11).onDragOver(e)&&t),"dragleave"===l&&(t=!1!==bi(n,11).onDragLeave(e)&&t),"drop"===l&&(t=!1!==bi(n,11).ondrop(e)&&t),"onFileDropped"===l&&(t=!1!==i.dndUploadFile(e)&&t),t}),null,null)),Di(11,16384,null,0,Opn,[],{disabled:[0,"disabled"]},{onFileDropped:"onFileDropped"}),(n()(),vo(16777216,null,null,1,null,tmn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,imn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,amn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.loading),n(l,3,0,null===e.file.content&&!e.loading),n(l,7,0,"files[]",e.docToUploadValue),n(l,11,0,!e.editMode),n(l,13,0,!e.loading&&null!==e.file.content&&!e.hideTools),n(l,16,0,null!==e.file.src),n(l,18,0,null!==e.file.content&&e.noConvertedFound)}),(function(n,l){n(l,4,0,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending),n(l,10,0,bi(l,11).background,bi(l,11).opacity)}))}function rmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Bpn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseHaveFile",2]],null,0,null,omn))],(function(n,l){n(l,2,0,l.component.noFile,bi(l,3))}),null)}function umn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"onlyoffice-viewer",[["style","height:100%;width:100%;"]],null,[[null,"triggerAfterUpdatedDoc"],[null,"triggerCloseEditor"],[null,"triggerModifiedDocument"],["window","message"]],(function(n,l,e){var t=!0,i=n.component;return"window:message"===l&&(t=!1!==bi(n,2).onMessage(e)&&t),"triggerAfterUpdatedDoc"===l&&(t=!1!==i.triggerEvent.emit()&&t),"triggerCloseEditor"===l&&(t=!1!==i.closeEditor()&&t),"triggerModifiedDocument"===l&&(t=0!=(i.isDocModified=!0)&&t),t}),_tn,gtn)),Di(2,4440064,[[2,4],["onlyofficeViewer",4]],0,y4,[nS,Jv,tu,_u],{editMode:[0,"editMode"],file:[1,"file"],params:[2,"params"]},{triggerAfterUpdatedDoc:"triggerAfterUpdatedDoc",triggerCloseEditor:"triggerCloseEditor",triggerModifiedDocument:"triggerModifiedDocument"})],(function(n,l){var e=l.component;n(l,2,0,!0,e.file,e.editor.options)}),null)}function smn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function cmn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"app-collabora-online-viewer",[["style","height:100%;width:100%;"]],null,[[null,"triggerAfterUpdatedDoc"],[null,"triggerCloseEditor"],[null,"triggerModifiedDocument"],["window","message"]],(function(n,l,e){var t=!0,i=n.component;return"window:message"===l&&(t=!1!==bi(n,2).onMessage(e)&&t),"triggerAfterUpdatedDoc"===l&&(t=!1!==i.triggerEvent.emit()&&t),"triggerCloseEditor"===l&&(t=!1!==i.closeEditor()&&t),"triggerModifiedDocument"===l&&(t=0!=(i.isDocModified=!0)&&t),t}),ktn,ytn)),Di(2,4440064,[[3,4],["collaboraOnlineViewer",4]],0,w4,[nS,Jv,tu,Ed,_u],{editMode:[0,"editMode"],file:[1,"file"],params:[2,"params"]},{triggerAfterUpdatedDoc:"triggerAfterUpdatedDoc",triggerCloseEditor:"triggerCloseEditor",triggerModifiedDocument:"triggerModifiedDocument"}),(n()(),vo(16777216,null,null,1,null,smn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,!0,e.file,e.editor.options),n(l,4,0,bi(l,2).isSaving)}),null)}function dmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""],["style","position: absolute;z-index: 3;bottom: 40px;right: 60px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveMainDocument()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function pmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""],["style","position: absolute;z-index: 3;bottom: 40px;right: 60px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveTmpDocument()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function mmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""],["style","position: fixed;z-index: 1;bottom: 100px;right: 150px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.unsignMainDocument()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,[" ","\n"]))],(function(n,l){n(l,1,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,e.lang.unsign,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.removeSignature)}))}function fmn(n){return jo(0,[ko(402653184,1,{templateList:0}),ko(671088640,2,{onlyofficeViewer:0}),ko(671088640,3,{collaboraOnlineViewer:0}),(n()(),vo(16777216,null,null,1,null,Upn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rmn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,umn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cmn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dmn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,pmn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mmn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.editInProgress&&"onlyoffice"!==e.editor.mode&&"collaboraOnline"!==e.editor.mode),n(l,6,0,!e.editInProgress),n(l,8,0,e.editInProgress&&"onlyoffice"===e.editor.mode),n(l,10,0,e.editInProgress&&"collaboraOnline"===e.editor.mode),n(l,12,0,e.isDocModified&&"mainDocument"===e.mode&&null!==e.resId),n(l,14,0,e.isDocModified&&"attachment"===e.mode),n(l,16,0,!e.isDocModified&&"mainDocument"===e.mode&&null!==e.resId&&!e.functions.empty(e.file.subinfos)&&e.file.subinfos.signedDocVersions&&e.headerService.user.id==e.file.signatoryId&&!e.hideTools&&e.editMode)}),null)}var hmn=function(){function n(n,l,e,t,i,a,o){this.http=n,this.notify=l,this.data=e,this.dialogRef=t,this.functions=i,this.sortPipe=a,this.dialog=o,this.loading=!0,this.lang=Kr,this.document=[],this.mainDocument=!1,this.summarySheet=!1,this.withSeparator=!1,this.isLoadingResults=!1,this.printedFolderElement={attachments:[],notes:[],emails:[],acknowledgementReceipts:[],linkedResources:[],linkedResourcesAttachments:[]},this.selectedPrintedFolderElement={}}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return Object.keys(this.printedFolderElement).forEach((function(l){n.selectedPrintedFolderElement[l]=new sy({value:[],disabled:!1})})),this.getMainDocInfo(),this.getAttachments(),this.getEmails(),this.getAcknowledgementReceips(),this.getNotes(),[4,this.getLinkedResources()];case 1:return l.sent(),this.loading=!1,[2]}}))}))},n.prototype.getMainDocInfo=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/fileInformation").pipe(q((function(l){return Object(t.__assign)({},l.information,{id:n.data.resId})})),Yr((function(e){n.mainDocumentInformation=e,l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getAttachments=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/attachments").pipe(q((function(l){return l.attachments=l.attachments.map((function(l){return{id:l.resId,label:l.title,chrono:n.functions.empty(l.chrono)?n.lang.undefined:l.chrono,type:l.typeLabel,creationDate:l.creationDate,canConvert:l.canConvert,status:l.status}})),l.attachments})),Yr((function(e){n.printedFolderElement.attachments=n.sortPipe.transform(e,"chrono"),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getLinkedResources=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/linkedResources").pipe(Yr((function(e){return Object(t.__awaiter)(n,void 0,void 0,(function(){var n;return Object(t.__generator)(this,(function(t){switch(t.label){case 0:n=0,t.label=1;case 1:return n<e.linkedResources.length?(this.printedFolderElement.linkedResources.push({id:e.linkedResources[n].resId,label:e.linkedResources[n].subject,chrono:this.functions.empty(e.linkedResources[n].chrono)?this.lang.undefined:e.linkedResources[n].chrono,creationDate:e.linkedResources[n].documentDate,canConvert:e.linkedResources[n].canConvert}),[4,this.getLinkedAttachments(e.linkedResources[n])]):[3,4];case 2:t.sent(),t.label=3;case 3:return n++,[3,1];case 4:return l(!0),[2]}}))}))})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getLinkedAttachments=function(n){var l=this;return new Promise((function(e){l.http.get("../../rest/resources/"+n.resId+"/attachments").pipe(q((function(e){return e.attachments=e.attachments.map((function(e){return{id:e.resId,label:e.title,resIdMaster:n.resId,chronoMaster:n.chrono,chrono:l.functions.empty(e.chrono)?l.lang.undefined:e.chrono,type:e.typeLabel,creationDate:e.creationDate,canConvert:e.canConvert,status:e.status}})),e.attachments})),Yr((function(n){l.printedFolderElement.linkedResourcesAttachments=l.printedFolderElement.linkedResourcesAttachments.concat(l.sortPipe.transform(n,"chronoMaster")),e(!0)})),Qr((function(n){return l.notify.handleSoftErrors(n),e(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getEmails=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/emails?type=email").pipe(q((function(l){return l.emails=l.emails.map((function(l){return{id:l.id,recipients:l.recipients,creationDate:l.creation_date,label:n.functions.empty(l.object)?"<i>"+n.lang.emptySubject+"<i>":l.object,canConvert:!0}})),l.emails})),Yr((function(e){n.printedFolderElement.emails=n.sortPipe.transform(e,"creationDate"),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getNotes=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/notes").pipe(q((function(n){return n.notes=n.notes.map((function(n){return{id:n.id,creator:n.firstname+" "+n.lastname,creationDate:n.creation_date,label:n.value,canConvert:!0}})),n.notes})),Yr((function(e){n.printedFolderElement.notes=n.sortPipe.transform(e,"creationDate"),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.getAcknowledgementReceips=function(){var n=this;return new Promise((function(l){n.http.get("../../rest/resources/"+n.data.resId+"/acknowledgementReceipts?type=ar").pipe(q((function(l){return l.map((function(l){var e,t;return e=n.functions.empty(l.contact.email)?n.lang.contactDeleted:l.contact.email,t=n.functions.empty(l.contact.firstname)||n.functions.empty(l.contact.lastname)?n.lang.contactDeleted:l.contact.firstname+" "+l.contact.lastname,{id:l.id,sender:!1,recipients:"html"===l.format?e:t,creationDate:l.creationDate,label:"html"===l.format?n.lang.ARelectronic:n.lang.ARPaper,canConvert:!0}}))})),Yr((function(e){n.printedFolderElement.acknowledgementReceipts=n.sortPipe.transform(e,"creationDate"),l(!0)})),Qr((function(e){return n.notify.handleSoftErrors(e),l(!1),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.toggleAllElements=function(n,l){this.selectedPrintedFolderElement[l].setValue(n?this.printedFolderElement[l].filter((function(n){return n.canConvert})).map((function(n){return n.id})):[])},n.prototype.onSubmit=function(){var n=this;this.isLoadingResults=!0,this.http.post("../../rest/resources/folderPrint",this.formatPrintedFolder(),{responseType:"blob"}).pipe(Yr((function(n){var l,e,t,i,a=document.createElement("a");a.href=window.URL.createObjectURL(n),e=(l=new Date).getDate(),t=l.getMonth()+1,i=l.getFullYear(),e<10&&(e="0"+e),t<10&&(t="0"+t),a.setAttribute("download","export_maarch_"+(l=e+"-"+t+"-"+i)+".pdf"),document.body.appendChild(a),a.click()})),iu((function(){return n.isLoadingResults=!1})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.formatPrintedFolder=function(){var n=this,l={withSeparator:this.withSeparator,summarySheet:this.summarySheet,resources:[]},e={resId:this.data.resId,document:this.mainDocument};return Object.keys(this.printedFolderElement).forEach((function(l){e[l]=n.selectedPrintedFolderElement[l].value.length!==n.printedFolderElement[l].length?n.selectedPrintedFolderElement[l].value:n.selectedPrintedFolderElement[l].value.length>0?"ALL":[]})),l.resources.push(e),l},n.prototype.openSummarySheet=function(){var n=this;this.dialog.open(eun,{panelClass:"maarch-full-height-modal",width:"800px",data:{paramMode:!0}}).afterClosed().pipe(Yr((function(l){n.summarySheet=l})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.isEmptySelection=function(){var n=this,l=!0;return Object.keys(this.printedFolderElement).forEach((function(e){n.selectedPrintedFolderElement[e].value.length>0&&(l=!1)})),(this.summarySheet||this.mainDocument)&&(l=!1),l},n}(),gmn=function(){function n(n,l,e,t,i,a,o,r,u,s,c,d,p,m,f){var h=this;this.route=n,this._activatedRoute=l,this.http=e,this.dialog=t,this.headerService=i,this.filtersListService=a,this.notify=o,this.overlay=r,this.viewContainerRef=u,this.appService=s,this.actionService=c,this.contactService=d,this.router=p,this.privilegeService=m,this.functions=f,this.lang=Kr,this.loading=!0,this.detailMode=!1,this.isMailing=!1,this.actionsList=[],this.currentUserId=null,this.currentBasketId=null,this.currentGroupId=null,this.selectedAction={id:0,label:"",component:"",default:!1,categoryUse:[]},this.currentResourceInformations={},this.processTool=[{id:"dashboard",icon:"fas fa-columns",label:this.lang.newsFeed,count:0},{id:"history",icon:"fas fa-history",label:this.lang.history,count:0},{id:"notes",icon:"fas fa-pen-square",label:this.lang.notesAlt,count:0},{id:"attachments",icon:"fas fa-paperclip",label:this.lang.attachments,count:0},{id:"linkedResources",icon:"fas fa-link",label:this.lang.links,count:0},{id:"emails",icon:"fas fa-envelope",label:this.lang.mailsSentAlt,count:0},{id:"diffusionList",icon:"fas fa-share-alt",label:this.lang.diffusionList,editMode:!1,count:0},{id:"visaCircuit",icon:"fas fa-list-ol",label:this.lang.visaWorkflow,count:0},{id:"opinionCircuit",icon:"fas fa-comment-alt",label:this.lang.avis,count:0},{id:"info",icon:"fas fa-info-circle",label:this.lang.informations,count:0}],this.modalModule=[],this.currentTool="dashboard",this.actionEnded=!1,this.canEditData=!1,this.canChangeModel=!1,this.autoAction=!1,this.integrationsInfo={inSignatureBook:{icon:"fas fa-file-signature"}},this.senderLightInfo={displayName:null,fillingRate:null},this.hasContact=!1,this.resourceFollowed=!1,this.route.params.subscribe((function(n){h.loading=!0,h.headerService.sideBarForm=!0,h.headerService.showhHeaderPanel=!0,h.headerService.showMenuShortcut=!1,h.headerService.showMenuNav=!1,h.headerService.sideBarAdmin=!0,void 0!==n.detailResId?h.initDetailPage(n):h.initProcessPage(n)}),(function(n){h.notify.handleErrors(n)})),this.subscription=this.actionService.catchAction().subscribe((function(n){h.actionEnded=!0,h.router.navigate(["/basketList/users/"+h.currentUserId+"/groups/"+h.currentGroupId+"/baskets/"+h.currentBasketId])}))}return n.prototype.ngOnInit=function(){this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu","form"),this.headerService.setHeader(this.lang.eventProcessDoc)},n.prototype.checkAccesDocument=function(n){var l=this;return new Promise((function(e,t){l.http.get("../../rest/resources/"+n+"/isAllowed").pipe(Yr((function(n){n.isAllowed?e(!0):(l.notify.error(l.lang.documentOutOfPerimeter),l.router.navigate(["/home"]))})),Qr((function(n){return l.notify.handleSoftErrors(n),l.router.navigate(["/home"]),Object(S0.of)(!1)}))).subscribe()}))},n.prototype.initProcessPage=function(n){return Object(t.__awaiter)(this,void 0,void 0,(function(){var l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this.detailMode=!1,this.currentUserId=n.userSerialId,this.currentGroupId=n.groupSerialId,this.currentBasketId=n.basketId,this.currentResourceInformations={resId:n.resId,mailtracking:!1},this.headerService.sideBarButton={icon:"fa fa-inbox",label:this.lang.backBasket,route:"/basketList/users/"+this.currentUserId+"/groups/"+this.currentGroupId+"/baskets/"+this.currentBasketId},[4,this.checkAccesDocument(this.currentResourceInformations.resId)];case 1:return e.sent(),this.actionService.lockResource(this.currentUserId,this.currentGroupId,this.currentBasketId,[this.currentResourceInformations.resId]),this.loadBadges(),this.loadResource(),this.appService.getViewMode()&&setTimeout((function(){l.headerService.sideNavLeft.open()}),800),this.http.get("../../rest/resourcesList/users/"+this.currentUserId+"/groups/"+this.currentGroupId+"/baskets/"+this.currentBasketId+"/actions?resId="+this.currentResourceInformations.resId).pipe(q((function(n){return n.actions=n.actions.map((function(n,l){return{id:n.id,label:n.label,component:n.component,categoryUse:n.categories}})),n})),Yr((function(n){l.selectedAction=n.actions[0],l.actionsList=n.actions})),Qr((function(n){return l.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe(),[2]}}))}))},n.prototype.initDetailPage=function(n){return Object(t.__awaiter)(this,void 0,void 0,(function(){var l=this;return Object(t.__generator)(this,(function(e){switch(e.label){case 0:return this._activatedRoute.queryParamMap.subscribe((function(n){l.isMailing=!l.functions.empty(n.get("isMailing"))})),this.detailMode=!0,this.currentResourceInformations={resId:n.detailResId,mailtracking:!1},this.headerService.sideBarButton={icon:"fas fa-arrow-left",label:this.lang.back,route:"__GOBACK"},[4,this.checkAccesDocument(this.currentResourceInformations.resId)];case 1:return e.sent(),this.loadBadges(),this.loadResource(),this.appService.getViewMode()&&setTimeout((function(){l.headerService.sideNavLeft.open()}),800),[2]}}))}))},n.prototype.isActionEnded=function(){return this.actionEnded},n.prototype.loadResource=function(n){var l=this;void 0===n&&(n=!0),this.http.get("../../rest/resources/"+this.currentResourceInformations.resId+"?light=true").pipe(Yr((function(e){l.currentResourceInformations=e,l.resourceFollowed=e.followed,"outgoing"!==l.currentResourceInformations.categoryId?l.loadSenders():l.loadRecipients(),n&&l.setEditDataPrivilege(),l.loadAvaibleIntegrations(e.integrations),l.headerService.setHeader(l.detailMode?l.lang.detailDoc:l.lang.eventProcessDoc,l.lang[l.currentResourceInformations.categoryId])})),iu((function(){return l.loading=!1})),Qr((function(n){return l.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.setEditDataPrivilege=function(){var n=this;this.detailMode?(this.canEditData=this.privilegeService.hasCurrentUserPrivilege("edit_resource")&&this.currentResourceInformations.statusAlterable,this.isMailing&&this.isToolEnabled("attachments")&&(this.currentTool="attachments",setTimeout((function(){n.isMailing=!1}),200))):this.http.get("../../rest/resources/"+this.currentResourceInformations.resId+"/users/"+this.currentUserId+"/groups/"+this.currentGroupId+"/baskets/"+this.currentBasketId+"/processingData").pipe(Yr((function(l){null!==l.listEventData&&(n.isToolEnabled(l.listEventData.defaultTab)&&(n.currentTool=l.listEventData.defaultTab),n.canEditData=l.listEventData.canUpdate,n.canChangeModel=l.listEventData.canUpdateModel)})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.loadAvaibleIntegrations=function(n){var l=this;this.integrationsInfo.inSignatureBook.enable=!this.functions.empty(n.inSignatureBook)&&n.inSignatureBook,this.http.get("../../rest/externalConnectionsEnabled").pipe(Yr((function(n){Object.keys(n.connection).filter((function(n){return"maarchParapheur"!==n})).forEach((function(n){"maileva"===n&&(l.integrationsInfo.inShipping={icon:"fas fa-shipping-fast"})}))})),Qr((function(n){return l.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.toggleIntegration=function(n){var l,e=this;this.http.put("../../rest/resourcesList/integrations",{resources:[this.currentResourceInformations.resId],integrations:(l={},l[n]=!this.currentResourceInformations.integrations[n],l)}).pipe(Yr((function(){e.currentResourceInformations.integrations[n]=!e.currentResourceInformations.integrations[n],e.notify.success(e.lang.actionDone)})),Qr((function(n){return e.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.loadBadges=function(){var n=this;this.http.get("../../rest/resources/"+this.currentResourceInformations.resId+"/items").pipe(Yr((function(l){n.processTool.forEach((function(n){n.count=void 0!==l[n.id]?l[n.id]:0}))})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.loadSenders=function(){var n=this;void 0===this.currentResourceInformations.senders||0===this.currentResourceInformations.senders.length?(this.hasContact=!1,this.senderLightInfo={displayName:this.lang.noSelectedContact,filling:null}):1===this.currentResourceInformations.senders.length?(this.hasContact=!0,"contact"===this.currentResourceInformations.senders[0].type?this.http.get("../../rest/contacts/"+this.currentResourceInformations.senders[0].id).pipe(Yr((function(l){var e=[];n.empty(l.firstname)&&n.empty(l.lastname)?n.senderLightInfo=n.functions.empty(l.fillingRate)?{displayName:l.company}:{displayName:l.company,filling:n.contactService.getFillingColor(l.fillingRate.thresholdLevel)}:(e.push(l.firstname),e.push(l.lastname),n.empty(l.company)||e.push("("+l.company+")"),n.senderLightInfo=n.functions.empty(l.fillingRate)?{displayName:e.filter((function(n){return""!==n})).join(" ")}:{displayName:e.filter((function(n){return""!==n})).join(" "),filling:n.contactService.getFillingColor(l.fillingRate.thresholdLevel)})}))).subscribe():"entity"===this.currentResourceInformations.senders[0].type?this.http.get("../../rest/entities/"+this.currentResourceInformations.senders[0].id).pipe(Yr((function(l){n.senderLightInfo={displayName:l.entity_label,filling:null}}))).subscribe():"user"===this.currentResourceInformations.senders[0].type&&this.http.get("../../rest/users/"+this.currentResourceInformations.senders[0].id).pipe(Yr((function(l){n.senderLightInfo={displayName:l.firstname+" "+l.lastname,filling:null}}))).subscribe()):this.currentResourceInformations.senders.length>1&&(this.hasContact=!0,this.senderLightInfo={displayName:this.currentResourceInformations.senders.length+" "+this.lang.senders,filling:null})},n.prototype.loadRecipients=function(){var n=this;void 0===this.currentResourceInformations.recipients||0===this.currentResourceInformations.recipients.length?(this.hasContact=!1,this.senderLightInfo={displayName:this.lang.noSelectedContact,filling:null}):1===this.currentResourceInformations.recipients.length?(this.hasContact=!0,"contact"===this.currentResourceInformations.recipients[0].type?this.http.get("../../rest/contacts/"+this.currentResourceInformations.recipients[0].id).pipe(Yr((function(l){var e=[];n.empty(l.firstname)&&n.empty(l.lastname)?n.senderLightInfo=n.functions.empty(l.fillingRate)?{displayName:l.company}:{displayName:l.company,filling:n.contactService.getFillingColor(l.fillingRate.thresholdLevel)}:(e.push(l.firstname),e.push(l.lastname),n.empty(l.company)||e.push("("+l.company+")"),n.senderLightInfo=n.functions.empty(l.fillingRate)?{displayName:e.filter((function(n){return""!==n})).join(" ")}:{displayName:e.filter((function(n){return""!==n})).join(" "),filling:n.contactService.getFillingColor(l.fillingRate.thresholdLevel)})}))).subscribe():"entity"===this.currentResourceInformations.recipients[0].type?this.http.get("../../rest/entities/"+this.currentResourceInformations.recipients[0].id).pipe(Yr((function(l){n.senderLightInfo={displayName:l.entity_label,filling:null}}))).subscribe():"user"===this.currentResourceInformations.recipients[0].type&&this.http.get("../../rest/users/"+this.currentResourceInformations.recipients[0].id).pipe(Yr((function(l){n.senderLightInfo={displayName:l.firstname+" "+l.lastname,filling:null}}))).subscribe()):this.currentResourceInformations.recipients.length>1&&(this.hasContact=!0,this.senderLightInfo={displayName:this.currentResourceInformations.recipients.length+" "+this.lang.recipients,filling:null})},n.prototype.onSubmit=function(){var n=this;"info"===this.currentTool||this.isModalOpen("info")?this.processAction():this.isToolModified()?this.openConfirmModification().afterClosed().pipe(tc((function(n){return"ok"===n})),Yr((function(){n.saveTool()})),iu((function(){n.autoAction=!0,n.currentTool="info"})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe():(this.autoAction=!0,this.currentTool="info")},n.prototype.triggerProcessAction=function(){this.autoAction&&(this.processAction(),this.autoAction=!this.autoAction)},n.prototype.processAction=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return this.indexingForm.isValidForm()?(this.actionService.loading=!0,this.isToolModified()?(console.log("isToolModified"),[4,this.saveTool()]):[3,4]):[3,8];case 1:return n.sent(),this.appDocumentViewer.isEditingTemplate()?[4,this.appDocumentViewer.saveMainDocument()]:[3,3];case 2:n.sent(),n.label=3;case 3:return this.actionService.launchAction(this.selectedAction,this.currentUserId,this.currentGroupId,this.currentBasketId,[this.currentResourceInformations.resId],this.currentResourceInformations,!1),[3,7];case 4:return this.appDocumentViewer.isEditingTemplate()?[4,this.appDocumentViewer.saveMainDocument()]:[3,6];case 5:n.sent(),n.label=6;case 6:this.actionService.launchAction(this.selectedAction,this.currentUserId,this.currentGroupId,this.currentBasketId,[this.currentResourceInformations.resId],this.currentResourceInformations,!1),n.label=7;case 7:return[3,9];case 8:this.notify.error(this.lang.mustFixErrors),n.label=9;case 9:return[2]}}))}))},n.prototype.showActionInCurrentCategory=function(n){var l=this;if(-1===this.selectedAction.categoryUse.indexOf(this.currentResourceInformations.categoryId)){var e=this.actionsList.filter((function(n){return n.categoryUse.indexOf(l.currentResourceInformations.categoryId)>-1}))[0];this.selectedAction=void 0!==e?this.actionsList.filter((function(n){return n.categoryUse.indexOf(l.currentResourceInformations.categoryId)>-1}))[0]:{id:0,label:"",component:"",default:!1,categoryUse:[]}}return n.categoryUse.indexOf(this.currentResourceInformations.categoryId)>-1},n.prototype.selectAction=function(n){this.selectedAction=n},n.prototype.createModal=function(){var n=this;this.modalModule.push(this.processTool.filter((function(l){return l.id===n.currentTool}))[0])},n.prototype.removeModal=function(n){var l=this;"info"===this.modalModule[n].id&&this.indexingForm.isResourceModified()?this.openConfirmModification().afterClosed().pipe(Yr((function(e){"ok"!==e&&l.modalModule.splice(n,1)})),tc((function(n){return"ok"===n})),Yr((function(){l.indexingForm.saveData(),setTimeout((function(){l.loadResource(!1)}),400),l.modalModule.splice(n,1)})),Qr((function(n){return l.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe():this.modalModule.splice(n,1)},n.prototype.isModalOpen=function(n){return void 0===n&&(n=this.currentTool),this.modalModule.map((function(n){return n.id})).indexOf(n)>-1},n.prototype.ngOnDestroy=function(){this.detailMode||(this.actionService.stopRefreshResourceLock(),this.actionService.actionEnded||this.actionService.unlockResource(this.currentUserId,this.currentGroupId,this.currentBasketId,[this.currentResourceInformations.resId])),this.subscription.unsubscribe()},n.prototype.changeTab=function(n){var l=this;this.isToolModified()&&!this.isModalOpen()?this.openConfirmModification().afterClosed().pipe(Yr((function(e){"ok"!==e&&(l.currentTool=n)})),tc((function(n){return"ok"===n})),Yr((function(){l.saveTool(),setTimeout((function(){l.loadResource(!1)}),400),l.currentTool=n})),Qr((function(n){return l.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe():this.currentTool=n},n.prototype.openConfirmModification=function(){return this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.confirm,msg:this.lang.saveModifiedData,buttonValidate:this.lang.yes,buttonCancel:this.lang.no}})},n.prototype.confirmModification=function(){var n=this;this.indexingForm.saveData(),setTimeout((function(){n.loadResource(!1)}),400)},n.prototype.saveModificationBeforeClose=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return!this.isToolModified()||this.isModalOpen()?[3,2]:[4,this.saveTool()];case 1:n.sent(),n.label=2;case 2:return this.appDocumentViewer.isEditingTemplate()?[4,this.appDocumentViewer.saveMainDocument()]:[3,4];case 3:n.sent(),n.label=4;case 4:return[2]}}))}))},n.prototype.refreshBadge=function(n,l){this.processTool.filter((function(n){return n.id===l}))[0].count=n},n.prototype.openContact=function(){this.hasContact&&this.dialog.open(bcn,{panelClass:"maarch-modal",data:{title:this.currentResourceInformations.chrono+" - "+this.currentResourceInformations.subject,mode:"outgoing"!==this.currentResourceInformations.categoryId?"senders":"recipients",resId:this.currentResourceInformations.resId}})},n.prototype.saveListinstance=function(){this.appDiffusionsList.saveListinstance()},n.prototype.saveVisaWorkflow=function(){this.appVisaWorkflow.saveVisaWorkflow()},n.prototype.isToolModified=function(){return!!("info"===this.currentTool&&void 0!==this.indexingForm&&this.indexingForm.isResourceModified()||"diffusionList"===this.currentTool&&void 0!==this.appDiffusionsList&&this.appDiffusionsList.isModified()||"visaCircuit"===this.currentTool&&void 0!==this.appVisaWorkflow&&this.appVisaWorkflow.isModified()||"opinionCircuit"===this.currentTool&&void 0!==this.appAvisWorkflow&&this.appAvisWorkflow.isModified())},n.prototype.refreshTool=function(){var n=this,l=this.currentTool;this.currentTool="",setTimeout((function(){n.currentTool=l}),0)},n.prototype.saveTool=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){var n=this;return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return"info"!==this.currentTool||void 0===this.indexingForm?[3,2]:[4,this.indexingForm.saveData()];case 1:return l.sent(),setTimeout((function(){n.loadResource(!1)}),400),[3,8];case 2:return"diffusionList"!==this.currentTool||void 0===this.appDiffusionsList?[3,4]:[4,this.appDiffusionsList.saveListinstance()];case 3:return l.sent(),this.loadBadges(),[3,8];case 4:return"visaCircuit"!==this.currentTool||void 0===this.appVisaWorkflow?[3,6]:[4,this.appVisaWorkflow.saveVisaWorkflow()];case 5:return l.sent(),this.loadBadges(),[3,8];case 6:return"opinionCircuit"!==this.currentTool||void 0===this.appAvisWorkflow?[3,8]:[4,this.appAvisWorkflow.saveAvisWorkflow()];case 7:l.sent(),this.loadBadges(),l.label=8;case 8:return[2]}}))}))},n.prototype.empty=function(n){return null==n||(Array.isArray(n)?!(n.length>0):""===String(n))},n.prototype.toggleFollow=function(){var n=this;this.resourceFollowed=!this.resourceFollowed,this.resourceFollowed?this.http.post("../../rest/resources/follow",{resources:[this.currentResourceInformations.resId]}).pipe(Yr((function(){return n.headerService.nbResourcesFollowed++})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe():this.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:[this.currentResourceInformations.resId]}}).pipe(Yr((function(){return n.headerService.nbResourcesFollowed--})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.isToolEnabled=function(n){return"history"!==n||!(!this.privilegeService.hasCurrentUserPrivilege("view_full_history")&&!this.privilegeService.hasCurrentUserPrivilege("view_doc_history"))},n.prototype.openPrintedFolderPrompt=function(){this.dialog.open(hmn,{panelClass:"maarch-modal",data:{resId:this.currentResourceInformations.resId}})},n}(),bmn=yt({encapsulation:0,styles:[[".document-container[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;padding-left:50px;padding-right:50px;color:#fff;margin-top:0;width:100%;overflow:hidden;background-color:#135f7f}@media (max-width:768px){.document-container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.document-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden;position:relative;height:100%;min-height:200px;width:100%;border-radius:0;box-shadow:none;border:1px solid #fff;-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;text-align:center;font-weight:700;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.indexing-form-container[_ngcontent-%COMP%]{position:relative;height:100%;overflow:auto;padding-left:20px;padding-right:20px;padding-bottom:20px}@media (max-width:768px){.indexing-form-container[_ngcontent-%COMP%]{padding-right:0;padding-left:0}}.actions-indexing-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding:10px 40px;box-shadow:0 -5px 10px 0 rgba(0,0,0,.07)}@media (max-width:768px){.actions-indexing-form[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.emptyModel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;text-align:center;padding-left:20px;padding-right:20px;font-size:25px;opacity:.3;font-weight:700}.listModels[_ngcontent-%COMP%]{background:#f9f9f9;display:-webkit-box;display:flex;padding:10px 40px}@media (max-width:768px){.listModels[_ngcontent-%COMP%]{padding-bottom:20px;padding-left:0;padding-right:0}}.listModels[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;height:auto}.listModels-button[_ngcontent-%COMP%]{margin-right:20px;width:450px!important} .listModels-menu{min-width:450px!important} .listModels-menu .mat-menu-item:hover:hover .listModels-menu-badge{background:#fff!important;color:#135f7f!important} .listModels-menu .mat-menu-item:hover:hover .listModels-menu-delete .mat-icon{color:#fff!important} .listModels-menu-badge{font-size:70%;background:#135f7f;padding:2px 5px;border-radius:20px;color:#fff;font-weight:700} .listModels-menu-delete .mat-icon{margin-right:0} .listModels-menu-selected{color:#fff!important;background:#135f7f} .listModels-menu-selected .listModels-menu-badge{background:#fff!important;color:#135f7f!important}.emptyAction[_ngcontent-%COMP%]{color:#8e3e52;font-size:14px;text-align:center}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;position:absolute;width:100%;background:#ffffffba;z-index:2}.loadingBanner[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center} .menuAction{min-width:350px!important}.resourceInfo[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;border-radius:20px;border:1px solid #ccc;position:relative;padding:20px 40px 20px 20px;background:#1a80ab;width:100%}.resourceInfo[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;letter-spacing:2px;position:absolute;top:-18px;left:20px;padding:0;margin:0;color:#fff}.resourceInfo[_ngcontent-%COMP%] .title-divider[_ngcontent-%COMP%]{position:absolute;width:99%;z-index:-1;top:17px;background:#1a80ab;height:1px}.resourceInfo[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:15px;overflow:auto}.resourceInfo[_ngcontent-%COMP%] .content-item[_ngcontent-%COMP%]{-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;padding-left:20px;padding-right:20px;white-space:pre}.resourceInfo[_ngcontent-%COMP%] .content-item-value[_ngcontent-%COMP%]{font-weight:700;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.resourceInfo[_ngcontent-%COMP%] .content-item-value[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-left:10px}.processTool[_ngcontent-%COMP%]{width:100%;display:grid;grid-template-columns:20% 20% 20% 20% 20%;background-color:#fff;color:#b3b3b3;border:1px solid #dedede;padding:5px;border-radius:15px;text-align:center}.processTool-module[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;padding:5px;border-right:1px solid #dedede;cursor:pointer;-webkit-transition:.3s;transition:all .3s}.processTool-module[_ngcontent-%COMP%]:nth-child(-n+5){border-bottom:1px solid #dedede}.processTool-module[_ngcontent-%COMP%]:nth-child(5n){border-right:none}.processTool-module[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:30px}.processTool-module[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:pre;font-size:10px}.processTool-module-active[_ngcontent-%COMP%]{font-weight:700;color:#135f7f}.processTool-module[_ngcontent-%COMP%]:hover:not(.tool-disabled){-webkit-transition:.3s;transition:all .3s;color:#135f7f}.haveContent[_ngcontent-%COMP%]{position:absolute;right:15px;top:15px;font-size:10px!important;color:#f99830}.banner[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{cursor:pointer}.banner[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{overflow:auto;max-height:300px}.jiggle[_ngcontent-%COMP%]:active:not(.tool-disabled) i[_ngcontent-%COMP%]{-webkit-animation:.2s jiggle;-moz-animation-duration:.2s;-moz-animation-name:jiggle;-moz-animation-iteration-count:2;-webkit-transform:rotate(0);-moz-transform:rotate(0)}@-webkit-keyframes jiggle{0%{-webkit-transform:rotate(-9deg)}50%{-webkit-transform:rotate(9deg)}}.modal-module[_ngcontent-%COMP%]{background:#fff;position:absolute;right:50px;z-index:1;box-shadow:rgba(0,0,0,.75) 10px 10px 21px -15px;border-radius:5px;padding:10px;width:400px}.modal-module-title[_ngcontent-%COMP%]{cursor:move;color:#fff;padding-left:10px;padding-right:10px;background:#f99830;margin-top:-10px;margin-left:-10px;margin-right:-10px;border-top-left-radius:5px;border-top-right-radius:5px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.modal-module-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.modal-module-content[_ngcontent-%COMP%]{overflow:auto;max-height:500px}.openedModal[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;font-size:30px;font-weight:700;opacity:.2}.largeModal[_ngcontent-%COMP%]{width:560px}.menuTitle[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-left:20px;-webkit-box-align:center;align-items:center;color:#135f7f;font-weight:700}.smallInput[_ngcontent-%COMP%]{padding:10px}.smallInput[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.followIcon[_ngcontent-%COMP%]{color:#f99830}.tool-disabled[_ngcontent-%COMP%]{cursor:not-allowed;opacity:.3}.checked[_ngcontent-%COMP%]{opacity:1;color:#f99830}.unchecked[_ngcontent-%COMP%]{opacity:.5}.emails[_ngcontent-%COMP%], .linkedResources[_ngcontent-%COMP%]{width:600px}.subSubject[_ngcontent-%COMP%]{color:#f99830}"],tN],data:{}});function vmn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-circle haveContent"]],null,null,null,null,null))],null,null)}function _mn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","processTool-module jiggle mat-ripple"],["matRipple",""]],[[2,"processTool-module-active",null],[2,"tool-disabled",null],[2,"mat-ripple-unbounded",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==(!!i.isToolEnabled(n.context.$implicit.id)&&i.changeTab(n.context.$implicit.id))&&t),t}),null,null)),Di(1,212992,null,0,Cv,[Pe,La,sh,[2,xv],[2,SC]],null,null),(n()(),vo(16777216,null,null,1,null,vmn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),_o(5,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],(function(n,l){n(l,1,0),n(l,3,0,l.context.$implicit.count>0)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit.id===e.currentTool,!e.isToolEnabled(l.context.$implicit.id),bi(l,1).unbounded),n(l,4,0,l.context.$implicit.icon),n(l,6,0,l.context.$implicit.label)}))}function ymn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["style","display: flex;justify-content: flex-end;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.createModal()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fas fa-external-link-alt mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,2,0,"primary"),n(l,4,0)}),(function(n,l){n(l,1,0,l.component.lang.openInExternalModal,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function wmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-history-workflow-resume",[],null,[[null,"goTo"]],(function(n,l,e){var t=!0;return"goTo"===l&&(t=!1!==(n.component.currentTool="history")&&t),t}),sdn,ldn)),Di(1,114688,null,0,ndn,[nS,tu,TI],{resId:[0,"resId"]},{goTo:"goTo"})],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function xmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-note-resume",[],null,[[null,"goTo"]],(function(n,l,e){var t=!0;return"goTo"===l&&(t=!1!==(n.component.currentTool="notes")&&t),t}),bdn,ddn)),Di(1,114688,null,0,cdn,[nS,tu],{resId:[0,"resId"]},{goTo:"goTo"})],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function Cmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-attachments-resume",[],null,[[null,"goTo"]],(function(n,l,e){var t=!0;return"goTo"===l&&(t=!1!==(n.component.currentTool="attachments")&&t),t}),Adn,_dn)),Di(1,114688,null,0,vdn,[nS,tu,Jv],{resId:[0,"resId"]},{goTo:"goTo"})],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function kmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-mail-resume",[],null,[[null,"goTo"]],(function(n,l,e){var t=!0;return"goTo"===l&&(t=!1!==(n.component.currentTool="emails")&&t),t}),jdn,Pdn)),Di(1,114688,null,0,Mdn,[nS,tu,$S],{resId:[0,"resId"]},{goTo:"goTo"})],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function Smn(n){return jo(0,[(n()(),_o(0,0,null,null,34,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"div",[["style","display: flex;align-items: center;justify-content: flex-end;margin-top: 10px;margin-bottom: -20px;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,4,"button",[["color","primary"],["mat-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openPrintedFolderPrompt()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","fa fa-print mat-icon notranslate"],["role","img"],["style","height:auto"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),Lo(6,0,[" "," "])),(n()(),_o(7,0,null,null,6,"div",[["class","banner"]],[[4,"borderColor",null]],null,null,null,null)),(n()(),_o(8,0,null,null,2,"div",[["class","title"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==(n.component.currentTool="history")&&t),t}),null,null)),(n()(),Lo(9,null,[" "," "])),(n()(),_o(10,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wmn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,6,"div",[["class","banner"]],[[4,"borderColor",null]],null,null,null,null)),(n()(),_o(15,0,null,null,2,"div",[["class","title"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==(n.component.currentTool="notes")&&t),t}),null,null)),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xmn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(21,0,null,null,6,"div",[["class","banner"]],[[4,"borderColor",null]],null,null,null,null)),(n()(),_o(22,0,null,null,2,"div",[["class","title"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==(n.component.currentTool="attachments")&&t),t}),null,null)),(n()(),Lo(23,null,[" "," "])),(n()(),_o(24,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Cmn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,null,6,"div",[["class","banner"]],[[4,"borderColor",null]],null,null,null,null)),(n()(),_o(29,0,null,null,2,"div",[["class","title"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==(n.component.currentTool="emails")&&t),t}),null,null)),(n()(),Lo(30,null,[" "," "])),(n()(),_o(31,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null)),(n()(),_o(32,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kmn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,"primary"),n(l,5,0),n(l,13,0,!e.loading),n(l,20,0,!e.loading),n(l,27,0,!e.loading),n(l,34,0,!e.loading)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.generateAndDownloadPrintedFolder,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color),n(l,6,0,e.lang.printedFolder),n(l,7,0,e.currentPriorityColor),n(l,9,0,e.lang.history),n(l,14,0,e.currentPriorityColor),n(l,16,0,e.lang.notesAlt),n(l,21,0,e.currentPriorityColor),n(l,23,0,e.lang.attachments),n(l,28,0,e.currentPriorityColor),n(l,30,0,e.lang.mailsSentAlt)}))}function Imn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-history-list",[],null,null,null,kX,QQ)),Di(1,114688,[["appHistoryList",4]],0,JQ,[nS,tu,_u,Jv,$S,QS,TI],{resId:[0,"resId"]},null)],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function Amn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-notes-list",[],null,[[null,"reloadBadgeNotes"]],(function(n,l,e){var t=!0;return"reloadBadgeNotes"===l&&(t=!1!==n.component.refreshBadge(e,"notes")&&t),t}),Lsn,ksn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,[["appNotesList",4]],0,Csn,[nS,tu,_u,Jv,$S],{resId:[0,"resId"],editMode:[1,"editMode"]},{reloadBadgeNotes:"reloadBadgeNotes"})],(function(n,l){n(l,2,0,l.component.currentResourceInformations.resId,!0)}),null)}function Mmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-linked-resource-list",[],null,[[null,"reloadBadgeLinkedResources"]],(function(n,l,e){var t=!0;return"reloadBadgeLinkedResources"===l&&(t=!1!==n.component.refreshBadge(e,"linkedResources")&&t),t}),Ydn,qdn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,[["appLinkedResourceList",4]],0,Vdn,[nS,tu,yu,Jv,$S,TI],{resId:[0,"resId"]},{reloadBadgeLinkedResources:"reloadBadgeLinkedResources"})],(function(n,l){n(l,2,0,l.component.currentResourceInformations.resId)}),null)}function Pmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-diffusions-list",[],null,null,null,JW,TW)),Di(1,114688,[[5,4],["appDiffusionsList",4]],0,OW,[nS,tu,Te,Jv,$S,_u],{resId:[0,"resId"],adminMode:[1,"adminMode"],expanded:[2,"expanded"],target:[3,"target"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.currentResourceInformations.resId,!0,!0,e.detailMode?"details":"process")}),null)}function Dmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-sent-resource-list",[],null,[[null,"reloadBadgeSentResource"]],(function(n,l,e){var t=!0;return"reloadBadgeSentResource"===l&&(t=!1!==n.component.refreshBadge(e,"emails")&&t),t}),ypn,Xdn)),Di(1,114688,[["appSentResource",4]],0,Qdn,[nS,tu,Jv,$S,TI],{resId:[0,"resId"]},{reloadBadgeSentResource:"reloadBadgeSentResource"})],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function Fmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[6,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.privilegeService.hasCurrentUserPrivilege(e.detailMode?"config_visa_workflow_in_detail":"config_visa_workflow"),e.currentResourceInformations.resId)}),null)}function Emn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[7,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.privilegeService.hasCurrentUserPrivilege(e.detailMode?"config_avis_workflow_in_detail":"config_avis_workflow"),e.currentResourceInformations.resId)}),null)}function Omn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-attachments-list",[],null,[[null,"reloadBadgeAttachments"]],(function(n,l,e){var t=!0;return"reloadBadgeAttachments"===l&&(t=!1!==n.component.refreshBadge(e,"attachments")&&t),t}),scn,Usn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,[["appAttachmentsList",4]],0,zsn,[nS,tu,Jv,yu,_u,TI],{resId:[0,"resId"],target:[1,"target"],autoOpenCreation:[2,"autoOpenCreation"]},{reloadBadgeAttachments:"reloadBadgeAttachments"})],(function(n,l){var e=l.component;n(l,2,0,e.currentResourceInformations.resId,"process",e.isMailing)}),null)}function Tmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-select-indexing-model",[],null,[[null,"afterSelectedListModel"]],(function(n,l,e){var t=!0,i=n.component;return"afterSelectedListModel"===l&&(i.currentIndexingModel=e,t=!1!==i.indexingForm.loadForm(e.id,!1)&&t),t}),Dpn,Cpn)),Ei(512,null,HS,HS,[QS,$S]),Di(2,114688,[["appSelectIndexingModel",4]],0,xpn,[nS,_u,tu,HS,Jv],{defaultIndexingModelId:[0,"defaultIndexingModelId"],indexingForm:[1,"indexingForm"],adminMode:[2,"adminMode"]},{afterSelectedListModel:"afterSelectedListModel"})],(function(n,l){var e=l.component;n(l,2,0,e.currentResourceInformations.modelId,e.indexingForm,e.canChangeModel)}),null)}function Lmn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-indexing-form",[],null,[[null,"loadingFormEndEvent"],[null,"retrieveDocumentEvent"],[null,"reloadBadge"]],(function(n,l,e){var t=!0,i=n.component;return"loadingFormEndEvent"===l&&(t=!1!==i.triggerProcessAction()&&t),"retrieveDocumentEvent"===l&&(t=!1!==i.appDocumentViewer.saveDocService()&&t),"reloadBadge"===l&&(t=!1!==i.refreshBadge(1,"linkedResources")&&t),t}),Pln,Vnn)),Ei(4608,null,HS,HS,[QS,$S]),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(4,114688,[[4,4],["indexingForm",4]],0,jnn,[nS,tu,Jv,_u,yu,$S,uf],{indexingFormId:[0,"indexingFormId"],resId:[1,"resId"],groupId:[2,"groupId"],canEdit:[3,"canEdit"],mode:[4,"mode"]},{retrieveDocumentEvent:"retrieveDocumentEvent",loadingFormEndEvent:"loadingFormEndEvent",reloadBadge:"reloadBadge"})],(function(n,l){var e=l.component;n(l,4,0,e.currentResourceInformations.modelId,e.currentResourceInformations.resId,e.currentGroupId,e.canEditData,e.detailMode?"details":"process")}),null)}function Rmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveTool()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Nmn(n){return jo(0,[(n()(),_o(0,0,null,null,23,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Imn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Amn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mmn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Pmn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Dmn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Fmn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Emn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Omn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Tmn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Lmn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(21,0,null,null,2,"div",[["style","position: sticky;bottom: 0px;text-align:right;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Rmn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"history"===e.currentTool&&!e.loading),n(l,4,0,"notes"===e.currentTool&&!e.loading),n(l,6,0,"linkedResources"===e.currentTool&&!e.loading),n(l,8,0,"diffusionList"===e.currentTool&&!e.loading),n(l,10,0,"emails"===e.currentTool&&!e.loading),n(l,12,0,"visaCircuit"===e.currentTool&&!e.loading),n(l,14,0,"opinionCircuit"===e.currentTool&&!e.loading),n(l,16,0,"attachments"===e.currentTool&&!e.loading),n(l,18,0,"info"===e.currentTool&&!e.loading),n(l,20,0,"info"===e.currentTool&&!e.loading),n(l,23,0,e.isToolModified())}),null)}function jmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","openedModal"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fas fa-external-link-alt"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.openedInExternalModal)}))}function Vmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[2,"listModels-menu-selected",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.selectAction(n.parent.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[10,4],[11,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(2,0,null,0,1,"span",[["style","flex:1;"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,0,0,l.parent.context.$implicit.label,l.parent.context.$implicit.id===l.component.selectedAction.id,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,l.parent.context.$implicit.label)}))}function qmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Vmn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.showActionInCurrentCategory(l.context.$implicit))}),null)}function zmn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","button-form-primary-filled"],["mat-button",""],["style","width: 150px;align-items: center;justify-content: center;text-align: center;display: flex;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,e.actionService.loading||0===e.selectedAction.id||void 0!==e.appDocumentViewer&&!e.appDocumentViewer.isEditorLoaded())}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.validate)}))}function Umn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","button-form-primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-check mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Bmn(n){return jo(0,[(n()(),_o(0,0,null,null,36,null,null,null,null,null,null,null)),(n()(),_o(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","button-form-primary mat-menu-trigger"],["mat-button",""],["style","width:350px;margin-right:20px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(4,0,null,0,0,"span",[["class","menu-label"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(5,0,null,0,0,"i",[["class","fa fa-chevron-down menu-icon"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,26,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,10,{_allItems:1}),ko(603979776,11,{items:1}),ko(603979776,12,{lazyContent:0}),(n()(),_o(13,0,null,0,16,"div",[["class","menuTitle"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(27,0,[["listFilter",1]],1,2,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["id","searchTerm"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keydown"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,28)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,28)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,28)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keydown"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(28,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),vo(16777216,null,0,2,null,qmn)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(32,3),(n()(),vo(16777216,null,null,1,null,zmn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Umn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,0===e.selectedAction.id),n(l,3,0,bi(l,9)),n(l,9,0,"menuForm menuAction"),n(l,17,0,"outline","never"),n(l,28,0,"searchTerm",Wt(1,"",e.lang.filterBy,""));var t=bt(l,31,0,n(l,32,0,bi(l.parent.parent.parent,0),e.actionsList,bi(l,27).value,"label"));n(l,31,0,t),n(l,34,0,!e.appService.getViewMode()),n(l,36,0,e.appService.getViewMode())}),(function(n,l){var e=l.component;n(l,1,0,e.selectedAction.label,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,e.selectedAction.label),n(l,15,0,e.lang.actions),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,0,bi(l,28)._isServer,bi(l,28).id,bi(l,28).placeholder,bi(l,28).disabled,bi(l,28).required,bi(l,28).readonly&&!bi(l,28)._isNativeSelect||null,bi(l,28)._ariaDescribedby||null,bi(l,28).errorState,bi(l,28).required.toString())}))}function $mn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","emptyAction"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.noAvailableActionProcess)}))}function Hmn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","actions-indexing-form"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Bmn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$mn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.actionsList.length>0&&void 0!==e.selectedAction),n(l,4,0,0===e.actionsList.length)}),null)}function Gmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","listModels"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","processTool"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_mn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(4,0,null,null,7,"div",[["class","indexing-form-container"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ymn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Smn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Nmn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,jmn)),(n()(),vo(16777216,null,null,1,null,Hmn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,3,0,e.processTool),n(l,6,0,!e.isModalOpen()&&"dashboard"!==e.currentTool),n(l,8,0,"dashboard"===e.currentTool),n(l,10,0,!e.isModalOpen()&&!e.loading,bi(l,11)),n(l,13,0,!e.detailMode)}),null)}function Wmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","content-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"i",[["class","fas fa-flag"],["style","font-size: 25px;padding-right: 20px;"]],[[4,"color",null]],null,null,null,null)),(n()(),Lo(3,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,2,0,e.currentResourceInformations.priorityColor),n(l,3,0,e.currentResourceInformations.priorityLabel)}))}function Kmn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-circle"],["style","font-size: 8px"]],[[4,"color",null]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.senderLightInfo.filling)}))}function Ymn(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["style","font-weight: bold;"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(3,null,[" "," ","  "])),Fi(131072,xG,[Nl,La]),(n()(),_o(5,0,null,null,0,"i",[["class","fa fa-lock"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,1,0,bt(l,1,0,bi(l,2).transform(e.currentResourceInformations.closingDate))),n(l,3,0,e.lang.closed,bt(l,3,1,bi(l,4).transform(e.currentResourceInformations.closingDate,"full")))}))}function Jmn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(1,null,[""," :"])),(n()(),_o(2,0,null,null,2,"div",[["class","content-item-value"]],[[8,"title",0],[8,"innerHTML",1]],null,null,null,null)),Fi(0,wG,[$S]),Fi(131072,prn,[Nl,La])],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.processLimitDate),n(l,2,0,bt(l,2,0,bi(l,3).transform(e.currentResourceInformations.processLimitDate)),bt(l,2,1,bi(l,4).transform(e.currentResourceInformations.processLimitDate,"badge")))}))}function Zmn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","content-item"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ymn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseLimitDate",2]],null,0,null,Jmn))],(function(n,l){n(l,2,0,null!==l.component.currentResourceInformations.closingDate,bi(l,3))}),null)}function Qmn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0,i=n.component;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),"click"===l&&(t=!1!==i.toggleIntegration(n.context.$implicit.key)&&t),t}),PC,MC)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[8,"className",0],[2,"checked",null],[2,"unchecked",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.component.lang[l.context.$implicit.key]),n(l,4,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,l.context.$implicit.value.icon,e.currentResourceInformations.integrations[l.context.$implicit.key],!e.currentResourceInformations.integrations[l.context.$implicit.key],bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Xmn(n){return jo(0,[(n()(),_o(0,0,null,null,31,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"div",[["class","title"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"span",[["style","white-space: nowrap; padding-left: 10px; padding-right: 10px"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(3,null,[" "," "])),(n()(),_o(4,0,null,null,1,"small",[["class","subSubject"]],null,null,null,null,null)),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,24,"div",[["class","content"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,3,"button",[["class","categoryLabel"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleFollow()&&t),t}),PC,MC)),Di(9,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(10,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","font-size: 20px;"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,Wmn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,4,"div",[["class","content-item"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(16,null,[""," :"])),(n()(),_o(17,0,null,null,1,"div",[["class","content-item-value"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(18,null,[" ",""])),(n()(),_o(19,0,null,null,6,"div",[["class","content-item"],["style","cursor:pointer"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openContact()&&t),t}),null,null)),(n()(),_o(20,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(21,null,[""," :"])),(n()(),_o(22,0,null,null,3,"div",[["class","content-item-value"]],null,null,null,null,null)),(n()(),Lo(23,null,[""," "])),(n()(),vo(16777216,null,null,1,null,Kmn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Zmn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,null,3,"div",[["style","position: absolute;right: 0px;top: 0px;height: 100%;display: flex;flex-direction: column;justify-content: center;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,Qmn)),Di(30,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye])],(function(n,l){var e=l.component;n(l,11,0),n(l,13,0,void 0!==e.currentResourceInformations.priority),n(l,25,0,e.senderLightInfo.filling),n(l,27,0,void 0!==e.currentResourceInformations.processLimitDate),n(l,30,0,bt(l,30,0,bi(l,31).transform(e.integrationsInfo)))}),(function(n,l){var e=l.component;n(l,2,0,e.currentResourceInformations.subject+" ("+e.currentResourceInformations.statusLabel+")"),n(l,3,0,e.currentResourceInformations.subject),n(l,5,0,e.currentResourceInformations.statusLabel),n(l,8,0,e.resourceFollowed?e.lang.untrackThisMail:e.lang.trackThisMail,bi(l,9).disabled||null,"NoopAnimations"===bi(l,9)._animationMode),n(l,10,0,Wt(1,"followIcon ",e.resourceFollowed?"fas":"far"," fa-star"),bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color),n(l,16,0,e.lang.chronoNumberShort),n(l,17,0,"N° "+e.currentResourceInformations.resId),n(l,18,0,e.currentResourceInformations.chrono),n(l,21,0,"outgoing"!==e.currentResourceInformations.categoryId?e.lang.senders:e.lang.recipient),n(l,23,0,e.senderLightInfo.displayName)}))}function nfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loadingBanner"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["diameter","35"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],{diameter:[0,"diameter"]},null)],(function(n,l){n(l,2,0,"35")}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function lfn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-document-viewer",[["style","height:100%;width:100%;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,[[3,4],["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{resId:[0,"resId"],editMode:[1,"editMode"],title:[2,"title"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.currentResourceInformations.resId,e.canEditData,e.currentResourceInformations.chrono+" - "+e.currentResourceInformations.subject)}),null)}function efn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-history-list",[],null,null,null,kX,QQ)),Di(1,114688,[["appHistoryList",4]],0,JQ,[nS,tu,_u,Jv,$S,QS,TI],{resId:[0,"resId"]},null)],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function tfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-notes-list",[],null,null,null,Lsn,ksn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,[["appNotesList",4]],0,Csn,[nS,tu,_u,Jv,$S],{resId:[0,"resId"],editMode:[1,"editMode"]},null)],(function(n,l){n(l,2,0,l.component.currentResourceInformations.resId,!0)}),null)}function ifn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-linked-resource-list",[],null,[[null,"reloadBadgeLinkedResources"]],(function(n,l,e){var t=!0;return"reloadBadgeLinkedResources"===l&&(t=!1!==n.component.refreshBadge(e,"linkedResources")&&t),t}),Ydn,qdn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,[["appLinkedResourceList",4]],0,Vdn,[nS,tu,yu,Jv,$S,TI],{resId:[0,"resId"]},{reloadBadgeLinkedResources:"reloadBadgeLinkedResources"})],(function(n,l){n(l,2,0,l.component.currentResourceInformations.resId)}),null)}function afn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-diffusions-list",[],null,null,null,JW,TW)),Di(1,114688,[[5,4],["appDiffusionsList",4]],0,OW,[nS,tu,Te,Jv,$S,_u],{resId:[0,"resId"],adminMode:[1,"adminMode"],expanded:[2,"expanded"],target:[3,"target"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.currentResourceInformations.resId,!0,!0,e.detailMode?"details":"process")}),null)}function ofn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-sent-resource-list",[],null,[[null,"reloadBadgeSentResource"]],(function(n,l,e){var t=!0;return"reloadBadgeSentResource"===l&&(t=!1!==n.component.refreshBadge(e,"emails")&&t),t}),ypn,Xdn)),Di(1,114688,[["appSentResource",4]],0,Qdn,[nS,tu,Jv,$S,TI],{resId:[0,"resId"]},{reloadBadgeSentResource:"reloadBadgeSentResource"})],(function(n,l){n(l,1,0,l.component.currentResourceInformations.resId)}),null)}function rfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[6,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.privilegeService.hasCurrentUserPrivilege(e.detailMode?"config_visa_workflow_in_detail":"config_visa_workflow"),e.currentResourceInformations.resId)}),null)}function ufn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[7,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.privilegeService.hasCurrentUserPrivilege(e.detailMode?"config_avis_workflow_in_detail":"config_avis_workflow"),e.currentResourceInformations.resId)}),null)}function sfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-attachments-list",[],null,[[null,"reloadBadgeAttachments"]],(function(n,l,e){var t=!0;return"reloadBadgeAttachments"===l&&(t=!1!==n.component.refreshBadge(e,"attachments")&&t),t}),scn,Usn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,[["appAttachmentsList",4]],0,zsn,[nS,tu,Jv,yu,_u,TI],{resId:[0,"resId"],autoOpenCreation:[1,"autoOpenCreation"]},{reloadBadgeAttachments:"reloadBadgeAttachments"})],(function(n,l){var e=l.component;n(l,2,0,e.currentResourceInformations.resId,e.isMailing)}),null)}function cfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-select-indexing-model",[],null,[[null,"afterSelectedListModel"]],(function(n,l,e){var t=!0,i=n.component;return"afterSelectedListModel"===l&&(i.currentIndexingModel=e,t=!1!==i.indexingForm.loadForm(e.id,!1)&&t),t}),Dpn,Cpn)),Ei(512,null,HS,HS,[QS,$S]),Di(2,114688,[["appSelectIndexingModel",4]],0,xpn,[nS,_u,tu,HS,Jv],{defaultIndexingModelId:[0,"defaultIndexingModelId"],indexingForm:[1,"indexingForm"],adminMode:[2,"adminMode"]},{afterSelectedListModel:"afterSelectedListModel"})],(function(n,l){var e=l.component;n(l,2,0,e.currentResourceInformations.modelId,e.indexingForm,e.canChangeModel)}),null)}function dfn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-indexing-form",[],null,[[null,"loadingFormEndEvent"],[null,"retrieveDocumentEvent"],[null,"reloadBadge"]],(function(n,l,e){var t=!0,i=n.component;return"loadingFormEndEvent"===l&&(t=!1!==i.triggerProcessAction()&&t),"retrieveDocumentEvent"===l&&(t=!1!==i.appDocumentViewer.saveDocService()&&t),"reloadBadge"===l&&(t=!1!==i.refreshBadge(1,"linkedResources")&&t),t}),Pln,Vnn)),Ei(4608,null,HS,HS,[QS,$S]),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(4,114688,[[4,4],["indexingForm",4]],0,jnn,[nS,tu,Jv,_u,yu,$S,uf],{indexingFormId:[0,"indexingFormId"],resId:[1,"resId"],groupId:[2,"groupId"],canEdit:[3,"canEdit"],mode:[4,"mode"]},{retrieveDocumentEvent:"retrieveDocumentEvent",loadingFormEndEvent:"loadingFormEndEvent",reloadBadge:"reloadBadge"})],(function(n,l){var e=l.component;n(l,4,0,e.currentResourceInformations.modelId,e.currentResourceInformations.resId,e.currentGroupId,e.canEditData,e.detailMode?"details":"process")}),null)}function pfn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.confirmModification()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function mfn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveListinstance()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function ffn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveVisaWorkflow()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function hfn(n){return jo(0,[(n()(),_o(0,16777216,null,null,41,"div",[["cdkDrag",""],["cdkDragBoundary",".process-content"],["class","cdk-drag"]],[[8,"className",0],[2,"largeModal",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Di(1,4866048,null,3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{boundaryElement:[0,"boundaryElement"]},null),ko(603979776,22,{_handles:1}),ko(603979776,23,{_previewTemplate:0}),ko(603979776,24,{_placeholderTemplate:0}),Ei(2048,null,VU,null,[$U]),(n()(),_o(6,0,null,null,7,"div",[["cdkDragHandle",""],["class","modal-module-title cdk-drag-handle"]],null,null,null,null,null)),Di(7,147456,[[22,4]],0,qU,[Pe,[2,VU]],null,null),(n()(),_o(8,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(9,null,[" "," "])),(n()(),_o(10,0,null,null,3,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeModal(n.context.index)&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(12,0,null,0,1,"mat-icon",[["class","fas fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(14,0,null,null,27,"div",[["class","modal-module-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,efn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tfn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ifn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,afn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ofn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rfn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ufn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,sfn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cfn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dfn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,null,6,"div",[["style","position: sticky;bottom: 0px;text-align:right;padding:15px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,pfn)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mfn)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ffn)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,".process-content"),n(l,13,0),n(l,16,0,"history"===l.context.$implicit.id&&!e.loading),n(l,18,0,"notes"===l.context.$implicit.id&&!e.loading),n(l,20,0,"linkedResources"===l.context.$implicit.id&&!e.loading),n(l,22,0,"diffusionList"===l.context.$implicit.id&&!e.loading),n(l,24,0,"emails"===l.context.$implicit.id&&!e.loading),n(l,26,0,"visaCircuit"===l.context.$implicit.id&&!e.loading),n(l,28,0,"opinionCircuit"===l.context.$implicit.id&&!e.loading),n(l,30,0,"attachments"===l.context.$implicit.id&&!e.loading),n(l,32,0,"info"===l.context.$implicit.id&&!e.loading),n(l,34,0,"info"===l.context.$implicit.id&&!e.loading),n(l,37,0,void 0!==e.indexingForm&&e.indexingForm.isResourceModified()&&"info"===l.context.$implicit.id),n(l,39,0,void 0!==e.appDiffusionsList&&e.appDiffusionsList.isModified()&&"diffusionList"===l.context.$implicit.id),n(l,41,0,void 0!==e.appVisaWorkflow&&e.appVisaWorkflow.isModified()&&"visaCircuit"===l.context.$implicit.id)}),(function(n,l){n(l,0,0,Wt(1,"modal-module ",l.context.$implicit.id,""),"info"===l.context.$implicit.id||"history"===l.context.$implicit.id,bi(l,1).disabled,bi(l,1)._dragRef.isDragging()),n(l,9,0,l.context.$implicit.label),n(l,10,0,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,12,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color)}))}function gfn(n){return jo(0,[Fi(0,iB,[QS]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{adminMenuTemplate:0}),ko(671088640,3,{appDocumentViewer:0}),ko(671088640,4,{indexingForm:0}),ko(671088640,5,{appDiffusionsList:0}),ko(671088640,6,{appVisaWorkflow:0}),ko(671088640,7,{appAvisWorkflow:0}),(n()(),_o(8,0,null,null,30,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(9,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,8,{_drawers:1}),ko(603979776,9,{_content:0}),(n()(),vo(0,[[2,2],["adminMenuTemplate",2]],2,0,null,Gmn)),(n()(),_o(13,0,null,1,20,"mat-sidenav-content",[["class","process-content mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(14,1294336,[[9,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(15,0,null,0,12,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(17,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(19,114688,null,0,GO,[_u],null,null),(n()(),_o(20,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(22,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(23,0,null,null,4,"div",[["class","bg-head-content"],["style","padding-bottom: 20px;"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(24,0,null,null,3,"div",[["class","resourceInfo"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Xmn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseInfoRes",2]],null,0,null,nfn)),(n()(),_o(28,0,null,0,3,"div",[["class","document-container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(29,0,null,null,2,"div",[["class","content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,lfn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,hfn)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(34,0,null,0,4,"mat-sidenav",[["autoFocus","false"],["class","panel-right mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[2,"docView",null],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,38)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,38)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(36,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(37,{width:0}),Di(38,3325952,[[8,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"],fixedInViewport:[4,"fixedInViewport"]},null)],(function(n,l){var e=l.component;n(l,9,0),n(l,14,0),n(l,19,0),n(l,22,0),n(l,26,0,!e.loading,bi(l,27)),n(l,31,0,!e.loading),n(l,33,0,e.modalModule);var t=n(l,37,0,e.appService.getViewMode()?"80%":"30%");n(l,36,0,t),n(l,38,0,"end",e.appService.getViewMode()?"over":"side","false",(e.appService.getViewMode(),!1),e.appService.getViewMode())}),(function(n,l){var e=l.component;n(l,8,0,bi(l,9)._backdropOverride),n(l,13,0,bi(l,14)._container._contentMargins.left,bi(l,14)._container._contentMargins.right),n(l,16,0,e.appService.getViewMode()),n(l,23,0,e.appService.getViewMode()),n(l,28,0,e.appService.getViewMode()),n(l,34,1,[!e.filtersListService.filterMode,null,"end"===bi(l,38).position,"over"===bi(l,38).mode,"push"===bi(l,38).mode,"side"===bi(l,38).mode,bi(l,38).opened,bi(l,38).fixedInViewport,bi(l,38).fixedInViewport?bi(l,38).fixedTopGap:null,bi(l,38).fixedInViewport?bi(l,38).fixedBottomGap:null,bi(l,38)._animationState])}))}function bfn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"ng-component",[],null,null,null,gfn,bmn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,tsn,tsn,[nS,Jv,tu,uf,_u,$S]),Ei(512,null,L1,L1,[nS,$S]),Di(4,245760,null,0,gmn,[Zp,Zp,nS,Jv,_u,Trn,tu,Zg,lt,yu,tsn,L1,uf,TI,$S],null,null)],(function(n,l){n(l,4,0)}),null)}var vfn=oi("ng-component",gmn,bfn,{},{},[]),_fn=function(){function n(n,l,e,t,i,a){this.http=n,this.notify=l,this.dialog=e,this.router=t,this.headerService=i,this.foldersService=a,this.lang=Kr,this.loading=!1,this.triggerEvent=new la,this.contextMenuPosition={x:"0px",y:"0px"},this.contextMenuTitle="",this.currentAction={},this.basketInfo={},this.contextResId=0,this.currentLock=null,this.arrRes=[],this.actionsList=[],this.basketList={groups:[],list:[]},this.refreshEvent=new la,this.refreshPanelFolders=new la}return n.prototype.ngOnInit=function(){},n.prototype.open=function(n,l,e){return this.contextMenuPosition.x=n+"px",this.contextMenuPosition.y=l+"px",this.contextMenuTitle=e.chrono,this.contextResId=e.resId,this.contextMenu.openMenu(),!1},n.prototype.refreshFolders=function(){this.refreshPanelFolders.emit()},n.prototype.refreshDaoAfterAction=function(){this.refreshEvent.emit()},n.prototype.unclassify=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:"Voulez-vous enlever <b>"+this.selectedRes.length+"</b> document(s) du classement ?"}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.request("DELETE","../../rest/folders/"+n.currentFolderInfo.id+"/resources",{body:{resources:n.selectedRes}})})),Yr((function(l){n.notify.success(n.lang.removedFromFolder),n.refreshFolders(),n.foldersService.getPinnedFolders(),n.refreshDaoAfterAction()})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.getBaskets=function(){var n=this;this.http.get("../../rest/folders/"+this.currentFolderInfo.id+"/resources/"+this.selectedRes+"/baskets").pipe(Yr((function(l){n.basketList.groups=l.groupsBaskets.filter((function(n,l,e){return n&&e.map((function(n){return n.groupId})).indexOf(n.groupId)===l})),n.basketList.list=l.groupsBaskets})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.goTo=function(n){this.contextMenuTitle!==this.lang.undefined?this.router.navigate(["/basketList/users/"+this.headerService.user.id+"/groups/"+n.groupId+"/baskets/"+n.basketId],{queryParams:{chrono:'"'+this.contextMenuTitle+'"'}}):this.router.navigate(["/basketList/users/"+this.headerService.user.id+"/groups/"+n.groupId+"/baskets/"+n.basketId])},n.prototype.unFollow=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.stopFollowingAlert}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:n.selectedRes}})})),Yr((function(l){n.notify.success(n.lang.removedFromFolder),n.headerService.nbResourcesFollowed-=l.unFollowed,n.refreshDaoAfterAction()})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n}(),yfn=yt({encapsulation:0,styles:[[".mat-icon[_ngcontent-%COMP%]{height:auto}.mat-stroked-button[_ngcontent-%COMP%]{border-radius:20px;border-color:#135f7f;color:#135f7f} .actionListMenu .mat-menu-content{padding-top:0;padding-bottom:0}.folderAction[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .followAction[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;color:#8e3e52}.basketGroupName[_ngcontent-%COMP%]{color:#135f7f;padding-left:10px;padding-right:10px}.labelBasket[_ngcontent-%COMP%]{color:#666;font-size:12px;font-weight:700}.noAvailableBasket[_ngcontent-%COMP%]{text-align:center;font-size:12px;opacity:.5;font-style:italic;padding:22px}"]],data:{}});function wfn(n){return jo(0,[(n()(),_o(0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(3,0,["",""])),(n()(),_o(4,0,null,0,2,"mat-icon",[["class","fa fa-caret-down mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,16384,null,0,oT,[],null,null),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,9)),n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,e.lang.actionsAlt),n(l,4,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function xfn(n){return jo(0,[(n()(),_o(0,16777216,[["menu2",1]],null,1,"span",[["aria-haspopup","true"],["class","mat-menu-trigger"],["style","position: fixed;"]],[[4,"left",null],[4,"top",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,1)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),t}),null,null)),Di(1,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,bi(l.parent,9))}),(function(n,l){var e=l.component;n(l,0,0,e.contextMenuPosition.x,e.contextMenuPosition.y,bi(l,1).menuOpen||null)}))}function Cfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.contextMenuTitle)}))}function kfn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"menuOpened"],[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),"menuOpened"===l&&(t=!1!==i.getBaskets()&&t),t}),lL,nL)),Di(1,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),Di(2,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},{menuOpened:"menuOpened"}),(n()(),_o(3,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,20))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null,bi(l,2).menuOpen||null),n(l,4,0,e.lang.goToBasket)}))}function Sfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","labelBasket mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.goTo(n.parent.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[5,4],[6,4],[2,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,[""," "]))],null,(function(n,l){n(l,0,0,Wt(1,"",l.parent.context.$implicit.basketName,""),bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.parent.context.$implicit.basketName)}))}function Ifn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Sfn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.groupId===l.parent.context.$implicit.groupId)}),null)}function Afn(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","basketGroupName"]],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),vo(16777216,null,null,2,null,Ifn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(5,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=bt(l,4,0,n(l,5,0,bi(l.parent,0),e.basketList.list,"basketName"));n(l,4,0,t)}),(function(n,l){n(l,2,0,l.context.$implicit.groupName)}))}function Mfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noAvailableBasket"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.mailNotPresentInBasket)}))}function Pfn(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(671088640,1,{contextMenu:0}),(n()(),vo(16777216,null,null,1,null,wfn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,xfn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,41,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,2,{_allItems:1}),ko(603979776,3,{items:1}),ko(603979776,4,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,Cfn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,kfn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(17,0,null,0,11,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(20,1294336,[["baskets",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,5,{_allItems:1}),ko(603979776,6,{items:1}),ko(603979776,7,{lazyContent:0}),(n()(),vo(16777216,null,0,2,null,Afn)),Di(25,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(26,2),(n()(),vo(16777216,null,0,1,null,Mfn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(29,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(30,49152,null,0,mI,[],null,null),(n()(),_o(31,0,null,0,5,"button",[["class","followAction mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,32)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,32)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.unFollow()&&t),t}),lL,nL)),Di(32,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(33,0,null,0,1,"mat-icon",[["class","far fa-star fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(34,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(35,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(36,null,["",""])),(n()(),_o(37,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(38,49152,null,0,mI,[],null,null),(n()(),_o(39,0,null,0,5,"button",[["class","folderAction mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,40)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,40)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.unclassify()&&t),t}),lL,nL)),Di(40,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(41,0,null,0,1,"mat-icon",[["class","fa fa-folder-minus fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(42,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(43,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(44,null,["",""])),(n()(),_o(45,0,null,0,2,"folder-menu",[],null,[[null,"refreshList"],[null,"refreshFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshList"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshFolders"===l&&(t=!1!==i.refreshFolders()&&t),t}),wun,uun)),Ei(512,null,tu,tu,[uf,hk]),Di(47,114688,null,0,run,[nS,tu,Jv,Te,ru,$S],{resIds:[0,"resIds"]},{refreshFolders:"refreshFolders",refreshList:"refreshList"})],(function(n,l){var e=l.component;n(l,3,0,!e.contextMode),n(l,5,0,e.contextMode),n(l,9,0,"actionListMenu"),n(l,14,0,e.contextMode&&1==e.selectedRes.length),n(l,16,0,1==e.selectedRes.length),n(l,20,0,"folderListMenu");var t=bt(l,25,0,n(l,26,0,bi(l,0),e.basketList.groups,"groupName"));n(l,25,0,t),n(l,28,0,0==e.basketList.groups.length),n(l,32,0,0===e.selectedRes.length),n(l,34,0),n(l,40,0,0===e.selectedRes.length),n(l,42,0),n(l,47,0,e.selectedRes)}),(function(n,l){var e=l.component;n(l,29,0,bi(l,30).vertical?"vertical":"horizontal",bi(l,30).vertical,!bi(l,30).vertical,bi(l,30).inset),n(l,31,0,bi(l,32).role,bi(l,32)._highlighted,bi(l,32)._triggersSubmenu,bi(l,32)._getTabIndex(),bi(l,32).disabled.toString(),bi(l,32).disabled||null),n(l,33,0,bi(l,34).inline,"primary"!==bi(l,34).color&&"accent"!==bi(l,34).color&&"warn"!==bi(l,34).color),n(l,36,0,e.lang.untrackThisMail),n(l,37,0,bi(l,38).vertical?"vertical":"horizontal",bi(l,38).vertical,!bi(l,38).vertical,bi(l,38).inset),n(l,39,0,bi(l,40).role,bi(l,40)._highlighted,bi(l,40)._triggersSubmenu,bi(l,40)._getTabIndex(),bi(l,40).disabled.toString(),bi(l,40).disabled||null),n(l,41,0,bi(l,42).inline,"primary"!==bi(l,42).color&&"accent"!==bi(l,42).color&&"warn"!==bi(l,42).color),n(l,44,0,e.lang.removeFromFolder)}))}var Dfn=function(){function n(n,l,e,t,i){var a=this;this.http=n,this.appService=l,this.headerService=e,this.notify=t,this.actionService=i,this.lang=Kr,this.loading=!0,this.hoverEditGroupOrder=!1,this.homeData=null,this.currentBasketInfo={ownerId:0,groupId:0,basketId:""},this.refreshEvent=new la,this.editOrderGroups=!1,this.subscription=this.actionService.catchAction().subscribe((function(n){a.refreshBasketHome()}))}return n.prototype.ngOnInit=function(){this.getMyBaskets()},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.getMyBaskets=function(){var n=this;this.loading=!0,this.http.get("../../rest/home").pipe(Yr((function(l){n.homeData=l})),iu((function(){n.loading=!1}))).subscribe()},n.prototype.closePanelLeft=function(){this.appService.getViewMode()&&this.snavL.close()},n.prototype.refreshDatas=function(n){this.refreshBasketHome(),this.headerService.headerMessage===n.basket_name&&this.actionService.emitAction()},n.prototype.refreshBasketHome=function(){var n=this;this.http.get("../../rest/home").subscribe((function(l){n.homeData=l}))},n.prototype.togglePanel=function(n){n?this.basketPanel.open():this.basketPanel.close()},n.prototype.editGroupOrder=function(){this.editOrderGroups=!this.editOrderGroups},n.prototype.updateGroupsOrder=function(){var n=this,l=this.homeData.regroupedBaskets.map((function(n){return n.groupSerialId}));this.http.put("../../rest/currentUser/profile/preferences",{homeGroups:l}).pipe(Yr((function(){return n.notify.success(n.lang.parameterUpdated)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n}(),Ffn=function(){function n(n,l,e,t,i,a,o,r,u,s,c,d,p){var m=this;this.router=n,this.route=l,this.http=e,this.dialog=t,this.sanitizer=i,this.headerService=a,this.filtersListService=o,this.notify=r,this.overlay=u,this.viewContainerRef=s,this.appService=c,this.foldersService=d,this.functions=p,this.lang=Kr,this.loading=!1,this.docUrl="",this.injectDatasParam={resId:0,editable:!1},this.currentResource={},this.filtersChange=new la,this.dragInit=!0,this.displayedColumnsBasket=["resId"],this.displayedMainData=[{value:"chrono",cssClasses:["softColorData","align_centerData","chronoData"],icon:""},{value:"subject",cssClasses:["longData"],icon:""}],this.resultsLength=0,this.isLoadingResults=!0,this.listProperties={},this.currentChrono="",this.currentMode="",this.thumbnailUrl="",this.selectedRes=[],this.allResInBasket=[],this.selectedDiffusionTab=0,this.folderInfo={id:0,label:"",ownerDisplayName:"",entitiesSharing:[]},this.folderInfoOpened=!1,this.destroy$=new M,this.currentSelectedChrono="",$j("link[href='merged_css.php']").remove(),this.subscription=this.foldersService.catchEvent().subscribe((function(n){"refreshFolderInformations"===n.type&&n.content.id==m.folderInfo.id&&m.refreshFolderInformations(),"function"===n.type&&"refreshDao"===n.content&&m.refreshDao()}))}return n.prototype.ngOnInit=function(){var n=this;this.loading=!1,this.isLoadingResults=!1,this.route.params.subscribe((function(l){n.folderInfoOpened=!1,n.dragInit=!0,n.destroy$.next(!0),n.http.get("../../rest/folders/"+l.folderId).subscribe((function(e){var t=[{keyword:"ALL_ENTITIES",text:n.lang.allEntities}];n.folderInfo={id:l.folderId,label:e.folder.label,ownerDisplayName:e.folder.ownerDisplayName,entitiesSharing:e.folder.sharing.entities.map((function(l){return n.functions.empty(l.label)?t.filter((function(n){return n.keyword===l.keyword}))[0].text:l.label}))},n.foldersService.setFolder(n.folderInfo),n.headerService.setHeader(n.folderInfo.label,"","fa fa-folder-open")})),n.basketUrl="../../rest/folders/"+l.folderId+"/resources",n.filtersListService.filterMode=!1,n.selectedRes=[],n.sidenavRight.close(),n.listProperties=n.filtersListService.initListsProperties(n.headerService.user.id,0,l.folderId,"folder"),setTimeout((function(){n.dragInit=!1}),1e3),n.initResultList()}),(function(l){n.notify.handleErrors(l)}))},n.prototype.ngOnDestroy=function(){this.destroy$.next(!0),this.subscription.unsubscribe()},n.prototype.initResultList=function(){var n=this;this.resultListDatabase=new Efn(this.http,this.filtersListService),this.paginator.pageIndex=this.listProperties.page,this.paginator.pageSize=this.listProperties.pageSize,this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){return n.isLoadingResults=!0,n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.basketUrl,n.filtersListService.getUrlFilters(),n.paginator.pageSize)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.countResources,n.allResInBasket=l.allResources,l.resources})),Qr((function(l){return n.notify.handleErrors(l),n.router.navigate(["/home"]),n.isLoadingResults=!1,lu(!1)}))).subscribe((function(l){return n.data=l}))},n.prototype.goTo=function(n){this.filtersListService.filterMode=!1,this.docUrl=="../../rest/resources/"+n.resId+"/content"&&this.sidenavRight.opened?this.sidenavRight.close():(this.docUrl="../../rest/resources/"+n.resId+"/content",this.currentChrono=n.chrono,this.innerHtml=this.sanitizer.bypassSecurityTrustHtml("<iframe style='height:100%;width:100%;' src='"+this.docUrl+"' class='embed-responsive-item'></iframe>"),this.sidenavRight.open())},n.prototype.goToDetail=function(n){this.router.navigate(["/resources/"+n.resId])},n.prototype.goToFolder=function(n){this.router.navigate(["/folders/"+n.id])},n.prototype.togglePanel=function(n,l){l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l),this.currentResource.resId===l.resId&&this.sidenavRight.opened&&this.currentMode===n?this.sidenavRight.close():(this.currentMode=n,this.currentResource=l,this.appPanelList.loadComponent(n,l),this.sidenavRight.open())},n.prototype.refreshBadgeNotes=function(n){this.currentResource.countNotes=n},n.prototype.refreshFolderInformations=function(){var n=this;this.http.get("../../rest/folders/"+this.folderInfo.id).subscribe((function(l){var e=[{keyword:"ALL_ENTITIES",text:n.lang.allEntities}];n.folderInfo={id:l.folder.id,label:l.folder.label,ownerDisplayName:l.folder.ownerDisplayName,entitiesSharing:l.folder.sharing.entities.map((function(l){return n.functions.empty(l.label)?e.filter((function(n){return n.keyword===l.keyword}))[0].text:l.label}))},n.headerService.setHeader(n.folderInfo.label,"","fa fa-folder-open")}))},n.prototype.refreshBadgeAttachments=function(n){this.currentResource.countAttachments=n},n.prototype.refreshDao=function(){this.paginator.pageIndex=this.listProperties.page,this.filtersChange.emit()},n.prototype.refreshDaoAfterAction=function(){this.sidenavRight.close(),this.refreshDao(),this.toggleAllRes({checked:!1})},n.prototype.viewThumbnail=function(n){n.hasDocument&&(this.thumbnailUrl="../../rest/resources/"+n.resId+"/thumbnail",$j("#viewThumbnail").show(),$j("#listContent").css({overflow:"hidden"}))},n.prototype.closeThumbnail=function(){$j("#viewThumbnail").hide(),$j("#listContent").css({overflow:"auto"})},n.prototype.processPostData=function(n){var l=this;return n.resources.forEach((function(n){Object.keys(n).forEach((function(e){"statusImage"===e&&null==n[e]?n[e]="fa-question undefined":null!=n[e]&&""!==n[e]||-1!==["closingDate","countAttachments","countNotes","display","mailTracking","hasDocument"].indexOf(e)||(n[e]=l.lang.undefined)})),n.checked=-1!==l.selectedRes.indexOf(n.resId)})),n},n.prototype.toggleRes=function(n,l){if(n.checked)-1===this.selectedRes.indexOf(l.resId)&&(this.selectedRes.push(l.resId),l.checked=!0);else{var e=this.selectedRes.indexOf(l.resId);this.selectedRes.splice(e,1),l.checked=!1}},n.prototype.toggleAllRes=function(n){this.selectedRes=[],n.checked?(this.data.forEach((function(n){n.checked=!0})),this.selectedRes=JSON.parse(JSON.stringify(this.allResInBasket))):this.data.forEach((function(n){n.checked=!1}))},n.prototype.selectSpecificRes=function(n){this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},n)},n.prototype.open=function(n,l){var e=n.x,t=n.y;return!1===l.checked&&(l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l)),this.actionsList.open(e,t,l),!1},n.prototype.listTodrag=function(){return this.foldersService.getDragIds()},n.prototype.toggleMailTracking=function(n){var l=this;n.mailTracking?this.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:[n.resId]}}).pipe(Yr((function(){l.headerService.nbResourcesFollowed--,n.mailTracking=!n.mailTracking})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe():this.http.post("../../rest/resources/follow",{resources:[n.resId]}).pipe(Yr((function(){l.headerService.nbResourcesFollowed++,n.mailTracking=!n.mailTracking})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.viewDocument=function(n){window.open("../../rest/resources/"+n.resId+"/content?mode=view","_blank")},n}(),Efn=function(){function n(n,l){this.http=n,this.filtersListService=l}return n.prototype.getRepoIssues=function(n,l,e,t,i,a){return this.filtersListService.updateListsPropertiesPage(e),this.filtersListService.updateListsPropertiesPageSize(a),this.http.get(t+"?limit="+a+"&offset="+e*a+i)},n}(),Ofn=yt({encapsulation:0,styles:[[".dragPreview[_ngcontent-%COMP%]{text-align:center;border-radius:5px;background:#fff;padding:10px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);color:#135f7f}.banner-opened[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:10px;border-radius:20px;border:1px solid #ccc;position:relative;padding:20px;background:#1a80ab;width:100%}.banner-opened[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;letter-spacing:2px;position:absolute;top:-18px;left:20px;padding:0;margin:0;color:#fff}.banner-opened[_ngcontent-%COMP%] .title-divider[_ngcontent-%COMP%]{position:absolute;width:99%;z-index:-1;top:17px;background:#1a80ab;height:1px}.banner-opened[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:16px}.banner-opened[_ngcontent-%COMP%] .content-item[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;padding-left:20px;padding-right:20px}.banner-opened[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .private[_ngcontent-%COMP%]{font-style:italic;display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;-webkit-box-align:center;align-items:center}.banner-closed[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:10px;position:relative;width:100%}.banner-closed[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;letter-spacing:2px;position:absolute;top:-18px;left:20px;padding:0;margin:0;color:#fff}.followIcon[_ngcontent-%COMP%]{color:#f99830}.folder-info[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.badge-folder[_ngcontent-%COMP%]{cursor:pointer;background:#f99830;margin:5px;font-size:12px;border-radius:3px;opacity:.8;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]],data:{}});function Tfn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","title-divider"]],null,null,null,null,null))],null,null)}function Lfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","content-item private"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.privateFolder)}))}function Rfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[["color","secondary"]],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.context.$implicit)}))}function Nfn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","content-item"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," :"])),(n()(),_o(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,3,"div",[["style","max-height: 100px;overflow: auto;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,Rfn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(6,1)],(function(n,l){var e=l.component,t=bt(l,5,0,n(l,6,0,bi(l.parent.parent,0),e.folderInfo.entitiesSharing));n(l,5,0,t)}),(function(n,l){n(l,1,0,l.component.lang.visibleBy)}))}function jfn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","content"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["class","content-item"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," :"])),(n()(),_o(3,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""])),(n()(),vo(16777216,null,null,1,null,Lfn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Nfn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,7,0,0===e.folderInfo.entitiesSharing.length),n(l,9,0,e.folderInfo.entitiesSharing.length>0)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.owner),n(l,5,0,e.folderInfo.ownerDisplayName)}))}function Vfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function qfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Vfn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function zfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"small",[],null,null,null,null,null)),(n()(),Lo(1,null,["- "," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.selectedRes.length,e.lang.selected)}))}function Ufn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"title",0],[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{color:0}),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=n(l,3,0,l.parent.parent.context.$implicit.priorityColor);n(l,2,0,e),n(l,4,0,"primary")}),(function(n,l){var e=Wt(1,"",l.parent.parent.context.$implicit.statusLabel,""),t=Wt(5,"",l.parent.parent.context.$implicit.statusImage.charAt(0),"",l.parent.parent.context.$implicit.statusImage.charAt(1)," ",l.parent.parent.context.$implicit.statusImage," ",l.parent.parent.context.$implicit.statusImage.charAt(0),"",l.parent.parent.context.$implicit.statusImage.charAt(1),"-2x");n(l,0,0,e,t,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Bfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","watermark"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.confidential)}))}function $fn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fa fa-lock fa-2x mat-icon notranslate"],["role","img"],["style","color: red;"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,Wt(2,"",l.component.lang.warnLockResInProgress," : ",l.parent.parent.context.$implicit.locker,""),bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function Hfn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"span",[["class","main-info-status"],["style","cursor:pointer;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ufn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Bfn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$fn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,!0!==l.parent.context.$implicit.isLocked),n(l,4,0,"Y"===l.parent.context.$implicit.confidentiality),n(l,6,0,!0===l.parent.context.$implicit.isLocked)}),null)}function Gfn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"span",[["style","color: rgba(0,0,0,0.4);font-size: 90%;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"i",[["class","fas fa-barcode"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(3,null,[" ",""]))],null,(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.barcode,"")),n(l,3,0,l.parent.parent.context.$implicit.barcode)}))}function Wfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.chrono)}))}function Kfn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[["class","main-info-data"],["style","width:200px;text-align:center;cursor:pointer;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Gfn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Wfn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,l.parent.context.$implicit.chrono==e.lang.undefined&&l.parent.context.$implicit.barcode!=e.lang.undefined),n(l,4,0,l.parent.context.$implicit.chrono!=e.lang.undefined)}),null)}function Yfn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["color","warn"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.documentOutOfPerimeter)}))}function Jfn(n){return jo(0,[(n()(),_o(0,0,null,null,25,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[2,"noData",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("note",n.parent.context.$implicit)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-comments fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),Di(5,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(6,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[2,"noData",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("attachment",n.parent.context.$implicit)&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(8,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-paperclip fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),Di(10,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(11,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("diffusion",n.parent.context.$implicit)&&t),t}),PC,MC)),Di(12,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(13,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-sitemap fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(14,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),(n()(),_o(15,0,null,null,6,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.viewDocument(n.parent.context.$implicit)&&t),"mouseenter"===l&&(t=!1!==i.viewThumbnail(n.parent.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.closeThumbnail()&&t),t}),PC,MC)),Di(16,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(17,0,null,0,4,"mat-icon",[["class","fa mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(19,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(20,1),Di(21,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(22,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.goToDetail(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(23,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(24,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-info-circle fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(25,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){var e=l.component;n(l,4,0,bi(l.parent.parent,92).opened&&l.parent.context.$implicit.checked&&"note"==e.currentMode?"primary":"","fas","fa-comments fa-2x"),n(l,5,0,Wt(1,"",l.parent.context.$implicit.countNotes,""),Wt(1,"",0==l.parent.context.$implicit.countNotes,"")),n(l,9,0,bi(l.parent.parent,92).opened&&l.parent.context.$implicit.checked&&"attachment"==e.currentMode?"primary":"","fas","fa-paperclip fa-2x"),n(l,10,0,Wt(1,"",l.parent.context.$implicit.countAttachments,""),Wt(1,"",0==l.parent.context.$implicit.countAttachments,"")),n(l,14,0,bi(l.parent.parent,92).opened&&l.parent.context.$implicit.checked&&"diffusion"==e.currentMode?"primary":"","fas","fa-sitemap fa-2x"),n(l,16,0,!l.parent.context.$implicit.hasDocument);var t=n(l,20,0,l.parent.context.$implicit.hasDocument?"fa-eye":"fa-eye-slash");n(l,19,0,"fa",t),n(l,21,0),n(l,25,0,"fas","fa-info-circle fa-2x")}),(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.notes,""),0==l.parent.context.$implicit.countNotes,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,1,[bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color,bi(l,5).overlap,bi(l,5).isAbove(),!bi(l,5).isAbove(),!bi(l,5).isAfter(),bi(l,5).isAfter(),"small"===bi(l,5).size,"medium"===bi(l,5).size,"large"===bi(l,5).size,bi(l,5).hidden||!bi(l,5)._hasContent,bi(l,5).disabled]),n(l,6,0,Wt(1,"",e.lang.attachments,""),0==l.parent.context.$implicit.countAttachments,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,1,[bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color,bi(l,10).overlap,bi(l,10).isAbove(),!bi(l,10).isAbove(),!bi(l,10).isAfter(),bi(l,10).isAfter(),"small"===bi(l,10).size,"medium"===bi(l,10).size,"large"===bi(l,10).size,bi(l,10).hidden||!bi(l,10)._hasContent,bi(l,10).disabled]),n(l,11,0,Wt(1,"",e.lang.diffusionList,""),bi(l,12).disabled||null,"NoopAnimations"===bi(l,12)._animationMode),n(l,13,0,bi(l,14).inline,"primary"!==bi(l,14).color&&"accent"!==bi(l,14).color&&"warn"!==bi(l,14).color),n(l,15,0,Wt(1,"",l.parent.context.$implicit.hasDocument?e.lang.viewResource:e.lang.noDocument,""),bi(l,16).disabled||null,"NoopAnimations"===bi(l,16)._animationMode),n(l,17,0,bi(l,21).inline,"primary"!==bi(l,21).color&&"accent"!==bi(l,21).color&&"warn"!==bi(l,21).color),n(l,22,0,Wt(1,"",e.lang.linkDetails,""),bi(l,23).disabled||null,"NoopAnimations"===bi(l,23)._animationMode),n(l,24,0,bi(l,25).inline,"primary"!==bi(l,25).color&&"accent"!==bi(l,25).color&&"warn"!==bi(l,25).color)}))}function Zfn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","badge badge-folder"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.goToFolder(n.context.$implicit)&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-folder"]],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,0,0,Wt(2,"",l.component.lang.goToFolder," : ",l.context.$implicit.label,"")),n(l,2,0,l.context.$implicit.label)}))}function Qfn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","folder-info"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,Zfn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(3,2)],(function(n,l){var e=bt(l,2,0,n(l,3,0,bi(l.parent.parent,0),l.parent.context.$implicit.folders,"label"));n(l,2,0,e)}),null)}function Xfn(n){return jo(0,[(n()(),_o(0,0,null,null,27,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","padding:0;border-top: solid 1px rgba(0, 0, 0, 0.12);"]],[[2,"selected-data",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,23,"div",[["class","main-info"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,3,"span",[["style","width:50px;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleRes(e,n.context.$implicit)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(6,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(7,0,null,null,6,"button",[["class","followIcon"],["mat-icon-button",""],["style","margin-left: -25px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.toggleMailTracking(n.context.$implicit)&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(9,0,null,0,4,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","margin-bottom: 5px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(11,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Eo(12,1),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,Hfn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Kfn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,null,2,"span",[["class","main-info-data"],["style","font-weight:bold;flex:1;cursor:pointer;"]],[[2,"undefined",null],[8,"title",0]],null,null,null,null)),(n()(),Lo(19,null,["",""])),Fo(20,3),(n()(),_o(21,0,null,null,4,"span",[["class","main-info-action"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Yfn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Jfn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Qfn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"primary",l.context.$implicit.checked);var t=n(l,12,0,!0===l.context.$implicit.mailTracking?"fas fa-star":"far fa-star");n(l,11,0,t),n(l,13,0),n(l,15,0,!e.appService.getViewMode()),n(l,17,0,!e.appService.getViewMode()),n(l,23,0,!l.context.$implicit.allowed),n(l,25,0,l.context.$implicit.allowed),n(l,27,0,void 0!==l.context.$implicit.folders&&l.context.$implicit.folders.length>0)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit.checked),n(l,4,0,bi(l,6).id,null,bi(l,6).indeterminate,bi(l,6).checked,bi(l,6).disabled,"before"==bi(l,6).labelPosition,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,!0===l.context.$implicit.mailTracking?e.lang.untrackThisMail:e.lang.trackThisMail,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,18,0,l.context.$implicit.subject==e.lang.undefined,Wt(1,"",l.context.$implicit.subject,""));var t=bt(l,19,0,n(l,20,0,bi(l.parent,2),l.context.$implicit.subject,150,"..."));n(l,19,0,t)}))}function nhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","example-custom-placeholder"]],null,null,null,null,null))],null,null)}function lhn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","dragPreview"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fas fa-envelope-open-text fa-2x"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," : "])),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.classifyInFolder),n(l,5,0,l.parent.context.$implicit.chrono)}))}function ehn(n){return jo(0,[(n()(),_o(0,16777216,null,null,11,"tr",[["cdkDrag",""],["class","rowData mat-row cdk-drag"],["mat-row",""],["role","row"],["style","cursor: pointer;"]],[[2,"locked",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"contextmenu"],[null,"click"],[null,"cdkDragStarted"]],(function(n,l,e){var t=!0,i=n.component;return"contextmenu"===l&&(t=!1!==i.open(e,n.context.$implicit)&&t),"click"===l&&(t=!1!==i.open(e,n.context.$implicit)&&t),"cdkDragStarted"===l&&(t=!1!==i.selectSpecificRes(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(6144,null,VU,null,[$U]),Di(3,49152,null,0,cR,[],null,null),Di(4,4866048,[[13,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"],disabled:[1,"disabled"]},{started:"cdkDragStarted"}),ko(603979776,17,{_handles:1}),ko(603979776,18,{_previewTemplate:0}),ko(603979776,19,{_placeholderTemplate:0}),(n()(),vo(0,null,null,1,null,nhn)),Di(9,16384,[[19,4]],0,zU,[Xe],null,null),(n()(),vo(0,null,null,1,null,lhn)),Di(11,16384,[[18,4]],0,UU,[Xe],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,4,0,l.context.$implicit,!l.context.$implicit.allowed)}),(function(n,l){n(l,0,0,1==l.context.$implicit.isLocked,bi(l,4).disabled,bi(l,4)._dragRef.isDragging())}))}function thn(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,"div",[["style","height: 100%;overflow: hidden;"]],[[8,"innerHTML",1]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.component.currentChrono)}),(function(n,l){n(l,0,0,l.component.innerHtml)}))}function ihn(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,ZS,[]),Fi(0,YS,[]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{actionsList:0}),ko(402653184,3,{appPanelList:0}),ko(402653184,4,{paginator:0}),ko(402653184,5,{sort:0}),ko(402653184,6,{basketHome:0}),(n()(),_o(9,0,null,null,94,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(10,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,7,{_drawers:1}),ko(603979776,8,{_content:0}),(n()(),_o(13,0,null,1,74,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(14,1294336,[[8,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(15,0,null,0,2,"mat-card",[["class","mat-card"],["id","viewThumbnail"],["style","display:none;position: fixed;z-index: 2;margin-left: 1px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(16,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(17,0,null,0,0,"img",[["style","max-height: 100vh;"]],[[8,"src",4]],null,null,null,null)),(n()(),_o(18,0,null,0,20,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(20,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(22,114688,null,0,GO,[_u],null,null),(n()(),_o(23,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(25,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(26,0,null,null,8,"div",[["class","bg-head-content"],["style","padding-bottom: 20px;"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(27,0,null,null,7,"div",[],[[2,"banner-opened",null],[2,"banner-closed",null]],null,null,null,null)),(n()(),_o(28,0,null,null,4,"div",[["class","title"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.folderInfoOpened=!i.folderInfoOpened)&&t),t}),null,null)),(n()(),_o(29,0,null,null,0,"i",[["class","far"],["style","cursor:pointer;margin-left: 10px;"]],[[2,"fa-plus-square",null],[2,"fa-minus-square",null]],null,null,null,null)),(n()(),Lo(30,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Tfn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jfn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,null,3,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(36,0,null,null,2,"app-filters-tool",[["style","flex:1;overflow-x: auto;overflow-y: hidden;"]],null,[[null,"toggleAllRes"],[null,"refreshEventAfterAction"],[null,"refreshEvent"]],(function(n,l,e){var t=!0,i=n.component;return"toggleAllRes"===l&&(t=!1!==i.toggleAllRes(e)&&t),"refreshEventAfterAction"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshEvent"===l&&(t=!1!==i.refreshDao()&&t),t}),nun,Rrn)),Ei(512,null,QS,QS,[]),Di(38,114688,[["filtersTool",4]],0,Lrn,[nS,Trn,Oy,QS,Jv],{listProperties:[0,"listProperties"],title:[1,"title"],routeDatas:[2,"routeDatas"],sidenavRight:[3,"sidenavRight"],selectedRes:[4,"selectedRes"],totalRes:[5,"totalRes"]},{refreshEvent:"refreshEvent",refreshEventAfterAction:"refreshEventAfterAction",toggleAllRes:"toggleAllRes"}),(n()(),_o(39,0,null,0,48,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(40,0,null,null,47,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,qfn)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(43,0,null,null,17,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,7,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(45,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["style","margin: 10px;padding-right: 10px;"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleAllRes(e)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(47,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"],indeterminate:[2,"indeterminate"]},{change:"change"}),(n()(),Lo(48,null,[" "," "," "])),Fo(49,1),(n()(),vo(16777216,null,null,1,null,zfn)),Di(51,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(52,0,null,null,8,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(53,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),_o(54,0,null,null,2,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(55,245760,[[4,4],["paginatorResultList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSizeOptions:[1,"pageSizeOptions"]},null),Eo(56,5),(n()(),_o(57,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),_o(58,0,null,null,2,"app-folder-action-list",[],null,[[null,"refreshEvent"],[null,"refreshPanelFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshEvent"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshPanelFolders"===l&&(t=!1!==i.foldersService.getFolders()&&t),t}),Pfn,yfn)),Ei(512,null,tu,tu,[uf,hk]),Di(60,114688,[["actionsList",4]],0,_fn,[nS,tu,Jv,uf,_u,ru],{selectedRes:[0,"selectedRes"],totalRes:[1,"totalRes"],contextMode:[2,"contextMode"],currentFolderInfo:[3,"currentFolderInfo"]},{refreshEvent:"refreshEvent",refreshPanelFolders:"refreshPanelFolders"}),(n()(),_o(61,0,null,null,25,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(62,0,null,null,24,"table",[["cdkDropList",""],["class","mat-table cdk-drop-list"],["id","folder-list"],["mat-table",""],["matSort",""],["matSortActive","resId"],["matSortDirection","asc"],["matSortDisableClear",""],["style","width:100%;"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],null,null,hR,fR)),Ei(6144,null,jU,null,[KU]),Ei(6144,null,QL,null,[lR]),Di(65,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,9,{_contentColumnDefs:1}),ko(603979776,10,{_contentRowDefs:1}),ko(603979776,11,{_contentHeaderRowDefs:1}),ko(603979776,12,{_contentFooterRowDefs:1}),Di(70,737280,[[5,4],["tableBasketListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"],disableClear:[2,"disableClear"]},null),Di(71,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"],disabled:[3,"disabled"]},null),ko(603979776,13,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(74,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(76,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,14,{cell:0}),ko(603979776,15,{headerCell:0}),ko(603979776,16,{footerCell:0}),Ei(2048,[[9,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Xfn)),Di(82,16384,null,0,eR,[Xe],null,null),Ei(2048,[[14,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,ehn)),Di(85,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[10,4]],UL,null,[uR]),(n()(),_o(87,0,null,null,0,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(88,0,null,0,15,"mat-sidenav",[["autoFocus","false"],["class","panel-right mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[2,"docView",null],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,92)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,92)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(90,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(91,{width:0}),Di(92,3325952,[[7,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"],fixedInViewport:[4,"fixedInViewport"]},null),(n()(),vo(16777216,null,0,1,null,thn)),Di(94,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(95,0,null,0,4,"div",[["style","display:flex;position: sticky;top: 0px;z-index: 2;"]],null,null,null,null,null)),(n()(),_o(96,0,null,null,3,"button",[["mat-icon-button",""],["style","font-size: 20px;color:#666;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,92).close()&&t),t}),PC,MC)),Di(97,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(98,0,null,0,1,"mat-icon",[["class","fa fa-arrow-right mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(99,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(100,0,null,0,1,"app-panel-list",[],null,[[null,"refreshBadgeNotes"],[null,"refreshBadgeAttachments"]],(function(n,l,e){var t=!0,i=n.component;return"refreshBadgeNotes"===l&&(t=!1!==i.refreshBadgeNotes(e)&&t),"refreshBadgeAttachments"===l&&(t=!1!==i.refreshBadgeAttachments(e)&&t),t}),gcn,dcn)),Di(101,114688,[[3,4],["appPanelList",4]],0,ccn,[],null,{refreshBadgeNotes:"refreshBadgeNotes",refreshBadgeAttachments:"refreshBadgeAttachments"}),(n()(),_o(102,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(103,49152,null,0,mI,[],null,null),(n()(),_o(104,0,null,null,2,"app-folder-action-list",[],null,[[null,"refreshEvent"],[null,"refreshPanelFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshEvent"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshPanelFolders"===l&&(t=!1!==i.foldersService.getFolders()&&t),t}),Pfn,yfn)),Ei(512,null,tu,tu,[uf,hk]),Di(106,114688,[[2,4],["actionsListContext",4]],0,_fn,[nS,tu,Jv,uf,_u,ru],{selectedRes:[0,"selectedRes"],totalRes:[1,"totalRes"],contextMode:[2,"contextMode"],currentFolderInfo:[3,"currentFolderInfo"]},{refreshEvent:"refreshEvent",refreshPanelFolders:"refreshPanelFolders"})],(function(n,l){var e=l.component;n(l,10,0),n(l,14,0),n(l,22,0),n(l,25,0),n(l,32,0,e.folderInfoOpened),n(l,34,0,e.folderInfoOpened),n(l,38,0,e.listProperties,e.lang.searchMailInFolder,"/rest/folders/"+e.folderInfo.id+"/filters",bi(l,92),e.selectedRes,e.allResInBasket.length),n(l,42,0,e.isLoadingResults),n(l,47,0,"primary",e.selectedRes.length==e.allResInBasket.length&&e.selectedRes.length>0,e.selectedRes.length>0&&e.selectedRes.length<e.allResInBasket.length),n(l,51,0,e.selectedRes.length>0);var t=e.resultsLength,i=n(l,56,0,10,25,50,100,150);n(l,55,0,t,i),n(l,60,0,e.selectedRes,e.allResInBasket.length,!1,e.folderInfo),n(l,65,0,e.data),n(l,70,0,"resId","asc",""),n(l,71,0,e.listTodrag(),e.data,"folder-list",e.dragInit||e.appService.getViewMode()),n(l,76,0,"resId"),n(l,85,0,e.displayedColumnsBasket);var a=n(l,91,0,e.appService.getViewMode()?"80%":"30%");n(l,90,0,a),n(l,92,0,"end",e.appService.getViewMode()?"over":"side","false",(e.appService.getViewMode(),!1),e.appService.getViewMode()),n(l,94,0,e.innerHtml),n(l,99,0),n(l,101,0),n(l,106,0,e.selectedRes,e.allResInBasket.length,!0,e.folderInfo)}),(function(n,l){var e=l.component;n(l,9,0,bi(l,10)._backdropOverride),n(l,13,0,bi(l,14)._container._contentMargins.left,bi(l,14)._container._contentMargins.right),n(l,15,0,"NoopAnimations"===bi(l,16)._animationMode),n(l,17,0,Wt(1,"",e.thumbnailUrl,"")),n(l,19,0,e.appService.getViewMode()),n(l,26,0,e.appService.getViewMode()),n(l,27,0,e.folderInfoOpened,!e.folderInfoOpened),n(l,29,0,!e.folderInfoOpened,e.folderInfoOpened),n(l,30,0,e.lang.folderInformations),n(l,35,0,e.appService.getViewMode()),n(l,39,0,e.appService.getViewMode()),n(l,45,0,Wt(1,"",e.lang.selectAllResInBasket,""),bi(l,47).id,null,bi(l,47).indeterminate,bi(l,47).checked,bi(l,47).disabled,"before"==bi(l,47).labelPosition,"NoopAnimations"===bi(l,47)._animationMode);var t=e.resultsLength,i=bt(l,48,1,n(l,49,0,bi(l,1),e.lang.records));n(l,48,0,t,i),n(l,62,0,bi(l,71).id,bi(l,71).disabled,bi(l,71)._dropListRef.isDragging(),bi(l,71)._dropListRef.isReceiving()),n(l,88,1,[e.innerHtml,null,"end"===bi(l,92).position,"over"===bi(l,92).mode,"push"===bi(l,92).mode,"side"===bi(l,92).mode,bi(l,92).opened,bi(l,92).fixedInViewport,bi(l,92).fixedInViewport?bi(l,92).fixedTopGap:null,bi(l,92).fixedInViewport?bi(l,92).fixedBottomGap:null,bi(l,92)._animationState]),n(l,96,0,bi(l,97).disabled||null,"NoopAnimations"===bi(l,97)._animationMode),n(l,98,0,bi(l,99).inline,"primary"!==bi(l,99).color&&"accent"!==bi(l,99).color&&"warn"!==bi(l,99).color),n(l,102,0,bi(l,103).vertical?"vertical":"horizontal",bi(l,103).vertical,!bi(l,103).vertical,bi(l,103).inset)}))}function ahn(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"ng-component",[],null,null,null,ihn,Ofn)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,245760,null,0,Ffn,[uf,Zp,nS,Jv,Ed,_u,Trn,tu,Zg,lt,yu,ru,$S],null,null)],(function(n,l){n(l,3,0)}),null)}var ohn=oi("ng-component",Ffn,ahn,{},{},[]),rhn=function(){function n(n,l,e,t,i){var a=this;this.http=n,this.zone=l,this.notify=e,this.headerService=t,this.appService=i,this.lang=Kr,this.numericPackage={base64:"",name:"",type:"",size:0,label:"",extension:""},this.loading=!1,$j("link[href='merged_css.php']").remove(),window.angularSaveNumericPackageComponent={componentAfterUpload:function(n){return a.processAfterUpload(n)}}}return n.prototype.ngOnInit=function(){this.headerService.setHeader(this.lang.saveNumericPackage),this.loading=!1},n.prototype.processAfterUpload=function(n){var l=this;this.zone.run((function(){return l.resfreshUpload(n)}))},n.prototype.resfreshUpload=function(n){this.numericPackage.base64=n.replace(/^data:.*?;base64,/,"")},n.prototype.uploadNumericPackage=function(n){if(n.target.files&&n.target.files[0]){var l=new FileReader;this.numericPackage.name=n.target.files[0].name,this.numericPackage.size=n.target.files[0].size,this.numericPackage.type=n.target.files[0].type,this.numericPackage.extension=n.target.files[0].name.split(".").pop(),""==this.numericPackage.label&&(this.numericPackage.label=this.numericPackage.name),l.readAsDataURL(n.target.files[0]),l.onload=function(n){window.angularSaveNumericPackageComponent.componentAfterUpload(n.target.result)}}},n.prototype.submitNumericPackage=function(){var n=this;0!=this.numericPackage.size?this.http.post("../../rest/saveNumericPackage",this.numericPackage).subscribe((function(l){l.errors?n.notify.error(l.errors):(n.numericPackage={base64:"",name:"",type:"",size:0,label:"",extension:""},$j("#numericPackageFilePath").val(null),n.notify.success(n.lang.numericPackageImported),null!=l.basketRedirection&&(window.location.href=l.basketRedirection))}),(function(l){n.notify.error(l.error.errors)})):(this.numericPackage.name="",this.numericPackage.size=0,this.numericPackage.type="",this.numericPackage.base64="",this.numericPackage.extension="",this.notify.error(this.lang.noNumericPackageSelected))},n}(),uhn=yt({encapsulation:0,styles:[san],data:{}});function shn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-5x"],["style","margin-left: 50%;margin-top: 16%;font-size: 8em"]],null,null,null,null,null))],null,null)}function chn(n){return jo(0,[(n()(),_o(0,0,null,null,16,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,15,"div",[["class","row row-eq-height"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,14,"div",[["class","col-md-5 col-md-offset-3"],["style","margin-top: 50px;border-top: solid 2px #F99830;border-bottom: solid 2px #F99830;padding:10px;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,11,"form",[["class","form-horizontal"],["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,7).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,7).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.submitNumericPackage()&&t),t}),null,null)),Di(6,16384,null,0,yy,[],null,null),Di(7,4210688,[["saveNumericPackageForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(9,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(10,0,null,null,0,"input",[["id","numericPackageFilePath"],["name","files[]"],["type","file"]],null,[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.uploadNumericPackage(e)&&t),t}),null,null)),(n()(),_o(11,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(12,0,null,null,4,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,3,"div",[["style","text-align:center;"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(15,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(16,0,["",""]))],(function(n,l){n(l,15,0,!bi(l,7).form.valid,"primary")}),(function(n,l){var e=l.component;n(l,4,0,e.lang.saveNumericPackage),n(l,5,0,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending),n(l,14,0,bi(l,15).disabled||null,"NoopAnimations"===bi(l,15)._animationMode),n(l,16,0,e.lang.save)}))}function dhn(n){return jo(0,[ko(402653184,1,{sidenavLeft:0}),(n()(),_o(1,0,null,null,20,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(5,0,null,1,16,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(6,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(7,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(9,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(11,114688,null,0,GO,[_u],null,null),(n()(),_o(12,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(14,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(15,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(16,0,null,0,5,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,null,4,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,shn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,chn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0),n(l,11,0),n(l,14,0),n(l,19,0,e.loading),n(l,21,0,!e.loading)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2)._backdropOverride),n(l,5,0,bi(l,6)._container._contentMargins.left,bi(l,6)._container._contentMargins.right),n(l,8,0,e.appService.getViewMode()),n(l,15,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode())}))}function phn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,dhn,uhn)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,rhn,[nS,La,tu,_u,yu],null,null)],(function(n,l){n(l,3,0)}),null)}var mhn=oi("ng-component",rhn,phn,{},{},[]),fhn=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.headerService=e,this.appService=t,this.lang=Kr,this.entities=[],this.entitiesChosen=[],this.loading=!1,this.docUrl="",this.docData="",this.docBuffer=null,this.separatorTypes=["barcode","qrcode"],this.separatorTargets=["entities","generic"],this.separator={type:"qrcode",target:"entities",entities:[]},window.pdfWorkerSrc="../../node_modules/pdfjs-dist/build/pdf.worker.min.js"}return n.prototype.ngOnInit=function(){var n=this;this.headerService.setHeader(this.lang.printSeparators),this.http.get("../../rest/entities").subscribe((function(l){n.entities=l.entities,n.entities.forEach((function(n){n.state.disabled=!1})),n.loadEntities()}),(function(l){n.notify.handleErrors(l)}))},n.prototype.loadEntities=function(){var n=this;setTimeout((function(){$j("#jstree").on("select_node.jstree",(function(l,e){n.separator.entities=$j("#jstree").jstree(!0).get_checked()})).on("deselect_node.jstree",(function(l,e){n.separator.entities=$j("#jstree").jstree(!0).get_checked()})).jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:n.entities},plugins:["checkbox","search","sort"]});var l=!1;$j("#jstree_search").keyup((function(){l&&clearTimeout(l),l=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)})),$j("#jstree").jstree()}),0)},n.prototype.generateSeparators=function(){var n=this;this.loading=!0,this.separator.entities=$j("#jstree").jstree(!0).get_checked(),this.http.post("../../rest/entitySeparators",this.separator).subscribe((function(l){n.docData=l,n.docBuffer=n.base64ToArrayBuffer(n.docData),n.downloadSeparators(),n.loading=!1}),(function(l){n.notify.handleErrors(l)}))},n.prototype.base64ToArrayBuffer=function(n){for(var l=window.atob(n),e=l.length,t=new Uint8Array(e),i=0;i<e;i++)t[i]=l.charCodeAt(i);return t.buffer},n.prototype.changeType=function(n){this.docBuffer=null,"entities"==n.value?(this.entities.forEach((function(n){n.state.disabled=!1})),$j("#jstree").jstree(!0).settings.core.data=this.entities,$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("refresh")):(this.entities.forEach((function(n){n.state.disabled=!0})),$j("#jstree").jstree(!0).settings.core.data=this.entities,$j("#jstree").jstree("deselect_all"),$j("#jstree").jstree("refresh"))},n.prototype.downloadSeparators=function(){var n=document.createElement("a");document.body.appendChild(n),n.style.display="none";var l,e,t,i,a="data:application/pdf;base64,"+this.docData;n.href=a,e=(l=new Date).getDate(),t=l.getMonth()+1,i=l.getFullYear(),e<10&&(e="0"+e),t<10&&(t="0"+t),n.download=this.lang.separators+"_"+(l=e+"-"+t+"-"+i)+".pdf",n.click(),window.URL.revokeObjectURL(a)},n}(),hhn=yt({encapsulation:0,styles:[[".panel-right[_ngcontent-%COMP%] .mat-drawer-inner-container{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.panel-right[_ngcontent-%COMP%] .titlePanel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.panel-right[_ngcontent-%COMP%] .viewSep[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;overflow:auto}"]],data:{}});function ghn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[14,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang[l.context.$implicit])}))}function bhn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[26,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,e.lang[l.context.$implicit])}))}function vhn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function _hn(n){return jo(0,[ko(402653184,1,{sidenavLeft:0}),ko(402653184,2,{sidenavRight:0}),(n()(),_o(2,0,null,null,108,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(3,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(6,0,null,1,92,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(7,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(8,0,null,0,8,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(10,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(12,114688,null,0,GO,[_u],null,null),(n()(),_o(13,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(15,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(16,0,null,null,0,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(17,0,null,0,81,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(18,0,null,null,80,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,74,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","max-width: 100%;margin: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(21,0,null,null,72,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,26,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(23,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(24,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(34,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(35,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(36,null,["",""])),(n()(),_o(37,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,42)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,42)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,42)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.separator.type=e)&&t),"selectionChange"===l&&(t=!1!==(i.docBuffer=null)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(39,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(41,16384,null,0,y_,[[4,v_]],null,null),Di(42,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,14,{options:1}),ko(603979776,15,{optionGroups:1}),ko(603979776,16,{customTrigger:0}),Ei(2048,[[5,4],[6,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,ghn)),Di(48,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(49,0,null,null,26,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(50,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(51,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,17,{_controlNonStatic:0}),ko(335544320,18,{_controlStatic:0}),ko(603979776,19,{_labelChildNonStatic:0}),ko(335544320,20,{_labelChildStatic:0}),ko(603979776,21,{_placeholderChild:0}),ko(603979776,22,{_errorChildren:1}),ko(603979776,23,{_hintChildren:1}),ko(603979776,24,{_prefixChildren:1}),ko(603979776,25,{_suffixChildren:1}),(n()(),_o(61,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(62,16384,[[19,4],[20,4]],0,iT,[],null,null),(n()(),Lo(63,null,["",""])),(n()(),_o(64,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,69)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,69)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,69)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.separator.target=e)&&t),"selectionChange"===l&&(t=!1!==i.changeType(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(66,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(68,16384,null,0,y_,[[4,v_]],null,null),Di(69,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],null,{selectionChange:"selectionChange"}),ko(603979776,26,{options:1}),ko(603979776,27,{optionGroups:1}),ko(603979776,28,{customTrigger:0}),Ei(2048,[[17,4],[18,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,bhn)),Di(75,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(76,0,null,null,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(77,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(87,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,88)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,88)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,88)._onInput()&&t),t}),null,null)),Di(88,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[29,4],[30,4]],nT,null,[OT]),(n()(),_o(90,0,null,6,2,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(91,16384,[[35,4]],0,tT,[],null,null),(n()(),Lo(92,null,["",""])),(n()(),_o(93,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),_o(94,0,null,null,3,"div",[["class","col-md-12 text-center"],["style","bottom:0px;padding-top: 10px;position: absolute;height:10%;width:100%;"]],null,null,null,null,null)),(n()(),_o(95,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.generateSeparators()&&t),t}),PC,MC)),Di(96,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(97,0,["",""])),(n()(),_o(98,0,null,null,0,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(99,0,null,0,11,"mat-sidenav",[["autoFocus","false"],["class","panel-right mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,103)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,103)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(101,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(102,{width:0}),Di(103,3325952,[[3,4],[2,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"],fixedInViewport:[4,"fixedInViewport"]},null),(n()(),vo(16777216,null,0,1,null,vhn)),Di(105,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(106,0,null,0,2,"div",[["class","titlePanel"]],null,null,null,null,null)),(n()(),_o(107,0,null,null,1,"span",[["color","primary"],["style","flex:1;font-size: 20px;font-weight: bold;padding: 10px;"]],null,null,null,null,null)),(n()(),Lo(108,null,["",""])),(n()(),_o(109,0,null,0,1,"pdf-viewer",[["class","viewSep"]],null,[["window","resize"]],(function(n,l,e){var t=!0;return"window:resize"===l&&(t=!1!==bi(n,110).onPageResize()&&t),t}),qpn,Vpn)),Di(110,9158656,null,0,Npn,[Pe],{src:[0,"src"],renderText:[1,"renderText"],originalSize:[2,"originalSize"],showAll:[3,"showAll"],autoresize:[4,"autoresize"]},null)],(function(n,l){var e=l.component;n(l,3,0),n(l,7,0),n(l,12,0),n(l,15,0),n(l,39,0,e.separator.type),n(l,42,0),n(l,48,0,e.separatorTypes),n(l,66,0,e.separator.target),n(l,69,0),n(l,75,0,e.separatorTargets),n(l,88,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text"),n(l,96,0,e.loading||"entities"==e.separator.target&&0==e.separator.entities.length,"primary");var t=n(l,102,0,e.appService.getViewMode()?"80%":"30%");n(l,101,0,t),n(l,103,0,"end",e.appService.getViewMode()?"over":"side","false",!e.appService.getViewMode()&&null!=e.docBuffer,e.appService.getViewMode()),n(l,105,0,e.loading),n(l,110,0,e.docBuffer,!1,!1,!0,!0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._backdropOverride),n(l,6,0,bi(l,7)._container._contentMargins.left,bi(l,7)._container._contentMargins.right),n(l,9,0,e.appService.getViewMode()),n(l,16,0,e.appService.getViewMode()),n(l,17,0,e.appService.getViewMode()),n(l,20,0,e.lang.printSeparatorInfo),n(l,23,1,["standard"==bi(l,24).appearance,"fill"==bi(l,24).appearance,"outline"==bi(l,24).appearance,"legacy"==bi(l,24).appearance,bi(l,24)._control.errorState,bi(l,24)._canLabelFloat,bi(l,24)._shouldLabelFloat(),bi(l,24)._hasFloatingLabel(),bi(l,24)._hideControlPlaceholder(),bi(l,24)._control.disabled,bi(l,24)._control.autofilled,bi(l,24)._control.focused,"accent"==bi(l,24).color,"warn"==bi(l,24).color,bi(l,24)._shouldForward("untouched"),bi(l,24)._shouldForward("touched"),bi(l,24)._shouldForward("pristine"),bi(l,24)._shouldForward("dirty"),bi(l,24)._shouldForward("valid"),bi(l,24)._shouldForward("invalid"),bi(l,24)._shouldForward("pending"),!bi(l,24)._animationsEnabled]),n(l,36,0,e.lang.separatorType),n(l,37,1,[bi(l,41).ngClassUntouched,bi(l,41).ngClassTouched,bi(l,41).ngClassPristine,bi(l,41).ngClassDirty,bi(l,41).ngClassValid,bi(l,41).ngClassInvalid,bi(l,41).ngClassPending,bi(l,42).id,bi(l,42).tabIndex,bi(l,42)._getAriaLabel(),bi(l,42)._getAriaLabelledby(),bi(l,42).required.toString(),bi(l,42).disabled.toString(),bi(l,42).errorState,bi(l,42).panelOpen?bi(l,42)._optionIds:null,bi(l,42).multiple,bi(l,42)._ariaDescribedby||null,bi(l,42)._getAriaActiveDescendant(),bi(l,42).disabled,bi(l,42).errorState,bi(l,42).required,bi(l,42).empty]),n(l,50,1,["standard"==bi(l,51).appearance,"fill"==bi(l,51).appearance,"outline"==bi(l,51).appearance,"legacy"==bi(l,51).appearance,bi(l,51)._control.errorState,bi(l,51)._canLabelFloat,bi(l,51)._shouldLabelFloat(),bi(l,51)._hasFloatingLabel(),bi(l,51)._hideControlPlaceholder(),bi(l,51)._control.disabled,bi(l,51)._control.autofilled,bi(l,51)._control.focused,"accent"==bi(l,51).color,"warn"==bi(l,51).color,bi(l,51)._shouldForward("untouched"),bi(l,51)._shouldForward("touched"),bi(l,51)._shouldForward("pristine"),bi(l,51)._shouldForward("dirty"),bi(l,51)._shouldForward("valid"),bi(l,51)._shouldForward("invalid"),bi(l,51)._shouldForward("pending"),!bi(l,51)._animationsEnabled]),n(l,63,0,e.lang.separatorTarget),n(l,64,1,[bi(l,68).ngClassUntouched,bi(l,68).ngClassTouched,bi(l,68).ngClassPristine,bi(l,68).ngClassDirty,bi(l,68).ngClassValid,bi(l,68).ngClassInvalid,bi(l,68).ngClassPending,bi(l,69).id,bi(l,69).tabIndex,bi(l,69)._getAriaLabel(),bi(l,69)._getAriaLabelledby(),bi(l,69).required.toString(),bi(l,69).disabled.toString(),bi(l,69).errorState,bi(l,69).panelOpen?bi(l,69)._optionIds:null,bi(l,69).multiple,bi(l,69)._ariaDescribedby||null,bi(l,69)._getAriaActiveDescendant(),bi(l,69).disabled,bi(l,69).errorState,bi(l,69).required,bi(l,69).empty]),n(l,76,1,["standard"==bi(l,77).appearance,"fill"==bi(l,77).appearance,"outline"==bi(l,77).appearance,"legacy"==bi(l,77).appearance,bi(l,77)._control.errorState,bi(l,77)._canLabelFloat,bi(l,77)._shouldLabelFloat(),bi(l,77)._hasFloatingLabel(),bi(l,77)._hideControlPlaceholder(),bi(l,77)._control.disabled,bi(l,77)._control.autofilled,bi(l,77)._control.focused,"accent"==bi(l,77).color,"warn"==bi(l,77).color,bi(l,77)._shouldForward("untouched"),bi(l,77)._shouldForward("touched"),bi(l,77)._shouldForward("pristine"),bi(l,77)._shouldForward("dirty"),bi(l,77)._shouldForward("valid"),bi(l,77)._shouldForward("invalid"),bi(l,77)._shouldForward("pending"),!bi(l,77)._animationsEnabled]),n(l,87,0,bi(l,88)._isServer,bi(l,88).id,bi(l,88).placeholder,bi(l,88).disabled,bi(l,88).required,bi(l,88).readonly&&!bi(l,88)._isNativeSelect||null,bi(l,88)._ariaDescribedby||null,bi(l,88).errorState,bi(l,88).required.toString()),n(l,90,0,"end"==bi(l,91).align,bi(l,91).id,null),n(l,92,0,e.lang.entityTreeInfoSeparator),n(l,95,0,bi(l,96).disabled||null,"NoopAnimations"===bi(l,96)._animationMode),n(l,97,0,e.lang.generateAndDownload),n(l,99,0,null,"end"===bi(l,103).position,"over"===bi(l,103).mode,"push"===bi(l,103).mode,"side"===bi(l,103).mode,bi(l,103).opened,bi(l,103).fixedInViewport,bi(l,103).fixedInViewport?bi(l,103).fixedTopGap:null,bi(l,103).fixedInViewport?bi(l,103).fixedBottomGap:null,bi(l,103)._animationState),n(l,108,0,e.lang.separators)}))}function yhn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,_hn,hhn)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,fhn,[nS,tu,_u,yu],null,null)],(function(n,l){n(l,3,0)}),null)}var whn=oi("ng-component",fhn,yhn,{},{},[]),xhn=function(){function n(n,l,e,t,i,a,o,r,u,s,c){var d=this;this.http=n,this.appService=l,this.route=e,this.router=t,this.zone=i,this.notify=a,this.privilegeService=o,this.dialog=r,this.functions=u,this.actionService=s,this.headerService=c,this.lang=Kr,this.signatureBook={consigne:"",documents:[],attachments:[],resList:[],resListIndex:0,lang:{}},this.rightSelectedThumbnail=0,this.leftSelectedThumbnail=0,this.rightViewerLink="",this.leftViewerLink="",this.headerTab="document",this.showTopRightPanel=!1,this.showTopLeftPanel=!1,this.showResLeftPanel=!0,this.showLeftPanel=!0,this.showRightPanel=!0,this.showAttachmentPanel=!1,this.showSignaturesPanel=!1,this.loading=!1,this.loadingSign=!1,this.currentResourceLock=null,this.leftContentWidth="44%",this.rightContentWidth="44%",this.processTool=[{id:"notes",icon:"fas fa-pen-square fa-2x",label:this.lang.notesAlt,count:0},{id:"visaCircuit",icon:"fas fa-list-ol fa-2x",label:this.lang.visaWorkflow,count:0},{id:"history",icon:"fas fa-history fa-2x",label:this.lang.history,count:0},{id:"linkedResources",icon:"fas fa-link fa-2x",label:this.lang.links,count:0}],window.pdfWorkerSrc="../../node_modules/pdfjs-dist/build/pdf.worker.min.js",this.subscription=this.actionService.catchAction().subscribe((function(n){d.processAfterAction()}))}return n.prototype.ngOnInit=function(){var n=this;this.coreUrl=angularGlobals.coreUrl,this.loading=!0,this.route.params.subscribe((function(l){n.resId=+l.resId,n.basketId=l.basketId,n.groupId=l.groupId,n.userId=l.userId,n.signatureBook.resList=[],n.actionService.lockResource(n.userId,n.groupId,n.basketId,[n.resId]),n.http.get("../../rest/signatureBook/users/"+n.userId+"/groups/"+n.groupId+"/baskets/"+n.basketId+"/resources/"+n.resId).subscribe((function(l){if(l.error)return location.hash="",void(location.search="");n.signatureBook=l,n.headerTab="document",n.leftSelectedThumbnail=0,n.rightSelectedThumbnail=0,n.leftViewerLink="",n.rightViewerLink="",n.showLeftPanel=!0,n.showRightPanel=!0,n.showResLeftPanel=!0,n.showTopLeftPanel=!1,n.showTopRightPanel=!1,n.showAttachmentPanel=!1,n.leftContentWidth="44%",n.rightContentWidth="44%",n.signatureBook.documents[0]&&(n.leftViewerLink=n.signatureBook.documents[0].viewerLink,n.signatureBook.documents[0].inSignatureBook&&(n.headerTab="visaCircuit")),n.signatureBook.attachments[0]&&(n.rightViewerLink=n.signatureBook.attachments[0].viewerLink),n.signatureBook.resListIndex=n.signatureBook.resList.map((function(n){return n.res_id})).indexOf(n.resId),n.displayPanel("RESLEFT"),n.loading=!1,setTimeout((function(){$j("#rightPanelContent").niceScroll({touchbehavior:!1,cursorcolor:"#666",cursoropacitymax:.6,cursorwidth:"4"}),0===$j(".tooltipstered").length&&$j("#obsVersion").tooltipster({interactive:!0})}),0),n.loadBadges(),n.loadActions(),void 0!==n.appDocumentViewer&&n.appDocumentViewer.loadRessource(n.signatureBook.attachments[n.rightSelectedThumbnail].signed?n.signatureBook.attachments[n.rightSelectedThumbnail].viewerId:n.signatureBook.attachments[n.rightSelectedThumbnail].res_id,n.signatureBook.attachments[n.rightSelectedThumbnail].isResource?"mainDocument":"attachment")}),(function(l){n.notify.error(l.error.errors),setTimeout((function(){n.backToBasket()}),2e3)}))}))},n.prototype.loadActions=function(){var n=this;this.http.get("../../rest/resourcesList/users/"+this.userId+"/groups/"+this.groupId+"/baskets/"+this.basketId+"/actions?resId="+this.resId).subscribe((function(l){n.signatureBook.actions=l.actions}),(function(l){n.notify.error(l.error.errors)}))},n.prototype.processAfterAction=function(){for(var n=-1,l=this.signatureBook.resList.length,e=0;e<l;e++)this.signatureBook.resList[e].res_id===this.resId&&(this.signatureBook.resList[e+1]?n=this.signatureBook.resList[e+1].res_id:e>0&&(n=this.signatureBook.resList[e-1].res_id));l>0&&(n>=0?($j("#send").removeAttr("disabled"),$j("#send").css("opacity","1"),this.changeLocation(n,"action")):this.backToBasket())},n.prototype.changeSignatureBookLeftContent=function(n){this.headerTab=n,this.showTopLeftPanel=!1},n.prototype.changeRightViewer=function(n){this.showAttachmentPanel=!1,this.rightViewerLink=this.signatureBook.attachments[n]?this.signatureBook.attachments[n].viewerLink:"",this.rightSelectedThumbnail=n,this.appDocumentViewer.loadRessource(this.signatureBook.attachments[this.rightSelectedThumbnail].signed?this.signatureBook.attachments[this.rightSelectedThumbnail].viewerId:this.signatureBook.attachments[this.rightSelectedThumbnail].res_id,this.signatureBook.attachments[this.rightSelectedThumbnail].isResource?"mainDocument":"attachment")},n.prototype.changeLeftViewer=function(n){this.leftViewerLink=this.signatureBook.documents[n].viewerLink,this.leftSelectedThumbnail=n},n.prototype.displayPanel=function(n){var l=this;"TOPRIGHT"===n?this.showTopRightPanel=!this.showTopRightPanel:"TOPLEFT"===n?this.showTopLeftPanel=!this.showTopLeftPanel:"LEFT"===n?(this.showLeftPanel=!this.showLeftPanel,this.showResLeftPanel=!1,this.showLeftPanel?(this.rightContentWidth="48%",this.leftContentWidth="48%",$j("#hideLeftContent").css("background","#fbfbfb")):(this.rightContentWidth="96%",$j("#hideLeftContent").css("background","none"))):"RESLEFT"===n?(this.showResLeftPanel=!this.showResLeftPanel,this.showResLeftPanel?(this.rightContentWidth="44%",this.leftContentWidth="44%",0!==this.signatureBook.resList.length&&void 0!==this.signatureBook.resList[0].creation_date||this.http.get("../../rest/signatureBook/users/"+this.userId+"/groups/"+this.groupId+"/baskets/"+this.basketId+"/resources").subscribe((function(n){l.signatureBook.resList=n.resources,l.signatureBook.resList.forEach((function(n,e){n.res_id==l.resId&&(l.signatureBook.resListIndex=e)})),setTimeout((function(){$j("#resListContent").niceScroll({touchbehavior:!1,cursorcolor:"#666",cursoropacitymax:.6,cursorwidth:"4"}),$j("#resListContent").scrollTop(0),$j("#resListContent").scrollTop($j(".resListContentFrameSelected").offset().top-42)}),0)}))):(this.rightContentWidth="48%",this.leftContentWidth="48%")):"MIDDLE"===n&&(this.showRightPanel=!this.showRightPanel,this.showResLeftPanel=!1,this.showRightPanel?(this.rightContentWidth="48%",this.leftContentWidth="48%",$j("#contentLeft").css("border-right","solid 1px")):(this.leftContentWidth="96%",$j("#contentLeft").css("border-right","none")))},n.prototype.displayAttachmentPanel=function(){this.showAttachmentPanel=!this.showAttachmentPanel,this.rightSelectedThumbnail=0,this.signatureBook.attachments[0]&&(this.rightViewerLink=this.signatureBook.attachments[0].viewerLink)},n.prototype.refreshAttachments=function(n){var l=this;void 0===n&&(n="rightContent"),"rightContent"===n?this.http.get("../../rest/signatureBook/"+this.resId+"/incomingMailAttachments").subscribe((function(n){l.signatureBook.documents=n})):this.http.get("../../rest/signatureBook/"+this.resId+"/attachments").subscribe((function(e){var t=0;if("add"===n){var i=!1;e.forEach((function(n,e){i||l.signatureBook.attachments[e]&&n.res_id==l.signatureBook.attachments[e].res_id||(t=e,i=!0)}))}else if("edit"===n){var a=l.signatureBook.attachments[l.rightSelectedThumbnail].res_id;e.forEach((function(n,l){n.res_id==a&&(t=l)}))}l.signatureBook.attachments=e,"add"===n||"edit"===n?l.changeRightViewer(t):"del"===n&&l.changeRightViewer(0)}))},n.prototype.delAttachment=function(n){var l=this;n.canDelete&&(this.signatureBook.attachments.length<=1?confirm("Attention, ceci est votre dernière pièce jointe pour ce courrier, voulez-vous vraiment la supprimer ?"):confirm("Voulez-vous vraiment supprimer la pièce jointe ?"))&&this.http.delete("../../rest/attachments/"+n.res_id).pipe(Yr((function(){l.refreshAttachments("del")})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.signFile=function(n,l){var e=this;!this.loadingSign&&this.signatureBook.canSign&&(this.loadingSign=!0,this.http.put(n.isResource?"../../rest/resources/"+n.res_id+"/sign":"../../rest/attachments/"+n.res_id+"/sign",{signatureId:l.id}).subscribe((function(l){n.isResource?(e.appDocumentViewer.loadRessource(n.res_id,"mainDocument"),e.rightViewerLink+="?tsp="+Math.floor(100*Math.random()),e.signatureBook.attachments[e.rightSelectedThumbnail].status="SIGN"):(e.appDocumentViewer.loadRessource(l.id,"attachment"),e.rightViewerLink="../../rest/attachments/"+l.id+"/content",e.signatureBook.attachments[e.rightSelectedThumbnail].status="SIGN",e.signatureBook.attachments[e.rightSelectedThumbnail].idToDl=l.new_id,e.signatureBook.attachments[e.rightSelectedThumbnail].signed=!0,e.signatureBook.attachments[e.rightSelectedThumbnail].viewerId=l.id),e.signatureBook.attachments[e.rightSelectedThumbnail].viewerLink=e.rightViewerLink;var t=!0;e.signatureBook.attachments.forEach((function(n){n.sign&&"SIGN"!==n.status&&(t=!1)})),e.signatureBook.resList.length>0&&(e.signatureBook.resList[e.signatureBook.resListIndex].allSigned=t),e.showSignaturesPanel=!1,e.loadingSign=!1}),(function(n){e.notify.handleSoftErrors(n),e.loadingSign=!1})))},n.prototype.unsignFile=function(n){n.isResource?this.unSignMainDocument(n):this.unSignAttachment(n)},n.prototype.unSignMainDocument=function(n){var l=this;this.http.put("../../rest/resources/"+n.res_id+"/unsign",{}).pipe(Yr((function(){l.appDocumentViewer.loadRessource(n.res_id,"maintDocument"),l.rightViewerLink+="?tsp="+Math.floor(100*Math.random()),l.signatureBook.attachments[l.rightSelectedThumbnail].status="A_TRA",l.signatureBook.resList.length>0&&(l.signatureBook.resList[l.signatureBook.resListIndex].allSigned=!1),"visaCircuit"===l.headerTab&&(l.changeSignatureBookLeftContent("document"),setTimeout((function(){l.changeSignatureBookLeftContent("visaCircuit")}),0))})),Qr((function(n){return 403===n.status?l.notify.error(l.lang.youCannotUnsign):l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.unSignAttachment=function(n){var l=this;this.http.put("../../rest/attachments/"+n.res_id+"/unsign",{}).pipe(Yr((function(){l.appDocumentViewer.loadRessource(n.res_id,"attachment"),l.rightViewerLink="../rest/attachments/"+n.res_id+"/content",l.signatureBook.attachments[l.rightSelectedThumbnail].viewerLink=l.rightViewerLink,l.signatureBook.attachments[l.rightSelectedThumbnail].status="A_TRA",l.signatureBook.attachments[l.rightSelectedThumbnail].idToDl=n.res_id,l.signatureBook.attachments[l.rightSelectedThumbnail].signed=!1,l.signatureBook.attachments[l.rightSelectedThumbnail].viewerId=n.res_id,l.signatureBook.resList.length>0&&(l.signatureBook.resList[l.signatureBook.resListIndex].allSigned=!1),"visaCircuit"===l.headerTab&&(l.changeSignatureBookLeftContent("document"),setTimeout((function(){l.changeSignatureBookLeftContent("visaCircuit")}),0))})),Qr((function(n){return 403===n.status?l.notify.error(l.lang.youCannotUnsign):l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.backToBasket=function(){this.router.navigate(["/basketList/users/"+this.userId+"/groups/"+this.groupId+"/baskets/"+this.basketId])},n.prototype.backToDetails=function(){var n=this;this.http.put("../../rest/resourcesList/users/"+this.userId+"/groups/"+this.groupId+"/baskets/"+this.basketId+"/unlock",{resources:[this.resId]}).subscribe((function(l){n.router.navigate(["/resources/"+n.resId])}),(function(n){}))},n.prototype.changeLocation=function(n,l){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return n===this.resId?[3,2]:[4,this.actionService.canExecuteAction([n],this.userId,this.groupId,this.basketId)];case 1:!0===l.sent()?(this.actionService.stopRefreshResourceLock(),this.actionService.actionEnded||this.actionService.unlockResource(this.userId,this.groupId,this.basketId,[this.resId]),this.router.navigate(["signatureBook/users/"+this.userId+"/groups/"+this.groupId+"/baskets/"+this.basketId+"/resources/"+n])):this.backToBasket(),l.label=2;case 2:return[2]}}))}))},n.prototype.validForm=function(){""!==$j("#signatureBookActions option:selected").val()?this.processAction():alert("Aucune action choisie")},n.prototype.processAction=function(){var n=this;this.http.get("../../rest/resources/"+this.resId+"?light=true").pipe(Yr((function(l){var e=$j("#signatureBookActions option:selected").val(),t=n.signatureBook.actions.filter((function(n){return n.id==e}))[0];n.actionService.launchAction(t,n.userId,n.groupId,n.basketId,[n.resId],l,!1)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.refreshBadge=function(n,l){this.processTool.filter((function(n){return n.id===l}))[0].count=n},n.prototype.loadBadges=function(){var n=this;this.http.get("../../rest/resources/"+this.resId+"/items").pipe(Yr((function(l){n.processTool.forEach((function(n){n.count=void 0!==l[n.id]?l[n.id]:0}))})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.createAttachment=function(){var n=this;this.dialogRef=this.dialog.open(qsn,{disableClose:!0,panelClass:"attachment-modal-container",height:"90vh",width:"90vw",data:{resIdMaster:this.resId}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"success"===n})),Yr((function(){n.refreshAttachments("add")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.showAttachment=function(n){var l=this;n.canModify&&"SIGN"!==n.status&&(n.isResource?this.appDocumentViewer.editResource():(this.dialogRef=this.dialog.open(Vsn,{height:"99vh",width:this.appService.getViewMode()?"99vw":"90vw",maxWidth:this.appService.getViewMode()?"99vw":"90vw",panelClass:"attachment-modal-container",disableClose:!0,data:{resId:n.res_id}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"success"===n})),Yr((function(){l.refreshAttachments("edit")})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()))},n.prototype.saveVisaWorkflow=function(){this.appVisaWorkflow.saveVisaWorkflow()},n.prototype.ngOnDestroy=function(){this.actionService.stopRefreshResourceLock(),this.actionService.actionEnded||this.actionService.unlockResource(this.userId,this.groupId,this.basketId,[this.resId]),this.subscription.unsubscribe()},n.prototype.pdfViewerError=function(n){var l=this;this.http.get(n).pipe(Qr((function(n){return 200!==n.status&&l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n}(),Chn=yt({encapsulation:0,styles:[['.selectedId[_ngcontent-%COMP%]{background-color:#f99830}#tab_visaSetWorkflow[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{white-space:pre}[draggable=true][_ngcontent-%COMP%]{cursor:move}[draggable=true][_ngcontent-%COMP%]:hover{box-shadow:0 0 5px green}[draggable=false][_ngcontent-%COMP%]:hover{cursor:not-allowed}#visa_content[_ngcontent-%COMP%]{display:block;width:100%}.droptarget[_ngcontent-%COMP%]{position:relative;background-color:#135F7F33;display:table;margin:10px;padding:5px;text-align:left;width:95%;cursor:default;border:2px dashed #135F7F33}.droptarget_arrow[_ngcontent-%COMP%]{border:none;display:table-cell}.vised[_ngcontent-%COMP%]{opacity:1;color:green;border:2px solid green}.moved[_ngcontent-%COMP%]{opacity:.5!important;color:#666!important;border:2px solid #fff!important;text-decoration:line-through!important}.droptarget[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}#visaUserList[_ngcontent-%COMP%]{width:45%;float:left}.droptarget.currentVis[_ngcontent-%COMP%]{color:#135f7f;border:2px solid #135f7f}.visaUserAction[_ngcontent-%COMP%], .visaUserConsigne[_ngcontent-%COMP%], .visaUserInfo[_ngcontent-%COMP%], .visaUserStatus[_ngcontent-%COMP%]{display:table-cell;vertical-align:middle}.visaUserStatus[_ngcontent-%COMP%]{width:5%}.vised[_ngcontent-%COMP%] .visaUserStatus[_ngcontent-%COMP%]{opacity:1}.visaUserInfo[_ngcontent-%COMP%]{width:55%;font-weight:700}.visaUserInfo[_ngcontent-%COMP%] .nbRes[_ngcontent-%COMP%]{background-color:grey;font-weight:400}.visaUserInfo[_ngcontent-%COMP%] sub[_ngcontent-%COMP%]{font-weight:400}.droptarget[_ngcontent-%COMP%]:hover.vised #dropZone[_ngcontent-%COMP%]{visibility:hidden}.droptarget[_ngcontent-%COMP%]:hover #dropZone[_ngcontent-%COMP%]{visibility:visible}.dropArea[_ngcontent-%COMP%]{border:3px dashed #fff;width:60%;margin:auto;opacity:.5;padding:5px}.dropArea[_ngcontent-%COMP%]::after{font-weight:bolder}#dropZone[_ngcontent-%COMP%], #dropZone[_ngcontent-%COMP%]:active{width:40px;text-align:right;opacity:.5;visibility:hidden;float:right;margin:5px}#dropZone[_ngcontent-%COMP%]:hover{cursor:-webkit-grab;cursor:grab}#dropZone[_ngcontent-%COMP%]:active{cursor:-webkit-grabbing;cursor:grabbing}.visaUserConsigne[_ngcontent-%COMP%]{width:30%}.visaUserAction[_ngcontent-%COMP%]{color:red;text-align:center;width:5%}.visaUserAction[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{cursor:pointer}.visaContent[_ngcontent-%COMP%]{position:relative;font-size:12px;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100vh;overflow:hidden}.visaContent[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{display:block!important;position:initial!important;padding:10px;text-align:center!important}.titleSignatureBook[_ngcontent-%COMP%] .others[_ngcontent-%COMP%]{float:right;width:14%;padding:5px;vertical-align:middle;text-align:right}.titleSignatureBook[_ngcontent-%COMP%] .others[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:95%;background:#e6e6e6;border-radius:2px;border:none;padding:5px}.resListContent[_ngcontent-%COMP%]{width:8%;height:100%;text-align:center;border-right:1px solid;vertical-align:top;overflow:auto;font-size:10px}.resListContentInfo[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:95%;text-align:left;padding:5px;cursor:pointer;margin-top:0}.resListContentInfo[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:5%;text-align:center}.resListContentFrame[_ngcontent-%COMP%]:hover{background-color:#f99830}.resListContentFrame[_ngcontent-%COMP%]{border-bottom:1px solid #000;position:relative;overflow:hidden;background-color:#fff}.resListContentPos[_ngcontent-%COMP%]{overflow-x:hidden;overflow-y:auto}.hideLeftContent[_ngcontent-%COMP%]{z-index:1;position:absolute;margin-left:-13px;color:#666;top:45%;padding:5px;cursor:pointer;background:#fbfbfb;border-radius:40px}.hideRightContent[_ngcontent-%COMP%]{position:absolute;right:-10px;color:#666;top:45%;padding:5px;cursor:pointer;background:#fbfbfb;border-radius:40px}.hideresListContent[_ngcontent-%COMP%]{position:absolute;left:-4px;color:#666;top:45%;padding:5px;cursor:pointer;background:#fbfbfb;border-radius:40px}.contentLeft[_ngcontent-%COMP%]{position:relative;border-right:1px solid;vertical-align:top;padding-left:10px;display:inline-block;height:100%}.contentRight[_ngcontent-%COMP%]{display:inline-block;height:100%;vertical-align:top}.visaContent[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{margin:auto;width:100%;height:75vh;border:none}.contentLeft[_ngcontent-%COMP%] iframe[_ngcontent-%COMP%]{height:99%}.panelRight[_ngcontent-%COMP%]{width:50px;border-left:1px solid;text-align:center;position:absolute;right:0;background-color:#fff}.panelRightContent[_ngcontent-%COMP%]{width:100%;height:69%;overflow:auto}.panelRight[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{padding:20px 10px 20px 5px;cursor:pointer}.panelRight[_ngcontent-%COMP%]{display:inline-block;height:calc(100% - 38px)}.contentLeft[_ngcontent-%COMP%] .contentShow[_ngcontent-%COMP%]{overflow:auto;width:98%}.contentLeft[_ngcontent-%COMP%] .contentShow[_ngcontent-%COMP%], .contentRight[_ngcontent-%COMP%] .contentShow[_ngcontent-%COMP%]{padding:5px;height:100%}.contentRight[_ngcontent-%COMP%] .contentShow[_ngcontent-%COMP%]{display:inline-block;position:relative;vertical-align:top;width:100%}.pjDetails[_ngcontent-%COMP%], .pjDoc[_ngcontent-%COMP%]{margin-bottom:5px}.pjDetails[_ngcontent-%COMP%], .pjSign[_ngcontent-%COMP%]{background-color:#fff;display:block;width:99%;text-align:left;-o-box-shadow:inset 0 0 5px 0 #656565;box-shadow:inset 0 0 5px 0 #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=5);border-radius:5px;padding:10px;height:100px}.pjDetails[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:700;cursor:inherit}.pjDetailsMore[_ngcontent-%COMP%]{z-index:1;position:absolute;left:15px;margin-top:2px;text-align:center;cursor:pointer;background:#135f7f;color:#fff;padding:10px;-o-box-shadow:0 0 10px 0 #656565;box-shadow:0 0 10px 0 #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=10)}.pjDetails[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{white-space:initial}.pjDetails[_ngcontent-%COMP%]{color:#666;font-family:Verdana,Geneva,Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;letter-spacing:.02em}.pjDoc[_ngcontent-%COMP%]{height:100px;background-color:#fff;-o-box-shadow:inset 0 0 5px 0 #656565;box-shadow:inset 0 0 5px 0 #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=5);border-radius:5px;padding:10px}.pjDoc[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:95%;border:2px solid #fff;cursor:pointer}img.panelSelectedThumbnail[_ngcontent-%COMP%], img[_ngcontent-%COMP%]:hover.panelSelectedThumbnail{border:2px solid #135f7f;cursor:pointer}.actions[_ngcontent-%COMP%]{float:right;width:25%;padding:5px;vertical-align:middle;text-align:right;text-transform:initial;border-left:1px solid #000;border-right:1px solid #000}.actions[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:5%}.actions[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:75%}.actions[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{text-align:center;width:17%}#signatureBookActions[_ngcontent-%COMP%]{background:#fff;border:1px solid #135f7f;color:#000;font:400 13.3333px Arial}.titleSignatureBook[_ngcontent-%COMP%]{height:38px;font-size:12px;display:block;width:100%;border:1px solid #000;vertical-align:middle;font-weight:700;background:#135f7f;color:#fff;text-transform:uppercase;white-space:nowrap;overflow:hidden}#closeSignatureBook[_ngcontent-%COMP%]{float:right;padding:5px;width:47px;text-align:center}#labelSignatureBook[_ngcontent-%COMP%]{float:left;width:33%;padding-left:10px;margin-top:10px}#labelSignatureBook[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:block}#tabSignatureBook[_ngcontent-%COMP%]{float:left;width:auto}.titleSignatureBook[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}#tabSignatureBook[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]{border-right:1px solid #000;display:table-cell;padding:5px 10px 7px;cursor:pointer;vertical-align:middle;width:60px;text-align:center;color:#666;background-color:#fbfbfb}.contentSignatureBook[_ngcontent-%COMP%]{border:1px solid #000;border-top:none;display:block;width:100%;-webkit-box-flex:1;flex:1;overflow:hidden;background-color:#fbfbfb}#tabSignatureBook[_ngcontent-%COMP%] .item.activeTabSignatureBook[_ngcontent-%COMP%]{-o-box-shadow:inset 0 0 5px 0 #656565;box-shadow:inset 0 0 5px 0 #656565;padding-left:10px;padding-right:10px}.resListContentFrameSelected[_ngcontent-%COMP%]{background-color:#f99830}.panelRightContent[_ngcontent-%COMP%] .item[_ngcontent-%COMP%]:hover{-o-box-shadow:inset 0 0 5px 0 #656565;box-shadow:inset 0 0 5px 0 #656565;background-color:#f99830}.panelSelectedThumbnail[_ngcontent-%COMP%]{-o-box-shadow:inset 0 0 5px 0 #656565;box-shadow:inset 0 0 5px 0 #656565;background-color:#f99830;color:#666!important}.infoPj[_ngcontent-%COMP%]{width:30%;display:inline-block;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;padding-left:10px}.infoPj[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{vertical-align:top}.ng-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;padding:5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%]{cursor:pointer}.ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]{padding-right:18px;position:relative}.ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:after, .ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:before{content:"";border-width:0 4px 4px;border-style:solid;border-color:#000 transparent;visibility:visible;right:5px;top:50%;position:absolute;opacity:.3;margin-top:-4px}.ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:before{margin-top:2px;border-bottom:none;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000}.ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:hover:after, .ng-table[_ngcontent-%COMP%] th.sortable[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:hover:before{opacity:1;visibility:visible}.ng-table[_ngcontent-%COMP%] th.sortable.sort-asc[_ngcontent-%COMP%], .ng-table[_ngcontent-%COMP%] th.sortable.sort-desc[_ngcontent-%COMP%]{background-color:rgba(141,192,219,.25);text-shadow:0 1px 1px rgba(255,255,255,.75)}.ng-table[_ngcontent-%COMP%] th.sortable.sort-asc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:after, .ng-table[_ngcontent-%COMP%] th.sortable.sort-desc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:after{margin-top:-2px}.ng-table[_ngcontent-%COMP%] th.sortable.sort-asc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:before, .ng-table[_ngcontent-%COMP%] th.sortable.sort-desc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:before{visibility:hidden}.ng-table[_ngcontent-%COMP%] th.sortable.sort-asc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:after, .ng-table[_ngcontent-%COMP%] th.sortable.sort-asc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:hover:after, .ng-table[_ngcontent-%COMP%] th.sortable.sort-desc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:after{visibility:visible;filter:alpha(opacity=60);-khtml-opacity:.6;-moz-opacity:.6;opacity:.6}.ng-table[_ngcontent-%COMP%] th.sortable.sort-desc[_ngcontent-%COMP%] .sort-indicator[_ngcontent-%COMP%]:after{border-bottom:none;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #000;box-shadow:none}.ng-table[_ngcontent-%COMP%] th.filter[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{margin:0;display:block;width:auto;font-size:9px;box-sizing:border-box}.ng-table[_ngcontent-%COMP%] .ng-table-group-header[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}.ng-table[_ngcontent-%COMP%] .ng-table-group-selector[_ngcontent-%COMP%]{display:block}.ng-table[_ngcontent-%COMP%] .ng-table-group-close[_ngcontent-%COMP%], .ng-table[_ngcontent-%COMP%] .ng-table-group-toggle[_ngcontent-%COMP%]{float:right}.ng-table[_ngcontent-%COMP%] .ng-table-group-toggle[_ngcontent-%COMP%]{margin-right:5px}@media only screen and (max-width:800px){.ng-table-responsive[_ngcontent-%COMP%]{border-bottom:1px solid #999}.ng-table-responsive[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-top:1px solid #999;border-left:1px solid #999;border-right:1px solid #999}.ng-table-responsive[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:before{position:absolute;padding:8px;left:0;top:0;width:50%;white-space:nowrap;text-align:left;font-weight:700;content:attr(data-title-text)}.ng-table-responsive[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left}.ng-table-responsive[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr.ng-table-filters[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:0}.ng-table-responsive[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr.ng-table-filters[_ngcontent-%COMP%] th[_ngcontent-%COMP%] form[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{padding:8px}.ng-table-responsive[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{border:none;border-bottom:1px solid #eee;position:relative;padding-left:50%;white-space:normal;text-align:left}.ng-table-responsive[_ngcontent-%COMP%], .ng-table-responsive[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%], .ng-table-responsive[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .ng-table-responsive[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .ng-table-responsive[_ngcontent-%COMP%] thead[_ngcontent-%COMP%], .ng-table-responsive[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{display:block}}.ng-table-pagination[_ngcontent-%COMP%]{margin-top:0}.filter[_ngcontent-%COMP%]:after, .filter[_ngcontent-%COMP%]:before, .ng-table-group-selector[_ngcontent-%COMP%]:after, .ng-table-group-selector[_ngcontent-%COMP%]:before{display:table;content:" "}.filter[_ngcontent-%COMP%]:after, .ng-table-group-selector[_ngcontent-%COMP%]:after{clear:both}.filter[_ngcontent-%COMP%] > .filter-cell[_ngcontent-%COMP%]{float:left;box-sizing:border-box}.filter-horizontal[_ngcontent-%COMP%] > .filter-cell[_ngcontent-%COMP%]{padding:0 2px}.filter-horizontal[_ngcontent-%COMP%] > .filter-cell[_ngcontent-%COMP%]:first-child{padding-left:0}.filter-horizontal[_ngcontent-%COMP%] > .filter-cell.last[_ngcontent-%COMP%], .filter-horizontal[_ngcontent-%COMP%] > .filter-cell[_ngcontent-%COMP%]:last-child{padding-right:0}.s12[_ngcontent-%COMP%]{width:100%}.s11[_ngcontent-%COMP%]{width:91.66666666666666%}.s10[_ngcontent-%COMP%]{width:83.33333333333334%}.s9[_ngcontent-%COMP%]{width:75%}.s8[_ngcontent-%COMP%]{width:66.66666666666666%}.s7[_ngcontent-%COMP%]{width:58.333333333333336%}.s6[_ngcontent-%COMP%]{width:50%}.s5[_ngcontent-%COMP%]{width:41.66666666666667%}.s4[_ngcontent-%COMP%]{width:33.33333333333333%}.s3[_ngcontent-%COMP%]{width:25%}.s2[_ngcontent-%COMP%]{width:16.666666666666664%}.s1[_ngcontent-%COMP%]{width:8.333333333333332%}@media all and (max-width:468px){.s1[_ngcontent-%COMP%], .s10[_ngcontent-%COMP%], .s11[_ngcontent-%COMP%], .s12[_ngcontent-%COMP%], .s2[_ngcontent-%COMP%], .s3[_ngcontent-%COMP%], .s4[_ngcontent-%COMP%], .s5[_ngcontent-%COMP%], .s6[_ngcontent-%COMP%], .s7[_ngcontent-%COMP%], .s8[_ngcontent-%COMP%], .s9[_ngcontent-%COMP%]{width:100%}.filter[_ngcontent-%COMP%] > .filter-cell[_ngcontent-%COMP%]{padding:0}}.ng-table[_ngcontent-%COMP%]{margin-bottom:20px;max-width:100%;width:100%;background-color:transparent;border-collapse:collapse;border-spacing:0;border-bottom:1px solid #135f7f}.ng-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{text-align:left;padding:10px}.ng-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border-bottom:1px solid #135f7f}.ng-table-counts[_ngcontent-%COMP%]{display:none}.ng-table-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:inline-block;border:1px solid #135f7f;padding:5px;margin:5px;border-radius:10px}.ng-table-pagination[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%]{background:#135f7f;color:#fff}.ng-table-pagination[_ngcontent-%COMP%] li.active[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff}.ng-table-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover{background:#135f7f;color:#fff}.ng-table-pagination[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:hover a[_ngcontent-%COMP%]{color:#fff}.ng-table[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(even){background-color:rgba(141,192,219,.25)}.ng-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(1), .ng-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(2){width:20%}.ng-table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:nth-child(3){width:60%}#footer[_ngcontent-%COMP%]{padding:0}.pjSign[_ngcontent-%COMP%]{text-align:left;height:auto;position:absolute;bottom:0;background:#fff;margin-bottom:5px;width:80px;-webkit-transition:width .5s;transition:width .5s;overflow:auto!important}.pjSign.signed[_ngcontent-%COMP%]{width:auto!important}.pjSign[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{cursor:pointer;border:2px solid #fff;height:30px;width:auto;min-width:60px;-webkit-transition:.5s;transition:all .5s}.pjSign[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]{height:60px;width:auto;-webkit-transition:.5s;transition:all .5s}.pjSign[_ngcontent-%COMP%]:hover img[_ngcontent-%COMP%]:hover{border:2px solid #135f7f}.pjSign[_ngcontent-%COMP%]:hover{display:-webkit-box;display:flex;white-space:pre;overflow:hidden!important;width:95%;-webkit-transition:width .5s;transition:width .5s}.visaPjView[_ngcontent-%COMP%]{color:initial}.panelRightListPj[_ngcontent-%COMP%]{padding:3px;margin-bottom:5px;cursor:pointer}.panelRightListPj[_ngcontent-%COMP%]:hover{color:#135f7f}.panelRightAddPj[_ngcontent-%COMP%]{display:block;margin:auto auto 10px;font-size:10px;height:40px;width:40px;cursor:pointer;padding:10px;background-color:#16a765;color:#fff;border-radius:25px;-o-box-shadow:0 0 10px 0 #656565;box-shadow:0 0 10px 0 #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=10)}.visaPjUp[_ngcontent-%COMP%]{margin:auto auto 10px;font-size:10px;height:40px;width:40px;cursor:pointer;padding:10px;background-color:#4285f4;color:#fff;border-radius:25px;-o-box-shadow:0 0 10px 0 #656565;box-shadow:0 0 10px 0 #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=10)}.visaPjDel[_ngcontent-%COMP%]{margin:auto;font-size:10px;height:40px;width:40px;cursor:pointer;padding:10px;background-color:#d14836;color:#fff;border-radius:25px;-o-box-shadow:0 0 10px 0 #656565;box-shadow:0 0 10px 0 #656565;filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=10)}.visaNoPdfWarning[_ngcontent-%COMP%]{border:dashed;font-weight:700;opacity:.5;white-space:normal;font-size:40px;text-align:center}.visaNoWorkflowWarning[_ngcontent-%COMP%]{height:97%;width:100%;font-size:40px;border:dashed;font-weight:700;opacity:.5;white-space:normal;margin-top:10px}.visaNoPjWarning[_ngcontent-%COMP%]{height:80vh;font-size:40px;border:dashed;font-weight:700;opacity:.5;white-space:normal;margin-top:10px}.visaDisabledButton[_ngcontent-%COMP%]{cursor:inherit;opacity:.3}.chosen-container-single[_ngcontent-%COMP%] .chosen-default[_ngcontent-%COMP%]{color:#000!important}#visa_content[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:11px}.nbResZero[_ngcontent-%COMP%]{background:#666;color:#fff;padding:3px;border-radius:7px}.nbRes[_ngcontent-%COMP%]{background:#f99830;color:#fff;padding:3px;border-radius:7px}.haveContent[_ngcontent-%COMP%]{font-size:9px!important;color:#f99830;margin-left:2px}.button-form-primary-filled[_ngcontent-%COMP%]{background:#135f7f;border:1px solid #fff;color:#fff;border-radius:30px;padding-left:20px;padding-right:20px;-webkit-transition:.1s;transition:all .1s;margin-left:5px}.inputConsigne[_ngcontent-%COMP%]{height:22px;margin-top:2px;color:#000;font-weight:400}']],data:{}});function khn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","visaContent"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-5x"],["style","margin-left: 50%;margin-top: 16%;font-size: 8em"]],null,null,null,null,null))],null,null)}function Shn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","item"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeSignatureBookLeftContent("document")&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(3,{activeTabSignatureBook:0}),(n()(),_o(4,0,null,null,0,"i",[["class","fa fa-file-alt fa-2x"]],null,null,null,null,null))],(function(n,l){var e=n(l,3,0,"document"==l.component.headerTab);n(l,2,0,"item",e)}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.mail,""))}))}function Ihn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-circle haveContent"]],null,null,null,null,null))],null,null)}function Ahn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","item"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeSignatureBookLeftContent(n.context.$implicit.id)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(3,{activeTabSignatureBook:0}),(n()(),_o(4,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ihn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=n(l,3,0,l.component.headerTab==l.context.$implicit.id);n(l,2,0,"item",e),n(l,6,0,l.context.$implicit.count>0)}),(function(n,l){n(l,0,0,Wt(1,"",l.context.$implicit.label,"")),n(l,4,0,l.context.$implicit.icon)}))}function Mhn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"option",[],null,null,null,null,null)),Di(1,147456,null,0,z_,[Pe,Te,[8,null]],{value:[0,"value"]},null),Di(2,147456,null,0,$_,[Pe,Te,[8,null]],{value:[0,"value"]},null),(n()(),Lo(3,null,["",""]))],(function(n,l){n(l,1,0,Wt(1,"",l.context.$implicit.id,"")),n(l,2,0,Wt(1,"",l.context.$implicit.id,""))}),(function(n,l){n(l,3,0,l.context.$implicit.label)}))}function Phn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","others"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"span",[["id","consigne"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"input",[["class","inputConsigne"],["readonly","readonly"],["type","text"]],[[8,"value",0],[8,"title",0]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,2,0,Wt(1,"",e.signatureBook.consigne,""),Wt(1,"",e.signatureBook.consigne,""))}))}function Dhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-certificate"]],null,null,null,null,null))],null,null)}function Fhn(n){return jo(0,[(n()(),_o(0,0,null,null,27,"div",[["class","resListContentFrame"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeLocation(n.context.$implicit.res_id,"view")&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(3,{resListContentFrameSelected:0}),(n()(),_o(4,0,null,null,9,"div",[["class","resListContentInfo"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,0,"i",[["class","fa fa-compass"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Dhn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" "])),(n()(),_o(10,0,null,null,3,"i",[["aria-hidden","true"],["class","fa fa-circle"],["style","position: absolute;right: 0px;top: -10px;font-size: 25px;"]],[[8,"title",0]],null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(12,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(13,{color:0}),(n()(),_o(14,0,null,null,2,"div",[["class","resListContentInfo"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,0,"i",[["class","fa fa-info"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,null,2,"div",[["class","resListContentInfo"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,0,"i",[["class","fa fa-book"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(19,null,[" "," "])),(n()(),_o(20,0,null,null,3,"div",[["class","resListContentInfo"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,0,"i",[["class","fa fa-calendar-alt"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(22,null,[" "," "])),Fo(23,2),(n()(),_o(24,0,null,null,3,"div",[["class","resListContentInfo"],["style","margin-top:-10px;"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,0,"i",[["class","fa fa-bell"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(26,null,[" "," "])),Fo(27,2)],(function(n,l){var e=n(l,3,0,l.component.resId==l.context.$implicit.res_id);n(l,2,0,"resListContentFrame",e),n(l,8,0,l.context.$implicit.allSigned);var t=n(l,13,0,l.context.$implicit.priorityColor);n(l,12,0,t)}),(function(n,l){var e=l.component;n(l,5,0,Wt(1,"",e.lang.chronoNumber,"")),n(l,6,0,l.context.$implicit.alt_identifier),n(l,10,0,Wt(1,"",l.context.$implicit.priorityLabel,"")),n(l,15,0,Wt(1,"",e.lang.object,"")),n(l,16,0,l.context.$implicit.subject),n(l,18,0,Wt(1,"",e.lang.contactInfo,"")),n(l,19,0,l.context.$implicit.sender),n(l,21,0,Wt(1,"",e.lang.arrivalDate,""));var t=bt(l,22,0,n(l,23,0,bi(l.parent.parent,0),l.context.$implicit.creation_date,"dd/MM/y"));n(l,22,0,t),n(l,25,0,Wt(1,"",e.lang.processLimitDate,""));var i=bt(l,26,0,n(l,27,0,bi(l.parent.parent,0),l.context.$implicit.process_limit_date,"dd/MM/y"));n(l,26,0,i)}))}function Ehn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","position: absolute;top: 48%; left: 3%"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-spinner fa-spin fa-4x"]],null,null,null,null,null))],null,null)}function Ohn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-left"]],null,null,null,null,null))],null,null)}function Thn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-right"]],null,null,null,null,null))],null,null)}function Lhn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","hideresListContent"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.displayPanel("RESLEFT")&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,Ohn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Thn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.showResLeftPanel),n(l,4,0,!e.showResLeftPanel)}),null)}function Rhn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"img",[["class","leftPanelThumbnails"],["id","thumnails_img"]],[[8,"title",0],[8,"src",4]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeLeftViewer(n.context.index)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(3,{panelSelectedThumbnail:0})],(function(n,l){var e=n(l,3,0,l.context.index==l.component.leftSelectedThumbnail);n(l,2,0,"leftPanelThumbnails",e)}),(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",l.context.$implicit.title,""),e.coreUrl+l.context.$implicit.thumbnailLink)}))}function Nhn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","pjDoc"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["style","height:100%;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Rhn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.signatureBook.documents)}),null)}function jhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-envelope-square fa-2x"]],null,null,null,null,null))],null,null)}function Vhn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"sup",[["class","nbRes"],["style","position: absolute;right: 6px;top: 5px;"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.signatureBook.documents.length-1)}))}function qhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-up"]],null,null,null,null,null))],null,null)}function zhn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","pjDetailsMore"],["style","left:25px;"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.displayPanel("TOPLEFT")&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,jhn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Vhn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qhn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,!e.showTopLeftPanel),n(l,4,0,!e.showTopLeftPanel),n(l,6,0,e.showTopLeftPanel)}),(function(n,l){var e=l.component;n(l,0,0,Wt(2,"",e.signatureBook.documents.length-1," ",e.lang.mailAttachments,""))}))}function Uhn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"pdf-viewer",[["id","leftPanelShowDocumentIframe"]],null,[[null,"error"],["window","resize"]],(function(n,l,e){var t=!0,i=n.component;return"window:resize"===l&&(t=!1!==bi(n,4).onPageResize()&&t),"error"===l&&(t=!1!==i.pdfViewerError(i.leftViewerLink)&&t),t}),qpn,Vpn)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{height:0}),Di(4,9158656,[["leftPanelShowDocumentIframe",4]],0,Npn,[Pe],{src:[0,"src"],renderText:[1,"renderText"],originalSize:[2,"originalSize"],showAll:[3,"showAll"],fitToPage:[4,"fitToPage"]},{onError:"error"})],(function(n,l){var e=l.component,t=n(l,3,0,e.showTopLeftPanel?"84%":"99%");n(l,2,0,t),n(l,4,0,e.leftViewerLink,!0,!0,!0,!1)}),null)}function Bhn(n){return jo(0,[(n()(),_o(0,0,null,null,11,"div",[["class","visaNoPdfWarning"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{height:0}),(n()(),_o(4,0,null,null,4,"div",[["style","padding-top: 25%;"]],null,null,null,null,null)),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"sub",[],null,null,null,null,null)),(n()(),Lo(8,null,["",' "',".",'" ',"."])),(n()(),_o(9,0,null,null,2,"div",[["class","visaPjView"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"a",[["target","_blank"]],[[8,"title",0],[8,"href",4]],null,null,null,null)),(n()(),_o(11,0,null,null,0,"i",[["class","fa fa-download fa-2x"]],null,null,null,null,null))],(function(n,l){var e=n(l,3,0,l.component.showTopLeftPanel?"79%":"96%");n(l,2,0,e)}),(function(n,l){var e=l.component;n(l,5,0,e.lang.noOverviewAvailable),n(l,8,0,e.lang.pdfVersionFile,e.signatureBook.documents[e.leftSelectedThumbnail].title,e.signatureBook.documents[e.leftSelectedThumbnail].format,e.lang.isNotAvailable),n(l,10,0,Wt(1,"",e.lang.dlAttachment,""),Wt(1,"../../rest/attachments/",e.signatureBook.documents[e.leftSelectedThumbnail].res_id,"/originalContent"))}))}function $hn(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["class","contentShow"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Nhn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zhn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Uhn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Bhn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.showTopLeftPanel),n(l,4,0,e.signatureBook.documents.length-1>0),n(l,6,0,""!=e.leftViewerLink&&(0==e.leftSelectedThumbnail||"pdf"==e.signatureBook.documents[e.leftSelectedThumbnail].format||e.signatureBook.documents[e.leftSelectedThumbnail].isConverted)),n(l,8,0,e.leftSelectedThumbnail>0&&"pdf"!=e.signatureBook.documents[e.leftSelectedThumbnail].format&&!e.signatureBook.documents[e.leftSelectedThumbnail].isConverted)}),null)}function Hhn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","contentShow"],["style","width:98%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-notes-list",[],null,[[null,"reloadBadgeNotes"]],(function(n,l,e){var t=!0;return"reloadBadgeNotes"===l&&(t=!1!==n.component.refreshBadge(e,"notes")&&t),t}),Lsn,ksn)),Ei(512,null,tu,tu,[uf,hk]),Di(3,114688,[["appNotesList",4]],0,Csn,[nS,tu,_u,Jv,$S],{resId:[0,"resId"],editMode:[1,"editMode"]},{reloadBadgeNotes:"reloadBadgeNotes"})],(function(n,l){n(l,3,0,l.component.resId,!0)}),null)}function Ghn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","accent"],["mat-fab",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveVisaWorkflow()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fas fa-check mat-icon notranslate"],["role","img"],["style","height:auto;font-size:20px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"accent"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.saveModifications,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Whn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","contentShow"],["style","width:98%;overflow-x: hidden;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(3,114688,[[1,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{target:[0,"target"],adminMode:[1,"adminMode"],resId:[2,"resId"]},null),(n()(),_o(4,0,null,null,2,"div",[["style","position: sticky;bottom: 0px;text-align:right;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ghn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,"signatureBook",e.privilegeService.hasCurrentUserPrivilege("config_visa_workflow"),e.resId),n(l,6,0,void 0!==bi(l,3)&&bi(l,3).isModified())}),null)}function Khn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","contentShow"],["style","width:98%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"app-history-list",[],null,null,null,kX,QQ)),Di(2,114688,[["appHistoryList",4]],0,JQ,[nS,tu,_u,Jv,$S,QS,TI],{resId:[0,"resId"]},null)],(function(n,l){n(l,2,0,l.component.resId)}),null)}function Yhn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","contentShow"],["style","width:98%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-linked-resource-list",[],null,[[null,"reloadBadgeLinkedResources"]],(function(n,l,e){var t=!0;return"reloadBadgeLinkedResources"===l&&(t=!1!==n.component.refreshBadge(e,"linkedResources")&&t),t}),Ydn,qdn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,[["appLinkedResourceList",4]],0,Vdn,[nS,tu,yu,Jv,$S,TI],{resId:[0,"resId"]},{reloadBadgeLinkedResources:"reloadBadgeLinkedResources"})],(function(n,l){n(l,3,0,l.component.resId)}),null)}function Jhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-right"]],null,null,null,null,null))],null,null)}function Zhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-left"]],null,null,null,null,null))],null,null)}function Qhn(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","contentLeft"],["id","contentLeft"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{width:0}),(n()(),vo(16777216,null,null,1,null,Lhn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$hn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Hhn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Whn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Khn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Yhn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,null,7,"div",[["class","hideRightContent"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.displayPanel("MIDDLE")&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(18,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(19,{right:0}),(n()(),vo(16777216,null,null,1,null,Jhn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Zhn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,3,0,e.leftContentWidth);n(l,2,0,t),n(l,5,0,e.showLeftPanel&&e.showRightPanel),n(l,7,0,"document"==e.headerTab),n(l,9,0,"notes"==e.headerTab),n(l,11,0,"visaCircuit"==e.headerTab),n(l,13,0,"history"==e.headerTab),n(l,15,0,"linkedResources"==e.headerTab);var i=n(l,19,0,e.showRightPanel?"-10px":"0px");n(l,18,0,i),n(l,21,0,e.showRightPanel),n(l,23,0,!e.showRightPanel)}),null)}function Xhn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-left"]],null,null,null,null,null))],null,null)}function ngn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-right"]],null,null,null,null,null))],null,null)}function lgn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"sup",[["style","color:#135F7F;"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.signed)}))}function egn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(1,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(2,null,[""," : "])),(n()(),_o(3,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,Wt(1,"",e.signatureBook.attachments[e.rightSelectedThumbnail].typist,"")),n(l,2,0,e.lang.createdBy),n(l,4,0,e.signatureBook.attachments[e.rightSelectedThumbnail].typist)}))}function tgn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),Fo(1,2),(n()(),_o(2,0,null,null,3,"label",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"i",[],null,null,null,null,null)),(n()(),Lo(-1,null,["*"])),(n()(),Lo(5,null,[" "," : "])),(n()(),_o(6,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(7,null,["",""]))],null,(function(n,l){var e=l.component,t=Wt(3,"",e.lang.modifiedBy," : ",e.signatureBook.attachments[e.rightSelectedThumbnail].updated_by," le ",bt(l,0,0,n(l,1,0,bi(l.parent.parent.parent.parent,0),e.signatureBook.attachments[e.rightSelectedThumbnail].doc_date,"dd/MM/y")),"");n(l,0,0,t),n(l,5,0,e.lang.createdBy),n(l,7,0,e.signatureBook.attachments[e.rightSelectedThumbnail].typist)}))}function ign(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-list-alt fa-2x"]],null,null,null,null,null))],null,null)}function agn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-chevron-up"]],null,null,null,null,null))],null,null)}function ogn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-document-viewer",[["id","rightPanelShowDocumentIframe"],["style","height:100%;width:100%;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,[[2,4],["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{mode:[0,"mode"],resId:[1,"resId"],editMode:[2,"editMode"],hideTools:[3,"hideTools"],title:[4,"title"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.signatureBook.attachments[e.rightSelectedThumbnail].isResource?"mainDocument":"attachment",e.signatureBook.attachments[e.rightSelectedThumbnail].signed?e.signatureBook.attachments[e.rightSelectedThumbnail].viewerId:e.signatureBook.attachments[e.rightSelectedThumbnail].res_id,!0,!0,e.signatureBook.attachments[e.rightSelectedThumbnail].identifier)}),null)}function rgn(n){return jo(0,[(n()(),_o(0,0,null,null,11,"div",[["class","visaNoPdfWarning"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{height:0}),(n()(),_o(4,0,null,null,4,"div",[["style","padding-top: 25%;"]],null,null,null,null,null)),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"sub",[],null,null,null,null,null)),(n()(),Lo(8,null,["",' "',".",'" ',"."])),(n()(),_o(9,0,null,null,2,"div",[["class","visaPjView"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"a",[["target","_blank"]],[[8,"title",0],[8,"href",4]],null,null,null,null)),(n()(),_o(11,0,null,null,0,"i",[["class","fa fa-download fa-2x"]],null,null,null,null,null))],(function(n,l){var e=n(l,3,0,l.component.showTopRightPanel?"79%":"96%");n(l,2,0,e)}),(function(n,l){var e=l.component;n(l,5,0,e.lang.noOverviewAvailable),n(l,8,0,e.lang.pdfVersionFile,e.signatureBook.attachments[e.rightSelectedThumbnail].title,e.signatureBook.attachments[e.rightSelectedThumbnail].format,e.lang.isNotAvailable),n(l,10,0,Wt(1,"",e.lang.dlAttachment,""),Wt(1,"../../rest/attachments/",e.signatureBook.attachments[e.rightSelectedThumbnail].res_id,"/originalContent"))}))}function ugn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","visaNoPdfWarning"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{height:0}),(n()(),_o(4,0,null,null,0,"div",[["style","padding-top: 25%;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(5,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),_o(6,0,null,null,1,"a",[],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.showAttachment(i.signatureBook.attachments[i.rightSelectedThumbnail])&&t),t}),null,null)),(n()(),_o(7,0,null,null,0,"i",[["class","fa fa-edit fa-2x"],["style","cursor:pointer;"]],null,null,null,null,null))],(function(n,l){var e=n(l,3,0,l.component.showTopRightPanel?"79%":"96%");n(l,2,0,e)}),(function(n,l){var e=l.component;n(l,4,0,e.lang.editingAttachmentInterrupted),n(l,6,0,Wt(1,"",e.lang.editAttachment,""))}))}function sgn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"img",[],[[8,"src",4],[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.signFile(i.signatureBook.attachments[i.rightSelectedThumbnail],n.context.$implicit)&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{display:0})],(function(n,l){var e=n(l,3,0,!l.component.showSignaturesPanel&&l.context.index>0?"none":"");n(l,2,0,e)}),(function(n,l){n(l,0,0,Wt(2,"../../rest/users/",l.context.$implicit.user_serial_id,"/signatures/",l.context.$implicit.id,"/content"),Wt(1,"",l.context.$implicit.signature_label,""))}))}function cgn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,sgn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,2,0,l.component.signatureBook.signatures)}),null)}function dgn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-spinner fa-pulse fa-2x fa-fw"]],null,null,null,null,null))],null,null)}function pgn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,cgn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dgn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,!e.loadingSign),n(l,4,0,e.loadingSign)}),null)}function mgn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","cursor: pointer;color: green;"]],null,[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.unsignFile(i.signatureBook.attachments[i.rightSelectedThumbnail])&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"i",[["aria-hidden","true"],["class","fa fa-check fa-2x"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,1,0,Wt(1,"",l.component.lang.unsign,""))}))}function fgn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","pjSign"]],null,[[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"mouseenter"===l&&(t=0!=(i.showSignaturesPanel=!0)&&t),"mouseleave"===l&&(t=0!=(i.showSignaturesPanel=!1)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(3,1),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(5,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(6,{"box-shadow":0}),(n()(),vo(16777216,null,null,1,null,pgn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mgn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,3,0,"SIGN"==e.signatureBook.attachments[e.rightSelectedThumbnail].status?"signed":"");n(l,2,0,"pjSign",t);var i=n(l,6,0,e.signatureBook.listinstance.requested_signature?"inset 0px 0px 5px 0px red":"inset 0px 0px 5px 0px #656565;");n(l,5,0,i),n(l,8,0,"SIGN"!=e.signatureBook.attachments[e.rightSelectedThumbnail].status&&e.signatureBook.signatures[0]),n(l,10,0,"SIGN"==e.signatureBook.attachments[e.rightSelectedThumbnail].status)}),null)}function hgn(n){return jo(0,[(n()(),_o(0,0,null,null,71,"div",[["style","height:100%;overflow: auto;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,57,"div",[["class","pjDetails"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(3,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(4,{display:0}),(n()(),_o(5,0,null,null,6,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(6,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(-1,null,["Type : "])),(n()(),_o(8,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),Lo(9,null,[""," "])),(n()(),vo(16777216,null,null,1,null,lgn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(12,0,null,null,4,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(13,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(14,null,[""," : "])),(n()(),_o(15,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(16,null,["",""])),(n()(),_o(17,0,null,null,4,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(18,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(19,null,[""," : "])),(n()(),_o(20,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(21,null,["",""])),(n()(),_o(22,0,null,null,36,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,egn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tgn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,null,5,"div",[["class","infoPj"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(29,null,[""," : "])),(n()(),_o(30,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),Lo(31,null,["",""])),Fo(32,2),(n()(),_o(33,0,null,null,6,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),Fo(34,2),(n()(),_o(35,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(36,null,[""," : "])),(n()(),_o(37,0,null,null,2,"span",[],null,null,null,null,null)),(n()(),Lo(38,null,["",""])),Fo(39,2),(n()(),_o(40,0,null,null,4,"div",[["class","infoPj"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(41,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(42,null,[""," : "])),(n()(),_o(43,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(44,null,["",""])),(n()(),_o(45,0,null,null,8,"div",[["class","infoPj"]],null,null,null,null,null)),(n()(),_o(46,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(-1,null,["Version : "])),(n()(),_o(48,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(49,null,["",""])),(n()(),_o(50,0,null,null,3,"i",[["aria-hidden","true"],["class","fa fa-chevron-circle-up"],["data-tooltip-content","#obsVersionTooltip"],["id","obsVersion"],["style","color:#135F7F"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(52,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(53,{display:0}),(n()(),_o(54,0,null,null,4,"div",[["class","infoPj"]],null,null,null,null,null)),(n()(),_o(55,0,null,null,1,"label",[],null,null,null,null,null)),(n()(),Lo(-1,null,["Format : "])),(n()(),_o(57,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(58,null,["",""])),(n()(),_o(59,0,null,null,4,"div",[["class","pjDetailsMore"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.displayPanel("TOPRIGHT")&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,ign)),Di(61,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,agn)),Di(63,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ogn)),Di(65,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rgn)),Di(67,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ugn)),Di(69,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fgn)),Di(71,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,4,0,e.showTopRightPanel?"block":"none");n(l,3,0,t),n(l,11,0,"SIGN"==e.signatureBook.attachments[e.rightSelectedThumbnail].status),n(l,24,0,!e.signatureBook.attachments[e.rightSelectedThumbnail].updated_by),n(l,26,0,e.signatureBook.attachments[e.rightSelectedThumbnail].updated_by);var i=n(l,53,0,e.signatureBook.attachments[e.rightSelectedThumbnail].relation>1?"":"none");n(l,52,0,i),n(l,61,0,!e.showTopRightPanel),n(l,63,0,e.showTopRightPanel),n(l,65,0,e.signatureBook.attachments[e.rightSelectedThumbnail].isConverted),n(l,67,0,"pdf"!=e.signatureBook.attachments[e.rightSelectedThumbnail].format&&"TMP"!=e.signatureBook.attachments[e.rightSelectedThumbnail].status&&!e.signatureBook.attachments[e.rightSelectedThumbnail].isConverted),n(l,69,0,"TMP"==e.signatureBook.attachments[e.rightSelectedThumbnail].status&&!e.signatureBook.attachments[e.rightSelectedThumbnail].isConverted),n(l,71,0,e.signatureBook.signatures[0]&&e.signatureBook.canSign&&"TMP"!=e.signatureBook.attachments[e.rightSelectedThumbnail].status&&e.signatureBook.attachments[e.rightSelectedThumbnail].sign)}),(function(n,l){var e=l.component;n(l,5,0,Wt(1,"",e.signatureBook.attachments[e.rightSelectedThumbnail].attachment_type,"")),n(l,9,0,e.signatureBook.attachments[e.rightSelectedThumbnail].attachment_type),n(l,12,0,Wt(1,"",e.signatureBook.attachments[e.rightSelectedThumbnail].title,"")),n(l,14,0,e.lang.object),n(l,16,0,e.signatureBook.attachments[e.rightSelectedThumbnail].title),n(l,17,0,Wt(1,"",e.signatureBook.attachments[e.rightSelectedThumbnail].destUser,"")),n(l,19,0,e.lang.for),n(l,21,0,e.signatureBook.attachments[e.rightSelectedThumbnail].destUser),n(l,29,0,e.lang.createdOn);var t=bt(l,31,0,n(l,32,0,bi(l.parent.parent.parent,0),e.signatureBook.attachments[e.rightSelectedThumbnail].creation_date,"dd/MM/y à HH:mm"));n(l,31,0,t);var i=Wt(1,"",bt(l,33,0,n(l,34,0,bi(l.parent.parent.parent,0),e.signatureBook.attachments[e.rightSelectedThumbnail].validation_date,"dd/MM/y")),"");n(l,33,0,i),n(l,36,0,e.lang.back);var a=bt(l,38,0,n(l,39,0,bi(l.parent.parent.parent,0),e.signatureBook.attachments[e.rightSelectedThumbnail].validation_date,"dd/MM/y"));n(l,38,0,a),n(l,40,0,Wt(1,"",e.signatureBook.attachments[e.rightSelectedThumbnail].identifier,"")),n(l,42,0,e.lang.chrono),n(l,44,0,e.signatureBook.attachments[e.rightSelectedThumbnail].identifier),n(l,49,0,e.signatureBook.attachments[e.rightSelectedThumbnail].relation),n(l,58,0,e.signatureBook.attachments[e.rightSelectedThumbnail].format.toUpperCase()),n(l,59,0,Wt(1,"",e.lang.details,""))}))}function ggn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-attachments-list",[],null,[[null,"reloadBadgeAttachments"],[null,"afterActionAttachment"]],(function(n,l,e){var t=!0,i=n.component;return"reloadBadgeAttachments"===l&&(t=!1!==i.refreshAttachments()&&t),"afterActionAttachment"===l&&(t=!1!==i.refreshAttachments()&&t),t}),scn,Usn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,[["appAttachmentsList",4]],0,zsn,[nS,tu,Jv,yu,_u,TI],{resId:[0,"resId"],target:[1,"target"]},{reloadBadgeAttachments:"reloadBadgeAttachments",afterActionAttachment:"afterActionAttachment"})],(function(n,l){n(l,2,0,l.component.resId,"process")}),null)}function bgn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","visaNoPjWarning"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"div",[["style","margin-top:200px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,1,0,l.component.lang.noAttachmentClickToAddOne)}))}function vgn(n){return jo(0,[(n()(),_o(0,0,null,null,20,"div",[["class","contentRight"],["id","contentRight"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{width:0}),(n()(),_o(4,0,null,null,7,"div",[["class","hideLeftContent"],["id","hideLeftContent"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.displayPanel("LEFT")&&t),t}),null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(6,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(7,{"margin-left":0}),(n()(),vo(16777216,null,null,1,null,Xhn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ngn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(12,0,null,null,4,"div",[["class","contentShow"],["style","overflow: auto"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,hgn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ggn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(17,0,null,null,1,"div",[["class","visaNoWorkflowWarning"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,0,"div",[["style","margin-top:200px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,bgn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component,t=n(l,3,0,e.rightContentWidth);n(l,2,0,t);var i=n(l,7,0,e.showLeftPanel?"-13px":"-2px");n(l,6,0,i),n(l,9,0,e.showLeftPanel),n(l,11,0,!e.showLeftPanel),n(l,14,0,e.signatureBook.attachments[e.rightSelectedThumbnail]&&!e.showAttachmentPanel),n(l,16,0,e.showAttachmentPanel),n(l,20,0,!e.signatureBook.attachments[e.rightSelectedThumbnail])}),(function(n,l){n(l,18,0,l.component.lang.noVisaWorkflowNoSignature)}))}function _gn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-circle"],["style","position: absolute;top: 12px;right: 6px;"],["title","Le document a été signé"]],null,null,null,null,null))],null,null)}function ygn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","far fa-circle"],["style","position: absolute;top: 12px;right: 6px;"],["title","Le document n'a pas encore été signé"]],null,null,null,null,null))],null,null)}function wgn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"i",[["style","color:green;-ms-transform: rotate(-35deg);-webkit-transform: rotate(-35deg);transform: rotate(-35deg);position: absolute;top: 39px;right: 1px;"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.draft)}))}function xgn(n){return jo(0,[(n()(),_o(0,0,null,null,16,"div",[["class","item"],["style","position: relative;"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.changeRightViewer(n.context.index)&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(3,{panelSelectedThumbnail:0}),(n()(),_o(4,0,null,null,3,"span",[["class","fa-stack fa-lg"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,0,"i",[["class","far fa-file fa-stack-2x"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,1,"i",[["style","font-weight:bold;letter-spacing: -1px;"]],null,null,null,null,null)),(n()(),Lo(7,null,["",""])),(n()(),vo(16777216,null,null,1,null,_gn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ygn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,wgn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"i",[["style","position: absolute;margin-left: -9px;"]],null,null,null,null,null)),(n()(),Lo(16,null,[".",""]))],(function(n,l){var e=l.component,t=n(l,3,0,l.context.index==e.rightSelectedThumbnail&&!e.showAttachmentPanel);n(l,2,0,"item",t),n(l,9,0,l.context.$implicit.sign&&"SIGN"==l.context.$implicit.status),n(l,11,0,l.context.$implicit.sign&&"SIGN"!=l.context.$implicit.status&&"TMP"!=l.context.$implicit.status),n(l,13,0,l.context.$implicit.sign&&"TMP"==l.context.$implicit.status)}),(function(n,l){n(l,0,0,Wt(2,"[",l.context.$implicit.attachment_type,"] ",l.context.$implicit.title,"")),n(l,7,0,l.context.$implicit.icon),n(l,16,0,l.context.$implicit.format)}))}function Cgn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","panelRightContent"],["id","rightPanelContent"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xgn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,2,0,l.component.signatureBook.attachments)}),null)}function kgn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["class","visaPjUp"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.showAttachment(i.signatureBook.attachments[i.rightSelectedThumbnail])&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(3,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(4,{visaDisabledButton:0}),(n()(),_o(5,0,null,null,0,"i",[["class","fa fa-edit fa-2x"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,4,"div",[["class","visaPjDel"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.delAttachment(i.signatureBook.attachments[i.rightSelectedThumbnail])&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(8,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(9,{visaDisabledButton:0}),(n()(),_o(10,0,null,null,0,"i",[["class","fa fa-trash-alt fa-2x"]],null,null,null,null,null))],(function(n,l){var e=l.component,t=n(l,4,0,!e.signatureBook.attachments[e.rightSelectedThumbnail].canModify||"SIGN"==e.signatureBook.attachments[e.rightSelectedThumbnail].status);n(l,3,0,"visaPjUp",t);var i=n(l,9,0,!e.signatureBook.attachments[e.rightSelectedThumbnail].canDelete);n(l,8,0,"visaPjDel",i)}),(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.editDocument,"")),n(l,6,0,Wt(1,"",e.lang.deleteAtt,""))}))}function Sgn(n){return jo(0,[(n()(),_o(0,0,null,null,49,"div",[["class","visaContent"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"div",[["class","titleSignatureBook"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,4,"div",[["id","tabSignatureBook"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Shn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ahn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(7,0,null,null,2,"div",[["id","labelSignatureBook"]],[[8,"title",0]],null,null,null,null)),(n()(),_o(8,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(9,null,[""," : ",""])),(n()(),_o(10,0,null,null,1,"div",[["id","closeSignatureBook"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,0,"i",[["class","fa fa-times-circle fa-2x"],["style","cursor: pointer"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.backToBasket()&&t),t}),null,null)),(n()(),_o(12,0,null,null,6,"div",[["class","actions"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,0,"i",[["class","fa fa-info-circle fa-2x"],["style","cursor: pointer;vertical-align: middle;"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.backToDetails()&&t),t}),null,null)),(n()(),Lo(-1,null,[" "])),(n()(),_o(15,0,null,null,2,"select",[["id","signatureBookActions"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Mhn)),Di(17,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(18,0,null,null,0,"input",[["class","button button-form-primary-filled"],["id","send"],["name","send"],["type","button"]],[[8,"value",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.validForm()&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,Phn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(21,0,null,null,28,"div",[["class","contentSignatureBook"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,8,"div",[["class","resListContent"],["id","resListContent"]],null,null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(24,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(25,{display:0}),(n()(),_o(26,0,null,null,2,"div",[["class","resListContentPos"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Fhn)),Di(28,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Ehn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Qhn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,vgn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,null,14,"div",[["class","panelRight"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Cgn)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(38,0,null,null,11,"div",[["style","bottom: 0px;position: absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(39,0,null,null,4,"div",[["class","panelRightListPj"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.displayAttachmentPanel()&&t),t}),null,null)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(41,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Oo(42,{panelSelectedThumbnail:0}),(n()(),_o(43,0,null,null,0,"i",[["class","fa fa-bars fa-2x"]],null,null,null,null,null)),(n()(),_o(44,0,null,null,0,"hr",[["style","background-color:#666;margin-top:0px;"]],null,null,null,null,null)),(n()(),_o(45,0,null,null,2,"div",[["class","panelRightAddPj"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.createAttachment()&&t),t}),null,null)),(n()(),_o(46,0,null,null,0,"i",[["class","fa fa-paperclip fa-2x"]],null,null,null,null,null)),(n()(),_o(47,0,null,null,0,"i",[["class","fa fa-plus"],["style","position:absolute;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kgn)),Di(49,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.signatureBook.documents[0]&&!e.signatureBook.documents[0].inSignatureBook),n(l,6,0,e.processTool),n(l,17,0,e.signatureBook.actions),n(l,20,0,!e.functions.empty(e.signatureBook.consigne));var t=n(l,25,0,e.showResLeftPanel?"inline-block":"none");n(l,24,0,t),n(l,28,0,e.signatureBook.resList),n(l,30,0,0==e.signatureBook.resList.length),n(l,32,0,e.showLeftPanel),n(l,34,0,e.showRightPanel),n(l,37,0,e.signatureBook.attachments);var i=n(l,42,0,e.showAttachmentPanel);n(l,41,0,"panelRightListPj",i),n(l,49,0,e.signatureBook.attachments[e.rightSelectedThumbnail])}),(function(n,l){var e=l.component;n(l,7,0,Wt(1,"",e.signatureBook.documents[0].title,"")),n(l,9,0,e.signatureBook.documents[0].alt_id,e.signatureBook.documents[0].title),n(l,13,0,Wt(1,"",e.lang.linkDetails,"")),n(l,18,0,Wt(1,"",e.lang.validate,"")),n(l,39,0,Wt(1,"",e.lang.displayAtt,"")),n(l,45,0,Wt(1,"",e.lang.createAtt,""))}))}function Ign(n){return jo(0,[(n()(),_o(0,0,null,null,12,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(2,null,[""," : "])),(n()(),_o(3,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(6,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(7,null,[""," : "])),(n()(),_o(8,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(11,0,null,null,1,"a",[["style","color:#135F7F"],["target","_blank"]],[[8,"title",0],[8,"href",4]],null,null,null,null)),(n()(),_o(12,0,null,null,0,"i",[["class","fa fa-download fa-2x"]],null,null,null,null,null))],null,(function(n,l){var e=l.component;n(l,2,0,e.lang.version),n(l,4,0,l.context.$implicit.relation),n(l,7,0,e.lang.object),n(l,9,0,l.context.$implicit.title),n(l,11,0,Wt(1,"",e.lang.dlAttachment,""),Wt(1,"../../rest/attachments/",l.context.$implicit.resId,"/originalContent"))}))}function Agn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ign)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.signatureBook.attachments[e.rightSelectedThumbnail].obsAttachments)}),null)}function Mgn(n){return jo(0,[Fi(0,Rs,[ba]),ko(671088640,1,{appVisaWorkflow:0}),ko(671088640,2,{appDocumentViewer:0}),(n()(),vo(16777216,null,null,1,null,khn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Sgn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,3,"div",[["class","tooltip_templates"],["style","display: none"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,2,"span",[["id","obsVersionTooltip"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Agn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.loading),n(l,6,0,!e.loading),n(l,10,0,e.signatureBook.attachments[e.rightSelectedThumbnail]&&e.signatureBook.attachments[e.rightSelectedThumbnail].relation>1)}),null)}function Pgn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,Mgn,Chn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,245760,null,0,xhn,[nS,yu,Zp,uf,La,tu,TI,Jv,$S,tsn,_u],null,null)],(function(n,l){n(l,2,0)}),null)}var Dgn=oi("ng-component",xhn,Pgn,{},{},[]),Fgn=function(){function n(n,l,e,t,i,a,o,r,u,s,c,d,p,m){var f=this;this.route=n,this._activatedRoute=l,this.http=e,this.dialog=t,this.headerService=i,this.filtersListService=a,this.notify=o,this.overlay=r,this.viewContainerRef=u,this.appService=s,this.actionService=c,this.router=d,this.sortPipe=p,this.functions=m,this.lang=Kr,this.loading=!1,this.indexingModels=[],this.currentIndexingModel={},this.actionsList=[],this.selectedAction={id:0,label:"",component:"",default:!1,categoryUse:[]},this.tmpFilename="",this.isMailing=!1,l.queryParams.subscribe((function(n){return f.tmpFilename=n.tmpfilename})),this.subscription=this.actionService.catchAction().subscribe((function(n){"closeAndIndexAction"===f.selectedAction.component?(f.appDocumentViewer.templateListForm.reset(),f.appDocumentViewer.file={name:"",type:"",content:null,src:null},f.appDocumentViewer.triggerEvent.emit("cleanFile"),f.appSelectIndexingModel.resetIndexingModel()):(f.resourceToLink.length>0&&f.http.post("../../rest/resources/"+n[0]+"/linkedResources",{linkedResources:f.resourceToLink}).pipe(Yr((function(){})),Qr((function(n){return f.notify.handleSoftErrors(n),Object(S0.of)(!1)}))).subscribe(),f.router.navigate(["/resources/"+n[0]],{queryParams:f.isMailing?{isMailing:!0}:null}))}))}return n.prototype.ngOnInit=function(){this.headerService.injectInSideBarLeft(this.adminMenuTemplate,this.viewContainerRef,"adminMenu","form"),this.headerService.sideBarButton={icon:"fa fa-home",label:this.lang.backHome,route:"/home"},this.fetchData()},n.prototype.fetchData=function(){var n=this;this.loading=!1,this.headerService.setHeader(this.lang.recordingMail),this.route.params.subscribe((function(l){n.currentGroupId=l.groupId,n.http.get("../../rest/indexing/groups/"+n.currentGroupId+"/actions").pipe(q((function(n){return n.actions=n.actions.map((function(n,l){return{id:n.id,label:n.label,component:n.component,enabled:n.enabled,default:0===l,categoryUse:n.categories}})),n})),Yr((function(l){n.selectedAction=l.actions[0],n.actionsList=l.actions})),iu((function(){return n.loading=!1})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()}),(function(l){n.notify.handleErrors(l)}))},n.prototype.isEmptyIndexingModels=function(){return void 0!==this.appSelectIndexingModel&&0===this.appSelectIndexingModel.getIndexingModels().length},n.prototype.onSubmit=function(){var n=this;if(this.indexingForm.isValidForm()){this.actionService.loading=!0;var l=this.formatDatas(this.indexingForm.getDatas());l.modelId=null!==this.currentIndexingModel.master?this.currentIndexingModel.master:this.currentIndexingModel.id,l.chrono=!0,this.appDocumentViewer.getFile().pipe(_c(1),Yr((function(e){l.encodedFile=e.content,l.format=e.format,n.isMailing=!n.functions.empty(l.recipients)&&l.recipients.length>0&&"outgoing"===n.currentIndexingModel.category&&null===l.encodedFile,null===l.encodedFile?(n.dialogRef=n.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:n.lang.noFile,msg:n.lang.noFileMsg}}),n.dialogRef.afterClosed().pipe(Yr((function(l){"ok"!==l&&(n.actionService.loading=!1)})),tc((function(n){return"ok"===n})),Yr((function(){n.actionService.launchIndexingAction(n.selectedAction,n.headerService.user.id,n.currentGroupId,l)})),Qr((function(l){return n.notify.handleErrors(l),Object(S0.of)(!1)}))).subscribe()):n.actionService.launchIndexingAction(n.selectedAction,n.headerService.user.id,n.currentGroupId,l)}))).subscribe()}else this.notify.error(this.lang.mustFixErrors)},n.prototype.formatDatas=function(n){var l={},e=/indexingCustomField_[.]*/g;return l.customFields={},n.forEach((function(n){null!==n.identifier.match(e)?l.customFields[n.identifier.split("_")[1]]=n.default_value:l[n.identifier]=n.default_value})),l},n.prototype.loadIndexingModel=function(n){this.currentIndexingModel=n},n.prototype.selectAction=function(n){this.selectedAction=n},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.showActionInCurrentCategory=function(n){var l=this;if(-1===this.selectedAction.categoryUse.indexOf(this.indexingForm.getCategory())){var e=this.actionsList.filter((function(n){return n.categoryUse.indexOf(l.indexingForm.getCategory())>-1}))[0];this.selectedAction=void 0!==e?this.actionsList.filter((function(n){return n.categoryUse.indexOf(l.indexingForm.getCategory())>-1}))[0]:{id:0,label:"",component:"",default:!1,categoryUse:[]}}return n.categoryUse.indexOf(this.indexingForm.getCategory())>-1},n.prototype.refreshDatas=function(){this.appDocumentViewer.setDatas(this.formatDatas(this.indexingForm.getDatas()))},n}(),Egn=yt({encapsulation:0,styles:[[".panel-left[_ngcontent-%COMP%] .mat-drawer-inner-container{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.document-container[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;padding-left:50px;padding-right:50px;color:#fff;margin-top:0;width:100%;overflow:hidden;background-color:#135f7f}@media (max-width:768px){.document-container[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.document-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{overflow-y:auto;overflow-x:hidden;position:relative;height:100%;min-height:200px;width:100%;border-radius:0;box-shadow:none;border:1px solid #fff;-webkit-box-pack:center;justify-content:center;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;text-align:center;font-weight:700;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.indexing-form-container[_ngcontent-%COMP%]{height:100%;overflow:auto;padding-left:20px;padding-right:20px;padding-bottom:20px}@media (max-width:768px){.indexing-form-container[_ngcontent-%COMP%]{padding-right:0;padding-left:0}}.actions-indexing-form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding:10px 40px;box-shadow:0 -5px 10px 0 rgba(0,0,0,.07)}@media (max-width:768px){.actions-indexing-form[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.emptyModel[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;text-align:center;padding-left:20px;padding-right:20px;font-size:25px;opacity:.3;font-weight:700}.listModels[_ngcontent-%COMP%]{background:#f9f9f9;display:-webkit-box;display:flex;padding:10px 40px}@media (max-width:768px){.listModels[_ngcontent-%COMP%]{padding-bottom:20px;padding-left:0;padding-right:0}}.listModels[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;height:auto}.listModels-button[_ngcontent-%COMP%]{margin-right:20px;width:450px!important} .listModels-menu{min-width:450px!important} .listModels-menu .mat-menu-item:hover:hover .listModels-menu-badge{background:#fff!important;color:#135f7f!important} .listModels-menu .mat-menu-item:hover:hover .listModels-menu-delete .mat-icon{color:#fff!important} .listModels-menu-badge{font-size:70%;background:#135f7f;padding:2px 5px;border-radius:20px;color:#fff;font-weight:700} .listModels-menu-delete .mat-icon{margin-right:0} .listModels-menu-selected{color:#fff!important;background:#135f7f} .listModels-menu-selected .listModels-menu-badge{background:#fff!important;color:#135f7f!important}.emptyAction[_ngcontent-%COMP%]{color:#8e3e52;font-size:14px;text-align:center}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;position:absolute;width:100%;background:#ffffffba;z-index:2} .menuAction{min-width:350px!important}.menuTitle[_ngcontent-%COMP%]{display:-webkit-box;display:flex;padding-left:20px;-webkit-box-align:center;align-items:center;color:#135f7f;font-weight:700}.smallInput[_ngcontent-%COMP%]{padding:10px}.smallInput[_ngcontent-%COMP%] .mat-form-field-wrapper{padding-bottom:0}.private[_ngcontent-%COMP%]{padding-left:50px}"],tN],data:{}});function Ogn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-indexing-form",[],null,[[null,"retrieveDocumentEvent"],[null,"resourceToLinkEvent"]],(function(n,l,e){var t=!0,i=n.component;return"retrieveDocumentEvent"===l&&(t=!1!==bi(n.parent.parent.parent,25).saveDocService()&&t),"resourceToLinkEvent"===l&&(t=!1!==(i.resourceToLink=e)&&t),t}),Pln,Vnn)),Ei(4608,null,HS,HS,[QS,$S]),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(4,114688,[[3,4],["indexingForm",4]],0,jnn,[nS,tu,Jv,_u,yu,$S,uf],{indexingFormId:[0,"indexingFormId"],groupId:[1,"groupId"]},{retrieveDocumentEvent:"retrieveDocumentEvent",resourceToLinkEvent:"resourceToLinkEvent"})],(function(n,l){var e=l.component;n(l,4,0,e.currentIndexingModel.id,e.currentGroupId)}),null)}function Tgn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"small",[["color","warn"],["style","position: absolute;top: 15px;left: 140px;"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.badActionParam)}))}function Lgn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[2,"listModels-menu-selected",null],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.selectAction(n.parent.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[7,4],[8,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,1,"span",[["style","flex:1;"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),vo(16777216,null,0,1,null,Tgn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,!l.parent.context.$implicit.enabled),n(l,5,0,!l.parent.context.$implicit.enabled)}),(function(n,l){n(l,0,0,l.parent.context.$implicit.label,l.parent.context.$implicit.id===l.component.selectedAction.id,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,3,0,l.parent.context.$implicit.label)}))}function Rgn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Lgn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.showActionInCurrentCategory(l.context.$implicit))}),null)}function Ngn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","button-form-primary-filled"],["mat-button",""],["style","width: 150px;align-items: center;justify-content: center;text-align: center;display: flex;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,e.actionService.loading||0===e.selectedAction.id||void 0!==bi(l.parent.parent.parent.parent,25)&&!bi(l.parent.parent.parent.parent,25).isEditorLoaded())}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.validate)}))}function jgn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["class","button-form-primary"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-check mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Vgn(n){return jo(0,[(n()(),_o(0,0,null,null,36,null,null,null,null,null,null,null)),(n()(),_o(1,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","button-form-primary mat-menu-trigger"],["mat-button",""],["style","width:350px;margin-right:20px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(4,0,null,0,0,"span",[["class","menu-label"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(5,0,null,0,0,"i",[["class","fa fa-chevron-down menu-icon"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,26,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,7,{_allItems:1}),ko(603979776,8,{items:1}),ko(603979776,9,{lazyContent:0}),(n()(),_o(13,0,null,0,16,"div",[["class","menuTitle"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),kT,pT)),Di(17,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,10,{_controlNonStatic:0}),ko(335544320,11,{_controlStatic:0}),ko(603979776,12,{_labelChildNonStatic:0}),ko(335544320,13,{_labelChildStatic:0}),ko(603979776,14,{_placeholderChild:0}),ko(603979776,15,{_errorChildren:1}),ko(603979776,16,{_hintChildren:1}),ko(603979776,17,{_prefixChildren:1}),ko(603979776,18,{_suffixChildren:1}),(n()(),_o(27,0,[["listFilter",1]],1,2,"input",[["autocomplete","off"],["class","mat-input-element mat-form-field-autofill-control"],["id","searchTerm"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"keydown"],[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,28)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,28)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,28)._onInput()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),"keydown"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(28,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Ei(2048,[[10,4],[11,4]],nT,null,[OT]),(n()(),vo(16777216,null,0,2,null,Rgn)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(32,3),(n()(),vo(16777216,null,null,1,null,Ngn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jgn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,0===e.selectedAction.id),n(l,3,0,bi(l,9)),n(l,9,0,"menuForm menuAction"),n(l,17,0,"outline","never"),n(l,28,0,"searchTerm",Wt(1,"",e.lang.filterBy,""));var t=bt(l,31,0,n(l,32,0,bi(l.parent.parent.parent,0),e.actionsList,bi(l,27).value,"label"));n(l,31,0,t),n(l,34,0,!e.appService.getViewMode()),n(l,36,0,e.appService.getViewMode())}),(function(n,l){var e=l.component;n(l,1,0,e.selectedAction.label,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,e.selectedAction.label),n(l,15,0,e.lang.actions),n(l,16,1,["standard"==bi(l,17).appearance,"fill"==bi(l,17).appearance,"outline"==bi(l,17).appearance,"legacy"==bi(l,17).appearance,bi(l,17)._control.errorState,bi(l,17)._canLabelFloat,bi(l,17)._shouldLabelFloat(),bi(l,17)._hasFloatingLabel(),bi(l,17)._hideControlPlaceholder(),bi(l,17)._control.disabled,bi(l,17)._control.autofilled,bi(l,17)._control.focused,"accent"==bi(l,17).color,"warn"==bi(l,17).color,bi(l,17)._shouldForward("untouched"),bi(l,17)._shouldForward("touched"),bi(l,17)._shouldForward("pristine"),bi(l,17)._shouldForward("dirty"),bi(l,17)._shouldForward("valid"),bi(l,17)._shouldForward("invalid"),bi(l,17)._shouldForward("pending"),!bi(l,17)._animationsEnabled]),n(l,27,0,bi(l,28)._isServer,bi(l,28).id,bi(l,28).placeholder,bi(l,28).disabled,bi(l,28).required,bi(l,28).readonly&&!bi(l,28)._isNativeSelect||null,bi(l,28)._ariaDescribedby||null,bi(l,28).errorState,bi(l,28).required.toString())}))}function qgn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","emptyAction"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.noAvailableAction)}))}function zgn(n){return jo(0,[(n()(),_o(0,0,null,null,8,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","indexing-form-container"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ogn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,4,"div",[["class","actions-indexing-form"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Vgn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qgn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,void 0!==e.currentIndexingModel.id),n(l,6,0,e.actionsList.length>0&&void 0!==e.indexingForm&&void 0!==e.selectedAction),n(l,8,0,0===e.actionsList.length)}),null)}function Ugn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","emptyModel"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.noAvailableIndexingModel)}))}function Bgn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-select-indexing-model",[],null,[[null,"afterListModelsLoaded"],[null,"afterSelectedListModel"]],(function(n,l,e){var t=!0,i=n.component;return"afterListModelsLoaded"===l&&(t=!1!==i.loadIndexingModel(e)&&t),"afterSelectedListModel"===l&&(i.currentIndexingModel=e,t=!1!==i.indexingForm.loadForm(e.id)&&t),t}),Dpn,Cpn)),Ei(512,null,HS,HS,[QS,$S]),Di(2,114688,[[2,4],["appSelectIndexingModel",4]],0,xpn,[nS,_u,tu,HS,Jv],{indexingForm:[0,"indexingForm"],adminMode:[1,"adminMode"]},{afterListModelsLoaded:"afterListModelsLoaded",afterSelectedListModel:"afterSelectedListModel"}),(n()(),vo(16777216,null,null,1,null,zgn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ugn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.indexingForm,!0),n(l,4,0,!e.isEmptyIndexingModels()),n(l,6,0,e.isEmptyIndexingModels())}),null)}function $gn(n){return jo(0,[Fi(0,iB,[QS]),ko(402653184,1,{adminMenuTemplate:0}),ko(671088640,2,{appSelectIndexingModel:0}),ko(671088640,3,{indexingForm:0}),ko(671088640,4,{appDocumentViewer:0}),(n()(),_o(5,0,null,null,20,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(6,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,5,{_drawers:1}),ko(603979776,6,{_content:0}),(n()(),vo(0,[[1,2],["adminMenuTemplate",2]],2,0,null,Bgn)),(n()(),_o(10,0,null,1,15,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(11,1294336,[[6,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(12,0,null,0,7,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(14,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(16,114688,null,0,GO,[_u],null,null),(n()(),_o(17,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(18,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(19,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(20,0,null,0,5,"div",[["class","document-container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(21,0,null,null,4,"div",[["class","content"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,3,"app-document-viewer",[["style","height:100%;width:100%;"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.refreshDatas()&&t),t}),fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(25,114688,[[4,4],["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{tmpFilename:[0,"tmpFilename"],editMode:[1,"editMode"]},{triggerEvent:"triggerEvent"})],(function(n,l){var e=l.component;n(l,6,0),n(l,11,0),n(l,16,0),n(l,19,0),n(l,25,0,e.tmpFilename,!0)}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6)._backdropOverride),n(l,10,0,bi(l,11)._container._contentMargins.left,bi(l,11)._container._contentMargins.right),n(l,13,0,e.appService.getViewMode()),n(l,20,0,e.appService.getViewMode())}))}function Hgn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"ng-component",[],null,null,null,$gn,Egn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,tsn,tsn,[nS,Jv,tu,uf,_u,$S]),Ei(512,null,HS,HS,[QS,$S]),Di(4,245760,null,0,Fgn,[Zp,Zp,nS,Jv,_u,Trn,tu,Zg,lt,yu,tsn,uf,HS,$S],null,null)],(function(n,l){n(l,4,0)}),null)}var Ggn=oi("ng-component",Fgn,Hgn,{},{},[]),Wgn=function(){function n(n,l,e,t,i){this.http=n,this.notificationService=t,this.headerService=i,this.lang=Kr,this.loadingForm=!1,this.loading=!1,this.newLogin={login:""},this.labelButton=this.lang.send,l.addSvgIcon("maarchLogo",e.bypassSecurityTrustResourceUrl("static.php?filename=logo_white.svg"))}return n.prototype.ngOnInit=function(){this.headerService.hideSideBar=!0},n.prototype.generateLink=function(){var n=this;this.labelButton=this.lang.generation,this.loading=!0,this.http.post("../../rest/password",{login:this.newLogin.login}).pipe(iu((function(){n.labelButton=n.lang.send,n.loading=!1}))).subscribe((function(l){n.loadingForm=!0,n.notificationService.success(n.lang.requestSentByEmail),location.href="index.php?display=true&page=login"}),(function(l){n.notificationService.handleErrors(l)}))},n.prototype.cancel=function(){location.href="index.php?display=true&page=login"},n}(),Kgn=yt({encapsulation:0,styles:[[".login-content[_ngcontent-%COMP%]{background-color:#135f7f;height:100vh;width:100vw;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.login-form[_ngcontent-%COMP%]{max-width:600px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;-webkit-transition:1s ease-in-out;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;-webkit-transform:translateY(-200px);transform:translateY(-200px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}"]],data:{}});function Ygn(n){return jo(0,[(n()(),_o(0,0,null,null,35,"div",[["class","login-content"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-icon",[["class","maarchLogo mat-icon notranslate"],["role","img"],["svgIcon","maarchLogo"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{svgIcon:[0,"svgIcon"]},null),(n()(),_o(3,0,null,null,32,"mat-card",[["class","login-form mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(4,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(5,0,null,0,30,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,7).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,7).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.generateLink()&&t),t}),null,null)),Di(6,16384,null,0,yy,[],null,null),Di(7,4210688,null,0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(9,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(10,0,null,null,0,"div",[["class","alert-message alert-message-info"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(11,0,null,null,18,"mat-form-field",[["class","input-row mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(12,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(22,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","login"],["oninput","this.value = this.value.toLowerCase()"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,23)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,23)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,23)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,28)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,28)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,28)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.newLogin.login=e)&&t),t}),null,null)),Di(23,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(25,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(27,16384,null,0,y_,[[4,v_]],null,null),Di(28,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(30,0,null,null,2,"button",[["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(31,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),Lo(32,0,["",""])),(n()(),_o(33,0,null,null,2,"button",[["mat-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancel()&&t),t}),PC,MC)),Di(34,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(35,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0,"maarchLogo"),n(l,25,0,"login",e.newLogin.login),n(l,28,0,Wt(1,"",e.lang.enterLogin,""),"text"),n(l,31,0,""==e.newLogin.login||e.loading)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color),n(l,3,0,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending),n(l,10,0,e.lang.afterClickingSendLinkChangePassword),n(l,11,1,["standard"==bi(l,12).appearance,"fill"==bi(l,12).appearance,"outline"==bi(l,12).appearance,"legacy"==bi(l,12).appearance,bi(l,12)._control.errorState,bi(l,12)._canLabelFloat,bi(l,12)._shouldLabelFloat(),bi(l,12)._hasFloatingLabel(),bi(l,12)._hideControlPlaceholder(),bi(l,12)._control.disabled,bi(l,12)._control.autofilled,bi(l,12)._control.focused,"accent"==bi(l,12).color,"warn"==bi(l,12).color,bi(l,12)._shouldForward("untouched"),bi(l,12)._shouldForward("touched"),bi(l,12)._shouldForward("pristine"),bi(l,12)._shouldForward("dirty"),bi(l,12)._shouldForward("valid"),bi(l,12)._shouldForward("invalid"),bi(l,12)._shouldForward("pending"),!bi(l,12)._animationsEnabled]),n(l,22,1,[bi(l,27).ngClassUntouched,bi(l,27).ngClassTouched,bi(l,27).ngClassPristine,bi(l,27).ngClassDirty,bi(l,27).ngClassValid,bi(l,27).ngClassInvalid,bi(l,27).ngClassPending,bi(l,28)._isServer,bi(l,28).id,bi(l,28).placeholder,bi(l,28).disabled,bi(l,28).required,bi(l,28).readonly&&!bi(l,28)._isNativeSelect||null,bi(l,28)._ariaDescribedby||null,bi(l,28).errorState,bi(l,28).required.toString()]),n(l,30,0,bi(l,31).disabled||null,"NoopAnimations"===bi(l,31)._animationMode),n(l,32,0,e.labelButton),n(l,33,0,bi(l,34).disabled||null,"NoopAnimations"===bi(l,34)._animationMode),n(l,35,0,e.lang.cancel)}))}function Jgn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Ygn,Kgn)),Di(1,114688,null,0,Wgn,[nS,yS,Ed,tu,_u],null,null)],(function(n,l){n(l,1,0)}),null)}var Zgn=oi("ng-component",Wgn,Jgn,{},{},[]),Qgn=function(){function n(n,l,e,t,i,a){var o=this;this.router=n,this.route=l,this.http=e,this.notificationService=a,this.lang=Kr,this.loadingForm=!1,this.loading=!1,this.token="",this.password={newPassword:"",passwordConfirmation:""},this.labelButton=this.lang.update,this.hideNewPassword=!0,this.hideNewPasswordConfirm=!0,this.passwordRules={minLength:{enabled:!1,value:0},complexityUpper:{enabled:!1,value:0},complexityNumber:{enabled:!1,value:0},complexitySpecial:{enabled:!1,value:0},renewal:{enabled:!1,value:0},historyLastUse:{enabled:!1,value:0}},this.handlePassword={error:!1,errorMsg:""},this.ruleText="",this.otherRuleText="",t.addSvgIcon("maarchLogo",i.bypassSecurityTrustResourceUrl("static.php?filename=logo_white.svg")),this.route.queryParams.subscribe((function(n){o.token=n.token})),$j("main-header").remove()}return n.prototype.ngOnInit=function(){this.getPassRules()},n.prototype.updatePassword=function(){var n=this;this.labelButton=this.lang.emailSendInProgress,this.loading=!0,this.http.put("../../rest/password",{token:this.token,password:this.password.newPassword}).pipe(iu((function(){n.labelButton=n.lang.update,n.loading=!1}))).subscribe((function(l){n.loadingForm=!0,n.notificationService.success(n.lang.passwordChanged),location.href="index.php?display=true&page=login"}),(function(l){n.notificationService.error(n.lang[l.error.lang])}))},n.prototype.checkPasswordValidity=function(n){this.handlePassword.error=!0,!n.match(/[A-Z]/g)&&this.passwordRules.complexityUpper.enabled?this.handlePassword.errorMsg=this.lang.passwordcomplexityUpperRequired:!n.match(/[0-9]/g)&&this.passwordRules.complexityNumber.enabled?this.handlePassword.errorMsg=this.lang.passwordcomplexityNumberRequired:!n.match(/[^A-Za-z0-9]/g)&&this.passwordRules.complexitySpecial.enabled?this.handlePassword.errorMsg=this.lang.passwordcomplexitySpecialRequired:n.length<this.passwordRules.minLength.value&&this.passwordRules.minLength.enabled?this.handlePassword.errorMsg=this.passwordRules.minLength.value+" "+this.lang.passwordminLength+" !":(this.handlePassword.error=!1,this.handlePassword.errorMsg="")},n.prototype.getPassRules=function(){var n=this;this.handlePassword.error=!1,this.handlePassword.errorMsg="",this.http.get("../../rest/passwordRules").subscribe((function(l){var e=[],t=[];l.rules.forEach((function(l){"minLength"===l.label?(n.passwordRules.minLength.enabled=l.enabled,n.passwordRules.minLength.value=l.value,l.enabled&&e.push(l.value+" "+n.lang["password"+l.label])):"complexityUpper"===l.label?(n.passwordRules.complexityUpper.enabled=l.enabled,n.passwordRules.complexityUpper.value=l.value,l.enabled&&e.push(n.lang["password"+l.label])):"complexityNumber"===l.label?(n.passwordRules.complexityNumber.enabled=l.enabled,n.passwordRules.complexityNumber.value=l.value,l.enabled&&e.push(n.lang["password"+l.label])):"complexitySpecial"===l.label?(n.passwordRules.complexitySpecial.enabled=l.enabled,n.passwordRules.complexitySpecial.value=l.value,l.enabled&&e.push(n.lang["password"+l.label])):"renewal"===l.label?(n.passwordRules.renewal.enabled=l.enabled,n.passwordRules.renewal.value=l.value,l.enabled&&t.push(n.lang["password"+l.label]+" <b>"+l.value+" "+n.lang.days+"</b>. "+n.lang["password2"+l.label]+".")):"historyLastUse"===l.label&&(n.passwordRules.historyLastUse.enabled=l.enabled,n.passwordRules.historyLastUse.value=l.value,l.enabled&&t.push(n.lang.passwordhistoryLastUseDesc+" <b>"+l.value+"</b> "+n.lang.passwordhistoryLastUseDesc2+"."))})),n.ruleText=e.join(", "),n.otherRuleText=t.join("<br/>")}),(function(l){n.notificationService.handleErrors(l)}))},n.prototype.allowValidate=function(){return!(!this.handlePassword.error&&this.password.newPassword===this.password.passwordConfirmation&&0!==this.password.newPassword.length&&0!==this.password.passwordConfirmation.length)},n.prototype.cancel=function(){location.href="index.php?display=true&page=login"},n}(),Xgn=yt({encapsulation:0,styles:[[".login-content[_ngcontent-%COMP%]{background-color:#135f7f;height:100vh;width:100vw;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.login-form[_ngcontent-%COMP%]{max-width:480px;text-align:center}.input-row[_ngcontent-%COMP%]{width:100%;padding-top:10px;padding-bottom:10px}.maarchLogo[_ngcontent-%COMP%]{position:absolute;-webkit-transition:1s ease-in-out;transition:all 1s ease-in-out;width:250px;height:auto;padding-bottom:10px;-webkit-transform:translateY(-230px);transform:translateY(-230px)}footer[_ngcontent-%COMP%]{color:#fff;position:absolute;bottom:5px;font-size:10px;opacity:.5}"]],data:{}});function nbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-hint",[["class","mat-hint"],["style","color:red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[16,4]],0,tT,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,2,0,e.lang.passwordNotMatch)}))}function lbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-hint",[["class","mat-hint"],["style","color:green;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(1,16384,[[16,4]],0,tT,[],null,null),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){var e=l.component;n(l,0,0,"end"==bi(l,1).align,bi(l,1).id,null),n(l,2,0,e.lang.passwordMatch)}))}function ebn(n){return jo(0,[(n()(),_o(0,0,null,null,74,"div",[["class","login-content"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-icon",[["class","maarchLogo mat-icon notranslate"],["role","img"],["svgIcon","maarchLogo"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(2,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{svgIcon:[0,"svgIcon"]},null),(n()(),_o(3,0,null,null,71,"mat-card",[["class","login-form mat-card"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(4,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(5,0,null,0,69,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,7).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,7).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.updatePassword()&&t),t}),null,null)),Di(6,16384,null,0,yy,[],null,null),Di(7,4210688,null,0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(9,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(10,0,null,null,1,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,null,27,"mat-form-field",[["class","input-row mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(13,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(23,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","newPassword"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"keyup"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,24)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,24).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,24)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,24)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,29)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,29)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,29)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.password.newPassword=e)&&t),"keyup"===l&&(t=!1!==i.checkPasswordValidity(i.password.newPassword)&&t),t}),null,null)),Di(24,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(26,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(28,16384,null,0,y_,[[4,v_]],null,null),Di(29,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(31,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hideNewPassword=!i.hideNewPassword)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(33,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(34,1),Di(35,16384,[[9,4]],0,oT,[],null,null),Di(36,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(37,0,null,6,2,"mat-hint",[["class","mat-hint"],["style","color:red;"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(38,16384,[[7,4]],0,tT,[],null,null),(n()(),Lo(39,null,["",""])),(n()(),_o(40,0,null,null,28,"mat-form-field",[["class","input-row mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(41,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,10,{_controlNonStatic:0}),ko(335544320,11,{_controlStatic:0}),ko(603979776,12,{_labelChildNonStatic:0}),ko(335544320,13,{_labelChildStatic:0}),ko(603979776,14,{_placeholderChild:0}),ko(603979776,15,{_errorChildren:1}),ko(603979776,16,{_hintChildren:1}),ko(603979776,17,{_prefixChildren:1}),ko(603979776,18,{_suffixChildren:1}),(n()(),_o(51,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","passwordConfirmation"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,52)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,52).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,52)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,52)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,57)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,57)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,57)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.password.passwordConfirmation=e)&&t),t}),null,null)),Di(52,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(54,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(56,16384,null,0,y_,[[4,v_]],null,null),Di(57,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[10,4],[11,4]],nT,null,[OT]),(n()(),_o(59,0,null,4,5,"mat-icon",[["class","fa fa-2x mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=0!=(i.hideNewPasswordConfirm=!i.hideNewPasswordConfirm)&&t),t}),FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(61,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(62,1),Di(63,16384,[[18,4]],0,oT,[],null,null),Di(64,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,6,1,null,nbn)),Di(66,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,6,1,null,lbn)),Di(68,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(69,0,null,null,2,"button",[["mat-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(70,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),Lo(71,0,["",""])),(n()(),_o(72,0,null,null,2,"button",[["mat-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.cancel()&&t),t}),PC,MC)),Di(73,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(74,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0,"maarchLogo"),n(l,26,0,"newPassword",e.password.newPassword),n(l,29,0,Wt(1,"",e.lang.typeNewPassword,""),e.hideNewPassword?"password":"text");var t=n(l,34,0,e.hideNewPassword?"fa-eye-slash":"fa-eye");n(l,33,0,"fa fa-2x",t),n(l,36,0),n(l,54,0,"passwordConfirmation",e.password.passwordConfirmation),n(l,57,0,Wt(1,"",e.lang.retypeNewPassword,""),e.hideNewPasswordConfirm?"password":"text");var i=n(l,62,0,e.hideNewPasswordConfirm?"fa-eye-slash":"fa-eye");n(l,61,0,"fa fa-2x",i),n(l,64,0),n(l,66,0,e.password.passwordConfirmation!==e.password.newPassword),n(l,68,0,e.password.passwordConfirmation===e.password.newPassword&&e.password.newPassword.length>0&&e.password.passwordConfirmation.length>0),n(l,70,0,e.allowValidate()||e.loading)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).inline,"primary"!==bi(l,2).color&&"accent"!==bi(l,2).color&&"warn"!==bi(l,2).color),n(l,3,0,"NoopAnimations"===bi(l,4)._animationMode),n(l,5,0,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending),n(l,11,0,e.lang.logInOncePasswordChanged),n(l,12,1,["standard"==bi(l,13).appearance,"fill"==bi(l,13).appearance,"outline"==bi(l,13).appearance,"legacy"==bi(l,13).appearance,bi(l,13)._control.errorState,bi(l,13)._canLabelFloat,bi(l,13)._shouldLabelFloat(),bi(l,13)._hasFloatingLabel(),bi(l,13)._hideControlPlaceholder(),bi(l,13)._control.disabled,bi(l,13)._control.autofilled,bi(l,13)._control.focused,"accent"==bi(l,13).color,"warn"==bi(l,13).color,bi(l,13)._shouldForward("untouched"),bi(l,13)._shouldForward("touched"),bi(l,13)._shouldForward("pristine"),bi(l,13)._shouldForward("dirty"),bi(l,13)._shouldForward("valid"),bi(l,13)._shouldForward("invalid"),bi(l,13)._shouldForward("pending"),!bi(l,13)._animationsEnabled]),n(l,23,1,[bi(l,28).ngClassUntouched,bi(l,28).ngClassTouched,bi(l,28).ngClassPristine,bi(l,28).ngClassDirty,bi(l,28).ngClassValid,bi(l,28).ngClassInvalid,bi(l,28).ngClassPending,bi(l,29)._isServer,bi(l,29).id,bi(l,29).placeholder,bi(l,29).disabled,bi(l,29).required,bi(l,29).readonly&&!bi(l,29)._isNativeSelect||null,bi(l,29)._ariaDescribedby||null,bi(l,29).errorState,bi(l,29).required.toString()]),n(l,31,0,bi(l,36).inline,"primary"!==bi(l,36).color&&"accent"!==bi(l,36).color&&"warn"!==bi(l,36).color),n(l,37,0,"end"==bi(l,38).align,bi(l,38).id,null),n(l,39,0,e.handlePassword.errorMsg),n(l,40,1,["standard"==bi(l,41).appearance,"fill"==bi(l,41).appearance,"outline"==bi(l,41).appearance,"legacy"==bi(l,41).appearance,bi(l,41)._control.errorState,bi(l,41)._canLabelFloat,bi(l,41)._shouldLabelFloat(),bi(l,41)._hasFloatingLabel(),bi(l,41)._hideControlPlaceholder(),bi(l,41)._control.disabled,bi(l,41)._control.autofilled,bi(l,41)._control.focused,"accent"==bi(l,41).color,"warn"==bi(l,41).color,bi(l,41)._shouldForward("untouched"),bi(l,41)._shouldForward("touched"),bi(l,41)._shouldForward("pristine"),bi(l,41)._shouldForward("dirty"),bi(l,41)._shouldForward("valid"),bi(l,41)._shouldForward("invalid"),bi(l,41)._shouldForward("pending"),!bi(l,41)._animationsEnabled]),n(l,51,1,[bi(l,56).ngClassUntouched,bi(l,56).ngClassTouched,bi(l,56).ngClassPristine,bi(l,56).ngClassDirty,bi(l,56).ngClassValid,bi(l,56).ngClassInvalid,bi(l,56).ngClassPending,bi(l,57)._isServer,bi(l,57).id,bi(l,57).placeholder,bi(l,57).disabled,bi(l,57).required,bi(l,57).readonly&&!bi(l,57)._isNativeSelect||null,bi(l,57)._ariaDescribedby||null,bi(l,57).errorState,bi(l,57).required.toString()]),n(l,59,0,bi(l,64).inline,"primary"!==bi(l,64).color&&"accent"!==bi(l,64).color&&"warn"!==bi(l,64).color),n(l,69,0,bi(l,70).disabled||null,"NoopAnimations"===bi(l,70)._animationMode),n(l,71,0,e.labelButton),n(l,72,0,bi(l,73).disabled||null,"NoopAnimations"===bi(l,73)._animationMode),n(l,74,0,e.lang.cancel)}))}function tbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,ebn,Xgn)),Di(1,114688,null,0,Qgn,[uf,Zp,nS,yS,Ed,tu],null,null)],(function(n,l){n(l,1,0)}),null)}var ibn=oi("ng-component",Qgn,tbn,{},{},[]),abn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialog=e,this.router=t,this.headerService=i,this.lang=Kr,this.loading=!1,this.triggerEvent=new la,this.contextMenuPosition={x:"0px",y:"0px"},this.contextMenuTitle="",this.currentAction={},this.basketInfo={},this.contextResId=0,this.currentLock=null,this.arrRes=[],this.folderList=[],this.actionsList=[],this.basketList={groups:[],list:[]},this.refreshEvent=new la,this.refreshPanelFolders=new la}return n.prototype.ngOnInit=function(){},n.prototype.open=function(n,l,e){return this.contextMenuPosition.x=n+"px",this.contextMenuPosition.y=l+"px",this.contextMenuTitle=e.chrono,this.contextResId=e.resId,this.folderList=void 0!==e.folders?e.folders:[],this.contextMenu.openMenu(),!1},n.prototype.refreshFolders=function(){this.refreshPanelFolders.emit()},n.prototype.refreshDaoAfterAction=function(){this.refreshEvent.emit()},n.prototype.unFollow=function(){var n=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.stopFollowingAlert}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return n.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:n.selectedRes}})})),Yr((function(l){n.notify.success(n.lang.removedFromFolder),n.headerService.nbResourcesFollowed-=l.unFollowed,n.refreshDaoAfterAction()})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.getBaskets=function(){var n=this;this.http.get("../../rest/followedResources/"+this.selectedRes+"/baskets").pipe(Yr((function(l){n.basketList.groups=l.groupsBaskets.filter((function(n,l,e){return n&&e.map((function(n){return n.groupId})).indexOf(n.groupId)===l})),n.basketList.list=l.groupsBaskets})),Qr((function(l){return n.notify.handleSoftErrors(l),Object(S0.of)(!1)}))).subscribe()},n.prototype.goTo=function(n){this.contextMenuTitle!==this.lang.undefined&&""!==this.contextMenuTitle?this.router.navigate(["/basketList/users/"+this.headerService.user.id+"/groups/"+n.groupId+"/baskets/"+n.basketId],{queryParams:{chrono:'"'+this.contextMenuTitle+'"'}}):this.router.navigate(["/basketList/users/"+this.headerService.user.id+"/groups/"+n.groupId+"/baskets/"+n.basketId])},n.prototype.refreshList=function(){this.refreshEvent.emit()},n}(),obn=yt({encapsulation:0,styles:[[".mat-icon[_ngcontent-%COMP%]{height:auto}.mat-stroked-button[_ngcontent-%COMP%]{border-radius:20px;border-color:#135f7f;color:#135f7f} .actionListMenu .mat-menu-content{padding-top:0;padding-bottom:0}.followAction[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{font-size:20px;color:#8e3e52}.basketGroupName[_ngcontent-%COMP%]{color:#135f7f;padding-left:10px;padding-right:10px}.labelBasket[_ngcontent-%COMP%]{color:#666;font-size:12px;font-weight:700}.noAvailableBasket[_ngcontent-%COMP%]{text-align:center;font-size:12px;opacity:.5;font-style:italic;padding:22px}"]],data:{}});function rbn(n){return jo(0,[(n()(),_o(0,16777216,null,null,6,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(2,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(3,0,["",""])),(n()(),_o(4,0,null,0,2,"mat-icon",[["class","fa fa-caret-down mat-icon notranslate"],["matSuffix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,16384,null,0,oT,[],null,null),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,9)),n(l,6,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,e.lang.actionsAlt),n(l,4,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function ubn(n){return jo(0,[(n()(),_o(0,16777216,[["menu2",1]],null,1,"span",[["aria-haspopup","true"],["class","mat-menu-trigger"],["style","position: fixed;"]],[[4,"left",null],[4,"top",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,1)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),t}),null,null)),Di(1,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,bi(l.parent,9))}),(function(n,l){var e=l.component;n(l,0,0,e.contextMenuPosition.x,e.contextMenuPosition.y,bi(l,1).menuOpen||null)}))}function sbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.contextMenuTitle)}))}function cbn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-item mat-menu-trigger"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0],[1,"aria-expanded",0]],[[null,"menuOpened"],[null,"click"],[null,"mouseenter"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),"menuOpened"===l&&(t=!1!==i.getBaskets()&&t),t}),lL,nL)),Di(1,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),Di(2,1196032,[[1,4]],0,KT,[Zg,Pe,lt,HT,[2,BT],[6,zT],[2,bb],qb],{menu:[0,"menu"]},{menuOpened:"menuOpened"}),(n()(),_o(3,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,bi(l.parent,20))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null,bi(l,2).menuOpen||null),n(l,4,0,e.lang.goToBasket)}))}function dbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","labelBasket mat-menu-item"],["mat-menu-item",""]],[[8,"title",0],[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.goTo(n.parent.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[5,4],[6,4],[2,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,[""," "]))],null,(function(n,l){n(l,0,0,Wt(1,"",l.parent.context.$implicit.basketName,""),bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.parent.context.$implicit.basketName)}))}function pbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,dbn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.groupId===l.parent.context.$implicit.groupId)}),null)}function mbn(n){return jo(0,[(n()(),_o(0,0,null,null,5,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","basketGroupName"]],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),vo(16777216,null,null,2,null,pbn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(5,2),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=bt(l,4,0,n(l,5,0,bi(l.parent,0),e.basketList.list,"basketName"));n(l,4,0,t)}),(function(n,l){n(l,2,0,l.context.$implicit.groupName)}))}function fbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noAvailableBasket"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.mailNotPresentInBasket)}))}function hbn(n){return jo(0,[Fi(0,HS,[QS,$S]),ko(671088640,1,{contextMenu:0}),(n()(),vo(16777216,null,null,1,null,rbn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ubn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,35,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(9,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,2,{_allItems:1}),ko(603979776,3,{items:1}),ko(603979776,4,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,sbn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,cbn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(17,0,null,0,11,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(20,1294336,[["baskets",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,5,{_allItems:1}),ko(603979776,6,{items:1}),ko(603979776,7,{lazyContent:0}),(n()(),vo(16777216,null,0,2,null,mbn)),Di(25,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(26,2),(n()(),vo(16777216,null,0,1,null,fbn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(29,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(30,49152,null,0,mI,[],null,null),(n()(),_o(31,0,null,0,5,"button",[["class","followAction mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,32)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,32)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.unFollow()&&t),t}),lL,nL)),Di(32,180224,[[2,4],[3,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(33,0,null,0,1,"mat-icon",[["class","far fa-star fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(34,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(35,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(36,null,["",""])),(n()(),_o(37,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(38,49152,null,0,mI,[],null,null),(n()(),_o(39,0,null,0,2,"folder-menu",[],null,[[null,"refreshList"],[null,"refreshFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshList"===l&&(t=!1!==i.refreshList()&&t),"refreshFolders"===l&&(t=!1!==i.refreshFolders()&&t),t}),wun,uun)),Ei(512,null,tu,tu,[uf,hk]),Di(41,114688,null,0,run,[nS,tu,Jv,Te,ru,$S],{resIds:[0,"resIds"],currentFoldersList:[1,"currentFoldersList"]},{refreshFolders:"refreshFolders",refreshList:"refreshList"})],(function(n,l){var e=l.component;n(l,3,0,!e.contextMode),n(l,5,0,e.contextMode),n(l,9,0,"actionListMenu"),n(l,14,0,e.contextMode&&1==e.selectedRes.length),n(l,16,0,1==e.selectedRes.length),n(l,20,0,"folderListMenu");var t=bt(l,25,0,n(l,26,0,bi(l,0),e.basketList.groups,"groupName"));n(l,25,0,t),n(l,28,0,0==e.basketList.groups.length),n(l,32,0,0===e.selectedRes.length),n(l,34,0),n(l,41,0,e.selectedRes,e.folderList)}),(function(n,l){var e=l.component;n(l,29,0,bi(l,30).vertical?"vertical":"horizontal",bi(l,30).vertical,!bi(l,30).vertical,bi(l,30).inset),n(l,31,0,bi(l,32).role,bi(l,32)._highlighted,bi(l,32)._triggersSubmenu,bi(l,32)._getTabIndex(),bi(l,32).disabled.toString(),bi(l,32).disabled||null),n(l,33,0,bi(l,34).inline,"primary"!==bi(l,34).color&&"accent"!==bi(l,34).color&&"warn"!==bi(l,34).color),n(l,36,0,e.lang.untrackThisMail),n(l,37,0,bi(l,38).vertical?"vertical":"horizontal",bi(l,38).vertical,!bi(l,38).vertical,bi(l,38).inset)}))}var gbn=function(){function n(n,l,e,t,i,a,o,r,u,s,c,d){var p=this;this.router=n,this.route=l,this.http=e,this.dialog=t,this.sanitizer=i,this.headerService=a,this.filtersListService=o,this.notify=r,this.overlay=u,this.viewContainerRef=s,this.appService=c,this.foldersService=d,this.lang=Kr,this.loading=!1,this.docUrl="",this.injectDatasParam={resId:0,editable:!1},this.currentResource={},this.filtersChange=new la,this.dragInit=!0,this.displayedColumnsBasket=["resId"],this.displayedMainData=[{value:"chrono",cssClasses:["softColorData","align_centerData","chronoData"],icon:""},{value:"subject",cssClasses:["longData"],icon:""}],this.resultsLength=0,this.isLoadingResults=!0,this.listProperties={},this.currentChrono="",this.currentMode="",this.thumbnailUrl="",this.selectedRes=[],this.allResInBasket=[],this.selectedDiffusionTab=0,this.folderInfo={id:0,label:"",ownerDisplayName:"",entitiesSharing:[]},this.destroy$=new M,this.currentSelectedChrono="",$j("link[href='merged_css.php']").remove(),this.subscription=this.foldersService.catchEvent().subscribe((function(n){"function"===n.type&&"refreshDao"===n.content&&p.refreshDao()}))}return n.prototype.ngOnInit=function(){var n=this;this.loading=!1,this.isLoadingResults=!1,this.route.params.subscribe((function(l){n.dragInit=!0,n.destroy$.next(!0),n.http.get("../../rest/followedResources").subscribe((function(l){n.headerService.setHeader(n.lang.followedMail,"","fas fa-star")})),n.basketUrl="../../rest/followedResources",n.filtersListService.filterMode=!1,n.selectedRes=[],n.listProperties=n.filtersListService.initListsProperties(n.headerService.user.id,0,null,"followed"),setTimeout((function(){n.dragInit=!1}),1e3),n.initResultList()}),(function(l){n.notify.handleErrors(l)}))},n.prototype.ngOnDestroy=function(){this.destroy$.next(!0)},n.prototype.initResultList=function(){var n=this;this.resultListDatabase=new bbn(this.http,this.filtersListService),this.paginator.pageIndex=this.listProperties.page,this.paginator.pageSize=this.listProperties.pageSize,this.sort.sortChange.subscribe((function(){return n.paginator.pageIndex=0})),Z(this.sort.sortChange,this.paginator.page,this.filtersChange).pipe(Ph(this.destroy$),Pc({}),Sc((function(){return n.isLoadingResults=!0,n.resultListDatabase.getRepoIssues(n.sort.active,n.sort.direction,n.paginator.pageIndex,n.basketUrl,n.filtersListService.getUrlFilters(),n.paginator.pageSize)})),q((function(l){return n.isLoadingResults=!1,l=n.processPostData(l),n.resultsLength=l.countResources,n.allResInBasket=l.allResources,l.resources})),Qr((function(l){return n.notify.handleErrors(l),n.router.navigate(["/home"]),n.isLoadingResults=!1,lu(!1)}))).subscribe((function(l){return n.data=l}))},n.prototype.goTo=function(n){this.filtersListService.filterMode=!1,this.docUrl==="../../rest/resources/"+n.resId+"/content"&&this.sidenavRight.opened?this.sidenavRight.close():(this.docUrl="../../rest/resources/"+n.resId+"/content",this.currentChrono=n.chrono,this.innerHtml=this.sanitizer.bypassSecurityTrustHtml("<iframe style='height:100%;width:100%;' src='"+this.docUrl+"' class='embed-responsive-item'></iframe>"),this.sidenavRight.open())},n.prototype.goToDetail=function(n){this.router.navigate(["/resources/"+n.resId])},n.prototype.goToFolder=function(n){this.router.navigate(["/folders/"+n.id])},n.prototype.togglePanel=function(n,l){l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l),this.currentResource.resId===l.resId&&this.sidenavRight.opened&&this.currentMode===n?this.sidenavRight.close():(this.currentMode=n,this.currentResource=l,this.appPanelList.loadComponent(n,l),this.sidenavRight.open())},n.prototype.refreshBadgeNotes=function(n){this.currentResource.countNotes=n},n.prototype.refreshBadgeAttachments=function(n){this.currentResource.countAttachments=n},n.prototype.refreshDao=function(){this.paginator.pageIndex=this.listProperties.page,this.filtersChange.emit()},n.prototype.refreshDaoAfterAction=function(){this.sidenavRight.close(),this.refreshDao(),this.toggleAllRes({checked:!1})},n.prototype.viewThumbnail=function(n){n.hasDocument&&(this.thumbnailUrl="../../rest/resources/"+n.resId+"/thumbnail",$j("#viewThumbnail").show(),$j("#listContent").css({overflow:"hidden"}))},n.prototype.closeThumbnail=function(){$j("#viewThumbnail").hide(),$j("#listContent").css({overflow:"auto"})},n.prototype.processPostData=function(n){var l=this;return n.resources.forEach((function(n){Object.keys(n).forEach((function(e){"statusImage"===e&&null==n[e]?n[e]="fa-question undefined":null!=n[e]&&""!==n[e]||-1!==["closingDate","countAttachments","countNotes","display","mailTracking","hasDocument","folders"].indexOf(e)||(n[e]=l.lang.undefined)})),n.checked=-1!==l.selectedRes.indexOf(n.resId)})),n},n.prototype.toggleRes=function(n,l){if(n.checked)-1===this.selectedRes.indexOf(l.resId)&&(this.selectedRes.push(l.resId),l.checked=!0);else{var e=this.selectedRes.indexOf(l.resId);this.selectedRes.splice(e,1),l.checked=!1}},n.prototype.toggleAllRes=function(n){this.selectedRes=[],n.checked?(this.data.forEach((function(n){n.checked=!0})),this.selectedRes=JSON.parse(JSON.stringify(this.allResInBasket))):this.data.forEach((function(n){n.checked=!1}))},n.prototype.selectSpecificRes=function(n){this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},n)},n.prototype.open=function(n,l){var e=n.x,t=n.y;return!1===l.checked&&(l.checked=!0,this.toggleAllRes({checked:!1}),this.toggleRes({checked:!0},l)),this.actionsList.open(e,t,l),!1},n.prototype.listTodrag=function(){return this.foldersService.getDragIds()},n.prototype.unfollowMail=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.stopFollowingAlert}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.request("DELETE","../../rest/resources/unfollow",{body:{resources:[n.resId]}})})),Yr((function(n){l.headerService.nbResourcesFollowed--,l.initResultList()})),Qr((function(n){return l.notify.handleSoftErrors(n),lu(!1)}))).subscribe()},n.prototype.viewDocument=function(n){window.open("../../rest/resources/"+n.resId+"/content?mode=view","_blank")},n}(),bbn=function(){function n(n,l){this.http=n,this.filtersListService=l}return n.prototype.getRepoIssues=function(n,l,e,t,i,a){return this.filtersListService.updateListsPropertiesPage(e),this.filtersListService.updateListsPropertiesPageSize(a),this.http.get(t+"?limit="+a+"&offset="+e*a+i)},n}(),vbn=yt({encapsulation:0,styles:[[".dragPreview[_ngcontent-%COMP%]{text-align:center;border-radius:5px;background:#fff;padding:10px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);color:#135f7f}.banner-opened[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:10px;border-radius:20px;border:1px solid #ccc;position:relative;padding:20px;background:#1a80ab;width:100%}.banner-opened[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;letter-spacing:2px;position:absolute;top:-18px;left:20px;padding:0;margin:0;color:#fff}.banner-opened[_ngcontent-%COMP%] .title-divider[_ngcontent-%COMP%]{position:absolute;width:99%;z-index:-1;top:17px;background:#1a80ab;height:1px}.banner-opened[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:-webkit-box;display:flex;font-size:16px}.banner-opened[_ngcontent-%COMP%] .content-item[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1;padding-left:20px;padding-right:20px}.banner-opened[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .private[_ngcontent-%COMP%]{font-style:italic;display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;-webkit-box-align:center;align-items:center}.banner-closed[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:10px;position:relative;width:100%}.banner-closed[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;letter-spacing:2px;position:absolute;top:-18px;left:20px;padding:0;margin:0;color:#fff}.followIcon[_ngcontent-%COMP%]{color:#f99830}.folder-info[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.badge-folder[_ngcontent-%COMP%]{cursor:pointer;background:#f99830;margin:5px;font-size:12px;border-radius:3px;opacity:.8;max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"]],data:{}});function _bn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function ybn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_bn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function wbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"small",[],null,null,null,null,null)),(n()(),Lo(1,null,["- "," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.selectedRes.length,e.lang.selected)}))}function xbn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"title",0],[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{color:0}),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=n(l,3,0,l.parent.parent.context.$implicit.priorityColor);n(l,2,0,e),n(l,4,0,"primary")}),(function(n,l){var e=Wt(1,"",l.parent.parent.context.$implicit.statusLabel,""),t=Wt(5,"",l.parent.parent.context.$implicit.statusImage.charAt(0),"",l.parent.parent.context.$implicit.statusImage.charAt(1)," ",l.parent.parent.context.$implicit.statusImage," ",l.parent.parent.context.$implicit.statusImage.charAt(0),"",l.parent.parent.context.$implicit.statusImage.charAt(1),"-2x");n(l,0,0,e,t,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Cbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","watermark"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.confidential)}))}function kbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","fa fa-lock fa-2x mat-icon notranslate"],["role","img"],["style","color: red;"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,Wt(2,"",l.component.lang.warnLockResInProgress," : ",l.parent.parent.context.$implicit.locker,""),bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function Sbn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"span",[["class","main-info-status"],["style","cursor:pointer;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xbn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Cbn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,kbn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,!0!==l.parent.context.$implicit.isLocked),n(l,4,0,"Y"===l.parent.context.$implicit.confidentiality),n(l,6,0,!0===l.parent.context.$implicit.isLocked)}),null)}function Ibn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"span",[["style","color: rgba(0,0,0,0.4);font-size: 90%;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"i",[["class","fas fa-barcode"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(3,null,[" ",""]))],null,(function(n,l){n(l,2,0,Wt(1,"",l.component.lang.barcode,"")),n(l,3,0,l.parent.parent.context.$implicit.barcode)}))}function Abn(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.chrono)}))}function Mbn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[["class","main-info-data"],["style","width:200px;text-align:center;cursor:pointer;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ibn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Abn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,l.parent.context.$implicit.chrono==e.lang.undefined&&l.parent.context.$implicit.barcode!=e.lang.undefined),n(l,4,0,l.parent.context.$implicit.chrono!=e.lang.undefined)}),null)}function Pbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["color","warn"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.documentOutOfPerimeter)}))}function Dbn(n){return jo(0,[(n()(),_o(0,0,null,null,25,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[2,"noData",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("note",n.parent.context.$implicit)&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(3,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-comments fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),Di(5,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(6,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[2,"noData",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("attachment",n.parent.context.$implicit)&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(8,0,null,0,2,"mat-icon",[["class","mat-icon notranslate mat-badge"],["fontIcon","fa-paperclip fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null],[2,"mat-badge-overlap",null],[2,"mat-badge-above",null],[2,"mat-badge-below",null],[2,"mat-badge-before",null],[2,"mat-badge-after",null],[2,"mat-badge-small",null],[2,"mat-badge-medium",null],[2,"mat-badge-large",null],[2,"mat-badge-hidden",null],[2,"mat-badge-disabled",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),Di(10,671744,null,0,OS,[La,Pe,kb,Te,[2,SC]],{content:[0,"content"],hidden:[1,"hidden"]},null),(n()(),_o(11,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.togglePanel("diffusion",n.parent.context.$implicit)&&t),t}),PC,MC)),Di(12,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(13,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-sitemap fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(14,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"],fontSet:[1,"fontSet"],fontIcon:[2,"fontIcon"]},null),(n()(),_o(15,0,null,null,6,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.viewDocument(n.parent.context.$implicit)&&t),"mouseenter"===l&&(t=!1!==i.viewThumbnail(n.parent.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.closeThumbnail()&&t),t}),PC,MC)),Di(16,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(17,0,null,0,4,"mat-icon",[["class","fa mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(19,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(20,1),Di(21,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(22,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.goToDetail(n.parent.context.$implicit)&&t),t}),PC,MC)),Di(23,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(24,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-info-circle fa-2x"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(25,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){var e=l.component;n(l,4,0,bi(l.parent.parent,84).opened&&l.parent.context.$implicit.checked&&"note"==e.currentMode?"primary":"","fas","fa-comments fa-2x"),n(l,5,0,Wt(1,"",l.parent.context.$implicit.countNotes,""),Wt(1,"",0==l.parent.context.$implicit.countNotes,"")),n(l,9,0,bi(l.parent.parent,84).opened&&l.parent.context.$implicit.checked&&"attachment"==e.currentMode?"primary":"","fas","fa-paperclip fa-2x"),n(l,10,0,Wt(1,"",l.parent.context.$implicit.countAttachments,""),Wt(1,"",0==l.parent.context.$implicit.countAttachments,"")),n(l,14,0,bi(l.parent.parent,84).opened&&l.parent.context.$implicit.checked&&"diffusion"==e.currentMode?"primary":"","fas","fa-sitemap fa-2x"),n(l,16,0,!l.parent.context.$implicit.hasDocument);var t=n(l,20,0,l.parent.context.$implicit.hasDocument?"fa-eye":"fa-eye-slash");n(l,19,0,"fa",t),n(l,21,0),n(l,25,0,"fas","fa-info-circle fa-2x")}),(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.notes,""),0==l.parent.context.$implicit.countNotes,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,1,[bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color,bi(l,5).overlap,bi(l,5).isAbove(),!bi(l,5).isAbove(),!bi(l,5).isAfter(),bi(l,5).isAfter(),"small"===bi(l,5).size,"medium"===bi(l,5).size,"large"===bi(l,5).size,bi(l,5).hidden||!bi(l,5)._hasContent,bi(l,5).disabled]),n(l,6,0,Wt(1,"",e.lang.attachments,""),0==l.parent.context.$implicit.countAttachments,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,1,[bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color,bi(l,10).overlap,bi(l,10).isAbove(),!bi(l,10).isAbove(),!bi(l,10).isAfter(),bi(l,10).isAfter(),"small"===bi(l,10).size,"medium"===bi(l,10).size,"large"===bi(l,10).size,bi(l,10).hidden||!bi(l,10)._hasContent,bi(l,10).disabled]),n(l,11,0,Wt(1,"",e.lang.diffusionList,""),bi(l,12).disabled||null,"NoopAnimations"===bi(l,12)._animationMode),n(l,13,0,bi(l,14).inline,"primary"!==bi(l,14).color&&"accent"!==bi(l,14).color&&"warn"!==bi(l,14).color),n(l,15,0,Wt(1,"",l.parent.context.$implicit.hasDocument?e.lang.viewResource:e.lang.noDocument,""),bi(l,16).disabled||null,"NoopAnimations"===bi(l,16)._animationMode),n(l,17,0,bi(l,21).inline,"primary"!==bi(l,21).color&&"accent"!==bi(l,21).color&&"warn"!==bi(l,21).color),n(l,22,0,Wt(1,"",e.lang.linkDetails,""),bi(l,23).disabled||null,"NoopAnimations"===bi(l,23)._animationMode),n(l,24,0,bi(l,25).inline,"primary"!==bi(l,25).color&&"accent"!==bi(l,25).color&&"warn"!==bi(l,25).color)}))}function Fbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["class","badge badge-folder"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.goToFolder(n.context.$implicit)&&t),t}),null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fa fa-folder"]],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,0,0,Wt(2,"",l.component.lang.goToFolder," : ",l.context.$implicit.label,"")),n(l,2,0,l.context.$implicit.label)}))}function Ebn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","folder-info"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,Fbn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(3,2)],(function(n,l){var e=bt(l,2,0,n(l,3,0,bi(l.parent.parent,2),l.parent.context.$implicit.folders,"label"));n(l,2,0,e)}),null)}function Obn(n){return jo(0,[(n()(),_o(0,0,null,null,24,"td",[["class","mat-cell"],["mat-cell",""],["role","gridcell"],["style","padding:0;border-top: solid 1px rgba(0, 0, 0, 0.12);"]],[[2,"selected-data",null]],null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,20,"div",[["class","main-info"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,3,"span",[["style","width:50px;"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleRes(e,n.context.$implicit)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(6,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),_o(7,0,null,null,3,"button",[["class","followIcon"],["mat-icon-button",""],["style","margin-left: -25px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.unfollowMail(n.context.$implicit)&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(9,0,null,0,1,"mat-icon",[["class","fas fa-star mat-icon notranslate"],["role","img"],["style","margin-bottom: 5px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,Sbn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mbn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,2,"span",[["class","main-info-data"],["style","font-weight:bold;flex:1;cursor:pointer;"]],[[2,"undefined",null],[8,"title",0]],null,null,null,null)),(n()(),Lo(16,null,["",""])),Fo(17,3),(n()(),_o(18,0,null,null,4,"span",[["class","main-info-action"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Pbn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Dbn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ebn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"primary",l.context.$implicit.checked),n(l,10,0),n(l,12,0,!e.appService.getViewMode()),n(l,14,0,!e.appService.getViewMode()),n(l,20,0,!l.context.$implicit.allowed),n(l,22,0,l.context.$implicit.allowed),n(l,24,0,void 0!==l.context.$implicit.folders&&l.context.$implicit.folders.length>0)}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit.checked),n(l,4,0,bi(l,6).id,null,bi(l,6).indeterminate,bi(l,6).checked,bi(l,6).disabled,"before"==bi(l,6).labelPosition,"NoopAnimations"===bi(l,6)._animationMode),n(l,7,0,Wt(1,"",e.lang.untrackThisMail,""),bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color),n(l,15,0,l.context.$implicit.subject==e.lang.undefined,Wt(1,"",l.context.$implicit.subject,""));var t=bt(l,16,0,n(l,17,0,bi(l.parent,1),l.context.$implicit.subject,150,"..."));n(l,16,0,t)}))}function Tbn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","example-custom-placeholder"]],null,null,null,null,null))],null,null)}function Lbn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","dragPreview"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"i",[["class","fas fa-envelope-open-text fa-2x"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," : "])),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.classifyInFolder),n(l,5,0,l.parent.context.$implicit.chrono)}))}function Rbn(n){return jo(0,[(n()(),_o(0,16777216,null,null,11,"tr",[["cdkDrag",""],["class","rowData mat-row cdk-drag"],["mat-row",""],["role","row"],["style","cursor: pointer;"]],[[2,"locked",null],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"contextmenu"],[null,"click"],[null,"cdkDragStarted"]],(function(n,l,e){var t=!0,i=n.component;return"contextmenu"===l&&(t=!1!==i.open(e,n.context.$implicit)&&t),"click"===l&&(t=!1!==i.open(e,n.context.$implicit)&&t),"cdkDragStarted"===l&&(t=!1!==i.selectSpecificRes(n.context.$implicit)&&t),t}),_R,vR)),Ei(6144,null,HL,null,[cR]),Ei(6144,null,VU,null,[$U]),Di(3,49152,null,0,cR,[],null,null),Di(4,4866048,[[14,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{data:[0,"data"],disabled:[1,"disabled"]},{started:"cdkDragStarted"}),ko(603979776,18,{_handles:1}),ko(603979776,19,{_previewTemplate:0}),ko(603979776,20,{_placeholderTemplate:0}),(n()(),vo(0,null,null,1,null,Tbn)),Di(9,16384,[[20,4]],0,zU,[Xe],null,null),(n()(),vo(0,null,null,1,null,Lbn)),Di(11,16384,[[19,4]],0,UU,[Xe],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,4,0,l.context.$implicit,!l.context.$implicit.allowed)}),(function(n,l){n(l,0,0,1==l.context.$implicit.isLocked,bi(l,4).disabled,bi(l,4)._dragRef.isDragging())}))}function Nbn(n){return jo(0,[(n()(),_o(0,16777216,null,null,1,"div",[["style","height: 100%;overflow: hidden;"]],[[8,"innerHTML",1]],[[null,"longpress"],[null,"keydown"],[null,"touchend"]],(function(n,l,e){var t=!0;return"longpress"===l&&(t=!1!==bi(n,1).show()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"touchend"===l&&(t=!1!==bi(n,1)._handleTouchend()&&t),t}),null,null)),Di(1,212992,null,0,sb,[Zg,Pe,wg,lt,La,sh,kb,qb,ob,[2,bb],[2,ub],[2,Id]],{message:[0,"message"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.component.currentChrono)}),(function(n,l){n(l,0,0,l.component.innerHtml)}))}function jbn(n){return jo(0,[Fi(0,ZS,[]),Fi(0,YS,[]),Fi(0,HS,[QS,$S]),ko(402653184,1,{sidenavRight:0}),ko(402653184,2,{actionsList:0}),ko(402653184,3,{appPanelList:0}),ko(402653184,4,{paginator:0}),ko(402653184,5,{sort:0}),ko(402653184,6,{basketHome:0}),ko(402653184,7,{menuShortcut:0}),(n()(),_o(10,0,null,null,85,"mat-sidenav-container",[["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,8,{_drawers:1}),ko(603979776,9,{_content:0}),(n()(),_o(14,0,null,1,65,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[9,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,2,"mat-card",[["class","mat-card"],["id","viewThumbnail"],["style","display:none;position: fixed;z-index: 2;margin-left: 1px;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(17,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(18,0,null,0,0,"img",[["style","max-height: 100vh;"]],[[8,"src",4]],null,null,null,null)),(n()(),_o(19,0,null,0,11,"div",[["class","bg-head"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,6,"div",[["class","bg-head-title"]],[[2,"customContainerRight",null]],null,null,null,null)),(n()(),_o(21,0,null,null,2,"div",[["class","bg-head-title-label"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,1,"header-left",[],null,null,null,ZO,WO)),Di(23,114688,null,0,GO,[_u],null,null),(n()(),_o(24,0,null,null,2,"div",[["class","bg-head-title-tool"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,1,"header-right",[],null,null,null,hL,tL)),Di(26,114688,null,0,eL,[nS,uf,Jv,yu,_u,$S,TI],null,null),(n()(),_o(27,0,null,null,3,"div",[["class","bg-head-content"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(28,0,null,null,2,"app-filters-tool",[["style","flex:1;overflow-x: auto;overflow-y: hidden;"]],null,[[null,"toggleAllRes"],[null,"refreshEventAfterAction"],[null,"refreshEvent"]],(function(n,l,e){var t=!0,i=n.component;return"toggleAllRes"===l&&(t=!1!==i.toggleAllRes(e)&&t),"refreshEventAfterAction"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshEvent"===l&&(t=!1!==i.refreshDao()&&t),t}),nun,Rrn)),Ei(512,null,QS,QS,[]),Di(30,114688,[["filtersTool",4]],0,Lrn,[nS,Trn,Oy,QS,Jv],{listProperties:[0,"listProperties"],title:[1,"title"],routeDatas:[2,"routeDatas"],sidenavRight:[3,"sidenavRight"],selectedRes:[4,"selectedRes"],totalRes:[5,"totalRes"]},{refreshEvent:"refreshEvent",refreshEventAfterAction:"refreshEventAfterAction",toggleAllRes:"toggleAllRes"}),(n()(),_o(31,0,null,0,48,"div",[["class","container"]],[[2,"fullContainer",null]],null,null,null,null)),(n()(),_o(32,0,null,null,47,"div",[["class","container-content"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ybn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,null,17,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(36,0,null,null,7,"div",[["class","table-head-result"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["style","margin: 10px;padding-right: 10px;"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleAllRes(e)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(39,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"],indeterminate:[2,"indeterminate"]},{change:"change"}),(n()(),Lo(40,null,[" "," "," "])),Fo(41,1),(n()(),vo(16777216,null,null,1,null,wbn)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(44,0,null,null,8,"div",[["class","table-head-tool"]],null,null,null,null,null)),(n()(),_o(45,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),_o(46,0,null,null,2,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(47,245760,[[4,4],["paginatorResultList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSizeOptions:[1,"pageSizeOptions"]},null),Eo(48,5),(n()(),_o(49,0,null,null,3,"span",[],null,null,null,null,null)),(n()(),_o(50,0,null,null,2,"app-followed-action-list",[],null,[[null,"refreshEvent"]],(function(n,l,e){var t=!0;return"refreshEvent"===l&&(t=!1!==n.component.refreshDaoAfterAction()&&t),t}),hbn,obn)),Ei(512,null,tu,tu,[uf,hk]),Di(52,114688,[["actionsList",4]],0,abn,[nS,tu,Jv,uf,_u],{selectedRes:[0,"selectedRes"],totalRes:[1,"totalRes"],contextMode:[2,"contextMode"],currentFolderInfo:[3,"currentFolderInfo"],menuShortcut:[4,"menuShortcut"]},{refreshEvent:"refreshEvent"}),(n()(),_o(53,0,null,null,25,"div",[["style","height:90%;overflow:auto;position:absolute;width:100%;"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,24,"table",[["cdkDropList",""],["class","mat-table cdk-drop-list"],["id","folder-list"],["mat-table",""],["matSort",""],["matSortActive","resId"],["matSortDirection","asc"],["matSortDisableClear",""],["style","width:100%;"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],null,null,hR,fR)),Ei(6144,null,jU,null,[KU]),Ei(6144,null,QL,null,[lR]),Di(57,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,10,{_contentColumnDefs:1}),ko(603979776,11,{_contentRowDefs:1}),ko(603979776,12,{_contentHeaderRowDefs:1}),ko(603979776,13,{_contentFooterRowDefs:1}),Di(62,737280,[[5,4],["tableBasketListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"],disableClear:[2,"disableClear"]},null),Di(63,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"],disabled:[3,"disabled"]},null),ko(603979776,14,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(66,0,null,null,9,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(68,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,15,{cell:0}),ko(603979776,16,{headerCell:0}),ko(603979776,17,{footerCell:0}),Ei(2048,[[10,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,Obn)),Di(74,16384,null,0,eR,[Xe],null,null),Ei(2048,[[15,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,Rbn)),Di(77,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[11,4]],UL,null,[uR]),(n()(),_o(79,0,null,null,0,"div",[["class","table-head"]],null,null,null,null,null)),(n()(),_o(80,0,null,0,15,"mat-sidenav",[["autoFocus","false"],["class","panel-right mat-drawer mat-sidenav"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[2,"docView",null],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,84)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,84)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(82,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(83,{width:0}),Di(84,3325952,[[8,4],[1,4],["snav2",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"],fixedInViewport:[4,"fixedInViewport"]},null),(n()(),vo(16777216,null,0,1,null,Nbn)),Di(86,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(87,0,null,0,4,"div",[["style","display:flex;position: sticky;top: 0px;z-index: 2;"]],null,null,null,null,null)),(n()(),_o(88,0,null,null,3,"button",[["mat-icon-button",""],["style","font-size: 20px;color:#666;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,84).close()&&t),t}),PC,MC)),Di(89,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(90,0,null,0,1,"mat-icon",[["class","fa fa-arrow-right mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(91,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(92,0,null,0,1,"app-panel-list",[],null,[[null,"refreshBadgeNotes"],[null,"refreshBadgeAttachments"]],(function(n,l,e){var t=!0,i=n.component;return"refreshBadgeNotes"===l&&(t=!1!==i.refreshBadgeNotes(e)&&t),"refreshBadgeAttachments"===l&&(t=!1!==i.refreshBadgeAttachments(e)&&t),t}),gcn,dcn)),Di(93,114688,[[3,4],["appPanelList",4]],0,ccn,[],null,{refreshBadgeNotes:"refreshBadgeNotes",refreshBadgeAttachments:"refreshBadgeAttachments"}),(n()(),_o(94,0,null,0,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(95,49152,null,0,mI,[],null,null),(n()(),_o(96,0,null,null,2,"app-followed-action-list",[],null,[[null,"refreshEvent"],[null,"refreshPanelFolders"]],(function(n,l,e){var t=!0,i=n.component;return"refreshEvent"===l&&(t=!1!==i.refreshDaoAfterAction()&&t),"refreshPanelFolders"===l&&(t=!1!==i.foldersService.getFolders()&&t),t}),hbn,obn)),Ei(512,null,tu,tu,[uf,hk]),Di(98,114688,[[2,4],["actionsListContext",4]],0,abn,[nS,tu,Jv,uf,_u],{selectedRes:[0,"selectedRes"],totalRes:[1,"totalRes"],contextMode:[2,"contextMode"],currentFolderInfo:[3,"currentFolderInfo"],menuShortcut:[4,"menuShortcut"]},{refreshEvent:"refreshEvent",refreshPanelFolders:"refreshPanelFolders"})],(function(n,l){var e=l.component;n(l,11,0),n(l,15,0),n(l,23,0),n(l,26,0),n(l,30,0,e.listProperties,e.lang.searchTrackedMail,"/rest/followedResources/filters",bi(l,84),e.selectedRes,e.allResInBasket.length),n(l,34,0,e.isLoadingResults),n(l,39,0,"primary",e.selectedRes.length==e.allResInBasket.length&&e.selectedRes.length>0,e.selectedRes.length>0&&e.selectedRes.length<e.allResInBasket.length),n(l,43,0,e.selectedRes.length>0);var t=e.resultsLength,i=n(l,48,0,10,25,50,100,150);n(l,47,0,t,i),n(l,52,0,e.selectedRes,e.allResInBasket.length,!1,e.folderInfo,e.menuShortcut),n(l,57,0,e.data),n(l,62,0,"resId","asc",""),n(l,63,0,e.listTodrag(),e.data,"folder-list",e.dragInit||e.appService.getViewMode()),n(l,68,0,"resId"),n(l,77,0,e.displayedColumnsBasket);var a=n(l,83,0,e.appService.getViewMode()?"80%":"30%");n(l,82,0,a),n(l,84,0,"end",e.appService.getViewMode()?"over":"side","false",(e.appService.getViewMode(),!1),e.appService.getViewMode()),n(l,86,0,e.innerHtml),n(l,91,0),n(l,93,0),n(l,98,0,e.selectedRes,e.allResInBasket.length,!0,e.folderInfo,e.menuShortcut)}),(function(n,l){var e=l.component;n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,16,0,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,Wt(1,"",e.thumbnailUrl,"")),n(l,20,0,e.appService.getViewMode()),n(l,27,0,e.appService.getViewMode()),n(l,31,0,e.appService.getViewMode()),n(l,37,0,Wt(1,"",e.lang.selectAllResInBasket,""),bi(l,39).id,null,bi(l,39).indeterminate,bi(l,39).checked,bi(l,39).disabled,"before"==bi(l,39).labelPosition,"NoopAnimations"===bi(l,39)._animationMode);var t=e.resultsLength,i=bt(l,40,1,n(l,41,0,bi(l,0),e.lang.records));n(l,40,0,t,i),n(l,54,0,bi(l,63).id,bi(l,63).disabled,bi(l,63)._dropListRef.isDragging(),bi(l,63)._dropListRef.isReceiving()),n(l,80,1,[e.innerHtml,null,"end"===bi(l,84).position,"over"===bi(l,84).mode,"push"===bi(l,84).mode,"side"===bi(l,84).mode,bi(l,84).opened,bi(l,84).fixedInViewport,bi(l,84).fixedInViewport?bi(l,84).fixedTopGap:null,bi(l,84).fixedInViewport?bi(l,84).fixedBottomGap:null,bi(l,84)._animationState]),n(l,88,0,bi(l,89).disabled||null,"NoopAnimations"===bi(l,89)._animationMode),n(l,90,0,bi(l,91).inline,"primary"!==bi(l,91).color&&"accent"!==bi(l,91).color&&"warn"!==bi(l,91).color),n(l,94,0,bi(l,95).vertical?"vertical":"horizontal",bi(l,95).vertical,!bi(l,95).vertical,bi(l,95).inset)}))}function Vbn(n){return jo(0,[(n()(),_o(0,16777216,null,null,3,"ng-component",[],null,null,null,jbn,vbn)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,245760,null,0,gbn,[uf,Zp,nS,Jv,Ed,_u,Trn,tu,Zg,lt,yu,ru],null,null)],(function(n,l){n(l,3,0)}),null)}var qbn=oi("ng-component",gbn,Vbn,{},{},[]),zbn=yt({encapsulation:0,styles:[[".mat-expansion-panel-body{padding-bottom:50px} .mat-slide-toggle-content{color:rgba(0,0,0,.87)}.summarySheet[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:10px;padding:10px}.summarySheet[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{text-align:center;font-weight:700;font-size:24px;margin-top:10px;margin-bottom:10px;border:1px solid #000}.summarySheet[_ngcontent-%COMP%] .unitTitle[_ngcontent-%COMP%]{display:-webkit-box;display:flex;cursor:initial;position:absolute;top:2px;left:5px;width:50%}.summarySheet[_ngcontent-%COMP%] .unitData[_ngcontent-%COMP%]{cursor:pointer;margin-top:30px;width:100%;opacity:.5}.summarySheet[_ngcontent-%COMP%] .unitToggle[_ngcontent-%COMP%]{position:absolute;right:10px}.cdk-list[_ngcontent-%COMP%]{width:100%;max-width:100%;border:1px solid #ccc;min-height:60px;display:block;background:#fff;border-radius:4px;overflow:auto}.columns[_ngcontent-%COMP%]{width:100%;height:90px;padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;box-sizing:border-box;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.actions[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center;position:relative}.loader[_ngcontent-%COMP%]{position:absolute;display:-webkit-box;display:flex;width:100%;left:0;top:0;height:100%;background:#fff9;z-index:1;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.disabled[_ngcontent-%COMP%]{opacity:.5}.qrcode[_ngcontent-%COMP%] .mat-button-toggle-label-content{padding-left:7px!important;line-height:40px!important}.qrcode.mat-button-toggle-checked.mat-button-toggle-appearance-standard[_ngcontent-%COMP%]{background-color:#135f7f;color:#fff}.handleDrag[_ngcontent-%COMP%]{padding-right:5px;cursor:move;display:inline-block;opacity:.5}"]],data:{}});function Ubn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Bbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,0,0,Wt(1,"",l.parent.parent.context.$implicit.css,"")),n(l,1,0,l.context.$implicit)}))}function $bn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""],["style","position: absolute;right:5px;top:0px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeCustomUnit(n.parent.parent.context.index)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-minus"],["fontSet","fas"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){n(l,1,0,"warn"),n(l,3,0,"fas","fa-minus")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.deleteUnit,""),bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function Hbn(n){return jo(0,[(n()(),_o(0,16777216,null,null,41,"div",[["cdkDrag",""],["class","columns cdk-drag"],["style","position: relative;"]],[[2,"disabled",null],[8,"id",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Di(1,4866048,[[2,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,3,{_handles:1}),ko(603979776,4,{_previewTemplate:0}),ko(603979776,5,{_placeholderTemplate:0}),Ei(2048,null,VU,null,[$U]),(n()(),_o(6,0,null,null,24,"div",[["class","unitTitle"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,4,"div",[["cdkDragHandle",""],["class","handleDrag cdk-drag-handle"]],null,null,null,null,null)),Di(8,147456,[[3,4]],0,qU,[Pe,[2,VU]],null,null),(n()(),_o(9,0,null,null,2,":svg:svg",[["fill","currentColor"],["viewBox","0 0 24 24"],["width","24px"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,0,":svg:path",[["d","M10 9h4V6h3l-5-5-5 5h3v3zm-1 1H6V7l-5 5 5 5v-3h3v-4zm14 2l-5-5v3h-3v4h3v3l5-5zm-9 3h-4v3H7l5 5 5-5h-3v-3z"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,0,":svg:path",[["d","M0 0h24v24H0z"],["fill","none"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,18,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"],["style","margin-top: -10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(13,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,6,{_controlNonStatic:0}),ko(335544320,7,{_controlStatic:0}),ko(603979776,8,{_labelChildNonStatic:0}),ko(335544320,9,{_labelChildStatic:0}),ko(603979776,10,{_placeholderChild:0}),ko(603979776,11,{_errorChildren:1}),ko(603979776,12,{_hintChildren:1}),ko(603979776,13,{_prefixChildren:1}),ko(603979776,14,{_suffixChildren:1}),(n()(),_o(23,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"click"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,24)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,24).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,24)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,24)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,29)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,29)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,29)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.context.$implicit.label=e)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),null,null)),Di(24,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(26,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(28,16384,null,0,y_,[[4,v_]],null,null),Di(29,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[6,4],[7,4]],nT,null,[OT]),(n()(),_o(31,0,null,null,2,"div",[["class","unitData"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=0!=(n.parent.context.$implicit.enabled=!n.parent.context.$implicit.enabled)&&t),t}),null,null)),(n()(),vo(16777216,null,null,1,null,Bbn)),Di(33,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(34,0,null,null,5,"mat-slide-toggle",[["class","unitToggle mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,35)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(n.parent.context.$implicit.enabled=e)&&t),t}),mV,pV)),Di(35,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(37,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(39,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,null,1,null,$bn)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,13,0,"never"),n(l,26,0,l.parent.context.$implicit.label),n(l,29,0,Wt(1,"",e.lang.label,"")),n(l,33,0,l.parent.context.$implicit.desc),n(l,35,0,"primary"),n(l,37,0,l.parent.context.$implicit.enabled),n(l,41,0,"freeField"==l.parent.context.$implicit.unit)}),(function(n,l){n(l,0,0,!l.parent.context.$implicit.enabled,Wt(1,"",l.parent.context.$implicit.id,""),bi(l,1).disabled,bi(l,1)._dragRef.isDragging()),n(l,12,1,["standard"==bi(l,13).appearance,"fill"==bi(l,13).appearance,"outline"==bi(l,13).appearance,"legacy"==bi(l,13).appearance,bi(l,13)._control.errorState,bi(l,13)._canLabelFloat,bi(l,13)._shouldLabelFloat(),bi(l,13)._hasFloatingLabel(),bi(l,13)._hideControlPlaceholder(),bi(l,13)._control.disabled,bi(l,13)._control.autofilled,bi(l,13)._control.focused,"accent"==bi(l,13).color,"warn"==bi(l,13).color,bi(l,13)._shouldForward("untouched"),bi(l,13)._shouldForward("touched"),bi(l,13)._shouldForward("pristine"),bi(l,13)._shouldForward("dirty"),bi(l,13)._shouldForward("valid"),bi(l,13)._shouldForward("invalid"),bi(l,13)._shouldForward("pending"),!bi(l,13)._animationsEnabled]),n(l,23,1,[bi(l,28).ngClassUntouched,bi(l,28).ngClassTouched,bi(l,28).ngClassPristine,bi(l,28).ngClassDirty,bi(l,28).ngClassValid,bi(l,28).ngClassInvalid,bi(l,28).ngClassPending,bi(l,29)._isServer,bi(l,29).id,bi(l,29).placeholder,bi(l,29).disabled,bi(l,29).required,bi(l,29).readonly&&!bi(l,29)._isNativeSelect||null,bi(l,29)._ariaDescribedby||null,bi(l,29).errorState,bi(l,29).required.toString()]),n(l,34,1,[bi(l,35).id,bi(l,35).disabled?null:-1,bi(l,35).checked,bi(l,35).disabled,"before"==bi(l,35).labelPosition,"NoopAnimations"===bi(l,35)._animationMode,bi(l,39).ngClassUntouched,bi(l,39).ngClassTouched,bi(l,39).ngClassPristine,bi(l,39).ngClassDirty,bi(l,39).ngClassValid,bi(l,39).ngClassInvalid,bi(l,39).ngClassPending])}))}function Gbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Hbn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"qrcode"!==l.context.$implicit.unit)}),null)}function Wbn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(1,16384,null,0,l_,[],null,null),(n()(),_o(2,0,null,null,1,"span",[["style","color: #d24747; font-style: italic"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.firstSummarySheetsGenerated)}))}function Kbn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.closeModalWithParams()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.validate)}))}function Ybn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.genSummarySheets()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.genSummarySheets)}))}function Jbn(n){return jo(0,[(n()(),_o(0,0,null,null,54,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,38,"div",[["class","summarySheet mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(2,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Ubn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,17,"div",[["class","row header"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,1,"div",[["class","col-md-4 text-left"]],null,null,null,null,null)),(n()(),Lo(7,null,[" "," / "," "])),(n()(),_o(8,0,null,null,4,"div",[["class","col-md-4 text-center"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(12,null,[""," "])),(n()(),_o(13,0,null,null,9,"div",[["class","col-md-4 text-right"]],[[2,"disabled",null]],null,null,null,null)),(n()(),_o(14,0,null,null,8,"mat-button-toggle-group",[["class","mat-button-toggle-group"],["multiple",""],["role","group"],["style","position: absolute;top:-2px;right:0px;"]],[[1,"aria-disabled",0],[2,"mat-button-toggle-vertical",null],[2,"mat-button-toggle-group-appearance-standard",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleQrcode()&&t),t}),null,null)),Ei(5120,null,d_,(function(n){return[n]}),[kR]),Ei(6144,null,wR,null,[kR]),Di(17,1130496,null,1,kR,[Nl,[2,yR]],{multiple:[0,"multiple"]},{change:"change"}),ko(603979776,1,{_buttonToggles:1}),(n()(),_o(19,0,null,null,3,"mat-button-toggle",[["class","qrcode mat-button-toggle"],["style","width: 40px;height: 40px;"]],[[8,"title",0],[2,"mat-button-toggle-standalone",null],[2,"mat-button-toggle-checked",null],[2,"mat-button-toggle-disabled",null],[2,"mat-button-toggle-appearance-standard",null],[1,"tabindex",0],[1,"id",0],[1,"name",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,20).focus()&&t),t}),MR,AR)),Di(20,245760,[[1,4]],0,SR,[[2,kR],Nl,Pe,qb,[8,null],[2,yR]],{checked:[0,"checked"]},null),(n()(),_o(21,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-qrcode"],["fontSet","fas"],["role","img"],["style","height: auto;font-size: 30px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(22,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(23,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"div",[["class","col-md-12 title"]],null,null,null,null,null)),(n()(),Lo(25,null,[" "," "])),(n()(),_o(26,0,null,null,8,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,7,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,6,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(30,1196032,[["dataAvailableList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),ko(603979776,2,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,Gbn)),Di(34,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,Wbn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,null,2,"div",[["style","padding: 10px"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,1,"span",[["class","alert-message alert-message-info"]],null,null,null,null,null)),(n()(),Lo(39,null,["",""])),(n()(),_o(40,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(41,0,null,null,13,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(42,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,Kbn)),Di(44,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ybn)),Di(46,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(47,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,49).dialogRef.close(bi(n,49).dialogResult)&&t),t}),PC,MC)),Di(48,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(49,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(50,0,["",""])),(n()(),_o(51,0,null,null,3,"button",[["color","primary"],["mat-mini-fab",""],["style","position: absolute;right: 30px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addCustomUnit()&&t),t}),PC,MC)),Di(52,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(53,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-plus"],["fontSet","fas"],["role","img"],["style","height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(54,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.loading),n(l,17,0,""),n(l,20,0,e.withQrcode),n(l,22,0,"fas","fa-qrcode"),n(l,30,0,e.dataAvailable),n(l,34,0,e.dataAvailable),n(l,36,0,!e.functions.empty(e.data.selectedRes)&&e.data.selectedRes.length>500&&!e.paramMode),n(l,44,0,e.paramMode),n(l,46,0,!e.paramMode),n(l,49,0),n(l,52,0,"primary"),n(l,54,0,"fas","fa-plus")}),(function(n,l){var e=l.component;n(l,7,0,e.lang.appName,e.lang.printDate),n(l,10,0,e.lang.summarySheet),n(l,12,0,e.lang.chronoNumber),n(l,13,0,!e.withQrcode),n(l,14,0,bi(l,17).disabled,bi(l,17).vertical,"standard"===bi(l,17).appearance),n(l,19,0,Wt(1,"",e.lang.toggleQrcode,""),!bi(l,20).buttonToggleGroup,bi(l,20).checked,bi(l,20).disabled,"standard"===bi(l,20).appearance,-1,bi(l,20).id,null),n(l,21,0,bi(l,22).inline,"primary"!==bi(l,22).color&&"accent"!==bi(l,22).color&&"warn"!==bi(l,22).color),n(l,25,0,e.lang.object),n(l,28,0,bi(l,30).id,bi(l,30).disabled,bi(l,30)._dropListRef.isDragging(),bi(l,30)._dropListRef.isReceiving()),n(l,39,0,e.lang.arGenWithModelMessage),n(l,47,0,bi(l,48).disabled||null,"NoopAnimations"===bi(l,48)._animationMode,bi(l,49).ariaLabel||null,bi(l,49).type),n(l,50,0,e.lang.cancel),n(l,51,0,Wt(1,"",e.lang.addCustomUnit,""),bi(l,52).disabled||null,"NoopAnimations"===bi(l,52)._animationMode),n(l,53,0,bi(l,54).inline,"primary"!==bi(l,54).color&&"accent"!==bi(l,54).color&&"warn"!==bi(l,54).color)}))}function Zbn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Jbn,zbn)),Di(1,114688,null,0,eun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var Qbn=oi("ng-component",eun,Zbn,{},{},[]),Xbn=yt({encapsulation:0,styles:[[".mat-dialog-container{position:relative}.mat-dialog-content[_ngcontent-%COMP%]{padding-bottom:10px;overflow-x:hidden} .mat-expansion-panel-body{padding-bottom:50px}.mat-expansion-panel-header[_ngcontent-%COMP%]{opacity:.5}.noData[_ngcontent-%COMP%]{text-align:center;opacity:.5}.removeAllDatas[_ngcontent-%COMP%]{float:right;font-size:14px;opacity:1;cursor:pointer;margin-right:10px}.listFilter[_ngcontent-%COMP%]{font-size:10px;margin-bottom:-20px}.exportList[_ngcontent-%COMP%]{display:-webkit-box;display:flex}.exportList[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{float:left;height:20px;font-size:10px;font-weight:700;opacity:.5}.exportList[_ngcontent-%COMP%] .cdk-list[_ngcontent-%COMP%]{height:100%}.cdk-list[_ngcontent-%COMP%]{width:100%;max-width:100%;border:1px solid #ccc;display:block;background:#fff;border-radius:4px;max-height:310px;min-height:310px;overflow:auto}.columns[_ngcontent-%COMP%]{width:100%;height:50px;padding:20px 10px;border-bottom:1px solid #ccc;color:rgba(0,0,0,.87);display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;box-sizing:border-box;cursor:move;background:#fff;font-size:14px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.actions[_ngcontent-%COMP%]{-webkit-box-pack:center;justify-content:center}.loader[_ngcontent-%COMP%]{position:absolute;display:-webkit-box;display:flex;width:100%;left:0;top:0;height:100%;background:#fff9;z-index:1;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}"]],data:{}});function nvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loader"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function lvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function evn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[23,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit)}))}function tvn(n){return jo(0,[(n()(),_o(0,0,null,null,26,"div",[["class","col-md-9"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,14,{_controlNonStatic:0}),ko(335544320,15,{_controlStatic:0}),ko(603979776,16,{_labelChildNonStatic:0}),ko(335544320,17,{_labelChildStatic:0}),ko(603979776,18,{_placeholderChild:0}),ko(603979776,19,{_errorChildren:1}),ko(603979776,20,{_hintChildren:1}),ko(603979776,21,{_prefixChildren:1}),ko(603979776,22,{_suffixChildren:1}),(n()(),_o(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(13,16384,[[16,4],[17,4]],0,iT,[],null,null),(n()(),Lo(14,null,["",""])),(n()(),_o(15,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,20)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,20)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,20)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.exportModel.delimiter=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(17,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{disabled:[0,"disabled"],placeholder:[1,"placeholder"]},null),ko(603979776,23,{options:1}),ko(603979776,24,{optionGroups:1}),ko(603979776,25,{customTrigger:0}),Ei(2048,[[14,4],[15,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,evn)),Di(26,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"outline"),n(l,17,0,"csv"!=e.exportModel.format,e.exportModel.delimiter),n(l,20,0,"csv"!=e.exportModel.format,Wt(1,"",e.lang.delimiter,"")),n(l,26,0,e.delimiters)}),(function(n,l){var e=l.component;n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,0,e.lang.delimiter),n(l,15,1,[bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20).id,bi(l,20).tabIndex,bi(l,20)._getAriaLabel(),bi(l,20)._getAriaLabelledby(),bi(l,20).required.toString(),bi(l,20).disabled.toString(),bi(l,20).errorState,bi(l,20).panelOpen?bi(l,20)._optionIds:null,bi(l,20).multiple,bi(l,20)._ariaDescribedby||null,bi(l,20)._getAriaActiveDescendant(),bi(l,20).disabled,bi(l,20).errorState,bi(l,20).required,bi(l,20).empty])}))}function ivn(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","columns cdk-drag"]],[[8,"id",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Ei(6144,null,VU,null,[$U]),Di(2,4866048,[[37,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,38,{_handles:1}),ko(603979776,39,{_previewTemplate:0}),ko(603979776,40,{_placeholderTemplate:0}),(n()(),Lo(6,null,[""," "])),(n()(),_o(7,0,null,null,0,"i",[["class","fa fa-plus"],["color","primary"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addData(n.context.$implicit)&&t),t}),null,null)),(n()(),vo(0,null,null,0))],null,(function(n,l){n(l,0,0,Wt(1,"",l.context.$implicit.value,""),bi(l,2).disabled,bi(l,2)._dragRef.isDragging()),n(l,6,0,l.context.$implicit.label)}))}function avn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.noDataAvailable)}))}function ovn(n){return jo(0,[(n()(),_o(0,16777216,null,null,7,"div",[["cdkDrag",""],["class","columns cdk-drag"]],[[8,"id",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,null,null)),Ei(6144,null,VU,null,[$U]),Di(2,4866048,[[41,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,42,{_handles:1}),ko(603979776,43,{_previewTemplate:0}),ko(603979776,44,{_placeholderTemplate:0}),(n()(),Lo(6,null,[""," "])),(n()(),_o(7,0,null,null,0,"i",[["class","fa fa-minus"],["color","warn"],["style","cursor:pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeData(n.context.index)&&t),t}),null,null)),(n()(),vo(0,null,null,0))],null,(function(n,l){n(l,0,0,Wt(1,"",l.context.$implicit.value,""),bi(l,2).disabled,bi(l,2)._dragRef.isDragging()),n(l,6,0,l.context.$implicit.label)}))}function rvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noData"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.noDataAvailable)}))}function uvn(n){return jo(0,[Fi(0,iB,[QS]),Fi(0,HS,[QS,$S]),ko(402653184,1,{listFilter:0}),(n()(),_o(3,0,null,null,113,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(5,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(6,null,["",""])),(n()(),_o(7,0,null,null,99,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(8,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,nvn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,29,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,26,"div",[],[[2,"col-md-12",null],[2,"col-md-3",null]],null,null,null,null)),(n()(),_o(13,0,null,null,25,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(14,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(24,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(25,16384,[[4,4],[5,4]],0,iT,[],null,null),(n()(),Lo(26,null,["",""])),(n()(),_o(27,0,null,1,11,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,32)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,32)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,32)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.exportModel.format=e)&&t),"selectionChange"===l&&(t=!1!==i.changeTemplate(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(29,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"]},{selectionChange:"selectionChange"}),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),ko(603979776,13,{customTrigger:0}),Ei(2048,[[2,4],[3,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,lvn)),Di(38,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,tvn)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(41,0,null,null,65,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(42,1720320,null,1,Qj,[],null,null),ko(603979776,26,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(45,16777216,null,null,61,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(46,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,27,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(49,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,50)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,50)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,50)._animationStarted()&&t),t}),aV,tV)),Di(50,180224,[[26,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(51,{collapsedHeight:0,expandedHeight:1}),Oo(52,{value:0,params:1}),(n()(),_o(53,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(54,16384,null,0,Zj,[],null,null),(n()(),Lo(55,null,[" "," "])),(n()(),_o(56,0,null,1,15,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(57,0,null,null,14,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(58,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","listFilter mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(59,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,28,{_controlNonStatic:0}),ko(335544320,29,{_controlStatic:0}),ko(603979776,30,{_labelChildNonStatic:0}),ko(335544320,31,{_labelChildStatic:0}),ko(603979776,32,{_placeholderChild:0}),ko(603979776,33,{_errorChildren:1}),ko(603979776,34,{_hintChildren:1}),ko(603979776,35,{_prefixChildren:1}),ko(603979776,36,{_suffixChildren:1}),(n()(),_o(69,0,[[1,0],["listFilter",1]],1,2,"input",[["cdkFocusInitial",""],["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,70)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,70)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,70)._onInput()&&t),t}),null,null)),Di(70,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[28,4],[29,4]],nT,null,[OT]),(n()(),_o(72,0,null,1,34,"div",[["class","row exportList"]],null,null,null,null,null)),(n()(),_o(73,0,null,null,16,"div",[["class","col-md-6 available-data"]],null,null,null,null,null)),(n()(),_o(74,0,null,null,3,"h2",[],null,null,null,null,null)),(n()(),_o(75,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(n()(),Lo(76,null,["",""])),(n()(),_o(77,0,null,null,0,"i",[["class","fa fa-plus-circle removeAllDatas"],["color","primary"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.addAllData()&&t),t}),null,null)),(n()(),_o(78,0,null,null,11,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"],["id","availableElements"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(80,1196032,[["dataAvailableList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,37,{_draggables:1}),Eo(82,1),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,3,null,ivn)),Di(85,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(86,2),Fo(87,3),(n()(),vo(16777216,null,null,1,null,avn)),Di(89,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(90,0,null,null,1,"div",[["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(91,0,null,null,0,"i",[["class","fas fa-arrow-right"]],null,null,null,null,null)),(n()(),_o(92,0,null,null,14,"div",[["class","col-md-6 active-data"]],null,null,null,null,null)),(n()(),_o(93,0,null,null,3,"h2",[],null,null,null,null,null)),(n()(),_o(94,0,null,null,1,"span",[["class","title"]],null,null,null,null,null)),(n()(),Lo(95,null,["",""])),(n()(),_o(96,0,null,null,0,"i",[["class","fa fa-minus-circle removeAllDatas"],["color","warn"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeAllData()&&t),t}),null,null)),(n()(),_o(97,0,null,null,9,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"],["id","selectedElements"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(99,1196032,[["dataExportList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,41,{_draggables:1}),Eo(101,1),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,ovn)),Di(104,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,rvn)),Di(106,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(107,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(108,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(109,16384,null,0,l_,[],null,null),(n()(),_o(110,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.exportData()&&t),t}),PC,MC)),Di(111,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(112,0,["",""])),(n()(),_o(113,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,115).dialogRef.close(bi(n,115).dialogResult)&&t),t}),PC,MC)),Di(114,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(115,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(116,0,["",""]))],(function(n,l){var e=l.component;n(l,5,0),n(l,10,0,e.loadingExport),n(l,14,0,"outline"),n(l,29,0,e.exportModel.format),n(l,32,0,Wt(1,"",e.lang.format,"")),n(l,38,0,e.formats),n(l,40,0,"csv"==e.exportModel.format),n(l,46,0,!0),n(l,59,0,"outline"),n(l,70,0,Wt(1,"",e.lang.searchDatas,""));var t=n(l,82,0,bi(l,99));n(l,80,0,t,e.dataAvailable,"availableElements");var i=bt(l,85,0,n(l,87,0,bi(l,0),bt(l,85,0,n(l,86,0,bi(l,1),e.dataAvailable,"label")),bi(l,69).value,"label"));n(l,85,0,i),n(l,89,0,0==e.dataAvailable.length);var a=n(l,101,0,bi(l,80));n(l,99,0,a,e.exportModel.data,"selectedElements"),n(l,104,0,e.exportModel.data),n(l,106,0,0==e.exportModel.data.length),n(l,111,0,0==e.exportModel.data.length,"primary"),n(l,115,0)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5).id),n(l,6,0,e.lang.exportDatas),n(l,12,0,"csv"!=e.exportModel.format,"csv"==e.exportModel.format),n(l,13,1,["standard"==bi(l,14).appearance,"fill"==bi(l,14).appearance,"outline"==bi(l,14).appearance,"legacy"==bi(l,14).appearance,bi(l,14)._control.errorState,bi(l,14)._canLabelFloat,bi(l,14)._shouldLabelFloat(),bi(l,14)._hasFloatingLabel(),bi(l,14)._hideControlPlaceholder(),bi(l,14)._control.disabled,bi(l,14)._control.autofilled,bi(l,14)._control.focused,"accent"==bi(l,14).color,"warn"==bi(l,14).color,bi(l,14)._shouldForward("untouched"),bi(l,14)._shouldForward("touched"),bi(l,14)._shouldForward("pristine"),bi(l,14)._shouldForward("dirty"),bi(l,14)._shouldForward("valid"),bi(l,14)._shouldForward("invalid"),bi(l,14)._shouldForward("pending"),!bi(l,14)._animationsEnabled]),n(l,26,0,e.lang.format),n(l,27,1,[bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32).id,bi(l,32).tabIndex,bi(l,32)._getAriaLabel(),bi(l,32)._getAriaLabelledby(),bi(l,32).required.toString(),bi(l,32).disabled.toString(),bi(l,32).errorState,bi(l,32).panelOpen?bi(l,32)._optionIds:null,bi(l,32).multiple,bi(l,32)._ariaDescribedby||null,bi(l,32)._getAriaActiveDescendant(),bi(l,32).disabled,bi(l,32).errorState,bi(l,32).required,bi(l,32).empty]),n(l,45,0,bi(l,46).expanded,"NoopAnimations"===bi(l,46)._animationMode,bi(l,46)._hasSpacing());var t=bi(l,50).panel._headerId,i=bi(l,50).disabled?-1:0,a=bi(l,50)._getPanelId(),o=bi(l,50)._isExpanded(),r=bi(l,50).panel.disabled,u=bi(l,50)._isExpanded(),s="after"===bi(l,50)._getTogglePosition(),c="before"===bi(l,50)._getTogglePosition(),d=bi(l,50)._animationsDisabled,p=n(l,52,0,bi(l,50)._getExpandedState(),n(l,51,0,bi(l,50).collapsedHeight,bi(l,50).expandedHeight));n(l,49,0,t,i,a,o,r,u,s,c,d,p),n(l,55,0,e.lang.datasToExport),n(l,58,1,["standard"==bi(l,59).appearance,"fill"==bi(l,59).appearance,"outline"==bi(l,59).appearance,"legacy"==bi(l,59).appearance,bi(l,59)._control.errorState,bi(l,59)._canLabelFloat,bi(l,59)._shouldLabelFloat(),bi(l,59)._hasFloatingLabel(),bi(l,59)._hideControlPlaceholder(),bi(l,59)._control.disabled,bi(l,59)._control.autofilled,bi(l,59)._control.focused,"accent"==bi(l,59).color,"warn"==bi(l,59).color,bi(l,59)._shouldForward("untouched"),bi(l,59)._shouldForward("touched"),bi(l,59)._shouldForward("pristine"),bi(l,59)._shouldForward("dirty"),bi(l,59)._shouldForward("valid"),bi(l,59)._shouldForward("invalid"),bi(l,59)._shouldForward("pending"),!bi(l,59)._animationsEnabled]),n(l,69,0,bi(l,70)._isServer,bi(l,70).id,bi(l,70).placeholder,bi(l,70).disabled,bi(l,70).required,bi(l,70).readonly&&!bi(l,70)._isNativeSelect||null,bi(l,70)._ariaDescribedby||null,bi(l,70).errorState,bi(l,70).required.toString()),n(l,76,0,e.lang.availableDatas),n(l,77,0,Wt(1,"",e.lang.addAllData,"")),n(l,78,0,bi(l,80).id,bi(l,80).disabled,bi(l,80)._dropListRef.isDragging(),bi(l,80)._dropListRef.isReceiving()),n(l,95,0,e.lang.chosenDatas),n(l,96,0,Wt(1,"",e.lang.removeAllDatas,"")),n(l,97,0,bi(l,99).id,bi(l,99).disabled,bi(l,99)._dropListRef.isDragging(),bi(l,99)._dropListRef.isReceiving()),n(l,110,0,bi(l,111).disabled||null,"NoopAnimations"===bi(l,111)._animationMode),n(l,112,0,e.lang.toExport),n(l,113,0,bi(l,114).disabled||null,"NoopAnimations"===bi(l,114)._animationMode,bi(l,115).ariaLabel||null,bi(l,115).type),n(l,116,0,e.lang.cancel)}))}function svn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"ng-component",[],null,null,null,uvn,Xbn)),Ei(512,null,tu,tu,[uf,hk]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,null,0,lun,[nS,tu,Gv,HS],null,null)],(function(n,l){n(l,3,0)}),null)}var cvn=oi("ng-component",lun,svn,{},{},[]),dvn=[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden}"],pvn=yt({encapsulation:0,styles:[dvn],data:{}});function mvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function fvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function hvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function gvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function bvn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,31,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,mvn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,fvn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hvn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,gvn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(22,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(23,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(25,16384,null,0,l_,[],null,null),(n()(),_o(26,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(28,0,["",""])),(n()(),_o(29,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,31).dialogRef.close(bi(n,31).dialogResult)&&t),t}),PC,MC)),Di(30,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(31,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(32,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1==e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,22,0,e.data.resIds),n(l,27,0,e.loading,"primary"),n(l,30,0,e.loading),n(l,31,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,26,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,e.lang.validate),n(l,29,0,bi(l,30).disabled||null,"NoopAnimations"===bi(l,30)._animationMode,bi(l,31).ariaLabel||null,bi(l,31).type),n(l,32,0,e.lang.cancel)}))}function vvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,bvn,pvn)),Di(1,114688,null,0,Cun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var _vn=oi("ng-component",Cun,vvn,{},{},[]),yvn=yt({encapsulation:0,styles:[dvn],data:{}});function wvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function xvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Cvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function kvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Svn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,31,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,wvn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,xvn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Cvn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,kvn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(22,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(23,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(25,16384,null,0,l_,[],null,null),(n()(),_o(26,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(28,0,["",""])),(n()(),_o(29,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,31).dialogRef.close(bi(n,31).dialogResult)&&t),t}),PC,MC)),Di(30,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(31,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(32,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1==e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,22,0,e.data.resIds),n(l,27,0,e.loading,"primary"),n(l,30,0,e.loading),n(l,31,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,26,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,e.lang.validate),n(l,29,0,bi(l,30).disabled||null,"NoopAnimations"===bi(l,30)._animationMode,bi(l,31).ariaLabel||null,bi(l,31).type),n(l,32,0,e.lang.cancel)}))}function Ivn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Svn,yvn)),Di(1,114688,null,0,Tun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var Avn=oi("ng-component",Tun,Ivn,{},{},[]),Mvn=yt({encapsulation:0,styles:[dvn],data:{}});function Pvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Dvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Fvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Evn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Ovn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,31,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Pvn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Dvn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Fvn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Evn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(22,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(23,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(25,16384,null,0,l_,[],null,null),(n()(),_o(26,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(28,0,["",""])),(n()(),_o(29,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,31).dialogRef.close(bi(n,31).dialogResult)&&t),t}),PC,MC)),Di(30,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(31,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(32,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1==e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,22,0,e.data.resIds),n(l,27,0,e.loading,"primary"),n(l,30,0,e.loading),n(l,31,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,26,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,e.lang.validate),n(l,29,0,bi(l,30).disabled||null,"NoopAnimations"===bi(l,30)._animationMode,bi(l,31).ariaLabel||null,bi(l,31).type),n(l,32,0,e.lang.cancel)}))}function Tvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Ovn,Mvn)),Di(1,114688,null,0,Oun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var Lvn=oi("ng-component",Oun,Tvn,{},{},[]),Rvn=yt({encapsulation:0,styles:[dvn],data:{}});function Nvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function jvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Vvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function qvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function zvn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,31,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,17,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Nvn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,13,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,jvn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Vvn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qvn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(22,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(23,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(25,16384,null,0,l_,[],null,null),(n()(),_o(26,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(28,0,["",""])),(n()(),_o(29,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,31).dialogRef.close(bi(n,31).dialogResult)&&t),t}),PC,MC)),Di(30,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(31,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(32,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1==e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,22,0,e.data.resIds),n(l,27,0,e.loading,"primary"),n(l,30,0,e.loading),n(l,31,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,26,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,e.lang.validate),n(l,29,0,bi(l,30).disabled||null,"NoopAnimations"===bi(l,30)._animationMode,bi(l,31).ariaLabel||null,bi(l,31).type),n(l,32,0,e.lang.cancel)}))}function Uvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,zvn,Rvn)),Di(1,114688,null,0,Eun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var Bvn=oi("ng-component",Eun,Uvn,{},{},[]),$vn=[".highlight[_ngcontent-%COMP%]{font-size:110%}"],Hvn=yt({encapsulation:0,styles:[$vn],data:{}});function Gvn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Wvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Kvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Yvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Jvn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,33,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,19,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Gvn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,10,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Wvn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Kvn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Yvn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(20,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(21,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(24,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(25,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(27,16384,null,0,l_,[],null,null),(n()(),_o(28,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(29,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(30,0,["",""])),(n()(),_o(31,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,33).dialogRef.close(bi(n,33).dialogResult)&&t),t}),PC,MC)),Di(32,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(33,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(34,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1===e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,24,0,e.data.selectedRes),n(l,29,0,e.loading,"primary"),n(l,32,0,e.loading),n(l,33,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,19,0,e.lang.updateClosingDate),n(l,20,0,e.lang.openIndexation),n(l,28,0,bi(l,29).disabled||null,"NoopAnimations"===bi(l,29)._animationMode),n(l,30,0,e.lang.validate),n(l,31,0,bi(l,32).disabled||null,"NoopAnimations"===bi(l,32)._animationMode,bi(l,33).ariaLabel||null,bi(l,33).type),n(l,34,0,e.lang.cancel)}))}function Zvn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Jvn,Hvn)),Di(1,114688,null,0,Mun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var Qvn=oi("ng-component",Mun,Zvn,{},{},[]),Xvn=yt({encapsulation:0,styles:[$vn],data:{}});function n_n(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function l_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function e_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function t_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function i_n(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,61,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,47,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,n_n)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,43,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,38,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,l_n)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,e_n)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,t_n)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(20,0,null,null,28,"div",[["class","col-sm-6"],["style","padding-top:10px;"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(22,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(32,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"focus"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,33)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,33).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,33)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,33)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,34)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,34)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,34)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,34)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,41)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,41)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,41)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.acknowledgementSendDate=e)&&t),"focus"===l&&(t=!1!==bi(n,48).open()&&t),t}),null,null)),Di(33,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(34,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],max:[1,"max"]},null),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(37,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(39,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(41,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(43,0,null,4,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,45)._button.focus()&&t),t}),nk,QC)),Di(44,16384,[[10,4]],0,oT,[],null,null),Di(45,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,11,{_customIcon:0}),(n()(),_o(47,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(48,180224,[["pickerStart",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{startAt:[0,"startAt"]},null),(n()(),_o(49,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(50,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(52,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(53,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(55,16384,null,0,l_,[],null,null),(n()(),_o(56,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(57,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(58,0,["",""])),(n()(),_o(59,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,61).dialogRef.close(bi(n,61).dialogResult)&&t),t}),PC,MC)),Di(60,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(61,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(62,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1==e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,34,0,bi(l,48),e.acknowledgementSendDateEnd),n(l,37,0,e.acknowledgementSendDate),n(l,41,0,Wt(1,"",e.lang.acknowledgementSendDate,"")),n(l,45,0,bi(l,48)),n(l,48,0,e.acknowledgementSendDate),n(l,52,0,e.data.resIds),n(l,57,0,e.loading,"primary"),n(l,60,0,e.loading),n(l,61,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,19,0,e.lang.updateAcknowledgementSendDate),n(l,21,1,["standard"==bi(l,22).appearance,"fill"==bi(l,22).appearance,"outline"==bi(l,22).appearance,"legacy"==bi(l,22).appearance,bi(l,22)._control.errorState,bi(l,22)._canLabelFloat,bi(l,22)._shouldLabelFloat(),bi(l,22)._hasFloatingLabel(),bi(l,22)._hideControlPlaceholder(),bi(l,22)._control.disabled,bi(l,22)._control.autofilled,bi(l,22)._control.focused,"accent"==bi(l,22).color,"warn"==bi(l,22).color,bi(l,22)._shouldForward("untouched"),bi(l,22)._shouldForward("touched"),bi(l,22)._shouldForward("pristine"),bi(l,22)._shouldForward("dirty"),bi(l,22)._shouldForward("valid"),bi(l,22)._shouldForward("invalid"),bi(l,22)._shouldForward("pending"),!bi(l,22)._animationsEnabled]),n(l,32,1,[bi(l,34)._datepicker?"dialog":null,(null==bi(l,34)._datepicker?null:bi(l,34)._datepicker.opened)&&bi(l,34)._datepicker.id||null,bi(l,34).min?bi(l,34)._dateAdapter.toIso8601(bi(l,34).min):null,bi(l,34).max?bi(l,34)._dateAdapter.toIso8601(bi(l,34).max):null,bi(l,34).disabled,bi(l,39).ngClassUntouched,bi(l,39).ngClassTouched,bi(l,39).ngClassPristine,bi(l,39).ngClassDirty,bi(l,39).ngClassValid,bi(l,39).ngClassInvalid,bi(l,39).ngClassPending,bi(l,41)._isServer,bi(l,41).id,bi(l,41).placeholder,bi(l,41).disabled,bi(l,41).required,bi(l,41).readonly&&!bi(l,41)._isNativeSelect||null,bi(l,41)._ariaDescribedby||null,bi(l,41).errorState,bi(l,41).required.toString()]),n(l,43,0,-1,bi(l,45).datepicker&&bi(l,45).datepicker.opened,bi(l,45).datepicker&&"accent"===bi(l,45).datepicker.color,bi(l,45).datepicker&&"warn"===bi(l,45).datepicker.color),n(l,56,0,bi(l,57).disabled||null,"NoopAnimations"===bi(l,57)._animationMode),n(l,58,0,e.lang.validate),n(l,59,0,bi(l,60).disabled||null,"NoopAnimations"===bi(l,60)._animationMode,bi(l,61).ariaLabel||null,bi(l,61).type),n(l,62,0,e.lang.cancel)}))}function a_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,i_n,Xvn)),Di(1,114688,null,0,Pun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var o_n=oi("ng-component",Pun,a_n,{},{},[]),r_n=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden}.acknowledgementList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.acknowledgementList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.acknowledgementList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.models[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;padding-top:10px;margin-bottom:10px}.attachLabel[_ngcontent-%COMP%]{color:#135f7f}"]],data:{}});function u_n(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function s_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function c_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function d_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function p_n(n){return jo(0,[(n()(),_o(0,0,null,null,8,"p",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,s_n)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,c_n)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,d_n)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "]))],(function(n,l){var e=l.component;n(l,3,0,0===e.data.resIds.length),n(l,5,0,1==e.data.resIds.length),n(l,7,0,e.data.resIds.length>1)}),(function(n,l){n(l,1,0,l.component.lang.makeActionOn)}))}function m_n(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,2)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.manualAR=e)&&t),"change"===l&&(t=!1!==i.toggleArManual(e.checked)&&t),t}),mV,pV)),Di(2,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(4,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(6,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(7,0,[" ",""]))],(function(n,l){var e=l.component;n(l,2,0,"primary"),n(l,4,0,e.manualAR)}),(function(n,l){var e=l.component;n(l,1,1,[bi(l,2).id,bi(l,2).disabled?null:-1,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending]),n(l,7,0,e.lang.editAcknowledgementReceipt)}))}function f_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.mergeEmailTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.emailModel,e.templateEmailListForm,e.availableEmailModels,e.lang.emailModel)}),null)}function h_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.mergeSignEmailTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,[["templateList",4]],0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.emailSignatures,e.emailSignListForm,e.availableSignEmailModels,e.lang.emailSignatures)}),null)}function g_n(n){return jo(0,[(n()(),_o(0,0,null,null,37,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,25,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(12,0,null,0,4,"span",[["matPrefix",""]],null,null,null,null,null)),Di(13,16384,[[9,4]],0,aT,[],null,null),(n()(),_o(14,0,null,null,1,"span",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(15,null,[""," : "])),(n()(),Lo(-1,null,["[AR] "])),(n()(),_o(17,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","100"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,18)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,18)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,18)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,25)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,25)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.emailsubject=e)&&t),t}),null,null)),Di(18,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(19,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(22,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(24,16384,null,0,y_,[[4,v_]],null,null),Di(25,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],null,null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(27,0,null,null,4,"div",[["class","models"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,f_n)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,h_n)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,null,5,"textarea",[["id","emailSignature"],["name","emailSignature"],["style","padding-top: 10px;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,33)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,33).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,33)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,33)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(i.emailContent=e)&&t),t}),null,null)),Di(33,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(35,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(37,16384,null,0,y_,[[4,v_]],null,null)],(function(n,l){var e=l.component;n(l,2,0,"never"),n(l,19,0,"100"),n(l,22,0,e.emailsubject),n(l,25,0),n(l,29,0,e.availableEmailModels.length>0),n(l,31,0,e.availableSignEmailModels.length>0),n(l,35,0,"emailSignature",e.emailContent)}),(function(n,l){var e=l.component;n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,15,0,e.lang.object),n(l,17,1,[bi(l,19).maxlength?bi(l,19).maxlength:null,bi(l,24).ngClassUntouched,bi(l,24).ngClassTouched,bi(l,24).ngClassPristine,bi(l,24).ngClassDirty,bi(l,24).ngClassValid,bi(l,24).ngClassInvalid,bi(l,24).ngClassPending,bi(l,25)._isServer,bi(l,25).id,bi(l,25).placeholder,bi(l,25).disabled,bi(l,25).required,bi(l,25).readonly&&!bi(l,25)._isNativeSelect||null,bi(l,25)._ariaDescribedby||null,bi(l,25).errorState,bi(l,25).required.toString()]),n(l,32,0,bi(l,37).ngClassUntouched,bi(l,37).ngClassTouched,bi(l,37).ngClassPristine,bi(l,37).ngClassDirty,bi(l,37).ngClassValid,bi(l,37).ngClassInvalid,bi(l,37).ngClassPending)}))}function b_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.context.$implicit.alt_identifier)}))}function v_n(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"div",[["class","alert-message alert-message-info acknowledgementList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),Lo(5,null,[" "," : "])),(n()(),_o(6,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,b_n)),Di(8,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,8,0,l.component.acknowledgement.alreadySend.list)}),(function(n,l){var e=l.component;n(l,4,0,e.acknowledgement.alreadySend.number),n(l,5,0,e.lang.arAlreadySend)}))}function __n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.context.$implicit.alt_identifier)}))}function y_n(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"div",[["class","alert-message alert-message-info acknowledgementList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),Lo(5,null,[" "," : "])),(n()(),_o(6,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,__n)),Di(8,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,8,0,l.component.acknowledgement.alreadyGenerated.list)}),(function(n,l){var e=l.component;n(l,4,0,e.acknowledgement.alreadyGenerated.number),n(l,5,0,e.lang.arAlreadyGenerated)}))}function w_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){n(l,2,0,null!=l.context.$implicit.alt_identifier?l.context.$implicit.alt_identifier:l.component.lang.undefined),n(l,3,0,l.context.$implicit.info)}))}function x_n(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"div",[["class","alert-message alert-message-info acknowledgementList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),Lo(5,null,[" "," :"])),(n()(),_o(6,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,w_n)),Di(8,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,8,0,l.component.acknowledgement.noSendAR.list)}),(function(n,l){var e=l.component;n(l,4,0,e.acknowledgement.noSendAR.number),n(l,5,0,e.lang.canNotSendAr)}))}function C_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,e.acknowledgement.sendEmail),n(l,3,0,e.lang.readyToSendElectronicAr)}))}function k_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,e.acknowledgement.sendPaper),n(l,3,0,e.lang.readyToGeneratePaperAr)}))}function S_n(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","alert-message alert-message-success acknowledgementList"],["role","alert"],["style","padding: 10px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,C_n)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,k_n)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.acknowledgement.sendEmail),n(l,4,0,e.acknowledgement.sendPaper)}),null)}function I_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(3,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null)],(function(n,l){n(l,3,0,l.component.data.resIds)}),null)}function A_n(n){return jo(0,[(n()(),_o(0,0,null,null,21,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(1,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,u_n)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,17,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,14,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,p_n)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,m_n)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,g_n)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,v_n)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,y_n)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,x_n)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,S_n)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,I_n)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.loading),n(l,7,0,"both"==e.arMode||e.acknowledgement.sendEmail||e.acknowledgement.sendPaper),n(l,9,0,"both"==e.arMode),n(l,11,0,e.manualAR&&e.realResSelected.length>0),n(l,13,0,e.acknowledgement.alreadySend.number),n(l,15,0,e.acknowledgement.alreadyGenerated.number),n(l,17,0,e.acknowledgement.noSendAR.number),n(l,19,0,e.acknowledgement.sendEmail||e.acknowledgement.sendPaper),n(l,21,0,e.acknowledgement.sendEmail||e.acknowledgement.sendPaper)}),null)}function M_n(n){return jo(0,[ko(671088640,1,{noteEditor:0}),(n()(),_o(1,0,null,null,15,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,null,1,null,A_n)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(9,16384,null,0,l_,[],null,null),(n()(),_o(10,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(12,0,["",""])),(n()(),_o(13,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,15).dialogRef.close(bi(n,15).dialogResult)&&t),t}),PC,MC)),Di(14,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(15,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(16,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,6,0,!e.loadingInit),n(l,11,0,e.loading||!e.acknowledgement.sendEmail&&!e.acknowledgement.sendPaper,"primary"),n(l,14,0,e.loading),n(l,15,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,10,0,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,12,0,e.lang.validate),n(l,13,0,bi(l,14).disabled||null,"NoopAnimations"===bi(l,14)._animationMode,bi(l,15).ariaLabel||null,bi(l,15).type),n(l,16,0,e.lang.cancel)}))}function P_n(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,M_n,r_n)),Ei(135680,null,yu,yu,[Nl,Th]),Di(2,245760,null,0,Dun,[nS,tu,Hv,$S,Gv],null,null)],(function(n,l){n(l,2,0)}),null)}var D_n=oi("ng-component",Dun,P_n,{},{},[]),F_n=yt({encapsulation:0,styles:[$vn],data:{}});function E_n(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function O_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.chrono),n(l,3,0,l.context.$implicit.fields)}))}function T_n(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[""," :"])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,O_n)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.emptyMandatoryFields)}),(function(n,l){n(l,2,0,l.component.lang.cannotCloseMails)}))}function L_n(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[""," : ",""]))],null,(function(n,l){var e=l.component;n(l,2,0,e.lang.cannotCloseThisMail,e.emptyMandatoryFields[0].fields)}))}function R_n(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,T_n)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,L_n)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.data.resIds.length>1),n(l,4,0,e.data.resIds.length<2)}),null)}function N_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function j_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function V_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.canCloseResIds.length,e.lang.elements)}))}function q_n(n){return jo(0,[(n()(),_o(0,0,null,null,14,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,9,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,N_n)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,j_n)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,V_n)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(10,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(11,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(14,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null)],(function(n,l){var e=l.component;n(l,4,0,0===e.data.resIds.length),n(l,6,0,1===e.data.resIds.length),n(l,8,0,e.data.resIds.length>1),n(l,14,0,e.canCloseResIds)}),(function(n,l){var e=l.component;n(l,2,0,e.lang.makeActionOn),n(l,10,0,e.lang.updateClosingDate)}))}function z_n(n){return jo(0,[ko(671088640,1,{noteEditor:0}),(n()(),_o(1,0,null,null,22,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,8,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,E_n)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,4,"div",[["class","row"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,R_n)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,q_n)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(16,16384,null,0,l_,[],null,null),(n()(),_o(17,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(18,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(19,0,["",""])),(n()(),_o(20,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,22).dialogRef.close(bi(n,22).dialogResult)&&t),t}),PC,MC)),Di(21,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(22,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(23,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,11,0,e.emptyMandatoryFields.length>0),n(l,13,0,0===e.data.resIds.length||e.canCloseResIds.length>0),n(l,18,0,e.loading||0==e.canCloseResIds.length,"primary"),n(l,21,0,e.loading),n(l,22,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,17,0,bi(l,18).disabled||null,"NoopAnimations"===bi(l,18)._animationMode),n(l,19,0,e.lang.validate),n(l,20,0,bi(l,21).disabled||null,"NoopAnimations"===bi(l,21)._animationMode,bi(l,22).ariaLabel||null,bi(l,22).type),n(l,23,0,e.lang.cancel)}))}function U_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,z_n,F_n)),Di(1,114688,null,0,kun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var B_n=oi("ng-component",kun,U_n,{},{},[]),$_n=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}"]],data:{}});function H_n(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function G_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function W_n(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function K_n(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.rejectVisaBack)}))}function Y_n(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.rejectVisaBackUser+" <b>"+e.appVisaWorkflow.getLastVisaUser().labelToDisplay+"</b>")}))}function J_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Z_n(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,J_n)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function Q_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function X_n(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"ul",[["style","margin: 0;padding-bottom: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Q_n)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.resourcesWarnings)}),null)}function nyn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[2,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){n(l,2,0,!1,l.component.data.resIds[0])}),null)}function lyn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{appVisaWorkflow:0}),(n()(),_o(2,0,null,null,39,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,25,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,H_n)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,21,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,16,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(12,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,G_n)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,W_n)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,null,1,null,K_n)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Y_n)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Z_n)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,X_n)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nyn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(31,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(32,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(34,16384,null,0,l_,[],null,null),(n()(),_o(35,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(36,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(37,0,["",""])),(n()(),_o(38,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,40).dialogRef.close(bi(n,40).dialogResult)&&t),t}),PC,MC)),Di(39,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(40,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(41,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,14,0,1===e.data.resIds.length),n(l,16,0,e.data.resIds.length>1),n(l,19,0,e.data.resIds.length>1),n(l,21,0,1==e.data.resIds.length&&void 0!==e.appVisaWorkflow&&""!==e.appVisaWorkflow.getLastVisaUser()),n(l,23,0,e.resourcesErrors.length>0),n(l,25,0,e.resourcesWarnings.length>0),n(l,27,0,1==e.data.resIds.length),n(l,31,0,e.data.resIds),n(l,36,0,e.loading||!e.isValidAction(),"primary"),n(l,39,0,e.loading),n(l,40,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,12,0,e.lang.makeActionOn),n(l,35,0,bi(l,36).disabled||null,"NoopAnimations"===bi(l,36)._animationMode),n(l,37,0,e.lang.validate),n(l,38,0,bi(l,39).disabled||null,"NoopAnimations"===bi(l,39)._animationMode,bi(l,40).ariaLabel||null,bi(l,40).type),n(l,41,0,e.lang.cancel)}))}function eyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,lyn,$_n)),Di(1,114688,null,0,Sun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var tyn=oi("ng-component",Sun,eyn,{},{},[]),iyn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}"]],data:{}});function ayn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function oyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function ryn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function uyn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.resetVisaWorkflow)}))}function syn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function cyn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,syn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function dyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function pyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"ul",[["style","margin: 0;padding-bottom: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,dyn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.resourcesWarnings)}),null)}function myn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[2,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){n(l,2,0,!1,l.component.data.resIds[0])}),null)}function fyn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{appVisaWorkflow:0}),(n()(),_o(2,0,null,null,37,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,23,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,ayn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,19,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,14,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(12,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,oyn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ryn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,null,1,null,uyn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,cyn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,pyn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,myn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(26,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(29,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(30,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(31,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(32,16384,null,0,l_,[],null,null),(n()(),_o(33,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(34,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(35,0,["",""])),(n()(),_o(36,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,38).dialogRef.close(bi(n,38).dialogResult)&&t),t}),PC,MC)),Di(37,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(38,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(39,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,14,0,1===e.data.resIds.length),n(l,16,0,e.data.resIds.length>1),n(l,19,0,e.data.resIds.length>0),n(l,21,0,e.resourcesErrors.length>0),n(l,23,0,e.resourcesWarnings.length>0),n(l,25,0,1==e.data.resIds.length),n(l,29,0,e.data.resIds),n(l,34,0,e.loading||!e.isValidAction(),"primary"),n(l,37,0,e.loading),n(l,38,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,12,0,e.lang.makeActionOn),n(l,33,0,bi(l,34).disabled||null,"NoopAnimations"===bi(l,34)._animationMode),n(l,35,0,e.lang.validate),n(l,36,0,bi(l,37).disabled||null,"NoopAnimations"===bi(l,37)._animationMode,bi(l,38).ariaLabel||null,bi(l,38).type),n(l,39,0,e.lang.cancel)}))}function hyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,fyn,iyn)),Di(1,114688,null,0,Iun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var gyn=oi("ng-component",Iun,hyn,{},{},[]),byn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}"]],data:{}});function vyn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function _yn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function yyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function wyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function xyn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wyn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function Cyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function kyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"ul",[["style","margin: 0;padding-bottom: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Cyn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.resourcesWarnings)}),null)}function Syn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){n(l,2,0,!1,l.component.data.resIds[0])}),null)}function Iyn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,36,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,22,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,vyn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,18,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,13,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,_yn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,yyn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(17,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xyn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,kyn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Syn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(24,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(27,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(28,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(30,16384,null,0,l_,[],null,null),(n()(),_o(31,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(32,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(33,0,["",""])),(n()(),_o(34,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,36).dialogRef.close(bi(n,36).dialogResult)&&t),t}),PC,MC)),Di(35,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(36,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(37,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,1===e.data.resIds.length),n(l,15,0,e.data.resIds.length>1),n(l,19,0,e.resourcesErrors.length>0),n(l,21,0,e.resourcesWarnings.length>0),n(l,23,0,1==e.data.resIds.length),n(l,27,0,e.data.resIds),n(l,32,0,e.loading||!e.isValidAction(),"primary"),n(l,35,0,e.loading),n(l,36,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,17,0,e.lang.interruptVisaWorkflow),n(l,31,0,bi(l,32).disabled||null,"NoopAnimations"===bi(l,32)._animationMode),n(l,33,0,e.lang.validate),n(l,34,0,bi(l,35).disabled||null,"NoopAnimations"===bi(l,35)._animationMode,bi(l,36).ariaLabel||null,bi(l,36).type),n(l,37,0,e.lang.cancel)}))}function Ayn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Iyn,byn)),Di(1,114688,null,0,Aun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var Myn=oi("ng-component",Aun,Ayn,{},{},[]),Pyn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Dyn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Fyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Eyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Oyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Tyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Lyn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Tyn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesError)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function Ryn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[13,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,14,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,56))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function Nyn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==(i.opinionLimitDate=null)&&t),t}),PC,MC)),Di(1,16384,[[13,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function jyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[2,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"]},null)],(function(n,l){n(l,1,0,!0)}),null)}function Vyn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{appAvisWorkflow:0}),(n()(),_o(2,0,null,null,71,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,57,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Dyn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,53,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(14,0,null,1,49,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Fyn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Eyn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Oyn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,Lyn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,0,31,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","cursor:pointer;margin-top: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,56).open()&&t),t}),kT,pT)),Di(28,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(39,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(40,null,["",""])),(n()(),_o(41,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["required",""],["style","cursor:pointer;"]],[[1,"required",0],[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,42)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,42).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,42)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,42)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,44)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,44)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,44)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,44)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,51)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,51)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,51)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.opinionLimitDate=e)&&t),t}),null,null)),Di(42,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(43,16384,null,0,My,[],{required:[0,"required"]},null),Di(44,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(47,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(49,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(51,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],readonly:[2,"readonly"]},null),Ei(2048,[[5,4],[6,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,Ryn)),Di(54,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(55,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(56,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null),(n()(),vo(16777216,null,4,1,null,Nyn)),Di(58,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(59,0,null,0,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(61,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{title:[0,"title"],resIds:[1,"resIds"],disableRestriction:[2,"disableRestriction"]},null),(n()(),vo(16777216,null,0,1,null,jyn)),Di(63,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(64,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(65,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(66,16384,null,0,l_,[],null,null),(n()(),_o(67,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(68,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(69,0,["",""])),(n()(),_o(70,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,72).dialogRef.close(bi(n,72).dialogResult)&&t),t}),PC,MC)),Di(71,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(72,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(73,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,""),n(l,15,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,26,0,e.resourcesError.length>0),n(l,28,0,"outline"),n(l,43,0,""),n(l,44,0,bi(l,56),e.today),n(l,47,0,e.opinionLimitDate),n(l,51,0,e.lang.chooseDate,"",""),n(l,54,0,!e.opinionLimitDate),n(l,58,0,e.opinionLimitDate),n(l,61,0,e.lang.addOpinionReason,e.data.resIds,!0),n(l,63,0,1==e.data.resIds.length||!e.noResourceToProcess&&e.data.resIds.length>1),n(l,68,0,e.loading||!e.isValidAction(),"primary"),n(l,71,0,e.loading),n(l,72,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,27,1,["standard"==bi(l,28).appearance,"fill"==bi(l,28).appearance,"outline"==bi(l,28).appearance,"legacy"==bi(l,28).appearance,bi(l,28)._control.errorState,bi(l,28)._canLabelFloat,bi(l,28)._shouldLabelFloat(),bi(l,28)._hasFloatingLabel(),bi(l,28)._hideControlPlaceholder(),bi(l,28)._control.disabled,bi(l,28)._control.autofilled,bi(l,28)._control.focused,"accent"==bi(l,28).color,"warn"==bi(l,28).color,bi(l,28)._shouldForward("untouched"),bi(l,28)._shouldForward("touched"),bi(l,28)._shouldForward("pristine"),bi(l,28)._shouldForward("dirty"),bi(l,28)._shouldForward("valid"),bi(l,28)._shouldForward("invalid"),bi(l,28)._shouldForward("pending"),!bi(l,28)._animationsEnabled]),n(l,40,0,e.lang.opinionLimitDate),n(l,41,1,[bi(l,43).required?"":null,bi(l,44)._datepicker?"dialog":null,(null==bi(l,44)._datepicker?null:bi(l,44)._datepicker.opened)&&bi(l,44)._datepicker.id||null,bi(l,44).min?bi(l,44)._dateAdapter.toIso8601(bi(l,44).min):null,bi(l,44).max?bi(l,44)._dateAdapter.toIso8601(bi(l,44).max):null,bi(l,44).disabled,bi(l,49).ngClassUntouched,bi(l,49).ngClassTouched,bi(l,49).ngClassPristine,bi(l,49).ngClassDirty,bi(l,49).ngClassValid,bi(l,49).ngClassInvalid,bi(l,49).ngClassPending,bi(l,51)._isServer,bi(l,51).id,bi(l,51).placeholder,bi(l,51).disabled,bi(l,51).required,bi(l,51).readonly&&!bi(l,51)._isNativeSelect||null,bi(l,51)._ariaDescribedby||null,bi(l,51).errorState,bi(l,51).required.toString()]),n(l,67,0,bi(l,68).disabled||null,"NoopAnimations"===bi(l,68)._animationMode),n(l,69,0,e.lang.validate),n(l,70,0,bi(l,71).disabled||null,"NoopAnimations"===bi(l,71)._animationMode,bi(l,72).ariaLabel||null,bi(l,72).type),n(l,73,0,e.lang.cancel)}))}function qyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Vyn,Pyn)),Di(1,4243456,null,0,Jun,[nS,tu,Hv,Gv,$S],null,null)],null,null)}var zyn=oi("ng-component",Jun,qyn,{},{},[]),Uyn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Byn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function $yn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Hyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Gyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Wyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Kyn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Wyn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesError)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function Yyn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[13,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,14,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,56))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function Jyn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==(i.opinionLimitDate=null)&&t),t}),PC,MC)),Di(1,16384,[[13,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function Zyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[2,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],mode:[1,"mode"]},null)],(function(n,l){n(l,1,0,!0,"parallel")}),null)}function Qyn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{appAvisWorkflow:0}),(n()(),_o(2,0,null,null,71,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,57,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Byn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,53,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(14,0,null,1,49,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,$yn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Hyn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Gyn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,Kyn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,0,31,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","cursor:pointer;margin-top: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,56).open()&&t),t}),kT,pT)),Di(28,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(38,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(39,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(40,null,["",""])),(n()(),_o(41,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["required",""],["style","cursor:pointer;"]],[[1,"required",0],[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,42)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,42).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,42)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,42)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,44)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,44)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,44)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,44)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,51)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,51)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,51)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.opinionLimitDate=e)&&t),t}),null,null)),Di(42,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(43,16384,null,0,My,[],{required:[0,"required"]},null),Di(44,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(47,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(49,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(51,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],readonly:[2,"readonly"]},null),Ei(2048,[[5,4],[6,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,Yyn)),Di(54,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(55,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(56,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null),(n()(),vo(16777216,null,4,1,null,Jyn)),Di(58,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(59,0,null,0,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(61,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{title:[0,"title"],resIds:[1,"resIds"],disableRestriction:[2,"disableRestriction"]},null),(n()(),vo(16777216,null,0,1,null,Zyn)),Di(63,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(64,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(65,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(66,16384,null,0,l_,[],null,null),(n()(),_o(67,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(68,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(69,0,["",""])),(n()(),_o(70,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,72).dialogRef.close(bi(n,72).dialogResult)&&t),t}),PC,MC)),Di(71,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(72,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(73,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,""),n(l,15,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,26,0,e.resourcesError.length>0),n(l,28,0,"outline"),n(l,43,0,""),n(l,44,0,bi(l,56),e.today),n(l,47,0,e.opinionLimitDate),n(l,51,0,e.lang.chooseDate,"",""),n(l,54,0,!e.opinionLimitDate),n(l,58,0,e.opinionLimitDate),n(l,61,0,e.lang.addOpinionReason,e.data.resIds,!0),n(l,63,0,1==e.data.resIds.length||!e.noResourceToProcess&&e.data.resIds.length>1),n(l,68,0,e.loading||!e.isValidAction(),"primary"),n(l,71,0,e.loading),n(l,72,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,27,1,["standard"==bi(l,28).appearance,"fill"==bi(l,28).appearance,"outline"==bi(l,28).appearance,"legacy"==bi(l,28).appearance,bi(l,28)._control.errorState,bi(l,28)._canLabelFloat,bi(l,28)._shouldLabelFloat(),bi(l,28)._hasFloatingLabel(),bi(l,28)._hideControlPlaceholder(),bi(l,28)._control.disabled,bi(l,28)._control.autofilled,bi(l,28)._control.focused,"accent"==bi(l,28).color,"warn"==bi(l,28).color,bi(l,28)._shouldForward("untouched"),bi(l,28)._shouldForward("touched"),bi(l,28)._shouldForward("pristine"),bi(l,28)._shouldForward("dirty"),bi(l,28)._shouldForward("valid"),bi(l,28)._shouldForward("invalid"),bi(l,28)._shouldForward("pending"),!bi(l,28)._animationsEnabled]),n(l,40,0,e.lang.opinionLimitDate),n(l,41,1,[bi(l,43).required?"":null,bi(l,44)._datepicker?"dialog":null,(null==bi(l,44)._datepicker?null:bi(l,44)._datepicker.opened)&&bi(l,44)._datepicker.id||null,bi(l,44).min?bi(l,44)._dateAdapter.toIso8601(bi(l,44).min):null,bi(l,44).max?bi(l,44)._dateAdapter.toIso8601(bi(l,44).max):null,bi(l,44).disabled,bi(l,49).ngClassUntouched,bi(l,49).ngClassTouched,bi(l,49).ngClassPristine,bi(l,49).ngClassDirty,bi(l,49).ngClassValid,bi(l,49).ngClassInvalid,bi(l,49).ngClassPending,bi(l,51)._isServer,bi(l,51).id,bi(l,51).placeholder,bi(l,51).disabled,bi(l,51).required,bi(l,51).readonly&&!bi(l,51)._isNativeSelect||null,bi(l,51)._ariaDescribedby||null,bi(l,51).errorState,bi(l,51).required.toString()]),n(l,67,0,bi(l,68).disabled||null,"NoopAnimations"===bi(l,68)._animationMode),n(l,69,0,e.lang.validate),n(l,70,0,bi(l,71).disabled||null,"NoopAnimations"===bi(l,71)._animationMode,bi(l,72).ariaLabel||null,bi(l,72).type),n(l,73,0,e.lang.cancel)}))}function Xyn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Qyn,Uyn)),Di(1,4243456,null,0,Qun,[nS,tu,Hv,Gv,$S],null,null)],null,null)}var nwn=oi("ng-component",Qun,Xyn,{},{},[]),lwn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}"]],data:{}});function ewn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function twn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function iwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function awn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function own(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,32,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,18,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,ewn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,14,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,9,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,twn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,iwn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,awn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(19,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(20,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(23,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(24,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(26,16384,null,0,l_,[],null,null),(n()(),_o(27,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(28,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(29,0,["",""])),(n()(),_o(30,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,32).dialogRef.close(bi(n,32).dialogResult)&&t),t}),PC,MC)),Di(31,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(32,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(33,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,13,0,0===e.data.resIds.length),n(l,15,0,1==e.data.resIds.length),n(l,17,0,e.data.resIds.length>1),n(l,23,0,e.data.resIds),n(l,28,0,e.loading,"primary"),n(l,31,0,e.loading),n(l,32,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,11,0,e.lang.makeActionOn),n(l,19,0,e.lang.updateDepartureDate),n(l,27,0,bi(l,28).disabled||null,"NoopAnimations"===bi(l,28)._animationMode),n(l,29,0,e.lang.validate),n(l,30,0,bi(l,31).disabled||null,"NoopAnimations"===bi(l,31)._animationMode,bi(l,32).ariaLabel||null,bi(l,32).type),n(l,33,0,e.lang.cancel)}))}function rwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,own,lwn)),Di(1,114688,null,0,Fun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var uwn=oi("ng-component",Fun,rwn,{},{},[]),swn=yt({encapsulation:0,styles:[[".alert-message[_ngcontent-%COMP%]{margin:0}"]],data:{}});function cwn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){n(l,4,0,l.component.lang.sentToIParapheur)}))}var dwn=yt({encapsulation:0,styles:[[".alert-message[_ngcontent-%COMP%]{margin:0}"]],data:{}});function pwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.noIxbusNature)}))}function mwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){n(l,3,0,l.component.lang.noWorkflowIxbus)}))}function fwn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,pwn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,mwn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,0==e.natures.length),n(l,4,0,0==e.messagesModel.length)}),null)}function hwn(n){return jo(0,[(n()(),_o(0,0,null,null,71,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"div",[["class","form-group"],["style","margin-top: 10px"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,4,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0,i=n.component;return"afterSelected"===l&&(t=!1!==(i.ixbusDatas.nature=i.selectNature.value)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(6,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showLabel:[4,"showLabel"],required:[5,"required"],class:[6,"class"]},{afterSelected:"afterSelected"}),(n()(),_o(7,0,null,null,5,"div",[["class","form-group"],["style","margin-top: 10px"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,4,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0,i=n.component;return"afterSelected"===l&&(t=!1!==(i.ixbusDatas.messageModel=i.selectWorkflow.value)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(12,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"],showLabel:[4,"showLabel"],required:[5,"required"],class:[6,"class"]},{afterSelected:"afterSelected"}),(n()(),_o(13,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,21,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(15,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(16,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(26,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","loginIxbus"],["matInput",""],["name","loginIxbus"],["required",""],["type","text"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,27)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,27)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,27)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,34)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,34)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,34)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.ixbusDatas.login=e)&&t),t}),null,null)),Di(27,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(28,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(31,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(33,16384,null,0,y_,[[4,v_]],null,null),Di(34,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(36,0,null,null,22,"div",[["class","form-group"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,21,"div",[["class","col-sm-12"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(39,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,10,{_controlNonStatic:0}),ko(335544320,11,{_controlStatic:0}),ko(603979776,12,{_labelChildNonStatic:0}),ko(335544320,13,{_labelChildStatic:0}),ko(603979776,14,{_placeholderChild:0}),ko(603979776,15,{_errorChildren:1}),ko(603979776,16,{_hintChildren:1}),ko(603979776,17,{_prefixChildren:1}),ko(603979776,18,{_suffixChildren:1}),(n()(),_o(49,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","passwordIxbus"],["matInput",""],["name","passwordIxbus"],["required",""],["type","password"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,50)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,50).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,50)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,50)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,57)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,57)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,57)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.ixbusDatas.password=e)&&t),t}),null,null)),Di(50,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(51,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(54,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(56,16384,null,0,y_,[[4,v_]],null,null),Di(57,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[10,4],[11,4]],nT,null,[OT]),(n()(),_o(59,0,null,null,12,"mat-radio-group",[["class","mat-radio-group"],["color","primary"],["id","handwrittenSignature"],["name","handwrittenSignature"],["role","radiogroup"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.ixbusDatas.signatureMode=e)&&t),t}),null,null)),Di(60,1064960,null,1,gq,[Nl],{color:[0,"color"],name:[1,"name"]},null),ko(603979776,19,{_radios:1}),Ei(1024,null,d_,(function(n){return[n]}),[gq]),Di(63,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(65,16384,null,0,y_,[[4,v_]],null,null),(n()(),_o(66,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["value","manual"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,67)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(67,4440064,[[19,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"],color:[1,"color"]},null),(n()(),Lo(68,0,[" "," "])),(n()(),_o(69,0,null,null,2,"mat-radio-button",[["class","mat-radio-button"],["color","primary"],["style","margin-left: 5px"],["value","electronic"]],[[2,"mat-radio-checked",null],[2,"mat-radio-disabled",null],[2,"_mat-animation-noopable",null],[2,"mat-primary",null],[2,"mat-accent",null],[2,"mat-warn",null],[1,"tabindex",0],[1,"id",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-describedby",0]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,70)._inputElement.nativeElement.focus()&&t),t}),yq,_q)),Di(70,4440064,[[19,4]],0,bq,[[2,gq],Pe,Nl,qb,gg,[2,SC],[2,mq]],{value:[0,"value"],color:[1,"color"]},null),(n()(),Lo(71,0,[" "," "]))],(function(n,l){var e=l.component;n(l,6,0,e.lang.natureIxbusParapheur,e.selectNature,e.natures,e.lang.natureIxbusParapheur,!0,!0,""),n(l,12,0,e.lang.workflowModelIxbus,e.selectWorkflow,e.messagesModel,e.lang.workflowModelIxbus,!0,!0,""),n(l,28,0,""),n(l,31,0,"loginIxbus",e.ixbusDatas.login),n(l,34,0,"loginIxbus",Wt(1,"",e.lang.loginIxbus,""),"","text"),n(l,51,0,""),n(l,54,0,"passwordIxbus",e.ixbusDatas.password),n(l,57,0,"passwordIxbus",Wt(1,"",e.lang.passwordIxbus,""),"","password"),n(l,60,0,"primary","handwrittenSignature"),n(l,63,0,"handwrittenSignature",e.ixbusDatas.signatureMode),n(l,67,0,"manual","primary"),n(l,70,0,"electronic","primary")}),(function(n,l){var e=l.component;n(l,15,1,["standard"==bi(l,16).appearance,"fill"==bi(l,16).appearance,"outline"==bi(l,16).appearance,"legacy"==bi(l,16).appearance,bi(l,16)._control.errorState,bi(l,16)._canLabelFloat,bi(l,16)._shouldLabelFloat(),bi(l,16)._hasFloatingLabel(),bi(l,16)._hideControlPlaceholder(),bi(l,16)._control.disabled,bi(l,16)._control.autofilled,bi(l,16)._control.focused,"accent"==bi(l,16).color,"warn"==bi(l,16).color,bi(l,16)._shouldForward("untouched"),bi(l,16)._shouldForward("touched"),bi(l,16)._shouldForward("pristine"),bi(l,16)._shouldForward("dirty"),bi(l,16)._shouldForward("valid"),bi(l,16)._shouldForward("invalid"),bi(l,16)._shouldForward("pending"),!bi(l,16)._animationsEnabled]),n(l,26,1,[Wt(1,"",e.lang.loginIxbus,""),bi(l,28).required?"":null,bi(l,33).ngClassUntouched,bi(l,33).ngClassTouched,bi(l,33).ngClassPristine,bi(l,33).ngClassDirty,bi(l,33).ngClassValid,bi(l,33).ngClassInvalid,bi(l,33).ngClassPending,bi(l,34)._isServer,bi(l,34).id,bi(l,34).placeholder,bi(l,34).disabled,bi(l,34).required,bi(l,34).readonly&&!bi(l,34)._isNativeSelect||null,bi(l,34)._ariaDescribedby||null,bi(l,34).errorState,bi(l,34).required.toString()]),n(l,38,1,["standard"==bi(l,39).appearance,"fill"==bi(l,39).appearance,"outline"==bi(l,39).appearance,"legacy"==bi(l,39).appearance,bi(l,39)._control.errorState,bi(l,39)._canLabelFloat,bi(l,39)._shouldLabelFloat(),bi(l,39)._hasFloatingLabel(),bi(l,39)._hideControlPlaceholder(),bi(l,39)._control.disabled,bi(l,39)._control.autofilled,bi(l,39)._control.focused,"accent"==bi(l,39).color,"warn"==bi(l,39).color,bi(l,39)._shouldForward("untouched"),bi(l,39)._shouldForward("touched"),bi(l,39)._shouldForward("pristine"),bi(l,39)._shouldForward("dirty"),bi(l,39)._shouldForward("valid"),bi(l,39)._shouldForward("invalid"),bi(l,39)._shouldForward("pending"),!bi(l,39)._animationsEnabled]),n(l,49,1,[Wt(1,"",e.lang.passwordIxbus,""),bi(l,51).required?"":null,bi(l,56).ngClassUntouched,bi(l,56).ngClassTouched,bi(l,56).ngClassPristine,bi(l,56).ngClassDirty,bi(l,56).ngClassValid,bi(l,56).ngClassInvalid,bi(l,56).ngClassPending,bi(l,57)._isServer,bi(l,57).id,bi(l,57).placeholder,bi(l,57).disabled,bi(l,57).required,bi(l,57).readonly&&!bi(l,57)._isNativeSelect||null,bi(l,57)._ariaDescribedby||null,bi(l,57).errorState,bi(l,57).required.toString()]),n(l,59,0,bi(l,65).ngClassUntouched,bi(l,65).ngClassTouched,bi(l,65).ngClassPristine,bi(l,65).ngClassDirty,bi(l,65).ngClassValid,bi(l,65).ngClassInvalid,bi(l,65).ngClassPending),n(l,66,1,[bi(l,67).checked,bi(l,67).disabled,"NoopAnimations"===bi(l,67)._animationMode,"primary"===bi(l,67).color,"accent"===bi(l,67).color,"warn"===bi(l,67).color,-1,bi(l,67).id,null,null,null]),n(l,68,0,e.lang.handwrittenSignature),n(l,69,1,[bi(l,70).checked,bi(l,70).disabled,"NoopAnimations"===bi(l,70)._animationMode,"primary"===bi(l,70).color,"accent"===bi(l,70).color,"warn"===bi(l,70).color,-1,bi(l,70).id,null,null,null]),n(l,71,0,e.lang.electronicSignature)}))}function gwn(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,null,1,null,fwn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,hwn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0,0==e.natures.length||0==e.messagesModel.length),n(l,8,0,0!=e.natures.length&&0!=e.messagesModel.length)}),(function(n,l){n(l,4,0,l.component.lang.sentToIxbusParapheur)}))}function bwn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,gwn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,!l.component.loading)}),null)}var vwn=yt({encapsulation:0,styles:[[".alert-message[_ngcontent-%COMP%]{margin:0}"]],data:{}});function _wn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""]))],null,(function(n,l){n(l,4,0,l.component.lang.sentToFastParapheur)}))}var ywn=yt({encapsulation:0,styles:[[".fieldsetdContainer[_ngcontent-%COMP%]{position:relative}.fieldsetdContainer[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-5px;left:30px;padding:0 5px;margin:0;color:#135f7f}.fieldsetdContainer[_ngcontent-%COMP%] .fieldsetdContent[_ngcontent-%COMP%]{background:#fff;border-radius:4px;border:1px solid #ccc;margin-top:10px;padding:10px;overflow:auto;height:450px}.alert-message[_ngcontent-%COMP%]{margin:0}"]],data:{}});function wwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-danger"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" "," ! "]))],null,(function(n,l){var e=l.component;n(l,2,0,bi(l.parent,8).checkExternalSignatoryBook().join(", ")),n(l,3,0,e.lang.usersMissingInSignatureBook)}))}function xwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Cwn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(4,null,[" "," : "])),(n()(),_o(5,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xwn)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,7,0,l.component.additionalsInfos.visaWorkflowError)}),(function(n,l){n(l,4,0,l.component.lang.canNotMakeAction)}))}function kwn(n){return jo(0,[ko(671088640,1,{appVisaWorkflow:0}),(n()(),_o(1,0,null,null,9,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,8,"div",[["class","fieldsetdContainer"],["style","flex:2"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),Lo(4,null,[""," :"])),(n()(),_o(5,0,null,null,5,"div",[["class","fieldsetdContent"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(8,114688,[[1,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{injectDatas:[0,"injectDatas"],adminMode:[1,"adminMode"],linkedToMaarchParapheur:[2,"linkedToMaarchParapheur"]},null),(n()(),vo(16777216,null,null,1,null,wwn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Cwn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,8,0,e.injectDatasParam,!0,!0),n(l,10,0,bi(l,8).checkExternalSignatoryBook().length>0),n(l,12,0,e.additionalsInfos.visaWorkflowError)}),(function(n,l){n(l,4,0,l.component.lang.visaWorkflow)}))}var Swn=yt({encapsulation:0,styles:[[".cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);background:#fff;padding:10px}.cdk-drag-preview[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{display:none}.cdk-drag-placeholder[_ngcontent-%COMP%], .cdk-drag-preview[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]:last-child{border:none}.cdk-list[_ngcontent-%COMP%]{height:250px;overflow:auto}.cdk-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .columns[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){-webkit-transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:-webkit-transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1);transition:transform 250ms cubic-bezier(0,0,.2,1),-webkit-transform 250ms cubic-bezier(0,0,.2,1)}.columns[_ngcontent-%COMP%]{cursor:move}.workflowContent[_ngcontent-%COMP%]{position:relative;background:#fff;border-radius:4px;border:1px solid #ccc;padding:10px}.workflowContent[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{height:auto;font-size:13px}.workflowContent[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:5px;left:10px;padding:0 5px;margin:0;color:#135f7f}.accountList[_ngcontent-%COMP%] .mat-option-text{display:-webkit-box;display:flex}.accountList[_ngcontent-%COMP%] .accountName[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1} .listMenu .mat-menu-content{padding-top:0;padding-bottom:0}.currentContextButton[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:13px;width:150px;text-align:left}.currentRoleButton[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:13px;width:120px;text-align:left}"]],data:{}});function Iwn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"mat-option",[["class","accountList mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[10,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,1,"span",[["class","accountName"]],null,null,null,null,null)),(n()(),Lo(3,null,[""," (",")"])),(n()(),_o(4,0,null,0,3,"button",[["color","warn"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeAccount(n.context.index)&&t),t}),PC,MC)),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,l.context.$implicit),n(l,5,0,"warn"),n(l,7,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,l.context.$implicit.login,l.context.$implicit.siret),n(l,4,0,Wt(1,"",e.lang.delete,""),bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color)}))}function Awn(n){return jo(0,[(n()(),_o(0,0,null,null,32,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,2).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,2).onReset()&&t),t}),null,null)),Di(1,16384,null,0,yy,[],null,null),Di(2,4210688,[["accountForm",4]],0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(4,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(5,0,null,null,27,"div",[["class","col-md-12"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,26,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(17,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(18,16384,[[3,4],[4,4]],0,iT,[],null,null),(n()(),Lo(19,null,["",""])),(n()(),_o(20,0,null,1,8,"mat-select",[["class","mat-select"],["name","loginAccount"],["required",""],["role","listbox"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,22)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,22)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,22)._onBlur()&&t),"selectionChange"===l&&(t=!1!==i.selectAccount(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(22,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[8,null],[8,null],OR,Rb],{required:[0,"required"]},{selectionChange:"selectionChange"}),ko(603979776,10,{options:1}),ko(603979776,11,{optionGroups:1}),ko(603979776,12,{customTrigger:0}),Ei(2048,[[1,4],[2,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,Iwn)),Di(28,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(29,0,null,6,3,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(30,16384,[[7,4]],0,tT,[],null,null),(n()(),_o(31,0,null,null,1,"a",[["style","cursor: pointer;"]],null,[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.initNewAccount()&&t),t}),null,null)),(n()(),Lo(32,null,["",""]))],(function(n,l){var e=l.component;n(l,22,0,""),n(l,28,0,e.additionalsInfos.accounts)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,4).ngClassUntouched,bi(l,4).ngClassTouched,bi(l,4).ngClassPristine,bi(l,4).ngClassDirty,bi(l,4).ngClassValid,bi(l,4).ngClassInvalid,bi(l,4).ngClassPending),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,19,0,e.lang.selectedAccount),n(l,20,1,[bi(l,22).id,bi(l,22).tabIndex,bi(l,22)._getAriaLabel(),bi(l,22)._getAriaLabelledby(),bi(l,22).required.toString(),bi(l,22).disabled.toString(),bi(l,22).errorState,bi(l,22).panelOpen?bi(l,22)._optionIds:null,bi(l,22).multiple,bi(l,22)._ariaDescribedby||null,bi(l,22)._getAriaActiveDescendant(),bi(l,22).disabled,bi(l,22).errorState,bi(l,22).required,bi(l,22).empty]),n(l,29,0,"end"==bi(l,30).align,bi(l,30).id,null),n(l,32,0,e.lang.addNewAccount)}))}function Mwn(n){return jo(0,[(n()(),_o(0,0,null,null,55,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,2).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,2).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.addNewAccount()&&t),t}),null,null)),Di(1,16384,null,0,yy,[],null,null),Di(2,4210688,[["newAccountForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(4,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(5,0,null,null,21,"div",[["class","col-md-6"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(17,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","newAccountLogin"],["matInput",""],["name","newAccountLogin"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,18)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,18)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,18)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,25)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,25)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,25)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.newAccount.login=e)&&t),t}),null,null)),Di(18,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(19,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(22,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(24,16384,null,0,y_,[[4,v_]],null,null),Di(25,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(27,0,null,null,21,"div",[["class","col-md-6"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,20,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(29,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,22,{_controlNonStatic:0}),ko(335544320,23,{_controlStatic:0}),ko(603979776,24,{_labelChildNonStatic:0}),ko(335544320,25,{_labelChildStatic:0}),ko(603979776,26,{_placeholderChild:0}),ko(603979776,27,{_errorChildren:1}),ko(603979776,28,{_hintChildren:1}),ko(603979776,29,{_prefixChildren:1}),ko(603979776,30,{_suffixChildren:1}),(n()(),_o(39,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","newAccountSiret"],["matInput",""],["name","newAccountSiret"],["required",""]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,40)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,40).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,40)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,40)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,47)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,47)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,47)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.newAccount.siret=e)&&t),t}),null,null)),Di(40,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(41,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(44,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(46,16384,null,0,y_,[[4,v_]],null,null),Di(47,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],required:[2,"required"]},null),Ei(2048,[[22,4],[23,4]],nT,null,[OT]),(n()(),_o(49,0,null,null,6,"div",[["class","col-md-12 text-center"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(50,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(51,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(52,0,[" "," "])),(n()(),_o(53,0,null,null,2,"button",[["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=0!=(n.component.addAccountMode=!1)&&t),t}),PC,MC)),Di(54,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),Lo(55,0,[" "," "]))],(function(n,l){var e=l.component;n(l,19,0,""),n(l,22,0,"newAccountLogin",e.newAccount.login),n(l,25,0,"newAccountLogin",Wt(1,"",e.lang.newAccount,""),""),n(l,41,0,""),n(l,44,0,"newAccountSiret",e.newAccount.siret),n(l,47,0,"newAccountSiret",Wt(1,"",e.lang.siret,""),""),n(l,51,0,!bi(l,2).form.valid||e.loading,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,4).ngClassUntouched,bi(l,4).ngClassTouched,bi(l,4).ngClassPristine,bi(l,4).ngClassDirty,bi(l,4).ngClassValid,bi(l,4).ngClassInvalid,bi(l,4).ngClassPending),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,1,[bi(l,19).required?"":null,bi(l,24).ngClassUntouched,bi(l,24).ngClassTouched,bi(l,24).ngClassPristine,bi(l,24).ngClassDirty,bi(l,24).ngClassValid,bi(l,24).ngClassInvalid,bi(l,24).ngClassPending,bi(l,25)._isServer,bi(l,25).id,bi(l,25).placeholder,bi(l,25).disabled,bi(l,25).required,bi(l,25).readonly&&!bi(l,25)._isNativeSelect||null,bi(l,25)._ariaDescribedby||null,bi(l,25).errorState,bi(l,25).required.toString()]),n(l,28,1,["standard"==bi(l,29).appearance,"fill"==bi(l,29).appearance,"outline"==bi(l,29).appearance,"legacy"==bi(l,29).appearance,bi(l,29)._control.errorState,bi(l,29)._canLabelFloat,bi(l,29)._shouldLabelFloat(),bi(l,29)._hasFloatingLabel(),bi(l,29)._hideControlPlaceholder(),bi(l,29)._control.disabled,bi(l,29)._control.autofilled,bi(l,29)._control.focused,"accent"==bi(l,29).color,"warn"==bi(l,29).color,bi(l,29)._shouldForward("untouched"),bi(l,29)._shouldForward("touched"),bi(l,29)._shouldForward("pristine"),bi(l,29)._shouldForward("dirty"),bi(l,29)._shouldForward("valid"),bi(l,29)._shouldForward("invalid"),bi(l,29)._shouldForward("pending"),!bi(l,29)._animationsEnabled]),n(l,39,1,[bi(l,41).required?"":null,bi(l,46).ngClassUntouched,bi(l,46).ngClassTouched,bi(l,46).ngClassPristine,bi(l,46).ngClassDirty,bi(l,46).ngClassValid,bi(l,46).ngClassInvalid,bi(l,46).ngClassPending,bi(l,47)._isServer,bi(l,47).id,bi(l,47).placeholder,bi(l,47).disabled,bi(l,47).required,bi(l,47).readonly&&!bi(l,47)._isNativeSelect||null,bi(l,47)._ariaDescribedby||null,bi(l,47).errorState,bi(l,47).required.toString()]),n(l,50,0,bi(l,51).disabled||null,"NoopAnimations"===bi(l,51)._animationMode),n(l,52,0,e.lang.add),n(l,53,0,bi(l,54).disabled||null,"NoopAnimations"===bi(l,54)._animationMode),n(l,55,0,e.lang.cancel)}))}function Pwn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[40,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.displayName)}))}function Dwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","opacity: 0.5;text-align: center;font-size: 10px;padding: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noPerson)}))}function Fwn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.changeRole(n.parent.context.index,n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[49,4],[50,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang[l.context.$implicit+"User"])}))}function Ewn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.changeContext(n.parent.context.index,n.context.$implicit)&&t),t}),lL,nL)),Di(1,180224,[[52,4],[53,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang[l.context.$implicit])}))}function Own(n){return jo(0,[(n()(),_o(0,16777216,null,null,55,"mat-list",[["cdkDrag",""],["class","columns mat-list mat-list-base cdk-drag"]],[[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],null,null,SI,kI)),Ei(6144,null,VU,null,[$U]),Di(2,704512,null,0,tI,[Pe],null,null),Di(3,4866048,[[42,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],null,null),ko(603979776,43,{_handles:1}),ko(603979776,44,{_previewTemplate:0}),ko(603979776,45,{_placeholderTemplate:0}),(n()(),_o(7,0,null,0,48,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(8,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,46,{_lines:1}),ko(603979776,47,{_avatar:0}),ko(603979776,48,{_icon:0}),(n()(),_o(12,0,null,0,2,"mat-icon",[["class","fa fa-user fa-2x mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(14,16384,[[48,4]],0,iI,[],null,null),(n()(),_o(15,0,null,1,3,"h4",[["class","mat-line"],["mat-line",""],["style","display: flex;"]],null,null,null,null,null)),Di(16,16384,[[46,4]],0,pv,[],null,null),(n()(),_o(17,0,null,null,1,"span",[["style","flex: 1;text-overflow: ellipsis;overflow: hidden;"]],null,null,null,null,null)),(n()(),Lo(18,null,["",""])),(n()(),_o(19,0,null,1,32,"p",[["class","otherInfo mat-line"],["mat-line",""],["style","display: flex;"]],null,null,null,null,null)),Di(20,16384,[[46,4]],0,pv,[],null,null),(n()(),_o(21,0,null,null,30,"span",[["style","opacity:0.5;flex: 1;"]],null,null,null,null,null)),(n()(),_o(22,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","currentRoleButton mat-menu-trigger"],["mat-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,24)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,24)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,24)._handleClick(e)&&t),t}),PC,MC)),Di(23,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(24,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(25,0,["",""])),(n()(),_o(26,0,null,null,10,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(29,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,49,{_allItems:1}),ko(603979776,50,{items:1}),ko(603979776,51,{lazyContent:0}),(n()(),_o(33,0,null,0,1,"div",[["style","text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(34,null,[" "," "])),(n()(),vo(16777216,null,0,1,null,Fwn)),Di(36,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(37,16777216,null,null,3,"button",[["aria-haspopup","true"],["class","currentContextButton mat-menu-trigger"],["mat-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,39)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,39)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,39)._handleClick(e)&&t),t}),PC,MC)),Di(38,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(39,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),Lo(40,0,["",""])),(n()(),_o(41,0,null,null,10,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(44,1294336,[["menuContext",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,52,{_allItems:1}),ko(603979776,53,{items:1}),ko(603979776,54,{lazyContent:0}),(n()(),_o(48,0,null,0,1,"div",[["style","text-align: center;font-size: 10px;color: white;background: #135F7F;padding: 5px;font-weight: bold;"]],null,null,null,null,null)),(n()(),Lo(49,null,[" "," "])),(n()(),vo(16777216,null,0,1,null,Ewn)),Di(51,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(52,0,null,2,3,"button",[["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteItem(n.context.index)&&t),t}),PC,MC)),Di(53,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(54,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(55,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,13,0,"primary"),n(l,24,0,bi(l,29)),n(l,29,0,"listMenu"),n(l,36,0,l.context.$implicit.roles),n(l,39,0,bi(l,44)),n(l,44,0,"listMenu"),n(l,51,0,e.contextList),n(l,55,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,3).disabled,bi(l,3)._dragRef.isDragging()),n(l,7,0,bi(l,8)._avatar||bi(l,8)._icon,bi(l,8)._avatar||bi(l,8)._icon),n(l,12,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,18,0,l.context.$implicit.displayName),n(l,22,0,Wt(1,"",e.lang[l.context.$implicit.currentRole+"User"],""),bi(l,23).disabled||null,"NoopAnimations"===bi(l,23)._animationMode,bi(l,24).menuOpen||null),n(l,25,0,e.lang[l.context.$implicit.currentRole+"User"]),n(l,34,0,e.lang.roles),n(l,37,0,Wt(1,"",e.lang[l.context.$implicit.currentContext],""),bi(l,38).disabled||null,"NoopAnimations"===bi(l,38)._animationMode,bi(l,39).menuOpen||null),n(l,40,0,e.lang[l.context.$implicit.currentContext]),n(l,49,0,e.lang.contextParaph),n(l,52,0,bi(l,53).disabled||null,"NoopAnimations"===bi(l,53)._animationMode),n(l,54,0,bi(l,55).inline,"primary"!==bi(l,55).color&&"accent"!==bi(l,55).color&&"warn"!==bi(l,55).color)}))}function Twn(n){return jo(0,[(n()(),_o(0,0,null,null,41,"div",[["class","col-md-12"],["style","padding-top: 20px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,40,"div",[["class","workflowContent"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"h2",[["style","top:-5px;"]],null,null,null,null,null)),(n()(),Lo(3,null,[""," :"])),(n()(),_o(4,0,null,null,37,"div",[["class","contentUser"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["floatLabel","never"]],[[4,"fontSize","px"],[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(6,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,31,{_controlNonStatic:0}),ko(335544320,32,{_controlStatic:0}),ko(603979776,33,{_labelChildNonStatic:0}),ko(335544320,34,{_labelChildStatic:0}),ko(603979776,35,{_placeholderChild:0}),ko(603979776,36,{_errorChildren:1}),ko(603979776,37,{_hintChildren:1}),ko(603979776,38,{_prefixChildren:1}),ko(603979776,39,{_suffixChildren:1}),(n()(),_o(16,16777216,null,1,8,"input",[["class","mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["id","availableUsers"],["matInput",""],["type","text"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,17)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,17).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,17)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,17)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,18)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,18)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,18)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,18)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),t}),null,null)),Di(17,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(18,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(20,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Di(23,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[31,4],[32,4]],nT,null,[OT]),(n()(),_o(25,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"],["isOpen","true"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.addItem(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(27,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,40,{options:1}),ko(603979776,41,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,Pwn)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),_o(33,0,null,null,8,"div",[["cdkDropList",""],["class","cdk-list cdk-drop-list"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"]],(function(n,l,e){var t=!0;return"cdkDropListDropped"===l&&(t=!1!==n.component.drop(e)&&t),t}),null,null)),Ei(6144,null,jU,null,[KU]),Di(35,1196032,[["dataAvailableList",4]],1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{data:[0,"data"]},{dropped:"cdkDropListDropped"}),ko(603979776,42,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,null,1,null,Dwn)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Own)),Di(41,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,6,0,"outline","never"),n(l,18,0,bi(l,27)),n(l,20,0,e.usersCtrl),n(l,23,0,"availableUsers",Wt(1,"",e.lang.addPerson,""),"text"),n(l,31,0,bt(l,31,0,bi(l,32).transform(e.filteredUsers))),n(l,35,0,e.currentWorkflow),n(l,39,0,0===e.currentWorkflow.length),n(l,41,0,e.currentWorkflow)}),(function(n,l){n(l,3,0,l.component.lang.visaWorkflow),n(l,5,1,[10,"standard"==bi(l,6).appearance,"fill"==bi(l,6).appearance,"outline"==bi(l,6).appearance,"legacy"==bi(l,6).appearance,bi(l,6)._control.errorState,bi(l,6)._canLabelFloat,bi(l,6)._shouldLabelFloat(),bi(l,6)._hasFloatingLabel(),bi(l,6)._hideControlPlaceholder(),bi(l,6)._control.disabled,bi(l,6)._control.autofilled,bi(l,6)._control.focused,"accent"==bi(l,6).color,"warn"==bi(l,6).color,bi(l,6)._shouldForward("untouched"),bi(l,6)._shouldForward("touched"),bi(l,6)._shouldForward("pristine"),bi(l,6)._shouldForward("dirty"),bi(l,6)._shouldForward("valid"),bi(l,6)._shouldForward("invalid"),bi(l,6)._shouldForward("pending"),!bi(l,6)._animationsEnabled]),n(l,16,1,[bi(l,18).autocompleteAttribute,bi(l,18).autocompleteDisabled?null:"combobox",bi(l,18).autocompleteDisabled?null:"list",bi(l,18).panelOpen&&bi(l,18).activeOption?bi(l,18).activeOption.id:null,bi(l,18).autocompleteDisabled?null:bi(l,18).panelOpen.toString(),bi(l,18).autocompleteDisabled||!bi(l,18).panelOpen?null:null==bi(l,18).autocomplete?null:bi(l,18).autocomplete.id,!bi(l,18).autocompleteDisabled,bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString()]),n(l,33,0,bi(l,35).id,bi(l,35).disabled,bi(l,35)._dropListRef.isDragging(),bi(l,35)._dropListRef.isReceiving())}))}function Lwn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,Awn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mwn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Twn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,!e.addAccountMode&&e.additionalsInfos.attachments.length>0),n(l,3,0,e.addAccountMode&&e.additionalsInfos.attachments.length>0),n(l,5,0,e.usersWorkflowList.length>0)}),null)}var Rwn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Nwn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function jwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Vwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function qwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function zwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleIntegration(n.context.$implicit.key)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(2,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"primary",l.component.data.resource.integrations[l.context.$implicit.key])}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).id,null,bi(l,2).indeterminate,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang[l.context.$implicit.key+"_doc"])}))}function Uwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","padding:10px;display: flex;flex-direction: column;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,zwn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye])],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.integrationsInfo)))}),null)}function Bwn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.context.$implicit.alt_identifier)}))}function $wn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Bwn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesMailing)}),(function(n,l){n(l,2,0,l.component.lang.mailingActionInformations)}))}function Hwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-i-paraph",[],null,null,null,cwn,swn)),Di(1,114688,[[5,4],["iParapheur",4]],0,Vun,[nS,tu],{additionalsInfos:[0,"additionalsInfos"],externalSignatoryBookDatas:[1,"externalSignatoryBookDatas"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.additionalsInfos,e.externalSignatoryBookDatas)}),null)}function Gwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-ixbus-paraph",[],null,null,null,bwn,dwn)),Di(1,114688,[[6,4],["ixbus",4]],0,qun,[nS,tu,_u,cA],{additionalsInfos:[0,"additionalsInfos"],externalSignatoryBookDatas:[1,"externalSignatoryBookDatas"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.additionalsInfos,e.externalSignatoryBookDatas)}),null)}function Wwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-fast-paraph",[],null,null,null,_wn,vwn)),Di(1,114688,[[4,4],["fastParapheur",4]],0,jun,[nS,tu],{additionalsInfos:[0,"additionalsInfos"],externalSignatoryBookDatas:[1,"externalSignatoryBookDatas"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.additionalsInfos,e.externalSignatoryBookDatas)}),null)}function Kwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-maarch-paraph",[],null,null,null,kwn,ywn)),Di(1,114688,[[3,4],["maarchParapheur",4]],0,Nun,[nS,tu],{additionalsInfos:[0,"additionalsInfos"],externalSignatoryBookDatas:[1,"externalSignatoryBookDatas"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.additionalsInfos,e.externalSignatoryBookDatas)}),null)}function Ywn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-x-paraph",[],null,null,null,Lwn,Swn)),Di(1,114688,[[2,4],["xParaph",4]],0,Run,[nS,tu],{additionalsInfos:[0,"additionalsInfos"],externalSignatoryBookDatas:[1,"externalSignatoryBookDatas"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.additionalsInfos,e.externalSignatoryBookDatas)}),null)}function Jwn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Zwn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(4,null,[" "," : "])),(n()(),_o(5,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Jwn)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,7,0,l.component.additionalsInfos.noAttachment)}),(function(n,l){n(l,4,0,l.component.lang.canNotMakeAction)}))}function Qwn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{xParaph:0}),ko(671088640,3,{maarchParapheur:0}),ko(671088640,4,{fastParapheur:0}),ko(671088640,5,{iParapheur:0}),ko(671088640,6,{ixbus:0}),(n()(),_o(6,0,null,null,54,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(8,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(9,null,["",""])),(n()(),_o(10,0,null,null,40,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(11,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Nwn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,36,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(15,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,7,{_drawers:1}),ko(603979776,8,{_content:0}),(n()(),_o(18,0,null,1,32,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(19,1294336,[[8,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(20,0,null,0,30,"div",[["class","row"],["style","margin: 0;"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(22,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,jwn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Vwn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qwn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,null,1,null,Uwn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$wn)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(34,0,null,null,12,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Hwn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Gwn)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Wwn)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Kwn)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Ywn)),Di(44,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Zwn)),Di(46,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(47,0,null,null,3,"div",[["class","col-md-12"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(48,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(50,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(51,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(52,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(53,16384,null,0,l_,[],null,null),(n()(),_o(54,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(55,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(56,0,["",""])),(n()(),_o(57,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,59).dialogRef.close(bi(n,59).dialogResult)&&t),t}),PC,MC)),Di(58,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(59,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(60,0,["",""]))],(function(n,l){var e=l.component;n(l,8,0),n(l,13,0,e.loading),n(l,15,0,""),n(l,19,0),n(l,24,0,0===e.data.resIds.length),n(l,26,0,1==e.data.resIds.length),n(l,28,0,e.data.resIds.length>1),n(l,31,0,e.data.resIds.length>0),n(l,33,0,e.resourcesMailing.length>0),n(l,36,0,"iParapheur"==e.signatoryBookEnabled),n(l,38,0,"ixbus"==e.signatoryBookEnabled),n(l,40,0,"fastParapheur"==e.signatoryBookEnabled),n(l,42,0,"maarchParapheur"==e.signatoryBookEnabled),n(l,44,0,"xParaph"==e.signatoryBookEnabled),n(l,46,0,0!=e.additionalsInfos.noAttachment.length&&"attachment"==e.externalSignatoryBookDatas.objectSent),n(l,50,0,e.data.resIds),n(l,55,0,e.loading||!e.isValidAction(),"primary"),n(l,58,0,e.loading),n(l,59,0)}),(function(n,l){var e=l.component;n(l,7,0,bi(l,8).id),n(l,9,0,e.data.action.label),n(l,14,0,bi(l,15)._backdropOverride),n(l,18,0,bi(l,19)._container._contentMargins.left,bi(l,19)._container._contentMargins.right),n(l,22,0,e.lang.makeActionOn),n(l,54,0,bi(l,55).disabled||null,"NoopAnimations"===bi(l,55)._animationMode),n(l,56,0,e.lang.validate),n(l,57,0,bi(l,58).disabled||null,"NoopAnimations"===bi(l,58)._animationMode,bi(l,59).ariaLabel||null,bi(l,59).type),n(l,60,0,e.lang.cancel)}))}function Xwn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Qwn,Rwn)),Di(1,114688,null,0,zun,[nS,tu,Hv,Gv,Nl],null,null)],(function(n,l){n(l,1,0)}),null)}var nxn=oi("ng-component",zun,Xwn,{},{},[]),lxn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function exn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function txn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function ixn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function axn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function oxn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","col-md-12"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setVal(e)&&t),t}),HN,EN)),Di(2,114688,null,0,FN,[nS,tu,Jv,QS],{singleMode:[0,"singleMode"],appearance:[1,"appearance"],options:[2,"options"],placeholder:[3,"placeholder"],key:[4,"key"],subInfoKey:[5,"subInfoKey"]},{selectedOpt:"triggerEvent"})],(function(n,l){var e=l.component;n(l,2,0,!0,"outline",e.additionalsInfos.users,e.lang.userMaarchParapheur,"displayName","email")}),null)}function rxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noUserDefinedInMaarchParapheur)}))}function uxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function sxn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(4,null,[" "," : "])),(n()(),_o(5,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,uxn)),Di(7,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,7,0,l.component.additionalsInfos.noMail)}),(function(n,l){n(l,4,0,l.component.lang.canNotMakeAction)}))}function cxn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,44,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,30,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,exn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,26,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(10,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(13,0,null,1,22,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(14,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(15,0,null,0,20,"div",[["class","row"],["style","margin: 0;"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,txn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ixn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,axn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(25,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,oxn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rxn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,sxn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,null,3,"div",[["class","col-md-12"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(33,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(35,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(36,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(37,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(38,16384,null,0,l_,[],null,null),(n()(),_o(39,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(40,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(41,0,["",""])),(n()(),_o(42,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,44).dialogRef.close(bi(n,44).dialogResult)&&t),t}),PC,MC)),Di(43,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(44,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(45,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,10,0,""),n(l,14,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,27,0,0!=e.additionalsInfos.users.length),n(l,29,0,0==e.additionalsInfos.users.length),n(l,31,0,0!=e.additionalsInfos.noMail.length),n(l,35,0,e.data.resIds),n(l,40,0,e.loading||e.checkValidAction(),"primary"),n(l,43,0,e.loading),n(l,44,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,9,0,bi(l,10)._backdropOverride),n(l,13,0,bi(l,14)._container._contentMargins.left,bi(l,14)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,39,0,bi(l,40).disabled||null,"NoopAnimations"===bi(l,40)._animationMode),n(l,41,0,e.lang.validate),n(l,42,0,bi(l,43).disabled||null,"NoopAnimations"===bi(l,43)._animationMode,bi(l,44).ariaLabel||null,bi(l,44).type),n(l,45,0,e.lang.cancel)}))}function dxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,cxn,lxn)),Di(1,114688,null,0,Uun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var pxn=oi("ng-component",Uun,dxn,{},{},[]),mxn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function fxn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function hxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function gxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function bxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function vxn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.sendToDocTo+" <b>"+e.appVisaWorkflow.getNextVisaUser().labelToDisplay+"</b>")}))}function _xn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.endWorkflow)}))}function yxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function wxn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,yxn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function xxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Cxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"ul",[["style","margin: 0;padding-bottom: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xxn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.resourcesWarnings)}),null)}function kxn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.context.$implicit.alt_identifier)}))}function Sxn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kxn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesMailing)}),(function(n,l){n(l,2,0,l.component.lang.mailingActionInformations)}))}function Ixn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[2,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){n(l,2,0,!1,l.component.data.resIds[0])}),null)}function Axn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{appVisaWorkflow:0}),(n()(),_o(2,0,null,null,48,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,34,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,fxn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,30,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(14,0,null,1,26,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,hxn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,gxn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bxn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,vxn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,_xn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,wxn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Cxn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Sxn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Ixn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,0,3,"div",[["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(40,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(41,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(42,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(43,16384,null,0,l_,[],null,null),(n()(),_o(44,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(45,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(46,0,["",""])),(n()(),_o(47,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,49).dialogRef.close(bi(n,49).dialogResult)&&t),t}),PC,MC)),Di(48,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(49,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(50,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,""),n(l,15,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,26,0,1==e.data.resIds.length&&void 0!==e.appVisaWorkflow&&""!==e.appVisaWorkflow.getNextVisaUser()),n(l,28,0,1==e.data.resIds.length&&void 0!==e.appVisaWorkflow&&""===e.appVisaWorkflow.getNextVisaUser()&&!e.noResourceToProcess),n(l,30,0,e.resourcesErrors.length>0),n(l,32,0,e.resourcesWarnings.length>0),n(l,34,0,e.resourcesMailing.length>0&&void 0!==e.appVisaWorkflow&&""!==e.appVisaWorkflow.getNextVisaUser()&&e.appVisaWorkflow.getNextVisaUser().requested_signature),n(l,36,0,1==e.data.resIds.length),n(l,40,0,e.data.resIds),n(l,45,0,e.loading||!e.isValidAction(),"primary"),n(l,48,0,e.loading),n(l,49,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,44,0,bi(l,45).disabled||null,"NoopAnimations"===bi(l,45)._animationMode),n(l,46,0,e.lang.validate),n(l,47,0,bi(l,48).disabled||null,"NoopAnimations"===bi(l,48)._animationMode,bi(l,49).ariaLabel||null,bi(l,49).type),n(l,50,0,e.lang.cancel)}))}function Mxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Axn,mxn)),Di(1,114688,null,0,Yun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var Pxn=oi("ng-component",Yun,Mxn,{},{},[]),Dxn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Fxn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Exn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Oxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Txn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Lxn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,"<b>"+e.ownerOpinion+"</b> "+e.lang.askOpinionUser+" :<br/><br/>"+e.opinionContent)}))}function Rxn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.sendToDocTo+" <b>"+e.appAvisWorkflow.getNextAvisUser().labelToDisplay+"</b>")}))}function Nxn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.endWorkflow)}))}function jxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Vxn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,jxn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function qxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function zxn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"ul",[["style","margin: 0;padding-bottom: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,qxn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.resourcesWarnings)}),null)}function Uxn(n){return jo(0,[(n()(),_o(0,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","cursor:pointer;margin-top: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(12,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.opinionLimitDate=e)&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],readonly:[1,"readonly"]},null),Ei(2048,[[5,4],[6,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,1,0,"outline"),n(l,17,0,"",e.opinionLimitDate),n(l,20,0,"","")}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.opinionLimitDate),n(l,14,1,[bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()])}))}function Bxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[2,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],resId:[1,"resId"]},null)],(function(n,l){n(l,1,0,!1,l.component.data.resIds[0])}),null)}function $xn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),ko(671088640,2,{appAvisWorkflow:0}),(n()(),_o(2,0,null,null,49,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,35,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Fxn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,31,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(14,0,null,1,27,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Exn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Oxn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Txn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,Lxn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Rxn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Nxn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Vxn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,zxn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Uxn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,0,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(39,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{title:[0,"title"],resIds:[1,"resIds"],disableRestriction:[2,"disableRestriction"]},null),(n()(),vo(16777216,null,0,1,null,Bxn)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(42,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(43,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(44,16384,null,0,l_,[],null,null),(n()(),_o(45,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(46,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(47,0,["",""])),(n()(),_o(48,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,50).dialogRef.close(bi(n,50).dialogResult)&&t),t}),PC,MC)),Di(49,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(50,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(51,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,""),n(l,15,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,26,0,1==e.data.resIds.length&&!e.noResourceToProcess),n(l,28,0,1==e.data.resIds.length&&void 0!==e.appAvisWorkflow&&""!==e.appAvisWorkflow.getNextAvisUser()),n(l,30,0,1==e.data.resIds.length&&void 0!==e.appAvisWorkflow&&""===e.appAvisWorkflow.getNextAvisUser()&&!e.noResourceToProcess),n(l,32,0,e.resourcesErrors.length>0),n(l,34,0,e.resourcesWarnings.length>0),n(l,36,0,1===e.data.resIds.length&&!e.noResourceToProcess),n(l,39,0,e.lang.addOpinion,e.data.resIds,!0),n(l,41,0,1==e.data.resIds.length),n(l,46,0,e.loading||!e.isValidAction(),"primary"),n(l,49,0,e.loading),n(l,50,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,45,0,bi(l,46).disabled||null,"NoopAnimations"===bi(l,46)._animationMode),n(l,47,0,e.lang.validate),n(l,48,0,bi(l,49).disabled||null,"NoopAnimations"===bi(l,49)._animationMode,bi(l,50).ariaLabel||null,bi(l,50).type),n(l,51,0,e.lang.cancel)}))}function Hxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,$xn,Dxn)),Di(1,114688,null,0,Zun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var Gxn=oi("ng-component",Zun,Hxn,{},{},[]),Wxn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function Kxn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Yxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function Jxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Zxn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Qxn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,"<b>"+e.ownerOpinion+"</b> "+e.lang.askOpinionUser+" :<br/><br/>"+e.opinionContent)}))}function Xxn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.askOpinion)}))}function nCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function lCn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,nCn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function eCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function tCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"ul",[["style","margin: 0;padding-bottom: 0px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,eCn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,3,0,l.component.resourcesWarnings)}),null)}function iCn(n){return jo(0,[(n()(),_o(0,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","cursor:pointer;margin-top: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(12,16384,[[6,4],[7,4]],0,iT,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,20)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,20)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,20)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.opinionLimitDate=e)&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(17,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(19,16384,null,0,y_,[[4,v_]],null,null),Di(20,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],readonly:[1,"readonly"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT])],(function(n,l){var e=l.component;n(l,1,0,"outline"),n(l,17,0,"",e.opinionLimitDate),n(l,20,0,"","")}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.opinionLimitDate),n(l,14,1,[bi(l,19).ngClassUntouched,bi(l,19).ngClassTouched,bi(l,19).ngClassPristine,bi(l,19).ngClassDirty,bi(l,19).ngClassValid,bi(l,19).ngClassInvalid,bi(l,19).ngClassPending,bi(l,20)._isServer,bi(l,20).id,bi(l,20).placeholder,bi(l,20).disabled,bi(l,20).required,bi(l,20).readonly&&!bi(l,20)._isNativeSelect||null,bi(l,20)._ariaDescribedby||null,bi(l,20).errorState,bi(l,20).required.toString()])}))}function aCn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,45,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,31,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Kxn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,27,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(10,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(13,0,null,1,23,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(14,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(15,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(16,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Yxn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Jxn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Zxn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,Qxn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Xxn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,lCn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,tCn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,iCn)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(34,0,null,0,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(36,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{title:[0,"title"],resIds:[1,"resIds"],disableRestriction:[2,"disableRestriction"]},null),(n()(),_o(37,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(39,16384,null,0,l_,[],null,null),(n()(),_o(40,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(41,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(42,0,["",""])),(n()(),_o(43,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,45).dialogRef.close(bi(n,45).dialogResult)&&t),t}),PC,MC)),Di(44,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(45,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(46,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,10,0,""),n(l,14,0),n(l,18,0,0===e.data.resIds.length),n(l,20,0,1==e.data.resIds.length),n(l,22,0,e.data.resIds.length>1),n(l,25,0,1==e.data.resIds.length&&!e.noResourceToProcess),n(l,27,0,e.data.resIds.length>1&&!e.noResourceToProcess),n(l,29,0,e.resourcesErrors.length>0),n(l,31,0,e.resourcesWarnings.length>0),n(l,33,0,1===e.data.resIds.length&&!e.noResourceToProcess),n(l,36,0,e.lang.addOpinion,e.data.resIds,!0),n(l,41,0,e.loading||!e.isValidAction(),"primary"),n(l,44,0,e.loading),n(l,45,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,9,0,bi(l,10)._backdropOverride),n(l,13,0,bi(l,14)._container._contentMargins.left,bi(l,14)._container._contentMargins.right),n(l,16,0,e.lang.makeActionOn),n(l,40,0,bi(l,41).disabled||null,"NoopAnimations"===bi(l,41)._animationMode),n(l,42,0,e.lang.validate),n(l,43,0,bi(l,44).disabled||null,"NoopAnimations"===bi(l,44)._animationMode,bi(l,45).ariaLabel||null,bi(l,45).type),n(l,46,0,e.lang.cancel)}))}function oCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,aCn,Wxn)),Di(1,114688,null,0,Xun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var rCn=oi("ng-component",Xun,oCn,{},{},[]),uCn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function sCn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function cCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function dCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function pCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function mCn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.validateAvisParallelSingle+" <b>"+e.ownerOpinion+"</b>")}))}function fCn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,0,0,l.component.lang.validateAvisParallel)}))}function hCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function gCn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,hCn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function bCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[13,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,14,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,29))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function vCn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==(i.opinionLimitDate=null)&&t),t}),PC,MC)),Di(1,16384,[[13,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function _Cn(n){return jo(0,[(n()(),_o(0,0,null,null,31,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["style","cursor:pointer;margin-top: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,29).open()&&t),t}),kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(11,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(12,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,11,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["required",""],["style","cursor:pointer;"]],[[1,"required",0],[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,15)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,15).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,15)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,15)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,17)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,17)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,17)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,24)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,24)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,24)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.opinionLimitDate=e)&&t),t}),null,null)),Di(15,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(16,16384,null,0,My,[],{required:[0,"required"]},null),Di(17,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(20,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(24,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"],readonly:[2,"readonly"]},null),Ei(2048,[[5,4],[6,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,bCn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(29,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],null,null),(n()(),vo(16777216,null,4,1,null,vCn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"outline"),n(l,16,0,""),n(l,17,0,bi(l,29),e.today),n(l,20,0,e.opinionLimitDate),n(l,24,0,e.lang.chooseDate,"",""),n(l,27,0,!e.opinionLimitDate),n(l,31,0,e.opinionLimitDate)}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.opinionLimitDate),n(l,14,1,[bi(l,16).required?"":null,bi(l,17)._datepicker?"dialog":null,(null==bi(l,17)._datepicker?null:bi(l,17)._datepicker.opened)&&bi(l,17)._datepicker.id||null,bi(l,17).min?bi(l,17)._dateAdapter.toIso8601(bi(l,17).min):null,bi(l,17).max?bi(l,17)._dateAdapter.toIso8601(bi(l,17).max):null,bi(l,17).disabled,bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,24)._isServer,bi(l,24).id,bi(l,24).placeholder,bi(l,24).disabled,bi(l,24).required,bi(l,24).readonly&&!bi(l,24)._isNativeSelect||null,bi(l,24)._ariaDescribedby||null,bi(l,24).errorState,bi(l,24).required.toString()])}))}function yCn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{title:[0,"title"],content:[1,"content"],resIds:[2,"resIds"],disableRestriction:[3,"disableRestriction"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.lang.addOpinionReason,e.opinionContent,e.data.resIds,!0)}),null)}function wCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"app-avis-workflow",[],null,null,null,wW,XG)),Di(1,114688,[[2,4],["appAvisWorkflow",4]],0,QG,[nS,tu,$S,QS,Jv],{adminMode:[0,"adminMode"],mode:[1,"mode"]},null)],(function(n,l){n(l,1,0,!0,"parallel")}),null)}function xCn(n){return jo(0,[ko(671088640,1,{noteEditor:0}),ko(671088640,2,{appAvisWorkflow:0}),(n()(),_o(2,0,null,null,44,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,30,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,sCn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,26,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(14,0,null,1,22,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,cCn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dCn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,pCn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,mCn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,fCn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,gCn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,_Cn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,yCn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,wCn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(38,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(39,16384,null,0,l_,[],null,null),(n()(),_o(40,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(41,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(42,0,["",""])),(n()(),_o(43,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,45).dialogRef.close(bi(n,45).dialogResult)&&t),t}),PC,MC)),Di(44,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(45,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(46,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,""),n(l,15,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,26,0,1==e.data.resIds.length&&!e.noResourceToProcess),n(l,28,0,e.data.resIds.length>1&&!e.noResourceToProcess),n(l,30,0,e.resourcesErrors.length>0),n(l,32,0,1===e.data.resIds.length&&!e.noResourceToProcess),n(l,34,0,1===e.data.resIds.length&&!e.noResourceToProcess),n(l,36,0,1===e.data.resIds.length&&!e.noResourceToProcess),n(l,41,0,e.loading||!e.isValidAction(),"primary"),n(l,44,0,e.loading),n(l,45,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,40,0,bi(l,41).disabled||null,"NoopAnimations"===bi(l,41)._animationMode),n(l,42,0,e.lang.validate),n(l,43,0,bi(l,44).disabled||null,"NoopAnimations"===bi(l,44)._animationMode,bi(l,45).ariaLabel||null,bi(l,45).type),n(l,46,0,e.lang.cancel)}))}function CCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,xCn,uCn)),Di(1,4308992,null,0,nsn,[nS,tu,Hv,Gv,$S,_u],null,null)],(function(n,l){n(l,1,0)}),null)}var kCn=oi("ng-component",nsn,CCn,{},{},[]),SCn=yt({encapsulation:0,styles:[[".fullWidth[_ngcontent-%COMP%]{width:70vw}.highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden}.redirectContent[_ngcontent-%COMP%]{position:relative}.redirectContent[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:5px;left:30px;padding:0 5px;margin:0;color:#135f7f}.contentEntities[_ngcontent-%COMP%]{background:#fff;border-radius:4px;border:1px solid #ccc;margin:10px;padding:10px;overflow:auto;height:60vh}.contentUser[_ngcontent-%COMP%]{background:#fff;border-radius:4px;border:1px solid #ccc;margin:10px;padding:10px}.contentEntitiesList[_ngcontent-%COMP%]{background:#fff;margin:10px;padding:10px;overflow:auto;height:60vh}.chooseMode[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}.chooseMode[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;-webkit-box-pack:center;justify-content:center}.chooseMode[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:10px;margin:10px;width:200px}.chooseMode[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-right:10px}.noSelection[_ngcontent-%COMP%]{text-align:center;opacity:.5;font-style:italic}"]],data:{}});function ICn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function ACn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function MCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function PCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function DCn(n){return jo(0,[(n()(),_o(0,0,null,null,9,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,ACn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,MCn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,PCn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ?"])),(n()(),_o(9,0,null,null,0,"br",[],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,3,0,0===e.data.resIds.length),n(l,5,0,1==e.data.resIds.length),n(l,7,0,e.data.resIds.length>1)}),(function(n,l){n(l,1,0,l.component.lang.makeActionOn)}))}function FCn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","chooseMode"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"button",[["color","primary"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.loadEntities()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(4,0,null,0,0,"i",[["class","fa fa-sitemap"]],null,null,null,null,null)),(n()(),Lo(5,0,["",""])),(n()(),_o(6,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,3,"button",[["color","primary"],["mat-stroked-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.loadDestUser()&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(9,0,null,0,0,"i",[["class","fa fa-user"]],null,null,null,null,null)),(n()(),Lo(10,0,["",""]))],(function(n,l){n(l,3,0,"primary"),n(l,8,0,"primary")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,5,0,e.lang.toAService),n(l,7,0,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,10,0,e.lang.toAnUser)}))}function ECn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"div",[["class","alert-message alert-message-danger"],["role","alert"],["style","margin-top: 30px;"]],null,null,null,null,null)),(n()(),Lo(2,null,[" ",""]))],null,(function(n,l){n(l,2,0,l.component.lang.noSettingsAvailable)}))}function OCn(n){return jo(0,[(n()(),_o(0,0,null,null,25,"div",[["class","row"],["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,18,"div",[["class","redirectContent"],["style","flex:2"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"h2",[],null,null,null,null,null)),(n()(),Lo(3,null,[""," :"])),(n()(),_o(4,0,null,null,15,"div",[["class","contentEntities"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["floatLabel","never"]],[[4,"fontSize","px"],[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(6,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,3,{_controlNonStatic:0}),ko(335544320,4,{_controlStatic:0}),ko(603979776,5,{_labelChildNonStatic:0}),ko(335544320,6,{_labelChildStatic:0}),ko(603979776,7,{_placeholderChild:0}),ko(603979776,8,{_errorChildren:1}),ko(603979776,9,{_hintChildren:1}),ko(603979776,10,{_prefixChildren:1}),ko(603979776,11,{_suffixChildren:1}),(n()(),_o(16,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["name","jstree_search"],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,17)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,17)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,17)._onInput()&&t),t}),null,null)),Di(17,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[3,4],[4,4]],nT,null,[OT]),(n()(),_o(19,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,5,"div",[["class","redirectContent"],["style","flex:1;overflow: auto;"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,1,"h2",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(22,null,["",' "','" : '])),(n()(),_o(23,0,null,null,2,"div",[["class","contentEntities"]],null,null,null,null,null)),(n()(),_o(24,0,null,null,1,"app-diffusions-list",[],null,null,null,JW,TW)),Di(25,114688,[[1,4],["appDiffusionsList",4]],0,OW,[nS,tu,Te,Jv,$S,_u],{resId:[0,"resId"],keepDestForRedirection:[1,"keepDestForRedirection"],adminMode:[2,"adminMode"],target:[3,"target"]},null)],(function(n,l){var e=l.component;n(l,6,0,"outline","never"),n(l,17,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text"),n(l,25,0,e.injectDatasParam.resId,e.injectDatasParam.keepDestForRedirection,!0,"redirect")}),(function(n,l){var e=l.component;n(l,3,0,e.lang.redirectTo),n(l,5,1,[10,"standard"==bi(l,6).appearance,"fill"==bi(l,6).appearance,"outline"==bi(l,6).appearance,"legacy"==bi(l,6).appearance,bi(l,6)._control.errorState,bi(l,6)._canLabelFloat,bi(l,6)._shouldLabelFloat(),bi(l,6)._hasFloatingLabel(),bi(l,6)._hideControlPlaceholder(),bi(l,6)._control.disabled,bi(l,6)._control.autofilled,bi(l,6)._control.focused,"accent"==bi(l,6).color,"warn"==bi(l,6).color,bi(l,6)._shouldForward("untouched"),bi(l,6)._shouldForward("touched"),bi(l,6)._shouldForward("pristine"),bi(l,6)._shouldForward("dirty"),bi(l,6)._shouldForward("valid"),bi(l,6)._shouldForward("invalid"),bi(l,6)._shouldForward("pending"),!bi(l,6)._animationsEnabled]),n(l,16,0,bi(l,17)._isServer,bi(l,17).id,bi(l,17).placeholder,bi(l,17).disabled,bi(l,17).required,bi(l,17).readonly&&!bi(l,17)._isNativeSelect||null,bi(l,17)._ariaDescribedby||null,bi(l,17).errorState,bi(l,17).required.toString()),n(l,21,0,Wt(1,"",e.currentEntity.entity_label,"")),n(l,22,0,e.lang.diffusionList,e.currentEntity.entity_label)}))}function TCn(n){return jo(0,[(n()(),_o(0,0,null,null,17,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[21,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,15,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(3,704512,null,0,tI,[Pe],null,null),(n()(),_o(4,0,null,0,13,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(5,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,23,{_lines:1}),ko(603979776,24,{_avatar:0}),ko(603979776,25,{_icon:0}),(n()(),_o(9,0,null,0,2,"mat-icon",[["class","fa fa-user mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","padding-top:0px;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(11,16384,[[25,4]],0,iI,[],null,null),(n()(),_o(12,0,null,1,2,"h4",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(13,16384,[[23,4]],0,pv,[],null,null),(n()(),Lo(14,null,["",""])),(n()(),_o(15,0,null,1,2,"p",[["class","mat-line"],["mat-line",""],["style","opacity:0.5;line-height: 15px;font-size: 10px;"]],null,null,null,null,null)),Di(16,16384,[[23,4]],0,pv,[],null,null),(n()(),Lo(17,null,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit),n(l,10,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,4,0,bi(l,5)._avatar||bi(l,5)._icon,bi(l,5)._avatar||bi(l,5)._icon),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color),n(l,14,0,l.context.$implicit.labelToDisplay),n(l,17,0,l.context.$implicit.descriptionToDisplay)}))}function LCn(n){return jo(0,[(n()(),_o(0,0,null,null,15,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,13,"mat-list-item",[["class","mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(3,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,26,{_lines:1}),ko(603979776,27,{_avatar:0}),ko(603979776,28,{_icon:0}),(n()(),_o(7,0,null,0,2,"mat-icon",[["class","fa fa-2x fa-user mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(9,16384,[[28,4]],0,iI,[],null,null),(n()(),_o(10,0,null,1,2,"h4",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(11,16384,[[26,4]],0,pv,[],null,null),(n()(),Lo(12,null,["",""])),(n()(),_o(13,0,null,1,2,"p",[["class","mat-line"],["mat-line",""],["style","opacity:0.5;"]],null,null,null,null,null)),Di(14,16384,[[26,4]],0,pv,[],null,null),(n()(),Lo(15,null,[" "," "]))],(function(n,l){n(l,8,0,"primary")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._avatar||bi(l,3)._icon,bi(l,3)._avatar||bi(l,3)._icon),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,12,0,e.destUser.labelToDisplay),n(l,15,0,e.destUser.descriptionToDisplay)}))}function RCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noSelection"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noPerson)}))}function NCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.destinationChangingInfo),n(l,3,0,e.destUser.descriptionToDisplay)}))}function jCn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," "])),(n()(),_o(2,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),Lo(4,null,[" "," "])),(n()(),_o(5,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang.destinationChangingInfoMass),n(l,3,0,e.destUser.labelToDisplay),n(l,4,0,e.lang.destinationChangingInfoMass2),n(l,6,0,e.destUser.descriptionToDisplay)}))}function VCn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(-1,null,[" "])),(n()(),_o(4,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,2,0,e.oldUser.labelToDisplay),n(l,4,0,e.lang.willBeAutomaticallyInCopy)}))}function qCn(n){return jo(0,[(n()(),_o(0,0,null,null,42,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,27,"mat-form-field",[["appearance","outline"],["class","mat-form-field"],["floatLabel","never"]],[[4,"fontSize","px"],[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,12,{_controlNonStatic:0}),ko(335544320,13,{_controlStatic:0}),ko(603979776,14,{_labelChildNonStatic:0}),ko(335544320,15,{_labelChildStatic:0}),ko(603979776,16,{_placeholderChild:0}),ko(603979776,17,{_errorChildren:1}),ko(603979776,18,{_hintChildren:1}),ko(603979776,19,{_prefixChildren:1}),ko(603979776,20,{_suffixChildren:1}),(n()(),_o(12,16777216,null,1,8,"input",[["class","searchUserRedirect mat-autocomplete-trigger mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"click"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,14)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,14)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,14)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,14)._handleKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,19)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,19)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,19)._onInput()&&t),"click"===l&&(t=!1!==i.userRedirectCtrl.setValue("")&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(14,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(16,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(18,16384,null,0,y_,[[4,v_]],null,null),Di(19,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[12,4],[13,4]],nT,null,[OT]),(n()(),_o(21,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"],["isOpen","true"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.changeDest(e)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(23,1097728,[["auto",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,21,{options:1}),ko(603979776,22,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,TCn)),Di(27,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),_o(29,0,null,null,7,"div",[["class","redirectContent"],["style","flex:2"]],null,null,null,null,null)),(n()(),_o(30,0,null,null,1,"h2",[["style","top:-5px;"]],null,null,null,null,null)),(n()(),Lo(31,null,[""," :"])),(n()(),_o(32,0,null,null,4,"div",[["class","contentUser"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,LCn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,RCn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NCn)),Di(38,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jCn)),Di(40,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,VCn)),Di(42,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,"outline","never"),n(l,14,0,bi(l,23)),n(l,16,0,e.userRedirectCtrl),n(l,19,0,Wt(1,"",e.lang.searchNewAssignee,"")),n(l,27,0,bt(l,27,0,bi(l,28).transform(e.filteredUserRedirect))),n(l,34,0,null!=e.destUser),n(l,36,0,null==e.destUser),n(l,38,0,e.isDestinationChanging&&1==e.data.resIds.length),n(l,40,0,e.isDestinationChanging&&e.data.resIds.length>1),n(l,42,0,e.keepDestForRedirection&&null!=e.oldUser)}),(function(n,l){var e=l.component;n(l,1,1,[10,"standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,14).autocompleteAttribute,bi(l,14).autocompleteDisabled?null:"combobox",bi(l,14).autocompleteDisabled?null:"list",bi(l,14).panelOpen&&bi(l,14).activeOption?bi(l,14).activeOption.id:null,bi(l,14).autocompleteDisabled?null:bi(l,14).panelOpen.toString(),bi(l,14).autocompleteDisabled||!bi(l,14).panelOpen?null:null==bi(l,14).autocomplete?null:bi(l,14).autocomplete.id,!bi(l,14).autocompleteDisabled,bi(l,18).ngClassUntouched,bi(l,18).ngClassTouched,bi(l,18).ngClassPristine,bi(l,18).ngClassDirty,bi(l,18).ngClassValid,bi(l,18).ngClassInvalid,bi(l,18).ngClassPending,bi(l,19)._isServer,bi(l,19).id,bi(l,19).placeholder,bi(l,19).disabled,bi(l,19).required,bi(l,19).readonly&&!bi(l,19)._isNativeSelect||null,bi(l,19)._ariaDescribedby||null,bi(l,19).errorState,bi(l,19).required.toString()]),n(l,31,0,e.lang.newAssignee)}))}function zCn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(3,114688,[[2,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null)],(function(n,l){n(l,3,0,l.component.data.resIds)}),null)}function UCn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.component.checkValidity(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.validate)}))}function BCn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(1,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,UCn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6).dialogRef.close(bi(n,6).dialogResult)&&t),t}),PC,MC)),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(6,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(7,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,""!=e.redirectMode),n(l,5,0,e.loading),n(l,6,0)}),(function(n,l){var e=l.component;n(l,4,0,bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode,bi(l,6).ariaLabel||null,bi(l,6).type),n(l,7,0,e.lang.cancel)}))}function $Cn(n){return jo(0,[ko(671088640,1,{appDiffusionsList:0}),ko(671088640,2,{noteEditor:0}),(n()(),_o(2,0,null,null,22,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,['"','"'])),(n()(),_o(6,0,null,null,15,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],[[2,"fullWidth",null]],null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,ICn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,DCn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,FCn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ECn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,OCn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qCn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,zCn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(22,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,BCn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,!e.loading),n(l,13,0,""==e.redirectMode&&!e.loading),n(l,15,0,"none"==e.redirectMode&&!e.loading),n(l,17,0,"entity"==e.redirectMode),n(l,19,0,"user"==e.redirectMode),n(l,21,0,""!=e.redirectMode&&"none"!=e.redirectMode),n(l,24,0,!e.loading)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,6,0,"entity"==e.redirectMode)}))}function HCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,$Cn,SCn)),Di(1,114688,null,0,$un,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var GCn=oi("ng-component",$un,HCn,{},{},[]),WCn=yt({encapsulation:0,styles:[[".fullHeight[_ngcontent-%COMP%]{height:70vh}.fullWidth[_ngcontent-%COMP%]{width:70vw}.highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}"]],data:{}});function KCn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function YCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,1,0,e.lang[e.fatalError.reason])}))}function JCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.context.$implicit)}))}function ZCn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," :"])),(n()(),_o(2,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(3,0,null,null,3,"div",[["class","mailList"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,JCn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(7,0,null,null,0,"span",[],[[8,"innerHTML",1]],null,null,null,null))],(function(n,l){n(l,6,0,l.component.entitiesList)}),(function(n,l){var e=l.component;n(l,1,0,e.lang.noShippingTemplate),n(l,7,0,e.lang.doShippingParameter)}))}function QCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function XCn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function nkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function lkn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleIntegration(n.context.$implicit.key)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(2,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},null),(n()(),Lo(3,0,[""," "]))],(function(n,l){n(l,2,0,"primary",l.component.data.resource.integrations[l.context.$implicit.key])}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).id,null,bi(l,2).indeterminate,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang[l.context.$implicit.key+"_doc"])}))}function ekn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","padding:10px;display: flex;flex-direction: column;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,lkn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye])],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.integrationsInfo)))}),null)}function tkn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function ikn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"div",[["class","alert-message alert-message-info mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),Lo(5,null,[" "," "]))],null,(function(n,l){var e=l.component;n(l,4,0,e.attachList.length),n(l,5,0,e.lang.shippingReadyToSend)}))}function akn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.chrono),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function okn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"div",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,7,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,3,"p",[],null,null,null,null,null)),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""])),(n()(),Lo(6,null,[" "," : "])),(n()(),_o(7,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,akn)),Di(9,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,9,0,l.component.mailsNotSend)}),(function(n,l){var e=l.component;n(l,5,0,e.mailsNotSend.length),n(l,6,0,e.lang.shippingNotEligible)}))}function rkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang["maileva_"+l.context.$implicit])}))}function ukn(n){return jo(0,[(n()(),_o(0,0,null,null,42,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,41,"div",[["class","formType"],["style","flex-direction: column;"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(3,null,[" "," "])),(n()(),_o(4,0,null,null,38,"div",[["class","priceContent"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,12,"div",[["class","priceInfo"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,5,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(8,null,[" "," : "])),(n()(),_o(9,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,null,5,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(13,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(14,null,[" "," : "])),(n()(),_o(15,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,rkn)),Di(17,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(18,0,null,null,24,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(19,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,16,{_controlNonStatic:0}),ko(335544320,17,{_controlStatic:0}),ko(603979776,18,{_labelChildNonStatic:0}),ko(335544320,19,{_labelChildStatic:0}),ko(603979776,20,{_placeholderChild:0}),ko(603979776,21,{_errorChildren:1}),ko(603979776,22,{_hintChildren:1}),ko(603979776,23,{_prefixChildren:1}),ko(603979776,24,{_suffixChildren:1}),(n()(),_o(29,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["id","totalPrice"],["matInput",""],["name","totalPrice"],["required",""],["type","number"]],[[8,"title",0],[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,30)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,30).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,30)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,30)._compositionEnd(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,31).onChange(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,31).onChange(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,31).onTouched()&&t),"blur"===l&&(t=!1!==bi(n,38)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,38)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,38)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.currentShipping.fee=e)&&t),t}),null,null)),Di(30,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(31,16384,null,0,F_,[Te,Pe],null,null),Di(32,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,F_]),Di(35,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{name:[0,"name"],isDisabled:[1,"isDisabled"],model:[2,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(37,16384,null,0,y_,[[4,v_]],null,null),Di(38,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],id:[1,"id"],required:[2,"required"],type:[3,"type"]},null),Ei(2048,[[16,4],[17,4]],nT,null,[OT]),(n()(),_o(40,0,null,4,2,"span",[["matSuffix",""]],null,null,null,null,null)),Di(41,16384,[[24,4]],0,oT,[],null,null),(n()(),Lo(-1,null,[" €"]))],(function(n,l){var e=l.component;n(l,17,0,e.currentShipping.options.shapingOptions),n(l,19,0,"outline"),n(l,32,0,""),n(l,35,0,"totalPrice","",e.currentShipping.fee),n(l,38,0,"","totalPrice","","number")}),(function(n,l){var e=l.component;n(l,3,0,e.lang.pricesInformations),n(l,8,0,e.lang.sendMode),n(l,11,0,e.lang["maileva_"+e.currentShipping.options.sendMode]),n(l,14,0,e.lang.shapingOptions),n(l,18,1,["standard"==bi(l,19).appearance,"fill"==bi(l,19).appearance,"outline"==bi(l,19).appearance,"legacy"==bi(l,19).appearance,bi(l,19)._control.errorState,bi(l,19)._canLabelFloat,bi(l,19)._shouldLabelFloat(),bi(l,19)._hasFloatingLabel(),bi(l,19)._hideControlPlaceholder(),bi(l,19)._control.disabled,bi(l,19)._control.autofilled,bi(l,19)._control.focused,"accent"==bi(l,19).color,"warn"==bi(l,19).color,bi(l,19)._shouldForward("untouched"),bi(l,19)._shouldForward("touched"),bi(l,19)._shouldForward("pristine"),bi(l,19)._shouldForward("dirty"),bi(l,19)._shouldForward("valid"),bi(l,19)._shouldForward("invalid"),bi(l,19)._shouldForward("pending"),!bi(l,19)._animationsEnabled]),n(l,29,1,[Wt(1,"",e.lang.totalPrice,""),bi(l,32).required?"":null,bi(l,37).ngClassUntouched,bi(l,37).ngClassTouched,bi(l,37).ngClassPristine,bi(l,37).ngClassDirty,bi(l,37).ngClassValid,bi(l,37).ngClassInvalid,bi(l,37).ngClassPending,bi(l,38)._isServer,bi(l,38).id,bi(l,38).placeholder,bi(l,38).disabled,bi(l,38).required,bi(l,38).readonly&&!bi(l,38)._isNativeSelect||null,bi(l,38)._ariaDescribedby||null,bi(l,38).errorState,bi(l,38).required.toString()])}))}function skn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"img",[],[[8,"title",0],[8,"src",4]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(2,"",l.context.$implicit.chrono," : ",l.context.$implicit.title,""),Wt(2,"../../rest/","attachment"===l.context.$implicit.type?"attachments":"resources","/",l.context.$implicit.res_id,"/thumbnail"))}))}function ckn(n){return jo(0,[(n()(),_o(0,0,null,null,61,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(1,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(4,0,null,1,52,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(5,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(6,0,null,0,50,"div",[["class","row"],["style","margin: 0;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(8,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,QCn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,XCn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nkn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,null,1,null,ekn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(18,0,null,null,28,"div",[["class","col-md-12"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,27,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(20,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(30,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(31,16384,[[6,4],[7,4]],0,iT,[],null,null),(n()(),Lo(32,null,["",""])),(n()(),_o(33,0,null,1,13,"mat-select",[["class","mat-select"],["name","currentShipping"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,40)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,40)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,40)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentShipping=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(35,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(37,671744,null,0,_y,[[8,null],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(39,16384,null,0,y_,[[4,v_]],null,null),Di(40,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{required:[0,"required"]},null),ko(603979776,13,{options:1}),ko(603979776,14,{optionGroups:1}),ko(603979776,15,{customTrigger:0}),Ei(2048,[[4,4],[5,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,tkn)),Di(46,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,ikn)),Di(48,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,okn)),Di(50,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ukn)),Di(52,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(53,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(54,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(56,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(57,0,null,0,4,"mat-sidenav",[["class","mat-drawer mat-sidenav"],["fixedTopGap","56"],["mode","side"],["position","end"],["style","width: 50%;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,58)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,58)._animationDoneListener(e)&&t),t}),zO,qO)),Di(58,3325952,[[2,4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],opened:[2,"opened"],fixedTopGap:[3,"fixedTopGap"]},null),(n()(),_o(59,0,null,0,2,"div",[["class","pjList"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,skn)),Di(61,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,""),n(l,5,0),n(l,10,0,0===e.data.resIds.length),n(l,12,0,1==e.data.resIds.length),n(l,14,0,e.data.resIds.length>1),n(l,17,0,e.data.resIds.length>0),n(l,35,0,""),n(l,37,0,"currentShipping",e.currentShipping),n(l,40,0,""),n(l,46,0,e.shippings),n(l,48,0,e.attachList.length>0),n(l,50,0,e.mailsNotSend.length>0),n(l,52,0,null!=e.currentShipping),n(l,56,0,e.data.resIds),n(l,58,0,"end","side",e.attachList.length>0,"56"),n(l,61,0,e.attachList)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._backdropOverride),n(l,4,0,bi(l,5)._container._contentMargins.left,bi(l,5)._container._contentMargins.right),n(l,8,0,e.lang.makeActionOn),n(l,19,1,["standard"==bi(l,20).appearance,"fill"==bi(l,20).appearance,"outline"==bi(l,20).appearance,"legacy"==bi(l,20).appearance,bi(l,20)._control.errorState,bi(l,20)._canLabelFloat,bi(l,20)._shouldLabelFloat(),bi(l,20)._hasFloatingLabel(),bi(l,20)._hideControlPlaceholder(),bi(l,20)._control.disabled,bi(l,20)._control.autofilled,bi(l,20)._control.focused,"accent"==bi(l,20).color,"warn"==bi(l,20).color,bi(l,20)._shouldForward("untouched"),bi(l,20)._shouldForward("touched"),bi(l,20)._shouldForward("pristine"),bi(l,20)._shouldForward("dirty"),bi(l,20)._shouldForward("valid"),bi(l,20)._shouldForward("invalid"),bi(l,20)._shouldForward("pending"),!bi(l,20)._animationsEnabled]),n(l,32,0,e.lang.shippings),n(l,33,1,[bi(l,35).required?"":null,bi(l,39).ngClassUntouched,bi(l,39).ngClassTouched,bi(l,39).ngClassPristine,bi(l,39).ngClassDirty,bi(l,39).ngClassValid,bi(l,39).ngClassInvalid,bi(l,39).ngClassPending,bi(l,40).id,bi(l,40).tabIndex,bi(l,40)._getAriaLabel(),bi(l,40)._getAriaLabelledby(),bi(l,40).required.toString(),bi(l,40).disabled.toString(),bi(l,40).errorState,bi(l,40).panelOpen?bi(l,40)._optionIds:null,bi(l,40).multiple,bi(l,40)._ariaDescribedby||null,bi(l,40)._getAriaActiveDescendant(),bi(l,40).disabled,bi(l,40).errorState,bi(l,40).required,bi(l,40).empty]),n(l,57,0,null,"end"===bi(l,58).position,"over"===bi(l,58).mode,"push"===bi(l,58).mode,"side"===bi(l,58).mode,bi(l,58).opened,bi(l,58).fixedInViewport,bi(l,58).fixedInViewport?bi(l,58).fixedTopGap:null,bi(l,58).fixedInViewport?bi(l,58).fixedBottomGap:null,bi(l,58)._animationState)}))}function dkn(n){return jo(0,[ko(671088640,1,{noteEditor:0}),(n()(),_o(1,0,null,null,23,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,9,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],[[2,"fullWidth",null],[2,"fullHeight",null]],null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,KCn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,YCn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ZCn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ckn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(17,16384,null,0,l_,[],null,null),(n()(),_o(18,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(19,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(20,0,["",""])),(n()(),_o(21,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,23).dialogRef.close(bi(n,23).dialogResult)&&t),t}),PC,MC)),Di(22,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(23,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(24,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,10,0,!e.functions.empty(e.fatalError)),n(l,12,0,e.functions.empty(e.fatalError)&&0==e.shippings.length),n(l,14,0,e.shippings.length>0),n(l,19,0,e.loading||null==e.currentShipping||0==e.attachList.length,"primary"),n(l,22,0,e.loading),n(l,23,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,5,0,e.shippings.length>0,e.shippings.length>0),n(l,18,0,bi(l,19).disabled||null,"NoopAnimations"===bi(l,19)._animationMode),n(l,20,0,e.lang.validate),n(l,21,0,bi(l,22).disabled||null,"NoopAnimations"===bi(l,22)._animationMode,bi(l,23).ariaLabel||null,bi(l,23).type),n(l,24,0,e.lang.cancel)}))}function pkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,dkn,WCn)),Di(1,114688,null,0,Hun,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var mkn=oi("ng-component",Hun,pkn,{},{},[]),fkn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden}.acknowledgementList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.acknowledgementList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.acknowledgementList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}"]],data:{}});function hkn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function gkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function bkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function vkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.context.$implicit)}))}function _kn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"div",[["class","alert-message alert-message-danger acknowledgementList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," : "])),(n()(),_o(4,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,vkn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,6,0,l.component.resourcesInfo.withoutEntity)}),(function(n,l){n(l,3,0,l.component.lang.hasNoEntity)}))}function ykn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","alert-message alert-message-success"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," "]))],null,(function(n,l){n(l,3,0,l.component.lang.destUserSetToDefault)}))}function wkn(n){return jo(0,[(n()(),_o(0,0,null,null,19,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(1,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,hkn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,15,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,10,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,gkn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bkn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,null,1,null,_kn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ykn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(19,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.loading),n(l,8,0,1==e.data.resIds.length),n(l,10,0,e.data.resIds.length>1),n(l,13,0,e.resourcesInfo.withoutEntity.length>0),n(l,15,0,e.resourcesInfo.withEntity.length>0),n(l,19,0,e.data.resIds)}),(function(n,l){n(l,6,0,l.component.lang.makeActionOn)}))}function xkn(n){return jo(0,[ko(671088640,1,{noteEditor:0}),(n()(),_o(1,0,null,null,15,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,null,1,null,wkn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(9,16384,null,0,l_,[],null,null),(n()(),_o(10,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(12,0,["",""])),(n()(),_o(13,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,15).dialogRef.close(bi(n,15).dialogResult)&&t),t}),PC,MC)),Di(14,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(15,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(16,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,6,0,!e.loadingInit),n(l,11,0,e.loading||0==e.resourcesInfo.withEntity.length,"primary"),n(l,14,0,e.loading),n(l,15,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,10,0,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,12,0,e.lang.validate),n(l,13,0,bi(l,14).disabled||null,"NoopAnimations"===bi(l,14)._animationMode,bi(l,15).ariaLabel||null,bi(l,15).type),n(l,16,0,e.lang.cancel)}))}function Ckn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,xkn,fkn)),Di(1,114688,null,0,Gun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var kkn=oi("ng-component",Gun,Ckn,{},{},[]),Skn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden}.acknowledgementList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.acknowledgementList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.acknowledgementList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}"]],data:{}});function Ikn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Akn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Mkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function Pkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.context.$implicit)}))}function Dkn(n){return jo(0,[(n()(),_o(0,0,null,null,9,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"div",[["class","alert-message alert-message-info acknowledgementList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," : "])),(n()(),_o(4,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Pkn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(7,0,null,null,2,"div",[["class","alert-message alert-message-danger"],["role","alert"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(9,null,[" "," "]))],(function(n,l){n(l,6,0,l.component.resourcesInfo.noAttachmentsNotes)}),(function(n,l){var e=l.component;n(l,3,0,e.lang.hasNoAttachmentsNotes),n(l,9,0,e.lang.closeMailAddNoteMandatory)}))}function Fkn(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(1,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Ikn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,14,"div",[["class","row"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,9,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Akn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Mkn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(12,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Dkn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,null,3,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(18,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.loading),n(l,8,0,1==e.data.resIds.length),n(l,10,0,e.data.resIds.length>1),n(l,14,0,e.resourcesInfo.noAttachmentsNotes.length>0),n(l,18,0,e.data.resIds)}),(function(n,l){var e=l.component;n(l,6,0,e.lang.makeActionOn),n(l,12,0,e.lang.updateClosingDate)}))}function Ekn(n){return jo(0,[ko(671088640,1,{noteEditor:0}),(n()(),_o(1,0,null,null,15,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,null,1,null,Fkn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(8,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(9,16384,null,0,l_,[],null,null),(n()(),_o(10,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(12,0,["",""])),(n()(),_o(13,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,15).dialogRef.close(bi(n,15).dialogResult)&&t),t}),PC,MC)),Di(14,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(15,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(16,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,6,0,!e.loadingInit),n(l,11,0,e.loading||void 0!==e.resourcesInfo.noAttachmentsNotes&&e.resourcesInfo.noAttachmentsNotes.length>0&&!e.checkNote(),"primary"),n(l,14,0,e.loading),n(l,15,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,10,0,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,12,0,e.lang.validate),n(l,13,0,bi(l,14).disabled||null,"NoopAnimations"===bi(l,14)._animationMode,bi(l,15).ariaLabel||null,bi(l,15).type),n(l,16,0,e.lang.cancel)}))}function Okn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Ekn,Skn)),Di(1,114688,null,0,Wun,[nS,tu,Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var Tkn=oi("ng-component",Wun,Okn,{},{},[]),Lkn=yt({encapsulation:0,styles:[[".mat-dialog-content-container[_ngcontent-%COMP%]{min-height:500px}.highlight[_ngcontent-%COMP%]{font-size:110%}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.mailList[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{font-size:12px;max-height:100px;overflow:auto;padding-left:25px;padding-right:5px;padding-bottom:10px;margin-top:10px}.mailList[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;text-decoration:underline}.mailList[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{font-size:120%}.formType[_ngcontent-%COMP%]{-webkit-box-align:center;align-items:center;display:-webkit-box;display:flex;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:10px;font-weight:700;background:#fff;position:absolute;top:-7px;left:10px;padding:0;margin:0;color:#135f7f}.formType[_ngcontent-%COMP%] .mat-form-field-suffix{color:#f99830;font-size:15px;top:0}.formType[_ngcontent-%COMP%] .mat-form-field-wrapper{padding:0}.priceContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:end;justify-content:flex-end;width:100%}.priceContent-label[_ngcontent-%COMP%]{text-align:right;color:#135f7f;-webkit-box-flex:1;flex:1;-webkit-box-pack:end;justify-content:flex-end;display:-webkit-box;display:flex;padding-right:10px}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:90px!important}.priceContent[_ngcontent-%COMP%] .mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-weight:700;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.priceInfo[_ngcontent-%COMP%]{padding-right:20px;font-size:10px;opacity:.5;width:100%}.pjList[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;overflow:auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background:#666}.pjList[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin:10px}.checked[_ngcontent-%COMP%]{opacity:1;color:#f99830}.unchecked[_ngcontent-%COMP%]{opacity:.5}"]],data:{}});function Rkn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function Nkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function jkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function Vkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function qkn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleIntegration(n.context.$implicit.key)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(2,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"]},null),(n()(),Lo(3,0,[" ",""]))],(function(n,l){n(l,2,0,"primary",l.component.data.resource.integrations[l.context.$implicit.key])}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).id,null,bi(l,2).indeterminate,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,e.lang[l.context.$implicit.key+"_doc"])}))}function zkn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","padding:10px;display: flex;flex-direction: column;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,2,null,qkn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye])],(function(n,l){var e=l.component;n(l,2,0,bt(l,2,0,bi(l,3).transform(e.integrationsInfo)))}),null)}function Ukn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function Bkn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,Ukn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesError)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function $kn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""]))],null,(function(n,l){n(l,2,0,l.context.$implicit.alt_identifier)}))}function Hkn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$kn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesMailing)}),(function(n,l){n(l,2,0,l.component.lang.mailingActionInformations)}))}function Gkn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(2,114688,[[2,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"]},null)],(function(n,l){n(l,2,0,!0)}),null)}function Wkn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(3,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null)],(function(n,l){n(l,3,0,l.component.data.resIds)}),null)}function Kkn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-attachments-list",[],null,[[null,"afterActionAttachment"]],(function(n,l,e){var t=!0;return"afterActionAttachment"===l&&(t=!1!==n.component.afterAttachmentToggle()&&t),t}),scn,Usn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,zsn,[nS,tu,Jv,yu,_u,TI],{resId:[0,"resId"]},{afterActionAttachment:"afterActionAttachment"})],(function(n,l){n(l,2,0,l.component.data.resIds[0])}),null)}function Ykn(n){return jo(0,[ko(671088640,1,{noteEditor:0}),ko(671088640,2,{appVisaWorkflow:0}),(n()(),_o(2,0,null,null,49,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,35,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Rkn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,31,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"],["style","height:100%;"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(11,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(14,0,null,1,20,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;padding:10px;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(15,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(16,0,null,0,8,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,Nkn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jkn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,Vkn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),vo(16777216,null,0,1,null,zkn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Bkn)),Di(28,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Hkn)),Di(30,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Gkn)),Di(32,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,Wkn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(35,0,null,0,6,"mat-sidenav",[["autoFocus","false"],["class","mat-drawer mat-sidenav"],["mode","side"],["position","end"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,39)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,39)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(37,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(38,{width:0}),Di(39,3325952,[[3,4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"],opened:[3,"opened"]},null),(n()(),vo(16777216,null,0,1,null,Kkn)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(42,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(43,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(44,16384,null,0,l_,[],null,null),(n()(),_o(45,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(46,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(47,0,["",""])),(n()(),_o(48,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,50).dialogRef.close(bi(n,50).dialogResult)&&t),t}),PC,MC)),Di(49,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(50,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(51,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,11,0,""),n(l,15,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,26,0,e.data.resIds.length>0),n(l,28,0,e.resourcesError.length>0),n(l,30,0,e.resourcesMailing.length>0&&""!=e.appVisaWorkflow.getFirstVisaUser()&&e.appVisaWorkflow.visaWorkflow.items[0].requested_signature),n(l,32,0,!e.noResourceToProcess),n(l,34,0,!e.noResourceToProcess);var t=n(l,38,0,"400px");n(l,37,0,t),n(l,39,0,"end","side","false",1===e.data.resIds.length&&e.noResourceToProcess),n(l,41,0,1===e.data.resIds.length&&e.noResourceToProcess),n(l,46,0,e.loading||!e.isValidAction(),"primary"),n(l,49,0,e.loading),n(l,50,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,10,0,bi(l,11)._backdropOverride),n(l,14,0,bi(l,15)._container._contentMargins.left,bi(l,15)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,35,0,null,"end"===bi(l,39).position,"over"===bi(l,39).mode,"push"===bi(l,39).mode,"side"===bi(l,39).mode,bi(l,39).opened,bi(l,39).fixedInViewport,bi(l,39).fixedInViewport?bi(l,39).fixedTopGap:null,bi(l,39).fixedInViewport?bi(l,39).fixedBottomGap:null,bi(l,39)._animationState),n(l,45,0,bi(l,46).disabled||null,"NoopAnimations"===bi(l,46)._animationMode),n(l,47,0,e.lang.validate),n(l,48,0,bi(l,49).disabled||null,"NoopAnimations"===bi(l,49)._animationMode,bi(l,50).ariaLabel||null,bi(l,50).type),n(l,51,0,e.lang.cancel)}))}function Jkn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,Ykn,Lkn)),Di(1,4243456,null,0,Kun,[nS,tu,Hv,Gv,$S],null,null)],null,null)}var Zkn=oi("ng-component",Kun,Jkn,{},{},[]),Qkn=yt({encapsulation:0,styles:[[".loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:2;overflow:hidden}.smallInput[_ngcontent-%COMP%]{font-size:9px;padding-left:20px;padding-right:20px}.smallInput[_ngcontent-%COMP%] .mat-form-field-flex{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.smallInput[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{height:auto}#jstreeAlfresco[_ngcontent-%COMP%]{max-height:300px;overflow:auto}#jstreeAlfresco[_ngcontent-%COMP%] .jstree-anchor .jstree-icon{color:#135f7f!important}#jstreeAlfresco[_ngcontent-%COMP%] .jstree-clicked .jstree-icon, #jstreeAlfresco[_ngcontent-%COMP%] .jstree-hovered .jstree-icon{color:#fff!important}"]],data:{}});function Xkn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function nSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function lSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function eSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function tSn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function iSn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["role","alert"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tSn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function aSn(n){return jo(0,[ko(402653184,1,{noteEditor:0}),(n()(),_o(1,0,null,null,63,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,50,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,Xkn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,46,"mat-sidenav-container",[["autosize",""],["class","mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(10,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),_o(13,0,null,1,42,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"],["style","background: white;"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(14,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(15,0,null,0,40,"div",[["class","row"],["style","margin: 0;"]],null,null,null,null,null)),(n()(),_o(16,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,nSn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,lSn)),Di(21,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,eSn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(25,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,iSn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,null,23,"div",[["style","clear: both;"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,21,"mat-form-field",[["appearance","outline"],["class","smallInput mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(30,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(40,0,null,0,2,"mat-icon",[["class","fa fa-search mat-icon notranslate"],["color","primary"],["matPrefix",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(41,16384,[[11,4]],0,aT,[],null,null),Di(42,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(43,0,[["autoCompleteInput",1]],1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","autoCompleteInput"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,44)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,44).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,44)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,44)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,49)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,49)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,49)._onInput()&&t),t}),null,null)),Di(44,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(46,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(48,16384,null,0,y_,[[4,v_]],null,null),Di(49,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT]),(n()(),_o(51,0,null,null,0,"div",[["id","jstreeAlfresco"]],null,null,null,null,null)),(n()(),_o(52,0,null,null,3,"div",[["class","col-md-12"],["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(53,0,null,null,2,"app-note-editor",[],null,null,null,xsn,dsn)),Ei(512,null,tu,tu,[uf,hk]),Di(55,114688,[[1,4],["noteEditor",4]],0,xun,[nS,tu,_u,$S,QS],{resIds:[0,"resIds"]},null),(n()(),_o(56,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(57,16384,null,0,l_,[],null,null),(n()(),_o(58,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(59,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(60,0,["",""])),(n()(),_o(61,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,63).dialogRef.close(bi(n,63).dialogResult)&&t),t}),PC,MC)),Di(62,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(63,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(64,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,8,0,e.loading),n(l,10,0,""),n(l,14,0),n(l,19,0,0===e.data.resIds.length),n(l,21,0,1==e.data.resIds.length),n(l,23,0,e.data.resIds.length>1),n(l,27,0,e.resourcesErrors.length>0),n(l,30,0,"outline","never"),n(l,42,0,"primary"),n(l,46,0,e.searchFolder),n(l,49,0,"autoCompleteInput","Recherche un dossier","text"),n(l,55,0,e.data.resIds),n(l,59,0,e.loading||!e.isValidAction(),"primary"),n(l,62,0,e.loading),n(l,63,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.action.label),n(l,9,0,bi(l,10)._backdropOverride),n(l,13,0,bi(l,14)._container._contentMargins.left,bi(l,14)._container._contentMargins.right),n(l,17,0,e.lang.makeActionOn),n(l,29,1,["standard"==bi(l,30).appearance,"fill"==bi(l,30).appearance,"outline"==bi(l,30).appearance,"legacy"==bi(l,30).appearance,bi(l,30)._control.errorState,bi(l,30)._canLabelFloat,bi(l,30)._shouldLabelFloat(),bi(l,30)._hasFloatingLabel(),bi(l,30)._hideControlPlaceholder(),bi(l,30)._control.disabled,bi(l,30)._control.autofilled,bi(l,30)._control.focused,"accent"==bi(l,30).color,"warn"==bi(l,30).color,bi(l,30)._shouldForward("untouched"),bi(l,30)._shouldForward("touched"),bi(l,30)._shouldForward("pristine"),bi(l,30)._shouldForward("dirty"),bi(l,30)._shouldForward("valid"),bi(l,30)._shouldForward("invalid"),bi(l,30)._shouldForward("pending"),!bi(l,30)._animationsEnabled]),n(l,40,0,bi(l,42).inline,"primary"!==bi(l,42).color&&"accent"!==bi(l,42).color&&"warn"!==bi(l,42).color),n(l,43,1,[bi(l,48).ngClassUntouched,bi(l,48).ngClassTouched,bi(l,48).ngClassPristine,bi(l,48).ngClassDirty,bi(l,48).ngClassValid,bi(l,48).ngClassInvalid,bi(l,48).ngClassPending,bi(l,49)._isServer,bi(l,49).id,bi(l,49).placeholder,bi(l,49).disabled,bi(l,49).required,bi(l,49).readonly&&!bi(l,49)._isNativeSelect||null,bi(l,49)._ariaDescribedby||null,bi(l,49).errorState,bi(l,49).required.toString()]),n(l,58,0,bi(l,59).disabled||null,"NoopAnimations"===bi(l,59)._animationMode),n(l,60,0,e.lang.validate),n(l,61,0,bi(l,62).disabled||null,"NoopAnimations"===bi(l,62)._animationMode,bi(l,63).ariaLabel||null,bi(l,63).type),n(l,64,0,e.lang.cancel)}))}function oSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,aSn,Qkn)),Di(1,114688,null,0,esn,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var rSn=oi("ng-component",esn,oSn,{},{},[]),uSn=yt({encapsulation:0,styles:[[""]],data:{}});function sSn(n){return jo(0,[(n()(),_o(0,0,null,null,15,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(3,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(4,null,[" "," "])),(n()(),_o(5,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,7).dialogRef.close(bi(n,7).dialogResult)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(7,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","fa fa-times-circle fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(10,0,null,null,5,"div",[["class","mat-dialog-content"],["mat-dialog-content",""],["style","min-height: 200px;"]],null,null,null,null,null)),Di(11,16384,null,0,n_,[],null,null),(n()(),_o(12,0,null,null,3,"app-document-viewer",[["style","display:block;height:100%;width:100%;overflow: auto;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(15,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{resId:[0,"resId"],editMode:[1,"editMode"],title:[2,"title"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0),n(l,9,0),n(l,15,0,e.data.resource.resId,!1,e.data.resource.chrono+" - "+e.data.resource.subject)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,4,0,e.data.resource.chrono),n(l,5,0,Wt(1,"",e.lang.close,""),bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode,bi(l,7).ariaLabel||null,bi(l,7).type),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function cSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,sSn,uSn)),Di(1,114688,null,0,Lun,[Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var dSn=oi("ng-component",Lun,cSn,{},{},[]),pSn=function(){function n(n,l,e,t,i){this.http=n,this.notify=l,this.dialogRef=e,this.functions=t,this.data=i,this.lang=Kr,this.folder={id:0,label:"",public:!0,user_id:0,parent_id:null,level:0,sharing:{entities:[]}},this.sharingFolderCLone=[],this.holdShift=!1,this.entities=[]}return n.prototype.onKeydownHandler=function(n){this.holdShift=!0},n.prototype.onKeyupHandler=function(n){this.holdShift=!1},n.prototype.ngOnInit=function(){this.getFolder()},n.prototype.getFolder=function(){var n=this;this.http.get("../../rest/folders/"+this.data.folderId).pipe(Yr((function(l){return n.folder=l.folder})),MN((function(){return n.http.get("../../rest/entities")})),q((function(l){return l.entities.unshift({serialId:"ALL_ENTITIES",keyword:"ALL_ENTITIES",parent:"#",icon:"fa fa-hashtag",allowed:!0,text:n.lang.allEntities,state:{opened:!1,selected:!1},parent_entity_id:"",id:"ALL_ENTITIES",entity_label:n.lang.allEntities}),n.entities=l.entities,l.entities.forEach((function(l){(n.folder.sharing.entities.map((function(n){return n.entity_id})).indexOf(l.serialId)>-1||n.folder.sharing.entities.map((function(n){return n.keyword})).indexOf(l.serialId)>-1)&&(l.state.selected=!0),l.state.allowed=!0,l.state.disabled=!1})),l})),Yr((function(l){n.initEntitiesTree(l.entities)})),MN((function(){return n.http.get("../../rest/folders")})),q((function(l){var e=0;return l.folders.forEach((function(l){l.state={opened:!0},null===l.parent_id&&(l.parent_id="#"),l.id===n.folder.parent_id&&(l.state.selected=!0),l.id!==n.folder.id&&e!==l.parent_id&&l.canEdit||(e=l.id,l.state.opened=!1,l.state.disabled=!0),l.parent=l.parent_id,l.text=l.label})),l})),Yr((function(l){n.initFoldersTree(l.folders)})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)})),iu((function(){return n.sharingFolderCLone=JSON.parse(JSON.stringify(n.folder.sharing.entities))}))).subscribe()},n.prototype.initFoldersTree=function(n){var l=this;$j("#jstreeFolders").jstree({checkbox:{deselect_all:!0,three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},multiple:!1,data:n},plugins:["checkbox","search"]}),$j("#jstreeFolders").on("select_node.jstree",(function(n,e){l.folder.parent_id=e.node.original.id})).on("deselect_node.jstree",(function(n,e){l.folder.parent_id=""})).jstree();var e=!1;$j("#jstree_searchFolders").keyup((function(){e&&clearTimeout(e),e=setTimeout((function(){var n=$j("#jstree_searchFolders").val();$j("#jstreeFolders").jstree(!0).search(n)}),250)}))},n.prototype.initEntitiesTree=function(n){var l=this;$j("#jstree").jstree({checkbox:{three_state:!1},core:{force_text:!0,themes:{name:"proton",responsive:!0},data:n},plugins:["checkbox","search"]}),$j("#jstree").on("select_node.jstree",(function(n,e){l.selectEntity(e.node.original)})).on("deselect_node.jstree",(function(n,e){l.deselectEntity(e.node.original)})).jstree();var e=!1;$j("#jstree_search").keyup((function(){e&&clearTimeout(e),e=setTimeout((function(){var n=$j("#jstree_search").val();$j("#jstree").jstree(!0).search(n)}),250)}))},n.prototype.selectEntity=function(n){this.holdShift?($j("#jstree").jstree("deselect_all"),this.folder.sharing.entities=[]):this.functions.empty(n.keyword)?this.folder.sharing.entities.push({entity_id:n.serialId,edition:!1}):this.folder.sharing.entities.push({keyword:n.keyword,edition:!1})},n.prototype.deselectEntity=function(n){var l=this.folder.sharing.entities.map((function(n){return n.entity_id})).indexOf(n.serialId);l>-1?this.folder.sharing.entities.splice(l,1):(l=this.folder.sharing.entities.map((function(n){return n.keyword})).indexOf(n.serialId))>-1&&this.folder.sharing.entities.splice(l,1)},n.prototype.onSubmit=function(){var n=this;this.http.put("../../rest/folders/"+this.folder.id,this.folder).pipe(MN((function(){return JSON.stringify(n.sharingFolderCLone)!==JSON.stringify(n.folder.sharing.entities)?n.http.put("../../rest/folders/"+n.folder.id+"/sharing",{public:n.folder.sharing.entities.length>0,sharing:n.folder.sharing}):lu(!1)})),Yr((function(){n.notify.success(n.lang.folderUpdated),n.dialogRef.close("success")})),Qr((function(l){return n.notify.handleErrors(l),lu(!1)}))).subscribe()},n.prototype.checkSelectedFolder=function(n){return this.folder.sharing.entities.map((function(n){return n.entity_id})).indexOf(n.serialId)>-1||this.folder.sharing.entities.map((function(n){return n.keyword})).indexOf(n.serialId)>-1},n.prototype.initService=function(n){1==n.index&&this.initEntitiesTree(this.entities)},n.prototype.toggleAdmin=function(n,l){var e=this.folder.sharing.entities.map((function(n){return n.entity_id})).indexOf(n.serialId);e>-1?this.folder.sharing.entities[e].edition=l.checked:(e=this.folder.sharing.entities.map((function(n){return n.keyword})).indexOf(n.serialId))>-1&&(this.folder.sharing.entities[e].edition=l.checked)},n.prototype.isAdminEnabled=function(n){var l=this.folder.sharing.entities.map((function(n){return n.entity_id})).indexOf(n.serialId);return l>-1?this.folder.sharing.entities[l].edition:(l=this.folder.sharing.entities.map((function(n){return n.keyword})).indexOf(n.serialId))>-1&&this.folder.sharing.entities[l].edition},n}(),mSn=yt({encapsulation:0,styles:[[".mat-form-field-appearance-outline[_ngcontent-%COMP%]{font-size:11px}.formType[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:10px;border-radius:4px;border:1px solid #ccc;position:relative;padding:10px}.formType-title[_ngcontent-%COMP%]{white-space:pre;overflow:hidden;max-width:85%;text-overflow:ellipsis;z-index:1;font-size:20px;font-weight:700;background:#fff;position:absolute;top:-18px;left:10px;padding:0;margin:0;color:#135f7f}.entitiesList[_ngcontent-%COMP%]{overflow:auto}.selectedEntities[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}"]],data:{}});function fSn(n){return jo(0,[(n()(),_o(0,16777216,null,null,14,"mat-expansion-panel",[["class","selectedEntities mat-expansion-panel"],["opened",""]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,33,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,1,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,13)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=!1!==i.toggleAdmin(n.parent.context.$implicit,e)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(13,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),Lo(14,0,[""," "])),(n()(),vo(0,null,null,0))],(function(n,l){n(l,13,0,"primary",l.component.isAdminEnabled(l.parent.context.$implicit))}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,0,l.parent.context.$implicit.entity_label),n(l,11,0,bi(l,13).id,bi(l,13).disabled?null:-1,bi(l,13).checked,bi(l,13).disabled,"before"==bi(l,13).labelPosition,"NoopAnimations"===bi(l,13)._animationMode),n(l,14,0,e.lang.canManageFolder)}))}function hSn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,fSn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.checkSelectedFolder(l.context.$implicit))}),null)}function gSn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"div",[["class","formType jstreeEntities"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"div",[["class","formType-title"]],null,null,null,null,null)),(n()(),Lo(3,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,hSn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.entities)}),(function(n,l){n(l,3,0,l.component.lang.parameters)}))}function bSn(n){return jo(0,[(n()(),_o(0,0,null,null,84,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,[""," : ",""])),(n()(),_o(4,0,null,null,71,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,69,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,8).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,8).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(7,16384,null,0,yy,[],null,null),Di(8,4210688,[["submitForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(10,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(11,0,null,null,19,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(12,0,null,null,18,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(13,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(23,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["name","label"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,24)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,24).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,24)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,24)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,29)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,29)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,29)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.folder.label=e)&&t),t}),null,null)),Di(24,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(26,671744,null,0,_y,[[2,g_],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(28,16384,null,0,y_,[[4,v_]],null,null),Di(29,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(31,0,null,null,44,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(32,0,null,null,43,"mat-tab-group",[["class","mat-tab-group"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedTabChange"]],(function(n,l,e){var t=!0;return"selectedTabChange"===l&&(t=!1!==n.component.initService(e)&&t),t}),LV,PV)),Di(33,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],null,{selectedTabChange:"selectedTabChange"}),ko(603979776,10,{_tabs:1}),(n()(),_o(35,16777216,null,null,18,"mat-tab",[],null,null,null,BV,zV)),Di(36,770048,[[10,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,11,{templateLabel:0}),ko(335544320,12,{_explicitContent:0}),(n()(),_o(39,0,null,0,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(40,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,13,{_controlNonStatic:0}),ko(335544320,14,{_controlStatic:0}),ko(603979776,15,{_labelChildNonStatic:0}),ko(335544320,16,{_labelChildStatic:0}),ko(603979776,17,{_placeholderChild:0}),ko(603979776,18,{_errorChildren:1}),ko(603979776,19,{_hintChildren:1}),ko(603979776,20,{_prefixChildren:1}),ko(603979776,21,{_suffixChildren:1}),(n()(),_o(50,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_searchFolders"],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,51)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,51)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,51)._onInput()&&t),t}),null,null)),Di(51,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[13,4],[14,4]],nT,null,[OT]),(n()(),_o(53,0,null,0,0,"div",[["class","entitiesList"],["id","jstreeFolders"]],null,null,null,null,null)),(n()(),_o(54,16777216,null,null,21,"mat-tab",[],null,null,null,BV,zV)),Di(55,770048,[[10,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,22,{templateLabel:0}),ko(335544320,23,{_explicitContent:0}),(n()(),_o(58,0,null,0,15,"div",[],[[2,"col-md-12",null],[2,"col-md-6",null]],null,null,null,null)),(n()(),_o(59,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(60,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,24,{_controlNonStatic:0}),ko(335544320,25,{_controlStatic:0}),ko(603979776,26,{_labelChildNonStatic:0}),ko(335544320,27,{_labelChildStatic:0}),ko(603979776,28,{_placeholderChild:0}),ko(603979776,29,{_errorChildren:1}),ko(603979776,30,{_hintChildren:1}),ko(603979776,31,{_prefixChildren:1}),ko(603979776,32,{_suffixChildren:1}),(n()(),_o(70,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","jstree_search"],["matInput",""],["type","text"]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,71)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,71)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,71)._onInput()&&t),t}),null,null)),Di(71,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"],type:[2,"type"]},null),Ei(2048,[[24,4],[25,4]],nT,null,[OT]),(n()(),_o(73,0,null,null,0,"div",[["class","entitiesList"],["id","jstree"]],null,null,null,null,null)),(n()(),vo(16777216,null,0,1,null,gSn)),Di(75,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(76,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(77,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(78,16384,null,0,l_,[],null,null),(n()(),_o(79,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8).ngSubmit.emit()&&t),t}),PC,MC)),Di(80,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(81,0,["",""])),(n()(),_o(82,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(83,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(84,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,26,0,"label",e.folder.label),n(l,29,0,Wt(1,"",e.lang.label,"")),n(l,36,0,Wt(1,"",e.lang.setInParentFolder,"")),n(l,40,0,"outline"),n(l,51,0,"jstree_searchFolders",Wt(1,"",e.lang.searchFolder,""),"text"),n(l,55,0,Wt(1,"",e.lang.shareToEntities,"")),n(l,60,0,"outline"),n(l,71,0,"jstree_search",Wt(1,"",e.lang.searchEntities,""),"text"),n(l,75,0,e.folder.sharing.entities.length>0),n(l,80,0,"primary"),n(l,83,0,"default")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.folder,e.folder.label),n(l,6,0,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending),n(l,12,1,["standard"==bi(l,13).appearance,"fill"==bi(l,13).appearance,"outline"==bi(l,13).appearance,"legacy"==bi(l,13).appearance,bi(l,13)._control.errorState,bi(l,13)._canLabelFloat,bi(l,13)._shouldLabelFloat(),bi(l,13)._hasFloatingLabel(),bi(l,13)._hideControlPlaceholder(),bi(l,13)._control.disabled,bi(l,13)._control.autofilled,bi(l,13)._control.focused,"accent"==bi(l,13).color,"warn"==bi(l,13).color,bi(l,13)._shouldForward("untouched"),bi(l,13)._shouldForward("touched"),bi(l,13)._shouldForward("pristine"),bi(l,13)._shouldForward("dirty"),bi(l,13)._shouldForward("valid"),bi(l,13)._shouldForward("invalid"),bi(l,13)._shouldForward("pending"),!bi(l,13)._animationsEnabled]),n(l,23,1,[bi(l,28).ngClassUntouched,bi(l,28).ngClassTouched,bi(l,28).ngClassPristine,bi(l,28).ngClassDirty,bi(l,28).ngClassValid,bi(l,28).ngClassInvalid,bi(l,28).ngClassPending,bi(l,29)._isServer,bi(l,29).id,bi(l,29).placeholder,bi(l,29).disabled,bi(l,29).required,bi(l,29).readonly&&!bi(l,29)._isNativeSelect||null,bi(l,29)._ariaDescribedby||null,bi(l,29).errorState,bi(l,29).required.toString()]),n(l,32,0,bi(l,33).dynamicHeight,"below"===bi(l,33).headerPosition),n(l,39,1,["standard"==bi(l,40).appearance,"fill"==bi(l,40).appearance,"outline"==bi(l,40).appearance,"legacy"==bi(l,40).appearance,bi(l,40)._control.errorState,bi(l,40)._canLabelFloat,bi(l,40)._shouldLabelFloat(),bi(l,40)._hasFloatingLabel(),bi(l,40)._hideControlPlaceholder(),bi(l,40)._control.disabled,bi(l,40)._control.autofilled,bi(l,40)._control.focused,"accent"==bi(l,40).color,"warn"==bi(l,40).color,bi(l,40)._shouldForward("untouched"),bi(l,40)._shouldForward("touched"),bi(l,40)._shouldForward("pristine"),bi(l,40)._shouldForward("dirty"),bi(l,40)._shouldForward("valid"),bi(l,40)._shouldForward("invalid"),bi(l,40)._shouldForward("pending"),!bi(l,40)._animationsEnabled]),n(l,50,0,bi(l,51)._isServer,bi(l,51).id,bi(l,51).placeholder,bi(l,51).disabled,bi(l,51).required,bi(l,51).readonly&&!bi(l,51)._isNativeSelect||null,bi(l,51)._ariaDescribedby||null,bi(l,51).errorState,bi(l,51).required.toString()),n(l,58,0,0===e.folder.sharing.entities.length,e.folder.sharing.entities.length>0),n(l,59,1,["standard"==bi(l,60).appearance,"fill"==bi(l,60).appearance,"outline"==bi(l,60).appearance,"legacy"==bi(l,60).appearance,bi(l,60)._control.errorState,bi(l,60)._canLabelFloat,bi(l,60)._shouldLabelFloat(),bi(l,60)._hasFloatingLabel(),bi(l,60)._hideControlPlaceholder(),bi(l,60)._control.disabled,bi(l,60)._control.autofilled,bi(l,60)._control.focused,"accent"==bi(l,60).color,"warn"==bi(l,60).color,bi(l,60)._shouldForward("untouched"),bi(l,60)._shouldForward("touched"),bi(l,60)._shouldForward("pristine"),bi(l,60)._shouldForward("dirty"),bi(l,60)._shouldForward("valid"),bi(l,60)._shouldForward("invalid"),bi(l,60)._shouldForward("pending"),!bi(l,60)._animationsEnabled]),n(l,70,0,bi(l,71)._isServer,bi(l,71).id,bi(l,71).placeholder,bi(l,71).disabled,bi(l,71).required,bi(l,71).readonly&&!bi(l,71)._isNativeSelect||null,bi(l,71)._ariaDescribedby||null,bi(l,71).errorState,bi(l,71).required.toString()),n(l,79,0,bi(l,80).disabled||null,"NoopAnimations"===bi(l,80)._animationMode),n(l,81,0,e.lang.validate),n(l,82,0,bi(l,83).disabled||null,"NoopAnimations"===bi(l,83)._animationMode),n(l,84,0,e.lang.cancel)}))}function vSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,[["document","keydown.Shift"],["document","keyup"]],(function(n,l,e){var t=!0;return"document:keydown.Shift"===l&&(t=!1!==bi(n,1).onKeydownHandler(e)&&t),"document:keyup"===l&&(t=!1!==bi(n,1).onKeyupHandler(e)&&t),t}),bSn,mSn)),Di(1,114688,null,0,pSn,[nS,tu,Hv,$S,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var _Sn=oi("ng-component",pSn,vSn,{},{},[]),ySn=yt({encapsulation:0,styles:[["mat-icon[_ngcontent-%COMP%]{height:auto!important}"]],data:{}});function wSn(n){return jo(0,[(n()(),_o(0,0,null,null,44,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,32,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,30,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,8).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,8).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.onSubmit()&&t),t}),null,null)),Di(7,16384,null,0,yy,[],null,null),Di(8,4210688,[["submitForm",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(10,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(11,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin-top: 30px;"]],[[8,"innerHTML",1]],null,null,null,null)),(n()(),_o(12,0,null,null,24,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(13,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(23,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(24,16384,[[3,4],[4,4]],0,iT,[],null,null),(n()(),Lo(25,null,["",""])),(n()(),_o(26,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","256"],["name","label"],["required",""]],[[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,27)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,27).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,27)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,27)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,35)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,35)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,35)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.data.indexingModel.label=e)&&t),t}),null,null)),Di(27,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(28,16384,null,0,My,[],{required:[0,"required"]},null),Di(29,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(32,671744,null,0,_y,[[2,g_],[6,C_],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(34,16384,null,0,y_,[[4,v_]],null,null),Di(35,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],required:[1,"required"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(37,0,null,null,7,"mat-dialog-actions",[["class","mat-dialog-actions"]],null,null,null,null,null)),Di(38,16384,null,0,l_,[],null,null),(n()(),_o(39,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,8).ngSubmit.emit()&&t),t}),PC,MC)),Di(40,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(41,0,["",""])),(n()(),_o(42,0,null,null,2,"button",[["color","default"],["mat-raised-button",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(43,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(44,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,13,0,"outline"),n(l,28,0,""),n(l,29,0,"256"),n(l,32,0,"label",e.data.indexingModel.label),n(l,35,0,Wt(1,"",e.lang.label,""),""),n(l,40,0,!bi(l,8).form.valid,"primary"),n(l,43,0,"default")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.indexingModelCreation),n(l,6,0,bi(l,10).ngClassUntouched,bi(l,10).ngClassTouched,bi(l,10).ngClassPristine,bi(l,10).ngClassDirty,bi(l,10).ngClassValid,bi(l,10).ngClassInvalid,bi(l,10).ngClassPending),n(l,11,0,e.lang.addPrivateIndexingModelMsg+" <b>"+e.data.masterIndexingModel.label+"</b> "+e.lang.addPrivateIndexingModelMsg2),n(l,12,1,["standard"==bi(l,13).appearance,"fill"==bi(l,13).appearance,"outline"==bi(l,13).appearance,"legacy"==bi(l,13).appearance,bi(l,13)._control.errorState,bi(l,13)._canLabelFloat,bi(l,13)._shouldLabelFloat(),bi(l,13)._hasFloatingLabel(),bi(l,13)._hideControlPlaceholder(),bi(l,13)._control.disabled,bi(l,13)._control.autofilled,bi(l,13)._control.focused,"accent"==bi(l,13).color,"warn"==bi(l,13).color,bi(l,13)._shouldForward("untouched"),bi(l,13)._shouldForward("touched"),bi(l,13)._shouldForward("pristine"),bi(l,13)._shouldForward("dirty"),bi(l,13)._shouldForward("valid"),bi(l,13)._shouldForward("invalid"),bi(l,13)._shouldForward("pending"),!bi(l,13)._animationsEnabled]),n(l,25,0,e.lang.label),n(l,26,1,[bi(l,28).required?"":null,bi(l,29).maxlength?bi(l,29).maxlength:null,bi(l,34).ngClassUntouched,bi(l,34).ngClassTouched,bi(l,34).ngClassPristine,bi(l,34).ngClassDirty,bi(l,34).ngClassValid,bi(l,34).ngClassInvalid,bi(l,34).ngClassPending,bi(l,35)._isServer,bi(l,35).id,bi(l,35).placeholder,bi(l,35).disabled,bi(l,35).required,bi(l,35).readonly&&!bi(l,35)._isNativeSelect||null,bi(l,35)._ariaDescribedby||null,bi(l,35).errorState,bi(l,35).required.toString()]),n(l,39,0,bi(l,40).disabled||null,"NoopAnimations"===bi(l,40)._animationMode),n(l,41,0,e.lang.validate),n(l,42,0,bi(l,43).disabled||null,"NoopAnimations"===bi(l,43)._animationMode),n(l,44,0,e.lang.cancel)}))}function xSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,wSn,ySn)),Di(1,114688,null,0,wpn,[nS,Gv,Hv,tu],null,null)],(function(n,l){n(l,1,0)}),null)}var CSn=oi("ng-component",wpn,xSn,{},{},[]),kSn=yt({encapsulation:0,styles:[[".attach-container[_ngcontent-%COMP%]{position:relative;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%}.attach-container[_ngcontent-%COMP%] .mat-tab-body-content, .attach-container[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%!important}.attach-container[_ngcontent-%COMP%] .mat-drawer-inner-container{overflow-x:hidden}.mat-dialog-title[_ngcontent-%COMP%]{margin:0!important;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.attach-content[_ngcontent-%COMP%]{margin:0;padding:0!important;display:block;overflow:auto;max-height:100vh!important;height:calc(100% - 75px)}.attachment-form[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;overflow:auto;height:100%;padding:10px}.attachment-form[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0}.attachment-form-item[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding-top:10px;padding-bottom:10px}.attachment-form-item[_ngcontent-%COMP%] .mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-7px}.attachment-form-item[_ngcontent-%COMP%] .mat-form-field-should-float .mat-form-field-label{background:#fff;width:auto!important;padding-top:5px;padding-left:5px;padding-right:5px}.pjList[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.pjList[_ngcontent-%COMP%] .mat-tab-header{position:-webkit-sticky;position:sticky;z-index:1;height:50px;background:#fff;top:0}.pjList[_ngcontent-%COMP%] .mat-tab-body-wrapper{-webkit-box-flex:1;flex:1}.pjList[_ngcontent-%COMP%] .mat-tab-body-content{display:block;height:100%!important;text-align:center;background:#135f7f;color:#fff}.example-loading-shade[_ngcontent-%COMP%]{background:#ffffffc4;z-index:2}.actions[_ngcontent-%COMP%]{margin:0}.complete[_ngcontent-%COMP%]{color:green;font-weight:700}.fieldState[_ngcontent-%COMP%]{padding-top:0!important}.stateDoc[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.documentContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;text-align:center;background:#135f7f;overflow:auto;color:#fff}.mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{font-size:14px;color:#666}"],tN],data:{}});function SSn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function ISn(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" "," - "]))],null,(function(n,l){n(l,1,0,l.component.attachment.chrono.value)}))}function ASn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[["style","flex: 1;"]],[[8,"title",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ISn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(3,null,[" "," "])),Fo(4,3)],(function(n,l){n(l,2,0,null!==l.component.attachment.chrono.value)}),(function(n,l){var e=l.component;n(l,0,0,e.attachment.title.value);var t=bt(l,3,0,n(l,4,0,bi(l.parent,0),e.attachment.title.value,50,"..."));n(l,3,0,t)}))}function MSn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,3)._inputElement.nativeElement.focus()&&t),"change"===l&&(t=0!=(i.newVersion=!i.newVersion)&&t),t}),mV,pV)),Ei(5120,null,d_,(function(n){return[n]}),[sV]),Di(3,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"],checked:[1,"checked"]},{change:"change"}),(n()(),Lo(4,0,["",""]))],(function(n,l){n(l,3,0,"primary",l.component.newVersion)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,3).id,bi(l,3).disabled?null:-1,bi(l,3).checked,bi(l,3).disabled,"before"==bi(l,3).labelPosition,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.newVersion)}))}function PSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"div",[["class","alert-message alert-message-danger"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,1,0,l.component.lang.mustEditDocument)}))}function DSn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk fieldRequired"]],null,null,null,null,null))],null,null)}function FSn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function ESn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function OSn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk fieldRequired"]],null,null,null,null,null))],null,null)}function TSn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function LSn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function RSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","attachment-form-item"],["style","display: block;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"div",[["class","alert alert-info"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,1,0,l.component.lang.mailingMsg)}))}function NSn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,4,"app-contact-autocomplete",[["style","width:100%;"]],null,null,null,Y9,h9)),Ei(4608,null,HS,HS,[QS,$S]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(5,114688,null,0,f9,[nS,tu,Jv,_u,yu,QS,TI,L1,$S],{controlAutocomplete:[0,"controlAutocomplete"],singleMode:[1,"singleMode"]},null),(n()(),_o(6,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){n(l,5,0,l.component.attachment.recipient,!0)}),null)}function jSn(n){return jo(0,[(n()(),_o(0,0,null,null,19,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,16,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,20,{_controlNonStatic:0}),ko(335544320,21,{_controlStatic:0}),ko(603979776,22,{_labelChildNonStatic:0}),ko(335544320,23,{_labelChildStatic:0}),ko(603979776,24,{_placeholderChild:0}),ko(603979776,25,{_errorChildren:1}),ko(603979776,26,{_hintChildren:1}),ko(603979776,27,{_prefixChildren:1}),ko(603979776,28,{_suffixChildren:1}),(n()(),_o(12,0,null,1,5,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[8,"title",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],value:[2,"value"]},null),Fi(131072,xG,[Nl,La]),Fo(15,1),Ei(2048,[[20,4],[21,4]],nT,null,[OT]),Fi(0,wG,[$S]),(n()(),_o(18,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){var e=l.component,t=Wt(1,"",e.lang.signedAlt,""),i=bt(l,13,2,n(l,15,0,bi(l.parent.parent,1),bt(l,13,2,bi(l,14).transform(e.attachment.signDate.value,"full"))));n(l,13,0,"",t,i)}),(function(n,l){var e=l.component;n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bt(l,12,0,bi(l,17).transform(e.attachment.signDate.value)),bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function VSn(n){return jo(0,[(n()(),_o(0,0,null,null,21,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[29,4],[30,4]],nT,null,[OT]),(n()(),_o(20,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,15,0,e.attachment.signatory),n(l,18,0,Wt(2,"",e.lang.signedAlt," ",e.lang.by,""))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function qSn(n){return jo(0,[(n()(),_o(0,0,null,null,22,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,19,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,57,{_controlNonStatic:0}),ko(335544320,58,{_controlStatic:0}),ko(603979776,59,{_labelChildNonStatic:0}),ko(335544320,60,{_labelChildStatic:0}),ko(603979776,61,{_placeholderChild:0}),ko(603979776,62,{_errorChildren:1}),ko(603979776,63,{_hintChildren:1}),ko(603979776,64,{_prefixChildren:1}),ko(603979776,65,{_suffixChildren:1}),(n()(),_o(12,0,null,1,8,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],value:[1,"value"]},null),Fi(131072,xG,[Nl,La]),Ei(2048,[[57,4],[58,4]],nT,null,[OT]),(n()(),_o(21,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(22,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,15,0,e.attachment.modificationDate),n(l,18,0,Wt(1,"",e.lang.modified,""),bt(l,18,1,bi(l,19).transform(e.attachment.modificationDate.value,"full")))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function zSn(n){return jo(0,[(n()(),_o(0,0,null,null,21,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,66,{_controlNonStatic:0}),ko(335544320,67,{_controlStatic:0}),ko(603979776,68,{_labelChildNonStatic:0}),ko(335544320,69,{_labelChildStatic:0}),ko(603979776,70,{_placeholderChild:0}),ko(603979776,71,{_errorChildren:1}),ko(603979776,72,{_hintChildren:1}),ko(603979776,73,{_prefixChildren:1}),ko(603979776,74,{_suffixChildren:1}),(n()(),_o(12,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,13)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,13).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,13)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,13)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,18)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,18)._onInput()&&t),t}),null,null)),Di(13,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(15,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(17,16384,null,0,y_,[[4,v_]],null,null),Di(18,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[66,4],[67,4]],nT,null,[OT]),(n()(),_o(20,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,15,0,e.attachment.modifiedBy),n(l,18,0,Wt(2,"",e.lang.modified," ",e.lang.by,""))}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,1,[bi(l,17).ngClassUntouched,bi(l,17).ngClassTouched,bi(l,17).ngClassPristine,bi(l,17).ngClassDirty,bi(l,17).ngClassValid,bi(l,17).ngClassInvalid,bi(l,17).ngClassPending,bi(l,18)._isServer,bi(l,18).id,bi(l,18).placeholder,bi(l,18).disabled,bi(l,18).required,bi(l,18).readonly&&!bi(l,18)._isNativeSelect||null,bi(l,18)._ariaDescribedby||null,bi(l,18).errorState,bi(l,18).required.toString()])}))}function USn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[92,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,93,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,179))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function BSn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.attachment.validationDate.reset()&&t),t}),PC,MC)),Di(1,16384,[[92,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function $Sn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],null,null)}function HSn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function GSn(n){return jo(0,[(n()(),_o(0,0,null,null,186,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,185,"div",[["class","attachment-form col-md-3 col-sm-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,MSn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,PSn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,21,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(8,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(18,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,19)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,19).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,19)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,19)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,24)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,24)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,24)._onInput()&&t),t}),null,null)),Di(19,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(21,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(23,16384,null,0,y_,[[4,v_]],null,null),Di(24,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],value:[1,"value"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT]),(n()(),_o(26,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(27,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null)),(n()(),_o(28,0,null,null,11,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(29,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.getAttachType(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(32,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"}),(n()(),_o(33,0,null,null,6,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,DSn)),Di(35,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,FSn)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ESn)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(40,0,null,null,26,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(41,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(42,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,11,{_controlNonStatic:0}),ko(335544320,12,{_controlStatic:0}),ko(603979776,13,{_labelChildNonStatic:0}),ko(335544320,14,{_labelChildStatic:0}),ko(603979776,15,{_placeholderChild:0}),ko(603979776,16,{_errorChildren:1}),ko(603979776,17,{_hintChildren:1}),ko(603979776,18,{_prefixChildren:1}),ko(603979776,19,{_suffixChildren:1}),(n()(),_o(52,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,53)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,53).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,53)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,53)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,58)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,58)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,58)._onInput()&&t),t}),null,null)),Di(53,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(55,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(57,16384,null,0,y_,[[4,v_]],null,null),Di(58,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[11,4],[12,4]],nT,null,[OT]),(n()(),_o(60,0,null,null,6,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,OSn)),Di(62,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,TSn)),Di(64,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,LSn)),Di(66,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,RSn)),Di(68,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NSn)),Di(70,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jSn)),Di(72,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,VSn)),Di(74,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(75,16777216,null,null,111,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(76,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,38,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(79,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,80)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,80)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,80)._animationStarted()&&t),t}),aV,tV)),Di(80,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(81,{collapsedHeight:0,expandedHeight:1}),Oo(82,{value:0,params:1}),(n()(),_o(83,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(84,16384,null,0,Zj,[],null,null),(n()(),Lo(85,null,[" "," "])),(n()(),_o(86,0,null,1,18,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(87,0,null,null,15,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(88,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,39,{_controlNonStatic:0}),ko(335544320,40,{_controlStatic:0}),ko(603979776,41,{_labelChildNonStatic:0}),ko(335544320,42,{_labelChildStatic:0}),ko(603979776,43,{_placeholderChild:0}),ko(603979776,44,{_errorChildren:1}),ko(603979776,45,{_hintChildren:1}),ko(603979776,46,{_prefixChildren:1}),ko(603979776,47,{_suffixChildren:1}),(n()(),_o(98,0,null,1,4,"input",[["class","mat-input-element mat-form-field-autofill-control"],["disabled",""],["matInput",""]],[[8,"title",0],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,99)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,99)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,99)._onInput()&&t),t}),null,null)),Di(99,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{disabled:[0,"disabled"],placeholder:[1,"placeholder"],value:[2,"value"]},null),Fi(131072,xG,[Nl,La]),Ei(2048,[[39,4],[40,4]],nT,null,[OT]),Fi(0,wG,[$S]),(n()(),_o(103,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(104,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null)),(n()(),_o(105,0,null,1,21,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(106,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(107,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,48,{_controlNonStatic:0}),ko(335544320,49,{_controlStatic:0}),ko(603979776,50,{_labelChildNonStatic:0}),ko(335544320,51,{_labelChildStatic:0}),ko(603979776,52,{_placeholderChild:0}),ko(603979776,53,{_errorChildren:1}),ko(603979776,54,{_hintChildren:1}),ko(603979776,55,{_prefixChildren:1}),ko(603979776,56,{_suffixChildren:1}),(n()(),_o(117,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,118)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,118).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,118)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,118)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,123)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,123)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,123)._onInput()&&t),t}),null,null)),Di(118,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(120,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(122,16384,null,0,y_,[[4,v_]],null,null),Di(123,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[48,4],[49,4]],nT,null,[OT]),(n()(),_o(125,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(126,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null)),(n()(),vo(16777216,null,1,1,null,qSn)),Di(128,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,zSn)),Di(130,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(131,0,null,1,21,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(132,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(133,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,75,{_controlNonStatic:0}),ko(335544320,76,{_controlStatic:0}),ko(603979776,77,{_labelChildNonStatic:0}),ko(335544320,78,{_labelChildStatic:0}),ko(603979776,79,{_placeholderChild:0}),ko(603979776,80,{_errorChildren:1}),ko(603979776,81,{_hintChildren:1}),ko(603979776,82,{_prefixChildren:1}),ko(603979776,83,{_suffixChildren:1}),(n()(),_o(143,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,144)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,144).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,144)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,144)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,149)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,149)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,149)._onInput()&&t),t}),null,null)),Di(144,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(146,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(148,16384,null,0,y_,[[4,v_]],null,null),Di(149,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],value:[1,"value"]},null),Ei(2048,[[75,4],[76,4]],nT,null,[OT]),(n()(),_o(151,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(152,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null)),(n()(),_o(153,0,null,1,33,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(154,0,null,null,27,"mat-form-field",[["class","input-form mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,179).open()&&t),t}),kT,pT)),Di(155,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,84,{_controlNonStatic:0}),ko(335544320,85,{_controlStatic:0}),ko(603979776,86,{_labelChildNonStatic:0}),ko(335544320,87,{_labelChildStatic:0}),ko(603979776,88,{_placeholderChild:0}),ko(603979776,89,{_errorChildren:1}),ko(603979776,90,{_hintChildren:1}),ko(603979776,91,{_prefixChildren:1}),ko(603979776,92,{_suffixChildren:1}),(n()(),_o(165,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,166)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,166).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,166)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,166)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,167)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,167)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,167)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,167)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,174)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,174)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,174)._onInput()&&t),t}),null,null)),Di(166,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(167,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},null),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(170,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(172,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(174,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[84,4],[85,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,USn)),Di(177,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(178,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(179,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,BSn)),Di(181,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(182,0,null,null,4,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,$Sn)),Di(184,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,HSn)),Di(186,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.editMode),n(l,5,0,e.newVersion),n(l,21,0,e.attachment.status),n(l,24,0,Wt(1,"",e.lang.status,""),e.lang["attachment_"+e.attachment.status.value]),n(l,32,0,e.lang.type,e.attachment.type,e.attachmentsTypes,e.lang.type),n(l,35,0,e.attachment.type.hasError("required")&&e.attachment.type.untouched),n(l,37,0,e.attachment.type.touched&&e.attachment.type.hasError("required")),n(l,39,0,e.attachment.type.valid&&!e.isEmptyField(e.attachment.type)),n(l,55,0,e.attachment.title),n(l,58,0,Wt(1,"",e.lang.subject,"")),n(l,62,0,e.attachment.title.hasError("required")&&e.attachment.title.untouched),n(l,64,0,e.attachment.title.touched&&e.attachment.title.hasError("required")),n(l,66,0,e.attachment.title.valid&&!e.isEmptyField(e.attachment.title)),n(l,68,0,e.sendMassMode),n(l,70,0,!e.sendMassMode),n(l,72,0,void 0!==e.attachment.signedResponse.value),n(l,74,0,void 0!==e.attachment.signedResponse.value),n(l,99,0,"",Wt(1,"",e.lang.created,""),bt(l,99,2,bi(l,100).transform(e.attachment.creationDate.value,"full"))),n(l,120,0,e.attachment.typistLabel),n(l,123,0,Wt(2,"",e.lang.created," ",e.lang.by,"")),n(l,128,0,null!==e.attachment.modificationDate.value),n(l,130,0,null!==e.attachment.modificationDate.value),n(l,146,0,e.attachment.relation),n(l,149,0,Wt(1,"",e.lang.version,""),e.lang.version+" "+e.attachment.relation.value),n(l,167,0,bi(l,179),e.now),n(l,170,0,e.attachment.validationDate),n(l,174,0,e.lang.expectedReturnDate,""),n(l,177,0,!e.attachment.validationDate.value),n(l,179,0,e.appService.getViewMode()),n(l,181,0,e.attachment.validationDate.value&&!e.attachment.validationDate.disabled),n(l,184,0,e.attachment.validationDate.valid&&e.isEmptyField(e.attachment.validationDate)),n(l,186,0,e.attachment.validationDate.valid&&!e.isEmptyField(e.attachment.validationDate))}),(function(n,l){var e=l.component;n(l,7,1,["standard"==bi(l,8).appearance,"fill"==bi(l,8).appearance,"outline"==bi(l,8).appearance,"legacy"==bi(l,8).appearance,bi(l,8)._control.errorState,bi(l,8)._canLabelFloat,bi(l,8)._shouldLabelFloat(),bi(l,8)._hasFloatingLabel(),bi(l,8)._hideControlPlaceholder(),bi(l,8)._control.disabled,bi(l,8)._control.autofilled,bi(l,8)._control.focused,"accent"==bi(l,8).color,"warn"==bi(l,8).color,bi(l,8)._shouldForward("untouched"),bi(l,8)._shouldForward("touched"),bi(l,8)._shouldForward("pristine"),bi(l,8)._shouldForward("dirty"),bi(l,8)._shouldForward("valid"),bi(l,8)._shouldForward("invalid"),bi(l,8)._shouldForward("pending"),!bi(l,8)._animationsEnabled]),n(l,18,1,[bi(l,23).ngClassUntouched,bi(l,23).ngClassTouched,bi(l,23).ngClassPristine,bi(l,23).ngClassDirty,bi(l,23).ngClassValid,bi(l,23).ngClassInvalid,bi(l,23).ngClassPending,bi(l,24)._isServer,bi(l,24).id,bi(l,24).placeholder,bi(l,24).disabled,bi(l,24).required,bi(l,24).readonly&&!bi(l,24)._isNativeSelect||null,bi(l,24)._ariaDescribedby||null,bi(l,24).errorState,bi(l,24).required.toString()]),n(l,41,1,["standard"==bi(l,42).appearance,"fill"==bi(l,42).appearance,"outline"==bi(l,42).appearance,"legacy"==bi(l,42).appearance,bi(l,42)._control.errorState,bi(l,42)._canLabelFloat,bi(l,42)._shouldLabelFloat(),bi(l,42)._hasFloatingLabel(),bi(l,42)._hideControlPlaceholder(),bi(l,42)._control.disabled,bi(l,42)._control.autofilled,bi(l,42)._control.focused,"accent"==bi(l,42).color,"warn"==bi(l,42).color,bi(l,42)._shouldForward("untouched"),bi(l,42)._shouldForward("touched"),bi(l,42)._shouldForward("pristine"),bi(l,42)._shouldForward("dirty"),bi(l,42)._shouldForward("valid"),bi(l,42)._shouldForward("invalid"),bi(l,42)._shouldForward("pending"),!bi(l,42)._animationsEnabled]),n(l,52,1,[bi(l,57).ngClassUntouched,bi(l,57).ngClassTouched,bi(l,57).ngClassPristine,bi(l,57).ngClassDirty,bi(l,57).ngClassValid,bi(l,57).ngClassInvalid,bi(l,57).ngClassPending,bi(l,58)._isServer,bi(l,58).id,bi(l,58).placeholder,bi(l,58).disabled,bi(l,58).required,bi(l,58).readonly&&!bi(l,58)._isNativeSelect||null,bi(l,58)._ariaDescribedby||null,bi(l,58).errorState,bi(l,58).required.toString()]),n(l,75,0,bi(l,76).expanded,"NoopAnimations"===bi(l,76)._animationMode,bi(l,76)._hasSpacing());var t=bi(l,80).panel._headerId,i=bi(l,80).disabled?-1:0,a=bi(l,80)._getPanelId(),o=bi(l,80)._isExpanded(),r=bi(l,80).panel.disabled,u=bi(l,80)._isExpanded(),s="after"===bi(l,80)._getTogglePosition(),c="before"===bi(l,80)._getTogglePosition(),d=bi(l,80)._animationsDisabled,p=n(l,82,0,bi(l,80)._getExpandedState(),n(l,81,0,bi(l,80).collapsedHeight,bi(l,80).expandedHeight));n(l,79,0,t,i,a,o,r,u,s,c,d,p),n(l,85,0,e.lang.othersInfos),n(l,87,1,["standard"==bi(l,88).appearance,"fill"==bi(l,88).appearance,"outline"==bi(l,88).appearance,"legacy"==bi(l,88).appearance,bi(l,88)._control.errorState,bi(l,88)._canLabelFloat,bi(l,88)._shouldLabelFloat(),bi(l,88)._hasFloatingLabel(),bi(l,88)._hideControlPlaceholder(),bi(l,88)._control.disabled,bi(l,88)._control.autofilled,bi(l,88)._control.focused,"accent"==bi(l,88).color,"warn"==bi(l,88).color,bi(l,88)._shouldForward("untouched"),bi(l,88)._shouldForward("touched"),bi(l,88)._shouldForward("pristine"),bi(l,88)._shouldForward("dirty"),bi(l,88)._shouldForward("valid"),bi(l,88)._shouldForward("invalid"),bi(l,88)._shouldForward("pending"),!bi(l,88)._animationsEnabled]),n(l,98,0,bt(l,98,0,bi(l,102).transform(e.attachment.creationDate.value)),bi(l,99)._isServer,bi(l,99).id,bi(l,99).placeholder,bi(l,99).disabled,bi(l,99).required,bi(l,99).readonly&&!bi(l,99)._isNativeSelect||null,bi(l,99)._ariaDescribedby||null,bi(l,99).errorState,bi(l,99).required.toString()),n(l,106,1,["standard"==bi(l,107).appearance,"fill"==bi(l,107).appearance,"outline"==bi(l,107).appearance,"legacy"==bi(l,107).appearance,bi(l,107)._control.errorState,bi(l,107)._canLabelFloat,bi(l,107)._shouldLabelFloat(),bi(l,107)._hasFloatingLabel(),bi(l,107)._hideControlPlaceholder(),bi(l,107)._control.disabled,bi(l,107)._control.autofilled,bi(l,107)._control.focused,"accent"==bi(l,107).color,"warn"==bi(l,107).color,bi(l,107)._shouldForward("untouched"),bi(l,107)._shouldForward("touched"),bi(l,107)._shouldForward("pristine"),bi(l,107)._shouldForward("dirty"),bi(l,107)._shouldForward("valid"),bi(l,107)._shouldForward("invalid"),bi(l,107)._shouldForward("pending"),!bi(l,107)._animationsEnabled]),n(l,117,1,[bi(l,122).ngClassUntouched,bi(l,122).ngClassTouched,bi(l,122).ngClassPristine,bi(l,122).ngClassDirty,bi(l,122).ngClassValid,bi(l,122).ngClassInvalid,bi(l,122).ngClassPending,bi(l,123)._isServer,bi(l,123).id,bi(l,123).placeholder,bi(l,123).disabled,bi(l,123).required,bi(l,123).readonly&&!bi(l,123)._isNativeSelect||null,bi(l,123)._ariaDescribedby||null,bi(l,123).errorState,bi(l,123).required.toString()]),n(l,132,1,["standard"==bi(l,133).appearance,"fill"==bi(l,133).appearance,"outline"==bi(l,133).appearance,"legacy"==bi(l,133).appearance,bi(l,133)._control.errorState,bi(l,133)._canLabelFloat,bi(l,133)._shouldLabelFloat(),bi(l,133)._hasFloatingLabel(),bi(l,133)._hideControlPlaceholder(),bi(l,133)._control.disabled,bi(l,133)._control.autofilled,bi(l,133)._control.focused,"accent"==bi(l,133).color,"warn"==bi(l,133).color,bi(l,133)._shouldForward("untouched"),bi(l,133)._shouldForward("touched"),bi(l,133)._shouldForward("pristine"),bi(l,133)._shouldForward("dirty"),bi(l,133)._shouldForward("valid"),bi(l,133)._shouldForward("invalid"),bi(l,133)._shouldForward("pending"),!bi(l,133)._animationsEnabled]),n(l,143,1,[bi(l,148).ngClassUntouched,bi(l,148).ngClassTouched,bi(l,148).ngClassPristine,bi(l,148).ngClassDirty,bi(l,148).ngClassValid,bi(l,148).ngClassInvalid,bi(l,148).ngClassPending,bi(l,149)._isServer,bi(l,149).id,bi(l,149).placeholder,bi(l,149).disabled,bi(l,149).required,bi(l,149).readonly&&!bi(l,149)._isNativeSelect||null,bi(l,149)._ariaDescribedby||null,bi(l,149).errorState,bi(l,149).required.toString()]),n(l,154,1,["standard"==bi(l,155).appearance,"fill"==bi(l,155).appearance,"outline"==bi(l,155).appearance,"legacy"==bi(l,155).appearance,bi(l,155)._control.errorState,bi(l,155)._canLabelFloat,bi(l,155)._shouldLabelFloat(),bi(l,155)._hasFloatingLabel(),bi(l,155)._hideControlPlaceholder(),bi(l,155)._control.disabled,bi(l,155)._control.autofilled,bi(l,155)._control.focused,"accent"==bi(l,155).color,"warn"==bi(l,155).color,bi(l,155)._shouldForward("untouched"),bi(l,155)._shouldForward("touched"),bi(l,155)._shouldForward("pristine"),bi(l,155)._shouldForward("dirty"),bi(l,155)._shouldForward("valid"),bi(l,155)._shouldForward("invalid"),bi(l,155)._shouldForward("pending"),!bi(l,155)._animationsEnabled]),n(l,165,1,[bi(l,167)._datepicker?"dialog":null,(null==bi(l,167)._datepicker?null:bi(l,167)._datepicker.opened)&&bi(l,167)._datepicker.id||null,bi(l,167).min?bi(l,167)._dateAdapter.toIso8601(bi(l,167).min):null,bi(l,167).max?bi(l,167)._dateAdapter.toIso8601(bi(l,167).max):null,bi(l,167).disabled,bi(l,172).ngClassUntouched,bi(l,172).ngClassTouched,bi(l,172).ngClassPristine,bi(l,172).ngClassDirty,bi(l,172).ngClassValid,bi(l,172).ngClassInvalid,bi(l,172).ngClassPending,bi(l,174)._isServer,bi(l,174).id,bi(l,174).placeholder,bi(l,174).disabled,bi(l,174).required,bi(l,174).readonly&&!bi(l,174)._isNativeSelect||null,bi(l,174)._ariaDescribedby||null,bi(l,174).errorState,bi(l,174).required.toString()])}))}function WSn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-document-viewer",[["style","display:block;height:100%;width:100%;overflow: auto;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{resId:[0,"resId"],editMode:[1,"editMode"],title:[2,"title"]},null)],(function(n,l){n(l,3,0,l.component.attachment.resIdMaster.value,!1,"Document principal")}),null)}function KSn(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"mat-tab",[["label","Document principal"]],null,null,null,BV,zV)),Di(1,770048,[[94,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,95,{templateLabel:0}),ko(335544320,96,{_explicitContent:0}),(n()(),vo(0,[[96,2]],0,1,null,WSn)),Di(5,16384,null,0,gV,[Xe],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"Document principal")}),null)}function YSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","color:green"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.signedAttachment)}))}function JSn(n){return jo(0,[(n()(),_o(0,16777216,null,null,9,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[94,4]],2,vV,[lt],null,null),ko(603979776,97,{templateLabel:0}),ko(335544320,98,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,YSn)),Di(5,16384,[[97,4]],0,bV,[Xe,lt],null,null),(n()(),_o(6,0,null,0,3,"app-document-viewer",[["style","display:block;height:100%;width:100%;overflow: auto;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(9,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{mode:[0,"mode"],resId:[1,"resId"],editMode:[2,"editMode"],title:[3,"title"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0),n(l,9,0,"attachment",e.attachment.signedResponse.value,!1,e.attachment.chrono.value+" - "+e.attachment.title.value+" ("+e.lang.signed+")")}),null)}function ZSn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","color:#135f7f"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.attachment)}))}function QSn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-document-viewer",[["style","display:block;height:100%;width:100%;overflow: auto;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{format:[0,"format"],mode:[1,"mode"],resId:[2,"resId"],editMode:[3,"editMode"],title:[4,"title"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.attachment.format.value,"attachment",l.parent.context.$implicit.resId,!1,e.attachment.chrono.value+" - "+e.attachment.title.value+" ("+l.parent.context.$implicit.relation+")")}),null)}function XSn(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[94,4]],2,vV,[lt],{textLabel:[0,"textLabel"]},null),ko(603979776,101,{templateLabel:0}),ko(335544320,102,{_explicitContent:0}),(n()(),vo(0,[[102,2]],0,1,null,QSn)),Di(5,16384,null,0,gV,[Xe],null,null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,Wt(3,"",e.lang.attachment," (",e.lang.version," ",l.context.$implicit.relation,")"))}),null)}function nIn(n){return jo(0,[(n()(),_o(0,0,null,null,18,"mat-tab-group",[["animationDuration","0"],["class","pjList mat-tab-group"],["style","height: 100%"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],null,null,LV,PV)),Di(1,3325952,null,1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"],animationDuration:[1,"animationDuration"]},null),ko(603979776,94,{_tabs:1}),(n()(),vo(16777216,null,null,1,null,KSn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,JSn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,16777216,null,null,9,"mat-tab",[],null,null,null,BV,zV)),Di(8,770048,[[94,4]],2,vV,[lt],null,null),ko(603979776,99,{templateLabel:0}),ko(335544320,100,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,ZSn)),Di(12,16384,[[99,4]],0,bV,[Xe,lt],null,null),(n()(),_o(13,0,null,0,3,"app-document-viewer",[["style","display:block;height:100%;width:100%;overflow: auto;"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setDatasViewer(e)&&t),t}),fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(16,114688,[[1,4],["appAttachmentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{format:[0,"format"],mode:[1,"mode"],resId:[2,"resId"],resIdMaster:[3,"resIdMaster"],editMode:[4,"editMode"],title:[5,"title"],attachType:[6,"attachType"]},{triggerEvent:"triggerEvent"}),(n()(),vo(16777216,null,null,1,null,XSn)),Di(18,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,1,0,1,"0"),n(l,4,0,null!==e.attachment.res_id_master),n(l,6,0,"SIGN"===e.attachment.status.value),n(l,8,0),n(l,16,0,e.attachment.format.value,"attachment",e.data.resId,e.attachment.resIdMaster.value,e.editMode,e.attachment.chrono.value+" - "+e.attachment.title.value,e.attachment.type.value),n(l,18,0,e.versions)}),(function(n,l){n(l,0,0,bi(l,1).dynamicHeight,"below"===bi(l,1).headerPosition)}))}function lIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateAttachment()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!(e.loading||e.editMode&&e.attachFormGroup.valid),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.validate)}))}function eIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.updateAttachment("mailing")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!(e.loading||e.editMode&&e.attachFormGroup.valid),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.mailing)}))}function tIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.createNewVersion()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!e.editMode||!e.isEditing(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.createNewVersion)}))}function iIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.createNewVersion("mailing")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,!e.editMode||!e.isEditing(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.mailing)}))}function aIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteSignedVersion()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.deleteSignedVersion)}))}function oIn(n){return jo(0,[Fi(0,YS,[]),Fi(0,ZS,[]),ko(671088640,1,{appAttachmentViewer:0}),(n()(),_o(3,0,null,null,31,"div",[["class","attach-container"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,SSn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(6,0,null,null,7,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(7,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),vo(16777216,null,null,1,null,ASn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(12,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(13,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(14,0,null,null,5,"mat-dialog-content",[["class","attach-content mat-dialog-content"]],null,null,null,null,null)),Di(15,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,GSn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,nIn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,null,14,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(21,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,lIn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,eIn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tIn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,iIn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,aIn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,null,2,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.closeModal()&&t),t}),PC,MC)),Di(33,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),Lo(34,0,["",""]))],(function(n,l){var e=l.component;n(l,5,0,e.sendingData),n(l,7,0),n(l,9,0,!e.loading),n(l,13,0),n(l,17,0,!e.loading),n(l,19,0,!e.loading),n(l,23,0,!e.newVersion),n(l,25,0,!e.newVersion&&e.sendMassMode&&!e.loading),n(l,27,0,e.newVersion),n(l,29,0,e.newVersion&&e.sendMassMode&&!e.loading),n(l,31,0,!e.loading&&"SIGN"===e.attachment.status.value&&e.headerService.user.id==e.attachment.signatoryId.value),n(l,33,0,e.loading)}),(function(n,l){var e=l.component;n(l,6,0,bi(l,7).id),n(l,10,0,e.lang.close,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,12,0,bi(l,13).inline,"primary"!==bi(l,13).color&&"accent"!==bi(l,13).color&&"warn"!==bi(l,13).color),n(l,32,0,bi(l,33).disabled||null,"NoopAnimations"===bi(l,33)._animationMode),n(l,34,0,e.lang.close)}))}function rIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-attachment-page",[],null,null,null,oIn,kSn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,null,0,Vsn,[nS,Gv,Jv,Hv,yu,tu,HS,_u,TI,$S],null,null)],(function(n,l){n(l,3,0)}),null)}var uIn=oi("app-attachment-page",Vsn,rIn,{},{},[]),sIn=yt({encapsulation:0,styles:[[".loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;width:100%}.attach-container[_ngcontent-%COMP%]{position:relative;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%}.attach-container[_ngcontent-%COMP%] .mat-tab-body-content, .attach-container[_ngcontent-%COMP%] .mat-tab-body-wrapper{height:100%!important}.mat-dialog-title[_ngcontent-%COMP%]{margin:0!important;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.attach-content[_ngcontent-%COMP%]{margin:0;padding:0!important;height:100%;display:-webkit-box;display:flex;overflow:auto}.attach-content[_ngcontent-%COMP%] .mat-tab-label:last-child{min-width:50px;padding:0;opacity:1;color:#135f7f}.attachment-form[_ngcontent-%COMP%]{padding:10px;overflow:auto;position:-webkit-sticky;position:sticky;top:0}.attachment-form-item[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;padding-top:10px;padding-bottom:10px}.attachment-form-item[_ngcontent-%COMP%] .mat-form-field-should-float .mat-form-field-label-wrapper{margin-top:-7px}.attachment-form-item[_ngcontent-%COMP%] .mat-form-field-should-float .mat-form-field-label{background:#fff;width:auto!important;padding-top:5px;padding-left:5px;padding-right:5px}.example-loading-shade[_ngcontent-%COMP%]{background:#ffffffc4;z-index:2}.actions[_ngcontent-%COMP%]{margin:0}.complete[_ngcontent-%COMP%]{color:green;font-weight:700}.fieldState[_ngcontent-%COMP%]{padding-top:0!important}.stateDoc[_ngcontent-%COMP%]{position:absolute;right:20px;top:20px}.documentContent[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;text-align:center;background:#135f7f;overflow:auto;color:#fff;height:100%}.active[_ngcontent-%COMP%]{color:#f99830}"],tN],data:{}});function cIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function dIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.close,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function pIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function mIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-check"]],null,null,null,null,null))],null,null)}function fIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.removePj(n.parent.parent.context.index)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-minus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,l.component.isDocLoading(),"warn"),n(l,3,0)}),(function(n,l){n(l,0,0,l.component.lang.delAttachment,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function hIn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"span",[],[[2,"complete",null]],null,null,null,null)),(n()(),Lo(1,null,[""," n°"," "])),(n()(),vo(16777216,null,null,1,null,mIn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,fIn)),Di(5,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.isPjValid(l.parent.context.index)),n(l,5,0,e.attachments.length>1)}),(function(n,l){var e=l.component;n(l,0,0,e.isPjValid(l.parent.context.index)),n(l,1,0,e.lang.attachmentShort,l.parent.context.index+1)}))}function gIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk fieldRequired"]],null,null,null,null,null))],null,null)}function bIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function vIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function _In(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk fieldRequired"]],null,null,null,null,null))],null,null)}function yIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function wIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function xIn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.selectContact(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(4,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],returnValue:[3,"returnValue"],label:[4,"label"]},{afterSelected:"afterSelected"}),(n()(),_o(5,0,null,null,5,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[2,"active",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleSendMass()&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","fas fa-mail-bulk mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(10,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){var e=l.component;n(l,4,0,e.lang.selectContact,e.selectedContact,e.resourceContacts,"object",e.lang.selectContact),n(l,7,0,"primary"),n(l,9,0)}),(function(n,l){var e=l.component;n(l,6,0,e.sendMassMode?e.lang.disableMailing:e.lang.enableMailing,e.sendMassMode,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function CIn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","attachment-form-item"],["style","display: block;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"div",[["class","alert alert-info"],["role","alert"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,1,0,l.component.lang.mailingMsg)}))}function kIn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-contact-autocomplete",[["style","width:100%;"]],null,[[null,"retrieveDocumentEvent"]],(function(n,l,e){var t=!0;return"retrieveDocumentEvent"===l&&(t=!1!==bi(n.parent.parent.parent,13).saveDocService()&&t),t}),Y9,h9)),Ei(4608,null,HS,HS,[QS,$S]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(4,114688,null,0,f9,[nS,tu,Jv,_u,yu,QS,TI,L1,$S],{controlAutocomplete:[0,"controlAutocomplete"],singleMode:[1,"singleMode"]},{retrieveDocumentEvent:"retrieveDocumentEvent"})],(function(n,l){n(l,4,0,l.parent.parent.parent.context.$implicit.recipient,!0)}),null)}function SIn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kIn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,1,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],(function(n,l){n(l,2,0,!l.component.loadingContact)}),null)}function IIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-datepicker-toggle",[["class","mat-datepicker-toggle"],["matSuffix",""]],[[1,"tabindex",0],[2,"mat-datepicker-toggle-active",null],[2,"mat-accent",null],[2,"mat-warn",null]],[[null,"focus"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,2)._button.focus()&&t),t}),nk,QC)),Di(1,16384,[[23,4]],0,oT,[],null,null),Di(2,1753088,null,1,ew,[Ny,Nl,[8,null]],{datepicker:[0,"datepicker"]},null),ko(603979776,24,{_customIcon:0})],(function(n,l){n(l,2,0,bi(l.parent,75))}),(function(n,l){n(l,0,0,-1,bi(l,2).datepicker&&bi(l,2).datepicker.opened,bi(l,2).datepicker&&"accent"===bi(l,2).datepicker.color,bi(l,2).datepicker&&"warn"===bi(l,2).datepicker.color)}))}function AIn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"button",[["color","warn"],["mat-button",""],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(e.stopPropagation(),t=!1!==n.parent.parent.context.$implicit.validationDate.reset()&&t),t}),PC,MC)),Di(1,16384,[[23,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-calendar-times mat-icon notranslate"],["color","warn"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,2,0,"warn"),n(l,4,0,"warn")}),(function(n,l){n(l,0,0,l.component.lang.eraseValue,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function MIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-asterisk noMandatory"]],null,null,null,null,null))],null,null)}function PIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-check fieldFull"]],null,null,null,null,null))],null,null)}function DIn(n){return jo(0,[(n()(),_o(0,0,null,null,82,"div",[["class","attachment-form col-md-3 col-sm-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,11,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"plugin-select-search",[["style","width:100%;"]],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.getAttachType(e,n.parent.context.index)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(5,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"}),(n()(),_o(6,0,null,null,6,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,gIn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bIn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,vIn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,0,null,null,26,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,18,"mat-form-field",[["class","input-form mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(15,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,6,{_controlNonStatic:0}),ko(335544320,7,{_controlStatic:0}),ko(603979776,8,{_labelChildNonStatic:0}),ko(335544320,9,{_labelChildStatic:0}),ko(603979776,10,{_placeholderChild:0}),ko(603979776,11,{_errorChildren:1}),ko(603979776,12,{_hintChildren:1}),ko(603979776,13,{_prefixChildren:1}),ko(603979776,14,{_suffixChildren:1}),(n()(),_o(25,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,26)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,26)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,26)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,31)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,31)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,31)._onInput()&&t),t}),null,null)),Di(26,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(28,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(30,16384,null,0,y_,[[4,v_]],null,null),Di(31,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[6,4],[7,4]],nT,null,[OT]),(n()(),_o(33,0,null,null,6,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,_In)),Di(35,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,yIn)),Di(37,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,wIn)),Di(39,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,xIn)),Di(41,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,CIn)),Di(43,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,SIn)),Di(45,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(46,0,null,null,36,"div",[["class","attachment-form-item"]],null,null,null,null,null)),(n()(),_o(47,0,null,null,30,"mat-form-field",[["class","input-form input-date mat-form-field"],["style","cursor:pointer;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,75).open()&&t),t}),kT,pT)),Di(48,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,15,{_controlNonStatic:0}),ko(335544320,16,{_controlStatic:0}),ko(603979776,17,{_labelChildNonStatic:0}),ko(335544320,18,{_labelChildStatic:0}),ko(603979776,19,{_placeholderChild:0}),ko(603979776,20,{_errorChildren:1}),ko(603979776,21,{_hintChildren:1}),ko(603979776,22,{_prefixChildren:1}),ko(603979776,23,{_suffixChildren:1}),(n()(),_o(58,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(59,16384,[[17,4],[18,4]],0,iT,[],null,null),(n()(),Lo(60,null,["",""])),(n()(),_o(61,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""],["style","cursor:pointer;"]],[[1,"aria-haspopup",0],[1,"aria-owns",0],[1,"min",0],[1,"max",0],[8,"disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"change"],[null,"keydown"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,62)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,62).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,62)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,62)._compositionEnd(e.target.value)&&t),"input"===l&&(t=!1!==bi(n,63)._onInput(e.target.value)&&t),"change"===l&&(t=!1!==bi(n,63)._onChange()&&t),"blur"===l&&(t=!1!==bi(n,63)._onBlur()&&t),"keydown"===l&&(t=!1!==bi(n,63)._onKeydown(e)&&t),"blur"===l&&(t=!1!==bi(n,70)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,70)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,70)._onInput()&&t),t}),null,null)),Di(62,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(63,147456,null,0,lw,[Pe,[2,lv],[2,ev],[2,cT]],{matDatepicker:[0,"matDatepicker"],min:[1,"min"]},null),Ei(1024,null,C_,(function(n){return[n]}),[lw]),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,lw]),Di(66,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(68,16384,null,0,y_,[[4,v_]],null,null),Ei(2048,null,DT,null,[lw]),Di(70,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[6,DT],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[15,4],[16,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,1,null,IIn)),Di(73,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(74,16777216,null,1,1,"mat-datepicker",[],null,null,null,ZC,JC)),Di(75,180224,[["picker",4]],0,Xy,[Jv,Zg,La,lt,Jy,[2,lv],[2,bb],[2,qs]],{touchUi:[0,"touchUi"]},null),(n()(),vo(16777216,null,4,1,null,AIn)),Di(77,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(78,0,null,null,4,"div",[["class","fieldState"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,MIn)),Di(80,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,PIn)),Di(82,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,5,0,e.lang.type,l.parent.context.$implicit.type,e.attachmentsTypes,e.lang.type);var t=l.parent.context.$implicit.type.hasError("required")&&l.parent.context.$implicit.type.untouched;n(l,8,0,t);var i=l.parent.context.$implicit.type.touched&&l.parent.context.$implicit.type.hasError("required");n(l,10,0,i),n(l,12,0,l.parent.context.$implicit.type.valid&&!e.isEmptyField(l.parent.context.$implicit.type)),n(l,28,0,l.parent.context.$implicit.title),n(l,31,0,Wt(1,"",e.lang.subject,""));var a=l.parent.context.$implicit.title.hasError("required")&&l.parent.context.$implicit.title.untouched;n(l,35,0,a);var o=l.parent.context.$implicit.title.touched&&l.parent.context.$implicit.title.hasError("required");n(l,37,0,o),n(l,39,0,l.parent.context.$implicit.title.valid&&!e.isEmptyField(l.parent.context.$implicit.title)),n(l,41,0,e.resourceContacts.length>1),n(l,43,0,e.sendMassMode),n(l,45,0,!e.sendMassMode),n(l,63,0,bi(l,75),e.now),n(l,66,0,l.parent.context.$implicit.validationDate),n(l,70,0,e.lang.expectedReturnDate,""),n(l,73,0,!l.parent.context.$implicit.validationDate.value),n(l,75,0,e.appService.getViewMode()),n(l,77,0,l.parent.context.$implicit.validationDate.value&&!l.parent.context.$implicit.validationDate.disabled),n(l,80,0,l.parent.context.$implicit.validationDate.valid&&e.isEmptyField(l.parent.context.$implicit.validationDate)),n(l,82,0,l.parent.context.$implicit.validationDate.valid&&!e.isEmptyField(l.parent.context.$implicit.validationDate))}),(function(n,l){var e=l.component;n(l,14,1,["standard"==bi(l,15).appearance,"fill"==bi(l,15).appearance,"outline"==bi(l,15).appearance,"legacy"==bi(l,15).appearance,bi(l,15)._control.errorState,bi(l,15)._canLabelFloat,bi(l,15)._shouldLabelFloat(),bi(l,15)._hasFloatingLabel(),bi(l,15)._hideControlPlaceholder(),bi(l,15)._control.disabled,bi(l,15)._control.autofilled,bi(l,15)._control.focused,"accent"==bi(l,15).color,"warn"==bi(l,15).color,bi(l,15)._shouldForward("untouched"),bi(l,15)._shouldForward("touched"),bi(l,15)._shouldForward("pristine"),bi(l,15)._shouldForward("dirty"),bi(l,15)._shouldForward("valid"),bi(l,15)._shouldForward("invalid"),bi(l,15)._shouldForward("pending"),!bi(l,15)._animationsEnabled]),n(l,25,1,[bi(l,30).ngClassUntouched,bi(l,30).ngClassTouched,bi(l,30).ngClassPristine,bi(l,30).ngClassDirty,bi(l,30).ngClassValid,bi(l,30).ngClassInvalid,bi(l,30).ngClassPending,bi(l,31)._isServer,bi(l,31).id,bi(l,31).placeholder,bi(l,31).disabled,bi(l,31).required,bi(l,31).readonly&&!bi(l,31)._isNativeSelect||null,bi(l,31)._ariaDescribedby||null,bi(l,31).errorState,bi(l,31).required.toString()]),n(l,47,1,["standard"==bi(l,48).appearance,"fill"==bi(l,48).appearance,"outline"==bi(l,48).appearance,"legacy"==bi(l,48).appearance,bi(l,48)._control.errorState,bi(l,48)._canLabelFloat,bi(l,48)._shouldLabelFloat(),bi(l,48)._hasFloatingLabel(),bi(l,48)._hideControlPlaceholder(),bi(l,48)._control.disabled,bi(l,48)._control.autofilled,bi(l,48)._control.focused,"accent"==bi(l,48).color,"warn"==bi(l,48).color,bi(l,48)._shouldForward("untouched"),bi(l,48)._shouldForward("touched"),bi(l,48)._shouldForward("pristine"),bi(l,48)._shouldForward("dirty"),bi(l,48)._shouldForward("valid"),bi(l,48)._shouldForward("invalid"),bi(l,48)._shouldForward("pending"),!bi(l,48)._animationsEnabled]),n(l,60,0,e.lang.expectedReturnDate),n(l,61,1,[bi(l,63)._datepicker?"dialog":null,(null==bi(l,63)._datepicker?null:bi(l,63)._datepicker.opened)&&bi(l,63)._datepicker.id||null,bi(l,63).min?bi(l,63)._dateAdapter.toIso8601(bi(l,63).min):null,bi(l,63).max?bi(l,63)._dateAdapter.toIso8601(bi(l,63).max):null,bi(l,63).disabled,bi(l,68).ngClassUntouched,bi(l,68).ngClassTouched,bi(l,68).ngClassPristine,bi(l,68).ngClassDirty,bi(l,68).ngClassValid,bi(l,68).ngClassInvalid,bi(l,68).ngClassPending,bi(l,70)._isServer,bi(l,70).id,bi(l,70).placeholder,bi(l,70).disabled,bi(l,70).required,bi(l,70).readonly&&!bi(l,70)._isNativeSelect||null,bi(l,70)._ariaDescribedby||null,bi(l,70).errorState,bi(l,70).required.toString()])}))}function FIn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fas fa-exclamation-triangle fieldError"]],null,null,null,null,null))],null,null)}function EIn(n){return jo(0,[(n()(),_o(0,16777216,null,null,16,"mat-tab",[],null,null,null,BV,zV)),Di(1,770048,[[3,4]],2,vV,[lt],{disabled:[0,"disabled"]},null),ko(603979776,4,{templateLabel:0}),ko(335544320,5,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,hIn)),Di(5,16384,[[4,4]],0,bV,[Xe,lt],null,null),(n()(),_o(6,0,null,0,10,"div",[["style","height:100%;overflow: auto;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,DIn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,7,"div",[["class","documentContent col-md-9 col-sm-12"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,3,"app-document-viewer",[["style","height:100%;width:100%;position: relative;"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.setDatasViewer(n.context.index)&&t),t}),fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(13,114688,[[1,4],["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{mode:[0,"mode"],editMode:[1,"editMode"]},{triggerEvent:"triggerEvent"}),(n()(),_o(14,0,null,null,2,"div",[["class","fieldState stateDoc"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,FIn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,e.isDocLoading()),n(l,8,0,!e.loading),n(l,13,0,"attachment",!0);var t=l.context.$implicit.encodedFile.touched&&l.context.$implicit.encodedFile.hasError("required");n(l,16,0,t)}),null)}function OIn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"span",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.newPj()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fa fa-plus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,2,0,e.sendMassMode||e.isDocLoading()),n(l,4,0)}),(function(n,l){n(l,1,0,l.component.lang.newAttachment,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function TIn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-tab-group",[["class","mat-tab-group"],["style","width: 100%;"]],[[2,"mat-tab-group-dynamic-height",null],[2,"mat-tab-group-inverted-header",null]],[[null,"selectedIndexChange"]],(function(n,l,e){var t=!0,i=n.component;return"selectedIndexChange"===l&&(t=!1!==(i.indexTab=e)&&t),"selectedIndexChange"===l&&(t=!1!==i.updateFile(e)&&t),t}),LV,PV)),Di(1,3325952,[["pjList",4]],1,kV,[Pe,Nl,[2,CV],[2,SC]],{selectedIndex:[0,"selectedIndex"]},{selectedIndexChange:"selectedIndexChange"}),ko(603979776,3,{_tabs:1}),(n()(),vo(16777216,null,null,1,null,EIn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(5,16777216,null,null,5,"mat-tab",[["class","addPJ"],["disabled",""]],null,null,null,BV,zV)),Di(6,770048,[[3,4]],2,vV,[lt],{disabled:[0,"disabled"]},null),ko(603979776,25,{templateLabel:0}),ko(335544320,26,{_explicitContent:0}),(n()(),vo(16777216,null,0,1,null,OIn)),Di(10,16384,[[25,4]],0,bV,[Xe,lt],null,null)],(function(n,l){var e=l.component;n(l,1,0,e.indexTab),n(l,4,0,e.attachments),n(l,6,0,"")}),(function(n,l){n(l,0,0,bi(l,1).dynamicHeight,"below"===bi(l,1).headerPosition)}))}function LIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.component.canValidatePj(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.validate)}))}function RIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit("mailing")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,l.component.canValidatePj(),"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.mailing)}))}function NIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2).dialogRef.close(bi(n,2).dialogResult)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(2,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,0,["",""]))],(function(n,l){n(l,1,0,l.component.canValidatePj()),n(l,2,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).ariaLabel||null,bi(l,2).type),n(l,3,0,e.lang.cancel)}))}function jIn(n){return jo(0,[ko(671088640,1,{appDocumentViewer:1}),ko(671088640,2,{contactAutocomplete:1}),(n()(),_o(2,0,null,null,22,"div",[["class","attach-container"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,cIn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,5,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(6,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(7,0,null,null,1,"span",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),Lo(8,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,dIn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,null,5,"mat-dialog-content",[["class","attach-content mat-dialog-content"]],null,null,null,null,null)),Di(12,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,pIn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,TIn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(17,0,null,null,7,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(18,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,LIn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,RIn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NIn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0,e.sendingData),n(l,6,0),n(l,10,0,!e.loading),n(l,14,0,e.loading),n(l,16,0,!e.loading),n(l,20,0,e.creationMode&&!e.loading),n(l,22,0,e.sendMassMode&&!e.loading),n(l,24,0,e.creationMode&&!e.loading)}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6).id),n(l,8,0,e.lang.attachmentCreation)}))}function VIn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"ng-component",[],null,null,null,jIn,sIn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Ei(512,null,L1,L1,[nS,$S]),Di(4,114688,null,0,qsn,[nS,Gv,Hv,yu,tu,HS,Jv,$S,L1],null,null)],(function(n,l){n(l,4,0)}),null)}var qIn=oi("ng-component",qsn,VIn,{resId:"resId"},{},[]),zIn=function(){function n(n,l,e,t){this.http=n,this.notify=l,this.contactService=e,this.functionsService=t,this.lang=Kr,this.loading=!0,this.contacts=[],this.customFields=[],this.resId=null,this.mode="recipients"}return n.prototype.ngOnInit=function(){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(n){switch(n.label){case 0:return[4,this.getCustomFields()];case 1:return n.sent(),null!==this.resId&&this.loadContactsOfResource(this.resId,this.mode),[2]}}))}))},n.prototype.getCustomFields=function(){var n=this;return new Promise((function(l,e){n.http.get("../../rest/contactsCustomFields").pipe(Yr((function(e){n.customFields=e.customFields.map((function(n){return{id:n.id,label:n.label}})),l(!0)}))).subscribe()}))},n.prototype.loadContactsOfResource=function(n,l){var e=this;this.http.get("../../rest/resources/"+n+"/contacts?type="+l).pipe(Yr((function(n){e.contacts=n.contacts.map((function(n){return Object(t.__assign)({},n,{civility:e.contactService.formatCivilityObject(n.civility),fillingRate:e.contactService.formatFillingObject(n.fillingRate),customFields:e.functionsService.empty(n.customFields)?[]:e.formatCustomField(n.customFields)})}))})),iu((function(){return e.loading=!1})),Qr((function(n){return e.notify.handleErrors(n),Object(S0.of)(!1)}))).subscribe()},n.prototype.formatCustomField=function(n){var l=this,e=[];return Object.keys(n).forEach((function(t){e.push({label:l.customFields.filter((function(n){return n.id==t})).length>0?l.customFields.filter((function(n){return n.id==t}))[0].label:t,value:n[t]})})),e},n}(),UIn=yt({encapsulation:0,styles:[[".contact-list-container[_ngcontent-%COMP%]{padding:10px;display:grid;grid-template-columns:repeat(3,33%);grid-gap:10px}.contact-list-container-1[_ngcontent-%COMP%]{grid-template-columns:1fr}.contact-list-container-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.contact-card[_ngcontent-%COMP%]{min-width:350px;width:100%;margin-top:10px;margin-bottom:10px;padding:0;box-shadow:none;border:1px solid rgba(0,0,0,.12)}.contact-card[_ngcontent-%COMP%] .mat-expansion-panel-body{padding-left:0;padding-right:0}.mat-card-header[_ngcontent-%COMP%]{background:#f9f9f9;padding:10px 10px 5px}.mat-card-title[_ngcontent-%COMP%]{padding-right:15px}.contact-item[_ngcontent-%COMP%]{height:35px!important}.contact-header-image[_ngcontent-%COMP%]{background:#135f7f;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:18px;color:#fff}.contact-group[_ngcontent-%COMP%]{color:#135f7f;font-size:16px!important;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.contact-content[_ngcontent-%COMP%]{font-size:13px!important}.contact-address[_ngcontent-%COMP%]{cursor:pointer;color:#337ab7}.contact-address[_ngcontent-%COMP%]:hover .contact-content[_ngcontent-%COMP%]{text-decoration:underline}.mat-expansion-panel[_ngcontent-%COMP%]{box-shadow:none!important}.mat-expansion-panel-header-title[_ngcontent-%COMP%]{font-size:14px;color:#666}.contact-filling[_ngcontent-%COMP%]{position:absolute;right:20px}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;position:absolute;top:0;left:0;width:100%;height:100%;background:#ffffffb3;z-index:1;overflow:hidden;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center}.newData[_ngcontent-%COMP%]{color:#f99830}"]],data:{}});function BIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(3,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,3,0)}),(function(n,l){n(l,2,0,bi(l,3)._noopAnimations,bi(l,3).diameter,bi(l,3).diameter)}))}function $In(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"app-contact-detail",[],null,null,null,rin,Otn)),Ei(512,null,L1,L1,[nS,$S]),Di(3,114688,[["appContactDetail",4]],0,Etn,[nS,tu,L1,$S],{contact:[0,"contact"]},null)],(function(n,l){n(l,3,0,l.context.$implicit)}),null)}function HIn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,$In)),Di(1,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,l.component.contacts)}),null)}function GIn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,BIn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,HIn))],(function(n,l){n(l,2,0,l.component.loading,bi(l,3))}),(function(n,l){n(l,0,0,Wt(1,"contact-list-container contact-list-container-",l.component.contacts.length,""))}))}var WIn=yt({encapsulation:0,styles:[[""]],data:{}});function KIn(n){return jo(0,[Fi(0,YS,[]),(n()(),_o(1,0,null,null,14,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,8,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(4,0,null,null,2,"span",[["style","flex: 1;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(5,null,[" "," "])),Fo(6,3),(n()(),_o(7,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(9,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(11,0,null,null,4,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(12,16384,null,0,n_,[],null,null),(n()(),_o(13,0,null,null,2,"app-contact-resource",[],null,null,null,GIn,UIn)),Ei(512,null,L1,L1,[nS,$S]),Di(15,114688,null,0,zIn,[nS,tu,L1,$S],{resId:[0,"resId"],mode:[1,"mode"]},null)],(function(n,l){var e=l.component;n(l,3,0),n(l,10,0),n(l,15,0,e.data.resId,e.data.mode)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.data.title);var t=bt(l,5,0,n(l,6,0,bi(l,0),e.data.title,50,"..."));n(l,5,0,t),n(l,7,0,e.lang.close,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color)}))}function YIn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,KIn,WIn)),Di(1,49152,null,0,bcn,[nS,Gv,Hv],null,null)],null,null)}var JIn=oi("ng-component",bcn,YIn,{},{},[]),ZIn=yt({encapsulation:0,styles:[[".admin-contact[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;height:100%;width:90vw}.mat-sidenav-container[_ngcontent-%COMP%]{height:100%}"]],data:{}});function QIn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"app-contact-form",[],null,[[null,"onSubmitEvent"],[null,"linkContact"]],(function(n,l,e){var t=!0,i=n.component;return"onSubmitEvent"===l&&(t=!1!==i.dialogRef.close(e)&&t),"linkContact"===l&&(t=!1!==i.linkContact(e)&&t),t}),r6,j1)),Ei(512,null,tu,tu,[uf,hk]),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(4,114688,[[2,4],["contactForm",4]],0,N1,[nS,uf,tu,yu,Jv,L1,$S,Zp],{creationMode:[0,"creationMode"],contactId:[1,"contactId"]},{linkContact:"linkContact",onSubmitEvent:"onSubmitEvent"})],(function(n,l){var e=l.component;n(l,4,0,e.creationMode,e.data.contactId)}),null)}function XIn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"app-contact-detail",[],null,null,null,rin,Otn)),Ei(512,null,L1,L1,[nS,$S]),Di(2,114688,null,0,Etn,[nS,tu,L1,$S],{contact:[0,"contact"]},null)],(function(n,l){n(l,2,0,l.component.contact)}),null)}function nAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-document-viewer",[["style","height:100%;width:100%;position: relative;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{base64:[0,"base64"],editMode:[1,"editMode"]},null)],(function(n,l){n(l,3,0,l.component.headerService.getLastLoadedFile(),!1)}),null)}function lAn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(1,16384,null,0,l_,[],null,null),(n()(),_o(2,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.switchMode()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(4,0,["",""]))],(function(n,l){n(l,3,0,"primary")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.update)}))}function eAn(n){return jo(0,[ko(402653184,1,{drawer:0}),ko(402653184,2,{contactForm:0}),(n()(),_o(2,0,null,null,27,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,7,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(5,0,null,null,1,"span",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),_o(7,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(9,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(11,0,null,null,15,"mat-dialog-content",[["class","modal-container mat-dialog-content"]],null,null,null,null,null)),Di(12,16384,null,0,n_,[],null,null),(n()(),_o(13,0,null,null,13,"mat-sidenav-container",[["class","mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(14,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],null,null),ko(603979776,3,{_drawers:1}),ko(603979776,4,{_content:0}),(n()(),_o(17,0,null,1,5,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(18,1294336,[[4,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),vo(16777216,null,0,1,null,QIn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,XIn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(23,0,null,0,3,"mat-sidenav",[["autoFocus","false"],["class","mat-drawer mat-sidenav"],["mode","side"],["position","end"],["style","overflow-x:hidden;width: 50%;"],["tabIndex","-1"]],[[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,24)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,24)._animationDoneListener(e)&&t),t}),zO,qO)),Di(24,3325952,[[3,4],[1,4],["drawer",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{position:[0,"position"],mode:[1,"mode"],autoFocus:[2,"autoFocus"]},null),(n()(),vo(16777216,null,0,1,null,nAn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,lAn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,4,0),n(l,10,0),n(l,14,0),n(l,18,0),n(l,20,0,"update"===e.mode),n(l,22,0,"read"===e.mode),n(l,24,0,"end","side","false"),n(l,26,0,e.loadedDocument),n(l,29,0,e.canUpdate&&"read"===e.mode&&"contact"===e.contact.type)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,6,0,e.creationMode?e.lang.contactCreation:e.lang.contact),n(l,7,0,e.lang.close,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color),n(l,13,0,bi(l,14)._backdropOverride),n(l,17,0,bi(l,18)._container._contentMargins.left,bi(l,18)._container._contentMargins.right),n(l,23,0,null,"end"===bi(l,24).position,"over"===bi(l,24).mode,"push"===bi(l,24).mode,"side"===bi(l,24).mode,bi(l,24).opened,bi(l,24).fixedInViewport,bi(l,24).fixedInViewport?bi(l,24).fixedTopGap:null,bi(l,24).fixedInViewport?bi(l,24).fixedBottomGap:null,bi(l,24)._animationState)}))}function tAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,eAn,ZIn)),Di(1,114688,null,0,m9,[nS,TI,Gv,Hv,_u,Jv,tu,Te],null,null)],(function(n,l){n(l,1,0)}),null)}var iAn=oi("ng-component",m9,tAn,{},{},[]),aAn=yt({encapsulation:0,styles:[[".avatarAccount[_ngcontent-%COMP%]{border:3px solid #f99830;height:45px!important;width:45px!important;background-size:cover;background-repeat:no-repeat;background-position:center}"]],data:{}});function oAn(n){return jo(0,[ko(402653184,1,{appVisaWorkflow:0}),(n()(),_o(1,0,null,null,8,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,4,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(6,16384,null,0,n_,[],null,null),(n()(),_o(7,0,null,null,2,"app-visa-workflow",[],null,null,null,JG,SG)),Ei(512,null,KS,KS,[]),Di(9,114688,[[1,4],["appVisaWorkflow",4]],0,kG,[nS,tu,$S,QS,Jv,KS,Zp,TI],{adminMode:[0,"adminMode"]},null)],(function(n,l){n(l,3,0),n(l,9,0,!1)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.lang.externalVisaWorkflow)}))}function rAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,oAn,aAn)),Di(1,114688,null,0,Nsn,[nS,Gv,Hv],null,null)],(function(n,l){n(l,1,0)}),null)}var uAn=oi("ng-component",Nsn,rAn,{},{},[]),sAn=yt({encapsulation:0,styles:[[".avatarAccount[_ngcontent-%COMP%]{border:3px solid #f99830;height:45px!important;width:45px!important;background-size:cover;background-repeat:no-repeat;background-position:center}"]],data:{}});function cAn(n){return jo(0,[(n()(),_o(0,0,null,null,34,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(-1,null,["Ajouter un modèle"])),(n()(),_o(4,0,null,null,20,"mat-dialog-content",[["class","modal-container mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Nom du modèle"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,18)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,18)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,18)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.template.title=e)&&t),t}),null,null)),Di(18,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(20,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Di(23,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(25,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(27,16384,null,0,l_,[],null,null),(n()(),_o(28,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(29,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(30,0,["",""])),(n()(),_o(31,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,33).dialogRef.close(bi(n,33).dialogResult)&&t),t}),PC,MC)),Di(32,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(33,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(34,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0,"outline"),n(l,20,0,e.template.title),n(l,23,0,"Nom du modèle","text"),n(l,29,0,e.loading,"primary"),n(l,32,0,e.loading),n(l,33,0)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,1,[bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString()]),n(l,28,0,bi(l,29).disabled||null,"NoopAnimations"===bi(l,29)._animationMode),n(l,30,0,e.lang.validate),n(l,31,0,bi(l,32).disabled||null,"NoopAnimations"===bi(l,32)._animationMode,bi(l,33).ariaLabel||null,bi(l,33).type),n(l,34,0,e.lang.cancel)}))}function dAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,cAn,sAn)),Di(1,114688,null,0,CG,[nS,Gv,Hv,tu],null,null)],(function(n,l){n(l,1,0)}),null)}var pAn=oi("ng-component",CG,dAn,{},{},[]),mAn=yt({encapsulation:0,styles:[[""]],data:{}});function fAn(n){return jo(0,[(n()(),_o(0,0,null,null,34,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(-1,null,["Ajouter un modèle"])),(n()(),_o(4,0,null,null,20,"mat-dialog-content",[["class","modal-container mat-dialog-content"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["placeholder","Nom du modèle"],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,18)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,18)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,18)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.template.title=e)&&t),t}),null,null)),Di(18,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(20,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Di(23,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(25,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(27,16384,null,0,l_,[],null,null),(n()(),_o(28,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(29,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(30,0,["",""])),(n()(),_o(31,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,33).dialogRef.close(bi(n,33).dialogResult)&&t),t}),PC,MC)),Di(32,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(33,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(34,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0,"outline"),n(l,20,0,e.template.title),n(l,23,0,"Nom du modèle","text"),n(l,29,0,e.loading,"primary"),n(l,32,0,e.loading),n(l,33,0)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,1,[bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString()]),n(l,28,0,bi(l,29).disabled||null,"NoopAnimations"===bi(l,29)._animationMode),n(l,30,0,e.lang.validate),n(l,31,0,bi(l,32).disabled||null,"NoopAnimations"===bi(l,32)._animationMode,bi(l,33).ariaLabel||null,bi(l,33).type),n(l,34,0,e.lang.cancel)}))}function hAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,fAn,mAn)),Di(1,114688,null,0,ZG,[nS,Gv,Hv,tu],null,null)],(function(n,l){n(l,1,0)}),null)}var gAn=oi("ng-component",ZG,hAn,{},{},[]),bAn=function(){function n(n,l,e,t){this.http=n,this.appService=l,this.functions=e,this.latinisePipe=t,this.lang=Kr,this.criteria={mailInformations:[{id:"resourceField",label:this.lang.criteriaResourceField,desc:this.lang.criteriaResourceFieldDesc,control:new sy},{id:"contactField",label:this.lang.criteriaContactField,desc:this.lang.criteriaContactFieldDesc,control:new sy}]},this.currentCriteria=[],this.filteredCriteria={},this.searchCriteria=new sy,this.defaultCriteria=[],this.searchUrlGenerated=new la}return n.prototype.ngOnInit=function(){var n=this;Object.keys(this.criteria).forEach((function(l){n.criteria[l].forEach((function(l){n.defaultCriteria.indexOf(l.id)>-1&&n.currentCriteria.push(l)})),n.filteredCriteria[l]={},n.filteredCriteria[l]=new x,n.filteredCriteria[l]=n.searchCriteria.valueChanges.pipe(Pc(""),q((function(e){return n._filter(e,l)})))}))},n.prototype._filter=function(n,l){var e=this;if("string"==typeof n){var t=this.latinisePipe.transform(n.toLowerCase());return this.criteria[l].filter((function(n){return e.latinisePipe.transform(n.label.toLowerCase()).includes(t)}))}return this.criteria[l]},n.prototype.isCurrentCriteria=function(n){return this.currentCriteria.filter((function(l){return l.id===n})).length>0},n.prototype.addCriteria=function(n){this.currentCriteria.push(n),this.searchCriteria.reset(),this.searchCriteriaInput.nativeElement.blur()},n.prototype.removeCriteria=function(n){this.currentCriteria.splice(n,1)},n.prototype.getSearchUrl=function(){var n=this,l=[];this.currentCriteria.forEach((function(e){n.functions.empty(e.control.value)||l.push(e.id+"="+e.control.value)})),this.criteriaTool.close(),this.searchUrlGenerated.emit("&"+l.join("&"))},n}(),vAn=yt({encapsulation:0,styles:[[".addCriteriaField[_ngcontent-%COMP%]{font-size:10px}.criteriaField[_ngcontent-%COMP%]{font-size:13px}"]],data:{}});function _An(n){return jo(0,[(n()(),_o(0,0,null,null,25,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,24,"mat-form-field",[["appearance","outline"],["class","criteriaField mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,5,{_controlNonStatic:0}),ko(335544320,6,{_controlStatic:0}),ko(603979776,7,{_labelChildNonStatic:0}),ko(335544320,8,{_labelChildStatic:0}),ko(603979776,9,{_placeholderChild:0}),ko(603979776,10,{_errorChildren:1}),ko(603979776,11,{_hintChildren:1}),ko(603979776,12,{_prefixChildren:1}),ko(603979776,13,{_suffixChildren:1}),(n()(),_o(12,0,null,3,2,"mat-label",[],null,null,null,null,null)),Di(13,16384,[[7,4],[8,4]],0,iT,[],null,null),(n()(),Lo(14,null,["",""])),(n()(),_o(15,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0;return"input"===l&&(t=!1!==bi(n,16)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,16).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,16)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,16)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,21)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,21)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,21)._onInput()&&t),t}),null,null)),Di(16,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(18,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(20,16384,null,0,y_,[[4,v_]],null,null),Di(21,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],null,null),Ei(2048,[[5,4],[6,4]],nT,null,[OT]),(n()(),_o(23,0,null,6,2,"mat-hint",[["class","mat-hint"]],[[2,"mat-right",null],[1,"id",0],[1,"align",0]],null,null,null,null)),Di(24,16384,[[11,4]],0,tT,[],null,null),(n()(),Lo(25,null,["",""]))],(function(n,l){n(l,2,0,"outline"),n(l,18,0,l.context.$implicit.control),n(l,21,0)}),(function(n,l){n(l,1,1,["standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,14,0,l.context.$implicit.label),n(l,15,1,[bi(l,20).ngClassUntouched,bi(l,20).ngClassTouched,bi(l,20).ngClassPristine,bi(l,20).ngClassDirty,bi(l,20).ngClassValid,bi(l,20).ngClassInvalid,bi(l,20).ngClassPending,bi(l,21)._isServer,bi(l,21).id,bi(l,21).placeholder,bi(l,21).disabled,bi(l,21).required,bi(l,21).readonly&&!bi(l,21)._isNativeSelect||null,bi(l,21)._ariaDescribedby||null,bi(l,21).errorState,bi(l,21).required.toString()]),n(l,23,0,"end"==bi(l,24).align,bi(l,24).id,null),n(l,25,0,l.context.$implicit.desc)}))}function yAn(n){return jo(0,[ko(671088640,1,{criteriaTool:0}),ko(671088640,2,{searchCriteriaInput:0}),(n()(),_o(2,0,null,null,26,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(3,1720320,null,1,Qj,[],null,null),ko(603979776,3,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(6,16777216,null,null,22,"mat-expansion-panel",[["class","mat-expansion-panel"],["expanded",""]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(7,1753088,[[1,4],["criteriaTool",4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,4,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(10,0,null,0,6,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,11)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,11)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,11)._animationStarted()&&t),t}),aV,tV)),Di(11,180224,[[3,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(12,{collapsedHeight:0,expandedHeight:1}),Oo(13,{value:0,params:1}),(n()(),_o(14,0,null,0,2,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(15,16384,null,0,Zj,[],null,null),(n()(),Lo(16,null,[" "," "])),(n()(),_o(17,0,null,1,11,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngSubmit"],[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0,i=n.component;return"submit"===l&&(t=!1!==bi(n,19).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,19).onReset()&&t),"ngSubmit"===l&&(t=!1!==i.getSearchUrl()&&t),t}),null,null)),Di(18,16384,null,0,yy,[],null,null),Di(19,4210688,[["criteriaFormUp",4]],0,my,[[8,null],[8,null]],null,{ngSubmit:"ngSubmit"}),Ei(2048,null,g_,null,[my]),Di(21,16384,null,0,w_,[[4,g_]],null,null),(n()(),vo(16777216,null,null,1,null,_An)),Di(23,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(24,0,null,null,4,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(25,0,null,null,3,"button",[["color","primary"],["mat-raised-button",""],["matSuffix",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(26,16384,null,0,oT,[],null,null),Di(27,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(28,0,[" "," "]))],(function(n,l){var e=l.component;n(l,7,0,""),n(l,23,0,e.currentCriteria),n(l,27,0,"primary")}),(function(n,l){var e=l.component;n(l,6,0,bi(l,7).expanded,"NoopAnimations"===bi(l,7)._animationMode,bi(l,7)._hasSpacing());var t=bi(l,11).panel._headerId,i=bi(l,11).disabled?-1:0,a=bi(l,11)._getPanelId(),o=bi(l,11)._isExpanded(),r=bi(l,11).panel.disabled,u=bi(l,11)._isExpanded(),s="after"===bi(l,11)._getTogglePosition(),c="before"===bi(l,11)._getTogglePosition(),d=bi(l,11)._animationsDisabled,p=n(l,13,0,bi(l,11)._getExpandedState(),n(l,12,0,bi(l,11).collapsedHeight,bi(l,11).expandedHeight));n(l,10,0,t,i,a,o,r,u,s,c,d,p),n(l,16,0,e.lang.criteriaSearch),n(l,17,0,bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending),n(l,25,0,bi(l,27).disabled||null,"NoopAnimations"===bi(l,27)._animationMode),n(l,28,0,e.lang.searchMails)}))}var wAn=yt({encapsulation:0,styles:[[".align_leftData[_ngcontent-%COMP%]{text-align:left}.align_centerData[_ngcontent-%COMP%]{text-align:center}.align_rightData[_ngcontent-%COMP%]{text-align:right}.boldFontData[_ngcontent-%COMP%]{font-weight:700}.bigFontData[_ngcontent-%COMP%]{font-size:14px}.smallFontData[_ngcontent-%COMP%]{font-size:10px}.normalData[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.chronoData[_ngcontent-%COMP%]{width:150px}.longData[_ngcontent-%COMP%]{-webkit-box-flex:3;flex:3}.locked[_ngcontent-%COMP%]{opacity:.5}.watermark[_ngcontent-%COMP%]{position:absolute;left:50%;-webkit-transform:translateX(-50%) rotate(-20deg);transform:translateX(-50%) rotate(-20deg);color:red;font-weight:700;opacity:.6}.dragPreview[_ngcontent-%COMP%]{text-align:center;border-radius:5px;background:#fff;padding:10px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);color:#135f7f}.folder-info[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.badge-folder[_ngcontent-%COMP%]{cursor:pointer;background:#f99830;margin:5px;font-size:12px;border-radius:3px;opacity:.8}.hasEvent[_ngcontent-%COMP%]{cursor:pointer}.hasEvent[_ngcontent-%COMP%]:hover{color:#135f7f}.followIcon[_ngcontent-%COMP%]{color:#f99830}"]],data:{}});function xAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function CAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xAn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function kAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"small",[["style","color: #029BB6;"]],null,null,null,null,null)),(n()(),Lo(1,null,["- "," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.selectedRes.length,e.lang.selected)}))}function SAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"title",0],[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleAllRes(e)&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(2,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"],indeterminate:[2,"indeterminate"]},{change:"change"})],(function(n,l){var e=l.component;n(l,2,0,"primary",e.selectedRes.length==e.allResInSearch.length&&e.selectedRes.length>0,e.selectedRes.length>0&&e.selectedRes.length<e.allResInSearch.length)}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.selectAllResInBasket,""),bi(l,2).id,null,bi(l,2).indeterminate,bi(l,2).checked,bi(l,2).disabled,"before"==bi(l,2).labelPosition,"NoopAnimations"===bi(l,2)._animationMode)}))}function IAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"],["style","width: 70px;flex: initial;"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,SAn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,!l.component.singleMode)}),null)}function AAn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","width: 70px;flex: initial;"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,2,"mat-checkbox",[["class","mat-checkbox"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==n.component.toggleRes(e,n.context.$implicit)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(4,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{color:[0,"color"],checked:[1,"checked"],disabled:[2,"disabled"]},{change:"change"})],(function(n,l){var e=l.component;n(l,4,0,"primary",-1!==e.selectedRes.indexOf(l.context.$implicit.resId),e.excludeRes.indexOf(l.context.$implicit.resId)>-1)}),(function(n,l){n(l,2,0,bi(l,4).id,null,bi(l,4).indeterminate,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode)}))}function MAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.category_id)}))}function PAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang[l.context.$implicit.category])}))}function DAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.chrono)}))}function FAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.chrono)}))}function EAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","width: 100px;flex: initial"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.status)}))}function OAn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","width: 100px;flex: initial"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),_o(2,0,null,null,4,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"title",0],[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(4,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(5,{color:0}),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=n(l,5,0,l.context.$implicit.priorityColor);n(l,4,0,e),n(l,6,0,"primary")}),(function(n,l){var e=Wt(1,"",l.context.$implicit.statusLabel,""),t=Wt(5,"",l.context.$implicit.statusImage.charAt(0),"",l.context.$implicit.statusImage.charAt(1)," ",l.context.$implicit.statusImage," ",l.context.$implicit.statusImage.charAt(0),"",l.context.$implicit.statusImage.charAt(1),"-2x");n(l,2,0,e,t,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function TAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"],["style","flex:2"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.subject)}))}function LAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"],["style","flex:2"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.subject)}))}function RAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.doctype)}))}function NAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.context.$implicit.typeLabel)}))}function jAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-header-cell",[["class","mat-header-cell"],["mat-sort-header",""],["role","columnheader"]],[[1,"aria-sort",0],[2,"mat-sort-header-disabled",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick()&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!0)&&t),"mouseleave"===l&&(t=!1!==bi(n,2)._setIndicatorHintVisible(!1)&&t),t}),FL,PL)),Di(1,16384,null,0,aR,[LL,Pe],null,null),Di(2,245760,null,0,AL,[SL,Nl,[2,kL],[2,"MAT_SORT_HEADER_COLUMN_DEF"]],{id:[0,"id"]},null),(n()(),Lo(3,0,[" "," "]))],(function(n,l){n(l,2,0,"")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2)._getAriaSortAttribute(),bi(l,2)._isDisabled()),n(l,3,0,e.lang.creationDate)}))}function VAn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "])),Fi(131072,xG,[Nl,La]),Fo(4,1)],null,(function(n,l){var e=bt(l,2,0,n(l,4,0,bi(l.parent,0),bt(l,2,0,bi(l,3).transform(l.context.$implicit.creationDate,"full"))));n(l,2,0,e)}))}function qAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-cell",[["class","mat-header-cell"],["role","columnheader"]],null,null,null,null,null)),Di(1,16384,null,0,aR,[LL,Pe],null,null),(n()(),Lo(2,null,[" "," "]))],null,(function(n,l){n(l,2,0,l.component.lang.actions)}))}function zAn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"],[null,"mouseenter"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.viewDocument(n.parent.context.$implicit)&&t),"mouseenter"===l&&(t=!1!==i.viewThumbnailDoc(n.parent.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.closeThumbnail()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(2,0,null,0,4,"mat-icon",[["class","fa mat-icon notranslate"],["color","primary"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(4,278528,null,0,ps,[cs],{klass:[0,"klass"],ngClass:[1,"ngClass"]},null),Eo(5,1),Di(6,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){n(l,1,0,!l.parent.context.$implicit.hasDocument||l.parent.context.$implicit.hasDocument&&!l.parent.context.$implicit.canConvert);var e=n(l,5,0,l.parent.context.$implicit.hasDocument?"fa-eye":"fa-eye-slash");n(l,4,0,"fa",e),n(l,6,0,"primary")}),(function(n,l){n(l,0,0,l.component.getTitle(l.parent.context.$implicit),bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,6).inline,"primary"!==bi(l,6).color&&"accent"!==bi(l,6).color&&"warn"!==bi(l,6).color)}))}function UAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"mat-cell",[["class","mat-cell"],["role","gridcell"]],null,null,null,null,null)),Di(1,16384,null,0,oR,[LL,Pe],null,null),(n()(),vo(16777216,null,null,1,null,zAn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,3,0,!l.component.appService.getViewMode())}),null)}function BAn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-header-row",[["class","mat-header-row"],["role","row"]],null,null,null,bR,gR)),Ei(6144,null,$L,null,[sR]),Di(2,49152,null,0,sR,[],null,null)],null,null)}function $An(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-row",[["class","rowData mat-row"],["role","row"]],null,null,null,_R,vR)),Ei(6144,null,HL,null,[cR]),Di(2,49152,null,0,cR,[],null,null)],null,null)}function HAn(n){return jo(0,[Fi(0,ZS,[]),ko(402653184,1,{paginator:0}),ko(402653184,2,{sort:0}),(n()(),vo(16777216,null,null,1,null,CAn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(5,0,null,null,13,"div",[["style","display: flex;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,6,"div",[["style","display: flex;align-items: center;"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,2,"b",[],null,null,null,null,null)),(n()(),Lo(8,null,[""," ",""])),Fo(9,1),(n()(),Lo(-1,null,[" "])),(n()(),vo(16777216,null,null,1,null,kAn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,0,null,null,2,"div",[["style","flex:1;"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"mat-paginator",[["class","paginatorResultList mat-paginator"]],null,null,null,nN,WR)),Di(15,245760,[[1,4],["paginatorResultList",4]],0,DR,[PR,Nl],{length:[0,"length"],pageSize:[1,"pageSize"],hidePageSize:[2,"hidePageSize"]},null),(n()(),_o(16,0,null,null,2,"mat-card",[["class","mat-card"],["id","viewThumbnailDoc"],["style","display:none;position: fixed;z-index: 2;margin-left: 1px;left: 50%;transform: translate(-50%,-50%);top: 50%;"]],[[2,"_mat-animation-noopable",null]],null,null,IO,SO)),Di(17,49152,null,0,xO,[[2,SC]],null,null),(n()(),_o(18,0,null,0,0,"img",[["style","max-height: 100vh;"]],[[8,"src",4]],null,null,null,null)),(n()(),_o(19,0,null,null,122,"div",[["style","overflow: auto;"]],null,null,null,null,null)),(n()(),_o(20,0,null,null,121,"mat-table",[["cdkDropList",""],["class","mat-table cdk-drop-list"],["id","document-list"],["matSort",""],["matSortActive","creationDate"],["matSortDirection","desc"],["matSortDisableClear",""],["style","width:100%;min-width: 800px;"]],[[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],null,null,hR,fR)),Ei(6144,null,QL,null,[lR]),Ei(6144,null,jU,null,[KU]),Di(23,2342912,null,4,lR,[Ke,Nl,Pe,[8,null],[2,bb],qs,sh],{dataSource:[0,"dataSource"]},null),ko(603979776,3,{_contentColumnDefs:1}),ko(603979776,4,{_contentRowDefs:1}),ko(603979776,5,{_contentHeaderRowDefs:1}),ko(603979776,6,{_contentFooterRowDefs:1}),Di(28,737280,[[2,4],["tableResourceListSort",4]],0,kL,[],{active:[0,"active"],direction:[1,"direction"],disableClear:[2,"disableClear"]},null),Di(29,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{id:[0,"id"]},null),ko(603979776,7,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(32,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(34,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,8,{cell:0}),ko(603979776,9,{headerCell:0}),ko(603979776,10,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,IAn)),Di(40,16384,null,0,tR,[Xe],null,null),Ei(2048,[[9,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,AAn)),Di(43,16384,null,0,eR,[Xe],null,null),Ei(2048,[[8,4]],OL,null,[eR]),(n()(),_o(45,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(47,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,11,{cell:0}),ko(603979776,12,{headerCell:0}),ko(603979776,13,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,MAn)),Di(53,16384,null,0,tR,[Xe],null,null),Ei(2048,[[12,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,PAn)),Di(56,16384,null,0,eR,[Xe],null,null),Ei(2048,[[11,4]],OL,null,[eR]),(n()(),_o(58,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(60,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,14,{cell:0}),ko(603979776,15,{headerCell:0}),ko(603979776,16,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,DAn)),Di(66,16384,null,0,tR,[Xe],null,null),Ei(2048,[[15,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,FAn)),Di(69,16384,null,0,eR,[Xe],null,null),Ei(2048,[[14,4]],OL,null,[eR]),(n()(),_o(71,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(73,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,17,{cell:0}),ko(603979776,18,{headerCell:0}),ko(603979776,19,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,EAn)),Di(79,16384,null,0,tR,[Xe],null,null),Ei(2048,[[18,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,OAn)),Di(82,16384,null,0,eR,[Xe],null,null),Ei(2048,[[17,4]],OL,null,[eR]),(n()(),_o(84,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(86,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,20,{cell:0}),ko(603979776,21,{headerCell:0}),ko(603979776,22,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,TAn)),Di(92,16384,null,0,tR,[Xe],null,null),Ei(2048,[[21,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,LAn)),Di(95,16384,null,0,eR,[Xe],null,null),Ei(2048,[[20,4]],OL,null,[eR]),(n()(),_o(97,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(99,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,23,{cell:0}),ko(603979776,24,{headerCell:0}),ko(603979776,25,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,RAn)),Di(105,16384,null,0,tR,[Xe],null,null),Ei(2048,[[24,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,NAn)),Di(108,16384,null,0,eR,[Xe],null,null),Ei(2048,[[23,4]],OL,null,[eR]),(n()(),_o(110,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(112,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,26,{cell:0}),ko(603979776,27,{headerCell:0}),ko(603979776,28,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,jAn)),Di(118,16384,null,0,tR,[Xe],null,null),Ei(2048,[[27,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,VAn)),Di(121,16384,null,0,eR,[Xe],null,null),Ei(2048,[[26,4]],OL,null,[eR]),(n()(),_o(123,0,null,null,12,null,null,null,null,null,null,null)),Ei(6144,null,"MAT_SORT_HEADER_COLUMN_DEF",null,[iR]),Di(125,16384,null,3,iR,[],{name:[0,"name"]},null),ko(603979776,29,{cell:0}),ko(603979776,30,{headerCell:0}),ko(603979776,31,{footerCell:0}),Ei(2048,[[3,4]],LL,null,[iR]),(n()(),vo(0,null,null,2,null,qAn)),Di(131,16384,null,0,tR,[Xe],null,null),Ei(2048,[[30,4]],TL,null,[tR]),(n()(),vo(0,null,null,2,null,UAn)),Di(134,16384,null,0,eR,[Xe],null,null),Ei(2048,[[29,4]],OL,null,[eR]),(n()(),vo(0,null,null,2,null,BAn)),Di(137,540672,null,0,rR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[5,4]],qL,null,[rR]),(n()(),vo(0,null,null,2,null,$An)),Di(140,540672,null,0,uR,[Xe,Ke],{columns:[0,"columns"]},null),Ei(2048,[[4,4]],UL,null,[uR])],(function(n,l){var e=l.component;n(l,4,0,e.isLoadingResults),n(l,12,0,e.selectedRes.length>0),n(l,15,0,e.resultsLength,10,!0),n(l,23,0,e.data),n(l,28,0,"creationDate","desc",""),n(l,29,0,"document-list"),n(l,34,0,"action"),n(l,47,0,"category"),n(l,60,0,"chrono"),n(l,73,0,"status"),n(l,86,0,"subject"),n(l,99,0,"typeLabel"),n(l,112,0,"creationDate"),n(l,125,0,"actions"),n(l,137,0,e.displayedColumnsResource),n(l,140,0,e.displayedColumnsResource)}),(function(n,l){var e=l.component,t=e.allResInSearch.length,i=bt(l,8,1,n(l,9,0,bi(l,0),e.lang.records));n(l,8,0,t,i),n(l,16,0,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,Wt(1,"",e.thumbnailUrl,"")),n(l,20,0,bi(l,29).id,bi(l,29).disabled,bi(l,29)._dropListRef.isDragging(),bi(l,29)._dropListRef.isReceiving())}))}var GAn=yt({encapsulation:0,styles:[[""]],data:{}});function WAn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-criteria-tool",[],null,[[null,"searchUrlGenerated"]],(function(n,l,e){var t=!0;return"searchUrlGenerated"===l&&(t=!1!==n.component.launchSearch(e)&&t),t}),yAn,vAn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(2,114688,null,0,bAn,[nS,yu,$S,QS],{defaultCriteria:[0,"defaultCriteria"]},{searchUrlGenerated:"searchUrlGenerated"}),Eo(3,2)],(function(n,l){var e=n(l,3,0,"resourceField","contactField");n(l,2,0,e)}),null)}function KAn(n){return jo(0,[ko(671088640,1,{appSearchAdvList:0}),(n()(),_o(1,0,null,null,22,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,7,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(3,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(4,0,null,null,1,"span",[["style","flex: 1;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(7,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(10,0,null,null,7,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(11,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,WAn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,3,"search-adv-list",[],null,null,null,HAn,wAn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(16,114688,[[1,4],["appSearchAdvList",4]],0,Lnn,[nS,tu,_u,yu,Jv,$S],{excludeRes:[0,"excludeRes"],linkedRes:[1,"linkedRes"]},null),Eo(17,1),(n()(),_o(18,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(19,0,null,null,4,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(20,16384,null,0,l_,[],null,null),(n()(),_o(21,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.linkResources()&&t),t}),PC,MC)),Di(22,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(23,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0),n(l,9,0),n(l,13,0,void 0===e.data.fromContact);var t=n(l,17,0,e.data.resId);n(l,16,0,t,e.data.linkedRes),n(l,22,0,!e.router.url.includes("indexing")&&0===bi(l,16).getSelectedRessources().length,"primary")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).id),n(l,4,0,e.lang.linkResource),n(l,5,0,e.lang.linkResource),n(l,6,0,e.lang.close,bi(l,7).disabled||null,"NoopAnimations"===bi(l,7)._animationMode),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color),n(l,21,0,bi(l,22).disabled||null,"NoopAnimations"===bi(l,22)._animationMode),n(l,23,0,e.router.url.includes("indexing")?e.lang.validate:e.lang.linkSelectedResources)}))}function YAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,KAn,GAn)),Di(1,114688,null,0,Nnn,[nS,tu,uf,Gv,Hv],null,null)],(function(n,l){n(l,1,0)}),null)}var JAn=oi("ng-component",Nnn,YAn,{},{},[]),ZAn=yt({encapsulation:0,styles:[[""]],data:{}});function QAn(n){return jo(0,[(n()(),_o(0,0,null,null,15,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""],["style","display: flex;"]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(3,0,null,null,1,"span",[["style","flex: 1;text-align: center;"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,7).dialogRef.close(bi(n,7).dialogResult)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(7,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","fa fa-times-circle fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(10,0,null,null,5,"mat-dialog-content",[["class","mat-dialog-content"]],null,null,null,null,null)),Di(11,16384,null,0,n_,[],null,null),(n()(),_o(12,0,null,null,3,"app-document-viewer",[["style","height:100%;width:100%;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(15,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{base64:[0,"base64"],editMode:[1,"editMode"],title:[2,"title"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0),n(l,9,0),n(l,15,0,e.data.base64,!1,e.data.title)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,4,0,e.data.title),n(l,5,0,Wt(1,"",e.lang.close,""),bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode,bi(l,7).ariaLabel||null,bi(l,7).type),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color)}))}function XAn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,QAn,ZAn)),Di(1,114688,null,0,Rsn,[Hv,Gv],null,null)],(function(n,l){n(l,1,0)}),null)}var nMn=oi("ng-component",Rsn,XAn,{},{},[]),lMn=yt({encapsulation:0,styles:[[".loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;position:absolute;z-index:2;width:100%;top:0;left:0;background:#fff}.mat-dialog-title[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.copy[_ngcontent-%COMP%], .recipients[_ngcontent-%COMP%]{font-size:12px!important;padding:5px!important;min-height:auto;height:auto;border-radius:5px;cursor:pointer}.copy[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .recipients[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%]{width:auto;font-size:12px;height:auto}.models[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;padding-top:10px}.activeButton[_ngcontent-%COMP%]{color:#f99830;font-weight:700}.attachLabel[_ngcontent-%COMP%], .pdfVersion[_ngcontent-%COMP%]:hover{color:#135f7f} .attachListMenu{width:auto;max-width:initial;min-height:auto}.attachListButton[_ngcontent-%COMP%]:hover{background:initial!important;cursor:default}.attachListContainer[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 1fr;grid-gap:10px;-webkit-box-align:center;align-items:center}.extensionButton[_ngcontent-%COMP%]{line-height:20px;min-width:50px;padding:0}.badFormat[_ngcontent-%COMP%]{background-color:#d03c3c;color:#fff}.recipientPj[_ngcontent-%COMP%]{font-size:10px;color:#4f4f4f}"]],data:{}});function eMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function tMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,1)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,1)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,1)._onInput()&&t),t}),null,null)),Di(1,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{value:[0,"value"],readonly:[1,"readonly"]},null),Ei(2048,[[4,4],[5,4]],nT,null,[OT])],(function(n,l){n(l,1,0,l.component.currentSender.email,"")}),(function(n,l){n(l,0,0,bi(l,1)._isServer,bi(l,1).id,bi(l,1).placeholder,bi(l,1).disabled,bi(l,1).required,bi(l,1).readonly&&!bi(l,1)._isNativeSelect||null,bi(l,1)._ariaDescribedby||null,bi(l,1).errorState,bi(l,1).required.toString())}))}function iMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[13,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," (",") "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label,l.context.$implicit.email)}))}function aMn(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-select",[["class","mat-select"],["role","listbox"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,5)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,5)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,5)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentSender=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(2,671744,null,0,_y,[[8,null],[8,null],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(4,16384,null,0,y_,[[4,v_]],null,null),Di(5,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{compareWith:[0,"compareWith"]},null),ko(603979776,13,{options:1}),ko(603979776,14,{optionGroups:1}),ko(603979776,15,{customTrigger:0}),Ei(2048,[[4,4],[5,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,2,null,iMn)),Di(11,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(12,2)],(function(n,l){var e=l.component;n(l,2,0,e.currentSender),n(l,5,0,e.compareSenders);var t=bt(l,11,0,n(l,12,0,bi(l.parent,0),e.availableSenders,"label"));n(l,11,0,t)}),(function(n,l){n(l,0,1,[bi(l,4).ngClassUntouched,bi(l,4).ngClassTouched,bi(l,4).ngClassPristine,bi(l,4).ngClassDirty,bi(l,4).ngClassValid,bi(l,4).ngClassInvalid,bi(l,4).ngClassPending,bi(l,5).id,bi(l,5).tabIndex,bi(l,5)._getAriaLabel(),bi(l,5)._getAriaLabelledby(),bi(l,5).required.toString(),bi(l,5).disabled.toString(),bi(l,5).errorState,bi(l,5).panelOpen?bi(l,5)._optionIds:null,bi(l,5).multiple,bi(l,5)._ariaDescribedby||null,bi(l,5)._getAriaActiveDescendant(),bi(l,5).disabled,bi(l,5).errorState,bi(l,5).required,bi(l,5).empty])}))}function oMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[29,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function rMn(n){return jo(0,[(n()(),_o(0,16777216,null,null,12,"mat-chip",[["cdkDrag",""],["class","recipients mat-chip cdk-drag"],["role","option"]],[[8,"title",0],[2,"badFormat",null],[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"removed"===l&&(t=!1!==i.remove(n.context.$implicit,"recipients")&&t),"click"===l&&(t=!1!==i.remove(n.context.$implicit,"recipients")&&t),t}),null,null)),Ei(6144,null,VU,null,[$U]),Di(2,147456,[[25,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,27,{avatar:0}),ko(603979776,28,{trailingIcon:0}),ko(603979776,29,{removeIcon:0}),Di(6,4866048,[[26,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{disabled:[0,"disabled"]},null),ko(603979776,30,{_handles:1}),ko(603979776,31,{_previewTemplate:0}),ko(603979776,32,{_placeholderTemplate:0}),(n()(),Lo(10,null,[" ",""," "])),(n()(),vo(16777216,null,null,1,null,oMn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.selectable,e.canManageMail()),n(l,6,0,"SENT"==e.emailStatus||"ERROR"==e.emailStatus),n(l,12,0,e.canManageMail())}),(function(n,l){n(l,0,1,[l.context.$implicit.email,l.context.$implicit.badFormat,bi(l,2).disabled?null:-1,bi(l,2).selected,bi(l,2).avatar,bi(l,2).trailingIcon||bi(l,2).removeIcon,bi(l,2).disabled,bi(l,2)._animationsDisabled,bi(l,2).disabled||null,bi(l,2).disabled.toString(),bi(l,2).ariaSelected,bi(l,6).disabled,bi(l,6)._dragRef.isDragging()]),n(l,10,0,l.context.$implicit.label,l.context.$implicit.label!==l.context.$implicit.email?" ("+l.context.$implicit.email+")":"")}))}function uMn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(1,null,[" (",")"]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.email)}))}function sMn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[33,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",""])),(n()(),vo(16777216,null,0,1,null,uMn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,l.context.$implicit),n(l,4,0,"contactGroup"!==l.context.$implicit.type)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function cMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[48,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function dMn(n){return jo(0,[(n()(),_o(0,16777216,null,null,12,"mat-chip",[["cdkDrag",""],["class","copy mat-chip cdk-drag"],["role","option"]],[[8,"title",0],[2,"badFormat",null],[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"removed"===l&&(t=!1!==i.remove(n.context.$implicit,"copies")&&t),"click"===l&&(t=!1!==i.remove(i.copycopy,"recipients")&&t),t}),null,null)),Ei(6144,null,VU,null,[$U]),Di(2,147456,[[44,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,46,{avatar:0}),ko(603979776,47,{trailingIcon:0}),ko(603979776,48,{removeIcon:0}),Di(6,4866048,[[45,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{disabled:[0,"disabled"]},null),ko(603979776,49,{_handles:1}),ko(603979776,50,{_previewTemplate:0}),ko(603979776,51,{_placeholderTemplate:0}),(n()(),Lo(10,null,[" ",""," "])),(n()(),vo(16777216,null,null,1,null,cMn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.selectable,e.canManageMail()),n(l,6,0,"SENT"==e.emailStatus||"ERROR"==e.emailStatus),n(l,12,0,e.canManageMail())}),(function(n,l){n(l,0,1,[l.context.$implicit.email,l.context.$implicit.badFormat,bi(l,2).disabled?null:-1,bi(l,2).selected,bi(l,2).avatar,bi(l,2).trailingIcon||bi(l,2).removeIcon,bi(l,2).disabled,bi(l,2)._animationsDisabled,bi(l,2).disabled||null,bi(l,2).disabled.toString(),bi(l,2).ariaSelected,bi(l,6).disabled,bi(l,6)._dragRef.isDragging()]),n(l,10,0,l.context.$implicit.label,l.context.$implicit.label!==l.context.$implicit.email?" ("+l.context.$implicit.email+")":"")}))}function pMn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(1,null,[" (",")"]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.email)}))}function mMn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[52,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",""])),(n()(),vo(16777216,null,0,1,null,pMn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,l.context.$implicit),n(l,4,0,"contactGroup"!==l.context.$implicit.type)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function fMn(n){return jo(0,[(n()(),_o(0,0,null,null,40,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,35,{_controlNonStatic:0}),ko(335544320,36,{_controlStatic:0}),ko(603979776,37,{_labelChildNonStatic:0}),ko(335544320,38,{_labelChildStatic:0}),ko(603979776,39,{_placeholderChild:0}),ko(603979776,40,{_errorChildren:1}),ko(603979776,41,{_hintChildren:1}),ko(603979776,42,{_prefixChildren:1}),ko(603979776,43,{_suffixChildren:1}),(n()(),_o(11,0,null,0,2,"span",[["class","attachLabel"],["matPrefix",""]],null,null,null,null,null)),Di(12,16384,[[42,4]],0,aT,[],null,null),(n()(),Lo(13,null,[""," : "])),(n()(),_o(14,0,null,1,18,"mat-chip-list",[["cdkDropList",""],["class","mat-chip-list cdk-drop-list"],["id","copies-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,16).focus()&&t),"blur"===l&&(t=!1!==bi(n,16)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,16)._keydown(e)&&t),"cdkDropListDropped"===l&&(t=!1!==i.drop(e)&&t),t}),hN,fN)),Ei(6144,null,jU,null,[KU]),Di(16,1556480,[["copiesList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,44,{chips:1}),Di(18,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,45,{_draggables:1}),Eo(20,2),Ei(2048,[[35,4],[36,4]],nT,null,[cN]),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,0,1,null,dMn)),Di(24,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(25,16777216,[[2,0],["copiesField",1]],0,7,"input",[["class","mat-autocomplete-trigger mat-chip-input mat-input-element"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"disabled",0],[1,"placeholder",0],[1,"aria-invalid",0]],[[null,"matChipInputTokenEnd"],[null,"focus"],[null,"paste"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,26)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,26)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,26)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,27)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,27)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,27)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,27)._handleKeydown(e)&&t),"keydown"===l&&(t=!1!==bi(n,32)._keydown(e)&&t),"blur"===l&&(t=!1!==bi(n,32)._blur()&&t),"focus"===l&&(t=!1!==bi(n,32)._focus()&&t),"input"===l&&(t=!1!==bi(n,32)._onInput()&&t),"matChipInputTokenEnd"===l&&(t=!1!==i.add(e,"copies")&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),"paste"===l&&(t=!1!==i.onPaste(e,"copies")&&t),t}),null,null)),Di(26,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(27,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(29,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,540672,null,0,pN,[Pe,oN],{chipList:[0,"chipList"],addOnBlur:[1,"addOnBlur"],separatorKeyCodes:[2,"separatorKeyCodes"]},{chipEnd:"matChipInputTokenEnd"}),(n()(),_o(33,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.addEmail(e.option.value,"copies")&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(35,1097728,[["autoEmails2",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,52,{options:1}),ko(603979776,53,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,mMn)),Di(39,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl])],(function(n,l){var e=l.component;n(l,16,0);var t=n(l,20,0,"recipients-list","invcopies-list");n(l,18,0,t,e.copies,"copies-list"),n(l,24,0,e.copies),n(l,27,0,bi(l,35)),n(l,29,0,e.recipientsInput),n(l,32,0,bi(l,16),!0,e.separatorKeysCodes),n(l,39,0,bt(l,39,0,bi(l,40).transform(e.filteredEmails)))}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.copieShort),n(l,14,1,[bi(l,16).disabled?null:bi(l,16)._tabIndex,bi(l,16)._ariaDescribedby||null,bi(l,16).required.toString(),bi(l,16).disabled.toString(),bi(l,16).errorState,bi(l,16).multiple,bi(l,16).role,bi(l,16).disabled,bi(l,16).errorState,bi(l,16).required,bi(l,16).ariaOrientation,bi(l,16)._uid,bi(l,18).id,bi(l,18).disabled,bi(l,18)._dropListRef.isDragging(),bi(l,18)._dropListRef.isReceiving()]),n(l,25,1,[bi(l,27).autocompleteAttribute,bi(l,27).autocompleteDisabled?null:"combobox",bi(l,27).autocompleteDisabled?null:"list",bi(l,27).panelOpen&&bi(l,27).activeOption?bi(l,27).activeOption.id:null,bi(l,27).autocompleteDisabled?null:bi(l,27).panelOpen.toString(),bi(l,27).autocompleteDisabled||!bi(l,27).panelOpen?null:null==bi(l,27).autocomplete?null:bi(l,27).autocomplete.id,!bi(l,27).autocompleteDisabled,bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32).id,bi(l,32).disabled||null,bi(l,32).placeholder||null,bi(l,32)._chipList&&bi(l,32)._chipList.ngControl?bi(l,32)._chipList.ngControl.invalid:null])}))}function hMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[67,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function gMn(n){return jo(0,[(n()(),_o(0,16777216,null,null,12,"mat-chip",[["cdkDrag",""],["class","copy mat-chip cdk-drag"],["role","option"]],[[8,"title",0],[2,"badFormat",null],[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0],[2,"cdk-drag-disabled",null],[2,"cdk-drag-dragging",null]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,2).focus()&&t),"blur"===l&&(t=!1!==bi(n,2)._blur()&&t),"removed"===l&&(t=!1!==i.remove(n.context.$implicit,"invisibleCopies")&&t),"click"===l&&(t=!1!==i.remove(n.context.$implicit,"recipients")&&t),t}),null,null)),Ei(6144,null,VU,null,[$U]),Di(2,147456,[[63,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,65,{avatar:0}),ko(603979776,66,{trailingIcon:0}),ko(603979776,67,{removeIcon:0}),Di(6,4866048,[[64,4]],3,$U,[Pe,[3,jU],qs,La,lt,BU,[2,bb],NU,Nl],{disabled:[0,"disabled"]},null),ko(603979776,68,{_handles:1}),ko(603979776,69,{_previewTemplate:0}),ko(603979776,70,{_placeholderTemplate:0}),(n()(),Lo(10,null,[" ",""," "])),(n()(),vo(16777216,null,null,1,null,hMn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,e.selectable,e.canManageMail()),n(l,6,0,"SENT"==e.emailStatus||"ERROR"==e.emailStatus),n(l,12,0,e.canManageMail())}),(function(n,l){n(l,0,1,[l.context.$implicit.email,l.context.$implicit.badFormat,bi(l,2).disabled?null:-1,bi(l,2).selected,bi(l,2).avatar,bi(l,2).trailingIcon||bi(l,2).removeIcon,bi(l,2).disabled,bi(l,2)._animationsDisabled,bi(l,2).disabled||null,bi(l,2).disabled.toString(),bi(l,2).ariaSelected,bi(l,6).disabled,bi(l,6)._dragRef.isDragging()]),n(l,10,0,l.context.$implicit.label,l.context.$implicit.label!==l.context.$implicit.email?" ("+l.context.$implicit.email+")":"")}))}function bMn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(1,null,[" (",")"]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.email)}))}function vMn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[71,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" ",""])),(n()(),vo(16777216,null,0,1,null,bMn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,1,0,l.context.$implicit),n(l,4,0,"contactGroup"!==l.context.$implicit.type)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function _Mn(n){return jo(0,[(n()(),_o(0,0,null,null,40,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,54,{_controlNonStatic:0}),ko(335544320,55,{_controlStatic:0}),ko(603979776,56,{_labelChildNonStatic:0}),ko(335544320,57,{_labelChildStatic:0}),ko(603979776,58,{_placeholderChild:0}),ko(603979776,59,{_errorChildren:1}),ko(603979776,60,{_hintChildren:1}),ko(603979776,61,{_prefixChildren:1}),ko(603979776,62,{_suffixChildren:1}),(n()(),_o(11,0,null,0,2,"span",[["class","attachLabel"],["matPrefix",""]],null,null,null,null,null)),Di(12,16384,[[61,4]],0,aT,[],null,null),(n()(),Lo(13,null,[""," : "])),(n()(),_o(14,0,null,1,18,"mat-chip-list",[["cdkDropList",""],["class","mat-chip-list cdk-drop-list"],["id","invcopies-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,16).focus()&&t),"blur"===l&&(t=!1!==bi(n,16)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,16)._keydown(e)&&t),"cdkDropListDropped"===l&&(t=!1!==i.drop(e)&&t),t}),hN,fN)),Ei(6144,null,jU,null,[KU]),Di(16,1556480,[["invCopiesList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,63,{chips:1}),Di(18,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,64,{_draggables:1}),Eo(20,2),Ei(2048,[[54,4],[55,4]],nT,null,[cN]),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,0,1,null,gMn)),Di(24,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(25,16777216,[[3,0],["invisibleCopiesField",1]],0,7,"input",[["class","mat-autocomplete-trigger mat-chip-input mat-input-element"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"disabled",0],[1,"placeholder",0],[1,"aria-invalid",0]],[[null,"matChipInputTokenEnd"],[null,"focus"],[null,"paste"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,26)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,26).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,26)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,26)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,27)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,27)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,27)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,27)._handleKeydown(e)&&t),"keydown"===l&&(t=!1!==bi(n,32)._keydown(e)&&t),"blur"===l&&(t=!1!==bi(n,32)._blur()&&t),"focus"===l&&(t=!1!==bi(n,32)._focus()&&t),"input"===l&&(t=!1!==bi(n,32)._onInput()&&t),"matChipInputTokenEnd"===l&&(t=!1!==i.add(e,"invisibleCopies")&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),"paste"===l&&(t=!1!==i.onPaste(e,"invisibleCopies")&&t),t}),null,null)),Di(26,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(27,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(29,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(31,16384,null,0,y_,[[4,v_]],null,null),Di(32,540672,null,0,pN,[Pe,oN],{chipList:[0,"chipList"],addOnBlur:[1,"addOnBlur"],separatorKeyCodes:[2,"separatorKeyCodes"]},{chipEnd:"matChipInputTokenEnd"}),(n()(),_o(33,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.addEmail(e.option.value,"invisibleCopies")&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(35,1097728,[["autoEmails3",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,71,{options:1}),ko(603979776,72,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,vMn)),Di(39,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl])],(function(n,l){var e=l.component;n(l,16,0);var t=n(l,20,0,"recipients-list","copies-list");n(l,18,0,t,e.invisibleCopies,"invcopies-list"),n(l,24,0,e.invisibleCopies),n(l,27,0,bi(l,35)),n(l,29,0,e.recipientsInput),n(l,32,0,bi(l,16),!0,e.separatorKeysCodes),n(l,39,0,bt(l,39,0,bi(l,40).transform(e.filteredEmails)))}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.invisibleCopyShort),n(l,14,1,[bi(l,16).disabled?null:bi(l,16)._tabIndex,bi(l,16)._ariaDescribedby||null,bi(l,16).required.toString(),bi(l,16).disabled.toString(),bi(l,16).errorState,bi(l,16).multiple,bi(l,16).role,bi(l,16).disabled,bi(l,16).errorState,bi(l,16).required,bi(l,16).ariaOrientation,bi(l,16)._uid,bi(l,18).id,bi(l,18).disabled,bi(l,18)._dropListRef.isDragging(),bi(l,18)._dropListRef.isReceiving()]),n(l,25,1,[bi(l,27).autocompleteAttribute,bi(l,27).autocompleteDisabled?null:"combobox",bi(l,27).autocompleteDisabled?null:"list",bi(l,27).panelOpen&&bi(l,27).activeOption?bi(l,27).activeOption.id:null,bi(l,27).autocompleteDisabled?null:bi(l,27).panelOpen.toString(),bi(l,27).autocompleteDisabled||!bi(l,27).panelOpen?null:null==bi(l,27).autocomplete?null:bi(l,27).autocomplete.id,!bi(l,27).autocompleteDisabled,bi(l,31).ngClassUntouched,bi(l,31).ngClassTouched,bi(l,31).ngClassPristine,bi(l,31).ngClassDirty,bi(l,31).ngClassValid,bi(l,31).ngClassInvalid,bi(l,31).ngClassPending,bi(l,32).id,bi(l,32).disabled||null,bi(l,32).placeholder||null,bi(l,32)._chipList&&bi(l,32)._chipList.ngControl?bi(l,32)._chipList.ngControl.invalid:null])}))}function yMn(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),"click"===l&&(e.stopPropagation(),t=!1!==(i.currentEmailAttachTool=n.context.$implicit.key)&&t),t}),PC,MC)),Di(1,16384,[[81,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"className",0],[2,"activeButton",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,!e.canManageMail()||0===e.emailAttachTool[l.context.$implicit.key].list.length),n(l,3,0,bi(l.parent,117)),n(l,5,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,e.emailAttachTool[l.context.$implicit.key].title,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,Wt(1,"",e.emailAttachTool[l.context.$implicit.key].icon,""),"document"===l.context.$implicit.key&&e.emailAttach.document.isLinked||"document"!==l.context.$implicit.key&&e.emailAttach[l.context.$implicit.key].length>0,bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function wMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","extensionButton"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleAttachMail(n.parent.context.$implicit,n.parent.parent.parent.context.$implicit.key,"original")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(2,0,[".",""]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,l.parent.context.$implicit.format)}))}function xMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","extensionButton"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.toggleAttachMail(n.parent.context.$implicit,n.parent.parent.parent.context.$implicit.key,"pdf")&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(-1,0,[".pdf"]))],(function(n,l){n(l,1,0,"primary")}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode)}))}function CMn(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),Lo(1,null,[" ","  "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.chrono)}))}function kMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"span",[["style","color:green"]],null,null,null,null,null)),(n()(),Lo(1,null,[" (",")"])),Fo(2,1)],null,(function(n,l){var e=l.component,t=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent.parent,2),e.lang.signed));n(l,1,0,t)}))}function SMn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"div",[["style","margin-top: 5px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" ",": "])),(n()(),_o(2,0,null,null,1,"b",[],[[8,"title",0]],null,null,null,null)),(n()(),Lo(3,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,l.parent.context.$implicit.onlyCompany&&"contact"===l.parent.context.$implicit.recipientType?e.lang.company:e.lang.recipient),n(l,2,0,l.parent.context.$implicit.recipientLabel),n(l,3,0,l.parent.context.$implicit.recipientLabel)}))}function IMn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","font-size: 10px; color: gray; font-style: italic; margin-top: 5px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noRecipient)}))}function AMn(n){return jo(0,[(n()(),_o(0,0,null,null,28,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,25,"button",[["class","attachListButton mat-menu-item"],["disableRipple",""],["mat-menu-item",""],["style","line-height: normal;height: auto;padding: 10px;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,2)._handleMouseEnter()&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),lL,nL)),Di(2,180224,[[82,4],[83,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"],disableRipple:[1,"disableRipple"]},null),(n()(),_o(3,0,null,0,23,"div",[["class","attachListContainer"]],null,null,null,null,null)),(n()(),_o(4,0,null,null,5,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,wMn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xMn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,16,"div",[],null,null,null,null,null)),(n()(),_o(11,0,null,null,15,"span",[],[[8,"title",0]],null,null,null,null)),(n()(),_o(12,0,null,null,3,"div",[["style","font-size: 10px;opacity: 0.5;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,CMn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),Lo(17,null,[" "," "])),Fo(18,3),(n()(),_o(19,0,null,null,3,"div",[["class","attachLabel"],["style","font-size: 10px;"]],null,null,null,null,null)),(n()(),Lo(20,null,[" ",""])),(n()(),vo(16777216,null,null,1,null,kMn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,SMn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,IMn)),Di(26,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(27,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(28,49152,null,0,mI,[],null,null)],(function(n,l){var e=l.component;n(l,2,0,e.isSelectedAttachMail(l.context.$implicit,l.parent.parent.context.$implicit.key),""),n(l,6,0,"SIGN"!==l.context.$implicit.status),n(l,9,0,!e.functions.empty(l.context.$implicit.convertedDocument)),n(l,14,0,!e.functions.empty(l.context.$implicit.chrono)),n(l,22,0,"SIGN"===l.context.$implicit.status),n(l,24,0,null!==l.context.$implicit.recipientLabel),n(l,26,0,null===l.context.$implicit.recipientId&&"attachments"===l.parent.parent.context.$implicit.key)}),(function(n,l){n(l,1,0,bi(l,2).role,bi(l,2)._highlighted,bi(l,2)._triggersSubmenu,bi(l,2)._getTabIndex(),bi(l,2).disabled.toString(),bi(l,2).disabled||null),n(l,11,0,l.context.$implicit.label),n(l,15,0,l.context.$implicit.creator);var e=bt(l,17,0,n(l,18,0,bi(l.parent.parent.parent,1),l.context.$implicit.label,45,"..."));n(l,17,0,e),n(l,20,0,l.context.$implicit.typeLabel),n(l,27,0,bi(l,28).vertical?"vertical":"horizontal",bi(l,28).vertical,!bi(l,28).vertical,bi(l,28).inset)}))}function MMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,AMn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.emailAttachTool[l.parent.context.$implicit.key].list)}),null)}function PMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,MMn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.key===l.component.currentEmailAttachTool)}),null)}function DMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[88,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function FMn(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-chip",[["class","copy mat-chip"],["role","option"]],[[8,"title",0],[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeAttachMail(0,"document")&&t),t}),null,null)),Di(1,147456,[[85,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,86,{avatar:0}),ko(603979776,87,{trailingIcon:0}),ko(603979776,88,{removeIcon:0}),(n()(),_o(5,0,null,null,0,"i",[["class","fa fa-file attachLabel"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),Fo(7,3),(n()(),_o(8,0,null,null,1,"small",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(9,null,["("," - ",")"])),(n()(),vo(16777216,null,null,1,null,DMn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.selectable,e.canManageMail()),n(l,11,0,e.canManageMail())}),(function(n,l){var e=l.component;n(l,0,0,e.emailAttach.document.chrono+" - "+e.emailAttach.document.label,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected);var t=bt(l,6,0,n(l,7,0,bi(l.parent,1),e.emailAttach.document.label,25,"..."));n(l,6,0,t),n(l,9,0,e.emailAttach.document.format,e.emailAttach.document.size)}))}function EMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[91,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function OMn(n){return jo(0,[(n()(),_o(0,0,null,null,11,"mat-chip",[["class","copy mat-chip"],["role","option"]],[[8,"title",0],[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.removeAttachMail(n.context.index,n.parent.parent.context.$implicit.key)&&t),"click"===l&&(t=!1!==i.openEmailAttach(n.parent.parent.context.$implicit.key,n.context.$implicit)&&t),t}),null,null)),Di(1,147456,[[85,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,89,{avatar:0}),ko(603979776,90,{trailingIcon:0}),ko(603979776,91,{removeIcon:0}),(n()(),_o(5,0,null,null,0,"i",[],[[8,"className",0]],null,null,null,null)),(n()(),Lo(6,null,[" "," "])),Fo(7,3),(n()(),_o(8,0,null,null,1,"small",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(9,null,["(","",")"])),(n()(),vo(16777216,null,null,1,null,EMn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.selectable,e.canManageMail()),n(l,11,0,e.canManageMail())}),(function(n,l){var e=l.component;n(l,0,0,l.context.$implicit.title,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,5,0,Wt(1,"",e.emailAttachTool[l.parent.parent.context.$implicit.key].icon," attachLabel"));var t=bt(l,6,0,n(l,7,0,bi(l.parent.parent.parent,1),l.context.$implicit.label,25,"..."));n(l,6,0,t),n(l,9,0,l.context.$implicit.format,e.functions.empty(l.context.$implicit.size)?"":" - "+l.context.$implicit.size)}))}function TMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,OMn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.emailAttach[l.parent.context.$implicit.key])}),null)}function LMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,TMn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,"document"!==l.context.$implicit.key)}),null)}function RMn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.mergeEmailTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.emailModel,e.templateEmailListForm,e.availableEmailModels,e.lang.emailModel)}),null)}function NMn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.mergeSignEmailTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,[["templateList",4]],0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.emailSignatures,e.emailSignListForm,e.availableSignEmailModels,e.lang.emailSignatures)}),null)}function jMn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","models"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,RMn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NMn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.availableEmailModels.length>0),n(l,4,0,e.availableSignEmailModels.length>0)}),null)}function VMn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"textarea",[["id","emailSignature"],["name","emailSignature"],["style","padding-top: 10px;"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,1)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,1).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,1)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,1)._compositionEnd(e.target.value)&&t),"ngModelChange"===l&&(t=!1!==(i.emailContent=e)&&t),t}),null,null)),Di(1,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(3,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(5,16384,null,0,y_,[[4,v_]],null,null)],(function(n,l){n(l,3,0,"emailSignature",l.component.emailContent)}),(function(n,l){n(l,0,0,bi(l,5).ngClassUntouched,bi(l,5).ngClassTouched,bi(l,5).ngClassPristine,bi(l,5).ngClassDirty,bi(l,5).ngClassValid,bi(l,5).ngClassInvalid,bi(l,5).ngClassPending)}))}function qMn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-document-viewer",[["style","display:block;height:400px;width:100%;overflow: auto;"]],null,null,null,fmn,zpn)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,114688,[["appDocumentViewer",4]],0,jsn,[nS,tu,_u,yu,Jv,HS,$S,TI,cA],{base64:[0,"base64"],editMode:[1,"editMode"]},null)],(function(n,l){n(l,3,0,l.component.emailContent,!1)}),null)}function zMn(n){return jo(0,[(n()(),_o(0,16777216,null,null,4,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["color","primary"],["mat-raised-button",""],["style","min-width: auto;width: 30px;padding: 0;background-color: white; color: grey;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"mousedown"],[null,"keydown"],[null,"click"]],(function(n,l,e){var t=!0;return"mousedown"===l&&(t=!1!==bi(n,2)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,2)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),Di(2,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(3,0,null,0,1,"mat-icon",[["class","fas fa-ellipsis-v mat-icon notranslate"],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,"primary"),n(l,2,0,bi(l.parent,7)),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode,bi(l,2).menuOpen||null),n(l,3,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function UMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.switchEditionMode()&&t),t}),lL,nL)),Di(1,180224,[[92,4],[93,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang.switchInPlainText)}))}function BMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.switchEditionMode()&&t),t}),lL,nL)),Di(1,180224,[[92,4],[93,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),Lo(2,0,[" "," "]))],null,(function(n,l){var e=l.component;n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,e.lang.switchInHtml)}))}function $Mn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){n(l,1,0,0===l.component.recipients.length,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.send)}))}function HMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteEmail()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,e.headerService.user.id!==e.emailCreatorId,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function GMn(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(1,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,zMn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(4,0,null,null,10,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(7,1294336,[["emailActionMenu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,92,{_allItems:1}),ko(603979776,93,{items:1}),ko(603979776,94,{lazyContent:0}),(n()(),vo(16777216,null,0,1,null,UMn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,BMn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$Mn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,HMn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,e.canManageMail()&&e.privilegeService.hasCurrentUserPrivilege("sendmail")),n(l,7,0,"attachListMenu"),n(l,12,0,e.htmlMode),n(l,14,0,!e.htmlMode),n(l,16,0,e.canManageMail()&&e.privilegeService.hasCurrentUserPrivilege("sendmail")),n(l,18,0,e.data.emailId&&"email"===e.data.emailType)}),null)}function WMn(n){return jo(0,[Fi(0,HS,[QS,$S]),Fi(0,YS,[]),Fi(0,Es,[]),ko(402653184,1,{recipientsField:0}),ko(671088640,2,{copiesField:0}),ko(671088640,3,{invisibleCopiesField:0}),(n()(),_o(6,0,null,null,136,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(7,0,null,null,7,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(8,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(9,0,null,null,1,"span",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),Lo(10,null,[" "," "])),(n()(),_o(11,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveDraft()&&t),t}),PC,MC)),Di(12,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(13,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(14,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(15,0,null,null,124,"mat-dialog-content",[["class","modal-container mat-dialog-content"]],null,null,null,null,null)),Di(16,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,eMn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(19,0,null,null,25,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(20,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,4,{_controlNonStatic:0}),ko(335544320,5,{_controlStatic:0}),ko(603979776,6,{_labelChildNonStatic:0}),ko(335544320,7,{_labelChildStatic:0}),ko(603979776,8,{_placeholderChild:0}),ko(603979776,9,{_errorChildren:1}),ko(603979776,10,{_hintChildren:1}),ko(603979776,11,{_prefixChildren:1}),ko(603979776,12,{_suffixChildren:1}),(n()(),_o(30,0,null,0,2,"span",[["class","attachLabel"],["matPrefix",""]],null,null,null,null,null)),Di(31,16384,[[11,4]],0,aT,[],null,null),(n()(),Lo(32,null,[""," : "])),(n()(),vo(16777216,null,1,1,null,tMn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,aMn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,4,3,"button",[["color","primary"],["mat-button",""],["matSuffix",""]],[[2,"activeButton",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=0!=(i.showCopies=!i.showCopies)&&t),t}),PC,MC)),Di(38,16384,[[12,4]],0,oT,[],null,null),Di(39,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(40,0,["",""])),(n()(),_o(41,0,null,4,3,"button",[["color","primary"],["mat-button",""],["matSuffix",""]],[[2,"activeButton",null],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=0!=(i.showInvisibleCopies=!i.showInvisibleCopies)&&t),t}),PC,MC)),Di(42,16384,[[12,4]],0,oT,[],null,null),Di(43,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(44,0,["",""])),(n()(),_o(45,0,null,null,40,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(46,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,16,{_controlNonStatic:0}),ko(335544320,17,{_controlStatic:0}),ko(603979776,18,{_labelChildNonStatic:0}),ko(335544320,19,{_labelChildStatic:0}),ko(603979776,20,{_placeholderChild:0}),ko(603979776,21,{_errorChildren:1}),ko(603979776,22,{_hintChildren:1}),ko(603979776,23,{_prefixChildren:1}),ko(603979776,24,{_suffixChildren:1}),(n()(),_o(56,0,null,0,2,"span",[["class","attachLabel"],["matPrefix",""]],null,null,null,null,null)),Di(57,16384,[[23,4]],0,aT,[],null,null),(n()(),Lo(58,null,[""," : "])),(n()(),_o(59,0,null,1,18,"mat-chip-list",[["cdkDropList",""],["class","mat-chip-list cdk-drop-list"],["id","recipients-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,61).focus()&&t),"blur"===l&&(t=!1!==bi(n,61)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,61)._keydown(e)&&t),"cdkDropListDropped"===l&&(t=!1!==i.drop(e)&&t),t}),hN,fN)),Ei(6144,null,jU,null,[KU]),Di(61,1556480,[["recipientsList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,25,{chips:1}),Di(63,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],data:[1,"data"],id:[2,"id"]},{dropped:"cdkDropListDropped"}),ko(603979776,26,{_draggables:1}),Eo(65,2),Ei(2048,[[16,4],[17,4]],nT,null,[cN]),Ei(256,null,GU,void 0,[]),(n()(),vo(16777216,null,0,1,null,rMn)),Di(69,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(70,16777216,[[1,0],["recipientsField",1]],0,7,"input",[["class","mat-autocomplete-trigger mat-chip-input mat-input-element"]],[[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"disabled",0],[1,"placeholder",0],[1,"aria-invalid",0]],[[null,"matChipInputTokenEnd"],[null,"focus"],[null,"paste"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,71)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,71).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,71)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,71)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,72)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,72)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,72)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,72)._handleKeydown(e)&&t),"keydown"===l&&(t=!1!==bi(n,77)._keydown(e)&&t),"blur"===l&&(t=!1!==bi(n,77)._blur()&&t),"focus"===l&&(t=!1!==bi(n,77)._focus()&&t),"input"===l&&(t=!1!==bi(n,77)._onInput()&&t),"matChipInputTokenEnd"===l&&(t=!1!==i.add(e,"recipients")&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),"paste"===l&&(t=!1!==i.onPaste(e,"recipients")&&t),t}),null,null)),Di(71,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(72,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(74,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(76,16384,null,0,y_,[[4,v_]],null,null),Di(77,540672,null,0,pN,[Pe,oN],{chipList:[0,"chipList"],addOnBlur:[1,"addOnBlur"],separatorKeyCodes:[2,"separatorKeyCodes"]},{chipEnd:"matChipInputTokenEnd"}),(n()(),_o(78,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.addEmail(e.option.value,"recipients")&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(80,1097728,[["autoEmails",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,33,{options:1}),ko(603979776,34,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,sMn)),Di(84,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),vo(16777216,null,null,1,null,fMn)),Di(87,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,_Mn)),Di(89,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(90,0,null,null,33,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(91,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,73,{_controlNonStatic:0}),ko(335544320,74,{_controlStatic:0}),ko(603979776,75,{_labelChildNonStatic:0}),ko(335544320,76,{_labelChildStatic:0}),ko(603979776,77,{_placeholderChild:0}),ko(603979776,78,{_errorChildren:1}),ko(603979776,79,{_hintChildren:1}),ko(603979776,80,{_prefixChildren:1}),ko(603979776,81,{_suffixChildren:1}),(n()(),_o(101,0,null,1,9,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","70"]],[[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,102)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,102).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,102)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,102)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,109)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,109)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,109)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.emailsubject=e)&&t),t}),null,null)),Di(102,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(103,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n){return[n]}),[Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(106,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(108,16384,null,0,y_,[[4,v_]],null,null),Di(109,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Ei(2048,[[73,4],[74,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,2,null,yMn)),Di(112,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),_o(114,0,null,1,9,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(117,1294336,[["emailAttachListMenu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,82,{_allItems:1}),ko(603979776,83,{items:1}),ko(603979776,84,{lazyContent:0}),(n()(),vo(16777216,null,0,2,null,PMn)),Di(122,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),_o(124,0,null,null,8,"mat-chip-list",[["class","mat-chip-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,126).focus()&&t),"blur"===l&&(t=!1!==bi(n,126)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,126)._keydown(e)&&t),t}),hN,fN)),Ei(6144,null,nT,null,[cN]),Di(126,1556480,null,1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,85,{chips:1}),(n()(),vo(16777216,null,0,1,null,FMn)),Di(129,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,2,null,LMn)),Di(131,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),vo(16777216,null,null,1,null,jMn)),Di(134,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(135,0,null,null,4,"div",[["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,VMn)),Di(137,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,qMn)),Di(139,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(140,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,GMn)),Di(142,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,8,0),n(l,14,0),n(l,18,0,e.loading),n(l,34,0,!e.canManageMail()),n(l,36,0,e.canManageMail()),n(l,39,0,!e.canManageMail(),"primary"),n(l,43,0,!e.canManageMail(),"primary"),n(l,61,0);var t=n(l,65,0,"copies-list","invcopies-list");n(l,63,0,t,e.recipients,"recipients-list"),n(l,69,0,e.recipients),n(l,72,0,bi(l,80)),n(l,74,0,e.recipientsInput),n(l,77,0,bi(l,61),!0,e.separatorKeysCodes),n(l,84,0,bt(l,84,0,bi(l,85).transform(e.filteredEmails))),n(l,87,0,e.showCopies),n(l,89,0,e.showInvisibleCopies),n(l,91,0,"never"),n(l,103,0,"70"),n(l,106,0,e.emailsubject),n(l,109,0,e.lang.object,!e.canManageMail()),n(l,112,0,bt(l,112,0,bi(l,113).transform(e.emailAttachTool))),n(l,117,0,"attachListMenu"),n(l,122,0,bt(l,122,0,bi(l,123).transform(e.emailAttachTool))),n(l,126,0),n(l,129,0,e.emailAttach.document.isLinked),n(l,131,0,bt(l,131,0,bi(l,132).transform(e.emailAttach))),n(l,134,0,e.canManageMail()),n(l,137,0,!e.pdfMode),n(l,139,0,e.pdfMode),n(l,142,0,!e.loading)}),(function(n,l){var e=l.component;n(l,7,0,bi(l,8).id),n(l,10,0,e.data.title),n(l,11,0,e.lang.saveAndClose,bi(l,12).disabled||null,"NoopAnimations"===bi(l,12)._animationMode),n(l,13,0,bi(l,14).inline,"primary"!==bi(l,14).color&&"accent"!==bi(l,14).color&&"warn"!==bi(l,14).color),n(l,19,1,["standard"==bi(l,20).appearance,"fill"==bi(l,20).appearance,"outline"==bi(l,20).appearance,"legacy"==bi(l,20).appearance,bi(l,20)._control.errorState,bi(l,20)._canLabelFloat,bi(l,20)._shouldLabelFloat(),bi(l,20)._hasFloatingLabel(),bi(l,20)._hideControlPlaceholder(),bi(l,20)._control.disabled,bi(l,20)._control.autofilled,bi(l,20)._control.focused,"accent"==bi(l,20).color,"warn"==bi(l,20).color,bi(l,20)._shouldForward("untouched"),bi(l,20)._shouldForward("touched"),bi(l,20)._shouldForward("pristine"),bi(l,20)._shouldForward("dirty"),bi(l,20)._shouldForward("valid"),bi(l,20)._shouldForward("invalid"),bi(l,20)._shouldForward("pending"),!bi(l,20)._animationsEnabled]),n(l,32,0,e.lang.senderShort),n(l,37,0,e.showCopies,bi(l,39).disabled||null,"NoopAnimations"===bi(l,39)._animationMode),n(l,40,0,e.lang.copieShort),n(l,41,0,e.showInvisibleCopies,bi(l,43).disabled||null,"NoopAnimations"===bi(l,43)._animationMode),n(l,44,0,e.lang.invisibleCopyShort),n(l,45,1,["standard"==bi(l,46).appearance,"fill"==bi(l,46).appearance,"outline"==bi(l,46).appearance,"legacy"==bi(l,46).appearance,bi(l,46)._control.errorState,bi(l,46)._canLabelFloat,bi(l,46)._shouldLabelFloat(),bi(l,46)._hasFloatingLabel(),bi(l,46)._hideControlPlaceholder(),bi(l,46)._control.disabled,bi(l,46)._control.autofilled,bi(l,46)._control.focused,"accent"==bi(l,46).color,"warn"==bi(l,46).color,bi(l,46)._shouldForward("untouched"),bi(l,46)._shouldForward("touched"),bi(l,46)._shouldForward("pristine"),bi(l,46)._shouldForward("dirty"),bi(l,46)._shouldForward("valid"),bi(l,46)._shouldForward("invalid"),bi(l,46)._shouldForward("pending"),!bi(l,46)._animationsEnabled]),n(l,58,0,e.lang.recipientShort),n(l,59,1,[bi(l,61).disabled?null:bi(l,61)._tabIndex,bi(l,61)._ariaDescribedby||null,bi(l,61).required.toString(),bi(l,61).disabled.toString(),bi(l,61).errorState,bi(l,61).multiple,bi(l,61).role,bi(l,61).disabled,bi(l,61).errorState,bi(l,61).required,bi(l,61).ariaOrientation,bi(l,61)._uid,bi(l,63).id,bi(l,63).disabled,bi(l,63)._dropListRef.isDragging(),bi(l,63)._dropListRef.isReceiving()]),n(l,70,1,[bi(l,72).autocompleteAttribute,bi(l,72).autocompleteDisabled?null:"combobox",bi(l,72).autocompleteDisabled?null:"list",bi(l,72).panelOpen&&bi(l,72).activeOption?bi(l,72).activeOption.id:null,bi(l,72).autocompleteDisabled?null:bi(l,72).panelOpen.toString(),bi(l,72).autocompleteDisabled||!bi(l,72).panelOpen?null:null==bi(l,72).autocomplete?null:bi(l,72).autocomplete.id,!bi(l,72).autocompleteDisabled,bi(l,76).ngClassUntouched,bi(l,76).ngClassTouched,bi(l,76).ngClassPristine,bi(l,76).ngClassDirty,bi(l,76).ngClassValid,bi(l,76).ngClassInvalid,bi(l,76).ngClassPending,bi(l,77).id,bi(l,77).disabled||null,bi(l,77).placeholder||null,bi(l,77)._chipList&&bi(l,77)._chipList.ngControl?bi(l,77)._chipList.ngControl.invalid:null]),n(l,90,1,["standard"==bi(l,91).appearance,"fill"==bi(l,91).appearance,"outline"==bi(l,91).appearance,"legacy"==bi(l,91).appearance,bi(l,91)._control.errorState,bi(l,91)._canLabelFloat,bi(l,91)._shouldLabelFloat(),bi(l,91)._hasFloatingLabel(),bi(l,91)._hideControlPlaceholder(),bi(l,91)._control.disabled,bi(l,91)._control.autofilled,bi(l,91)._control.focused,"accent"==bi(l,91).color,"warn"==bi(l,91).color,bi(l,91)._shouldForward("untouched"),bi(l,91)._shouldForward("touched"),bi(l,91)._shouldForward("pristine"),bi(l,91)._shouldForward("dirty"),bi(l,91)._shouldForward("valid"),bi(l,91)._shouldForward("invalid"),bi(l,91)._shouldForward("pending"),!bi(l,91)._animationsEnabled]),n(l,101,1,[bi(l,103).maxlength?bi(l,103).maxlength:null,bi(l,108).ngClassUntouched,bi(l,108).ngClassTouched,bi(l,108).ngClassPristine,bi(l,108).ngClassDirty,bi(l,108).ngClassValid,bi(l,108).ngClassInvalid,bi(l,108).ngClassPending,bi(l,109)._isServer,bi(l,109).id,bi(l,109).placeholder,bi(l,109).disabled,bi(l,109).required,bi(l,109).readonly&&!bi(l,109)._isNativeSelect||null,bi(l,109)._ariaDescribedby||null,bi(l,109).errorState,bi(l,109).required.toString()]),n(l,124,1,[bi(l,126).disabled?null:bi(l,126)._tabIndex,bi(l,126)._ariaDescribedby||null,bi(l,126).required.toString(),bi(l,126).disabled.toString(),bi(l,126).errorState,bi(l,126).multiple,bi(l,126).role,bi(l,126).disabled,bi(l,126).errorState,bi(l,126).required,bi(l,126).ariaOrientation,bi(l,126)._uid])}))}function KMn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"app-sent-resource-page",[],null,null,null,WMn,lMn)),Ei(135680,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Di(3,114688,null,0,Jdn,[nS,tu,Gv,Jv,Hv,$S,L1,TI,_u],null,null)],(function(n,l){n(l,3,0)}),null)}var YMn=oi("app-sent-resource-page",Jdn,KMn,{},{},[]),JMn=yt({encapsulation:0,styles:[[".mat-dialog-title[_ngcontent-%COMP%]{padding:10px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.modal-container[_ngcontent-%COMP%]{min-height:250px;height:auto;padding-bottom:5px}.modal-body[_ngcontent-%COMP%]{min-height:auto}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;width:100%;padding:10px;top:0;left:0}.printedFolderElement-title[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:-10px;padding:10px;font-size:20px;font-weight:700;color:#135f7f;background:#fff;z-index:1}.printedFolderElement-option[_ngcontent-%COMP%]:nth-child(2n){background:rgba(19,95,127,.1)}.printedFolderElement-item[_ngcontent-%COMP%]{font-size:14px!important;-webkit-box-align:center;align-items:center;display:grid;grid-template-columns:1fr 2fr 1fr;grid-gap:20px}.attachments[_ngcontent-%COMP%]{grid-template-columns:1fr 2fr 1fr 1fr 1fr}.linkedResourcesAttachments[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr 2fr 1fr 1fr 1fr}.printedFolderContainer[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;grid-gap:20px}.mat-expansion-panel-header[aria-disabled=true][_ngcontent-%COMP%]{color:initial!important}.disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}"]],data:{}});function ZMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function QMn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(1,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1)._noopAnimations,bi(l,1).diameter,bi(l,1).diameter)}))}function XMn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","example-loading-shade"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,QMn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,l.component.isLoadingResults)}),null)}function nPn(n){return jo(0,[(n()(),_o(0,16777216,null,null,16,"mat-expansion-panel",[["class","mat-expansion-panel"],["disabled",""],["hideToggle",""]],[[8,"title",0],[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{disabled:[0,"disabled"],hideToggle:[1,"hideToggle"]},null),ko(603979776,1,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,12,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,8,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["style","color: #135f7f;font-weight: bold;"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),_o(10,0,null,null,6,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["disableRipple",""]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"]],(function(n,l,e){var t=!0;return"ngModelChange"===l&&(t=!1!==(n.component.mainDocument=e)&&t),t}),sA,uA)),Di(11,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{disableRipple:[0,"disableRipple"],color:[1,"color"],disabled:[2,"disabled"]},null),Ei(1024,null,d_,(function(n){return[n]}),[aA]),Di(13,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{isDisabled:[0,"isDisabled"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(15,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(16,0,[""," "])),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,1,0,"",""),n(l,11,0,"","primary",!e.mainDocumentInformation.canConvert),n(l,13,0,!e.mainDocumentInformation.canConvert,e.mainDocument)}),(function(n,l){var e=l.component;n(l,0,0,e.mainDocumentInformation.canConvert?"":"Aucune version pdf trouvé!",bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,10,1,[bi(l,11).id,null,bi(l,11).indeterminate,bi(l,11).checked,bi(l,11).disabled,"before"==bi(l,11).labelPosition,"NoopAnimations"===bi(l,11)._animationMode,bi(l,15).ngClassUntouched,bi(l,15).ngClassTouched,bi(l,15).ngClassPristine,bi(l,15).ngClassDirty,bi(l,15).ngClassValid,bi(l,15).ngClassInvalid,bi(l,15).ngClassPending]),n(l,16,0,e.lang.mainDocument)}))}function lPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["color","primary"],["style","flex:1;font-size: 80%;padding-right: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.chronoMaster)}))}function ePn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["color","primary"],["style","flex:1;font-size: 80%;padding-right: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.chrono)}))}function tPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["color","primary"],["style","flex:1;display: flex;font-size: 80%;white-space: pre;padding-right: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," : "," "])),Fo(2,1)],null,(function(n,l){var e=l.component,t=bt(l,1,0,n(l,2,0,bi(l.parent.parent.parent.parent.parent,0),e.lang.for));n(l,1,0,t,l.parent.context.$implicit.recipients)}))}function iPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["color","primary"],["style","flex:1;font-size: 80%;padding-right: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.creator)}))}function aPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["color","primary"],["style","flex:1;font-size: 80%;white-space: pre;padding-right: 10px;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.type)}))}function oPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","color: green"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang["attachment_"+l.parent.parent.context.$implicit.status])}))}function rPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,oPn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,2,0,"SIGN"===l.parent.context.$implicit.status)}),null)}function uPn(n){return jo(0,[(n()(),_o(0,0,null,null,24,"mat-list-option",[["checkboxPosition","before"],["class","printedFolderElement-option mat-list-item mat-list-option"],["role","option"],["tabindex","-1"]],[[8,"title",0],[2,"disabled",null],[2,"mat-list-item-disabled",null],[2,"mat-list-item-with-avatar",null],[2,"mat-primary",null],[2,"mat-warn",null],[1,"aria-selected",0],[1,"aria-disabled",0]],[[null,"focus"],[null,"blur"],[null,"click"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,1)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,1)._handleBlur()&&t),"click"===l&&(t=!1!==bi(n,1)._handleClick()&&t),t}),PI,MI)),Di(1,1294336,[[3,4]],3,cI,[Pe,Nl,dI],{checkboxPosition:[0,"checkboxPosition"],value:[1,"value"],disabled:[2,"disabled"]},null),ko(603979776,4,{_avatar:0}),ko(603979776,5,{_icon:0}),ko(603979776,6,{_lines:1}),(n()(),_o(5,0,null,0,19,"div",[],[[8,"className",0]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,lPn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,ePn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,tPn)),Di(11,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,iPn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(14,0,null,null,1,"div",[["style","flex:2;padding-right: 10px;"]],[[8,"title",0],[8,"innerHTML",1]],null,null,null,null)),Fo(15,3),(n()(),vo(16777216,null,null,1,null,aPn)),Di(17,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rPn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(20,0,null,null,4,"div",[["color","primary"],["style","flex:1;justify-content: flex-end;display: flex;font-size: 80%;"]],[[8,"title",0]],null,null,null,null)),Fi(0,wG,[$S]),(n()(),Lo(22,null,[" "," "])),Fi(131072,xG,[Nl,La]),Fo(24,1)],(function(n,l){var e=l.component;n(l,1,0,"before",l.context.$implicit.id,!l.context.$implicit.canConvert),n(l,7,0,!e.functions.empty(l.context.$implicit.chronoMaster)),n(l,9,0,!e.functions.empty(l.context.$implicit.chrono)),n(l,11,0,!e.functions.empty(l.context.$implicit.recipients)),n(l,13,0,!e.functions.empty(l.context.$implicit.creator)),n(l,17,0,!e.functions.empty(l.context.$implicit.type)),n(l,19,0,!e.functions.empty(l.context.$implicit.status))}),(function(n,l){n(l,0,0,l.context.$implicit.canConvert?"":"Aucune version pdf trouvé!",!l.context.$implicit.canConvert,bi(l,1).disabled,bi(l,1)._avatar||bi(l,1)._icon,"primary"===bi(l,1).color,"warn"===bi(l,1).color,bi(l,1).selected,bi(l,1).disabled),n(l,5,0,Wt(1,"printedFolderElement-item ",l.parent.parent.context.$implicit.key,""));var e=l.context.$implicit.label,t=bt(l,14,1,n(l,15,0,bi(l.parent.parent.parent.parent,1),l.context.$implicit.label,150,"..."));n(l,14,0,e,t),n(l,20,0,bt(l,20,0,bi(l,21).transform(l.context.$implicit.creationDate)));var i=bt(l,22,0,n(l,24,0,bi(l.parent.parent.parent.parent,0),bt(l,22,0,bi(l,23).transform(l.context.$implicit.creationDate,"full"))));n(l,22,0,i)}))}function sPn(n){return jo(0,[(n()(),_o(0,0,null,null,23,"div",[["class","printedFolderElement"]],null,null,null,null,null)),(n()(),_o(1,16777216,null,null,22,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(2,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],null,null),ko(603979776,2,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(5,0,null,0,9,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,6)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,6)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,6)._animationStarted()&&t),t}),aV,tV)),Di(6,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(7,{collapsedHeight:0,expandedHeight:1}),Oo(8,{value:0,params:1}),(n()(),_o(9,0,null,0,5,"mat-panel-title",[["class","mat-expansion-panel-header-title"],["style","color: #135f7f;font-weight: bold;"]],null,null,null,null,null)),Di(10,16384,null,0,Zj,[],null,null),(n()(),_o(11,0,null,null,3,"mat-checkbox",[["class","mat-checkbox"],["color","primary"],["disableRipple",""]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checkbox-indeterminate",null],[2,"mat-checkbox-checked",null],[2,"mat-checkbox-disabled",null],[2,"mat-checkbox-label-before",null],[2,"_mat-animation-noopable",null]],[[null,"change"],[null,"click"]],(function(n,l,e){var t=!0;return"change"===l&&(t=!1!==(e?n.component.toggleAllElements(e.checked,n.parent.context.$implicit.key):null)&&t),"click"===l&&(t=!1!==e.stopPropagation()&&t),t}),sA,uA)),Ei(5120,null,d_,(function(n){return[n]}),[aA]),Di(13,8568832,null,0,aA,[Pe,Nl,qb,La,[8,null],[2,lA],[2,SC]],{disableRipple:[0,"disableRipple"],color:[1,"color"],checked:[2,"checked"],indeterminate:[3,"indeterminate"]},{change:"change"}),(n()(),Lo(14,0,[""," "])),(n()(),_o(15,0,null,1,8,"mat-selection-list",[["aria-multiselectable","true"],["class","printedFolderElement-content mat-selection-list mat-list-base"],["color","primary"],["role","listbox"]],[[8,"tabIndex",0],[1,"aria-disabled",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,16)._onTouched()&&t),"keydown"===l&&(t=!1!==bi(n,16)._keydown(e)&&t),t}),FI,DI)),Di(16,1753088,null,1,dI,[Pe,[8,null]],{color:[0,"color"]},null),ko(603979776,3,{options:1}),Ei(1024,null,d_,(function(n){return[n]}),[dI]),Di(19,540672,null,0,xy,[[8,null],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(21,16384,null,0,y_,[[4,v_]],null,null),(n()(),vo(16777216,null,0,1,null,uPn)),Di(23,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component;n(l,13,0,"","primary",e.selectedPrintedFolderElement[l.parent.context.$implicit.key].value.length>0&&e.selectedPrintedFolderElement[l.parent.context.$implicit.key].value.length===e.printedFolderElement[l.parent.context.$implicit.key].length,e.selectedPrintedFolderElement[l.parent.context.$implicit.key].value.length>0&&e.selectedPrintedFolderElement[l.parent.context.$implicit.key].value.length!==e.printedFolderElement[l.parent.context.$implicit.key].length),n(l,16,0,"primary"),n(l,19,0,e.selectedPrintedFolderElement[l.parent.context.$implicit.key]),n(l,23,0,e.printedFolderElement[l.parent.context.$implicit.key])}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).expanded,"NoopAnimations"===bi(l,2)._animationMode,bi(l,2)._hasSpacing());var t=bi(l,6).panel._headerId,i=bi(l,6).disabled?-1:0,a=bi(l,6)._getPanelId(),o=bi(l,6)._isExpanded(),r=bi(l,6).panel.disabled,u=bi(l,6)._isExpanded(),s="after"===bi(l,6)._getTogglePosition(),c="before"===bi(l,6)._getTogglePosition(),d=bi(l,6)._animationsDisabled,p=n(l,8,0,bi(l,6)._getExpandedState(),n(l,7,0,bi(l,6).collapsedHeight,bi(l,6).expandedHeight));n(l,5,0,t,i,a,o,r,u,s,c,d,p),n(l,11,0,bi(l,13).id,null,bi(l,13).indeterminate,bi(l,13).checked,bi(l,13).disabled,"before"==bi(l,13).labelPosition,"NoopAnimations"===bi(l,13)._animationMode),n(l,14,0,e.lang[l.parent.context.$implicit.key]),n(l,15,0,bi(l,16).tabIndex,bi(l,16).disabled.toString(),bi(l,21).ngClassUntouched,bi(l,21).ngClassTouched,bi(l,21).ngClassPristine,bi(l,21).ngClassDirty,bi(l,21).ngClassValid,bi(l,21).ngClassInvalid,bi(l,21).ngClassPending)}))}function cPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,sPn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.printedFolderElement[l.context.$implicit.key].length>0)}),null)}function dPn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,XMn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(2,0,null,null,7,"div",[["style","padding: 10px;"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"change"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,4)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.summarySheet=e)&&t),"change"===l&&(t=!1!==(!!e.checked&&i.openSummarySheet())&&t),t}),mV,pV)),Di(4,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"]},{change:"change"}),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(6,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(8,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(9,0,[""," "])),(n()(),_o(10,0,null,null,7,"div",[["style","padding: 10px;"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,6,"mat-slide-toggle",[["class","mat-slide-toggle"],["color","primary"]],[[8,"id",0],[1,"tabindex",0],[2,"mat-checked",null],[2,"mat-disabled",null],[2,"mat-slide-toggle-label-before",null],[2,"_mat-animation-noopable",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"ngModelChange"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"focus"===l&&(t=!1!==bi(n,12)._inputElement.nativeElement.focus()&&t),"ngModelChange"===l&&(t=!1!==(i.withSeparator=e)&&t),t}),mV,pV)),Di(12,1228800,null,0,sV,[Pe,qb,Nl,[8,null],La,oV,[2,SC],[2,bb]],{color:[0,"color"]},null),Ei(1024,null,d_,(function(n){return[n]}),[sV]),Di(14,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(16,16384,null,0,y_,[[4,v_]],null,null),(n()(),Lo(17,0,[""," "])),(n()(),_o(18,0,null,null,5,"div",[["class","printedFolderContainer"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,nPn)),Di(20,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,2,null,cPn)),Di(22,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye])],(function(n,l){var e=l.component;n(l,1,0,e.isLoadingResults),n(l,4,0,"primary"),n(l,6,0,e.summarySheet),n(l,12,0,"primary"),n(l,14,0,e.withSeparator),n(l,20,0,null!==e.mainDocumentInformation.format),n(l,22,0,bt(l,22,0,bi(l,23).transform(e.printedFolderElement)))}),(function(n,l){var e=l.component;n(l,3,1,[bi(l,4).id,bi(l,4).disabled?null:-1,bi(l,4).checked,bi(l,4).disabled,"before"==bi(l,4).labelPosition,"NoopAnimations"===bi(l,4)._animationMode,bi(l,8).ngClassUntouched,bi(l,8).ngClassTouched,bi(l,8).ngClassPristine,bi(l,8).ngClassDirty,bi(l,8).ngClassValid,bi(l,8).ngClassInvalid,bi(l,8).ngClassPending]),n(l,9,0,e.lang.attachSummarySheet),n(l,11,1,[bi(l,12).id,bi(l,12).disabled?null:-1,bi(l,12).checked,bi(l,12).disabled,"before"==bi(l,12).labelPosition,"NoopAnimations"===bi(l,12)._animationMode,bi(l,16).ngClassUntouched,bi(l,16).ngClassTouched,bi(l,16).ngClassPristine,bi(l,16).ngClassDirty,bi(l,16).ngClassValid,bi(l,16).ngClassInvalid,bi(l,16).ngClassPending]),n(l,17,0,e.lang.generateSeparators)}))}function pPn(n){return jo(0,[Fi(0,ZS,[]),Fi(0,YS,[]),(n()(),_o(2,0,null,null,19,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,7,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(5,0,null,null,1,"span",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),Lo(6,null,[" "," "])),(n()(),_o(7,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close()&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(9,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(11,0,null,null,4,"mat-dialog-content",[["class","mat-dialog-content"],["style","padding-bottom:10px;"]],null,null,null,null,null)),Di(12,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,ZMn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["loadingTemplate",2]],null,0,null,dPn)),(n()(),_o(16,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,4,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(18,16384,null,0,l_,[],null,null),(n()(),_o(19,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(20,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(21,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,10,0),n(l,14,0,e.loading,bi(l,15)),n(l,20,0,e.isLoadingResults||e.isEmptySelection(),"primary")}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,6,0,e.lang.generateAndDownloadPrintedFolder),n(l,7,0,e.lang.close,bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color),n(l,19,0,bi(l,20).disabled||null,"NoopAnimations"===bi(l,20)._animationMode),n(l,21,0,e.lang.validate)}))}function mPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,pPn,JMn)),Ei(512,null,HS,HS,[QS,$S]),Di(2,114688,null,0,hmn,[nS,tu,Gv,Hv,$S,HS,Jv],null,null)],(function(n,l){n(l,2,0)}),null)}var fPn=oi("ng-component",hmn,mPn,{},{},[]),hPn=yt({encapsulation:0,styles:[[".loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;height:100%;position:absolute;z-index:2;width:100%;top:0;left:0;background:#fff}.models[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;padding-top:10px}.activeButton[_ngcontent-%COMP%]{color:#f99830;font-weight:700}.attachLabel[_ngcontent-%COMP%]{color:#135f7f} .attachListMenu{width:auto;max-width:initial;min-height:auto}.numericPackageAttachItem[_ngcontent-%COMP%]{font-size:14px;display:grid!important;grid-template-columns:1fr 150px 50px 50px;grid-gap:10px;-webkit-box-align:center;align-items:center}.numericPackageAttachItem[_ngcontent-%COMP%] .subInfo[_ngcontent-%COMP%]{color:#135f7f;font-size:80%}.m2mRecipientList[_ngcontent-%COMP%]{line-height:initial;font-size:14px}.recipients[_ngcontent-%COMP%]{font-size:14px!important;padding:10px!important;width:100%;min-height:auto;height:auto;border-radius:5px;cursor:pointer}.attachMsg[_ngcontent-%COMP%]{font-size:20px;padding:30px;opacity:.5;font-weight:700;position:relative;text-align:center}.attachMsg[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{position:absolute;top:0;right:40px;-webkit-transform:rotate(29deg);transform:rotate(29deg)}.badge[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:10px!important;color:#fff;font-weight:400;border-radius:.25em;background:#135f7f}.alert-message[_ngcontent-%COMP%]{min-width:100%}.messageExchangeHistory[_ngcontent-%COMP%]{max-height:300px;overflow:auto}.messageExchangeHistoryItem[_ngcontent-%COMP%]{display:grid;grid-template-columns:130px 1fr;grid-gap:10px;-webkit-box-align:center;align-items:center;padding:10px}.messageExchangeHistoryItem[_ngcontent-%COMP%]:nth-child(odd){background:rgba(19,95,127,.1)}.messageExchangeHistoryDate[_ngcontent-%COMP%]{color:#135f7f}.noAction[_ngcontent-%COMP%]{padding:10px;opacity:.5;font-style:italic}"]],data:{}});function gPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function bPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","alert-message alert-message-info"]],[[8,"innerHTML",1]],null,null,null,null)),Eo(1,1),Fo(2,2)],null,(function(n,l){var e=l.component,t=bt(l,0,0,n(l,2,0,bi(l.parent,0),e.lang.sendNumericPackageInfo,n(l,1,0,e.maarch2maarchUrl)));n(l,0,0,t)}))}function vPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,1)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,1)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,1)._onInput()&&t),t}),null,null)),Di(1,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{value:[0,"value"],readonly:[1,"readonly"]},null),Ei(2048,[[2,4],[3,4]],nT,null,[OT])],(function(n,l){n(l,1,0,l.component.currentSender.label,"")}),(function(n,l){n(l,0,0,bi(l,1)._isServer,bi(l,1).id,bi(l,1).placeholder,bi(l,1).disabled,bi(l,1).required,bi(l,1).readonly&&!bi(l,1)._isNativeSelect||null,bi(l,1)._ariaDescribedby||null,bi(l,1).errorState,bi(l,1).required.toString())}))}function _Pn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[11,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),Lo(2,0,[" "," (",") "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label,l.context.$implicit.m2m)}))}function yPn(n){return jo(0,[(n()(),_o(0,0,null,null,14,"mat-select",[["class","mat-select"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,7)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,7)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,7)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.currentSender=e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(2,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(4,671744,null,0,_y,[[8,null],[6,C_],[8,null],[8,null]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(6,16384,null,0,y_,[[4,v_]],null,null),Di(7,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{required:[0,"required"],compareWith:[1,"compareWith"]},null),ko(603979776,11,{options:1}),ko(603979776,12,{optionGroups:1}),ko(603979776,13,{customTrigger:0}),Ei(2048,[[2,4],[3,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,2,null,_Pn)),Di(13,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(14,2)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,4,0,e.currentSender),n(l,7,0,"",e.compareSenders);var t=bt(l,13,0,n(l,14,0,bi(l.parent,1),e.availableSenders,"label"));n(l,13,0,t)}),(function(n,l){n(l,0,1,[bi(l,2).required?"":null,bi(l,6).ngClassUntouched,bi(l,6).ngClassTouched,bi(l,6).ngClassPristine,bi(l,6).ngClassDirty,bi(l,6).ngClassValid,bi(l,6).ngClassInvalid,bi(l,6).ngClassPending,bi(l,7).id,bi(l,7).tabIndex,bi(l,7)._getAriaLabel(),bi(l,7)._getAriaLabelledby(),bi(l,7).required.toString(),bi(l,7).disabled.toString(),bi(l,7).errorState,bi(l,7).panelOpen?bi(l,7)._optionIds:null,bi(l,7).multiple,bi(l,7)._ariaDescribedby||null,bi(l,7)._getAriaActiveDescendant(),bi(l,7).disabled,bi(l,7).errorState,bi(l,7).required,bi(l,7).empty])}))}function wPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-times mat-icon notranslate mat-chip-remove mat-chip-trailing-icon"],["matChipRemove",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,2)._handleClick(e)&&t),t}),FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[26,4]],0,aN,[iN],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function xPn(n){return jo(0,[(n()(),_o(0,0,null,null,13,"mat-chip",[["class","recipients mat-chip"],["role","option"]],[[1,"tabindex",0],[2,"mat-chip-selected",null],[2,"mat-chip-with-avatar",null],[2,"mat-chip-with-trailing-icon",null],[2,"mat-chip-disabled",null],[2,"_mat-animation-noopable",null],[1,"disabled",0],[1,"aria-disabled",0],[1,"aria-selected",0]],[[null,"removed"],[null,"click"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._handleClick(e)&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,1).focus()&&t),"blur"===l&&(t=!1!==bi(n,1)._blur()&&t),"removed"===l&&(t=!1!==i.remove(n.context.$implicit,"recipients")&&t),"click"===l&&(t=!1!==i.remove(n.context.$implicit,"recipients")&&t),t}),null,null)),Di(1,147456,[[23,4]],3,iN,[Pe,La,sh,[2,xv],[2,SC],Nl],{selectable:[0,"selectable"],removable:[1,"removable"]},{removed:"removed"}),ko(603979776,24,{avatar:0}),ko(603979776,25,{trailingIcon:0}),ko(603979776,26,{removeIcon:0}),(n()(),_o(5,0,null,null,6,"span",[["style","flex:1;"]],null,null,null,null,null)),(n()(),_o(6,0,null,null,3,"div",[],null,null,null,null,null)),(n()(),Lo(7,null,[" "," - "])),(n()(),_o(8,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(9,null,["",""])),(n()(),_o(10,0,null,null,1,"div",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(11,null,[" ("," : ",") "])),(n()(),vo(16777216,null,null,1,null,wPn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,e.selectable,e.canManageMail()),n(l,13,0,e.canManageMail())}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled?null:-1,bi(l,1).selected,bi(l,1).avatar,bi(l,1).trailingIcon||bi(l,1).removeIcon,bi(l,1).disabled,bi(l,1)._animationsDisabled,bi(l,1).disabled||null,bi(l,1).disabled.toString(),bi(l,1).ariaSelected),n(l,7,0,l.context.$implicit.label),n(l,9,0,l.context.$implicit.m2m),n(l,11,0,e.lang.communicationMean,l.context.$implicit.communicationMeans)}))}function CPn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"mat-option",[["class","m2mRecipientList mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[27,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"]},null),(n()(),_o(2,0,null,0,3,"div",[],null,null,null,null,null)),(n()(),Lo(3,null,[" "," - "])),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,0,1,"div",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(7,null,[" ("," : ",") "]))],(function(n,l){n(l,1,0,l.context.$implicit)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,3,0,l.context.$implicit.label),n(l,5,0,l.context.$implicit.m2m),n(l,7,0,e.lang.communicationMean,l.context.$implicit.communicationMeans)}))}function kPn(n){return jo(0,[(n()(),_o(0,16777216,null,null,5,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""],["matSuffix",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==bi(n,3)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,3)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,3)._handleClick(e)&&t),"click"===l&&(e.stopPropagation(),t=!1!==(i.numericPackageCurrentAttachTool=n.context.$implicit.key)&&t),t}),PC,MC)),Di(1,16384,[[37,4]],0,oT,[],null,null),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(3,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),_o(4,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["color","primary"],["role","img"]],[[8,"className",0],[2,"activeButton",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(5,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,!e.canManageMail()||0===e.numericPackageAttachTool[l.context.$implicit.key].list.length),n(l,3,0,bi(l.parent,106)),n(l,5,0,"primary")}),(function(n,l){var e=l.component;n(l,0,0,e.numericPackageAttachTool[l.context.$implicit.key].title,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode,bi(l,3).menuOpen||null),n(l,4,0,Wt(1,"",e.numericPackageAttachTool[l.context.$implicit.key].icon,""),e.isSelectedAttachType(l.context.$implicit.key),bi(l,5).inline,"primary"!==bi(l,5).color&&"accent"!==bi(l,5).color&&"warn"!==bi(l,5).color)}))}function SPn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"button",[["class","mat-menu-item"],["disableRipple",""],["mat-menu-item",""],["style","line-height: normal;"]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,1)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,1)._handleMouseEnter()&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.toggleAttach(n.context.$implicit,n.parent.parent.context.$implicit.key,"original")&&t),t}),lL,nL)),Di(1,180224,[[38,4],[39,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"],disableRipple:[1,"disableRipple"]},null),(n()(),_o(2,0,null,0,4,"span",[],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.toggleAttach(n.context.$implicit,n.parent.parent.context.$implicit.key,"original")&&t),t}),null,null)),(n()(),_o(3,0,null,null,1,"div",[["style","font-size: 10px;opacity: 0.5;"]],null,null,null,null,null)),(n()(),Lo(4,null,[""," - "," (",")"])),(n()(),Lo(5,null,[" "," - "," "])),Fo(6,3)],(function(n,l){n(l,1,0,l.component.isSelectedAttach(l.context.$implicit,l.parent.parent.context.$implicit.key),"")}),(function(n,l){n(l,0,0,bi(l,1).role,bi(l,1)._highlighted,bi(l,1)._triggersSubmenu,bi(l,1)._getTabIndex(),bi(l,1).disabled.toString(),bi(l,1).disabled||null),n(l,2,0,l.context.$implicit.label),n(l,4,0,l.context.$implicit.chrono,l.context.$implicit.typeLabel,l.context.$implicit.creator);var e=bt(l,5,0,n(l,6,0,bi(l.parent.parent.parent,2),l.context.$implicit.label,45,"..."));n(l,5,0,e,l.context.$implicit.format)}))}function IPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,SPn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.numericPackageAttachTool[l.parent.context.$implicit.key].list)}),null)}function APn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,IPn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.key===l.component.numericPackageCurrentAttachTool)}),null)}function MPn(n){return jo(0,[(n()(),_o(0,0,null,null,16,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(1,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,41,{_controlNonStatic:0}),ko(335544320,42,{_controlStatic:0}),ko(603979776,43,{_labelChildNonStatic:0}),ko(335544320,44,{_labelChildStatic:0}),ko(603979776,45,{_placeholderChild:0}),ko(603979776,46,{_errorChildren:1}),ko(603979776,47,{_hintChildren:1}),ko(603979776,48,{_prefixChildren:1}),ko(603979776,49,{_suffixChildren:1}),(n()(),_o(11,0,null,3,2,"mat-label",[["class","attachLabel"]],null,null,null,null,null)),Di(12,16384,[[43,4],[44,4]],0,iT,[],null,null),(n()(),Lo(13,null,["",""])),(n()(),_o(14,0,null,1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["readonly",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,15)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,15)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,15)._onInput()&&t),t}),null,null)),Di(15,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{value:[0,"value"],readonly:[1,"readonly"]},null),Ei(2048,[[41,4],[42,4]],nT,null,[OT])],(function(n,l){n(l,15,0,l.component.reference,"")}),(function(n,l){var e=l.component;n(l,0,1,["standard"==bi(l,1).appearance,"fill"==bi(l,1).appearance,"outline"==bi(l,1).appearance,"legacy"==bi(l,1).appearance,bi(l,1)._control.errorState,bi(l,1)._canLabelFloat,bi(l,1)._shouldLabelFloat(),bi(l,1)._hasFloatingLabel(),bi(l,1)._hideControlPlaceholder(),bi(l,1)._control.disabled,bi(l,1)._control.autofilled,bi(l,1)._control.focused,"accent"==bi(l,1).color,"warn"==bi(l,1).color,bi(l,1)._shouldForward("untouched"),bi(l,1)._shouldForward("touched"),bi(l,1)._shouldForward("pristine"),bi(l,1)._shouldForward("dirty"),bi(l,1)._shouldForward("valid"),bi(l,1)._shouldForward("invalid"),bi(l,1)._shouldForward("pending"),!bi(l,1)._animationsEnabled]),n(l,13,0,e.lang.reference),n(l,14,0,bi(l,15)._isServer,bi(l,15).id,bi(l,15).placeholder,bi(l,15).disabled,bi(l,15).required,bi(l,15).readonly&&!bi(l,15)._isNativeSelect||null,bi(l,15)._ariaDescribedby||null,bi(l,15).errorState,bi(l,15).required.toString())}))}function PPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","attachMsg"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),_o(2,0,null,null,0,"i",[["class","fas fa-arrow-up"]],null,null,null,null,null))],null,(function(n,l){n(l,1,0,l.component.lang.attachItemToNumericPackage)}))}function DPn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==(n.component.numericPackage.mainExchangeDoc=null)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"warn"),n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function FPn(n){return jo(0,[(n()(),_o(0,0,null,null,14,"mat-list-item",[["class","numericPackageAttach mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,50,{_lines:1}),ko(603979776,51,{_avatar:0}),ko(603979776,52,{_icon:0}),(n()(),_o(5,0,null,1,9,"p",[["class","numericPackageAttachItem mat-line"],["mat-line",""]],null,null,null,null,null)),Di(6,16384,[[50,4]],0,pv,[],null,null),(n()(),_o(7,0,null,null,1,"span",[["style","overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),Lo(8,null,["",""])),(n()(),_o(9,0,null,null,1,"span",[["class","badge"]],null,null,null,null,null)),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,null,1,"span",[["class","subInfo"]],null,null,null,null,null)),(n()(),Lo(12,null,[".",""])),(n()(),vo(16777216,null,null,1,null,DPn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,14,0,l.component.canManageMail())}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,8,0,e.numericPackage.mainExchangeDoc.label),n(l,10,0,e.numericPackage.mainExchangeDoc.typeLabel),n(l,12,0,e.numericPackage.mainExchangeDoc.format)}))}function EPn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","attachLabel mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,0,1,null,FPn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,6,0,null!==l.component.numericPackage.mainExchangeDoc)}),(function(n,l){var e=l.component;n(l,4,0,e.canManageMail()?e.lang.mainDocNumericPackageToSend:e.lang.mainDocNumericPackage)}))}function OPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(1,49152,null,0,mI,[],null,null)],null,(function(n,l){n(l,0,0,bi(l,1).vertical?"vertical":"horizontal",bi(l,1).vertical,!bi(l,1).vertical,bi(l,1).inset)}))}function TPn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"button",[["color","warn"],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeAttach(n.parent.context.index)&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(2,0,null,0,1,"mat-icon",[["class","fa fa-trash mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(3,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0,"warn"),n(l,3,0)}),(function(n,l){n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,bi(l,3).inline,"primary"!==bi(l,3).color&&"accent"!==bi(l,3).color&&"warn"!==bi(l,3).color)}))}function LPn(n){return jo(0,[(n()(),_o(0,0,null,null,14,"mat-list-item",[["class","numericPackageAttach mat-list-item"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,53,{_lines:1}),ko(603979776,54,{_avatar:0}),ko(603979776,55,{_icon:0}),(n()(),_o(5,0,null,1,9,"p",[["class","numericPackageAttachItem mat-line"],["mat-line",""]],null,null,null,null,null)),Di(6,16384,[[53,4]],0,pv,[],null,null),(n()(),_o(7,0,null,null,1,"span",[["style","overflow: hidden;text-overflow: ellipsis;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(8,null,["",""])),(n()(),_o(9,0,null,null,1,"span",[["class","badge"]],null,null,null,null,null)),(n()(),Lo(10,null,["",""])),(n()(),_o(11,0,null,null,1,"span",[["class","subInfo"]],null,null,null,null,null)),(n()(),Lo(12,null,[".",""])),(n()(),vo(16777216,null,null,1,null,TPn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,14,0,l.component.canManageMail())}),(function(n,l){n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,7,0,l.context.$implicit.label),n(l,8,0,l.context.$implicit.label),n(l,10,0,l.context.$implicit.typeLabel),n(l,12,0,l.context.$implicit.format)}))}function RPn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,2,"h3",[["class","attachLabel mat-subheader"],["mat-subheader",""]],null,null,null,null,null)),Di(3,16384,null,0,aI,[],null,null),(n()(),Lo(4,null,["",""])),(n()(),vo(16777216,null,0,1,null,LPn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,6,0,l.component.numericPackageAttach)}),(function(n,l){var e=l.component;n(l,4,0,e.canManageMail()?e.lang.attachmentsNumericPackageToSend:e.lang.attachmentsNumericPackage)}))}function NPn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.mergeEmailTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,null,0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.emailModel,e.templateEmailListForm,e.availableEmailModels,e.lang.emailModel)}),null)}function jPn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"plugin-select-search",[],null,[[null,"afterSelected"]],(function(n,l,e){var t=!0;return"afterSelected"===l&&(t=!1!==n.component.mergeSignEmailTemplate(e)&&t),t}),kZ,dZ)),Ei(131584,null,yu,yu,[Nl,Th]),Ei(512,null,HS,HS,[QS,$S]),Di(3,4702208,[["templateList",4]],0,cZ,[QS,Nl,Te,yu,$S,HS],{placeholderLabel:[0,"placeholderLabel"],formControlSelect:[1,"formControlSelect"],datas:[2,"datas"],label:[3,"label"]},{afterSelected:"afterSelected"})],(function(n,l){var e=l.component;n(l,3,0,e.lang.emailSignatures,e.emailSignListForm,e.availableSignEmailModels,e.lang.emailSignatures)}),null)}function VPn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"div",[["class","models"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,NPn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,jPn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0,e.availableEmailModels.length>0),n(l,4,0,e.availableSignEmailModels.length>0)}),null)}function qPn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","messageExchangeHistoryItem"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","messageExchangeHistoryDate"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),Fi(131072,xG,[Nl,La]),(n()(),_o(4,0,null,null,1,"div",[],null,null,null,null,null)),(n()(),Lo(5,null,[" "," "]))],null,(function(n,l){n(l,2,0,bt(l,2,0,bi(l,3).transform(l.context.$implicit.date,"full"))),n(l,5,0,l.context.$implicit.content)}))}function zPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noAction"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.noActionProcessed)}))}function UPn(n){return jo(0,[(n()(),_o(0,0,null,null,15,"div",[["class","row"],["style","margin: 0;padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,7,"div",[["class","col-md-9"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"label",[["class","attachLabel"]],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,4,"div",[["class","messageExchangeHistory"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,qPn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,zPn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,6,"div",[["class","col-md-3 text-center"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,5,"button",[["color","primary"],["mat-button",""],["style","width: 180px;white-space: initial;line-height: 20px;padding: 10px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveNumericPackageFile()&&t),t}),PC,MC)),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(12,0,null,0,0,"i",[["class","fas fa-file-download"],["style","font-size: 40px;"]],null,null,null,null,null)),(n()(),_o(13,0,null,0,0,"br",[],null,null,null,null,null)),(n()(),_o(14,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(15,null,["",""]))],(function(n,l){var e=l.component;n(l,6,0,e.messageReview),n(l,8,0,0===e.messageReview.length),n(l,11,0,"primary")}),(function(n,l){var e=l.component;n(l,3,0,e.lang.actionsHistory),n(l,10,0,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,15,0,e.lang.downloadNumericPackage)}))}function BPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,0===e.recipients.length||null===e.numericPackage.mainExchangeDoc||e.loading,"primary")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.send)}))}function $Pn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"button",[["color","warn"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.deleteEmail()&&t),t}),PC,MC)),Di(1,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(2,0,["",""]))],(function(n,l){var e=l.component;n(l,1,0,e.headerService.user.id!==e.numericPackageCreatorId,"warn")}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).disabled||null,"NoopAnimations"===bi(l,1)._animationMode),n(l,2,0,e.lang.delete)}))}function HPn(n){return jo(0,[Fi(0,KS,[]),Fi(0,HS,[QS,$S]),Fi(0,YS,[]),ko(402653184,1,{recipientsInput:0}),(n()(),_o(4,0,null,null,156,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(5,0,null,null,7,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(6,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(7,0,null,null,1,"span",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),Lo(8,null,[" "," "])),(n()(),_o(9,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.closeModal()&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(11,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(13,0,null,null,140,"mat-dialog-content",[["class","modal-container mat-dialog-content"]],null,null,null,null,null)),Di(14,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,gPn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bPn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(19,0,null,null,17,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(20,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,2,{_controlNonStatic:0}),ko(335544320,3,{_controlStatic:0}),ko(603979776,4,{_labelChildNonStatic:0}),ko(335544320,5,{_labelChildStatic:0}),ko(603979776,6,{_placeholderChild:0}),ko(603979776,7,{_errorChildren:1}),ko(603979776,8,{_hintChildren:1}),ko(603979776,9,{_prefixChildren:1}),ko(603979776,10,{_suffixChildren:1}),(n()(),_o(30,0,null,3,2,"mat-label",[["class","attachLabel"]],null,null,null,null,null)),Di(31,16384,[[4,4],[5,4]],0,iT,[],null,null),(n()(),Lo(32,null,["",""])),(n()(),vo(16777216,null,1,1,null,vPn)),Di(34,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,yPn)),Di(36,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(37,0,null,null,37,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(38,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,14,{_controlNonStatic:0}),ko(335544320,15,{_controlStatic:0}),ko(603979776,16,{_labelChildNonStatic:0}),ko(335544320,17,{_labelChildStatic:0}),ko(603979776,18,{_placeholderChild:0}),ko(603979776,19,{_errorChildren:1}),ko(603979776,20,{_hintChildren:1}),ko(603979776,21,{_prefixChildren:1}),ko(603979776,22,{_suffixChildren:1}),(n()(),_o(48,0,null,3,2,"mat-label",[["class","attachLabel"]],null,null,null,null,null)),Di(49,16384,[[16,4],[17,4]],0,iT,[],null,null),(n()(),Lo(50,null,[""," *"])),(n()(),_o(51,0,null,1,15,"mat-chip-list",[["class","mat-chip-list"],["id","recipients-list"]],[[1,"tabindex",0],[1,"aria-describedby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-multiselectable",0],[1,"role",0],[2,"mat-chip-list-disabled",null],[2,"mat-chip-list-invalid",null],[2,"mat-chip-list-required",null],[1,"aria-orientation",0],[8,"id",0]],[[null,"focus"],[null,"blur"],[null,"keydown"]],(function(n,l,e){var t=!0;return"focus"===l&&(t=!1!==bi(n,52).focus()&&t),"blur"===l&&(t=!1!==bi(n,52)._blur()&&t),"keydown"===l&&(t=!1!==bi(n,52)._keydown(e)&&t),t}),hN,fN)),Di(52,1556480,[["recipientsList",4]],1,cN,[Pe,Nl,[2,bb],[2,my],[2,Cy],dv,[8,null]],null,null),ko(603979776,23,{chips:1}),Ei(2048,[[14,4],[15,4]],nT,null,[cN]),(n()(),vo(16777216,null,0,1,null,xPn)),Di(56,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),_o(57,16777216,[[1,0],["recipientsInput",1]],0,9,"input",[["class","mat-autocomplete-trigger mat-chip-input mat-input-element"],["required",""]],[[1,"required",0],[1,"autocomplete",0],[1,"role",0],[1,"aria-autocomplete",0],[1,"aria-activedescendant",0],[1,"aria-expanded",0],[1,"aria-owns",0],[1,"aria-haspopup",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[8,"id",0],[1,"disabled",0],[1,"placeholder",0],[1,"aria-invalid",0]],[[null,"focus"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focusin"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,58)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,58).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,58)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,58)._compositionEnd(e.target.value)&&t),"focusin"===l&&(t=!1!==bi(n,61)._handleFocus()&&t),"blur"===l&&(t=!1!==bi(n,61)._onTouched()&&t),"input"===l&&(t=!1!==bi(n,61)._handleInput(e)&&t),"keydown"===l&&(t=!1!==bi(n,61)._handleKeydown(e)&&t),"keydown"===l&&(t=!1!==bi(n,66)._keydown(e)&&t),"blur"===l&&(t=!1!==bi(n,66)._blur()&&t),"focus"===l&&(t=!1!==bi(n,66)._focus()&&t),"input"===l&&(t=!1!==bi(n,66)._onInput()&&t),"focus"===l&&(t=!1!==i.resetAutocomplete()&&t),t}),null,null)),Di(58,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(59,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(61,4866048,null,0,CN,[Pe,Zg,lt,La,Nl,wN,[2,bb],[2,cT],[2,qs],Mg],{autocomplete:[0,"autocomplete"]},null),Ei(1024,null,d_,(function(n,l){return[n,l]}),[f_,CN]),Di(63,540672,null,0,xy,[[6,C_],[8,null],[6,d_],[2,wy]],{form:[0,"form"]},null),Ei(2048,null,v_,null,[xy]),Di(65,16384,null,0,y_,[[4,v_]],null,null),Di(66,540672,null,0,pN,[Pe,oN],{chipList:[0,"chipList"]},null),(n()(),_o(67,0,null,1,7,"mat-autocomplete",[["class","mat-autocomplete"]],null,[[null,"optionSelected"]],(function(n,l,e){var t=!0;return"optionSelected"===l&&(t=!1!==n.component.addRecipient(e.option.value)&&t),t}),AN,SN)),Ei(6144,null,Fv,null,[yN]),Di(69,1097728,[["autoEmails",4]],2,yN,[Nl,Pe,_N],null,{optionSelected:"optionSelected"}),ko(603979776,27,{options:1}),ko(603979776,28,{optionGroups:1}),(n()(),vo(16777216,null,0,2,null,CPn)),Di(73,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(131072,Fs,[Nl]),(n()(),_o(75,0,null,null,37,"mat-form-field",[["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(76,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,29,{_controlNonStatic:0}),ko(335544320,30,{_controlStatic:0}),ko(603979776,31,{_labelChildNonStatic:0}),ko(335544320,32,{_labelChildStatic:0}),ko(603979776,33,{_placeholderChild:0}),ko(603979776,34,{_errorChildren:1}),ko(603979776,35,{_hintChildren:1}),ko(603979776,36,{_prefixChildren:1}),ko(603979776,37,{_suffixChildren:1}),(n()(),_o(86,0,null,3,2,"mat-label",[["class","attachLabel"]],null,null,null,null,null)),Di(87,16384,[[31,4],[32,4]],0,iT,[],null,null),(n()(),Lo(88,null,["",""])),(n()(),_o(89,0,null,1,10,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["maxlength","70"],["required",""]],[[1,"required",0],[1,"maxlength",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,90)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,90).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,90)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,90)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,98)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,98)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,98)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.numericPackage.object=e)&&t),t}),null,null)),Di(90,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Di(91,16384,null,0,My,[],{required:[0,"required"]},null),Di(92,540672,null,0,Dy,[],{maxlength:[0,"maxlength"]},null),Ei(1024,null,C_,(function(n,l){return[n,l]}),[My,Dy]),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(95,671744,null,0,_y,[[8,null],[6,C_],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(97,16384,null,0,y_,[[4,v_]],null,null),Di(98,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{required:[0,"required"],readonly:[1,"readonly"]},null),Ei(2048,[[29,4],[30,4]],nT,null,[OT]),(n()(),vo(16777216,null,4,2,null,kPn)),Di(101,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),_o(103,0,null,1,9,"mat-menu",[],null,null,null,XT,ZT)),Ei(6144,null,BT,null,[$T]),Ei(6144,null,qT,null,[BT]),Di(106,1294336,[["emailAttachListMenu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,38,{_allItems:1}),ko(603979776,39,{items:1}),ko(603979776,40,{lazyContent:0}),(n()(),vo(16777216,null,0,2,null,APn)),Di(111,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fi(0,Ns,[Ye]),(n()(),vo(16777216,null,null,1,null,MPn)),Di(114,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,PPn)),Di(116,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(117,0,null,null,6,"div",[["style","overflow: auto;max-height: 300px;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,EPn)),Di(119,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,OPn)),Di(121,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,RPn)),Di(123,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,VPn)),Di(125,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(126,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(127,49152,null,0,mI,[],null,null),(n()(),vo(16777216,null,null,1,null,UPn)),Di(129,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(130,0,null,null,23,"div",[["style","padding-top: 10px;"]],null,null,null,null,null)),(n()(),_o(131,0,null,null,22,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(132,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,56,{_controlNonStatic:0}),ko(335544320,57,{_controlStatic:0}),ko(603979776,58,{_labelChildNonStatic:0}),ko(335544320,59,{_labelChildStatic:0}),ko(603979776,60,{_placeholderChild:0}),ko(603979776,61,{_errorChildren:1}),ko(603979776,62,{_hintChildren:1}),ko(603979776,63,{_prefixChildren:1}),ko(603979776,64,{_suffixChildren:1}),(n()(),_o(142,0,null,3,2,"mat-label",[["class","attachLabel"]],null,null,null,null,null)),Di(143,16384,[[58,4],[59,4]],0,iT,[],null,null),(n()(),Lo(144,null,["",""])),(n()(),_o(145,0,null,1,8,"textarea",[["class","mat-input-element mat-form-field-autofill-control cdk-textarea-autosize mat-autosize"],["matInput",""],["matTextareaAutosize",""],["rows","1"],["style","padding:0"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,146)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,146).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,146)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,146)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,151)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,151)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,151)._onInput()&&t),"input"===l&&(t=!1!==bi(n,152)._noopInputHandler()&&t),"ngModelChange"===l&&(t=!1!==(i.numericPackage.content=e)&&t),t}),null,null)),Di(146,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(148,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(150,16384,null,0,y_,[[4,v_]],null,null),Di(151,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],readonly:[1,"readonly"]},null),Di(152,4603904,null,0,PT,[Pe,sh,La],{matTextareaAutosize:[0,"matTextareaAutosize"]},null),Ei(2048,[[56,4],[57,4]],nT,null,[OT]),(n()(),_o(154,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(155,0,null,null,5,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(156,16384,null,0,l_,[],null,null),(n()(),vo(16777216,null,null,1,null,BPn)),Di(158,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,$Pn)),Di(160,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0),n(l,12,0),n(l,16,0,e.loading),n(l,18,0,e.canManageMail()),n(l,34,0,!e.canManageMail()),n(l,36,0,e.canManageMail()),n(l,52,0),n(l,56,0,e.recipients),n(l,59,0,""),n(l,61,0,bi(l,69)),n(l,63,0,e.recipientsCtrl),n(l,66,0,bi(l,52)),n(l,73,0,bt(l,73,0,bi(l,74).transform(e.filteredEmails))),n(l,91,0,""),n(l,92,0,"70"),n(l,95,0,e.numericPackage.object),n(l,98,0,"",!e.canManageMail()),n(l,101,0,bt(l,101,0,bi(l,102).transform(e.numericPackageAttachTool))),n(l,106,0,"attachListMenu"),n(l,111,0,bt(l,111,0,bi(l,112).transform(e.numericPackageAttachTool))),n(l,114,0,!e.canManageMail()),n(l,116,0,null===e.numericPackage.mainExchangeDoc&&0===e.numericPackageAttach.length&&e.canManageMail()),n(l,119,0,null!==e.numericPackage.mainExchangeDoc),n(l,121,0,e.numericPackageAttach.length>0),n(l,123,0,e.numericPackageAttach.length>0),n(l,125,0,e.canManageMail()),n(l,129,0,!e.canManageMail()),n(l,132,0,"outline"),n(l,148,0,e.numericPackage.content),n(l,151,0,e.lang.addNoteToNumericPackage,!e.canManageMail()),n(l,152,0,""),n(l,158,0,e.canManageMail()&&e.canSendNumericPackage()&&"ERROR"!==e.numericPackageStatus),n(l,160,0,e.data.emailId&&!e.loading&&"ERROR"===e.numericPackageStatus)}),(function(n,l){var e=l.component;n(l,5,0,bi(l,6).id),n(l,8,0,e.functions.empty(e.reference)?e.lang.sendNumericPackage:e.reference),n(l,9,0,e.lang.close,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,19,1,["standard"==bi(l,20).appearance,"fill"==bi(l,20).appearance,"outline"==bi(l,20).appearance,"legacy"==bi(l,20).appearance,bi(l,20)._control.errorState,bi(l,20)._canLabelFloat,bi(l,20)._shouldLabelFloat(),bi(l,20)._hasFloatingLabel(),bi(l,20)._hideControlPlaceholder(),bi(l,20)._control.disabled,bi(l,20)._control.autofilled,bi(l,20)._control.focused,"accent"==bi(l,20).color,"warn"==bi(l,20).color,bi(l,20)._shouldForward("untouched"),bi(l,20)._shouldForward("touched"),bi(l,20)._shouldForward("pristine"),bi(l,20)._shouldForward("dirty"),bi(l,20)._shouldForward("valid"),bi(l,20)._shouldForward("invalid"),bi(l,20)._shouldForward("pending"),!bi(l,20)._animationsEnabled]),n(l,32,0,e.lang.sender),n(l,37,1,["standard"==bi(l,38).appearance,"fill"==bi(l,38).appearance,"outline"==bi(l,38).appearance,"legacy"==bi(l,38).appearance,bi(l,38)._control.errorState,bi(l,38)._canLabelFloat,bi(l,38)._shouldLabelFloat(),bi(l,38)._hasFloatingLabel(),bi(l,38)._hideControlPlaceholder(),bi(l,38)._control.disabled,bi(l,38)._control.autofilled,bi(l,38)._control.focused,"accent"==bi(l,38).color,"warn"==bi(l,38).color,bi(l,38)._shouldForward("untouched"),bi(l,38)._shouldForward("touched"),bi(l,38)._shouldForward("pristine"),bi(l,38)._shouldForward("dirty"),bi(l,38)._shouldForward("valid"),bi(l,38)._shouldForward("invalid"),bi(l,38)._shouldForward("pending"),!bi(l,38)._animationsEnabled]),n(l,50,0,e.lang.recipient),n(l,51,1,[bi(l,52).disabled?null:bi(l,52)._tabIndex,bi(l,52)._ariaDescribedby||null,bi(l,52).required.toString(),bi(l,52).disabled.toString(),bi(l,52).errorState,bi(l,52).multiple,bi(l,52).role,bi(l,52).disabled,bi(l,52).errorState,bi(l,52).required,bi(l,52).ariaOrientation,bi(l,52)._uid]),n(l,57,1,[bi(l,59).required?"":null,bi(l,61).autocompleteAttribute,bi(l,61).autocompleteDisabled?null:"combobox",bi(l,61).autocompleteDisabled?null:"list",bi(l,61).panelOpen&&bi(l,61).activeOption?bi(l,61).activeOption.id:null,bi(l,61).autocompleteDisabled?null:bi(l,61).panelOpen.toString(),bi(l,61).autocompleteDisabled||!bi(l,61).panelOpen?null:null==bi(l,61).autocomplete?null:bi(l,61).autocomplete.id,!bi(l,61).autocompleteDisabled,bi(l,65).ngClassUntouched,bi(l,65).ngClassTouched,bi(l,65).ngClassPristine,bi(l,65).ngClassDirty,bi(l,65).ngClassValid,bi(l,65).ngClassInvalid,bi(l,65).ngClassPending,bi(l,66).id,bi(l,66).disabled||null,bi(l,66).placeholder||null,bi(l,66)._chipList&&bi(l,66)._chipList.ngControl?bi(l,66)._chipList.ngControl.invalid:null]),n(l,75,1,["standard"==bi(l,76).appearance,"fill"==bi(l,76).appearance,"outline"==bi(l,76).appearance,"legacy"==bi(l,76).appearance,bi(l,76)._control.errorState,bi(l,76)._canLabelFloat,bi(l,76)._shouldLabelFloat(),bi(l,76)._hasFloatingLabel(),bi(l,76)._hideControlPlaceholder(),bi(l,76)._control.disabled,bi(l,76)._control.autofilled,bi(l,76)._control.focused,"accent"==bi(l,76).color,"warn"==bi(l,76).color,bi(l,76)._shouldForward("untouched"),bi(l,76)._shouldForward("touched"),bi(l,76)._shouldForward("pristine"),bi(l,76)._shouldForward("dirty"),bi(l,76)._shouldForward("valid"),bi(l,76)._shouldForward("invalid"),bi(l,76)._shouldForward("pending"),!bi(l,76)._animationsEnabled]),n(l,88,0,e.lang.mailSubject),n(l,89,1,[bi(l,91).required?"":null,bi(l,92).maxlength?bi(l,92).maxlength:null,bi(l,97).ngClassUntouched,bi(l,97).ngClassTouched,bi(l,97).ngClassPristine,bi(l,97).ngClassDirty,bi(l,97).ngClassValid,bi(l,97).ngClassInvalid,bi(l,97).ngClassPending,bi(l,98)._isServer,bi(l,98).id,bi(l,98).placeholder,bi(l,98).disabled,bi(l,98).required,bi(l,98).readonly&&!bi(l,98)._isNativeSelect||null,bi(l,98)._ariaDescribedby||null,bi(l,98).errorState,bi(l,98).required.toString()]),n(l,126,0,bi(l,127).vertical?"vertical":"horizontal",bi(l,127).vertical,!bi(l,127).vertical,bi(l,127).inset),n(l,131,1,["standard"==bi(l,132).appearance,"fill"==bi(l,132).appearance,"outline"==bi(l,132).appearance,"legacy"==bi(l,132).appearance,bi(l,132)._control.errorState,bi(l,132)._canLabelFloat,bi(l,132)._shouldLabelFloat(),bi(l,132)._hasFloatingLabel(),bi(l,132)._hideControlPlaceholder(),bi(l,132)._control.disabled,bi(l,132)._control.autofilled,bi(l,132)._control.focused,"accent"==bi(l,132).color,"warn"==bi(l,132).color,bi(l,132)._shouldForward("untouched"),bi(l,132)._shouldForward("touched"),bi(l,132)._shouldForward("pristine"),bi(l,132)._shouldForward("dirty"),bi(l,132)._shouldForward("valid"),bi(l,132)._shouldForward("invalid"),bi(l,132)._shouldForward("pending"),!bi(l,132)._animationsEnabled]),n(l,144,0,e.lang.note),n(l,145,1,[bi(l,150).ngClassUntouched,bi(l,150).ngClassTouched,bi(l,150).ngClassPristine,bi(l,150).ngClassDirty,bi(l,150).ngClassValid,bi(l,150).ngClassInvalid,bi(l,150).ngClassPending,bi(l,151)._isServer,bi(l,151).id,bi(l,151).placeholder,bi(l,151).disabled,bi(l,151).required,bi(l,151).readonly&&!bi(l,151)._isNativeSelect||null,bi(l,151)._ariaDescribedby||null,bi(l,151).errorState,bi(l,151).required.toString()])}))}function GPn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"app-sent-numeric-package-page",[],null,null,null,HPn,hPn)),Ei(135680,null,yu,yu,[Nl,Th]),Ei(512,null,L1,L1,[nS,$S]),Ei(512,null,JS,JS,[]),Ei(512,null,WS,WS,[]),Di(5,114688,null,0,Zdn,[nS,tu,Gv,Jv,Hv,$S,L1,TI,_u,JS,WS],null,null)],(function(n,l){n(l,5,0)}),null)}var WPn=oi("app-sent-numeric-package-page",Zdn,GPn,{},{},[]),KPn=yt({encapsulation:0,styles:[[""]],data:{}});function YPn(n){return jo(0,[(n()(),_o(0,0,null,null,34,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,20,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),_o(6,0,null,null,18,"mat-form-field",[["appearance","outline"],["class","mat-form-field"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(7,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"]},null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(17,0,null,1,7,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""],["type","text"]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"ngModelChange"],[null,"input"],[null,"blur"],[null,"compositionstart"],[null,"compositionend"],[null,"focus"]],(function(n,l,e){var t=!0,i=n.component;return"input"===l&&(t=!1!==bi(n,18)._handleInput(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,18).onTouched()&&t),"compositionstart"===l&&(t=!1!==bi(n,18)._compositionStart()&&t),"compositionend"===l&&(t=!1!==bi(n,18)._compositionEnd(e.target.value)&&t),"blur"===l&&(t=!1!==bi(n,23)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,23)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,23)._onInput()&&t),"ngModelChange"===l&&(t=!1!==(i.folderName=e)&&t),t}),null,null)),Di(18,16384,null,0,f_,[Te,Pe,[2,m_]],null,null),Ei(1024,null,d_,(function(n){return[n]}),[f_]),Di(20,671744,null,0,_y,[[8,null],[8,null],[8,null],[6,d_]],{model:[0,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(22,16384,null,0,y_,[[4,v_]],null,null),Di(23,999424,null,0,OT,[Pe,sh,[6,v_],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"],type:[1,"type"]},null),Ei(2048,[[1,4],[2,4]],nT,null,[OT]),(n()(),_o(25,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(26,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(27,16384,null,0,l_,[],null,null),(n()(),_o(28,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(29,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(30,0,["",""])),(n()(),_o(31,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,33).dialogRef.close(bi(n,33).dialogResult)&&t),t}),PC,MC)),Di(32,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(33,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(34,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0,"outline"),n(l,20,0,e.folderName),n(l,23,0,e.lang.folderName,"text"),n(l,29,0,e.loading||""===e.folderName,"primary"),n(l,32,0,e.loading),n(l,33,0)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.addFolder),n(l,6,1,["standard"==bi(l,7).appearance,"fill"==bi(l,7).appearance,"outline"==bi(l,7).appearance,"legacy"==bi(l,7).appearance,bi(l,7)._control.errorState,bi(l,7)._canLabelFloat,bi(l,7)._shouldLabelFloat(),bi(l,7)._hasFloatingLabel(),bi(l,7)._hideControlPlaceholder(),bi(l,7)._control.disabled,bi(l,7)._control.autofilled,bi(l,7)._control.focused,"accent"==bi(l,7).color,"warn"==bi(l,7).color,bi(l,7)._shouldForward("untouched"),bi(l,7)._shouldForward("touched"),bi(l,7)._shouldForward("pristine"),bi(l,7)._shouldForward("dirty"),bi(l,7)._shouldForward("valid"),bi(l,7)._shouldForward("invalid"),bi(l,7)._shouldForward("pending"),!bi(l,7)._animationsEnabled]),n(l,17,1,[bi(l,22).ngClassUntouched,bi(l,22).ngClassTouched,bi(l,22).ngClassPristine,bi(l,22).ngClassDirty,bi(l,22).ngClassValid,bi(l,22).ngClassInvalid,bi(l,22).ngClassPending,bi(l,23)._isServer,bi(l,23).id,bi(l,23).placeholder,bi(l,23).disabled,bi(l,23).required,bi(l,23).readonly&&!bi(l,23)._isNativeSelect||null,bi(l,23)._ariaDescribedby||null,bi(l,23).errorState,bi(l,23).required.toString()]),n(l,28,0,bi(l,29).disabled||null,"NoopAnimations"===bi(l,29)._animationMode),n(l,30,0,e.lang.validate),n(l,31,0,bi(l,32).disabled||null,"NoopAnimations"===bi(l,32)._animationMode,bi(l,33).ariaLabel||null,bi(l,33).type),n(l,34,0,e.lang.cancel)}))}function JPn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,YPn,KPn)),Di(1,114688,null,0,oun,[nS,tu,Gv,Hv],null,null)],(function(n,l){n(l,1,0)}),null)}var ZPn=oi("ng-component",oun,JPn,{},{},[]),QPn=yt({encapsulation:0,styles:[[".highlight[_ngcontent-%COMP%]{font-size:110%}"]],data:{}});function XPn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function nDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.lang.currentIndexingMail)}))}function lDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.component.data.resource.chrono)}))}function eDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"b",[["class","highlight"],["color","primary"]],null,null,null,null,null)),(n()(),Lo(1,null,[""," ",""]))],null,(function(n,l){var e=l.component;n(l,1,0,e.data.resIds.length,e.lang.elements)}))}function tDn(n){return jo(0,[(n()(),_o(0,0,null,null,3,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" : "," "]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.alt_identifier),n(l,3,0,e.lang[l.context.$implicit.reason])}))}function iDn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger mailList"],["style","max-width: 100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"p",[],null,null,null,null,null)),(n()(),Lo(2,null,[" "," : "])),(n()(),_o(3,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tDn)),Di(5,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,5,0,l.component.resourcesErrors)}),(function(n,l){n(l,2,0,l.component.lang.canNotMakeAction)}))}function aDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","max-width: 100%;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){var e=l.component;n(l,1,0,1===e.data.resIds.length?e.lang.reconcileMsg:e.lang.reconcileMsg+"<br/>"+e.lang.reconcileMsg2)}))}function oDn(n){return jo(0,[(n()(),_o(0,0,null,null,7,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"app-criteria-tool",[],null,[[null,"searchUrlGenerated"]],(function(n,l,e){var t=!0;return"searchUrlGenerated"===l&&(t=!1!==n.component.launchSearch(e)&&t),t}),yAn,vAn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,bAn,[nS,yu,$S,QS],{defaultCriteria:[0,"defaultCriteria"]},{searchUrlGenerated:"searchUrlGenerated"}),Eo(4,2),(n()(),_o(5,0,null,null,2,"search-adv-list",[],null,null,null,HAn,wAn)),Ei(131584,null,yu,yu,[Nl,Th]),Di(7,114688,[[2,4],["appSearchAdvList",4]],0,Lnn,[nS,tu,_u,yu,Jv,$S],{singleMode:[0,"singleMode"],excludeRes:[1,"excludeRes"]},null)],(function(n,l){var e=l.component,t=n(l,4,0,"resourceField","contactField");n(l,3,0,t),n(l,7,0,!0,e.data.resIds)}),null)}function rDn(n){return jo(0,[(n()(),_o(0,0,null,null,16,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),Lo(2,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,nDn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,lDn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,eDn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(-1,null,[" ? "])),(n()(),_o(10,0,null,null,2,"div",[["class","col-md-12"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,iDn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,aDn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,oDn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,4,0,0===e.data.resIds.length),n(l,6,0,1===e.data.resIds.length),n(l,8,0,e.data.resIds.length>1),n(l,12,0,e.resourcesErrors.length>0),n(l,14,0,!e.noResourceToProcess),n(l,16,0,!e.noResourceToProcess)}),(function(n,l){n(l,2,0,l.component.lang.makeActionOn)}))}function uDn(n){return jo(0,[ko(671088640,1,{noteEditor:0}),ko(671088640,2,{appSearchAdvList:0}),(n()(),_o(2,0,null,null,20,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(4,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(5,null,["",""])),(n()(),_o(6,0,null,null,6,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(7,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,XPn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,2,"div",[["class","row"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,rDn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(15,16384,null,0,l_,[],null,null),(n()(),_o(16,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(17,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(18,0,["",""])),(n()(),_o(19,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,21).dialogRef.close(bi(n,21).dialogResult)&&t),t}),PC,MC)),Di(20,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(21,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(22,0,["",""]))],(function(n,l){var e=l.component;n(l,4,0),n(l,9,0,e.loading),n(l,12,0,e.data.resIds.length>0),n(l,17,0,e.loading||void 0!==e.appSearchAdvList&&0===e.appSearchAdvList.getSelectedRessources().length||e.noResourceToProcess,"primary"),n(l,20,0,e.loading),n(l,21,0)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).id),n(l,5,0,e.data.action.label),n(l,16,0,bi(l,17).disabled||null,"NoopAnimations"===bi(l,17)._animationMode),n(l,18,0,e.lang.validate),n(l,19,0,bi(l,20).disabled||null,"NoopAnimations"===bi(l,20)._animationMode,bi(l,21).ariaLabel||null,bi(l,21).type),n(l,22,0,e.lang.cancel)}))}function sDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,uDn,QPn)),Di(1,114688,null,0,lsn,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var cDn=oi("ng-component",lsn,sDn,{},{},[]),dDn=yt({encapsulation:0,styles:[[".badge[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;font-size:10px!important;color:#fff;font-weight:400;border-radius:.25em;background:#135f7f;margin:5px}"]],data:{}});function pDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","badge"],["style","cursor: pointer;"]],[[8,"title",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.selectTag(n.context.$implicit)&&t),t}),null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){var e=l.component;n(l,0,0,e.lang.linkedTags),n(l,1,0,e.getTagLabel(l.context.$implicit))}))}function mDn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(2,0,null,null,0,"hr",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,pDn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,4,0,l.component.tag.links)}),null)}function fDn(n){return jo(0,[(n()(),_o(0,0,null,null,13,"div",[["class","col-md-6"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,12,"div",[["class","alert-message alert-message-info"],["role","alert"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,[""," :"])),(n()(),_o(4,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(8,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(9,null,[""," :"])),(n()(),_o(10,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),vo(16777216,null,null,1,null,mDn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){n(l,13,0,l.component.tag.links.length>0)}),(function(n,l){var e=l.component;n(l,3,0,e.lang.description),n(l,5,0,e.functionsService.empty(e.tag.description)?e.lang.undefined:e.tag.description),n(l,9,0,e.lang.usage),n(l,11,0,e.functionsService.empty(e.tag.usage)?e.lang.undefined:e.tag.usage)}))}function hDn(n){return jo(0,[(n()(),_o(0,0,null,null,8,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(1,16384,null,0,l_,[],null,null),(n()(),_o(2,0,null,null,2,"button",[["color","primary"],["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(3,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(4,0,["",""])),(n()(),_o(5,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,7).dialogRef.close(bi(n,7).dialogResult)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(7,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(8,0,["",""]))],(function(n,l){var e=l.component;n(l,3,0,e.loading||e.functionsService.empty(e.tag),"primary"),n(l,6,0,e.loading),n(l,7,0)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).disabled||null,"NoopAnimations"===bi(l,3)._animationMode),n(l,4,0,e.lang.validate),n(l,5,0,bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode,bi(l,7).ariaLabel||null,bi(l,7).type),n(l,8,0,e.lang.cancel)}))}function gDn(n){return jo(0,[(n()(),_o(0,0,null,null,18,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,8,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(3,0,null,null,1,"span",[["style","flex: 1;"]],null,null,null,null,null)),(n()(),Lo(4,null,["",""])),(n()(),_o(5,0,null,null,4,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,7).dialogRef.close(bi(n,7).dialogResult)&&t),t}),PC,MC)),Di(6,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(7,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),_o(8,0,null,0,1,"mat-icon",[["class","fa fa-times-circle fa-2x mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(9,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(10,0,null,null,5,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(11,16384,null,0,n_,[],null,null),(n()(),_o(12,0,null,null,1,"div",[["class","col-md-6"],["style","overflow: auto;"]],[[2,"col-md-12",null]],null,null,null,null)),(n()(),_o(13,0,null,null,0,"div",[["id","jstree"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,fDn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,hDn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0),n(l,9,0),n(l,15,0,!e.functionsService.empty(e.tag)),n(l,18,0,e.functionsService.empty(e.data.id))}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,4,0,e.lang.tags),n(l,5,0,Wt(1,"",e.lang.close,""),bi(l,6).disabled||null,"NoopAnimations"===bi(l,6)._animationMode,bi(l,7).ariaLabel||null,bi(l,7).type),n(l,8,0,bi(l,9).inline,"primary"!==bi(l,9).color&&"accent"!==bi(l,9).color&&"warn"!==bi(l,9).color),n(l,12,0,!e.functionsService.empty(e.tag))}))}function bDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"ng-component",[],null,null,null,gDn,dDn)),Di(1,114688,null,0,snn,[nS,tu,Hv,Gv,$S],null,null)],(function(n,l){n(l,1,0)}),null)}var vDn=oi("ng-component",snn,bDn,{},{},[]),_Dn=yt({encapsulation:0,styles:[[".alert-message-info[_ngcontent-%COMP%]{margin:0;font-size:16px}"]],data:{}});function yDn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function wDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,0,"div",[["class","alert-message alert-message-info"],["role","alert"],["style","margin: 20px 0;"]],[[8,"innerHTML",1]],null,null,null,null))],null,(function(n,l){n(l,1,0,l.component.lang.confirmAction)}))}function xDn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"li",[],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),Lo(3,null,[" "," "])),(n()(),_o(4,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(5,null,["",""]))],null,(function(n,l){var e=l.component;n(l,2,0,l.context.$implicit.count),n(l,3,0,e.lang.mailsWithStatus),n(l,5,0,l.context.$implicit.status)}))}function CDn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-option",[["class","mat-option"],["role","option"]],[[1,"tabindex",0],[2,"mat-selected",null],[2,"mat-option-multiple",null],[2,"mat-active",null],[8,"id",0],[1,"aria-selected",0],[1,"aria-disabled",0],[2,"mat-option-disabled",null]],[[null,"click"],[null,"keydown"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,1)._selectViaInteraction()&&t),"keydown"===l&&(t=!1!==bi(n,1)._handleKeydown(e)&&t),t}),bI,hI)),Di(1,8568832,[[10,4]],0,Ev,[Pe,Nl,[2,Fv],[2,Mv]],{value:[0,"value"],disabled:[1,"disabled"]},null),(n()(),Lo(2,0,[" "," "]))],(function(n,l){n(l,1,0,l.context.$implicit.id,l.context.$implicit.id===l.component.mainIndexingModel.id)}),(function(n,l){n(l,0,0,bi(l,1)._getTabIndex(),bi(l,1).selected,bi(l,1).multiple,bi(l,1).active,bi(l,1).id,bi(l,1)._getAriaSelected(),bi(l,1).disabled.toString(),bi(l,1).disabled),n(l,2,0,l.context.$implicit.label)}))}function kDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"li",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.context.$implicit.label)}))}function SDn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-danger"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),_o(2,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,kDn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),Lo(5,null,[" "," "]))],(function(n,l){n(l,4,0,l.component.resetFields)}),(function(n,l){var e=l.component;n(l,1,0,e.lang.indexingModelFieldsReset),n(l,5,0,e.lang.confirmAction)}))}function IDn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"div",[["class","alert-message alert-message-info"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "])),(n()(),_o(2,0,null,null,2,"ul",[],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,xDn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),Lo(5,null,[" "," "])),(n()(),_o(6,0,null,null,25,"div",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,24,"mat-form-field",[["class","mat-form-field"],["style","padding: 10px; margin-top: 15px"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(8,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],null,null),ko(603979776,1,{_controlNonStatic:0}),ko(335544320,2,{_controlStatic:0}),ko(603979776,3,{_labelChildNonStatic:0}),ko(335544320,4,{_labelChildStatic:0}),ko(603979776,5,{_placeholderChild:0}),ko(603979776,6,{_errorChildren:1}),ko(603979776,7,{_hintChildren:1}),ko(603979776,8,{_prefixChildren:1}),ko(603979776,9,{_suffixChildren:1}),(n()(),_o(18,0,null,1,13,"mat-select",[["class","mat-select"],["name","model"],["required",""],["role","listbox"]],[[1,"required",0],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[1,"id",0],[1,"tabindex",0],[1,"aria-label",0],[1,"aria-labelledby",0],[1,"aria-required",0],[1,"aria-disabled",0],[1,"aria-invalid",0],[1,"aria-owns",0],[1,"aria-multiselectable",0],[1,"aria-describedby",0],[1,"aria-activedescendant",0],[2,"mat-select-disabled",null],[2,"mat-select-invalid",null],[2,"mat-select-required",null],[2,"mat-select-empty",null]],[[null,"ngModelChange"],[null,"selectionChange"],[null,"keydown"],[null,"focus"],[null,"blur"]],(function(n,l,e){var t=!0,i=n.component;return"keydown"===l&&(t=!1!==bi(n,25)._handleKeydown(e)&&t),"focus"===l&&(t=!1!==bi(n,25)._onFocus()&&t),"blur"===l&&(t=!1!==bi(n,25)._onBlur()&&t),"ngModelChange"===l&&(t=!1!==(i.modelIds=e)&&t),"selectionChange"===l&&(t=!1!==i.changeModel(e)&&t),t}),GR,qR)),Ei(6144,null,Fv,null,[jR]),Di(20,16384,null,0,My,[],{required:[0,"required"]},null),Ei(1024,null,C_,(function(n){return[n]}),[My]),Di(22,671744,null,0,_y,[[8,null],[6,C_],[8,null],[8,null]],{name:[0,"name"],model:[1,"model"]},{update:"ngModelChange"}),Ei(2048,null,v_,null,[_y]),Di(24,16384,null,0,y_,[[4,v_]],null,null),Di(25,2080768,null,3,jR,[Mg,Nl,La,dv,Pe,[2,bb],[2,my],[2,Cy],[2,cT],[6,v_],[8,null],OR,Rb],{placeholder:[0,"placeholder"],required:[1,"required"]},{selectionChange:"selectionChange"}),ko(603979776,10,{options:1}),ko(603979776,11,{optionGroups:1}),ko(603979776,12,{customTrigger:0}),Ei(2048,[[1,4],[2,4]],nT,null,[jR]),(n()(),vo(16777216,null,1,1,null,CDn)),Di(31,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,SDn)),Di(33,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,4,0,e.mainIndexingModel.used),n(l,20,0,""),n(l,22,0,"model",e.modelIds),n(l,25,0,e.lang.indexingModel,""),n(l,31,0,e.indexingModels),n(l,33,0,0!==e.resetFields.length)}),(function(n,l){var e=l.component;n(l,1,0,e.lang.indexingModelUsedBy),n(l,5,0,e.lang.indexingModelReplaceToDelete),n(l,7,1,["standard"==bi(l,8).appearance,"fill"==bi(l,8).appearance,"outline"==bi(l,8).appearance,"legacy"==bi(l,8).appearance,bi(l,8)._control.errorState,bi(l,8)._canLabelFloat,bi(l,8)._shouldLabelFloat(),bi(l,8)._hasFloatingLabel(),bi(l,8)._hideControlPlaceholder(),bi(l,8)._control.disabled,bi(l,8)._control.autofilled,bi(l,8)._control.focused,"accent"==bi(l,8).color,"warn"==bi(l,8).color,bi(l,8)._shouldForward("untouched"),bi(l,8)._shouldForward("touched"),bi(l,8)._shouldForward("pristine"),bi(l,8)._shouldForward("dirty"),bi(l,8)._shouldForward("valid"),bi(l,8)._shouldForward("invalid"),bi(l,8)._shouldForward("pending"),!bi(l,8)._animationsEnabled]),n(l,18,1,[bi(l,20).required?"":null,bi(l,24).ngClassUntouched,bi(l,24).ngClassTouched,bi(l,24).ngClassPristine,bi(l,24).ngClassDirty,bi(l,24).ngClassValid,bi(l,24).ngClassInvalid,bi(l,24).ngClassPending,bi(l,25).id,bi(l,25).tabIndex,bi(l,25)._getAriaLabel(),bi(l,25)._getAriaLabelledby(),bi(l,25).required.toString(),bi(l,25).disabled.toString(),bi(l,25).errorState,bi(l,25).panelOpen?bi(l,25)._optionIds:null,bi(l,25).multiple,bi(l,25)._ariaDescribedby||null,bi(l,25)._getAriaActiveDescendant(),bi(l,25).disabled,bi(l,25).errorState,bi(l,25).required,bi(l,25).empty])}))}function ADn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,wDn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,IDn))],(function(n,l){n(l,1,0,0===l.component.mainIndexingModel.used.length,bi(l,2))}),null)}function MDn(n){return jo(0,[(n()(),_o(0,0,null,null,17,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,13,"div",[["class","mat-dialog-content"],["mat-dialog-content",""]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,yDn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseLoading",2]],null,0,null,ADn)),(n()(),_o(9,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,7,"div",[["class","mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(11,16384,null,0,l_,[],null,null),(n()(),_o(12,0,null,null,2,"button",[["class","actions"],["color","primary"],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.onSubmit()&&t),t}),PC,MC)),Di(13,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"],color:[1,"color"]},null),(n()(),Lo(14,0,["",""])),(n()(),_o(15,0,null,null,2,"button",[["class","actions"],["color",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.dialogRef.close("")&&t),t}),PC,MC)),Di(16,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),Lo(17,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0,e.loading,bi(l,8)),n(l,13,0,!e.isValid(),"primary"),n(l,16,0,"")}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.title),n(l,12,0,bi(l,13).disabled||null,"NoopAnimations"===bi(l,13)._animationMode),n(l,14,0,e.lang.validate),n(l,15,0,bi(l,16).disabled||null,"NoopAnimations"===bi(l,16)._animationMode),n(l,17,0,e.lang.cancel)}))}function PDn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,MDn,_Dn)),Ei(512,null,HS,HS,[QS,$S]),Di(2,114688,null,0,j5,[Gv,Hv,nS,tu,HS],null,null)],(function(n,l){n(l,2,0)}),null)}var DDn=oi("ng-component",j5,PDn,{},{},[]),FDn=yt({encapsulation:0,styles:[[".rowData[_ngcontent-%COMP%]{display:-webkit-box;display:flex;margin-top:5px;margin-bottom:15px}"]],data:{}});function EDn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"],["style","display:flex;height:100%;"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"],["style","margin:auto;"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function ODn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.formatContactAdress(l.parent.parent.context.$implicit))}))}function TDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["style","color: gray; font-style: italic;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.emptyAddress)}))}function LDn(n){return jo(0,[(n()(),_o(0,0,null,null,11,"div",[["class","row rowData"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"div",[["class","col-md-4"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,1,"b",[],null,null,null,null,null)),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,4,"div",[["class","col-md-6"],["style","margin-left: auto;"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,ODn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,TDn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(9,0,null,null,2,"div",[["class","col-md-2"],["style","margin-left: auto;"]],null,null,null,null,null)),(n()(),_o(10,0,null,null,1,"mat-icon",[["class","fas fa-id-card mat-icon notranslate"],["color","primary"],["role","img"],["style","font-size: 20px; cursor: pointer;"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.selectContact(n.parent.context.$implicit.id)&&t),t}),FS,DS)),Di(11,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null)],(function(n,l){var e=l.component;n(l,6,0,!e.functions.empty(e.formatContactAdress(l.parent.context.$implicit))),n(l,8,0,e.functions.empty(e.formatContactAdress(l.parent.context.$implicit))),n(l,11,0,"primary")}),(function(n,l){var e=l.component;n(l,3,0,e.contactService.formatContact(l.parent.context.$implicit)),n(l,10,0,e.data.fromAdministration?e.lang.setContactInfos:e.lang.associateContactToDoc,bi(l,11).inline,"primary"!==bi(l,11).color&&"accent"!==bi(l,11).color&&"warn"!==bi(l,11).color)}))}function RDn(n){return jo(0,[(n()(),_o(0,0,null,null,3,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,LDn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null))],(function(n,l){n(l,2,0,!l.component.loading)}),null)}function NDn(n){return jo(0,[(n()(),_o(0,0,null,null,2,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,RDn)),Di(2,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.component.contactResult)}),null)}function jDn(n){return jo(0,[(n()(),_o(0,0,null,null,16,"div",[["class","mat-dialog-content-container"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,2,"h1",[["class","mat-dialog-title"],["mat-dialog-title",""]],[[8,"id",0]],null,null,null,null)),Di(2,81920,null,0,Xv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(3,null,["",""])),(n()(),_o(4,0,null,null,5,"div",[["class","mat-dialog-content"],["mat-dialog-content",""],["style","margin: 5px;"]],null,null,null,null,null)),Di(5,16384,null,0,n_,[],null,null),(n()(),vo(16777216,null,null,1,null,EDn)),Di(7,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,NDn)),Di(9,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(10,0,null,null,0,"span",[["class","divider-modal"]],null,null,null,null,null)),(n()(),_o(11,0,null,null,5,"div",[["class","actions mat-dialog-actions"],["mat-dialog-actions",""]],null,null,null,null,null)),Di(12,16384,null,0,l_,[],null,null),(n()(),_o(13,0,null,null,3,"button",[["mat-button",""],["mat-raised-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-label",0],[1,"type",0]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,15).dialogRef.close(bi(n,15).dialogResult)&&t),t}),PC,MC)),Di(14,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(15,606208,null,0,Qv,[[2,Hv],Pe,Jv],null,null),(n()(),Lo(16,0,["",""]))],(function(n,l){var e=l.component;n(l,2,0),n(l,7,0,e.loading),n(l,9,0,!e.loading),n(l,14,0,e.loading),n(l,15,0)}),(function(n,l){var e=l.component;n(l,1,0,bi(l,2).id),n(l,3,0,e.lang.contacts),n(l,13,0,bi(l,14).disabled||null,"NoopAnimations"===bi(l,14)._animationMode,bi(l,15).ariaLabel||null,bi(l,15).type),n(l,16,0,e.lang.cancel)}))}function VDn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"ng-component",[],null,null,null,jDn,FDn)),Ei(512,null,L1,L1,[nS,$S]),Di(2,114688,null,0,R1,[nS,Jv,$S,Hv,L1,Gv],null,null)],(function(n,l){n(l,2,0)}),null)}var qDn=oi("ng-component",R1,VDn,{},{},[]),zDn=function(){function n(n,l,e,t){this.headerService=n,this.appService=l,this.router=e,this._location=t,this.lang=Kr,this.config={},this.navButton=null}return n.prototype.ngOnInit=function(){},n.prototype.goTo=function(){"__GOBACK"===this.headerService.sideBarButton.route?this._location.back():this.router.navigate([this.headerService.sideBarButton.route])},n.prototype.goToHome=function(){this.router.navigate(["#"])},n}(),UDn=yt({encapsulation:0,styles:[[".panelHeader[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.panelHeader-logo[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.panelHeader-button[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.panelHeader-button[_ngcontent-%COMP%] .mat-icon-button[_ngcontent-%COMP%]{font-size:25px;color:#666}.panelHeader-backHome[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{height:auto;color:#666;background:#d8d8d8;padding:10px;border-radius:20px;font-size:18px}.panelHeader-backHome[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:13px;color:#666}.maarchLogo[_ngcontent-%COMP%]{height:80px;width:auto;padding:20px}"]],data:{}});function BDn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"div",[["class","panelHeader-backHome"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,5,"button",[["mat-button",""],["style","padding-top: 5px;padding-bottom: 5px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goTo()&&t),t}),PC,MC)),Di(2,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(3,0,null,0,0,"i",[["style","height: auto"]],[[8,"className",0]],null,null,null,null)),(n()(),Lo(-1,0,[" "])),(n()(),_o(5,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(6,null,["",""]))],null,(function(n,l){var e=l.component;n(l,1,0,bi(l,2).disabled||null,"NoopAnimations"===bi(l,2)._animationMode),n(l,3,0,Wt(1,"",e.headerService.sideBarButton.icon,"")),n(l,6,0,e.headerService.sideBarButton.label)}))}function $Dn(n){return jo(0,[(n()(),_o(0,0,null,null,12,"div",[["class","panelHeader"]],null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,BDn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,4,"div",[["class","panelHeader-logo"]],[[2,"text-center",null]],null,null,null,null)),(n()(),_o(4,0,null,null,3,"button",[["mat-button",""],["style","margin-right: 30px;"]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.goToHome()&&t),t}),PC,MC)),Di(5,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(6,0,null,0,1,"mat-icon",[["class","maarchLogo mat-icon notranslate"],["role","img"],["svgIcon","maarchLogoFull"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{svgIcon:[0,"svgIcon"]},null),(n()(),_o(8,0,null,null,4,"div",[["class","panelHeader-button"]],null,null,null,null,null)),(n()(),_o(9,0,null,null,3,"button",[["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.headerService.sideNavLeft.close()&&t),t}),PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(11,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["fontIcon","fa-stream"],["fontSet","fas"],["role","img"],["style","transform: rotate(180deg);"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(12,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{fontSet:[0,"fontSet"],fontIcon:[1,"fontIcon"]},null),(n()(),_o(13,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(14,49152,null,0,mI,[],null,null)],(function(n,l){n(l,2,0,null!==l.component.headerService.sideBarButton),n(l,7,0,"maarchLogoFull"),n(l,12,0,"fas","fa-stream")}),(function(n,l){var e=l.component;n(l,3,0,null!==e.headerService.sideBarButton),n(l,4,0,Wt(1,"",e.lang.home,""),bi(l,5).disabled||null,"NoopAnimations"===bi(l,5)._animationMode),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,9,0,Wt(1,"",e.lang.closeSidePanel,""),bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,bi(l,12).inline,"primary"!==bi(l,12).color&&"accent"!==bi(l,12).color&&"warn"!==bi(l,12).color),n(l,13,0,bi(l,14).vertical?"vertical":"horizontal",bi(l,14).vertical,!bi(l,14).vertical,bi(l,14).inset)}))}var HDn=function(){function n(n,l,e,t){this.http=n,this._router=l,this.activatedRoute=e,this._location=t,this.lang=Kr,this.user={},this.router=l}return n.prototype.ngOnInit=function(){},n.prototype.backClicked=function(){this._location.back()},n}(),GDn=yt({encapsulation:2,styles:[],data:{}});function WDn(n){return jo(0,[(n()(),_o(0,0,null,null,12,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,10,"a",[["class","mat-list-item"],["mat-list-item",""]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.backClicked()&&t),t}),AI,II)),Di(3,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),(n()(),_o(7,0,null,0,2,"mat-icon",[["class","fa fa-chevron-left mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(8,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(9,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(10,0,null,1,2,"p",[["class","mat-line"],["mat-line",""]],null,null,null,null,null)),Di(11,16384,[[1,4]],0,pv,[],null,null),(n()(),Lo(12,null,[" "," "]))],(function(n,l){n(l,8,0,"primary")}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3)._avatar||bi(l,3)._icon,bi(l,3)._avatar||bi(l,3)._icon),n(l,7,0,bi(l,8).inline,"primary"!==bi(l,8).color&&"accent"!==bi(l,8).color&&"warn"!==bi(l,8).color),n(l,12,0,e.lang.back)}))}function KDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(1,49152,null,0,mI,[],null,null)],null,(function(n,l){n(l,0,0,bi(l,1).vertical?"vertical":"horizontal",bi(l,1).vertical,!bi(l,1).vertical,bi(l,1).inset)}))}function YDn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,WDn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,KDn)),Di(3,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,1,0,"/home"!=e.router.url&&"/profile"!=e.router.url&&"/about-us"!=e.router.url&&"/administration"!=e.router.url&&-1==e.router.url.indexOf("/basketList")&&-1==e.router.url.indexOf("/folders")&&"/followed"!=e.router.url),n(l,3,0,"/home"!=e.router.url&&"/about-us"!=e.router.url&&"/administration"!=e.router.url&&-1==e.router.url.indexOf("/basketList")&&-1==e.router.url.indexOf("/folders"))}),null)}var JDn=yt({encapsulation:0,styles:[[".basketList[_ngcontent-%COMP%]{border-radius:0;box-shadow:none}.basketList[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0}.basketList[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#135f7f;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;font-size:14px;font-weight:500}.basketList[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{font-size:12px;font-weight:700}.selectedBasket[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.selectedBasket[_ngcontent-%COMP%]:focus{background:rgba(19,95,127,.14)}.nbRes[_ngcontent-%COMP%]{color:#135f7f;font-size:14px;font-weight:700;min-width:auto}.nbResZero[_ngcontent-%COMP%]{color:#666;font-size:12px;font-weight:700;min-width:auto}.basketGroupTitle[_ngcontent-%COMP%]{color:#135f7f;font-size:14px;font-weight:500;padding-left:10px}.basketsFilter[_ngcontent-%COMP%] .mat-form-field-infix{padding:0 0 5px}.panelIconMenu[_ngcontent-%COMP%]{font-size:22px}.noBasket[_ngcontent-%COMP%]{text-align:center;font-size:13px;opacity:.5;font-style:italic}"]],data:{}});function ZDn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["style","color: rgba(0,0,0,0.25);text-align:center;"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noticeGroupeOrder)}))}function QDn(n){return jo(0,[(n()(),_o(0,0,null,null,10,"mat-list-item",[["class","mat-list-item"],["disableRipple","true"],["dnd-sortable",""]],[[8,"title",0],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"onDropSuccess"]],(function(n,l,e){var t=!0;return"onDropSuccess"===l&&(t=!1!==n.component.updateGroupsOrder()&&t),t}),AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,12,{_lines:1}),ko(603979776,13,{_avatar:0}),ko(603979776,14,{_icon:0}),Di(5,16384,null,0,aq,[Pe,KV,GV,eq,JV,Nl],{index:[0,"index"]},{onDropSuccessCallback:"onDropSuccess"}),(n()(),_o(6,0,null,0,2,"mat-icon",[["class","fa fa-arrows-alt mat-icon notranslate mat-list-icon"],["color","primary"],["mat-list-icon",""],["role","img"],["style","font-size:19px"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(7,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),Di(8,16384,[[14,4]],0,iI,[],null,null),(n()(),_o(9,0,null,2,1,"span",[["class","basketGroupTitle"]],null,null,null,null,null)),(n()(),Lo(10,null,["",""]))],(function(n,l){n(l,1,0,"true"),n(l,5,0,l.context.index),n(l,7,0,"primary")}),(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.move,""),bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,6,0,bi(l,7).inline,"primary"!==bi(l,7).color&&"accent"!==bi(l,7).color&&"warn"!==bi(l,7).color),n(l,10,0,l.context.$implicit.groupDesc)}))}function XDn(n){return jo(0,[(n()(),_o(0,0,null,null,6,"mat-list",[["class","mat-list mat-list-base"]],null,null,null,SI,kI)),Di(1,704512,null,0,tI,[Pe],null,null),(n()(),_o(2,0,null,0,4,"span",[["dnd-sortable-container",""]],null,null,null,null,null)),Di(3,16384,null,0,eq,[Pe,KV,GV,Nl,JV],{sortableData:[0,"sortableData"],dropzones:[1,"dropzones"]},null),Eo(4,1),(n()(),vo(16777216,null,null,1,null,QDn)),Di(6,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){var e=l.component,t=e.homeData.regroupedBaskets,i=n(l,4,0,"boxers-zone");n(l,3,0,t,i),n(l,6,0,e.homeData.regroupedBaskets)}),null)}function nFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","basketGroupTitle"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.groupDesc)}))}function lFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"],["style","width: 80%;"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(1,49152,null,0,mI,[],null,null)],null,(function(n,l){n(l,0,0,bi(l,1).vertical?"vertical":"horizontal",bi(l,1).vertical,!bi(l,1).vertical,bi(l,1).inset)}))}function eFn(n){return jo(0,[(n()(),_o(0,0,null,null,5,"mat-icon",[["class","fa fa-share mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{color:0}),Di(4,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(5,16384,[[19,4]],0,iI,[],null,null)],(function(n,l){var e=n(l,3,0,l.parent.parent.context.$implicit.color);n(l,2,0,e),n(l,4,0)}),(function(n,l){n(l,0,0,bi(l,4).inline,"primary"!==bi(l,4).color&&"accent"!==bi(l,4).color&&"warn"!==bi(l,4).color)}))}function tFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","nbResZero"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.resourceNumber)}))}function iFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","nbRes"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.resourceNumber)}))}function aFn(n){return jo(0,[(n()(),_o(0,0,null,null,19,"a",[["class","mat-list-item"],["disableRipple","true"],["mat-list-item",""],["style","cursor:not-allowed;"]],[[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],null,null,AI,II)),Di(1,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,17,{_lines:1}),ko(603979776,18,{_avatar:0}),ko(603979776,19,{_icon:0}),(n()(),vo(16777216,null,0,1,null,eFn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,tFn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,iFn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(11,0,null,1,8,"p",[["class","mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(13,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(14,{color:0}),Di(15,16384,[[17,4]],0,pv,[],null,null),(n()(),Lo(16,null,[" ",""])),(n()(),_o(17,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(18,0,null,null,1,"small",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(19,null,["("," ",")"]))],(function(n,l){var e=l.component;n(l,1,0,"true"),n(l,6,0,l.parent.context.$implicit.redirected&&!e.appService.getViewMode()),n(l,8,0,0==l.parent.context.$implicit.resourceNumber),n(l,10,0,0!=l.parent.context.$implicit.resourceNumber);var t=n(l,14,0,l.parent.context.$implicit.color);n(l,13,0,t)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1)._avatar||bi(l,1)._icon,bi(l,1)._avatar||bi(l,1)._icon),n(l,11,0,Wt(1,"",l.parent.context.$implicit.basket_name,"")),n(l,16,0,l.parent.context.$implicit.basket_name),n(l,19,0,e.lang.redirectedTo,l.parent.context.$implicit.redirectedUser)}))}function oFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","nbResZero"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.resourceNumber)}))}function rFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","nbRes"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.parent.context.$implicit.resourceNumber)}))}function uFn(n){return jo(0,[(n()(),_o(0,0,null,null,21,"a",[["class","mat-list-item"],["mat-list-item",""],["style","cursor:pointer;"]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,7).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),"click"===l&&(i.refreshDatas(n.parent.context.$implicit),t=!1!==i.closePanelLeft()&&t),t}),AI,II)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Oo(3,{selectedBasket:0}),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(5,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(6,{opacity:0,height:1}),Di(7,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(8,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,20,{_lines:1}),ko(603979776,21,{_avatar:0}),ko(603979776,22,{_icon:0}),(n()(),vo(16777216,null,2,1,null,oFn)),Di(13,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,rFn)),Di(15,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(16,0,null,1,5,"p",[["class","mat-line"],["mat-line",""]],[[8,"title",0]],null,null,null,null)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(18,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(19,{color:0}),Di(20,16384,[[20,4]],0,pv,[],null,null),(n()(),Lo(21,null,[" "," "]))],(function(n,l){var e=l.component,t=n(l,3,0,e.headerService.currentBasketInfo.basketId==l.parent.context.$implicit.id&&e.headerService.currentBasketInfo.ownerId==l.parent.context.$implicit.owner_user_id&&e.headerService.currentBasketInfo.groupId==l.parent.parent.parent.context.$implicit.groupSerialId);n(l,2,0,t);var i=n(l,6,0,0==l.parent.context.$implicit.resourceNumber?"0.5":"1",e.appService.getViewMode()?"50px":"38px");n(l,5,0,i),n(l,7,0,Wt(3,"/basketList/users/",l.parent.context.$implicit.owner_user_id,"/groups/",l.parent.parent.parent.context.$implicit.groupSerialId,"/baskets/",l.parent.context.$implicit.id,"")),n(l,13,0,0==l.parent.context.$implicit.resourceNumber),n(l,15,0,0!=l.parent.context.$implicit.resourceNumber);var a=n(l,19,0,l.parent.context.$implicit.color);n(l,18,0,a)}),(function(n,l){n(l,0,0,bi(l,7).target,bi(l,7).href,bi(l,8)._avatar||bi(l,8)._icon,bi(l,8)._avatar||bi(l,8)._icon),n(l,16,0,Wt(1,"",l.parent.context.$implicit.basket_name,"")),n(l,21,0,l.parent.context.$implicit.basket_name)}))}function sFn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),vo(16777216,null,null,1,null,aFn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,uFn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,2,0,l.context.$implicit.redirected),n(l,4,0,!l.context.$implicit.redirected)}),null)}function cFn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"],["style","padding-bottom: 10px;"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,2,null,sFn)),Di(3,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(4,3)],(function(n,l){var e=bt(l,3,0,n(l,4,0,bi(l.parent.parent.parent,0),l.parent.context.$implicit.baskets,bi(l.parent.parent,12).value,"basket_name"));n(l,3,0,e)}),null)}function dFn(n){return jo(0,[(n()(),_o(0,0,null,null,18,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,17,"mat-accordion",[["class","mat-accordion"]],null,null,null,null,null)),Di(2,1720320,null,1,Qj,[],null,null),ko(603979776,15,{_headers:1}),Ei(2048,null,Bj,null,[Qj]),(n()(),_o(5,16777216,null,null,13,"mat-expansion-panel",[["class","mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(6,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,16,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(9,0,null,0,5,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,10)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,10)._animationStarted()&&t),t}),aV,tV)),Di(10,180224,[[15,4]],0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(11,{collapsedHeight:0,expandedHeight:1}),Oo(12,{value:0,params:1}),(n()(),vo(16777216,null,2,1,null,nFn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,lFn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,1,1,null,cFn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,6,0,!0),n(l,14,0,l.context.$implicit.baskets[0]&&!e.editOrderGroups),n(l,16,0,l.context.$implicit.baskets[0]&&!e.editOrderGroups),n(l,18,0,!e.editOrderGroups)}),(function(n,l){n(l,5,0,bi(l,6).expanded,"NoopAnimations"===bi(l,6)._animationMode,bi(l,6)._hasSpacing());var e=bi(l,10).panel._headerId,t=bi(l,10).disabled?-1:0,i=bi(l,10)._getPanelId(),a=bi(l,10)._isExpanded(),o=bi(l,10).panel.disabled,r=bi(l,10)._isExpanded(),u="after"===bi(l,10)._getTogglePosition(),s="before"===bi(l,10)._getTogglePosition(),c=bi(l,10)._animationsDisabled,d=n(l,12,0,bi(l,10)._getExpandedState(),n(l,11,0,bi(l,10).collapsedHeight,bi(l,10).expandedHeight));n(l,9,0,e,t,i,a,o,r,u,s,c,d)}))}function pFn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"mat-icon",[["class","fa fa-paper-plane mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","color:#666"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(2,16384,[[25,4]],0,iI,[],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function mFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","nbResZero"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.resourceNumber)}))}function fFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","nbRes"]],null,null,null,null,null)),(n()(),Lo(1,null,["",""]))],null,(function(n,l){n(l,1,0,l.parent.context.$implicit.resourceNumber)}))}function hFn(n){return jo(0,[(n()(),_o(0,0,null,null,20,"a",[["class","mat-list-item"],["mat-list-item",""]],[[1,"target",0],[8,"href",4],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,4).onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)&&t),t}),AI,II)),Ei(512,null,cs,ds,[Ke,Ye,Pe,Te]),Di(2,278528,null,0,ps,[cs],{ngClass:[0,"ngClass"]},null),Oo(3,{selectedBasket:0}),Di(4,671744,null,0,cf,[uf,Zp,Su],{routerLink:[0,"routerLink"]},null),Di(5,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,23,{_lines:1}),ko(603979776,24,{_avatar:0}),ko(603979776,25,{_icon:0}),(n()(),vo(16777216,null,0,1,null,pFn)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,mFn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,2,1,null,fFn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(15,0,null,1,5,"p",[["class","mat-line"],["mat-line",""],["style","color:#666"]],[[8,"title",0]],null,null,null,null)),Di(16,16384,[[23,4]],0,pv,[],null,null),(n()(),Lo(17,null,[" ",""])),(n()(),_o(18,0,null,null,0,"br",[],null,null,null,null,null)),(n()(),_o(19,0,null,null,1,"small",[["color","primary"]],null,null,null,null,null)),(n()(),Lo(20,null,["("," - ",")"]))],(function(n,l){var e=l.component,t=n(l,3,0,e.headerService.currentBasketInfo.basketId==l.context.$implicit.id&&e.headerService.currentBasketInfo.ownerId==l.context.$implicit.owner_user_id&&e.headerService.currentBasketInfo.groupId==l.context.$implicit.group_id);n(l,2,0,t),n(l,4,0,Wt(3,"/basketList/users/",l.context.$implicit.owner_user_id,"/groups/",l.context.$implicit.group_id,"/baskets/",l.context.$implicit.id,"")),n(l,10,0,!e.appService.getViewMode()),n(l,12,0,0==l.context.$implicit.resourceNumber),n(l,14,0,0!=l.context.$implicit.resourceNumber)}),(function(n,l){n(l,0,0,bi(l,4).target,bi(l,4).href,bi(l,5)._avatar||bi(l,5)._icon,bi(l,5)._avatar||bi(l,5)._icon),n(l,15,0,Wt(1,"",l.context.$implicit.basket_name,"")),n(l,17,0,l.context.$implicit.basket_name),n(l,20,0,l.context.$implicit.userToDisplay,l.context.$implicit.group_desc)}))}function gFn(n){return jo(0,[(n()(),_o(0,0,null,null,9,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"span",[["color","primary"],["style","font-weight:bold;"]],[[8,"title",0]],null,null,null,null)),(n()(),Lo(2,null,["",""])),(n()(),_o(3,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(4,49152,null,0,mI,[],null,null),(n()(),_o(5,0,null,null,4,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(6,704512,null,0,eI,[],null,null),(n()(),vo(16777216,null,0,2,null,hFn)),Di(8,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),Fo(9,3)],(function(n,l){var e=l.component,t=bt(l,8,0,n(l,9,0,bi(l.parent.parent,0),e.homeData.assignedBaskets,bi(l.parent,12).value,"basket_name"));n(l,8,0,t)}),(function(n,l){var e=l.component;n(l,1,0,Wt(1,"",e.lang.basketsAssigned,"")),n(l,2,0,e.lang.basketsAssignedShort),n(l,3,0,bi(l,4).vertical?"vertical":"horizontal",bi(l,4).vertical,!bi(l,4).vertical,bi(l,4).inset)}))}function bFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noBasket"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noAvailableBasket)}))}function vFn(n){return jo(0,[(n()(),_o(0,0,null,null,24,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,13,"mat-form-field",[["appearance","outline"],["class","basketsFilter mat-form-field"],["floatLabel","never"],["style","padding-left:20px;padding-right:20px;font-size: 11px;"]],[[4,"display",null],[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(2,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{appearance:[0,"appearance"],floatLabel:[1,"floatLabel"]},null),ko(603979776,3,{_controlNonStatic:0}),ko(335544320,4,{_controlStatic:0}),ko(603979776,5,{_labelChildNonStatic:0}),ko(335544320,6,{_labelChildStatic:0}),ko(603979776,7,{_placeholderChild:0}),ko(603979776,8,{_errorChildren:1}),ko(603979776,9,{_hintChildren:1}),ko(603979776,10,{_prefixChildren:1}),ko(603979776,11,{_suffixChildren:1}),(n()(),_o(12,0,[["listFilter",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,13)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,13)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,13)._onInput()&&t),t}),null,null)),Di(13,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{placeholder:[0,"placeholder"]},null),Ei(2048,[[3,4],[4,4]],nT,null,[OT]),(n()(),vo(16777216,null,null,1,null,ZDn)),Di(16,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,XDn)),Di(18,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,dFn)),Di(20,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null),(n()(),vo(16777216,null,null,1,null,gFn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,bFn)),Di(24,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component;n(l,2,0,"outline","never"),n(l,13,0,Wt(1,"",e.lang.filterBy,"")),n(l,16,0,e.editOrderGroups),n(l,18,0,e.editOrderGroups),n(l,20,0,e.homeData.regroupedBaskets),n(l,22,0,e.homeData.assignedBaskets.length>0&&!e.editOrderGroups),n(l,24,0,0===e.homeData.assignedBaskets.length&&0===e.homeData.regroupedBaskets.length)}),(function(n,l){var e=l.component;n(l,1,1,[(e.homeData.assignedBaskets.length>0||e.homeData.regroupedBaskets.length>0)&&!e.editOrderGroups?"inline-block":"none","standard"==bi(l,2).appearance,"fill"==bi(l,2).appearance,"outline"==bi(l,2).appearance,"legacy"==bi(l,2).appearance,bi(l,2)._control.errorState,bi(l,2)._canLabelFloat,bi(l,2)._shouldLabelFloat(),bi(l,2)._hasFloatingLabel(),bi(l,2)._hideControlPlaceholder(),bi(l,2)._control.disabled,bi(l,2)._control.autofilled,bi(l,2)._control.focused,"accent"==bi(l,2).color,"warn"==bi(l,2).color,bi(l,2)._shouldForward("untouched"),bi(l,2)._shouldForward("touched"),bi(l,2)._shouldForward("pristine"),bi(l,2)._shouldForward("dirty"),bi(l,2)._shouldForward("valid"),bi(l,2)._shouldForward("invalid"),bi(l,2)._shouldForward("pending"),!bi(l,2)._animationsEnabled]),n(l,12,0,bi(l,13)._isServer,bi(l,13).id,bi(l,13).placeholder,bi(l,13).disabled,bi(l,13).required,bi(l,13).readonly&&!bi(l,13)._isNativeSelect||null,bi(l,13)._ariaDescribedby||null,bi(l,13).errorState,bi(l,13).required.toString())}))}function _Fn(n){return jo(0,[Fi(0,iB,[QS]),ko(402653184,1,{basketPanel:0}),(n()(),_o(2,16777216,null,null,20,"mat-expansion-panel",[["class","basketList mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(3,1753088,[[1,4],["basketPanel",4]],1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,2,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(6,0,null,0,14,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,7)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,7)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,7)._animationStarted()&&t),t}),aV,tV)),Di(7,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(8,{collapsedHeight:0,expandedHeight:1}),Oo(9,{value:0,params:1}),(n()(),_o(10,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(11,16384,null,0,Zj,[],null,null),(n()(),_o(12,0,null,null,0,"i",[["class","fa fa-inbox panelIconMenu"]],null,null,null,null,null)),(n()(),Lo(13,null,[" "," "])),(n()(),_o(14,0,null,2,6,"div",[],[[8,"title",0]],[[null,"click"],[null,"mouseover"],[null,"mouseleave"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.editGroupOrder()&&t),"mouseover"===l&&(t=0!=(i.hoverEditGroupOrder=!0)&&t),"mouseleave"===l&&(t=0!=(i.hoverEditGroupOrder=!1)&&t),t}),null,null)),(n()(),_o(15,0,null,null,5,"mat-icon",[["class","fa fa-cog mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"],["style","height:auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(17,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(18,{color:0,opacity:1}),Di(19,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(20,16384,null,0,iI,[],null,null),(n()(),vo(16777216,null,1,1,null,vFn)),Di(22,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null)],(function(n,l){var e=l.component;n(l,3,0,!e.loading);var t=n(l,18,0,e.editOrderGroups?"orange":"#135F7F",e.editOrderGroups||e.hoverEditGroupOrder?"1":"0.4");n(l,17,0,t),n(l,19,0),n(l,22,0,!e.loading)}),(function(n,l){var e=l.component;n(l,2,0,bi(l,3).expanded,"NoopAnimations"===bi(l,3)._animationMode,bi(l,3)._hasSpacing());var t=bi(l,7).panel._headerId,i=bi(l,7).disabled?-1:0,a=bi(l,7)._getPanelId(),o=bi(l,7)._isExpanded(),r=bi(l,7).panel.disabled,u=bi(l,7)._isExpanded(),s="after"===bi(l,7)._getTogglePosition(),c="before"===bi(l,7)._getTogglePosition(),d=bi(l,7)._animationsDisabled,p=n(l,9,0,bi(l,7)._getExpandedState(),n(l,8,0,bi(l,7).collapsedHeight,bi(l,7).expandedHeight));n(l,6,0,t,i,a,o,r,u,s,c,d,p),n(l,13,0,e.lang.myBaskets),n(l,14,0,Wt(1,"",e.lang.listConfiguration,"")),n(l,15,0,bi(l,19).inline,"primary"!==bi(l,19).color&&"accent"!==bi(l,19).color&&"warn"!==bi(l,19).color)}))}var yFn=function(){function n(n,l){this.http=n,this.foldersService=l,this.lang=Kr,this.noInit=!1,this.subscription=this.foldersService.catchEvent().subscribe((function(n){}))}return n.prototype.ngOnInit=function(){this.foldersService.initFolder(),this.noInit||this.foldersService.getPinnedFolders()},n.prototype.gotToFolder=function(n){this.foldersService.goToFolder(n)},n.prototype.dragEnter=function(n){n.drag=!0},n.prototype.drop=function(n,l){this.foldersService.classifyDocument(n,l)},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n}(),wFn=yt({encapsulation:0,styles:[[".pinnedFolderList[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]{cursor:pointer;height:45px}.pinnedFolderList[_ngcontent-%COMP%] .mat-list-item[_ngcontent-%COMP%]:hover{background:rgba(0,0,0,.04)}.pinnedFolderList[_ngcontent-%COMP%] .mat-list-text{padding-left:0!important}.pinnedFolderList[_ngcontent-%COMP%] .pinnedFolderItem[_ngcontent-%COMP%]{font-weight:700;font-size:12px;width:90%;overflow:hidden;text-overflow:ellipsis}.pinnedFolderList[_ngcontent-%COMP%] .folderAction[_ngcontent-%COMP%]{color:#666}.pinnedIcon[_ngcontent-%COMP%]{cursor:pointer;color:#135f7f;text-align:center}.pinnedIcon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:13px;-webkit-transition:.3s;transition:all .3s}.pinnedIcon[_ngcontent-%COMP%]:hover{color:#8e3e52}.pinnedIcon[_ngcontent-%COMP%]:hover i[_ngcontent-%COMP%]{-webkit-transition:.3s;transition:all .3s;-webkit-transform:rotate(45deg) translate(0,-50%);transform:rotate(45deg) translate(0,-50%)}.countResources[_ngcontent-%COMP%]{color:#135f7f;font-weight:700;font-size:14px}.empty[_ngcontent-%COMP%]{opacity:.5;font-size:12px;color:#666}button[_ngcontent-%COMP%]:disabled{opacity:1}.selectedFolder[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.public[_ngcontent-%COMP%]{color:#f99830}.drag[_ngcontent-%COMP%]{color:#f99830!important}.noPinnedFolder[_ngcontent-%COMP%]{text-align:center;font-size:13px;opacity:.5;font-style:italic}.treeLabel[_ngcontent-%COMP%]{white-space:pre;color:#666}"]],data:{}});function xFn(n){return jo(0,[(n()(),_o(0,0,null,null,17,"mat-list-item",[["cdkDropList",""],["cdkDropListConnectedTo","['document-list','folder-list']"],["class","mat-list-item cdk-drop-list"]],[[2,"selectedFolder",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"click"],[null,"cdkDropListDropped"],[null,"cdkDropListEntered"],[null,"cdkDropListExited"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==i.gotToFolder(n.context.$implicit)&&t),"cdkDropListDropped"===l&&(t=!1!==i.drop(e,n.context.$implicit)&&t),"cdkDropListEntered"===l&&(t=!1!==i.dragEnter(n.context.$implicit)&&t),"cdkDropListExited"===l&&(t=0!=(n.context.$implicit.drag=!1)&&t),t}),AI,II)),Ei(6144,null,jU,null,[KU]),Di(2,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],null,null),ko(603979776,1,{_lines:1}),ko(603979776,2,{_avatar:0}),ko(603979776,3,{_icon:0}),Di(6,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],id:[1,"id"]},{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited"}),ko(603979776,4,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(9,0,null,0,3,"mat-icon",[["class","pinnedIcon mat-icon notranslate mat-list-icon"],["mat-list-icon",""],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],[[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(e.stopPropagation(),t=!1!==i.foldersService.unpinFolder(n.context.$implicit)&&t),t}),FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),Di(11,16384,[[3,4]],0,iI,[],null,null),(n()(),_o(12,0,null,0,0,"i",[["class","fa fa-thumbtack"]],null,null,null,null,null)),(n()(),_o(13,0,null,2,2,"span",[["class","pinnedFolderItem"]],null,null,null,null,null)),(n()(),_o(14,0,null,null,1,"span",[["class","treeLabel"]],[[8,"title",0],[2,"drag",null]],null,null,null,null)),(n()(),Lo(15,null,[" "," "])),(n()(),_o(16,0,null,2,1,"span",[["class","countResources"]],[[2,"empty",null]],null,null,null,null)),(n()(),Lo(17,null,[" "," "]))],(function(n,l){n(l,6,0,"['document-list','folder-list']","folder-list-"+l.context.$implicit.id),n(l,10,0)}),(function(n,l){var e=l.component;n(l,0,0,e.foldersService.getCurrentFolder().id==l.context.$implicit.id,bi(l,2)._avatar||bi(l,2)._icon,bi(l,2)._avatar||bi(l,2)._icon,bi(l,6).id,bi(l,6).disabled,bi(l,6)._dropListRef.isDragging(),bi(l,6)._dropListRef.isReceiving()),n(l,9,0,e.lang.unpinFolder,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color),n(l,14,0,l.context.$implicit.label,l.context.$implicit.drag),n(l,15,0,l.context.$implicit.label),n(l,16,0,0===l.context.$implicit.countResources),n(l,17,0,l.context.$implicit.countResources)}))}function CFn(n){return jo(0,[(n()(),_o(0,0,null,null,4,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,3,"mat-list",[["class","pinnedFolderList mat-list mat-list-base"]],null,null,null,SI,kI)),Di(2,704512,null,0,tI,[Pe],null,null),(n()(),vo(16777216,null,0,1,null,xFn)),Di(4,278528,null,0,fs,[lt,Xe,Ke],{ngForOf:[0,"ngForOf"]},null)],(function(n,l){n(l,4,0,l.component.foldersService.getPinnedList())}),null)}function kFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noPinnedFolder"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noPinnedFolder)}))}function SFn(n){return jo(0,[(n()(),vo(16777216,null,null,1,null,CFn)),Di(1,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,kFn))],(function(n,l){n(l,1,0,l.component.foldersService.getPinnedList().length>0,bi(l,2))}),null)}var IFn=function(n){function l(l,e){var t=n.call(this)||this;return t.getLevel=l,t.isExpandable=e,t}return Object(t.__extends)(l,n),l.prototype.getDescendants=function(n){for(var l=[],e=this.dataNodes.indexOf(n)+1;e<this.dataNodes.length&&this.getLevel(n)<this.getLevel(this.dataNodes[e]);e++)l.push(this.dataNodes[e]);return l},l.prototype.expandAll=function(){var n;(n=this.expansionModel).select.apply(n,this.dataNodes)},l}(function(){function n(){this.expansionModel=new hg(!0)}return n.prototype.toggle=function(n){this.expansionModel.toggle(n)},n.prototype.expand=function(n){this.expansionModel.select(n)},n.prototype.collapse=function(n){this.expansionModel.deselect(n)},n.prototype.isExpanded=function(n){return this.expansionModel.isSelected(n)},n.prototype.toggleDescendants=function(n){this.expansionModel.isSelected(n)?this.collapseDescendants(n):this.expandDescendants(n)},n.prototype.collapseAll=function(){this.expansionModel.clear()},n.prototype.expandDescendants=function(n){var l,e=[n];e.push.apply(e,this.getDescendants(n)),(l=this.expansionModel).select.apply(l,e)},n.prototype.collapseDescendants=function(n){var l,e=[n];e.push.apply(e,this.getDescendants(n)),(l=this.expansionModel).deselect.apply(l,e)},n}()),AFn=new On("CDK_TREE_NODE_OUTLET_NODE"),MFn=function(){return function(n,l){this.viewContainer=n,this._node=l}}(),PFn=function(){return function(n){this.$implicit=n}}(),DFn=function(){return function(n){this.template=n}}(),FFn=function(){function n(n,l){this._differs=n,this._changeDetectorRef=l,this._onDestroy=new M,this._levels=new Map,this.viewChange=new Gs({start:0,end:Number.MAX_VALUE})}return Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(n){this._dataSource!==n&&this._switchDataSource(n)},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){if(this._dataDiffer=this._differs.find([]).create(this.trackBy),!this.treeControl)throw Error("Could not find a tree control for the tree.")},n.prototype.ngOnDestroy=function(){this._nodeOutlet.viewContainer.clear(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null)},n.prototype.ngAfterContentChecked=function(){var n=this._nodeDefs.filter((function(n){return!n.when}));if(n.length>1)throw Error("There can only be one default row without a when predicate function.");this._defaultNodeDef=n[0],this.dataSource&&this._nodeDefs&&!this._dataSubscription&&this._observeRenderChanges()},n.prototype._switchDataSource=function(n){this._dataSource&&"function"==typeof this._dataSource.disconnect&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),n||this._nodeOutlet.viewContainer.clear(),this._dataSource=n,this._nodeDefs&&this._observeRenderChanges()},n.prototype._observeRenderChanges=function(){var n,l=this;if(mg(this._dataSource)?n=this._dataSource.connect(this):this._dataSource instanceof x?n=this._dataSource:Array.isArray(this._dataSource)&&(n=lu(this._dataSource)),!n)throw Error("A valid data source must be provided.");this._dataSubscription=n.pipe(Ph(this._onDestroy)).subscribe((function(n){return l.renderNodeChanges(n)}))},n.prototype.renderNodeChanges=function(n,l,e,t){var i=this;void 0===l&&(l=this._dataDiffer),void 0===e&&(e=this._nodeOutlet.viewContainer);var a=l.diff(n);a&&(a.forEachOperation((function(l,a,o){if(null==l.previousIndex)i.insertNode(n[o],o,e,t);else if(null==o)e.remove(a),i._levels.delete(l.item);else{var r=e.get(a);e.move(r,o)}})),this._changeDetectorRef.detectChanges())},n.prototype._getNodeDef=function(n,l){if(1===this._nodeDefs.length)return this._nodeDefs.first;var e=this._nodeDefs.find((function(e){return e.when&&e.when(l,n)}))||this._defaultNodeDef;if(!e)throw Error("Could not find a matching node definition for the provided node data.");return e},n.prototype.insertNode=function(n,l,e,t){var i=this._getNodeDef(n,l),a=new PFn(n);a.level=this.treeControl.getLevel?this.treeControl.getLevel(n):void 0!==t&&this._levels.has(t)?this._levels.get(t)+1:0,this._levels.set(n,a.level),(e||this._nodeOutlet.viewContainer).createEmbeddedView(i.template,a,l),EFn.mostRecentTreeNode&&(EFn.mostRecentTreeNode.data=n)},n}(),EFn=function(){function n(l,e){this._elementRef=l,this._tree=e,this._destroyed=new M,this._dataChanges=new M,this.role="treeitem",n.mostRecentTreeNode=this}return Object.defineProperty(n.prototype,"data",{get:function(){return this._data},set:function(n){n!==this._data&&(this._data=n,this._setRoleFromData(),this._dataChanges.next())},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"isExpanded",{get:function(){return this._tree.treeControl.isExpanded(this._data)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"level",{get:function(){return this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._data):0},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){n.mostRecentTreeNode===this&&(n.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()},n.prototype.focus=function(){this._elementRef.nativeElement.focus()},n.prototype._setRoleFromData=function(){var n=this;if(this._tree.treeControl.isExpandable)this.role=this._tree.treeControl.isExpandable(this._data)?"group":"treeitem";else{if(!this._tree.treeControl.getChildren)throw Error("Could not find functions for nested/flat tree in tree control.");var l=this._tree.treeControl.getChildren(this._data);Array.isArray(l)?this._setRoleFromChildren(l):l instanceof x&&l.pipe(Ph(this._destroyed)).subscribe((function(l){return n._setRoleFromChildren(l)}))}},n.prototype._setRoleFromChildren=function(n){this.role=n&&n.length?"group":"treeitem"},n.mostRecentTreeNode=null,n}(),OFn=/([A-Za-z%]+)$/,TFn=function(){function n(n,l,e,t,i){var a=this;this._treeNode=n,this._tree=l,this._renderer=e,this._element=t,this._dir=i,this._destroyed=new M,this.indentUnits="px",this._indent=40,this._setPadding(),i&&i.change.pipe(Ph(this._destroyed)).subscribe((function(){return a._setPadding(!0)})),n._dataChanges.subscribe((function(){return a._setPadding()}))}return Object.defineProperty(n.prototype,"level",{get:function(){return this._level},set:function(n){this._level=Jf(n,null),this._setPadding()},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"indent",{get:function(){return this._indent},set:function(n){var l=n,e="px";if("string"==typeof n){var t=n.split(OFn);l=t[0],e=t[1]||e}this.indentUnits=e,this._indent=Jf(l),this._setPadding()},enumerable:!0,configurable:!0}),n.prototype.ngOnDestroy=function(){this._destroyed.next(),this._destroyed.complete()},n.prototype._paddingIndent=function(){var n=this._treeNode.data&&this._tree.treeControl.getLevel?this._tree.treeControl.getLevel(this._treeNode.data):null,l=null==this._level?n:this._level;return"number"==typeof l?""+l*this._indent+this.indentUnits:null},n.prototype._setPadding=function(n){void 0===n&&(n=!1);var l=this._paddingIndent();if(l!==this._currentPadding||n){var e=this._element.nativeElement,t=this._dir&&"rtl"===this._dir.value?"paddingRight":"paddingLeft",i="paddingLeft"===t?"paddingRight":"paddingLeft";this._renderer.setStyle(e,t,l),this._renderer.setStyle(e,i,null),this._currentPadding=l}},n}(),LFn=function(){function n(n,l){this._tree=n,this._treeNode=l,this._recursive=!1}return Object.defineProperty(n.prototype,"recursive",{get:function(){return this._recursive},set:function(n){this._recursive=Yf(n)},enumerable:!0,configurable:!0}),n.prototype._toggle=function(n){this.recursive?this._tree.treeControl.toggleDescendants(this._treeNode.data):this._tree.treeControl.toggle(this._treeNode.data),n.stopPropagation()},n}(),RFn=function(){return function(){}}(),NFn=function(n){function l(l,e,t){var i=n.call(this,l,e)||this;return i._elementRef=l,i._tree=e,i.role="treeitem",i.tabIndex=Number(t)||0,i}return Object(t.__extends)(l,n),l}(Jb(Wb(EFn))),jFn=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(DFn),VFn=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(TFn),qFn=function(){return function(n,l){this.viewContainer=n,this._node=l}}(),zFn=function(n){function l(){return null!==n&&n.apply(this,arguments)||this}return Object(t.__extends)(l,n),l}(FFn),UFn=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l.recursive=!1,l}return Object(t.__extends)(l,n),l}(LFn),BFn=function(){return function(){}}(),$Fn=function(){function n(n,l,e,t){this.transformFunction=n,this.getLevel=l,this.isExpandable=e,this.getChildren=t}return n.prototype._flattenNode=function(n,l,e,t){var i=this,a=this.transformFunction(n,l);if(e.push(a),this.isExpandable(a)){var o=this.getChildren(n);o&&(Array.isArray(o)?this._flattenChildren(o,l,e,t):o.pipe(_c(1)).subscribe((function(n){i._flattenChildren(n,l,e,t)})))}return e},n.prototype._flattenChildren=function(n,l,e,t){var i=this;n.forEach((function(a,o){var r=t.slice();r.push(o!=n.length-1),i._flattenNode(a,l+1,e,r)}))},n.prototype.flattenNodes=function(n){var l=this,e=[];return n.forEach((function(n){return l._flattenNode(n,0,e,[])})),e},n.prototype.expandFlattenedNodes=function(n,l){var e=this,t=[],i=[];return i[0]=!0,n.forEach((function(n){for(var a=!0,o=0;o<=e.getLevel(n);o++)a=a&&i[o];a&&t.push(n),e.isExpandable(n)&&(i[e.getLevel(n)+1]=l.isExpanded(n))})),t},n}(),HFn=function(n){function l(l,e,t){void 0===t&&(t=[]);var i=n.call(this)||this;return i._treeControl=l,i._treeFlattener=e,i._flattenedData=new Gs([]),i._expandedData=new Gs([]),i._data=new Gs(t),i}return Object(t.__extends)(l,n),Object.defineProperty(l.prototype,"data",{get:function(){return this._data.value},set:function(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value},enumerable:!0,configurable:!0}),l.prototype.connect=function(n){var l=this;return Z.apply(void 0,[n.viewChange,this._treeControl.expansionModel.onChange,this._flattenedData]).pipe(q((function(){return l._expandedData.next(l._treeFlattener.expandFlattenedNodes(l._flattenedData.value,l._treeControl)),l._expandedData.value})))},l.prototype.disconnect=function(){},l}(pg),GFn=yt({encapsulation:2,styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;min-height:48px;flex:1;overflow:hidden;word-wrap:break-word}.mat-nested-tree-ndoe{border-bottom-width:0}"],data:{}});function WFn(n){return jo(0,[ko(402653184,1,{_nodeOutlet:0}),(n()(),_o(1,16777216,null,null,2,null,null,null,null,null,null,null)),Ei(6144,null,MFn,null,[qFn]),Di(3,16384,[[1,4]],0,qFn,[lt,[2,AFn]],null,null)],null,null)}var KFn=function(){return function(){}}(),YFn=function(){function n(n,l,e,t,i,a,o,r){var u=this;this.http=n,this.notify=l,this.dialog=e,this.router=t,this.renderer=i,this.headerService=a,this.foldersService=o,this.functions=r,this.lang=Kr,this.loading=!0,this.searchTerm=new sy,this.TREE_DATA=[],this.createRootNode=!1,this.createItemNode=!1,this.dataChange=new Gs([]),this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.transformer=function(n,l){var e=u.nestedNodeMap.get(n),t=e&&e.label===n.label?e:new KFn;return t.label=n.label,t.countResources=n.countResources,t.public=n.public,t.pinned=n.pinned,t.parent_id=n.parent_id,t.id=n.id,t.level=l,t.expandable=!!n.children,u.flatNodeMap.set(t,n),u.nestedNodeMap.set(n,t),t},this.treeControl=new IFn((function(n){return n.level}),(function(n){return n.expandable})),this.treeFlattener=new $Fn(this.transformer,(function(n){return n.level}),(function(n){return n.expandable}),(function(n){return n.children})),this.dataSource=new HFn(this.treeControl,this.treeFlattener),this.refreshDocList=new la,this.refreshFolderList=new la,this.hasChild=function(n,l){return l.expandable},this.hasNoContent=function(n,l){return""===l.label},this.subscription=this.foldersService.catchEvent().subscribe((function(n){if("initTree"===n.type){var l=u.flatToNestedObject(u.foldersService.getList());l.length>0&&(u.initTree(l),u.openTree(u.foldersService.getCurrentFolder().id)),u.loading=!1}else"refreshFolderCount"===n.type?u.treeControl.dataNodes.filter((function(l){return l.id===n.content.id}))[0].countResources=n.content.countResources:"refreshFolderPinned"===n.type?u.treeControl.dataNodes.filter((function(l){return l.id===n.content.id}))[0].pinned=n.content.pinned:void 0!==u.treeControl.dataNodes&&u.openTree(u.foldersService.getCurrentFolder().id)}))}return Object.defineProperty(n.prototype,"data",{get:function(){return this.dataChange.value},enumerable:!0,configurable:!0}),n.prototype.ngOnInit=function(){this.getFolders()},n.prototype.getFolders=function(){this.loading=!0,this.foldersService.getFolders()},n.prototype.initTree=function(n){var l=this;this.dataChange.next(n),this.dataChange.subscribe((function(n){l.dataSource.data=n}))},n.prototype.openTree=function(n){for(var l=this.treeControl.dataNodes.map((function(n){return n.id})).indexOf(parseInt(n));-1!=l;)-1!=(l=this.treeControl.dataNodes.map((function(n){return n.id})).indexOf(this.treeControl.dataNodes[l].parent_id))&&this.treeControl.expand(this.treeControl.dataNodes[l])},n.prototype.showAction=function(n){this.treeControl.dataNodes.forEach((function(n){n.showAction=!1})),n.showAction=!0},n.prototype.hideAction=function(n){n.showAction=!1},n.prototype.flatToNestedObject=function(n){var l=this;return n.reduce((function(n,e,t,i){return null===e.parent_id?(n.left.length&&l.checkLeftOvers(n.left,e),delete e.parent_id,e.root=!0,n.nested.push(e)):l.findParent(n.nested,e)?l.checkLeftOvers(n.left,e):n.left.push(e),t<i.length-1?n:n.nested}),{nested:[],left:[]})},n.prototype.checkLeftOvers=function(n,l){for(var e=0;e<n.length;e++)if(n[e].parent_id===l.id){l.children?l.children.push(n[e]):l.children=[n[e]],l.count=l.children.length;var t=n.splice(e,1);this.checkLeftOvers(n,t[0])}},n.prototype.findParent=function(n,l){for(var e=!1,t=0;t<n.length;t++){if(n[t].id===l.parent_id)return e=!0,n[t].children?n[t].children.push(l):n[t].children=[l],n[t].count=n[t].children.length,!0;n[t].children&&(e=this.findParent(n[t].children,l))}return e},n.prototype.addNewItem=function(n){this.createItemNode=!0;var l=this.flatNodeMap.get(n);void 0===l.children&&(l.children=[]),l.children.push({label:"",parent_id:l.id,public:l.public}),this.dataChange.next(this.data),this.treeControl.expand(n),this.renderer.selectRootElement("#itemValue").focus()},n.prototype.saveNode=function(n,l){var e=this;this.http.post("../../rest/folders",{label:l,parent_id:n.parent_id}).pipe(Yr((function(t){var i=e.flatNodeMap.get(n);i.label=l,i.id=t.folder,i.countResources=0,e.dataChange.next(e.data),e.treeControl.collapseAll(),e.openTree(i.id),e.createItemNode=!1,e.foldersService.getPinnedFolders()})),Yr((function(){return e.notify.success(e.lang.folderAdded)})),Qr((function(n){return e.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.removeTemporaryNode=function(n){var l=this.getParentNode(n),e=l.children.map((function(n){return n.id})).indexOf(n.id);-1!==e&&l.children.splice(e,1),this.flatNodeMap.delete(n),this.dataChange.next(this.data),this.createItemNode=!1},n.prototype.openCreateFolderModal=function(){var n=this;this.dialogRef=this.dialog.open(oun,{panelClass:"maarch-modal",data:{folderName:this.autocomplete.getValue()}}),this.dialogRef.afterClosed().pipe(tc((function(l){return!n.functions.empty(l)})),Yr((function(){n.autocomplete.resetValue(),n.getFolders(),n.foldersService.getPinnedFolders()})),Qr((function(l){return n.notify.handleSoftErrors(l),lu(!1)}))).subscribe()},n.prototype.deleteNode=function(n){var l=this;this.dialogRef=this.dialog.open(dA,{panelClass:"maarch-modal",autoFocus:!1,disableClose:!0,data:{title:this.lang.delete,msg:this.lang.confirmAction}}),this.dialogRef.afterClosed().pipe(tc((function(n){return"ok"===n})),MN((function(){return l.http.delete("../../rest/folders/"+n.id)})),Yr((function(){var e,t=l.getParentNode(n);null!==t?-1!==(e=t.children.map((function(n){return n.id})).indexOf(n.id))&&t.children.splice(e,1):-1!==(e=l.data.map((function(n){return n.id})).indexOf(n.id))&&l.data.splice(e,1),l.flatNodeMap.delete(n),l.dataChange.next(l.data)})),Yr((function(){l.foldersService.getPinnedFolders(),l.notify.success(l.lang.folderDeleted)})),Qr((function(n){return l.notify.handleErrors(n),lu(!1)}))).subscribe()},n.prototype.getParentNode=function(n){var l=n.level;if(l<1)return null;for(var e=this.treeControl.dataNodes.indexOf(n)-1;e>=0;e--){var t=this.treeControl.dataNodes[e];if(t.level<l)return this.flatNodeMap.get(t)}return null},n.prototype.drop=function(n,l){this.foldersService.classifyDocument(n,l)},n.prototype.dragEnter=function(n){n.drag=!0},n.prototype.openFolderAdmin=function(n){var l=this;this.dialogRef=this.dialog.open(pSn,{panelClass:"maarch-modal",autoFocus:!1,data:{folderId:n.id}}),this.dialogRef.afterClosed().pipe(Yr((function(e){void 0!==e&&(l.getFolders(),l.foldersService.getPinnedFolders(),l.foldersService.setEvent({type:"refreshFolderInformations",content:n}))}))).subscribe()},n.prototype.checkRights=function(n){var l=this,e=[],t=0;this.http.get("../../rest/folders/"+n.id).pipe(Yr((function(i){e=l.headerService.user.entities.map((function(n){return n.id})),t=l.headerService.user.id;var a=!1,o=!1,r=i.folder.sharing.entities.filter((function(n){return e.indexOf(n)>-1}));i.folder.sharing.entities.filter((function(n){return r.indexOf(n.id)})).forEach((function(n){!0===n.edition&&(a=!0),!0===n.canDelete&&(o=!0)})),n.edition=!(!a&&i.folder.user_id!==t),n.canAdd=n.edition,n.canDelete=o||i.folder.user_id===t}))).subscribe()},n.prototype.goTo=function(n){this.seletedId=n.id,this.getFolders(),this.router.navigate(["/folders/"+n.id])},n.prototype.togglePinFolder=function(n){n.pinned?this.foldersService.unpinFolder(n):this.foldersService.pinFolder(n)},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n}(),JFn=yt({encapsulation:0,styles:[[".selectedFolder[_ngcontent-%COMP%]{border-left:5px solid #135f7f;background:rgba(19,95,127,.14)}.mat-icon-rtl-mirror[_ngcontent-%COMP%]{opacity:.5}.folderAction[_ngcontent-%COMP%]{color:#666}.mat-form-field-appearance-outline[_ngcontent-%COMP%]{font-size:11px} .mat-form-field-appearance-outline .mat-form-field-outline-thick{color:#135f7f}.example-tree-invisible[_ngcontent-%COMP%]{display:none}.example-tree[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .example-tree[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0;list-style-type:none}.example-tree-node[_ngcontent-%COMP%]{display:block}.example-tree-node[_ngcontent-%COMP%] .example-tree-node[_ngcontent-%COMP%]{padding-left:40px}.expandButton[_ngcontent-%COMP%]{width:20px;height:20px;line-height:20px}.mat-list-item[_ngcontent-%COMP%]{color:#666;font-size:12px;font-weight:700;height:40px;width:90%}.mat-tree-node[_ngcontent-%COMP%]{min-height:0;height:40px}.mat-tree-node[_ngcontent-%COMP%] .mat-list-item-content{padding-left:0}form[_ngcontent-%COMP%]{display:-webkit-box;display:flex;width:100%;-webkit-box-align:center;align-items:center}.treeLabel[_ngcontent-%COMP%]{white-space:pre;color:#666}.drag[_ngcontent-%COMP%]{color:#f99830!important}.more[_ngcontent-%COMP%]{width:100%;opacity:.6}.more[_ngcontent-%COMP%] .mat-list-item-content{-webkit-box-pack:center;justify-content:center}.rootFolder[_ngcontent-%COMP%]{width:100%}.private[_ngcontent-%COMP%]{margin-left:5px;color:#f99830}button[_ngcontent-%COMP%]:disabled{opacity:1}.countResources[_ngcontent-%COMP%]{font-weight:700;color:#135f7f}.empty[_ngcontent-%COMP%]{opacity:.5;font-size:12px;color:#666}.folderTools[_ngcontent-%COMP%]{padding-right:15px;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:baseline;align-items:baseline}.folderTools[_ngcontent-%COMP%] .filter[_ngcontent-%COMP%]{-webkit-box-flex:1;flex:1}.noFolder[_ngcontent-%COMP%]{font-size:12px;color:#666;text-align:center;font-style:italic}.noFolder[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{cursor:pointer} .folderListMenu .mat-menu-content{padding-top:0;padding-bottom:0} .folderListMenu .mat-menu-content .mat-menu-item .pinnedActionIcon{color:#8e3e52;height:auto} .folderListMenu .mat-menu-content .mat-menu-item .pinnedActionIcon i{font-size:13px;-webkit-transition:.3s;transition:all .3s;-webkit-transform:rotate(15deg) translate(0,-50%);transform:rotate(15deg) translate(0,-50%)} .folderListMenu .mat-menu-content .mat-menu-item .revertPinnedActionIcon{color:#135f7f;height:auto} .folderListMenu .mat-menu-content .mat-menu-item .revertPinnedActionIcon i{font-size:13px;-webkit-transition:.3s;transition:all .3s;-webkit-transform:rotate(0) translate(0,0);transform:rotate(0) translate(0,0)} .folderListMenu .mat-menu-content .mat-menu-item:hover .pinnedActionIcon{color:#135f7f} .folderListMenu .mat-menu-content .mat-menu-item:hover .pinnedActionIcon i{-webkit-transition:.3s;transition:all .3s;-webkit-transform:rotate(0) translate(0,0);transform:rotate(0) translate(0,0)} .folderListMenu .mat-menu-content .mat-menu-item:hover .revertPinnedActionIcon{color:#8e3e52} .folderListMenu .mat-menu-content .mat-menu-item:hover .revertPinnedActionIcon i{-webkit-transition:.3s;transition:all .3s;-webkit-transform:rotate(15deg) translate(0,-50%);transform:rotate(15deg) translate(0,-50%)}.loading[_ngcontent-%COMP%]{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}"]],data:{animation:[{type:7,name:"hideShow",definitions:[{type:1,expr:":enter",animation:[{type:6,styles:{height:"0px"},offset:null},{type:4,styles:{type:6,styles:{height:"30px"},offset:null},timings:"200ms"}],options:null},{type:1,expr:":leave",animation:[{type:6,styles:{height:"30px"},offset:null},{type:4,styles:{type:6,styles:{height:"0px"},offset:null},timings:"200ms"}],options:null}],options:{}}]}});function ZFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"div",[["class","noFolder"]],null,null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,1,0,l.component.lang.noAvailableFolder)}))}function QFn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-users private"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.sharedFolder,""))}))}function XFn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","folderAction fa fa-ellipsis-v mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function nEn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","countResources"]],[[2,"empty",null]],null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,0,0,0===l.parent.context.$implicit.countResources),n(l,1,0,l.parent.context.$implicit.countResources)}))}function lEn(n){return jo(0,[(n()(),_o(0,0,null,null,62,"mat-tree-node",[["cdkDropList",""],["cdkDropListConnectedTo","['document-list','folder-list']"],["class","mat-tree-node cdk-drop-list"],["matTreeNodePadding",""],["matTreeNodePaddingIndent","20px"]],[[24,"@hideShow",0],[1,"aria-expanded",0],[1,"aria-level",0],[1,"role",0],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"cdkDropListEntered"],[null,"cdkDropListExited"]],(function(n,l,e){var t=!0,i=n.component;return"cdkDropListDropped"===l&&(t=!1!==i.drop(e,n.context.$implicit)&&t),"cdkDropListEntered"===l&&(t=!1!==i.dragEnter(n.context.$implicit)&&t),"cdkDropListExited"===l&&(t=0!=(n.context.$implicit.drag=!1)&&t),t}),null,null)),Ei(6144,null,TFn,null,[VFn]),Ei(6144,null,jU,null,[KU]),Di(3,16384,null,0,NFn,[Pe,FFn,[8,null]],null,null),Ei(2048,null,EFn,null,[NFn]),Di(5,147456,null,0,VFn,[EFn,FFn,Te,Pe,[2,bb]],{level:[0,"level"],indent:[1,"indent"]},null),Di(6,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],id:[1,"id"]},{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited"}),ko(603979776,5,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(9,0,null,null,1,"button",[["class","expandButton"],["disabled",""],["mat-icon-button",""]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],null,null,PC,MC)),Di(10,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(11,0,null,null,51,"a",[["class","folderTreeItem mat-list-item"],["disableRipple",""],["mat-list-item",""]],[[2,"selectedFolder",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"mouseenter"],[null,"mouseleave"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"mouseenter"===l&&(t=!1!==i.showAction(n.context.$implicit)&&t),"mouseleave"===l&&(t=!1!==i.hideAction(n.context.$implicit)&&t),"click"===l&&(t=!1!==i.foldersService.goToFolder(n.context.$implicit)&&t),t}),AI,II)),Di(12,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,6,{_lines:1}),ko(603979776,7,{_avatar:0}),ko(603979776,8,{_icon:0}),(n()(),_o(16,0,null,2,4,"span",[["style","width: 90%;overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),_o(17,0,null,null,3,"span",[["class","treeLabel"]],[[8,"title",0],[2,"drag",null]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,QFn)),Di(19,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(20,null,[" "," "])),(n()(),_o(21,16777216,null,2,6,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""],["style","position: absolute;right:0px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==bi(n,23)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,23)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,23)._handleClick(e)&&t),"click"===l&&(e.stopPropagation(),i.showAction(n.context.$implicit),t=!1!==i.checkRights(n.context.$implicit)&&t),t}),PC,MC)),Di(22,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(23,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),vo(16777216,null,0,1,null,XFn)),Di(25,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,nEn)),Di(27,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(28,0,null,2,34,"mat-menu",[],null,null,null,XT,ZT)),Di(29,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,9,{_allItems:1}),ko(603979776,10,{items:1}),ko(603979776,11,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(35,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,36)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,36)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.togglePinFolder(n.context.$implicit)&&t),t}),lL,nL)),Di(36,180224,[[9,4],[10,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(37,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"pinnedActionIcon",null],[2,"revertPinnedActionIcon",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(38,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(39,0,null,0,0,"i",[["class","fas fa-thumbtack"]],null,null,null,null,null)),(n()(),_o(40,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(41,null,["",""])),(n()(),_o(42,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,43)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,43)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.addNewItem(n.context.$implicit)&&t),t}),lL,nL)),Di(43,180224,[[9,4],[10,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(44,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","width: auto;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(45,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(46,0,null,0,0,"i",[["class","fas fa-folder-plus"]],null,null,null,null,null)),(n()(),_o(47,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(48,null,["",""])),(n()(),_o(49,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,50)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,50)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.deleteNode(n.context.$implicit)&&t),t}),lL,nL)),Di(50,180224,[[9,4],[10,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(51,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","width: auto;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(52,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(53,0,null,0,0,"i",[["class","far fa-trash-alt"]],null,null,null,null,null)),(n()(),_o(54,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(55,null,[" "," "])),(n()(),_o(56,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,57)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,57)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openFolderAdmin(n.context.$implicit)&&t),t}),lL,nL)),Di(57,180224,[[9,4],[10,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(58,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","width: auto;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(59,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(60,0,null,0,0,"i",[["class","fas fa-sliders-h"]],null,null,null,null,null)),(n()(),_o(61,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(62,null,[" "," "]))],(function(n,l){var e=l.component;n(l,5,0,"","20px"),n(l,6,0,"['document-list','folder-list']","treefolder-list-"+l.context.$implicit.id),n(l,10,0,""),n(l,12,0,""),n(l,19,0,l.context.$implicit.public),n(l,22,0,!l.context.$implicit.showAction),n(l,23,0,bi(l,29)),n(l,25,0,l.context.$implicit.showAction),n(l,27,0,!l.context.$implicit.showAction),n(l,29,0,"folderListMenu"),n(l,38,0),n(l,43,0,e.createItemNode||!l.context.$implicit.canAdd||l.context.$implicit.level>6),n(l,45,0),n(l,50,0,!l.context.$implicit.canDelete),n(l,52,0),n(l,57,0,!l.context.$implicit.edition),n(l,59,0)}),(function(n,l){var e=l.component;n(l,0,0,void 0,bi(l,3).isExpanded,"treeitem"===bi(l,3).role?bi(l,3).level:null,bi(l,3).role,bi(l,6).id,bi(l,6).disabled,bi(l,6)._dropListRef.isDragging(),bi(l,6)._dropListRef.isReceiving()),n(l,9,0,bi(l,10).disabled||null,"NoopAnimations"===bi(l,10)._animationMode),n(l,11,0,e.foldersService.getCurrentFolder().id==l.context.$implicit.id,bi(l,12)._avatar||bi(l,12)._icon,bi(l,12)._avatar||bi(l,12)._icon),n(l,17,0,l.context.$implicit.label,l.context.$implicit.drag),n(l,20,0,l.context.$implicit.label),n(l,21,0,bi(l,22).disabled||null,"NoopAnimations"===bi(l,22)._animationMode,bi(l,23).menuOpen||null),n(l,35,0,bi(l,36).role,bi(l,36)._highlighted,bi(l,36)._triggersSubmenu,bi(l,36)._getTabIndex(),bi(l,36).disabled.toString(),bi(l,36).disabled||null),n(l,37,0,!l.context.$implicit.pinned,l.context.$implicit.pinned,bi(l,38).inline,"primary"!==bi(l,38).color&&"accent"!==bi(l,38).color&&"warn"!==bi(l,38).color),n(l,41,0,l.context.$implicit.pinned?e.lang.unpinFolder:e.lang.pinFolder),n(l,42,0,bi(l,43).role,bi(l,43)._highlighted,bi(l,43)._triggersSubmenu,bi(l,43)._getTabIndex(),bi(l,43).disabled.toString(),bi(l,43).disabled||null),n(l,44,0,bi(l,45).inline,"primary"!==bi(l,45).color&&"accent"!==bi(l,45).color&&"warn"!==bi(l,45).color),n(l,48,0,e.lang.addSubFolder),n(l,49,0,bi(l,50).role,bi(l,50)._highlighted,bi(l,50)._triggersSubmenu,bi(l,50)._getTabIndex(),bi(l,50).disabled.toString(),bi(l,50).disabled||null),n(l,51,0,bi(l,52).inline,"primary"!==bi(l,52).color&&"accent"!==bi(l,52).color&&"warn"!==bi(l,52).color),n(l,55,0,e.lang.delete),n(l,56,0,bi(l,57).role,bi(l,57)._highlighted,bi(l,57)._triggersSubmenu,bi(l,57)._getTabIndex(),bi(l,57).disabled.toString(),bi(l,57).disabled||null),n(l,58,0,bi(l,59).inline,"primary"!==bi(l,59).color&&"accent"!==bi(l,59).color&&"warn"!==bi(l,59).color),n(l,62,0,e.lang.properties)}))}function eEn(n){return jo(0,[(n()(),_o(0,0,null,null,33,"mat-tree-node",[["class","mat-tree-node"],["matTreeNodePadding",""],["matTreeNodePaddingIndent","0px"]],[[1,"aria-expanded",0],[1,"aria-level",0],[1,"role",0]],null,null,null,null)),Ei(6144,null,TFn,null,[VFn]),Di(2,16384,null,0,NFn,[Pe,FFn,[8,null]],null,null),Ei(2048,null,EFn,null,[NFn]),Di(4,147456,null,0,VFn,[EFn,FFn,Te,Pe,[2,bb]],{level:[0,"level"],indent:[1,"indent"]},null),(n()(),_o(5,0,null,null,28,"form",[["novalidate",""]],[[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null]],[[null,"submit"],[null,"reset"]],(function(n,l,e){var t=!0;return"submit"===l&&(t=!1!==bi(n,7).onSubmit(e)&&t),"reset"===l&&(t=!1!==bi(n,7).onReset()&&t),t}),null,null)),Di(6,16384,null,0,yy,[],null,null),Di(7,4210688,null,0,my,[[8,null],[8,null]],null,null),Ei(2048,null,g_,null,[my]),Di(9,16384,null,0,w_,[[4,g_]],null,null),(n()(),_o(10,0,null,null,23,"mat-form-field",[["class","mat-form-field"],["floatLabel","never"],["style","width: 100%;padding-left: 10px;padding-right: 10px;"]],[[2,"mat-form-field-appearance-standard",null],[2,"mat-form-field-appearance-fill",null],[2,"mat-form-field-appearance-outline",null],[2,"mat-form-field-appearance-legacy",null],[2,"mat-form-field-invalid",null],[2,"mat-form-field-can-float",null],[2,"mat-form-field-should-float",null],[2,"mat-form-field-has-label",null],[2,"mat-form-field-hide-placeholder",null],[2,"mat-form-field-disabled",null],[2,"mat-form-field-autofilled",null],[2,"mat-focused",null],[2,"mat-accent",null],[2,"mat-warn",null],[2,"ng-untouched",null],[2,"ng-touched",null],[2,"ng-pristine",null],[2,"ng-dirty",null],[2,"ng-valid",null],[2,"ng-invalid",null],[2,"ng-pending",null],[2,"_mat-animation-noopable",null]],null,null,kT,pT)),Di(11,7520256,null,9,cT,[Pe,Nl,[2,Rv],[2,bb],[2,sT],sh,La,[2,SC]],{floatLabel:[0,"floatLabel"]},null),ko(603979776,12,{_controlNonStatic:0}),ko(335544320,13,{_controlStatic:0}),ko(603979776,14,{_labelChildNonStatic:0}),ko(335544320,15,{_labelChildStatic:0}),ko(603979776,16,{_placeholderChild:0}),ko(603979776,17,{_errorChildren:1}),ko(603979776,18,{_hintChildren:1}),ko(603979776,19,{_prefixChildren:1}),ko(603979776,20,{_suffixChildren:1}),(n()(),_o(21,0,[[1,0],["itemValue",1]],1,2,"input",[["class","mat-input-element mat-form-field-autofill-control"],["id","itemValue"],["matInput",""]],[[2,"mat-input-server",null],[1,"id",0],[1,"placeholder",0],[8,"disabled",0],[8,"required",0],[1,"readonly",0],[1,"aria-describedby",0],[1,"aria-invalid",0],[1,"aria-required",0]],[[null,"blur"],[null,"focus"],[null,"input"]],(function(n,l,e){var t=!0;return"blur"===l&&(t=!1!==bi(n,22)._focusChanged(!1)&&t),"focus"===l&&(t=!1!==bi(n,22)._focusChanged(!0)&&t),"input"===l&&(t=!1!==bi(n,22)._onInput()&&t),t}),null,null)),Di(22,999424,null,0,OT,[Pe,sh,[8,null],[2,my],[2,Cy],dv,[8,null],IT,La],{id:[0,"id"],placeholder:[1,"placeholder"]},null),Ei(2048,[[12,4],[13,4]],nT,null,[OT]),(n()(),_o(24,0,null,4,4,"button",[["mat-icon-button",""],["matSuffix",""],["type","submit"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.saveNode(n.context.$implicit,bi(n,21).value)&&t),t}),PC,MC)),Di(25,16384,[[20,4]],0,oT,[],null,null),Di(26,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),(n()(),_o(27,0,null,0,1,"mat-icon",[["class","fa fa-check mat-icon notranslate"],["color","accent"],["role","img"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(28,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],{color:[0,"color"]},null),(n()(),_o(29,0,null,4,4,"button",[["mat-icon-button",""],["matSuffix",""],["type","button"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.removeTemporaryNode(n.context.$implicit)&&t),t}),PC,MC)),Di(30,16384,[[20,4]],0,oT,[],null,null),Di(31,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),(n()(),_o(32,0,null,0,1,"mat-icon",[["class","fa fa-times mat-icon notranslate"],["role","img"],["style","color:#8e3e52"]],[[8,"title",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(33,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){var e=l.component;n(l,4,0,"","0px"),n(l,11,0,"never"),n(l,22,0,"itemValue",Wt(1,"",e.lang.addFolder,"...")),n(l,26,0,""===bi(l,21).value),n(l,28,0,"accent"),n(l,33,0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,2).isExpanded,"treeitem"===bi(l,2).role?bi(l,2).level:null,bi(l,2).role),n(l,5,0,bi(l,9).ngClassUntouched,bi(l,9).ngClassTouched,bi(l,9).ngClassPristine,bi(l,9).ngClassDirty,bi(l,9).ngClassValid,bi(l,9).ngClassInvalid,bi(l,9).ngClassPending),n(l,10,1,["standard"==bi(l,11).appearance,"fill"==bi(l,11).appearance,"outline"==bi(l,11).appearance,"legacy"==bi(l,11).appearance,bi(l,11)._control.errorState,bi(l,11)._canLabelFloat,bi(l,11)._shouldLabelFloat(),bi(l,11)._hasFloatingLabel(),bi(l,11)._hideControlPlaceholder(),bi(l,11)._control.disabled,bi(l,11)._control.autofilled,bi(l,11)._control.focused,"accent"==bi(l,11).color,"warn"==bi(l,11).color,bi(l,11)._shouldForward("untouched"),bi(l,11)._shouldForward("touched"),bi(l,11)._shouldForward("pristine"),bi(l,11)._shouldForward("dirty"),bi(l,11)._shouldForward("valid"),bi(l,11)._shouldForward("invalid"),bi(l,11)._shouldForward("pending"),!bi(l,11)._animationsEnabled]),n(l,21,0,bi(l,22)._isServer,bi(l,22).id,bi(l,22).placeholder,bi(l,22).disabled,bi(l,22).required,bi(l,22).readonly&&!bi(l,22)._isNativeSelect||null,bi(l,22)._ariaDescribedby||null,bi(l,22).errorState,bi(l,22).required.toString()),n(l,24,0,bi(l,26).disabled||null,"NoopAnimations"===bi(l,26)._animationMode),n(l,27,0,e.lang.add,bi(l,28).inline,"primary"!==bi(l,28).color&&"accent"!==bi(l,28).color&&"warn"!==bi(l,28).color),n(l,29,0,bi(l,31).disabled||null,"NoopAnimations"===bi(l,31)._animationMode),n(l,32,0,e.lang.delete,bi(l,33).inline,"primary"!==bi(l,33).color&&"accent"!==bi(l,33).color&&"warn"!==bi(l,33).color)}))}function tEn(n){return jo(0,[(n()(),_o(0,0,null,null,0,"i",[["class","fa fa-users private"]],[[8,"title",0]],null,null,null,null))],null,(function(n,l){n(l,0,0,Wt(1,"",l.component.lang.sharedFolder,""))}))}function iEn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"mat-icon",[["class","folderAction fa fa-ellipsis-v mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(1,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null)],(function(n,l){n(l,1,0)}),(function(n,l){n(l,0,0,bi(l,1).inline,"primary"!==bi(l,1).color&&"accent"!==bi(l,1).color&&"warn"!==bi(l,1).color)}))}function aEn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"span",[["class","countResources"]],[[2,"empty",null]],null,null,null,null)),(n()(),Lo(1,null,[" "," "]))],null,(function(n,l){n(l,0,0,0===l.parent.context.$implicit.countResources),n(l,1,0,l.parent.context.$implicit.countResources)}))}function oEn(n){return jo(0,[(n()(),_o(0,0,null,null,66,"mat-tree-node",[["cdkDropList",""],["cdkDropListConnectedTo","list-1"],["class","mat-tree-node cdk-drop-list"],["matTreeNodePadding",""],["matTreeNodePaddingIndent","20px"]],[[24,"@hideShow",0],[1,"aria-expanded",0],[1,"aria-level",0],[1,"role",0],[8,"id",0],[2,"cdk-drop-list-disabled",null],[2,"cdk-drop-list-dragging",null],[2,"cdk-drop-list-receiving",null]],[[null,"cdkDropListDropped"],[null,"cdkDropListEntered"],[null,"cdkDropListExited"]],(function(n,l,e){var t=!0,i=n.component;return"cdkDropListDropped"===l&&(t=!1!==i.drop(e,n.context.$implicit)&&t),"cdkDropListEntered"===l&&(t=!1!==i.dragEnter(n.context.$implicit)&&t),"cdkDropListExited"===l&&(t=0!=(n.context.$implicit.drag=!1)&&t),t}),null,null)),Ei(6144,null,TFn,null,[VFn]),Ei(6144,null,jU,null,[KU]),Di(3,16384,null,0,NFn,[Pe,FFn,[8,null]],null,null),Ei(2048,null,EFn,null,[NFn]),Di(5,147456,null,0,VFn,[EFn,FFn,Te,Pe,[2,bb]],{level:[0,"level"],indent:[1,"indent"]},null),Di(6,1196032,null,1,KU,[Pe,NU,Nl,[2,bb],[3,GU]],{connectedTo:[0,"connectedTo"],id:[1,"id"]},{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited"}),ko(603979776,21,{_draggables:1}),Ei(256,null,GU,void 0,[]),(n()(),_o(9,0,null,null,5,"button",[["class","expandButton"],["mat-icon-button",""],["matTreeNodeToggle",""]],[[1,"aria-label",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,12)._toggle(e)&&t),t}),PC,MC)),Ei(6144,null,LFn,null,[UFn]),Di(11,180224,null,0,ow,[Pe,qb,[2,SC]],null,null),Di(12,16384,null,0,UFn,[FFn,EFn],null,null),(n()(),_o(13,0,null,0,1,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[8,"className",0],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(14,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(15,0,null,null,51,"a",[["class","folderTreeItem mat-list-item"],["disableRipple",""],["mat-list-item",""]],[[2,"selectedFolder",null],[2,"mat-list-item-avatar",null],[2,"mat-list-item-with-avatar",null]],[[null,"mouseleave"],[null,"mouseenter"],[null,"click"]],(function(n,l,e){var t=!0,i=n.component;return"mouseleave"===l&&(t=!1!==i.hideAction(n.context.$implicit)&&t),"mouseenter"===l&&(t=!1!==i.showAction(n.context.$implicit)&&t),"click"===l&&(t=!1!==i.foldersService.goToFolder(n.context.$implicit)&&t),t}),AI,II)),Di(16,1228800,null,3,oI,[Pe,Nl,[2,eI],[2,tI]],{disableRipple:[0,"disableRipple"]},null),ko(603979776,22,{_lines:1}),ko(603979776,23,{_avatar:0}),ko(603979776,24,{_icon:0}),(n()(),_o(20,0,null,2,4,"span",[["style","width: 90%;overflow: hidden;text-overflow: ellipsis;"]],null,null,null,null,null)),(n()(),_o(21,0,null,null,3,"span",[["class","treeLabel"]],[[8,"title",0],[2,"drag",null]],null,null,null,null)),(n()(),vo(16777216,null,null,1,null,tEn)),Di(23,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),Lo(24,null,[" "," "])),(n()(),_o(25,16777216,null,2,6,"button",[["aria-haspopup","true"],["class","mat-menu-trigger"],["mat-icon-button",""],["style","position: absolute;right:0px;"]],[[1,"disabled",0],[2,"_mat-animation-noopable",null],[1,"aria-expanded",0]],[[null,"click"],[null,"mousedown"],[null,"keydown"]],(function(n,l,e){var t=!0,i=n.component;return"mousedown"===l&&(t=!1!==bi(n,27)._handleMousedown(e)&&t),"keydown"===l&&(t=!1!==bi(n,27)._handleKeydown(e)&&t),"click"===l&&(t=!1!==bi(n,27)._handleClick(e)&&t),"click"===l&&(e.stopPropagation(),t=!1!==i.checkRights(n.context.$implicit)&&t),t}),PC,MC)),Di(26,180224,null,0,ow,[Pe,qb,[2,SC]],{disabled:[0,"disabled"]},null),Di(27,1196032,null,0,KT,[Zg,Pe,lt,HT,[2,BT],[8,null],[2,bb],qb],{menu:[0,"menu"]},null),(n()(),vo(16777216,null,0,1,null,iEn)),Di(29,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,aEn)),Di(31,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(32,0,null,2,34,"mat-menu",[],null,null,null,XT,ZT)),Di(33,1294336,[["menu",4]],3,$T,[Pe,La,UT],{panelClass:[0,"panelClass"]},null),ko(603979776,25,{_allItems:1}),ko(603979776,26,{items:1}),ko(603979776,27,{lazyContent:0}),Ei(2048,null,BT,null,[$T]),Ei(2048,null,qT,null,[BT]),(n()(),_o(39,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,40)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,40)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.togglePinFolder(n.context.$implicit)&&t),t}),lL,nL)),Di(40,180224,[[25,4],[26,4]],0,zT,[Pe,qs,qb,[2,qT]],null,null),(n()(),_o(41,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"]],[[2,"pinnedActionIcon",null],[2,"revertPinnedActionIcon",null],[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(42,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(43,0,null,0,0,"i",[["class","fas fa-thumbtack"]],null,null,null,null,null)),(n()(),_o(44,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(45,null,["",""])),(n()(),_o(46,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,47)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,47)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.addNewItem(n.context.$implicit)&&t),t}),lL,nL)),Di(47,180224,[[25,4],[26,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(48,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","width: auto;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(49,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(50,0,null,0,0,"i",[["class","fas fa-folder-plus"]],null,null,null,null,null)),(n()(),_o(51,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(52,null,["",""])),(n()(),_o(53,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,54)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,54)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.deleteNode(n.context.$implicit)&&t),t}),lL,nL)),Di(54,180224,[[25,4],[26,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(55,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","width: auto;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(56,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(57,0,null,0,0,"i",[["class","far fa-trash-alt"]],null,null,null,null,null)),(n()(),_o(58,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(59,null,[" "," "])),(n()(),_o(60,0,null,0,6,"button",[["class","mat-menu-item"],["mat-menu-item",""]],[[1,"role",0],[2,"mat-menu-item-highlighted",null],[2,"mat-menu-item-submenu-trigger",null],[1,"tabindex",0],[1,"aria-disabled",0],[1,"disabled",0]],[[null,"click"],[null,"mouseenter"]],(function(n,l,e){var t=!0,i=n.component;return"click"===l&&(t=!1!==bi(n,61)._checkDisabled(e)&&t),"mouseenter"===l&&(t=!1!==bi(n,61)._handleMouseEnter()&&t),"click"===l&&(t=!1!==i.openFolderAdmin(n.context.$implicit)&&t),t}),lL,nL)),Di(61,180224,[[25,4],[26,4]],0,zT,[Pe,qs,qb,[2,qT]],{disabled:[0,"disabled"]},null),(n()(),_o(62,0,null,0,2,"mat-icon",[["class","mat-icon notranslate"],["role","img"],["style","width: auto;height: auto;"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(63,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),_o(64,0,null,0,0,"i",[["class","fas fa-sliders-h"]],null,null,null,null,null)),(n()(),_o(65,0,null,0,1,"span",[],null,null,null,null,null)),(n()(),Lo(66,null,[" "," "]))],(function(n,l){var e=l.component;n(l,5,0,"","20px"),n(l,6,0,"list-1","treefolder-list-"+l.context.$implicit.id),n(l,14,0),n(l,16,0,""),n(l,23,0,l.context.$implicit.public),n(l,26,0,!l.context.$implicit.showAction),n(l,27,0,bi(l,33)),n(l,29,0,l.context.$implicit.showAction),n(l,31,0,!l.context.$implicit.showAction),n(l,33,0,"folderListMenu"),n(l,42,0),n(l,47,0,e.createItemNode||!l.context.$implicit.canAdd||l.context.$implicit.level>6),n(l,49,0),n(l,54,0,!l.context.$implicit.canDelete),n(l,56,0),n(l,61,0,!l.context.$implicit.edition),n(l,63,0)}),(function(n,l){var e=l.component;n(l,0,0,void 0,bi(l,3).isExpanded,"treeitem"===bi(l,3).role?bi(l,3).level:null,bi(l,3).role,bi(l,6).id,bi(l,6).disabled,bi(l,6)._dropListRef.isDragging(),bi(l,6)._dropListRef.isReceiving()),n(l,9,0,"toggle "+l.context.$implicit.name,bi(l,11).disabled||null,"NoopAnimations"===bi(l,11)._animationMode),n(l,13,0,Wt(1,"mat-icon-rtl-mirror fa ",e.treeControl.isExpanded(l.context.$implicit)?"fa-chevron-down":"fa-chevron-right",""),bi(l,14).inline,"primary"!==bi(l,14).color&&"accent"!==bi(l,14).color&&"warn"!==bi(l,14).color),n(l,15,0,e.foldersService.getCurrentFolder().id==l.context.$implicit.id,bi(l,16)._avatar||bi(l,16)._icon,bi(l,16)._avatar||bi(l,16)._icon),n(l,21,0,l.context.$implicit.label,l.context.$implicit.drag),n(l,24,0,l.context.$implicit.label),n(l,25,0,bi(l,26).disabled||null,"NoopAnimations"===bi(l,26)._animationMode,bi(l,27).menuOpen||null),n(l,39,0,bi(l,40).role,bi(l,40)._highlighted,bi(l,40)._triggersSubmenu,bi(l,40)._getTabIndex(),bi(l,40).disabled.toString(),bi(l,40).disabled||null),n(l,41,0,!l.context.$implicit.pinned,l.context.$implicit.pinned,bi(l,42).inline,"primary"!==bi(l,42).color&&"accent"!==bi(l,42).color&&"warn"!==bi(l,42).color),n(l,45,0,l.context.$implicit.pinned?e.lang.unpinFolder:e.lang.pinFolder),n(l,46,0,bi(l,47).role,bi(l,47)._highlighted,bi(l,47)._triggersSubmenu,bi(l,47)._getTabIndex(),bi(l,47).disabled.toString(),bi(l,47).disabled||null),n(l,48,0,bi(l,49).inline,"primary"!==bi(l,49).color&&"accent"!==bi(l,49).color&&"warn"!==bi(l,49).color),n(l,52,0,e.lang.addSubFolder),n(l,53,0,bi(l,54).role,bi(l,54)._highlighted,bi(l,54)._triggersSubmenu,bi(l,54)._getTabIndex(),bi(l,54).disabled.toString(),bi(l,54).disabled||null),n(l,55,0,bi(l,56).inline,"primary"!==bi(l,56).color&&"accent"!==bi(l,56).color&&"warn"!==bi(l,56).color),n(l,59,0,e.lang.delete),n(l,60,0,bi(l,61).role,bi(l,61)._highlighted,bi(l,61)._triggersSubmenu,bi(l,61)._getTabIndex(),bi(l,61).disabled.toString(),bi(l,61).disabled||null),n(l,62,0,bi(l,63).inline,"primary"!==bi(l,63).color&&"accent"!==bi(l,63).color&&"warn"!==bi(l,63).color),n(l,66,0,e.lang.properties)}))}function rEn(n){return jo(0,[(n()(),_o(0,0,null,null,14,"mat-nav-list",[["class","mat-nav-list mat-list-base"],["role","navigation"]],null,null,null,CI,xI)),Di(1,704512,null,0,eI,[],null,null),(n()(),_o(2,0,null,0,12,"mat-tree",[["class","mat-tree"],["role","tree"]],null,null,null,WFn,GFn)),Ei(6144,null,FFn,null,[zFn]),Di(4,2342912,null,1,zFn,[Ke,Nl],{dataSource:[0,"dataSource"],treeControl:[1,"treeControl"]},null),ko(603979776,4,{_nodeDefs:1}),(n()(),vo(0,null,null,2,null,lEn)),Di(7,16384,null,0,jFn,[Xe],null,null),Ei(2048,[[4,4]],DFn,null,[jFn]),(n()(),vo(0,null,null,2,null,eEn)),Di(10,16384,null,0,jFn,[Xe],{when:[0,"when"]},null),Ei(2048,[[4,4]],DFn,null,[jFn]),(n()(),vo(0,null,null,2,null,oEn)),Di(13,16384,null,0,jFn,[Xe],{when:[0,"when"]},null),Ei(2048,[[4,4]],DFn,null,[jFn])],(function(n,l){var e=l.component;n(l,4,0,e.dataSource,e.treeControl),n(l,10,0,e.hasNoContent),n(l,13,0,e.hasChild)}),null)}function uEn(n){return jo(0,[(n()(),_o(0,0,null,null,14,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,9,"div",[["class","folderTools"]],null,null,null,null,null)),(n()(),_o(2,0,null,null,3,"div",[["class","filter"]],null,null,null,null,null)),(n()(),_o(3,0,null,null,2,"plugin-autocomplete",[["appearance","outline"]],null,[[null,"triggerEvent"]],(function(n,l,e){var t=!0;return"triggerEvent"===l&&(t=!1!==n.component.goTo(e)&&t),t}),HN,EN)),Di(4,114688,[[2,4],["autocomplete",4]],0,FN,[nS,tu,Jv,QS],{size:[0,"size"],appearance:[1,"appearance"],routeDatas:[2,"routeDatas"],placeholder:[3,"placeholder"],key:[4,"key"]},{selectedOpt:"triggerEvent"}),Eo(5,1),(n()(),_o(6,0,null,null,4,"div",[],null,null,null,null,null)),(n()(),_o(7,0,null,null,3,"button",[["color","primary"],["mat-icon-button",""]],[[8,"title",0],[1,"disabled",0],[2,"_mat-animation-noopable",null]],[[null,"click"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==n.component.openCreateFolderModal()&&t),t}),PC,MC)),Di(8,180224,null,0,ow,[Pe,qb,[2,SC]],{color:[0,"color"]},null),(n()(),_o(9,0,null,0,1,"mat-icon",[["class","fas fa-folder-plus mat-icon notranslate"],["role","img"]],[[2,"mat-icon-inline",null],[2,"mat-icon-no-color",null]],null,null,FS,DS)),Di(10,9158656,null,0,MS,[Pe,yS,[8,null],[2,kS]],null,null),(n()(),vo(16777216,null,null,1,null,ZFn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,null,1,null,rEn)),Di(14,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(0,null,null,0))],(function(n,l){var e=l.component,t=n(l,5,0,"/rest/autocomplete/folders");n(l,4,0,"small","outline",t,e.lang.searchFolder,"idToDisplay"),n(l,8,0,"primary"),n(l,10,0),n(l,12,0,0===e.dataSource.data.length),n(l,14,0,e.dataSource.data.length>0)}),(function(n,l){n(l,7,0,Wt(1,"",l.component.lang.addRootFolder,""),bi(l,8).disabled||null,"NoopAnimations"===bi(l,8)._animationMode),n(l,9,0,bi(l,10).inline,"primary"!==bi(l,10).color&&"accent"!==bi(l,10).color&&"warn"!==bi(l,10).color)}))}function sEn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"div",[["class","loading"]],null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"mat-spinner",[["class","mat-spinner mat-progress-spinner"],["mode","indeterminate"],["role","progressbar"]],[[2,"_mat-animation-noopable",null],[4,"width","px"],[4,"height","px"]],null,null,bO,fO)),Di(2,114688,null,0,uO,[Pe,sh,[2,qs],[2,SC],oO],null,null)],(function(n,l){n(l,2,0)}),(function(n,l){n(l,1,0,bi(l,2)._noopAnimations,bi(l,2).diameter,bi(l,2).diameter)}))}function cEn(n){return jo(0,[ko(402653184,1,{itemValue:0}),ko(671088640,2,{autocomplete:0}),ko(402653184,3,{tree:0}),(n()(),vo(16777216,null,null,1,null,uEn)),Di(4,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"],ngIfElse:[1,"ngIfElse"]},null),(n()(),vo(0,[["elseTemplate",2]],null,0,null,sEn))],(function(n,l){n(l,4,0,!l.component.loading,bi(l,5))}),null)}var dEn=function(){function n(n,l,e){var t=this;this.foldersService=n,this.actionService=l,this.changeDetectorRef=e,this.lang=Kr,this.refreshEvent=new la,this.subscription=this.actionService.catchAction().subscribe((function(n){t.refreshFoldersTree()}))}return n.prototype.ngOnInit=function(){this.foldersService.getPinnedFolders()},n.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},n.prototype.initTree=function(){this.folderTree.openTree(this.id)},n.prototype.refreshDocList=function(){this.refreshEvent.emit()},n.prototype.refreshFoldersTree=function(){void 0!==this.folderTree&&this.folderTree.getFolders()},n}(),pEn=yt({encapsulation:0,styles:[[".folderList[_ngcontent-%COMP%]{box-shadow:none}.folderList[_ngcontent-%COMP%] .mat-expansion-panel-body{padding:0}.folderList[_ngcontent-%COMP%] .mat-expansion-panel-header-title[_ngcontent-%COMP%]{color:#135f7f;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;font-size:14px;font-weight:500}.folderList[_ngcontent-%COMP%] .mat-expansion-panel-body[_ngcontent-%COMP%]{padding:0}.folderList[_ngcontent-%COMP%] .mat-line[_ngcontent-%COMP%]{font-size:12px;font-weight:700}.panelIconMenu[_ngcontent-%COMP%]{font-size:22px}.showFolderTree[_ngcontent-%COMP%]{font-size:13px;opacity:.8;font-weight:700;color:#666;width:100%}"]],data:{}});function mEn(n){return jo(0,[(n()(),_o(0,16777216,null,null,13,"mat-expansion-panel",[["class","folderList mat-expansion-panel"],["expanded",""]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(1,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,2,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(4,0,null,0,7,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,5)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,5)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,5)._animationStarted()&&t),t}),aV,tV)),Di(5,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(6,{collapsedHeight:0,expandedHeight:1}),Oo(7,{value:0,params:1}),(n()(),_o(8,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(9,16384,null,0,Zj,[],null,null),(n()(),_o(10,0,null,null,0,"i",[["class","fa fa-thumbtack panelIconMenu"]],null,null,null,null,null)),(n()(),Lo(11,null,[" "," "])),(n()(),_o(12,0,null,1,1,"folder-pinned",[],null,null,null,SFn,wFn)),Di(13,245760,null,0,yFn,[nS,ru],{noInit:[0,"noInit"]},null),(n()(),vo(0,null,null,0))],(function(n,l){n(l,1,0,""),n(l,13,0,!0)}),(function(n,l){var e=l.component;n(l,0,0,bi(l,1).expanded,"NoopAnimations"===bi(l,1)._animationMode,bi(l,1)._hasSpacing());var t=bi(l,5).panel._headerId,i=bi(l,5).disabled?-1:0,a=bi(l,5)._getPanelId(),o=bi(l,5)._isExpanded(),r=bi(l,5).panel.disabled,u=bi(l,5)._isExpanded(),s="after"===bi(l,5)._getTogglePosition(),c="before"===bi(l,5)._getTogglePosition(),d=bi(l,5)._animationsDisabled,p=n(l,7,0,bi(l,5)._getExpandedState(),n(l,6,0,bi(l,5).collapsedHeight,bi(l,5).expandedHeight));n(l,4,0,t,i,a,o,r,u,s,c,d,p),n(l,11,0,e.lang.myPinnedFolder)}))}function fEn(n){return jo(0,[(n()(),_o(0,0,null,null,2,"folder-tree",[],null,[[null,"refreshDocList"]],(function(n,l,e){var t=!0;return"refreshDocList"===l&&(t=!1!==n.component.refreshDocList()&&t),t}),cEn,JFn)),Ei(512,null,tu,tu,[uf,hk]),Di(2,245760,[[1,4],["folderTree",4]],0,YFn,[nS,tu,Jv,uf,Te,_u,ru,$S],{seletedId:[0,"seletedId"]},{refreshDocList:"refreshDocList"})],(function(n,l){n(l,2,0,l.component.id)}),null)}function hEn(n){return jo(0,[ko(671088640,1,{folderTree:0}),(n()(),vo(16777216,null,null,1,null,mEn)),Di(2,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(3,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(4,49152,null,0,mI,[],null,null),(n()(),_o(5,16777216,null,null,13,"mat-expansion-panel",[["class","folderList mat-expansion-panel"]],[[2,"mat-expanded",null],[2,"_mat-animation-noopable",null],[2,"mat-expansion-panel-spacing",null]],null,null,eV,nV)),Di(6,1753088,null,1,Kj,[[3,Bj],Nl,gg,lt,qs,[2,SC],[2,Wj]],{expanded:[0,"expanded"]},null),ko(603979776,3,{_lazyContent:0}),Ei(256,null,Bj,void 0,[]),(n()(),_o(9,0,null,0,7,"mat-expansion-panel-header",[["class","mat-expansion-panel-header"],["role","button"]],[[1,"id",0],[1,"tabindex",0],[1,"aria-controls",0],[1,"aria-expanded",0],[1,"aria-disabled",0],[2,"mat-expanded",null],[2,"mat-expansion-toggle-indicator-after",null],[2,"mat-expansion-toggle-indicator-before",null],[40,"@.disabled",0],[40,"@expansionHeight",0]],[[null,"click"],[null,"keydown"],["component","@expansionHeight.start"]],(function(n,l,e){var t=!0;return"click"===l&&(t=!1!==bi(n,10)._toggle()&&t),"keydown"===l&&(t=!1!==bi(n,10)._keydown(e)&&t),"component:@expansionHeight.start"===l&&(t=!1!==bi(n,10)._animationStarted()&&t),t}),aV,tV)),Di(10,180224,null,0,Yj,[Kj,Pe,qb,Nl,[2,Wj]],null,null),Oo(11,{collapsedHeight:0,expandedHeight:1}),Oo(12,{value:0,params:1}),(n()(),_o(13,0,null,0,3,"mat-panel-title",[["class","mat-expansion-panel-header-title"]],null,null,null,null,null)),Di(14,16384,null,0,Zj,[],null,null),(n()(),_o(15,0,null,null,0,"i",[["class","fa fa-folder panelIconMenu"]],null,null,null,null,null)),(n()(),Lo(16,null,[" "," "])),(n()(),vo(0,null,1,1,null,fEn)),Di(18,16384,[[3,4]],0,Hj,[Xe],null,null)],(function(n,l){n(l,2,0,l.component.foldersService.getPinnedList().length>0),n(l,6,0,!1)}),(function(n,l){var e=l.component;n(l,3,0,bi(l,4).vertical?"vertical":"horizontal",bi(l,4).vertical,!bi(l,4).vertical,bi(l,4).inset),n(l,5,0,bi(l,6).expanded,"NoopAnimations"===bi(l,6)._animationMode,bi(l,6)._hasSpacing());var t=bi(l,10).panel._headerId,i=bi(l,10).disabled?-1:0,a=bi(l,10)._getPanelId(),o=bi(l,10)._isExpanded(),r=bi(l,10).panel.disabled,u=bi(l,10)._isExpanded(),s="after"===bi(l,10)._getTogglePosition(),c="before"===bi(l,10)._getTogglePosition(),d=bi(l,10)._animationsDisabled,p=n(l,12,0,bi(l,10)._getExpandedState(),n(l,11,0,bi(l,10).collapsedHeight,bi(l,10).expandedHeight));n(l,9,0,t,i,a,o,r,u,s,c,d,p),n(l,16,0,e.lang.folders)}))}var gEn=yt({encapsulation:2,styles:[['html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a:active,a:hover{outline:0}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,optgroup,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0}mark{background:#ff0;color:#000}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;vertical-align:middle}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto}td,th{padding:0}@media print{*,:after,:before{color:#000!important;text-shadow:none!important;background:0 0!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="#"]:after,a[href^="javascript:"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:"Glyphicons Halflings";src:url(glyphicons-halflings-regular.f4769f9bdb7466be6508.eot);src:url(glyphicons-halflings-regular.f4769f9bdb7466be6508.eot?#iefix) format("embedded-opentype"),url(glyphicons-halflings-regular.448c34a56d699c29117a.woff2) format("woff2"),url(glyphicons-halflings-regular.fa2772327f55d8198301.woff) format("woff"),url(glyphicons-halflings-regular.e18bbf611f2a2e43afc0.ttf) format("truetype"),url(glyphicons-halflings-regular.89889688147bd7575d63.svg#glyphicons_halflingsregular) format("svg")}.glyphicon{position:relative;top:1px;display:inline-block;font-family:"Glyphicons Halflings";font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\\002a"}.glyphicon-plus:before{content:"\\002b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\\20ac"}.glyphicon-minus:before{content:"\\2212"}.glyphicon-cloud:before{content:"\\2601"}.glyphicon-envelope:before{content:"\\2709"}.glyphicon-pencil:before{content:"\\270f"}.glyphicon-glass:before{content:"\\e001"}.glyphicon-music:before{content:"\\e002"}.glyphicon-search:before{content:"\\e003"}.glyphicon-heart:before{content:"\\e005"}.glyphicon-star:before{content:"\\e006"}.glyphicon-star-empty:before{content:"\\e007"}.glyphicon-user:before{content:"\\e008"}.glyphicon-film:before{content:"\\e009"}.glyphicon-th-large:before{content:"\\e010"}.glyphicon-th:before{content:"\\e011"}.glyphicon-th-list:before{content:"\\e012"}.glyphicon-ok:before{content:"\\e013"}.glyphicon-remove:before{content:"\\e014"}.glyphicon-zoom-in:before{content:"\\e015"}.glyphicon-zoom-out:before{content:"\\e016"}.glyphicon-off:before{content:"\\e017"}.glyphicon-signal:before{content:"\\e018"}.glyphicon-cog:before{content:"\\e019"}.glyphicon-trash:before{content:"\\e020"}.glyphicon-home:before{content:"\\e021"}.glyphicon-file:before{content:"\\e022"}.glyphicon-time:before{content:"\\e023"}.glyphicon-road:before{content:"\\e024"}.glyphicon-download-alt:before{content:"\\e025"}.glyphicon-download:before{content:"\\e026"}.glyphicon-upload:before{content:"\\e027"}.glyphicon-inbox:before{content:"\\e028"}.glyphicon-play-circle:before{content:"\\e029"}.glyphicon-repeat:before{content:"\\e030"}.glyphicon-refresh:before{content:"\\e031"}.glyphicon-list-alt:before{content:"\\e032"}.glyphicon-lock:before{content:"\\e033"}.glyphicon-flag:before{content:"\\e034"}.glyphicon-headphones:before{content:"\\e035"}.glyphicon-volume-off:before{content:"\\e036"}.glyphicon-volume-down:before{content:"\\e037"}.glyphicon-volume-up:before{content:"\\e038"}.glyphicon-qrcode:before{content:"\\e039"}.glyphicon-barcode:before{content:"\\e040"}.glyphicon-tag:before{content:"\\e041"}.glyphicon-tags:before{content:"\\e042"}.glyphicon-book:before{content:"\\e043"}.glyphicon-bookmark:before{content:"\\e044"}.glyphicon-print:before{content:"\\e045"}.glyphicon-camera:before{content:"\\e046"}.glyphicon-font:before{content:"\\e047"}.glyphicon-bold:before{content:"\\e048"}.glyphicon-italic:before{content:"\\e049"}.glyphicon-text-height:before{content:"\\e050"}.glyphicon-text-width:before{content:"\\e051"}.glyphicon-align-left:before{content:"\\e052"}.glyphicon-align-center:before{content:"\\e053"}.glyphicon-align-right:before{content:"\\e054"}.glyphicon-align-justify:before{content:"\\e055"}.glyphicon-list:before{content:"\\e056"}.glyphicon-indent-left:before{content:"\\e057"}.glyphicon-indent-right:before{content:"\\e058"}.glyphicon-facetime-video:before{content:"\\e059"}.glyphicon-picture:before{content:"\\e060"}.glyphicon-map-marker:before{content:"\\e062"}.glyphicon-adjust:before{content:"\\e063"}.glyphicon-tint:before{content:"\\e064"}.glyphicon-edit:before{content:"\\e065"}.glyphicon-share:before{content:"\\e066"}.glyphicon-check:before{content:"\\e067"}.glyphicon-move:before{content:"\\e068"}.glyphicon-step-backward:before{content:"\\e069"}.glyphicon-fast-backward:before{content:"\\e070"}.glyphicon-backward:before{content:"\\e071"}.glyphicon-play:before{content:"\\e072"}.glyphicon-pause:before{content:"\\e073"}.glyphicon-stop:before{content:"\\e074"}.glyphicon-forward:before{content:"\\e075"}.glyphicon-fast-forward:before{content:"\\e076"}.glyphicon-step-forward:before{content:"\\e077"}.glyphicon-eject:before{content:"\\e078"}.glyphicon-chevron-left:before{content:"\\e079"}.glyphicon-chevron-right:before{content:"\\e080"}.glyphicon-plus-sign:before{content:"\\e081"}.glyphicon-minus-sign:before{content:"\\e082"}.glyphicon-remove-sign:before{content:"\\e083"}.glyphicon-ok-sign:before{content:"\\e084"}.glyphicon-question-sign:before{content:"\\e085"}.glyphicon-info-sign:before{content:"\\e086"}.glyphicon-screenshot:before{content:"\\e087"}.glyphicon-remove-circle:before{content:"\\e088"}.glyphicon-ok-circle:before{content:"\\e089"}.glyphicon-ban-circle:before{content:"\\e090"}.glyphicon-arrow-left:before{content:"\\e091"}.glyphicon-arrow-right:before{content:"\\e092"}.glyphicon-arrow-up:before{content:"\\e093"}.glyphicon-arrow-down:before{content:"\\e094"}.glyphicon-share-alt:before{content:"\\e095"}.glyphicon-resize-full:before{content:"\\e096"}.glyphicon-resize-small:before{content:"\\e097"}.glyphicon-exclamation-sign:before{content:"\\e101"}.glyphicon-gift:before{content:"\\e102"}.glyphicon-leaf:before{content:"\\e103"}.glyphicon-fire:before{content:"\\e104"}.glyphicon-eye-open:before{content:"\\e105"}.glyphicon-eye-close:before{content:"\\e106"}.glyphicon-warning-sign:before{content:"\\e107"}.glyphicon-plane:before{content:"\\e108"}.glyphicon-calendar:before{content:"\\e109"}.glyphicon-random:before{content:"\\e110"}.glyphicon-comment:before{content:"\\e111"}.glyphicon-magnet:before{content:"\\e112"}.glyphicon-chevron-up:before{content:"\\e113"}.glyphicon-chevron-down:before{content:"\\e114"}.glyphicon-retweet:before{content:"\\e115"}.glyphicon-shopping-cart:before{content:"\\e116"}.glyphicon-folder-close:before{content:"\\e117"}.glyphicon-folder-open:before{content:"\\e118"}.glyphicon-resize-vertical:before{content:"\\e119"}.glyphicon-resize-horizontal:before{content:"\\e120"}.glyphicon-hdd:before{content:"\\e121"}.glyphicon-bullhorn:before{content:"\\e122"}.glyphicon-bell:before{content:"\\e123"}.glyphicon-certificate:before{content:"\\e124"}.glyphicon-thumbs-up:before{content:"\\e125"}.glyphicon-thumbs-down:before{content:"\\e126"}.glyphicon-hand-right:before{content:"\\e127"}.glyphicon-hand-left:before{content:"\\e128"}.glyphicon-hand-up:before{content:"\\e129"}.glyphicon-hand-down:before{content:"\\e130"}.glyphicon-circle-arrow-right:before{content:"\\e131"}.glyphicon-circle-arrow-left:before{content:"\\e132"}.glyphicon-circle-arrow-up:before{content:"\\e133"}.glyphicon-circle-arrow-down:before{content:"\\e134"}.glyphicon-globe:before{content:"\\e135"}.glyphicon-wrench:before{content:"\\e136"}.glyphicon-tasks:before{content:"\\e137"}.glyphicon-filter:before{content:"\\e138"}.glyphicon-briefcase:before{content:"\\e139"}.glyphicon-fullscreen:before{content:"\\e140"}.glyphicon-dashboard:before{content:"\\e141"}.glyphicon-paperclip:before{content:"\\e142"}.glyphicon-heart-empty:before{content:"\\e143"}.glyphicon-link:before{content:"\\e144"}.glyphicon-phone:before{content:"\\e145"}.glyphicon-pushpin:before{content:"\\e146"}.glyphicon-usd:before{content:"\\e148"}.glyphicon-gbp:before{content:"\\e149"}.glyphicon-sort:before{content:"\\e150"}.glyphicon-sort-by-alphabet:before{content:"\\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\\e152"}.glyphicon-sort-by-order:before{content:"\\e153"}.glyphicon-sort-by-order-alt:before{content:"\\e154"}.glyphicon-sort-by-attributes:before{content:"\\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\\e156"}.glyphicon-unchecked:before{content:"\\e157"}.glyphicon-expand:before{content:"\\e158"}.glyphicon-collapse-down:before{content:"\\e159"}.glyphicon-collapse-up:before{content:"\\e160"}.glyphicon-log-in:before{content:"\\e161"}.glyphicon-flash:before{content:"\\e162"}.glyphicon-log-out:before{content:"\\e163"}.glyphicon-new-window:before{content:"\\e164"}.glyphicon-record:before{content:"\\e165"}.glyphicon-save:before{content:"\\e166"}.glyphicon-open:before{content:"\\e167"}.glyphicon-saved:before{content:"\\e168"}.glyphicon-import:before{content:"\\e169"}.glyphicon-export:before{content:"\\e170"}.glyphicon-send:before{content:"\\e171"}.glyphicon-floppy-disk:before{content:"\\e172"}.glyphicon-floppy-saved:before{content:"\\e173"}.glyphicon-floppy-remove:before{content:"\\e174"}.glyphicon-floppy-save:before{content:"\\e175"}.glyphicon-floppy-open:before{content:"\\e176"}.glyphicon-credit-card:before{content:"\\e177"}.glyphicon-transfer:before{content:"\\e178"}.glyphicon-cutlery:before{content:"\\e179"}.glyphicon-header:before{content:"\\e180"}.glyphicon-compressed:before{content:"\\e181"}.glyphicon-earphone:before{content:"\\e182"}.glyphicon-phone-alt:before{content:"\\e183"}.glyphicon-tower:before{content:"\\e184"}.glyphicon-stats:before{content:"\\e185"}.glyphicon-sd-video:before{content:"\\e186"}.glyphicon-hd-video:before{content:"\\e187"}.glyphicon-subtitles:before{content:"\\e188"}.glyphicon-sound-stereo:before{content:"\\e189"}.glyphicon-sound-dolby:before{content:"\\e190"}.glyphicon-sound-5-1:before{content:"\\e191"}.glyphicon-sound-6-1:before{content:"\\e192"}.glyphicon-sound-7-1:before{content:"\\e193"}.glyphicon-copyright-mark:before{content:"\\e194"}.glyphicon-registration-mark:before{content:"\\e195"}.glyphicon-cloud-download:before{content:"\\e197"}.glyphicon-cloud-upload:before{content:"\\e198"}.glyphicon-tree-conifer:before{content:"\\e199"}.glyphicon-tree-deciduous:before{content:"\\e200"}.glyphicon-cd:before{content:"\\e201"}.glyphicon-save-file:before{content:"\\e202"}.glyphicon-open-file:before{content:"\\e203"}.glyphicon-level-up:before{content:"\\e204"}.glyphicon-copy:before{content:"\\e205"}.glyphicon-paste:before{content:"\\e206"}.glyphicon-alert:before{content:"\\e209"}.glyphicon-equalizer:before{content:"\\e210"}.glyphicon-king:before{content:"\\e211"}.glyphicon-queen:before{content:"\\e212"}.glyphicon-pawn:before{content:"\\e213"}.glyphicon-bishop:before{content:"\\e214"}.glyphicon-knight:before{content:"\\e215"}.glyphicon-baby-formula:before{content:"\\e216"}.glyphicon-tent:before{content:"\\26fa"}.glyphicon-blackboard:before{content:"\\e218"}.glyphicon-bed:before{content:"\\e219"}.glyphicon-apple:before{content:"\\f8ff"}.glyphicon-erase:before{content:"\\e221"}.glyphicon-hourglass:before{content:"\\231b"}.glyphicon-lamp:before{content:"\\e223"}.glyphicon-duplicate:before{content:"\\e224"}.glyphicon-piggy-bank:before{content:"\\e225"}.glyphicon-scissors:before{content:"\\e226"}.glyphicon-bitcoin:before,.glyphicon-btc:before,.glyphicon-xbt:before{content:"\\e227"}.glyphicon-jpy:before,.glyphicon-yen:before{content:"\\00a5"}.glyphicon-rub:before,.glyphicon-ruble:before{content:"\\20bd"}.glyphicon-scale:before{content:"\\e230"}.glyphicon-ice-lolly:before{content:"\\e231"}.glyphicon-ice-lolly-tasted:before{content:"\\e232"}.glyphicon-education:before{content:"\\e233"}.glyphicon-option-horizontal:before{content:"\\e234"}.glyphicon-option-vertical:before{content:"\\e235"}.glyphicon-menu-hamburger:before{content:"\\e236"}.glyphicon-modal-window:before{content:"\\e237"}.glyphicon-oil:before{content:"\\e238"}.glyphicon-grain:before{content:"\\e239"}.glyphicon-sunglasses:before{content:"\\e240"}.glyphicon-text-size:before{content:"\\e241"}.glyphicon-text-color:before{content:"\\e242"}.glyphicon-text-background:before{content:"\\e243"}.glyphicon-object-align-top:before{content:"\\e244"}.glyphicon-object-align-bottom:before{content:"\\e245"}.glyphicon-object-align-horizontal:before{content:"\\e246"}.glyphicon-object-align-left:before{content:"\\e247"}.glyphicon-object-align-vertical:before{content:"\\e248"}.glyphicon-object-align-right:before{content:"\\e249"}.glyphicon-triangle-right:before{content:"\\e250"}.glyphicon-triangle-left:before{content:"\\e251"}.glyphicon-triangle-bottom:before{content:"\\e252"}.glyphicon-triangle-top:before{content:"\\e253"}.glyphicon-console:before{content:"\\e254"}.glyphicon-superscript:before{content:"\\e255"}.glyphicon-subscript:before{content:"\\e256"}.glyphicon-menu-left:before{content:"\\e257"}.glyphicon-menu-right:before{content:"\\e258"}.glyphicon-menu-down:before{content:"\\e259"}.glyphicon-menu-up:before{content:"\\e260"}*,:after,:before{box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:transparent}body{margin:0;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{background-color:transparent;color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}figure{margin:0}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:.2s ease-in-out;transition:all .2s ease-in-out;display:inline-block;max-width:100%;height:auto}.img-circle{border-radius:50%}hr{box-sizing:content-box;height:0;margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}[role=button]{cursor:pointer}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:focus,a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:focus,a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:focus,a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:focus,a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:focus,a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:focus,a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:focus,a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:focus,a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:focus,a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:focus,a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;list-style:none;margin-left:-5px}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}abbr[data-original-title],abbr[title]{cursor:help}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:"\\2014 \\00A0"}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:""}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:"\\00A0 \\2014"}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;box-shadow:none}pre{overflow:auto;display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:992px){.container{width:970px}}@media (min-width:1200px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.row-no-gutters{margin-right:0;margin-left:0}.row-no-gutters [class*=col-]{padding-right:0;padding-left:0}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{border-collapse:collapse;border-spacing:0;background-color:transparent}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered,.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover,.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px\\9;line-height:normal}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=checkbox]:focus,input[type=file]:focus,input[type=radio]:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control::-ms-expand{background-color:transparent;border:0}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{background-color:#eee;opacity:1}.form-control[disabled],fieldset[disabled] .form-control{cursor:not-allowed}textarea.form-control{height:auto}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date].form-control,input[type=datetime-local].form-control,input[type=month].form-control,input[type=time].form-control{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],.input-group-sm input[type=time],input[type=date].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm,input[type=time].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],.input-group-lg input[type=time],input[type=date].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg,input[type=time].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.checkbox input[type=checkbox],.checkbox-inline input[type=checkbox],.radio input[type=radio],.radio-inline input[type=radio]{position:absolute;margin-top:4px\\9;margin-left:-20px}.checkbox+.checkbox,.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{position:relative;display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}.form-control-static{min-height:34px;padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.form-group-sm select.form-control{height:30px;line-height:30px}.form-group-sm select[multiple].form-control,.form-group-sm textarea.form-control{height:auto}.form-group-sm .form-control-static{height:30px;min-height:32px;padding:6px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.form-group-lg select.form-control{height:46px;line-height:46px}.form-group-lg select[multiple].form-control,.form-group-lg textarea.form-control{height:auto}.form-group-lg .form-control-static{height:46px;min-height:38px;padding:11px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.form-group-lg .form-control+.form-control-feedback,.input-group-lg+.form-control-feedback,.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.form-group-sm .form-control+.form-control-feedback,.input-group-sm+.form-control-feedback,.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}.form-horizontal .form-group-lg .control-label{padding-top:11px;font-size:18px}.form-horizontal .form-group-sm .control-label{padding-top:6px;font-size:12px}}.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:-webkit-focus-ring-color auto 5px;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;filter:alpha(opacity=65);opacity:.65;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;background-image:none;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;background-image:none;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;background-image:none;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#31b0d5;border-color:#1b6d85}.btn-info:hover{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;background-image:none;border-color:#269abc}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#269abc;border-color:#1b6d85}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;background-image:none;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;background-image:none;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none}.collapse.in{display:block}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-property:height,visibility;transition-property:height,visibility;-webkit-transition-duration:.35s;transition-duration:.35s;-webkit-transition-timing-function:ease;transition-timing-function:ease}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px dashed;border-top:4px solid\\9;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px dashed;border-bottom:4px solid\\9}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn,.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-radius:4px 4px 0 0}.btn-group-vertical>.btn:last-child:not(:first-child){border-radius:0 0 4px 4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group .form-control:focus{z-index:3}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{z-index:2;margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center;margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0;border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none}.tab-content>.active{display:block}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;border-top:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1);-webkit-overflow-scrolling:touch}.navbar-collapse.in{overflow-y:auto}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}@media (min-width:768px){.navbar{border-radius:4px}.navbar-header{float:left}.navbar-collapse{width:auto;border-top:0;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}.navbar-static-top{z-index:1000;border-width:0 0 1px}.navbar-brand{float:left;height:50px;padding:15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}.navbar-static-top{border-radius:0}.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}.navbar-toggle{display:none}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-right:15px;margin-top:8px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}.navbar-form{padding:10px 15px;border-top:1px solid transparent;border-bottom:1px solid transparent;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);margin:8px -15px}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;box-shadow:none}.navbar-text{float:left;margin-right:15px;margin-left:15px}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-radius:4px 4px 0 0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-nav>li>a,.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>li>a,.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{z-index:2;color:#23527c;background-color:#eee;border-color:#ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:3;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px;line-height:1.3333333}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px;line-height:1.5}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-group-xs>.btn .badge,.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding-top:30px;padding-bottom:30px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{padding-right:15px;padding-left:15px;border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding-top:48px;padding-bottom:48px}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0%;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:2s linear infinite progress-bar-stripes;animation:2s linear infinite progress-bar-stripes}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-object.img-thumbnail{max-width:none}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}a.list-group-item,button.list-group-item{color:#555}a.list-group-item .list-group-item-heading,button.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover,button.list-group-item:focus,button.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}button.list-group-item{width:100%;text-align:left}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success,button.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading,button.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover,button.list-group-item-success:focus,button.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover,button.list-group-item-success.active,button.list-group-item-success.active:focus,button.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info,button.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading,button.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover,button.list-group-item-info:focus,button.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover,button.list-group-item-info.active,button.list-group-item-info.active:focus,button.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning,button.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading,button.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover,button.list-group-item-warning:focus,button.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover,button.list-group-item-warning.active,button.list-group-item-warning.active:focus,button.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger,button.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading,button.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover,button.list-group-item-danger:focus,button.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover,button.list-group-item-danger.active,button.list-group-item-danger.active:focus,button.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.panel-heading+.panel-collapse>.list-group .list-group-item:first-child{border-top-left-radius:0;border-top-right-radius:0}.list-group+.panel-footer,.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1050;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transform:translate(0,-25%);transform:translate(0,-25%);-webkit-transition:-webkit-transform .3s ease-out;transition:-webkit-transform .3s ease-out;transition:transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out;transition:transform .3s ease-out,-webkit-transform .3s ease-out}.modal.in .modal-dialog{-webkit-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 3px 9px rgba(0,0,0,.5);outline:0}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:992px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;line-height:1.42857143;line-break:auto;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;font-size:12px;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-style:normal;font-weight:400;line-height:1.42857143;line-break:auto;text-align:left;text-align:start;text-decoration:none;text-shadow:none;text-transform:none;letter-spacing:normal;word-break:normal;word-spacing:normal;word-wrap:normal;white-space:normal;font-size:14px;background-color:#fff;background-clip:padding-box;border:1px solid rgba(0,0,0,.2);border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover>.arrow{border-width:11px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:left .6s ease-in-out;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;transition:-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;transition:transform .6s ease-in-out,-webkit-transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000px;perspective:1000px}.carousel-inner>.item.active.right,.carousel-inner>.item.next{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);left:0}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);left:0}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);left:0}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);background-color:rgba(0,0,0,0);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#80000000\', endColorstr=\'#00000000\', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#00000000\', endColorstr=\'#80000000\', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;outline:0;filter:alpha(opacity=90);opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block;margin-top:-10px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:"\\2039"}.carousel-control .icon-next:before{content:"\\203a"}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000\\9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-10px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-10px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table!important}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}.visible-xs-block{display:block!important}.visible-xs-inline{display:inline!important}.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:991px){.visible-sm{display:block!important}table.visible-sm{display:table!important}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}.visible-sm-block{display:block!important}.visible-sm-inline{display:inline!important}.visible-sm-inline-block{display:inline-block!important}}@media (min-width:992px) and (max-width:1199px){.visible-md{display:block!important}table.visible-md{display:table!important}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}.visible-md-block{display:block!important}.visible-md-inline{display:inline!important}.visible-md-inline-block{display:inline-block!important}}@media (min-width:1200px){.visible-lg{display:block!important}table.visible-lg{display:table!important}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}.visible-lg-block{display:block!important}.visible-lg-inline{display:inline!important}.visible-lg-inline-block{display:inline-block!important}.hidden-lg{display:none!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.hidden-sm{display:none!important}}@media (min-width:992px) and (max-width:1199px){.hidden-md{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table!important}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}.hidden-print{display:none!important}}'],['.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto,"Helvetica Neue",sans-serif;margin:0 0 16px}.mat-h5,.mat-typography h5{font:400 calc(14px * .83)/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-h6,.mat-typography h6{font:400 calc(14px * .67)/20px Roboto,"Helvetica Neue",sans-serif;margin:0 0 12px}.mat-body-2,.mat-body-strong{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif}.mat-body,.mat-body-1,.mat-typography{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-body p,.mat-body-1 p,.mat-typography p{margin:0 0 12px}.mat-caption,.mat-small{font:400 12px/20px Roboto,"Helvetica Neue",sans-serif}.mat-display-4,.mat-typography .mat-display-4{font:300 112px/112px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.05em;margin:0 0 56px}.mat-display-3,.mat-typography .mat-display-3{font:400 56px/56px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.02em;margin:0 0 64px}.mat-display-2,.mat-typography .mat-display-2{font:400 45px/48px Roboto,"Helvetica Neue",sans-serif;letter-spacing:-.005em;margin:0 0 64px}.mat-display-1,.mat-typography .mat-display-1{font:400 34px/40px Roboto,"Helvetica Neue",sans-serif;margin:0 0 64px}.mat-bottom-sheet-container{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-button,.mat-fab,.mat-flat-button,.mat-icon-button,.mat-mini-fab,.mat-raised-button,.mat-stroked-button{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-button-toggle,.mat-card{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-card-title{font-size:24px;font-weight:500}.mat-card-header .mat-card-title{font-size:20px}.mat-card-content,.mat-card-subtitle{font-size:14px}.mat-checkbox{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-chip{font-size:14px;font-weight:500}.mat-chip .mat-chip-remove.mat-icon,.mat-chip .mat-chip-trailing-icon.mat-icon{font-size:18px}.mat-table{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-header-cell{font-size:12px;font-weight:500}.mat-cell,.mat-footer-cell{font-size:14px}.mat-calendar{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-calendar-body{font-size:13px}.mat-calendar-body-label,.mat-calendar-period-button{font-size:14px;font-weight:500}.mat-calendar-table-header th{font-size:11px;font-weight:400}.mat-dialog-title{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif}.mat-expansion-panel-header{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:15px;font-weight:400}.mat-expansion-panel-content{font:400 14px/20px Roboto,"Helvetica Neue",sans-serif}.mat-form-field{font-size:inherit;font-weight:400;line-height:1.125;font-family:Roboto,"Helvetica Neue",sans-serif}.mat-form-field-wrapper{padding-bottom:1.34375em}.mat-form-field-prefix .mat-icon,.mat-form-field-suffix .mat-icon{font-size:150%;line-height:1.125}.mat-form-field-prefix .mat-icon-button,.mat-form-field-suffix .mat-icon-button{height:1.5em;width:1.5em}.mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-suffix .mat-icon-button .mat-icon{height:1.125em;line-height:1.125}.mat-form-field-infix{padding:.5em 0;border-top:.84375em solid transparent}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.34375em) scale(.75);transform:translateY(-1.34375em) scale(.75);width:133.33333%}.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.34374em) scale(.75);transform:translateY(-1.34374em) scale(.75);width:133.33334%}.mat-form-field-label-wrapper{top:-.84375em;padding-top:.84375em}.mat-form-field-label{top:1.34375em}.mat-form-field-underline{bottom:1.34375em}.mat-form-field-subscript-wrapper{font-size:75%;margin-top:.66667em;top:calc(100% - 1.79167em)}.mat-form-field-appearance-legacy .mat-form-field-wrapper{padding-bottom:1.25em}.mat-form-field-appearance-legacy .mat-form-field-infix{padding:.4375em 0}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.001px);-ms-transform:translateY(-1.28125em) scale(.75);width:133.33333%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00101px);-ms-transform:translateY(-1.28124em) scale(.75);width:133.33334%}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);transform:translateY(-1.28125em) scale(.75) perspective(100px) translateZ(.00102px);-ms-transform:translateY(-1.28123em) scale(.75);width:133.33335%}.mat-form-field-appearance-legacy .mat-form-field-label{top:1.28125em}.mat-form-field-appearance-legacy .mat-form-field-subscript-wrapper{margin-top:.54167em;top:calc(100% - 1.66667em)}@media print{.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-legacy.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.28122em) scale(.75);transform:translateY(-1.28122em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.28121em) scale(.75);transform:translateY(-1.28121em) scale(.75)}.mat-form-field-appearance-legacy.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.2812em) scale(.75);transform:translateY(-1.2812em) scale(.75)}}.mat-form-field-appearance-fill .mat-form-field-infix{padding:.25em 0 .75em}.mat-form-field-appearance-fill .mat-form-field-label{top:1.09375em;margin-top:-.5em}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-fill.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-.59375em) scale(.75);transform:translateY(-.59375em) scale(.75);width:133.33333%}.mat-form-field-appearance-fill.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-.59374em) scale(.75);transform:translateY(-.59374em) scale(.75);width:133.33334%}.mat-form-field-appearance-outline .mat-form-field-infix{padding:1em 0}.mat-form-field-appearance-outline .mat-form-field-label{top:1.84375em;margin-top:-.25em}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{-webkit-transform:translateY(-1.59375em) scale(.75);transform:translateY(-1.59375em) scale(.75);width:133.33333%}.mat-form-field-appearance-outline.mat-form-field-can-float .mat-input-server[label]:not(:label-shown)+.mat-form-field-label-wrapper .mat-form-field-label{-webkit-transform:translateY(-1.59374em) scale(.75);transform:translateY(-1.59374em) scale(.75);width:133.33334%}.mat-grid-tile-footer,.mat-grid-tile-header{font-size:14px}.mat-grid-tile-footer .mat-line,.mat-grid-tile-header .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}input.mat-input-element{margin-top:-.0625em}.mat-menu-item{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:400}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px}.mat-radio-button,.mat-select{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-select-trigger{height:1.125em}.mat-slide-toggle-content{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-slider-thumb-label-text{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-stepper-horizontal,.mat-stepper-vertical{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-step-label{font-size:14px;font-weight:400}.mat-step-sub-label-error{font-weight:400}.mat-step-label-error{font-size:14px}.mat-step-label-selected{font-size:14px;font-weight:500}.mat-tab-group{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-tab-label,.mat-tab-link{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font:500 20px/32px Roboto,"Helvetica Neue",sans-serif;margin:0}.mat-tooltip{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:10px;padding-top:6px;padding-bottom:6px}.mat-tooltip-handset{font-size:14px;padding-top:8px;padding-bottom:8px}.mat-list-item,.mat-list-option{font-family:Roboto,"Helvetica Neue",sans-serif}.mat-list-base .mat-list-item{font-size:16px}.mat-list-base .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list-base .mat-list-option{font-size:16px}.mat-list-base .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base .mat-list-option .mat-line:nth-child(n+2){font-size:14px}.mat-list-base[dense] .mat-list-item{font-size:12px}.mat-list-base[dense] .mat-list-item .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-list-base[dense] .mat-list-option{font-size:12px}.mat-list-base[dense] .mat-list-option .mat-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list-base[dense] .mat-list-option .mat-line:nth-child(n+2){font-size:12px}.mat-list-base[dense] .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:12px;font-weight:500}.mat-option{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:16px;color:rgba(0,0,0,.87)}.mat-optgroup-label{font:500 14px/24px Roboto,"Helvetica Neue",sans-serif;color:rgba(0,0,0,.54)}.mat-simple-snackbar{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px}.mat-simple-snackbar-action{line-height:1;font-family:inherit;font-size:inherit;font-weight:500}.mat-ripple{overflow:hidden;position:relative}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;-webkit-transition:opacity,-webkit-transform cubic-bezier(0,0,.2,1);transition:opacity,-webkit-transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1);transition:opacity,transform 0s cubic-bezier(0,0,.2,1),-webkit-transform 0s cubic-bezier(0,0,.2,1);-webkit-transform:scale(0);transform:scale(0)}@media (-ms-high-contrast:active){.mat-ripple-element{display:none}}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;outline:0;-webkit-appearance:none;-moz-appearance:none}.cdk-global-overlay-wrapper,.cdk-overlay-container{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:-webkit-box;display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:-webkit-box;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;-webkit-transition:opacity .4s cubic-bezier(.25,.8,.25,1);transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.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:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}@-webkit-keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-start{}@-webkit-keyframes cdk-text-field-autofill-end{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{-webkit-animation-name:cdk-text-field-autofill-start;animation-name:cdk-text-field-autofill-start}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){-webkit-animation-name:cdk-text-field-autofill-end;animation-name:cdk-text-field-autofill-end}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{height:auto!important;overflow:hidden!important;padding:2px 0!important;box-sizing:content-box!important}.mat-ripple-element{background-color:rgba(0,0,0,.1)}.mat-option.mat-selected:not(.mat-option-multiple):not(.mat-option-disabled),.mat-option:focus:not(.mat-option-disabled),.mat-option:hover:not(.mat-option-disabled){background:rgba(0,0,0,.04)}.mat-option.mat-active{background:rgba(0,0,0,.04);color:rgba(0,0,0,.87)}.mat-option.mat-option-disabled{color:rgba(0,0,0,.38)}.mat-primary .mat-option.mat-selected:not(.mat-option-disabled){color:#135f7f}.mat-accent .mat-option.mat-selected:not(.mat-option-disabled){color:#006841}.mat-warn .mat-option.mat-selected:not(.mat-option-disabled){color:#8e3e52}.mat-optgroup-disabled .mat-optgroup-label{color:rgba(0,0,0,.38)}.mat-pseudo-checkbox{color:rgba(0,0,0,.54)}.mat-pseudo-checkbox::after{color:#fafafa}.mat-pseudo-checkbox-disabled{color:#b0b0b0}.mat-accent .mat-pseudo-checkbox-checked,.mat-accent .mat-pseudo-checkbox-indeterminate,.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox-indeterminate{background:#006841}.mat-primary .mat-pseudo-checkbox-checked,.mat-primary .mat-pseudo-checkbox-indeterminate{background:#135f7f}.mat-warn .mat-pseudo-checkbox-checked,.mat-warn .mat-pseudo-checkbox-indeterminate{background:#8e3e52}.mat-pseudo-checkbox-checked.mat-pseudo-checkbox-disabled,.mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-disabled{background:#b0b0b0}.mat-elevation-z0{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-elevation-z1{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-elevation-z2{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-elevation-z3{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-elevation-z4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-elevation-z5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px 0 rgba(0,0,0,.14),0 1px 14px 0 rgba(0,0,0,.12)}.mat-elevation-z6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-elevation-z7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.mat-elevation-z8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-elevation-z9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.mat-elevation-z10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.mat-elevation-z11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.mat-elevation-z12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-elevation-z13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.mat-elevation-z14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.mat-elevation-z15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.mat-elevation-z16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-elevation-z17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.mat-elevation-z18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.mat-elevation-z19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.mat-elevation-z20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.mat-elevation-z21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.mat-elevation-z22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.mat-elevation-z23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.mat-elevation-z24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.mat-app-background{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-theme-loaded-marker{display:none}.mat-autocomplete-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-autocomplete-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover){background:#fff}.mat-autocomplete-panel .mat-option.mat-selected:not(.mat-active):not(:hover):not(.mat-option-disabled){color:rgba(0,0,0,.87)}@media (-ms-high-contrast:active){.mat-badge-content{outline:solid 1px;border-radius:0}.mat-checkbox-disabled{opacity:.5}}.mat-badge-accent .mat-badge-content{background:#006841;color:#fff}.mat-badge-warn .mat-badge-content{color:#fff;background:#8e3e52}.mat-badge{position:relative}.mat-badge-hidden .mat-badge-content{display:none}.mat-badge-disabled .mat-badge-content{background:#b9b9b9;color:rgba(0,0,0,.38)}.mat-badge-content{color:#fff;background:#135f7f;position:absolute;text-align:center;display:inline-block;border-radius:50%;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;-webkit-transform:scale(.6);transform:scale(.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}.mat-badge-content._mat-animation-noopable,.ng-animate-disabled .mat-badge-content{-webkit-transition:none;transition:none}.mat-badge-content.mat-badge-active{-webkit-transform:none;transform:none}.mat-badge-small .mat-badge-content{width:16px;height:16px;line-height:16px}.mat-badge-small.mat-badge-above .mat-badge-content{top:-8px}.mat-badge-small.mat-badge-below .mat-badge-content{bottom:-8px}.mat-badge-small.mat-badge-before .mat-badge-content{left:-16px}[dir=rtl] .mat-badge-small.mat-badge-before .mat-badge-content{left:auto;right:-16px}.mat-badge-small.mat-badge-after .mat-badge-content{right:-16px}[dir=rtl] .mat-badge-small.mat-badge-after .mat-badge-content{right:auto;left:-16px}.mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-8px}.mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-8px}[dir=rtl] .mat-badge-small.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-8px}.mat-badge-medium .mat-badge-content{width:22px;height:22px;line-height:22px}.mat-badge-medium.mat-badge-above .mat-badge-content{top:-11px}.mat-badge-medium.mat-badge-below .mat-badge-content{bottom:-11px}.mat-badge-medium.mat-badge-before .mat-badge-content{left:-22px}[dir=rtl] .mat-badge-medium.mat-badge-before .mat-badge-content{left:auto;right:-22px}.mat-badge-medium.mat-badge-after .mat-badge-content{right:-22px}[dir=rtl] .mat-badge-medium.mat-badge-after .mat-badge-content{right:auto;left:-22px}.mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-11px}.mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-11px}[dir=rtl] .mat-badge-medium.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-11px}.mat-badge-large .mat-badge-content{width:28px;height:28px;line-height:28px}.mat-badge-large.mat-badge-above .mat-badge-content{top:-14px}.mat-badge-large.mat-badge-below .mat-badge-content{bottom:-14px}.mat-badge-large.mat-badge-before .mat-badge-content{left:-28px}[dir=rtl] .mat-badge-large.mat-badge-before .mat-badge-content{left:auto;right:-28px}.mat-badge-large.mat-badge-after .mat-badge-content{right:-28px}[dir=rtl] .mat-badge-large.mat-badge-after .mat-badge-content{right:auto;left:-28px}.mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-before .mat-badge-content{left:auto;right:-14px}.mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:-14px}[dir=rtl] .mat-badge-large.mat-badge-overlap.mat-badge-after .mat-badge-content{right:auto;left:-14px}.mat-bottom-sheet-container{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-button,.mat-icon-button,.mat-stroked-button{color:inherit;background:0 0}.mat-button.mat-primary,.mat-icon-button.mat-primary,.mat-stroked-button.mat-primary{color:#135f7f}.mat-button.mat-accent,.mat-icon-button.mat-accent,.mat-stroked-button.mat-accent{color:#006841}.mat-button.mat-warn,.mat-icon-button.mat-warn,.mat-stroked-button.mat-warn{color:#8e3e52}.mat-button.mat-accent[disabled],.mat-button.mat-primary[disabled],.mat-button.mat-warn[disabled],.mat-button[disabled][disabled],.mat-icon-button.mat-accent[disabled],.mat-icon-button.mat-primary[disabled],.mat-icon-button.mat-warn[disabled],.mat-icon-button[disabled][disabled],.mat-stroked-button.mat-accent[disabled],.mat-stroked-button.mat-primary[disabled],.mat-stroked-button.mat-warn[disabled],.mat-stroked-button[disabled][disabled]{color:rgba(0,0,0,.26)}.mat-button.mat-primary .mat-button-focus-overlay,.mat-icon-button.mat-primary .mat-button-focus-overlay,.mat-stroked-button.mat-primary .mat-button-focus-overlay{background-color:#135f7f}.mat-button.mat-accent .mat-button-focus-overlay,.mat-icon-button.mat-accent .mat-button-focus-overlay,.mat-stroked-button.mat-accent .mat-button-focus-overlay{background-color:#006841}.mat-button.mat-warn .mat-button-focus-overlay,.mat-icon-button.mat-warn .mat-button-focus-overlay,.mat-stroked-button.mat-warn .mat-button-focus-overlay{background-color:#8e3e52}.mat-button[disabled] .mat-button-focus-overlay,.mat-icon-button[disabled] .mat-button-focus-overlay,.mat-stroked-button[disabled] .mat-button-focus-overlay{background-color:transparent}.mat-button .mat-ripple-element,.mat-icon-button .mat-ripple-element,.mat-stroked-button .mat-ripple-element{opacity:.1;background-color:currentColor}.mat-button-focus-overlay{background:#000}.mat-stroked-button:not([disabled]){border-color:rgba(0,0,0,.12)}.mat-fab,.mat-flat-button,.mat-mini-fab,.mat-raised-button{color:rgba(0,0,0,.87);background-color:#fff}.mat-fab.mat-accent,.mat-fab.mat-primary,.mat-fab.mat-warn,.mat-flat-button.mat-accent,.mat-flat-button.mat-primary,.mat-flat-button.mat-warn,.mat-mini-fab.mat-accent,.mat-mini-fab.mat-primary,.mat-mini-fab.mat-warn,.mat-raised-button.mat-accent,.mat-raised-button.mat-primary,.mat-raised-button.mat-warn{color:#fff}.mat-fab.mat-accent[disabled],.mat-fab.mat-primary[disabled],.mat-fab.mat-warn[disabled],.mat-fab[disabled][disabled],.mat-flat-button.mat-accent[disabled],.mat-flat-button.mat-primary[disabled],.mat-flat-button.mat-warn[disabled],.mat-flat-button[disabled][disabled],.mat-mini-fab.mat-accent[disabled],.mat-mini-fab.mat-primary[disabled],.mat-mini-fab.mat-warn[disabled],.mat-mini-fab[disabled][disabled],.mat-raised-button.mat-accent[disabled],.mat-raised-button.mat-primary[disabled],.mat-raised-button.mat-warn[disabled],.mat-raised-button[disabled][disabled]{color:rgba(0,0,0,.26);background-color:rgba(0,0,0,.12)}.mat-fab.mat-primary,.mat-flat-button.mat-primary,.mat-mini-fab.mat-primary,.mat-raised-button.mat-primary{background-color:#135f7f}.mat-fab.mat-accent,.mat-flat-button.mat-accent,.mat-mini-fab.mat-accent,.mat-raised-button.mat-accent{background-color:#006841}.mat-fab.mat-warn,.mat-flat-button.mat-warn,.mat-mini-fab.mat-warn,.mat-raised-button.mat-warn{background-color:#8e3e52}.mat-fab.mat-accent .mat-ripple-element,.mat-fab.mat-primary .mat-ripple-element,.mat-fab.mat-warn .mat-ripple-element,.mat-flat-button.mat-accent .mat-ripple-element,.mat-flat-button.mat-primary .mat-ripple-element,.mat-flat-button.mat-warn .mat-ripple-element,.mat-mini-fab.mat-accent .mat-ripple-element,.mat-mini-fab.mat-primary .mat-ripple-element,.mat-mini-fab.mat-warn .mat-ripple-element,.mat-raised-button.mat-accent .mat-ripple-element,.mat-raised-button.mat-primary .mat-ripple-element,.mat-raised-button.mat-warn .mat-ripple-element{background-color:rgba(255,255,255,.1)}.mat-flat-button:not([class*=mat-elevation-z]),.mat-stroked-button:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-raised-button:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-raised-button:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.mat-raised-button[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-fab:not([class*=mat-elevation-z]),.mat-mini-fab:not([class*=mat-elevation-z]){box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-fab:not([disabled]):active:not([class*=mat-elevation-z]),.mat-mini-fab:not([disabled]):active:not([class*=mat-elevation-z]){box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab[disabled]:not([class*=mat-elevation-z]),.mat-mini-fab[disabled]:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-button-toggle-group,.mat-button-toggle-standalone{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard,.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{box-shadow:none;border:1px solid rgba(0,0,0,.12)}.mat-button-toggle{color:rgba(0,0,0,.38)}.mat-button-toggle .mat-button-toggle-focus-overlay{background-color:rgba(0,0,0,.12)}.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87);background:#fff}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:#000}.mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:1px solid rgba(0,0,0,.12)}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle+.mat-button-toggle{border-left:none;border-right:none;border-top:1px solid rgba(0,0,0,.12)}.mat-button-toggle-checked{background-color:#e0e0e0;color:rgba(0,0,0,.54)}.mat-button-toggle-checked.mat-button-toggle-appearance-standard{color:rgba(0,0,0,.87)}.mat-button-toggle-disabled{color:rgba(0,0,0,.26);background-color:#eee}.mat-button-toggle-disabled.mat-button-toggle-appearance-standard{background:#fff}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:#bdbdbd}.mat-card{background:#fff;color:rgba(0,0,0,.87)}.mat-card:not([class*=mat-elevation-z]){box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}.mat-card.mat-card-flat:not([class*=mat-elevation-z]){box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-card-subtitle{color:rgba(0,0,0,.54)}.mat-checkbox-frame{border-color:rgba(0,0,0,.54)}.mat-checkbox-checkmark{fill:#fafafa}.mat-checkbox-checkmark-path{stroke:#fafafa!important}@media (-ms-high-contrast:black-on-white){.mat-checkbox-checkmark-path{stroke:#000!important}}.mat-checkbox-mixedmark{background-color:#fafafa}.mat-checkbox-checked.mat-primary .mat-checkbox-background,.mat-checkbox-indeterminate.mat-primary .mat-checkbox-background{background-color:#135f7f}.mat-checkbox-checked.mat-accent .mat-checkbox-background,.mat-checkbox-indeterminate.mat-accent .mat-checkbox-background{background-color:#006841}.mat-checkbox-checked.mat-warn .mat-checkbox-background,.mat-checkbox-indeterminate.mat-warn .mat-checkbox-background{background-color:#8e3e52}.mat-checkbox-disabled.mat-checkbox-checked .mat-checkbox-background,.mat-checkbox-disabled.mat-checkbox-indeterminate .mat-checkbox-background{background-color:#b0b0b0}.mat-checkbox-disabled:not(.mat-checkbox-checked) .mat-checkbox-frame{border-color:#b0b0b0}.mat-checkbox-disabled .mat-checkbox-label{color:rgba(0,0,0,.54)}@media (-ms-high-contrast:active){.mat-checkbox-background{background:0 0}}.mat-checkbox .mat-ripple-element{background-color:#000}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-primary .mat-ripple-element{background:#135f7f}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-accent .mat-ripple-element{background:#006841}.mat-checkbox-checked:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element,.mat-checkbox:active:not(.mat-checkbox-disabled).mat-warn .mat-ripple-element{background:#8e3e52}.mat-chip.mat-standard-chip{background-color:#e0e0e0;color:rgba(0,0,0,.87)}.mat-chip.mat-standard-chip .mat-chip-remove{color:rgba(0,0,0,.87);opacity:.4}.mat-chip.mat-standard-chip:not(.mat-chip-disabled):active{box-shadow:0 3px 3px -2px rgba(0,0,0,.2),0 3px 4px 0 rgba(0,0,0,.14),0 1px 8px 0 rgba(0,0,0,.12)}.mat-chip.mat-standard-chip:not(.mat-chip-disabled) .mat-chip-remove:hover{opacity:.54}.mat-chip.mat-standard-chip.mat-chip-disabled{opacity:.4}.mat-chip.mat-standard-chip::after{background:#000}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary{background-color:#135f7f;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-primary .mat-ripple-element{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn{background-color:#8e3e52;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-warn .mat-ripple-element{background:rgba(255,255,255,.1)}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent{background-color:#006841;color:#fff}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-chip-remove{color:#fff;opacity:.4}.mat-chip.mat-standard-chip.mat-chip-selected.mat-accent .mat-ripple-element{background:rgba(255,255,255,.1)}.mat-table{background:#fff}.mat-table tbody,.mat-table tfoot,.mat-table thead,.mat-table-sticky,[mat-footer-row],[mat-header-row],[mat-row],mat-footer-row,mat-header-row,mat-row{background:inherit}mat-footer-row,mat-header-row,mat-row,td.mat-cell,td.mat-footer-cell,th.mat-header-cell{border-bottom-color:rgba(0,0,0,.12)}.mat-header-cell{color:rgba(0,0,0,.54)}.mat-cell,.mat-footer-cell{color:rgba(0,0,0,.87)}.mat-calendar-arrow{border-top-color:rgba(0,0,0,.54)}.mat-datepicker-content .mat-calendar-next-button,.mat-datepicker-content .mat-calendar-previous-button,.mat-datepicker-toggle{color:rgba(0,0,0,.54)}.mat-calendar-table-header{color:rgba(0,0,0,.38)}.mat-calendar-table-header-divider::after{background:rgba(0,0,0,.12)}.mat-calendar-body-label{color:rgba(0,0,0,.54)}.mat-calendar-body-cell-content{color:rgba(0,0,0,.87);border-color:transparent}.mat-calendar-body-disabled>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){color:rgba(0,0,0,.38)}.cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:rgba(0,0,0,.04)}.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.38)}.mat-calendar-body-disabled>.mat-calendar-body-today:not(.mat-calendar-body-selected){border-color:rgba(0,0,0,.18)}.mat-calendar-body-selected{background-color:#135f7f;color:#fff}.mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(19,95,127,.4)}.mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12);background-color:#fff;color:rgba(0,0,0,.87)}.mat-datepicker-content.mat-accent .mat-calendar-body-selected{background-color:#006841;color:#fff}.mat-datepicker-content.mat-accent .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(0,104,65,.4)}.mat-datepicker-content.mat-accent .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content.mat-warn .mat-calendar-body-selected{background-color:#8e3e52;color:#fff}.mat-datepicker-content.mat-warn .mat-calendar-body-disabled>.mat-calendar-body-selected{background-color:rgba(142,62,82,.4)}.mat-datepicker-content.mat-warn .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:inset 0 0 0 1px #fff}.mat-datepicker-content-touch{box-shadow:0 0 0 0 rgba(0,0,0,.2),0 0 0 0 rgba(0,0,0,.14),0 0 0 0 rgba(0,0,0,.12)}.mat-datepicker-toggle-active{color:#135f7f}.mat-datepicker-toggle-active.mat-accent{color:#006841}.mat-datepicker-toggle-active.mat-warn{color:#8e3e52}.mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);background:#fff;color:rgba(0,0,0,.87)}.mat-divider{border-top-color:rgba(0,0,0,.12)}.mat-divider-vertical{border-right-color:rgba(0,0,0,.12)}.mat-expansion-panel{background:#fff;color:rgba(0,0,0,.87)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.mat-action-row{border-top-color:rgba(0,0,0,.12)}.mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true]),.mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true]),.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true]){background:rgba(0,0,0,.04)}@media (hover:none){.mat-expansion-panel:not(.mat-expanded):not([aria-disabled=true]) .mat-expansion-panel-header:hover{background:#fff}}.mat-expansion-panel-header-title{color:rgba(0,0,0,.87)}.mat-expansion-indicator::after,.mat-expansion-panel-header-description{color:rgba(0,0,0,.54)}.mat-expansion-panel-header[aria-disabled=true]{color:rgba(0,0,0,.26)}.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-description,.mat-expansion-panel-header[aria-disabled=true] .mat-expansion-panel-header-title{color:inherit}.mat-form-field-label,.mat-hint{color:rgba(0,0,0,.6)}.mat-form-field.mat-focused .mat-form-field-label{color:#135f7f}.mat-form-field.mat-focused .mat-form-field-label.mat-accent{color:#006841}.mat-form-field.mat-focused .mat-form-field-label.mat-warn{color:#8e3e52}.mat-focused .mat-form-field-required-marker{color:#006841}.mat-form-field-ripple{background-color:rgba(0,0,0,.87)}.mat-form-field.mat-focused .mat-form-field-ripple{background-color:#135f7f}.mat-form-field.mat-focused .mat-form-field-ripple.mat-accent{background-color:#006841}.mat-form-field.mat-focused .mat-form-field-ripple.mat-warn{background-color:#8e3e52}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid) .mat-form-field-infix::after{color:#135f7f}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-accent .mat-form-field-infix::after{color:#006841}.mat-form-field-type-mat-native-select.mat-focused:not(.mat-form-field-invalid).mat-warn .mat-form-field-infix::after,.mat-form-field.mat-form-field-invalid .mat-form-field-label,.mat-form-field.mat-form-field-invalid .mat-form-field-label .mat-form-field-required-marker,.mat-form-field.mat-form-field-invalid .mat-form-field-label.mat-accent{color:#8e3e52}.mat-form-field.mat-form-field-invalid .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple.mat-accent{background-color:#8e3e52}.mat-error{color:#8e3e52}.mat-form-field-appearance-legacy .mat-form-field-label,.mat-form-field-appearance-legacy .mat-hint{color:rgba(0,0,0,.54)}.mat-form-field-appearance-legacy .mat-form-field-underline{bottom:1.25em;background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.42)),color-stop(33%,rgba(0,0,0,.42)),color-stop(0,transparent));background-image:linear-gradient(to right,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-standard .mat-form-field-underline{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.42)),color-stop(33%,rgba(0,0,0,.42)),color-stop(0,transparent));background-image:linear-gradient(to right,rgba(0,0,0,.42) 0,rgba(0,0,0,.42) 33%,transparent 0);background-size:4px 100%;background-repeat:repeat-x}.mat-form-field-appearance-fill .mat-form-field-flex{background-color:rgba(0,0,0,.04)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-flex{background-color:rgba(0,0,0,.02)}.mat-form-field-appearance-fill .mat-form-field-underline::before{background-color:rgba(0,0,0,.42)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-fill.mat-form-field-disabled .mat-form-field-underline::before{background-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline{color:rgba(0,0,0,.12)}.mat-form-field-appearance-outline .mat-form-field-outline-thick{color:rgba(0,0,0,.87)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick{color:#135f7f}.mat-form-field-appearance-outline.mat-focused.mat-accent .mat-form-field-outline-thick{color:#006841}.mat-form-field-appearance-outline.mat-focused.mat-warn .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid.mat-form-field-invalid .mat-form-field-outline-thick{color:#8e3e52}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-label{color:rgba(0,0,0,.38)}.mat-form-field-appearance-outline.mat-form-field-disabled .mat-form-field-outline{color:rgba(0,0,0,.06)}.mat-icon.mat-primary{color:#135f7f}.mat-icon.mat-accent{color:#006841}.mat-icon.mat-warn{color:#8e3e52}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{color:rgba(0,0,0,.54)}.mat-form-field-type-mat-native-select.mat-form-field-disabled .mat-form-field-infix::after,.mat-input-element:disabled{color:rgba(0,0,0,.38)}.mat-input-element{caret-color:#135f7f}.mat-input-element::-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-moz-placeholder{color:rgba(0,0,0,.42)}.mat-input-element::-webkit-input-placeholder{color:rgba(0,0,0,.42)}.mat-input-element:-ms-input-placeholder{color:rgba(0,0,0,.42)}.mat-accent .mat-input-element{caret-color:#006841}.mat-form-field-invalid .mat-input-element,.mat-warn .mat-input-element{caret-color:#8e3e52}.mat-form-field-type-mat-native-select.mat-form-field-invalid .mat-form-field-infix::after{color:#8e3e52}.mat-list-base .mat-list-item,.mat-list-base .mat-list-option{color:rgba(0,0,0,.87)}.mat-list-base .mat-subheader{font-family:Roboto,"Helvetica Neue",sans-serif;font-size:14px;font-weight:500;color:rgba(0,0,0,.54)}.mat-list-item-disabled{background-color:#eee}.mat-action-list .mat-list-item:focus,.mat-action-list .mat-list-item:hover,.mat-list-option:focus,.mat-list-option:hover,.mat-nav-list .mat-list-item:focus,.mat-nav-list .mat-list-item:hover{background:rgba(0,0,0,.04)}.mat-menu-panel{background:#fff}.mat-menu-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-menu-item{background:0 0;color:rgba(0,0,0,.87)}.mat-menu-item[disabled],.mat-menu-item[disabled]::after{color:rgba(0,0,0,.38)}.mat-menu-item .mat-icon-no-color,.mat-menu-item-submenu-trigger::after{color:rgba(0,0,0,.54)}.mat-menu-item-highlighted:not([disabled]),.mat-menu-item.cdk-keyboard-focused:not([disabled]),.mat-menu-item.cdk-program-focused:not([disabled]),.mat-menu-item:hover:not([disabled]){background:rgba(0,0,0,.04)}.mat-paginator{background:#fff}.mat-paginator,.mat-paginator-page-size .mat-select-trigger{color:rgba(0,0,0,.54)}.mat-paginator-decrement,.mat-paginator-increment{border-top:2px solid rgba(0,0,0,.54);border-right:2px solid rgba(0,0,0,.54)}.mat-paginator-first,.mat-paginator-last{border-top:2px solid rgba(0,0,0,.54)}.mat-icon-button[disabled] .mat-paginator-decrement,.mat-icon-button[disabled] .mat-paginator-first,.mat-icon-button[disabled] .mat-paginator-increment,.mat-icon-button[disabled] .mat-paginator-last{border-color:rgba(0,0,0,.38)}.mat-progress-bar-background{fill:#1a80ab}.mat-progress-bar-buffer{background-color:#1a80ab}.mat-progress-bar-fill::after{background-color:#135f7f}.mat-progress-bar.mat-accent .mat-progress-bar-background{fill:#009b61}.mat-progress-bar.mat-accent .mat-progress-bar-buffer{background-color:#009b61}.mat-progress-bar.mat-accent .mat-progress-bar-fill::after{background-color:#006841}.mat-progress-bar.mat-warn .mat-progress-bar-background{fill:#b24e67}.mat-progress-bar.mat-warn .mat-progress-bar-buffer{background-color:#b24e67}.mat-progress-bar.mat-warn .mat-progress-bar-fill::after{background-color:#8e3e52}.mat-progress-spinner circle,.mat-spinner circle{stroke:#135f7f}.mat-progress-spinner.mat-accent circle,.mat-spinner.mat-accent circle{stroke:#006841}.mat-progress-spinner.mat-warn circle,.mat-spinner.mat-warn circle{stroke:#8e3e52}.mat-radio-outer-circle{border-color:rgba(0,0,0,.54)}.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-outer-circle{border-color:#135f7f}.mat-radio-button.mat-primary .mat-radio-inner-circle,.mat-radio-button.mat-primary .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-primary.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-primary:active .mat-radio-persistent-ripple{background-color:#135f7f}.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-outer-circle{border-color:#006841}.mat-radio-button.mat-accent .mat-radio-inner-circle,.mat-radio-button.mat-accent .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-accent.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-accent:active .mat-radio-persistent-ripple{background-color:#006841}.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-outer-circle{border-color:#8e3e52}.mat-radio-button.mat-warn .mat-radio-inner-circle,.mat-radio-button.mat-warn .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple),.mat-radio-button.mat-warn.mat-radio-checked .mat-radio-persistent-ripple,.mat-radio-button.mat-warn:active .mat-radio-persistent-ripple{background-color:#8e3e52}.mat-radio-button.mat-radio-disabled .mat-radio-outer-circle,.mat-radio-button.mat-radio-disabled.mat-radio-checked .mat-radio-outer-circle{border-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-inner-circle,.mat-radio-button.mat-radio-disabled .mat-radio-ripple .mat-ripple-element{background-color:rgba(0,0,0,.38)}.mat-radio-button.mat-radio-disabled .mat-radio-label-content{color:rgba(0,0,0,.38)}.mat-radio-button .mat-ripple-element{background-color:#000}.mat-select-value{color:rgba(0,0,0,.87)}.mat-select-placeholder{color:rgba(0,0,0,.42)}.mat-select-disabled .mat-select-value{color:rgba(0,0,0,.38)}.mat-select-arrow{color:rgba(0,0,0,.54)}.mat-select-panel{background:#fff}.mat-select-panel:not([class*=mat-elevation-z]){box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.mat-select-panel .mat-option.mat-selected:not(.mat-option-multiple){background:rgba(0,0,0,.12)}.mat-form-field.mat-focused.mat-primary .mat-select-arrow{color:#135f7f}.mat-form-field.mat-focused.mat-accent .mat-select-arrow{color:#006841}.mat-form-field .mat-select.mat-select-invalid .mat-select-arrow,.mat-form-field.mat-focused.mat-warn .mat-select-arrow{color:#8e3e52}.mat-form-field .mat-select.mat-select-disabled .mat-select-arrow{color:rgba(0,0,0,.38)}.mat-drawer-container{background-color:#fafafa;color:rgba(0,0,0,.87)}.mat-drawer{background-color:#fff;color:rgba(0,0,0,.87)}.mat-drawer.mat-drawer-push{background-color:#fff}.mat-drawer:not(.mat-drawer-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-drawer-side{border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-side.mat-drawer-end,[dir=rtl] .mat-drawer-side{border-left:1px solid rgba(0,0,0,.12);border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-left:none;border-right:1px solid rgba(0,0,0,.12)}.mat-drawer-backdrop.mat-drawer-shown{background-color:rgba(0,0,0,.6)}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb{background-color:#006841}.mat-slide-toggle.mat-checked .mat-slide-toggle-bar{background-color:rgba(0,104,65,.54)}.mat-slide-toggle.mat-checked .mat-ripple-element{background-color:#006841}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-thumb{background-color:#135f7f}.mat-slide-toggle.mat-primary.mat-checked .mat-slide-toggle-bar{background-color:rgba(19,95,127,.54)}.mat-slide-toggle.mat-primary.mat-checked .mat-ripple-element{background-color:#135f7f}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-thumb{background-color:#8e3e52}.mat-slide-toggle.mat-warn.mat-checked .mat-slide-toggle-bar{background-color:rgba(142,62,82,.54)}.mat-slide-toggle.mat-warn.mat-checked .mat-ripple-element{background-color:#8e3e52}.mat-slide-toggle:not(.mat-checked) .mat-ripple-element{background-color:#000}.mat-slide-toggle-thumb{box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);background-color:#fafafa}.mat-slide-toggle-bar{background-color:rgba(0,0,0,.38)}.mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-primary .mat-slider-thumb,.mat-primary .mat-slider-thumb-label,.mat-primary .mat-slider-track-fill{background-color:#135f7f}.mat-primary .mat-slider-thumb-label-text{color:#fff}.mat-accent .mat-slider-thumb,.mat-accent .mat-slider-thumb-label,.mat-accent .mat-slider-track-fill{background-color:#006841}.mat-accent .mat-slider-thumb-label-text{color:#fff}.mat-warn .mat-slider-thumb,.mat-warn .mat-slider-thumb-label,.mat-warn .mat-slider-track-fill{background-color:#8e3e52}.mat-warn .mat-slider-thumb-label-text{color:#fff}.mat-slider-focus-ring{background-color:rgba(0,104,65,.2)}.cdk-focused .mat-slider-track-background,.mat-slider:hover .mat-slider-track-background{background-color:rgba(0,0,0,.38)}.mat-slider-disabled .mat-slider-thumb,.mat-slider-disabled .mat-slider-track-background,.mat-slider-disabled .mat-slider-track-fill,.mat-slider-disabled:hover .mat-slider-track-background{background-color:rgba(0,0,0,.26)}.mat-slider-min-value .mat-slider-focus-ring{background-color:rgba(0,0,0,.12)}.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing .mat-slider-thumb-label{background-color:rgba(0,0,0,.87)}.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb,.mat-slider-min-value.mat-slider-thumb-label-showing.cdk-focused .mat-slider-thumb-label{background-color:rgba(0,0,0,.26)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb{border-color:rgba(0,0,0,.26);background-color:transparent}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover .mat-slider-thumb{border-color:rgba(0,0,0,.38)}.mat-slider-min-value:not(.mat-slider-thumb-label-showing).cdk-focused.mat-slider-disabled .mat-slider-thumb,.mat-slider-min-value:not(.mat-slider-thumb-label-showing):hover.mat-slider-disabled .mat-slider-thumb{border-color:rgba(0,0,0,.26)}.mat-slider-has-ticks .mat-slider-wrapper::after{border-color:rgba(0,0,0,.7)}.mat-slider-horizontal .mat-slider-ticks{background-image:repeating-linear-gradient(to right,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent);background-image:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-slider-vertical .mat-slider-ticks{background-image:repeating-linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.7) 2px,transparent 0,transparent)}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused,.mat-step-header:hover{background-color:rgba(0,0,0,.04)}@media (hover:none){.mat-step-header:hover{background:0 0}}.mat-step-header .mat-step-label,.mat-step-header .mat-step-optional{color:rgba(0,0,0,.54)}.mat-step-header .mat-step-icon{background-color:rgba(0,0,0,.54);color:#fff}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#135f7f;color:#fff}.mat-step-header .mat-step-icon-state-error{background-color:transparent;color:#8e3e52}.mat-step-header .mat-step-label.mat-step-label-active{color:rgba(0,0,0,.87)}.mat-step-header .mat-step-label.mat-step-label-error{color:#8e3e52}.mat-stepper-horizontal,.mat-stepper-vertical{background-color:#fff}.mat-stepper-vertical-line::before{border-left-color:rgba(0,0,0,.12)}.mat-horizontal-stepper-header::after,.mat-horizontal-stepper-header::before,.mat-stepper-horizontal-line{border-top-color:rgba(0,0,0,.12)}.mat-sort-header-arrow{color:#757575}.mat-tab-header,.mat-tab-nav-bar{border-bottom:1px solid rgba(0,0,0,.12)}.mat-tab-group-inverted-header .mat-tab-header,.mat-tab-group-inverted-header .mat-tab-nav-bar{border-top:1px solid rgba(0,0,0,.12);border-bottom:none}.mat-tab-label,.mat-tab-link{color:rgba(0,0,0,.87)}.mat-tab-label.mat-tab-disabled,.mat-tab-link.mat-tab-disabled{color:rgba(0,0,0,.38)}.mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.87)}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(0,0,0,.38)}.mat-tab-group[class*=mat-background-] .mat-tab-header,.mat-tab-nav-bar[class*=mat-background-]{border-bottom:none;border-top:none}.mat-tab-group.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(26,128,171,.3)}.mat-tab-group.mat-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary .mat-ink-bar{background-color:#135f7f}.mat-tab-group.mat-primary.mat-background-primary .mat-ink-bar,.mat-tab-nav-bar.mat-primary.mat-background-primary .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(0,155,97,.3)}.mat-tab-group.mat-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent .mat-ink-bar{background-color:#006841}.mat-tab-group.mat-accent.mat-background-accent .mat-ink-bar,.mat-tab-nav-bar.mat-accent.mat-background-accent .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(178,78,103,.3)}.mat-tab-group.mat-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn .mat-ink-bar{background-color:#8e3e52}.mat-tab-group.mat-warn.mat-background-warn .mat-ink-bar,.mat-tab-nav-bar.mat-warn.mat-background-warn .mat-ink-bar{background-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-primary .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(26,128,171,.3)}.mat-tab-group.mat-background-primary .mat-tab-header,.mat-tab-group.mat-background-primary .mat-tab-header-pagination,.mat-tab-group.mat-background-primary .mat-tab-links,.mat-tab-nav-bar.mat-background-primary .mat-tab-header,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-primary .mat-tab-links{background-color:#135f7f}.mat-tab-group.mat-background-primary .mat-tab-label,.mat-tab-group.mat-background-primary .mat-tab-link,.mat-tab-nav-bar.mat-background-primary .mat-tab-label,.mat-tab-nav-bar.mat-background-primary .mat-tab-link{color:#fff}.mat-tab-group.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-primary .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-primary .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-primary .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-primary .mat-ripple-element,.mat-tab-nav-bar.mat-background-primary .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-accent .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(0,155,97,.3)}.mat-tab-group.mat-background-accent .mat-tab-header,.mat-tab-group.mat-background-accent .mat-tab-header-pagination,.mat-tab-group.mat-background-accent .mat-tab-links,.mat-tab-nav-bar.mat-background-accent .mat-tab-header,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-accent .mat-tab-links{background-color:#006841}.mat-tab-group.mat-background-accent .mat-tab-label,.mat-tab-group.mat-background-accent .mat-tab-link,.mat-tab-nav-bar.mat-background-accent .mat-tab-label,.mat-tab-nav-bar.mat-background-accent .mat-tab-link{color:#fff}.mat-tab-group.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-accent .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-accent .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-accent .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-accent .mat-ripple-element,.mat-tab-nav-bar.mat-background-accent .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-tab-group.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-group.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-label.cdk-program-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-keyboard-focused:not(.mat-tab-disabled),.mat-tab-nav-bar.mat-background-warn .mat-tab-link.cdk-program-focused:not(.mat-tab-disabled){background-color:rgba(178,78,103,.3)}.mat-tab-group.mat-background-warn .mat-tab-header,.mat-tab-group.mat-background-warn .mat-tab-header-pagination,.mat-tab-group.mat-background-warn .mat-tab-links,.mat-tab-nav-bar.mat-background-warn .mat-tab-header,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination,.mat-tab-nav-bar.mat-background-warn .mat-tab-links{background-color:#8e3e52}.mat-tab-group.mat-background-warn .mat-tab-label,.mat-tab-group.mat-background-warn .mat-tab-link,.mat-tab-nav-bar.mat-background-warn .mat-tab-label,.mat-tab-nav-bar.mat-background-warn .mat-tab-link{color:#fff}.mat-tab-group.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-group.mat-background-warn .mat-tab-link.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-label.mat-tab-disabled,.mat-tab-nav-bar.mat-background-warn .mat-tab-link.mat-tab-disabled{color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-chevron{border-color:#fff}.mat-tab-group.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron,.mat-tab-nav-bar.mat-background-warn .mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:rgba(255,255,255,.4)}.mat-tab-group.mat-background-warn .mat-ripple-element,.mat-tab-nav-bar.mat-background-warn .mat-ripple-element{background-color:rgba(255,255,255,.12)}.mat-toolbar{background:#f5f5f5;color:rgba(0,0,0,.87)}.mat-toolbar.mat-primary{background:#135f7f;color:#fff}.mat-toolbar.mat-accent{background:#006841;color:#fff}.mat-toolbar.mat-warn{background:#8e3e52;color:#fff}.mat-toolbar .mat-focused .mat-form-field-ripple,.mat-toolbar .mat-form-field-ripple,.mat-toolbar .mat-form-field-underline{background-color:currentColor}.mat-toolbar .mat-focused .mat-form-field-label,.mat-toolbar .mat-form-field-label,.mat-toolbar .mat-form-field.mat-focused .mat-select-arrow,.mat-toolbar .mat-select-arrow,.mat-toolbar .mat-select-value{color:inherit}.mat-toolbar .mat-input-element{caret-color:currentColor}.mat-tooltip{background:rgba(97,97,97,.9)}.mat-tree{font-family:Roboto,"Helvetica Neue",sans-serif;background:#fff}.mat-nested-tree-node,.mat-tree-node{font-weight:400;font-size:14px;color:rgba(0,0,0,.87)}.mat-snack-bar-container{color:rgba(255,255,255,.7);background:#323232;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12)}.mat-simple-snackbar-action{color:#006841}.primary,[color=primary]{color:#135f7f}.secondary,[color=secondary]{color:#f99830}.warn,[color=warn]{color:#8e3e52}.accent,[color=accent]{color:#006841}[bgcolor=primary]{background-color:#135f7f}[bgcolor=warn]{background-color:#8e3e52}[bgcolor=accent]{background-color:#006841}.jstree-proton .jstree-clicked{background:#1a80ab!important}.jstree-proton :not(.jstree-disabled).jstree-hovered{background:#1a80ab!important;box-shadow:inset 0 0 1px #135f7f!important}.jstree-proton .jstree-disabled:hover{cursor:not-allowed}.dndFile{border:5px dashed grey;padding:10px;text-align:center;opacity:.5;font-size:15px;font-weight:bolder;margin:20px}.dndFileHighlighted{opacity:1!important;border:5px dashed #135f7f!important;color:#135f7f}.cdk-textarea-autosize{min-height:18px!important}'],[".maarch-full-height-modal{height:99%;min-height:99%}.maarch-full-height-modal .mat-dialog-title{margin:0;padding:5px 20px;background:#135f7f;color:#fff;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.maarch-full-height-modal .mat-dialog-title small{color:#f99830}.maarch-full-height-modal .mat-dialog-content-container{height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.maarch-full-height-modal .mat-dialog-content{height:100%;max-height:100%!important;margin:0;position:relative;padding-top:10px}.maarch-full-height-modal .mat-dialog-container{padding:0}.maarch-full-height-modal .mat-dialog-actions{margin:0;padding:0;-webkit-box-pack:center;justify-content:center}.maarch-full-height-modal .divider-modal{-webkit-box-flex:1;flex:1 1 auto}.maarch-modal{height:auto}.maarch-modal .mat-dialog-title{margin:0;padding:5px 20px;background:#135f7f;color:#fff;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}.maarch-modal .mat-dialog-title span{-webkit-box-flex:1;flex:1;text-align:center}.maarch-modal .mat-dialog-title small{color:#f99830}.maarch-modal .mat-dialog-content-container{height:100%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.maarch-modal .mat-dialog-content{height:100%;max-height:100%!important;margin:0;position:relative;padding-top:10px}.maarch-modal .mat-dialog-container{padding:0}.maarch-modal .mat-dialog-actions{margin:0;padding:0;-webkit-box-pack:center;justify-content:center}.maarch-modal .divider-modal{-webkit-box-flex:1;flex:1 1 auto}.attachment-modal-container .mat-dialog-title{margin:-24px -24px 0!important;background:#135f7f;color:#fff;padding:5px}.attachment-modal-container .mat-dialog-title small{color:#f99830}.attachment-modal-container .mat-dialog-content{padding-top:10px!important;position:relative;max-height:80vh!important}.attachment-modal-container .mat-dialog-actions,.attachment-modal-container .mat-dialog-title{-webkit-box-pack:center;justify-content:center;text-align:center}.attachment-modal-container .mat-dialog-container{padding:0}.alert-message{margin:20px 0;padding:10px;max-width:450px;border-left:3px solid #eee}.alert-message p{padding:0}.alert-message-success{background-color:#f4fdf0;border-color:#006841;color:#003521}.alert-message-danger{background-color:#8e3e521a;border-color:#8e3e52;color:#6b2f3e}.alert-message-info{background-color:#f4f8fa;border-color:#135f7f;color:#0c3e53}.alert-message-default{background-color:#eee;border-color:#b4b4b4}.mat-paginator{background:0 0}.sub-info{display:-webkit-box;display:flex;color:#8e8e8e;font-size:11px;font-weight:700;background:#f3fafc;padding:5px}.sub-info-data{-webkit-box-flex:1;flex:1}.main-info{display:-webkit-box;display:flex;padding:20px;-webkit-box-align:center;align-items:center}.main-info-status{position:relative;width:65px;text-align:center}.main-info-status .mat-icon{font-size:25px}.main-info-action{color:#8e8e8e}.main-info-action .mat-badge-content{font-size:10px}.selected-data,.selected-data .sub-info{background:#eefcff}.selected-data .main-info-data{color:#135f7f}button[disabled]{opacity:.5;border-color:#666!important;color:#666!important}.mat-row:hover{background:inherit}.mat-badge-content{background:#f99830}.mat-form-field{width:100%!important}.mat-tab-body-wrapper{padding:10px}table tr:not(.filters) .mat-form-field{width:200px!important}.modal-body{background-color:#fff;padding:10px;min-height:200px;max-height:70vh;overflow:hidden;overflow-y:auto}.modal-body .list-group li{font-weight:700}.mat-autocomplete-panel .mat-option{font-size:80%}.mat-autocomplete-panel .mat-option small{opacity:.7}.mat-checkbox-layout .mat-checkbox-label{font-weight:400}.mat-paginator-page-size-select{width:60px!important}.admin-toolbar .maarchLogo{height:100%;width:120px;padding-left:5px;padding-right:5px}.admin-toolbar .maarchLogo svg{vertical-align:middle}.mat-toolbar.mat-primary{z-index:9;box-shadow:0 2px 4px rgba(0,0,0,.24)}.admin-container{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;position:absolute;top:64px;bottom:0;left:0;right:0}.admin-is-mobile{top:56px}.admin-is-mobile .admin-toolbar{position:fixed;z-index:2}.admin-toolbar-title-small{color:#f99830!important;opacity:.9;font-size:72%!important;padding-left:10px}.admin-sidenav-container{-webkit-box-flex:1;flex:1}.admin-is-mobile .admin-sidenav-container{-webkit-box-flex:1;flex:1 0 auto}.hide-for-mobile{display:none}.mat-sidenav{box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12),0 3px 1px -2px rgba(0,0,0,.2)}.mat-cell{word-wrap:normal!important;text-overflow:ellipsis}@media all and (max-width:768px){.admin-toolbar .mat-button{min-width:initial}.admin-toolbar .maarchLogo{height:100%;width:50px}.admin-toolbar-title{margin-left:0!important}}.jstree-checkbox{display:none!important}.card-app-content{min-height:100%;overflow:auto}.headerMaarch .mat-menu-content{position:relative!important}.headerMaarch.mat-menu-panel{background:#135f7f!important}.headerMaarchShortcut.mat-menu-panel{max-width:400px}.headerMaarchShortcut .mat-menu-content{padding-top:0!important;padding-bottom:0!important}.headerMaarchShortcut .mat-nav-list{padding-top:0!important}.mat-column-default_priority,.mat-column-working_days{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center}.mat-tab-body-content{overflow:hidden!important}.mat-raised-button{margin:5px!important}.mat-expansion-panel-header-description,.mat-expansion-panel-header-title{flex-basis:0}.mat-expansion-panel-header-description{-webkit-box-pack:justify;justify-content:space-between;-webkit-box-align:center;align-items:center}.homeBasketList .mat-list .mat-list-item{height:39px!important;font-size:14px!important}.example-loading-shade{position:absolute;top:0;left:0;bottom:56px;right:0;background:rgba(0,0,0,.15);z-index:1;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;height:100%}#searchInput .mat-form-field-infix{width:100%}#searchInput .mat-form-field-label{opacity:.5}.mat-slide-toggle-label{font-weight:400}.mat-dialog-container,.mat-tab-body-content{height:auto!important}.no-padding-full-dialog .mat-dialog-container{margin:0;position:relative;height:95vh!important;width:90vw!important;overflow:hidden}"],["body,html{width:100%;height:100%;overflow:hidden}.maarch-container{position:absolute!important;top:0;bottom:0;left:0;right:0;background:#eee}.mat-sidenav-content{display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.bg-head{background:#135f7f;color:#fff}.bg-head-title{font-size:20px;padding:20px 50px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}.bg-head-title-label,.bg-head-title-tool{-webkit-box-flex:1;flex:1;-webkit-box-align:center;align-items:center}.bg-head-title-tool{-webkit-box-flex:0;flex:none;-webkit-box-pack:end;justify-content:flex-end}.bg-head-content{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding-left:30px;padding-right:30px;padding-bottom:90px}.bg-head-content:empty{padding-bottom:60px}.panel-left,.panel-right{min-width:300px;box-shadow:none;border:none!important}.container{-webkit-box-flex:1;flex:1;padding-left:30px;padding-right:30px;margin-top:-60px;width:100%;overflow:hidden}.container-content{overflow-y:auto;overflow-x:hidden;position:relative;height:100%;min-height:200px;width:100%;border-radius:20px;background-color:#fff;box-shadow:0 4px 9px 0 rgba(0,0,0,.09)}.fullContainer{padding-left:0;padding-right:0}.customContainerRight{padding-right:10px}.table-head{overflow:auto;overflow-y:hidden;display:-webkit-box;display:flex;padding-left:25px;padding-right:25px;height:10%;-webkit-box-align:center;align-items:center;white-space:pre}.table-head div{-webkit-box-flex:1;flex:1;-webkit-box-align:center;align-items:center}.table-head-flex div{display:-webkit-box;display:flex}.table-head-result{color:#4a4a4a;font-size:25px;font-weight:700}.table-head-result small{font-size:14px;color:#029bb6}.table-head-tool{-webkit-box-pack:start;justify-content:flex-start;display:-webkit-box;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;flex-direction:row-reverse}.table-head-tool span{padding-left:5px;padding-right:5px}.mat-paginator .mat-paginator-container{flex-wrap:initial!important}.mat-icon{height:auto}.badgePipe_accent{color:#00cb55;font-size:8px}.badgePipe_secondary{color:#ef8717;font-size:8px}.badgePipe_warn{color:red;font-size:8px}.mat-menu-content:not(:empty){padding-top:0!important;padding-bottom:0!important}.sideBarForm{width:600px!important}.sideBarForm .mat-drawer-inner-container{display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;flex-direction:column!important}.sideBarFormMobile{width:95%!important}.sideBarFormMobile .mat-drawer-inner-container{display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical!important;-webkit-box-direction:normal!important;flex-direction:column!important}"],[".dnd-drag-start{-webkit-transform:scale(.8);transform:scale(.8);opacity:.7;border:2px dashed #000}.dnd-drag-enter{opacity:.7;border:2px dashed #000}.dnd-drag-over{border:2px dashed #000}.dnd-sortable-drag{-webkit-transform:scale(.9);transform:scale(.9);opacity:.7;border:1px dashed #000}"]],data:{}});function bEn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"header-panel",[],null,null,null,$Dn,UDn)),Di(1,114688,null,0,zDn,[_u,yu,uf,Au],null,null)],(function(n,l){n(l,1,0)}),null)}function vEn(n){return jo(0,[(n()(),_o(0,0,null,null,1,"menu-shortcut",[],null,null,null,UI,NI)),Di(1,114688,null,0,LI,[nS,uf,Jv,yu,TI,_u],null,null)],(function(n,l){n(l,1,0)}),null)}function _En(n){return jo(0,[(n()(),_o(0,0,null,null,1,"menu-nav",[],null,null,null,YDn,GDn)),Di(1,114688,null,0,HDn,[nS,uf,Zp,Au],null,null)],(function(n,l){n(l,1,0)}),null)}function yEn(n){return jo(0,[(n()(),_o(0,0,null,null,6,null,null,null,null,null,null,null)),(n()(),_o(1,0,null,null,1,"basket-home",[],null,null,null,_Fn,JDn)),Di(2,245760,[["basketHome",4]],0,Dfn,[nS,yu,_u,tu,tsn],null,null),(n()(),_o(3,0,null,null,1,"mat-divider",[["class","mat-divider"],["role","separator"]],[[1,"aria-orientation",0],[2,"mat-divider-vertical",null],[2,"mat-divider-horizontal",null],[2,"mat-divider-inset",null]],null,null,OI,EI)),Di(4,49152,null,0,mI,[],null,null),(n()(),_o(5,0,null,null,1,"panel-folder",[],null,null,null,hEn,pEn)),Di(6,245760,[["panelFolder",4]],0,dEn,[ru,tsn,Nl],null,null)],(function(n,l){n(l,2,0),n(l,6,0)}),(function(n,l){n(l,3,0,bi(l,4).vertical?"vertical":"horizontal",bi(l,4).vertical,!bi(l,4).vertical,bi(l,4).inset)}))}function wEn(n){return jo(0,[(n()(),_o(0,0,null,null,13,"mat-sidenav",[["autoFocus","false"],["class","panel-left mat-drawer mat-sidenav"],["style","overflow-x:hidden;"],["tabIndex","-1"]],[[2,"sideBarForm",null],[2,"sideBarFormMobile",null],[1,"align",0],[2,"mat-drawer-end",null],[2,"mat-drawer-over",null],[2,"mat-drawer-push",null],[2,"mat-drawer-side",null],[2,"mat-drawer-opened",null],[2,"mat-sidenav-fixed",null],[4,"top","px"],[4,"bottom","px"],[40,"@transform",0]],[["component","@transform.start"],["component","@transform.done"]],(function(n,l,e){var t=!0;return"component:@transform.start"===l&&(t=!1!==bi(n,4)._animationStartListener(e)&&t),"component:@transform.done"===l&&(t=!1!==bi(n,4)._animationDoneListener(e)&&t),t}),zO,qO)),Ei(512,null,Cs,ks,[Pe,Ye,Te]),Di(2,278528,null,0,Ss,[Cs],{ngStyle:[0,"ngStyle"]},null),Oo(3,{width:0}),Di(4,3325952,[[2,4],[1,4],["snavLeft",4]],0,LO,[Pe,Eb,qb,sh,La,[2,qs]],{mode:[0,"mode"],autoFocus:[1,"autoFocus"],opened:[2,"opened"],fixedInViewport:[3,"fixedInViewport"]},null),(n()(),vo(16777216,null,0,1,null,bEn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,vEn)),Di(8,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,_En)),Di(10,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),vo(16777216,null,0,1,null,yEn)),Di(12,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(13,0,null,0,0,"div",[["id","adminMenu"],["style","display: contents;"]],null,null,null,null,null))],(function(n,l){var e=l.component,t=n(l,3,0,e.appService.getViewMode()?"80%":"350px");n(l,2,0,t),n(l,4,0,e.appService.getViewMode()?"over":"side","false",!e.appService.getViewMode(),e.appService.getViewMode()),n(l,6,0,e.headerService.showhHeaderPanel),n(l,8,0,e.headerService.showMenuShortcut),n(l,10,0,e.headerService.showMenuShortcut),n(l,12,0,!e.headerService.sideBarAdmin)}),(function(n,l){var e=l.component;n(l,0,1,[e.headerService.sideBarForm&&!e.appService.getViewMode(),e.appService.getViewMode()&&e.headerService.sideBarForm,null,"end"===bi(l,4).position,"over"===bi(l,4).mode,"push"===bi(l,4).mode,"side"===bi(l,4).mode,bi(l,4).opened,bi(l,4).fixedInViewport,bi(l,4).fixedInViewport?bi(l,4).fixedTopGap:null,bi(l,4).fixedInViewport?bi(l,4).fixedBottomGap:null,bi(l,4)._animationState])}))}function xEn(n){return jo(0,[ko(671088640,1,{snavLeft:0}),(n()(),_o(1,0,null,null,9,"mat-sidenav-container",[["autosize",""],["class","maarch-container mat-drawer-container mat-sidenav-container"]],[[2,"mat-drawer-container-explicit-backdrop",null]],null,null,HO,UO)),Di(2,1490944,null,2,RO,[[2,bb],Pe,La,Nl,Mg,DO,[2,SC]],{autosize:[0,"autosize"]},null),ko(603979776,2,{_drawers:1}),ko(603979776,3,{_content:0}),(n()(),vo(16777216,null,0,1,null,wEn)),Di(6,16384,null,0,gs,[lt,Xe],{ngIf:[0,"ngIf"]},null),(n()(),_o(7,0,null,1,3,"mat-sidenav-content",[["class","mat-drawer-content mat-sidenav-content"]],[[4,"margin-left","px"],[4,"margin-right","px"]],null,null,VO,jO)),Di(8,1294336,[[3,4]],0,TO,[Nl,RO,Pe,wg,La],null,null),(n()(),_o(9,16777216,null,0,1,"router-outlet",[],null,null,null,null,null)),Di(10,212992,null,0,ff,[mf,lt,Se,[8,null],Nl],null,null)],(function(n,l){var e=l.component;n(l,2,0,""),n(l,6,0,!e.headerService.hideSideBar),n(l,8,0),n(l,10,0)}),(function(n,l){n(l,1,0,bi(l,2)._backdropOverride),n(l,7,0,bi(l,8)._container._contentMargins.left,bi(l,8)._container._contentMargins.right)}))}function CEn(n){return jo(0,[(n()(),_o(0,0,null,null,4,"my-app",[],null,null,null,xEn,gEn)),Ei(139776,null,yS,yS,[[2,nS],Ed,[2,qs],[2,ol]]),Ei(131584,null,yu,yu,[Nl,Th]),Di(3,114688,null,0,xu,[yS,Ed,yu,_u],null,null),Ei(256,null,ub,wu,[])],(function(n,l){n(l,3,0)}),null)}var kEn,SEn=oi("my-app",xu,CEn,{},{},[]),IEn=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l.overrides={pinch:{enable:!1},rotate:{enable:!1}},l}return Object(t.__extends)(l,n),l}(Ad),AEn=function(){return function(){}}(),MEn=function(n,l,e){if(0==e||0==l)return"0 de "+e;var t=n*l;return t<(e=Math.max(e,0))&&Math.min(t+l,e),"Page "+(n+1)+" / "+Math.ceil(e/l)},PEn=function(n,l,e){return 0==e||0==l?"0 of "+e:MEn(n,l,e)},DEn=function(n){function l(){var l=null!==n&&n.apply(this,arguments)||this;return l.lang=Kr,l}return Object(t.__extends)(l,n),l.prototype.parse=function(n){if("string"==typeof n&&n.indexOf("/")>-1){var l=n.split("/"),e=Number(l[2]),t=Number(l[1])-1,i=Number(l[0]);return new Date(e,t,i)}var a="number"==typeof n?n:Date.parse(n);return isNaN(a)?null:new Date(a)},l.prototype.format=function(n,l){if("input"==l){var e=n.getDate(),t=n.getMonth()+1,i=n.getFullYear();return this._to2digit(e)+"/"+this._to2digit(t)+"/"+i}return n.toLocaleDateString(this.lang.langISO,{weekday:"short",year:"numeric",month:"short",day:"numeric"})},l.prototype._to2digit=function(n){return("00"+n).slice(-2)},l.prototype.getFirstDayOfWeek=function(){return 1},l}(uv),FEn={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{month:"short",year:"numeric",day:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},EEn="fr-FR"===Kr.langISO?((kEn=new PR).nextPageLabel="Page suivante",kEn.previousPageLabel="Page précédente",kEn.getRangeLabel=MEn,kEn.itemsPerPageLabel="",kEn):function(){var n=new PR;return n.nextPageLabel="Next page",n.previousPageLabel="Previous page",n.getRangeLabel=PEn,n.itemsPerPageLabel="",n}(),OEn=Kr.langISO,TEn=function(){return function(){}}(),LEn=function(){return function(){}}(),REn=function(){function n(){this.changes=new M,this.optionalLabel="Optional"}return n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}();function NEn(n){return n||new REn}var jEn=function(){return function(){}}(),VEn=function(){function n(n,l){this.document=n,this.platformId=l,this.documentIsAccessible=Bs(this.platformId)}return n.prototype.check=function(n){return!!this.documentIsAccessible&&(n=encodeURIComponent(n),this.getCookieRegExp(n).test(this.document.cookie))},n.prototype.get=function(n){if(this.documentIsAccessible&&this.check(n)){n=encodeURIComponent(n);var l=this.getCookieRegExp(n).exec(this.document.cookie);return decodeURIComponent(l[1])}return""},n.prototype.getAll=function(){if(!this.documentIsAccessible)return{};var n={},l=this.document;if(l.cookie&&""!==l.cookie)for(var e=l.cookie.split(";"),t=0;t<e.length;t+=1){var i=e[t].split("=");i[0]=i[0].replace(/^ /,""),n[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return n},n.prototype.set=function(n,l,e,t,i,a,o){if(void 0===o&&(o="None"),this.documentIsAccessible){var r=encodeURIComponent(n)+"="+encodeURIComponent(l)+";";e&&(r+="number"==typeof e?"expires="+new Date((new Date).getTime()+1e3*e*60*60*24).toUTCString()+";":"expires="+e.toUTCString()+";"),t&&(r+="path="+t+";"),i&&(r+="domain="+i+";"),a&&(r+="secure;"),this.document.cookie=r+="sameSite="+o+";"}},n.prototype.delete=function(n,l,e){this.documentIsAccessible&&this.set(n,"",new Date("Thu, 01 Jan 1970 00:00:01 GMT"),l,e,void 0,"Lax")},n.prototype.deleteAll=function(n,l){if(this.documentIsAccessible){var e=this.getAll();for(var t in e)e.hasOwnProperty(t)&&this.delete(t,n,l)}},n.prototype.getCookieRegExp=function(n){var l=n.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+l+"|;\\s*"+l+")=(.*?)(?:;|$)","g")},n}(),qEn=function(){function n(n,l,e,t){this.http=n,this.router=l,this.headerService=e,this.privilegeService=t}return n.prototype.canActivate=function(n,l){var e=this;return localStorage.setItem("PreviousV2Route",l.url),this.headerService.resetSideNavSelection(),this.headerService.hideSideBar=n.url.filter((function(n){return"signatureBook"==n})).length>0,this.headerService.sideBarAdmin=n.url.filter((function(n){return"administration"==n})).length>0||n.url.filter((function(n){return"profile"==n})).length>0,void 0!==this.headerService.user.id||this.http.get("../../rest/currentUser/profile").pipe(q((function(n){return e.headerService.user={id:n.id,userId:n.user_id,firstname:n.firstname,lastname:n.lastname,entities:n.entities,groups:n.groups,preferences:n.preferences,privileges:"ALL_PRIVILEGES"===n.privileges[0]?e.privilegeService.getAllPrivileges():n.privileges,changePassword:n.changePassword},e.headerService.nbResourcesFollowed=n.nbFollowedResources,e.privilegeService.resfreshUserShortcuts(),!0})))},n.ngInjectableDef=yn({factory:function(){return new n(Bn(nS),Bn(uf),Bn(_u),Bn(TI))},token:n,providedIn:"root"}),n}(),zEn=function(){function n(){}return n.prototype.canDeactivate=function(n){return Object(t.__awaiter)(this,void 0,void 0,(function(){return Object(t.__generator)(this,(function(l){switch(l.label){case 0:return(n.isToolModified()&&!n.isModalOpen()||void 0!==n.appDocumentViewer&&n.appDocumentViewer.isEditingTemplate())&&confirm(n.lang.saveModifiedData)?[4,n.saveModificationBeforeClose()]:[3,2];case 1:l.sent(),l.label=2;case 2:return[2,!0]}}))}))},n.ngInjectableDef=yn({factory:function(){return new n},token:n,providedIn:"root"}),n}(),UEn=function(){return function(){}}(),BEn=function(){return function(){}}(),$En=function(){return function(){}}(),HEn=function(){return function(){}}(),GEn=function(){return function(){}}(),WEn=$r(Gr,[xu],(function(n){return function(n){for(var l={},e=[],t=!1,i=0;i<n.length;i++){var a=n[i];a.token===Xl&&!0===a.value&&(t=!0),1073741824&a.flags&&e.push(a.token),a.index=i,l[gt(a.token)]=a}return{factory:null,providersByKey:l,providers:n,modules:e,isRoot:t}}([Xt(512,Se,Ie,[[8,[Vf,qv,u_,YC,OC,yk,Sk,Ok,Nk,WI,nA,bA,tO,CL,vj,Sz,Qz,WB,p$,mH,ZH,yG,EW,UK,gY,AY,HY,lJ,bJ,RJ,BJ,sZ,jZ,pQ,YQ,LX,h0,k0,X0,I1,h6,j6,d7,q7,g3,P3,B3,Z3,b4,e8,f8,A8,H8,e5,N5,p9,pen,Ien,Ren,ltn,utn,Nj,Lz,JK,iU,wH,AH,eG,r1,r8,htn,Ftn,hin,Ain,zin,nan,Jon,trn,Orn,Xcn,vfn,ohn,mhn,whn,Dgn,Ggn,Zgn,ibn,qbn,uan,Qbn,cvn,_vn,Avn,Lvn,Bvn,Qvn,o_n,D_n,B_n,tyn,gyn,Myn,zyn,nwn,uwn,nxn,pxn,Pxn,Gxn,rCn,kCn,GCn,mkn,kkn,Tkn,Zkn,rSn,dSn,_Sn,CSn,uIn,qIn,JIn,iAn,uAn,pAn,gAn,JAn,nMn,YMn,fPn,WPn,ZPn,cDn,vDn,DDn,qDn,SEn]],[3,Se],Kn]),Xt(5120,ba,ho,[[3,ba]]),Xt(4608,rs,us,[ba,[2,os]]),Xt(5120,Wi,go,[La]),Xt(5120,ca,da,[]),Xt(5120,Ke,mo,[]),Xt(5120,Ye,fo,[]),Xt(4608,Ed,Od,[qs]),Xt(6144,El,null,[Ed]),Xt(4608,Sd,IEn,[]),Xt(5120,Qc,(function(n,l,e,t,i,a,o,r){return[new Cd(n,l,e),new Fd(t),new Md(i,a,o,r)]}),[qs,La,fa,qs,qs,Sd,ga,[2,Id]]),Xt(4608,Xc,Xc,[Qc,La]),Xt(135680,ed,ed,[qs]),Xt(4608,sd,sd,[Xc,ed,ca]),Xt(5120,Mw,xC,[]),Xt(5120,vx,CC,[]),Xt(4608,Wx,wC,[qs,Mw,vx]),Xt(5120,Ee,kC,[sd,Wx,La]),Xt(6144,ld,null,[ed]),Xt(4608,Ba,Ba,[La]),Xt(4608,qf,fC,[Ee,qs]),Xt(4608,E_,E_,[]),Xt(4608,Oy,Oy,[]),Xt(4608,cS,dS,[qs,fa,uS]),Xt(4608,pS,pS,[cS,sS]),Xt(5120,eS,(function(n){return[n]}),[pS]),Xt(4608,oS,oS,[]),Xt(6144,aS,null,[oS]),Xt(4608,rS,rS,[aS]),Xt(6144,Vk,null,[rS]),Xt(4608,jk,mS,[Vk,le]),Xt(4608,nS,nS,[jk]),Xt(4608,pb,pb,[]),Xt(4608,Zg,Zg,[Rg,Bg,Se,Yg,Ug,le,La,qs,bb,[2,Au]]),Xt(5120,Xg,eb,[Zg]),Xt(5120,OR,TR,[Zg]),Xt(4608,dv,dv,[]),Xt(5120,ob,rb,[Zg]),Xt(5120,HT,GT,[Zg]),Xt(4352,PR,EEn,[]),Xt(5120,SL,IL,[[3,SL]]),Xt(5120,Kv,Yv,[Zg]),Xt(135680,Jv,Jv,[Zg,le,[2,Au],[2,Wv],Kv,[3,Jv],Bg]),Xt(4608,Ny,Ny,[]),Xt(5120,Jy,Zy,[Zg]),Xt(4608,lv,DEn,[[2,nv],sh]),Xt(5120,wN,xN,[Zg]),Xt(5120,REn,NEn,[[3,REn]]),Xt(135680,qb,qb,[La,sh]),Xt(4608,DFn,DFn,[Xe]),Xt(4608,GV,GV,[]),Xt(5120,KV,WV,[]),Xt(5120,JV,YV,[GV]),Xt(4608,NU,NU,[qs,La,Mg,LU]),Xt(4608,tu,tu,[uf,hk]),Xt(4608,ru,ru,[nS,Jv,tu,uf]),Xt(4608,_u,_u,[nS,ru,Se,le,Qa]),Xt(4608,QS,QS,[]),Xt(4608,VEn,VEn,[qs,fa]),Xt(4608,$S,$S,[QS]),Xt(4608,ME,ME,[Qa,Se,le]),Xt(4608,RE,RE,[ME]),Xt(5120,Zp,Ff,[uf]),Xt(4608,vf,vf,[]),Xt(6144,gf,null,[vf]),Xt(135680,_f,_f,[uf,no,Ia,le,gf]),Xt(4608,bf,bf,[]),Xt(5120,yf,If,[uf,$s,wf]),Xt(5120,Lf,Tf,[Ef]),Xt(5120,ha,(function(n){return[n]}),[Lf]),Xt(4608,Trn,Trn,[]),Xt(4608,tsn,tsn,[nS,Jv,tu,uf,_u,$S]),Xt(4608,TI,TI,[_u]),Xt(1073742336,Vs,Vs,[]),Xt(1024,ol,zd,[]),Xt(1024,Wa,(function(){return[kf()]}),[]),Xt(512,Ef,Ef,[le]),Xt(1024,ua,(function(n,l){return[(e=n,Yc("probe",Zc),Yc("coreTokens",Object(t.__assign)({},Jc,(e||[]).reduce((function(n,l){return n[l.name]=l.token,n}),{}))),function(){return Zc}),Of(l)];var e}),[[2,Wa],Ef]),Xt(512,sa,sa,[[2,ua]]),Xt(131584,Qa,Qa,[La,ga,le,ol,Se,sa]),Xt(1073742336,bo,bo,[Qa]),Xt(1073742336,Ud,Ud,[[3,Ud]]),Xt(1073742336,AC,AC,[]),Xt(1073742336,Ey,Ey,[]),Xt(1073742336,Ty,Ty,[]),Xt(1073742336,Ly,Ly,[]),Xt(1073742336,fS,fS,[]),Xt(1073742336,hS,hS,[]),Xt(1024,xf,Mf,[[3,uf]]),Xt(512,Pp,Dp,[]),Xt(512,mf,mf,[]),Xt(256,wf,{useHash:!0},[]),Xt(1024,Su,Af,[Cu,[2,Iu],wf]),Xt(512,Au,Au,[Su,Cu]),Xt(512,Ia,Ia,[]),Xt(512,no,to,[Ia,[2,lo]]),Xt(1024,nf,(function(){return[[{path:"administration",canActivate:[qEn],component:gL},{path:"administration/users",canActivate:[qEn],component:lN},{path:"administration/users/new",canActivate:[qEn],component:dq},{path:"administration/users/:id",canActivate:[qEn],component:dq},{path:"administration/groups",canActivate:[qEn],component:Rz},{path:"administration/groups/new",canActivate:[qEn],component:aB},{path:"administration/groups/:id",canActivate:[qEn],component:aB},{path:"administration/baskets",canActivate:[qEn],component:KB},{path:"administration/baskets/new",canActivate:[qEn],component:V$},{path:"administration/baskets/:id",canActivate:[qEn],component:V$},{path:"administration/doctypes",canActivate:[qEn],component:MH},{path:"administration/diffusionModels",canActivate:[qEn],component:tG},{path:"administration/diffusionModels/new",canActivate:[qEn],component:xW},{path:"administration/diffusionModels/:id",canActivate:[qEn],component:xW},{path:"administration/entities",canActivate:[qEn],component:ZW},{path:"administration/statuses",canActivate:[qEn],component:ZK},{path:"administration/statuses/new",canActivate:[qEn],component:bY},{path:"administration/statuses/:identifier",canActivate:[qEn],component:bY},{path:"administration/parameters",canActivate:[qEn],component:MY},{path:"administration/parameters/new",canActivate:[qEn],component:GY},{path:"administration/parameters/:id",canActivate:[qEn],component:GY},{path:"administration/reports",canActivate:[qEn],component:eJ},{path:"administration/priorities",canActivate:[qEn],component:vJ},{path:"administration/priorities/new",canActivate:[qEn],component:NJ},{path:"administration/priorities/:id",canActivate:[qEn],component:NJ},{path:"administration/actions",canActivate:[qEn],component:$J},{path:"administration/actions/new",canActivate:[qEn],component:SZ},{path:"administration/actions/:id",canActivate:[qEn],component:SZ},{path:"administration/notifications",canActivate:[qEn],component:VZ},{path:"administration/notifications/new",canActivate:[qEn],component:mQ},{path:"administration/notifications/:identifier",canActivate:[qEn],component:mQ},{path:"administration/history",canActivate:[qEn],component:SX},{path:"administration/history-batch",canActivate:[qEn],component:RX},{path:"administration/update-status",canActivate:[qEn],component:g0},{path:"administration/contacts",canActivate:[qEn],component:A0},{path:"administration/contacts/duplicates",canActivate:[qEn],component:d1},{path:"administration/contacts/list",redirectTo:"administration/contacts",pathMatch:"full"},{path:"administration/contacts/list/new",canActivate:[qEn],component:u6},{path:"administration/contacts/list/:id",canActivate:[qEn],component:u6},{path:"administration/contacts/contactsCustomFields",canActivate:[qEn],component:g6},{path:"administration/contacts/contacts-groups",canActivate:[qEn],component:V6},{path:"administration/contacts/contacts-groups/new",canActivate:[qEn],component:p7},{path:"administration/contacts/contacts-groups/:id",canActivate:[qEn],component:p7},{path:"administration/contacts/contacts-parameters",canActivate:[qEn],component:G7},{path:"administration/versions-update",canActivate:[qEn],component:b3},{path:"administration/docservers",canActivate:[qEn],component:D3},{path:"administration/docservers/new",canActivate:[qEn],component:$3},{path:"administration/templates",canActivate:[qEn],component:Q3},{path:"administration/templates/new",canActivate:[qEn],component:C4},{path:"administration/templates/:id",canActivate:[qEn],component:C4},{path:"administration/securities",canActivate:[qEn],component:u8},{path:"administration/sendmail",canActivate:[qEn],component:h8},{path:"administration/shippings",canActivate:[qEn],component:M8},{path:"administration/shippings/new",canActivate:[qEn],component:G8},{path:"administration/shippings/:id",canActivate:[qEn],component:G8},{path:"administration/customFields",canActivate:[qEn],component:t5},{path:"administration/indexingModels",canActivate:[qEn],component:V5},{path:"administration/indexingModels/new",canActivate:[qEn],component:ten},{path:"administration/indexingModels/:id",canActivate:[qEn],component:ten},{path:"administration/tags",canActivate:[qEn],component:men},{path:"administration/tags/new",canActivate:[qEn],component:Aen},{path:"administration/tags/:id",canActivate:[qEn],component:Aen},{path:"administration/alfresco",canActivate:[qEn],component:Ven},{path:"administration/alfresco/new",canActivate:[qEn],component:etn},{path:"administration/alfresco/:id",canActivate:[qEn],component:etn}],[{path:"activate-user",component:Min},{path:"password-modification",component:Uin},{path:"profile",canActivate:[qEn],component:can},{path:"about-us",canActivate:[qEn],component:Zon},{path:"home",canActivate:[qEn],component:mrn},{path:"basketList/users/:userSerialId/groups/:groupSerialId/baskets/:basketId",canActivate:[qEn],component:vcn},{path:"process/users/:userSerialId/groups/:groupSerialId/baskets/:basketId/resId/:resId",canActivate:[qEn],canDeactivate:[zEn],component:gmn},{path:"folders/:folderId",canActivate:[qEn],component:Ffn},{path:"saveNumericPackage",canActivate:[qEn],component:rhn},{path:"separators/print",canActivate:[qEn],component:fhn},{path:"signatureBook/users/:userId/groups/:groupId/baskets/:basketId/resources/:resId",canActivate:[qEn],component:xhn},{path:"indexing/:groupId",canActivate:[qEn],component:Fgn},{path:"forgot-password",component:Wgn},{path:"update-password",component:Qgn},{path:"followed",canActivate:[qEn],component:gbn},{path:"resources/:detailResId",canActivate:[qEn],canDeactivate:[zEn],component:gmn},{path:"**",redirectTo:"home",pathMatch:"full"}]]}),[]),Xt(1024,uf,Df,[Qa,Pp,mf,Au,le,no,Ia,nf,wf,[2,ef],[2,Qm]]),Xt(1073742336,Sf,Sf,[[2,xf],[2,uf]]),Xt(1073742336,jpn,jpn,[]),Xt(1073742336,XS,XS,[]),Xt(1073742336,vb,vb,[]),Xt(1073742336,Gb,Gb,[[2,Hb],[2,Id]]),Xt(1073742336,ch,ch,[]),Xt(1073742336,kv,kv,[]),Xt(1073742336,hb,hb,[]),Xt(1073742336,oA,oA,[]),Xt(1073742336,rA,rA,[]),Xt(1073742336,bu,bu,[]),Xt(1073742336,Ag,Ag,[]),Xt(1073742336,tb,tb,[]),Xt(1073742336,Iv,Iv,[]),Xt(1073742336,Lv,Lv,[]),Xt(1073742336,dT,dT,[]),Xt(1073742336,VR,VR,[]),Xt(1073742336,cV,cV,[]),Xt(1073742336,dV,dV,[]),Xt(1073742336,MT,MT,[]),Xt(1073742336,TT,TT,[]),Xt(1073742336,Bb,Bb,[]),Xt(1073742336,db,db,[]),Xt(1073742336,MV,MV,[]),Xt(1073742336,NO,NO,[]),Xt(1073742336,rw,rw,[]),Xt(1073742336,kO,kO,[]),Xt(1073742336,IR,IR,[]),Xt(1073742336,sO,sO,[]),Xt(1073742336,E1,E1,[]),Xt(1073742336,f$,f$,[]),Xt(1073742336,YT,YT,[]),Xt(1073742336,JT,JT,[]),Xt(1073742336,hv,hv,[]),Xt(1073742336,UEn,UEn,[]),Xt(1073742336,nR,nR,[]),Xt(1073742336,dR,dR,[]),Xt(1073742336,FR,FR,[]),Xt(1073742336,ML,ML,[]),Xt(1073742336,t_,t_,[]),Xt(1073742336,tw,tw,[]),Xt(1073742336,sv,sv,[]),Xt(1073742336,cv,cv,[]),Xt(1073742336,Uj,Uj,[]),Xt(1073742336,Xj,Xj,[]),Xt(1073742336,kN,kN,[]),Xt(1073742336,mk,mk,[]),Xt(1073742336,PS,PS,[]),Xt(1073742336,fI,fI,[]),Xt(1073742336,pI,pI,[]),Xt(1073742336,mN,mN,[]),Xt(1073742336,LEn,LEn,[]),Xt(1073742336,jEn,jEn,[]),Xt(1073742336,vq,vq,[]),Xt(1073742336,B7,B7,[]),Xt(1073742336,TS,TS,[]),Xt(1073742336,Mk,Mk,[]),Xt(1073742336,RFn,RFn,[]),Xt(1073742336,BFn,BFn,[]),Xt(1073742336,sq,sq,[]),Xt(1073742336,TEn,TEn,[]),Xt(1073742336,YU,YU,[]),Xt(1073742336,BEn,BEn,[]),Xt(1073742336,AEn,AEn,[]),Xt(1073742336,NE,NE,[]),Xt(1073742336,jE,jE,[]),Xt(1073742336,VE,VE,[]),Xt(1073742336,qE,qE,[]),Xt(1073742336,zE,zE,[]),Xt(1073742336,UE,UE,[]),Xt(1073742336,BE,BE,[]),Xt(1073742336,$E,$E,[]),Xt(1073742336,HE,HE,[]),Xt(1073742336,GE,GE,[]),Xt(1073742336,WE,WE,[]),Xt(1073742336,KE,KE,[]),Xt(1073742336,YE,YE,[]),Xt(1073742336,JE,JE,[]),Xt(1073742336,$En,$En,[]),Xt(1073742336,HEn,HEn,[]),Xt(1073742336,GEn,GEn,[]),Xt(1073742336,Gr,Gr,[]),Xt(256,Xl,!0,[]),Xt(256,SC,"BrowserAnimations",[]),Xt(256,uS,"XSRF-TOKEN",[]),Xt(256,sS,"X-XSRF-TOKEN",[]),Xt(256,nv,OEn,[]),Xt(256,ev,FEn,[]),Xt(256,oN,{separatorKeyCodes:[13]},[])])}));!function(){if(ul)throw new Error("Cannot enable prod mode after platform setup.");rl=!1}(),qd().bootstrapModuleFactory(WEn)},lRFz:function(n,l,e){var t;t=function(){return function(n){var l={};function e(t){if(l[t])return l[t].exports;var i=l[t]={i:t,l:!1,exports:{}};return n[t].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=l,e.d=function(n,l,t){e.o(n,l)||Object.defineProperty(n,l,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,l){if(1&l&&(n=e(n)),8&l)return n;if(4&l&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&l&&"string"!=typeof n)for(var i in n)e.d(t,i,(function(l){return n[l]}).bind(null,i));return t},e.n=function(n){var l=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(l,"a",l),l},e.o=function(n,l){return Object.prototype.hasOwnProperty.call(n,l)},e.p="",e(e.s=0)}([function(n,l,e){"use strict";var t=e(1),i=e(147),a=e(162),o=e(163),r=e(151),u=e(164),s=e(156),c=e(153);if(e(4)()){var d=e(165).PDFNodeStream;i.setPDFNetworkStreamFactory((function(n){return new d(n)}))}else{var p,m=e(168).PDFNetworkStream;r.isFetchSupported()&&(p=e(169).PDFFetchStream),i.setPDFNetworkStreamFactory((function(n){return p&&r.isValidFetchUrl(n.url)?new p(n):new m(n)}))}l.build=i.build,l.version=i.version,l.getDocument=i.getDocument,l.LoopbackPort=i.LoopbackPort,l.PDFDataRangeTransport=i.PDFDataRangeTransport,l.PDFWorker=i.PDFWorker,l.renderTextLayer=a.renderTextLayer,l.AnnotationLayer=o.AnnotationLayer,l.createPromiseCapability=t.createPromiseCapability,l.PasswordResponses=t.PasswordResponses,l.InvalidPDFException=t.InvalidPDFException,l.MissingPDFException=t.MissingPDFException,l.SVGGraphics=u.SVGGraphics,l.NativeImageDecoding=t.NativeImageDecoding,l.CMapCompressionType=t.CMapCompressionType,l.PermissionFlag=t.PermissionFlag,l.UnexpectedResponseException=t.UnexpectedResponseException,l.OPS=t.OPS,l.VerbosityLevel=t.VerbosityLevel,l.UNSUPPORTED_FEATURES=t.UNSUPPORTED_FEATURES,l.createValidAbsoluteUrl=t.createValidAbsoluteUrl,l.createObjectURL=t.createObjectURL,l.removeNullCharacters=t.removeNullCharacters,l.shadow=t.shadow,l.Util=t.Util,l.ReadableStream=t.ReadableStream,l.URL=t.URL,l.RenderingCancelledException=r.RenderingCancelledException,l.getFilenameFromUrl=r.getFilenameFromUrl,l.LinkTarget=r.LinkTarget,l.addLinkAttributes=r.addLinkAttributes,l.loadScript=r.loadScript,l.PDFDateString=r.PDFDateString,l.GlobalWorkerOptions=s.GlobalWorkerOptions,l.apiCompatibilityParams=c.apiCompatibilityParams},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.arrayByteLength=y,l.arraysToBytes=function(n){if(1===n.length&&n[0]instanceof Uint8Array)return n[0];var l,e,t,i=0,a=n.length;for(l=0;l<a;l++)i+=t=y(e=n[l]);var o=0,r=new Uint8Array(i);for(l=0;l<a;l++)(e=n[l])instanceof Uint8Array||(e="string"==typeof e?_(e):new Uint8Array(e)),t=e.byteLength,r.set(e,o),o+=t;return r},l.assert=c,l.bytesToString=function(n){c(null!==n&&"object"===a(n)&&void 0!==n.length,"Invalid argument for bytesToString");var l=n.length;if(l<8192)return String.fromCharCode.apply(null,n);for(var e=[],t=0;t<l;t+=8192){var i=Math.min(t+8192,l),o=n.subarray(t,i);e.push(String.fromCharCode.apply(null,o))}return e.join("")},l.createPromiseCapability=function(){var n=Object.create(null),l=!1;return Object.defineProperty(n,"settled",{get:function(){return l}}),n.promise=new Promise((function(e,t){n.resolve=function(n){l=!0,e(n)},n.reject=function(n){l=!0,t(n)}})),n},l.getVerbosityLevel=function(){return r},l.info=function(n){r>=o.INFOS&&console.log("Info: "+n)},l.isArrayBuffer=function(n){return"object"===a(n)&&null!==n&&void 0!==n.byteLength},l.isArrayEqual=function(n,l){return n.length===l.length&&n.every((function(n,e){return n===l[e]}))},l.isBool=function(n){return"boolean"==typeof n},l.isEmptyObj=function(n){for(var l in n)return!1;return!0},l.isNum=function(n){return"number"==typeof n},l.isString=function(n){return"string"==typeof n},l.isSpace=function(n){return 32===n||9===n||13===n||10===n},l.isSameOrigin=function(n,l){try{var e=new i.URL(n);if(!e.origin||"null"===e.origin)return!1}catch(a){return!1}var t=new i.URL(l,e);return e.origin===t.origin},l.createValidAbsoluteUrl=function(n,l){if(!n)return null;try{var e=l?new i.URL(n,l):new i.URL(n);if(function(n){if(!n)return!1;switch(n.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(e))return e}catch(t){}return null},l.isLittleEndian=function(){var n=new Uint8Array(4);return n[0]=1,1===new Uint32Array(n.buffer,0,1)[0]},l.isEvalSupported=function(){try{return new Function(""),!0}catch(n){return!1}},l.log2=function(n){return n<=0?0:Math.ceil(Math.log2(n))},l.readInt8=function(n,l){return n[l]<<24>>24},l.readUint16=function(n,l){return n[l]<<8|n[l+1]},l.readUint32=function(n,l){return(n[l]<<24|n[l+1]<<16|n[l+2]<<8|n[l+3])>>>0},l.removeNullCharacters=function(n){return"string"!=typeof n?(u("The argument for removeNullCharacters must be a string."),n):n.replace(v,"")},l.setVerbosityLevel=function(n){Number.isInteger(n)&&(r=n)},l.shadow=function(n,l,e){return Object.defineProperty(n,l,{value:e,enumerable:!0,configurable:!0,writable:!1}),e},l.string32=function(n){return String.fromCharCode(n>>24&255,n>>16&255,n>>8&255,255&n)},l.stringToBytes=_,l.stringToPDFString=function(n){var l,e=n.length,t=[];if("þ"===n[0]&&"ÿ"===n[1])for(l=2;l<e;l+=2)t.push(String.fromCharCode(n.charCodeAt(l)<<8|n.charCodeAt(l+1)));else for(l=0;l<e;++l){var i=C[n.charCodeAt(l)];t.push(i?String.fromCharCode(i):n.charAt(l))}return t.join("")},l.stringToUTF8String=function(n){return decodeURIComponent(escape(n))},l.utf8StringToString=function(n){return unescape(encodeURIComponent(n))},l.warn=u,l.unreachable=s,Object.defineProperty(l,"ReadableStream",{enumerable:!0,get:function(){return t.ReadableStream}}),Object.defineProperty(l,"URL",{enumerable:!0,get:function(){return i.URL}}),l.createObjectURL=l.FormatError=l.Util=l.UnknownErrorException=l.UnexpectedResponseException=l.TextRenderingMode=l.StreamType=l.PermissionFlag=l.PasswordResponses=l.PasswordException=l.NativeImageDecoding=l.MissingPDFException=l.InvalidPDFException=l.AbortException=l.CMapCompressionType=l.ImageKind=l.FontType=l.AnnotationType=l.AnnotationFlag=l.AnnotationFieldFlag=l.AnnotationBorderStyleType=l.UNSUPPORTED_FEATURES=l.VerbosityLevel=l.OPS=l.IDENTITY_MATRIX=l.FONT_IDENTITY_MATRIX=void 0,e(2);var t=e(143),i=e(145);function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}l.IDENTITY_MATRIX=[1,0,0,1,0,0],l.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],l.NativeImageDecoding={NONE:"none",DECODE:"decode",DISPLAY:"display"},l.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},l.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},l.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},l.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},l.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},l.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},l.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},l.StreamType={UNKNOWN:0,FLATE:1,LZW:2,DCT:3,JPX:4,JBIG:5,A85:6,AHX:7,CCF:8,RL:9},l.FontType={UNKNOWN:0,TYPE1:1,TYPE1C:2,CIDFONTTYPE0:3,CIDFONTTYPE0C:4,TRUETYPE:5,CIDFONTTYPE2:6,TYPE3:7,OPENTYPE:8,TYPE0:9,MMTYPE1:10};var o={ERRORS:0,WARNINGS:1,INFOS:5};l.VerbosityLevel=o,l.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},l.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},l.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",smask:"smask",shadingPattern:"shadingPattern",font:"font"},l.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var r=o.WARNINGS;function u(n){r>=o.WARNINGS&&console.log("Warning: "+n)}function s(n){throw new Error(n)}function c(n,l){n||s(l)}var d=function(){function n(n,l){this.name="PasswordException",this.message=n,this.code=l}return n.prototype=new Error,n.constructor=n,n}();l.PasswordException=d;var p=function(){function n(n,l){this.name="UnknownErrorException",this.message=n,this.details=l}return n.prototype=new Error,n.constructor=n,n}();l.UnknownErrorException=p;var m=function(){function n(n){this.name="InvalidPDFException",this.message=n}return n.prototype=new Error,n.constructor=n,n}();l.InvalidPDFException=m;var f=function(){function n(n){this.name="MissingPDFException",this.message=n}return n.prototype=new Error,n.constructor=n,n}();l.MissingPDFException=f;var h=function(){function n(n,l){this.name="UnexpectedResponseException",this.message=n,this.status=l}return n.prototype=new Error,n.constructor=n,n}();l.UnexpectedResponseException=h;var g=function(){function n(n){this.message=n}return(n.prototype=new Error).name="FormatError",n.constructor=n,n}();l.FormatError=g;var b=function(){function n(n){this.name="AbortException",this.message=n}return n.prototype=new Error,n.constructor=n,n}();l.AbortException=b;var v=/\x00/g;function _(n){c("string"==typeof n,"Invalid argument for stringToBytes");for(var l=n.length,e=new Uint8Array(l),t=0;t<l;++t)e[t]=255&n.charCodeAt(t);return e}function y(n){return void 0!==n.length?n.length:(c(void 0!==n.byteLength),n.byteLength)}var w=function(){function n(){}var l=["rgb(",0,",",0,",",0,")"];return n.makeCssRgb=function(n,e,t){return l[1]=n,l[3]=e,l[5]=t,l.join("")},n.transform=function(n,l){return[n[0]*l[0]+n[2]*l[1],n[1]*l[0]+n[3]*l[1],n[0]*l[2]+n[2]*l[3],n[1]*l[2]+n[3]*l[3],n[0]*l[4]+n[2]*l[5]+n[4],n[1]*l[4]+n[3]*l[5]+n[5]]},n.applyTransform=function(n,l){return[n[0]*l[0]+n[1]*l[2]+l[4],n[0]*l[1]+n[1]*l[3]+l[5]]},n.applyInverseTransform=function(n,l){var e=l[0]*l[3]-l[1]*l[2];return[(n[0]*l[3]-n[1]*l[2]+l[2]*l[5]-l[4]*l[3])/e,(-n[0]*l[1]+n[1]*l[0]+l[4]*l[1]-l[5]*l[0])/e]},n.getAxialAlignedBoundingBox=function(l,e){var t=n.applyTransform(l,e),i=n.applyTransform(l.slice(2,4),e),a=n.applyTransform([l[0],l[3]],e),o=n.applyTransform([l[2],l[1]],e);return[Math.min(t[0],i[0],a[0],o[0]),Math.min(t[1],i[1],a[1],o[1]),Math.max(t[0],i[0],a[0],o[0]),Math.max(t[1],i[1],a[1],o[1])]},n.inverseTransform=function(n){var l=n[0]*n[3]-n[1]*n[2];return[n[3]/l,-n[1]/l,-n[2]/l,n[0]/l,(n[2]*n[5]-n[4]*n[3])/l,(n[4]*n[1]-n[5]*n[0])/l]},n.apply3dTransform=function(n,l){return[n[0]*l[0]+n[1]*l[1]+n[2]*l[2],n[3]*l[0]+n[4]*l[1]+n[5]*l[2],n[6]*l[0]+n[7]*l[1]+n[8]*l[2]]},n.singularValueDecompose2dScale=function(n){var l=[n[0],n[2],n[1],n[3]],e=n[0]*l[0]+n[1]*l[2],t=n[2]*l[1]+n[3]*l[3],i=(e+t)/2,a=Math.sqrt((e+t)*(e+t)-4*(e*t-(n[2]*l[0]+n[3]*l[2])*(n[0]*l[1]+n[1]*l[3])))/2,o=i-a||1;return[Math.sqrt(i+a||1),Math.sqrt(o)]},n.normalizeRect=function(n){var l=n.slice(0);return n[0]>n[2]&&(l[0]=n[2],l[2]=n[0]),n[1]>n[3]&&(l[1]=n[3],l[3]=n[1]),l},n.intersect=function(l,e){function t(n,l){return n-l}var i=[l[0],l[2],e[0],e[2]].sort(t),a=[l[1],l[3],e[1],e[3]].sort(t),o=[];return l=n.normalizeRect(l),e=n.normalizeRect(e),(i[0]===l[0]&&i[1]===e[0]||i[0]===e[0]&&i[1]===l[0])&&(o[0]=i[1],o[2]=i[2],(a[0]===l[1]&&a[1]===e[1]||a[0]===e[1]&&a[1]===l[1])&&(o[1]=a[1],o[3]=a[2],o))},n}();l.Util=w;var x,C=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364],k=(x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",function(n,l){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e&&i.URL.createObjectURL){var t=new Blob([n],{type:l});return i.URL.createObjectURL(t)}for(var a="data:"+l+";base64,",o=0,r=n.length;o<r;o+=3){var u=255&n[o],s=255&n[o+1],c=255&n[o+2],d=u>>2,p=(3&u)<<4|s>>4,m=o+1<r?(15&s)<<2|c>>6:64,f=o+2<r?63&c:64;a+=x[d]+x[p]+x[m]+x[f]}return a});l.createObjectURL=k},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var i=e(3);if(!i._pdfjsCompatibilityChecked){i._pdfjsCompatibilityChecked=!0;var a=e(4),o="object"===("undefined"==typeof window?"undefined":t(window))&&"object"===("undefined"==typeof document?"undefined":t(document));!i.btoa&&a()&&(i.btoa=function(n){return Buffer.from(n,"binary").toString("base64")}),!i.atob&&a()&&(i.atob=function(n){return Buffer.from(n,"base64").toString("binary")}),o&&void 0===Element.prototype.remove&&(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),function(){if(o&&!a()){var n=document.createElement("div");if(n.classList.add("testOne","testTwo"),!0!==n.classList.contains("testOne")||!0!==n.classList.contains("testTwo")){var l=DOMTokenList.prototype.add,e=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];for(var i=0,a=e;i<a.length;i++){var o=a[i];l.call(this,o)}},DOMTokenList.prototype.remove=function(){for(var n=arguments.length,l=new Array(n),t=0;t<n;t++)l[t]=arguments[t];for(var i=0,a=l;i<a.length;i++){var o=a[i];e.call(this,o)}}}}}(),o&&!a()&&!1!==document.createElement("div").classList.toggle("test",0)&&(DOMTokenList.prototype.toggle=function(n){var l=arguments.length>1?!!arguments[1]:!this.contains(n);return this[l?"add":"remove"](n),l}),String.prototype.startsWith||e(5),String.prototype.endsWith||e(36),String.prototype.includes||e(38),Array.prototype.includes||e(40),Array.from||e(47),Object.assign||e(70),Math.log2||(Math.log2=e(75)),Number.isNaN||(Number.isNaN=e(77)),Number.isInteger||(Number.isInteger=e(79)),i.Promise&&i.Promise.prototype&&i.Promise.prototype.finally||(i.Promise=e(82)),i.WeakMap||(i.WeakMap=e(102)),i.WeakSet||(i.WeakSet=e(119)),String.codePointAt||(String.codePointAt=e(123)),String.fromCodePoint||(String.fromCodePoint=e(125)),i.Symbol||e(127),String.prototype.padStart||e(134),String.prototype.padEnd||e(138),Object.values||(Object.values=e(140))}},function(n,l,e){"use strict";n.exports="undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:{}},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}n.exports=function(){return"object"===("undefined"==typeof process?"undefined":t(process))&&process+""=="[object process]"&&!process.versions.nw&&!process.versions.electron}},function(n,l,e){"use strict";e(6),n.exports=e(9).String.startsWith},function(n,l,e){"use strict";var t=e(7),i=e(28),a=e(30),o="".startsWith;t(t.P+t.F*e(35)("startsWith"),"String",{startsWith:function(n){var l=a(this,n,"startsWith"),e=i(Math.min(arguments.length>1?arguments[1]:void 0,l.length)),t=String(n);return o?o.call(l,t,e):l.slice(e,e+t.length)===t}})},function(n,l,e){"use strict";var t=e(8),i=e(9),a=e(10),o=e(20),r=e(26),u=function n(l,e,u){var s,c,d,p,m=l&n.F,f=l&n.G,h=l&n.P,g=l&n.B,b=f?t:l&n.S?t[e]||(t[e]={}):(t[e]||{}).prototype,v=f?i:i[e]||(i[e]={}),_=v.prototype||(v.prototype={});for(s in f&&(u=e),u)d=((c=!m&&b&&void 0!==b[s])?b:u)[s],p=g&&c?r(d,t):h&&"function"==typeof d?r(Function.call,d):d,b&&o(b,s,d,l&n.U),v[s]!=d&&a(v,s,p),h&&_[s]!=d&&(_[s]=d)};t.core=i,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,n.exports=u},function(n,l,e){"use strict";var t=n.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(n,l,e){"use strict";var t=n.exports={version:"2.6.9"};"number"==typeof __e&&(__e=t)},function(n,l,e){"use strict";var t=e(11),i=e(19);n.exports=e(15)?function(n,l,e){return t.f(n,l,i(1,e))}:function(n,l,e){return n[l]=e,n}},function(n,l,e){"use strict";var t=e(12),i=e(14),a=e(18),o=Object.defineProperty;l.f=e(15)?Object.defineProperty:function(n,l,e){if(t(n),l=a(l,!0),t(e),i)try{return o(n,l,e)}catch(r){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(n[l]=e.value),n}},function(n,l,e){"use strict";var t=e(13);n.exports=function(n){if(!t(n))throw TypeError(n+" is not an object!");return n}},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}n.exports=function(n){return"object"===t(n)?null!==n:"function"==typeof n}},function(n,l,e){"use strict";n.exports=!e(15)&&!e(16)((function(){return 7!=Object.defineProperty(e(17)("div"),"a",{get:function(){return 7}}).a}))},function(n,l,e){"use strict";n.exports=!e(16)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(n,l,e){"use strict";n.exports=function(n){try{return!!n()}catch(l){return!0}}},function(n,l,e){"use strict";var t=e(13),i=e(8).document,a=t(i)&&t(i.createElement);n.exports=function(n){return a?i.createElement(n):{}}},function(n,l,e){"use strict";var t=e(13);n.exports=function(n,l){if(!t(n))return n;var e,i;if(l&&"function"==typeof(e=n.toString)&&!t(i=e.call(n)))return i;if("function"==typeof(e=n.valueOf)&&!t(i=e.call(n)))return i;if(!l&&"function"==typeof(e=n.toString)&&!t(i=e.call(n)))return i;throw TypeError("Can't convert object to primitive value")}},function(n,l,e){"use strict";n.exports=function(n,l){return{enumerable:!(1&n),configurable:!(2&n),writable:!(4&n),value:l}}},function(n,l,e){"use strict";var t=e(8),i=e(10),a=e(21),o=e(22)("src"),r=e(23),u=(""+r).split("toString");e(9).inspectSource=function(n){return r.call(n)},(n.exports=function(n,l,e,r){var s="function"==typeof e;s&&(a(e,"name")||i(e,"name",l)),n[l]!==e&&(s&&(a(e,o)||i(e,o,n[l]?""+n[l]:u.join(String(l)))),n===t?n[l]=e:r?n[l]?n[l]=e:i(n,l,e):(delete n[l],i(n,l,e)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[o]||r.call(this)}))},function(n,l,e){"use strict";var t={}.hasOwnProperty;n.exports=function(n,l){return t.call(n,l)}},function(n,l,e){"use strict";var t=0,i=Math.random();n.exports=function(n){return"Symbol(".concat(void 0===n?"":n,")_",(++t+i).toString(36))}},function(n,l,e){"use strict";n.exports=e(24)("native-function-to-string",Function.toString)},function(n,l,e){"use strict";var t=e(9),i=e(8),a=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(n.exports=function(n,l){return a[n]||(a[n]=void 0!==l?l:{})})("versions",[]).push({version:t.version,mode:e(25)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(n,l,e){"use strict";n.exports=!1},function(n,l,e){"use strict";var t=e(27);n.exports=function(n,l,e){if(t(n),void 0===l)return n;switch(e){case 1:return function(e){return n.call(l,e)};case 2:return function(e,t){return n.call(l,e,t)};case 3:return function(e,t,i){return n.call(l,e,t,i)}}return function(){return n.apply(l,arguments)}}},function(n,l,e){"use strict";n.exports=function(n){if("function"!=typeof n)throw TypeError(n+" is not a function!");return n}},function(n,l,e){"use strict";var t=e(29),i=Math.min;n.exports=function(n){return n>0?i(t(n),9007199254740991):0}},function(n,l,e){"use strict";var t=Math.ceil,i=Math.floor;n.exports=function(n){return isNaN(n=+n)?0:(n>0?i:t)(n)}},function(n,l,e){"use strict";var t=e(31),i=e(34);n.exports=function(n,l,e){if(t(l))throw TypeError("String#"+e+" doesn't accept regex!");return String(i(n))}},function(n,l,e){"use strict";var t=e(13),i=e(32),a=e(33)("match");n.exports=function(n){var l;return t(n)&&(void 0!==(l=n[a])?!!l:"RegExp"==i(n))}},function(n,l,e){"use strict";var t={}.toString;n.exports=function(n){return t.call(n).slice(8,-1)}},function(n,l,e){"use strict";var t=e(24)("wks"),i=e(22),a=e(8).Symbol,o="function"==typeof a;(n.exports=function(n){return t[n]||(t[n]=o&&a[n]||(o?a:i)("Symbol."+n))}).store=t},function(n,l,e){"use strict";n.exports=function(n){if(null==n)throw TypeError("Can't call method on "+n);return n}},function(n,l,e){"use strict";var t=e(33)("match");n.exports=function(n){var l=/./;try{"/./"[n](l)}catch(e){try{return l[t]=!1,!"/./"[n](l)}catch(i){}}return!0}},function(n,l,e){"use strict";e(37),n.exports=e(9).String.endsWith},function(n,l,e){"use strict";var t=e(7),i=e(28),a=e(30),o="".endsWith;t(t.P+t.F*e(35)("endsWith"),"String",{endsWith:function(n){var l=a(this,n,"endsWith"),e=arguments.length>1?arguments[1]:void 0,t=i(l.length),r=void 0===e?t:Math.min(i(e),t),u=String(n);return o?o.call(l,u,r):l.slice(r-u.length,r)===u}})},function(n,l,e){"use strict";e(39),n.exports=e(9).String.includes},function(n,l,e){"use strict";var t=e(7),i=e(30);t(t.P+t.F*e(35)("includes"),"String",{includes:function(n){return!!~i(this,n,"includes").indexOf(n,arguments.length>1?arguments[1]:void 0)}})},function(n,l,e){"use strict";e(41),n.exports=e(9).Array.includes},function(n,l,e){"use strict";var t=e(7),i=e(42)(!0);t(t.P,"Array",{includes:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0)}}),e(46)("includes")},function(n,l,e){"use strict";var t=e(43),i=e(28),a=e(45);n.exports=function(n){return function(l,e,o){var r,u=t(l),s=i(u.length),c=a(o,s);if(n&&e!=e){for(;s>c;)if((r=u[c++])!=r)return!0}else for(;s>c;c++)if((n||c in u)&&u[c]===e)return n||c||0;return!n&&-1}}},function(n,l,e){"use strict";var t=e(44),i=e(34);n.exports=function(n){return t(i(n))}},function(n,l,e){"use strict";var t=e(32);n.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return"String"==t(n)?n.split(""):Object(n)}},function(n,l,e){"use strict";var t=e(29),i=Math.max,a=Math.min;n.exports=function(n,l){return(n=t(n))<0?i(n+l,0):a(n,l)}},function(n,l,e){"use strict";var t=e(33)("unscopables"),i=Array.prototype;null==i[t]&&e(10)(i,t,{}),n.exports=function(n){i[t][n]=!0}},function(n,l,e){"use strict";e(48),e(63),n.exports=e(9).Array.from},function(n,l,e){"use strict";var t=e(49)(!0);e(50)(String,"String",(function(n){this._t=String(n),this._i=0}),(function(){var n,l=this._t,e=this._i;return e>=l.length?{value:void 0,done:!0}:(n=t(l,e),this._i+=n.length,{value:n,done:!1})}))},function(n,l,e){"use strict";var t=e(29),i=e(34);n.exports=function(n){return function(l,e){var a,o,r=String(i(l)),u=t(e),s=r.length;return u<0||u>=s?n?"":void 0:(a=r.charCodeAt(u))<55296||a>56319||u+1===s||(o=r.charCodeAt(u+1))<56320||o>57343?n?r.charAt(u):a:n?r.slice(u,u+2):o-56320+(a-55296<<10)+65536}}},function(n,l,e){"use strict";var t=e(25),i=e(7),a=e(20),o=e(10),r=e(51),u=e(52),s=e(60),c=e(61),d=e(33)("iterator"),p=!([].keys&&"next"in[].keys()),m=function(){return this};n.exports=function(n,l,e,f,h,g,b){u(e,l,f);var v,_,y,w=function(n){if(!p&&n in S)return S[n];switch(n){case"keys":case"values":return function(){return new e(this,n)}}return function(){return new e(this,n)}},x=l+" Iterator",C="values"==h,k=!1,S=n.prototype,I=S[d]||S["@@iterator"]||h&&S[h],A=I||w(h),M=h?C?w("entries"):A:void 0,P="Array"==l&&S.entries||I;if(P&&(y=c(P.call(new n)))!==Object.prototype&&y.next&&(s(y,x,!0),t||"function"==typeof y[d]||o(y,d,m)),C&&I&&"values"!==I.name&&(k=!0,A=function(){return I.call(this)}),t&&!b||!p&&!k&&S[d]||o(S,d,A),r[l]=A,r[x]=m,h)if(v={values:C?A:w("values"),keys:g?A:w("keys"),entries:M},b)for(_ in v)_ in S||a(S,_,v[_]);else i(i.P+i.F*(p||k),l,v);return v}},function(n,l,e){"use strict";n.exports={}},function(n,l,e){"use strict";var t=e(53),i=e(19),a=e(60),o={};e(10)(o,e(33)("iterator"),(function(){return this})),n.exports=function(n,l,e){n.prototype=t(o,{next:i(1,e)}),a(n,l+" Iterator")}},function(n,l,e){"use strict";var t=e(12),i=e(54),a=e(58),o=e(57)("IE_PROTO"),r=function(){},u=function(){var n,l=e(17)("iframe"),t=a.length;for(l.style.display="none",e(59).appendChild(l),l.src="javascript:",(n=l.contentWindow.document).open(),n.write("<script>document.F=Object<\/script>"),n.close(),u=n.F;t--;)delete u.prototype[a[t]];return u()};n.exports=Object.create||function(n,l){var e;return null!==n?(r.prototype=t(n),e=new r,r.prototype=null,e[o]=n):e=u(),void 0===l?e:i(e,l)}},function(n,l,e){"use strict";var t=e(11),i=e(12),a=e(55);n.exports=e(15)?Object.defineProperties:function(n,l){i(n);for(var e,o=a(l),r=o.length,u=0;r>u;)t.f(n,e=o[u++],l[e]);return n}},function(n,l,e){"use strict";var t=e(56),i=e(58);n.exports=Object.keys||function(n){return t(n,i)}},function(n,l,e){"use strict";var t=e(21),i=e(43),a=e(42)(!1),o=e(57)("IE_PROTO");n.exports=function(n,l){var e,r=i(n),u=0,s=[];for(e in r)e!=o&&t(r,e)&&s.push(e);for(;l.length>u;)t(r,e=l[u++])&&(~a(s,e)||s.push(e));return s}},function(n,l,e){"use strict";var t=e(24)("keys"),i=e(22);n.exports=function(n){return t[n]||(t[n]=i(n))}},function(n,l,e){"use strict";n.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(n,l,e){"use strict";var t=e(8).document;n.exports=t&&t.documentElement},function(n,l,e){"use strict";var t=e(11).f,i=e(21),a=e(33)("toStringTag");n.exports=function(n,l,e){n&&!i(n=e?n:n.prototype,a)&&t(n,a,{configurable:!0,value:l})}},function(n,l,e){"use strict";var t=e(21),i=e(62),a=e(57)("IE_PROTO"),o=Object.prototype;n.exports=Object.getPrototypeOf||function(n){return n=i(n),t(n,a)?n[a]:"function"==typeof n.constructor&&n instanceof n.constructor?n.constructor.prototype:n instanceof Object?o:null}},function(n,l,e){"use strict";var t=e(34);n.exports=function(n){return Object(t(n))}},function(n,l,e){"use strict";var t=e(26),i=e(7),a=e(62),o=e(64),r=e(65),u=e(28),s=e(66),c=e(67);i(i.S+i.F*!e(69)((function(n){Array.from(n)})),"Array",{from:function(n){var l,e,i,d,p=a(n),m="function"==typeof this?this:Array,f=arguments.length,h=f>1?arguments[1]:void 0,g=void 0!==h,b=0,v=c(p);if(g&&(h=t(h,f>2?arguments[2]:void 0,2)),null==v||m==Array&&r(v))for(e=new m(l=u(p.length));l>b;b++)s(e,b,g?h(p[b],b):p[b]);else for(d=v.call(p),e=new m;!(i=d.next()).done;b++)s(e,b,g?o(d,h,[i.value,b],!0):i.value);return e.length=b,e}})},function(n,l,e){"use strict";var t=e(12);n.exports=function(n,l,e,i){try{return i?l(t(e)[0],e[1]):l(e)}catch(o){var a=n.return;throw void 0!==a&&t(a.call(n)),o}}},function(n,l,e){"use strict";var t=e(51),i=e(33)("iterator"),a=Array.prototype;n.exports=function(n){return void 0!==n&&(t.Array===n||a[i]===n)}},function(n,l,e){"use strict";var t=e(11),i=e(19);n.exports=function(n,l,e){l in n?t.f(n,l,i(0,e)):n[l]=e}},function(n,l,e){"use strict";var t=e(68),i=e(33)("iterator"),a=e(51);n.exports=e(9).getIteratorMethod=function(n){if(null!=n)return n[i]||n["@@iterator"]||a[t(n)]}},function(n,l,e){"use strict";var t=e(32),i=e(33)("toStringTag"),a="Arguments"==t(function(){return arguments}());n.exports=function(n){var l,e,o;return void 0===n?"Undefined":null===n?"Null":"string"==typeof(e=function(n,l){try{return n[l]}catch(e){}}(l=Object(n),i))?e:a?t(l):"Object"==(o=t(l))&&"function"==typeof l.callee?"Arguments":o}},function(n,l,e){"use strict";var t=e(33)("iterator"),i=!1;try{var a=[7][t]();a.return=function(){i=!0},Array.from(a,(function(){throw 2}))}catch(o){}n.exports=function(n,l){if(!l&&!i)return!1;var e=!1;try{var a=[7],r=a[t]();r.next=function(){return{done:e=!0}},a[t]=function(){return r},n(a)}catch(o){}return e}},function(n,l,e){"use strict";e(71),n.exports=e(9).Object.assign},function(n,l,e){"use strict";var t=e(7);t(t.S+t.F,"Object",{assign:e(72)})},function(n,l,e){"use strict";var t=e(15),i=e(55),a=e(73),o=e(74),r=e(62),u=e(44),s=Object.assign;n.exports=!s||e(16)((function(){var n={},l={},e=Symbol(),t="abcdefghijklmnopqrst";return n[e]=7,t.split("").forEach((function(n){l[n]=n})),7!=s({},n)[e]||Object.keys(s({},l)).join("")!=t}))?function(n,l){for(var e=r(n),s=arguments.length,c=1,d=a.f,p=o.f;s>c;)for(var m,f=u(arguments[c++]),h=d?i(f).concat(d(f)):i(f),g=h.length,b=0;g>b;)m=h[b++],t&&!p.call(f,m)||(e[m]=f[m]);return e}:s},function(n,l,e){"use strict";l.f=Object.getOwnPropertySymbols},function(n,l,e){"use strict";l.f={}.propertyIsEnumerable},function(n,l,e){"use strict";e(76),n.exports=e(9).Math.log2},function(n,l,e){"use strict";var t=e(7);t(t.S,"Math",{log2:function(n){return Math.log(n)/Math.LN2}})},function(n,l,e){"use strict";e(78),n.exports=e(9).Number.isNaN},function(n,l,e){"use strict";var t=e(7);t(t.S,"Number",{isNaN:function(n){return n!=n}})},function(n,l,e){"use strict";e(80),n.exports=e(9).Number.isInteger},function(n,l,e){"use strict";var t=e(7);t(t.S,"Number",{isInteger:e(81)})},function(n,l,e){"use strict";var t=e(13),i=Math.floor;n.exports=function(n){return!t(n)&&isFinite(n)&&i(n)===n}},function(n,l,e){"use strict";e(83),e(48),e(84),e(87),e(100),e(101),n.exports=e(9).Promise},function(n,l,e){"use strict";var t=e(68),i={};i[e(33)("toStringTag")]="z",i+""!="[object z]"&&e(20)(Object.prototype,"toString",(function(){return"[object "+t(this)+"]"}),!0)},function(n,l,e){"use strict";for(var t=e(85),i=e(55),a=e(20),o=e(8),r=e(10),u=e(51),s=e(33),c=s("iterator"),d=s("toStringTag"),p=u.Array,m={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=i(m),h=0;h<f.length;h++){var g,b=f[h],v=m[b],_=o[b],y=_&&_.prototype;if(y&&(y[c]||r(y,c,p),y[d]||r(y,d,b),u[b]=p,v))for(g in t)y[g]||a(y,g,t[g],!0)}},function(n,l,e){"use strict";var t=e(46),i=e(86),a=e(51),o=e(43);n.exports=e(50)(Array,"Array",(function(n,l){this._t=o(n),this._i=0,this._k=l}),(function(){var n=this._t,l=this._k,e=this._i++;return!n||e>=n.length?(this._t=void 0,i(1)):i(0,"keys"==l?e:"values"==l?n[e]:[e,n[e]])}),"values"),a.Arguments=a.Array,t("keys"),t("values"),t("entries")},function(n,l,e){"use strict";n.exports=function(n,l){return{value:l,done:!!n}}},function(n,l,e){"use strict";var t,i,a,o,r=e(25),u=e(8),s=e(26),c=e(68),d=e(7),p=e(13),m=e(27),f=e(88),h=e(89),g=e(90),b=e(91).set,v=e(93)(),_=e(94),y=e(95),w=e(96),x=e(97),C=u.TypeError,k=u.process,S=k&&k.versions,I=S&&S.v8||"",A=u.Promise,M="process"==c(k),P=function(){},D=i=_.f,F=!!function(){try{var n=A.resolve(1),l=(n.constructor={})[e(33)("species")]=function(n){n(P,P)};return(M||"function"==typeof PromiseRejectionEvent)&&n.then(P)instanceof l&&0!==I.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),E=function(n){var l;return!(!p(n)||"function"!=typeof(l=n.then))&&l},O=function(n,l){if(!n._n){n._n=!0;var e=n._c;v((function(){for(var t=n._v,i=1==n._s,a=0,o=function(l){var e,a,o,r=i?l.ok:l.fail,u=l.resolve,s=l.reject,c=l.domain;try{r?(i||(2==n._h&&R(n),n._h=1),!0===r?e=t:(c&&c.enter(),e=r(t),c&&(c.exit(),o=!0)),e===l.promise?s(C("Promise-chain cycle")):(a=E(e))?a.call(e,u,s):u(e)):s(t)}catch(d){c&&!o&&c.exit(),s(d)}};e.length>a;)o(e[a++]);n._c=[],n._n=!1,l&&!n._h&&T(n)}))}},T=function(n){b.call(u,(function(){var l,e,t,i=n._v,a=L(n);if(a&&(l=y((function(){M?k.emit("unhandledRejection",i,n):(e=u.onunhandledrejection)?e({promise:n,reason:i}):(t=u.console)&&t.error&&t.error("Unhandled promise rejection",i)})),n._h=M||L(n)?2:1),n._a=void 0,a&&l.e)throw l.v}))},L=function(n){return 1!==n._h&&0===(n._a||n._c).length},R=function(n){b.call(u,(function(){var l;M?k.emit("rejectionHandled",n):(l=u.onrejectionhandled)&&l({promise:n,reason:n._v})}))},N=function(n){var l=this;l._d||(l._d=!0,(l=l._w||l)._v=n,l._s=2,l._a||(l._a=l._c.slice()),O(l,!0))},j=function n(l){var e,t=this;if(!t._d){t._d=!0,t=t._w||t;try{if(t===l)throw C("Promise can't be resolved itself");(e=E(l))?v((function(){var i={_w:t,_d:!1};try{e.call(l,s(n,i,1),s(N,i,1))}catch(a){N.call(i,a)}})):(t._v=l,t._s=1,O(t,!1))}catch(i){N.call({_w:t,_d:!1},i)}}};F||(A=function(n){f(this,A,"Promise","_h"),m(n),t.call(this);try{n(s(j,this,1),s(N,this,1))}catch(l){N.call(this,l)}},(t=function(n){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=e(98)(A.prototype,{then:function(n,l){var e=D(g(this,A));return e.ok="function"!=typeof n||n,e.fail="function"==typeof l&&l,e.domain=M?k.domain:void 0,this._c.push(e),this._a&&this._a.push(e),this._s&&O(this,!1),e.promise},catch:function(n){return this.then(void 0,n)}}),a=function(){var n=new t;this.promise=n,this.resolve=s(j,n,1),this.reject=s(N,n,1)},_.f=D=function(n){return n===A||n===o?new a(n):i(n)}),d(d.G+d.W+d.F*!F,{Promise:A}),e(60)(A,"Promise"),e(99)("Promise"),o=e(9).Promise,d(d.S+d.F*!F,"Promise",{reject:function(n){var l=D(this);return(0,l.reject)(n),l.promise}}),d(d.S+d.F*(r||!F),"Promise",{resolve:function(n){return x(r&&this===o?A:this,n)}}),d(d.S+d.F*!(F&&e(69)((function(n){A.all(n).catch(P)}))),"Promise",{all:function(n){var l=this,e=D(l),t=e.resolve,i=e.reject,a=y((function(){var e=[],a=0,o=1;h(n,!1,(function(n){var r=a++,u=!1;e.push(void 0),o++,l.resolve(n).then((function(n){u||(u=!0,e[r]=n,--o||t(e))}),i)})),--o||t(e)}));return a.e&&i(a.v),e.promise},race:function(n){var l=this,e=D(l),t=e.reject,i=y((function(){h(n,!1,(function(n){l.resolve(n).then(e.resolve,t)}))}));return i.e&&t(i.v),e.promise}})},function(n,l,e){"use strict";n.exports=function(n,l,e,t){if(!(n instanceof l)||void 0!==t&&t in n)throw TypeError(e+": incorrect invocation!");return n}},function(n,l,e){"use strict";var t=e(26),i=e(64),a=e(65),o=e(12),r=e(28),u=e(67),s={},c={},d=n.exports=function(n,l,e,d,p){var m,f,h,g,b=p?function(){return n}:u(n),v=t(e,d,l?2:1),_=0;if("function"!=typeof b)throw TypeError(n+" is not iterable!");if(a(b)){for(m=r(n.length);m>_;_++)if((g=l?v(o(f=n[_])[0],f[1]):v(n[_]))===s||g===c)return g}else for(h=b.call(n);!(f=h.next()).done;)if((g=i(h,v,f.value,l))===s||g===c)return g};d.BREAK=s,d.RETURN=c},function(n,l,e){"use strict";var t=e(12),i=e(27),a=e(33)("species");n.exports=function(n,l){var e,o=t(n).constructor;return void 0===o||null==(e=t(o)[a])?l:i(e)}},function(n,l,e){"use strict";var t,i,a,o=e(26),r=e(92),u=e(59),s=e(17),c=e(8),d=c.process,p=c.setImmediate,m=c.clearImmediate,f=c.MessageChannel,h=c.Dispatch,g=0,b={},v=function(){var n=+this;if(b.hasOwnProperty(n)){var l=b[n];delete b[n],l()}},_=function(n){v.call(n.data)};p&&m||(p=function(n){for(var l=[],e=1;arguments.length>e;)l.push(arguments[e++]);return b[++g]=function(){r("function"==typeof n?n:Function(n),l)},t(g),g},m=function(n){delete b[n]},"process"==e(32)(d)?t=function(n){d.nextTick(o(v,n,1))}:h&&h.now?t=function(n){h.now(o(v,n,1))}:f?(a=(i=new f).port2,i.port1.onmessage=_,t=o(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(t=function(n){c.postMessage(n+"","*")},c.addEventListener("message",_,!1)):t="onreadystatechange"in s("script")?function(n){u.appendChild(s("script")).onreadystatechange=function(){u.removeChild(this),v.call(n)}}:function(n){setTimeout(o(v,n,1),0)}),n.exports={set:p,clear:m}},function(n,l,e){"use strict";n.exports=function(n,l,e){var t=void 0===e;switch(l.length){case 0:return t?n():n.call(e);case 1:return t?n(l[0]):n.call(e,l[0]);case 2:return t?n(l[0],l[1]):n.call(e,l[0],l[1]);case 3:return t?n(l[0],l[1],l[2]):n.call(e,l[0],l[1],l[2]);case 4:return t?n(l[0],l[1],l[2],l[3]):n.call(e,l[0],l[1],l[2],l[3])}return n.apply(e,l)}},function(n,l,e){"use strict";var t=e(8),i=e(91).set,a=t.MutationObserver||t.WebKitMutationObserver,o=t.process,r=t.Promise,u="process"==e(32)(o);n.exports=function(){var n,l,e,s=function(){var t,i;for(u&&(t=o.domain)&&t.exit();n;){i=n.fn,n=n.next;try{i()}catch(a){throw n?e():l=void 0,a}}l=void 0,t&&t.enter()};if(u)e=function(){o.nextTick(s)};else if(!a||t.navigator&&t.navigator.standalone)if(r&&r.resolve){var c=r.resolve(void 0);e=function(){c.then(s)}}else e=function(){i.call(t,s)};else{var d=!0,p=document.createTextNode("");new a(s).observe(p,{characterData:!0}),e=function(){p.data=d=!d}}return function(t){var i={fn:t,next:void 0};l&&(l.next=i),n||(n=i,e()),l=i}}},function(n,l,e){"use strict";var t=e(27);function i(n){var l,e;this.promise=new n((function(n,t){if(void 0!==l||void 0!==e)throw TypeError("Bad Promise constructor");l=n,e=t})),this.resolve=t(l),this.reject=t(e)}n.exports.f=function(n){return new i(n)}},function(n,l,e){"use strict";n.exports=function(n){try{return{e:!1,v:n()}}catch(l){return{e:!0,v:l}}}},function(n,l,e){"use strict";var t=e(8).navigator;n.exports=t&&t.userAgent||""},function(n,l,e){"use strict";var t=e(12),i=e(13),a=e(94);n.exports=function(n,l){if(t(n),i(l)&&l.constructor===n)return l;var e=a.f(n);return(0,e.resolve)(l),e.promise}},function(n,l,e){"use strict";var t=e(20);n.exports=function(n,l,e){for(var i in l)t(n,i,l[i],e);return n}},function(n,l,e){"use strict";var t=e(8),i=e(11),a=e(15),o=e(33)("species");n.exports=function(n){var l=t[n];a&&l&&!l[o]&&i.f(l,o,{configurable:!0,get:function(){return this}})}},function(n,l,e){"use strict";var t=e(7),i=e(9),a=e(8),o=e(90),r=e(97);t(t.P+t.R,"Promise",{finally:function(n){var l=o(this,i.Promise||a.Promise),e="function"==typeof n;return this.then(e?function(e){return r(l,n()).then((function(){return e}))}:n,e?function(e){return r(l,n()).then((function(){throw e}))}:n)}})},function(n,l,e){"use strict";var t=e(7),i=e(94),a=e(95);t(t.S,"Promise",{try:function(n){var l=i.f(this),e=a(n);return(e.e?l.reject:l.resolve)(e.v),l.promise}})},function(n,l,e){"use strict";e(83),e(84),e(103),e(115),e(117),n.exports=e(9).WeakMap},function(n,l,e){"use strict";var t,i=e(8),a=e(104)(0),o=e(20),r=e(108),u=e(72),s=e(109),c=e(13),d=e(110),p=e(110),m=!i.ActiveXObject&&"ActiveXObject"in i,f=r.getWeak,h=Object.isExtensible,g=s.ufstore,b=function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}},v={get:function(n){if(c(n)){var l=f(n);return!0===l?g(d(this,"WeakMap")).get(n):l?l[this._i]:void 0}},set:function(n,l){return s.def(d(this,"WeakMap"),n,l)}},_=n.exports=e(111)("WeakMap",b,v,s,!0,!0);p&&m&&(u((t=s.getConstructor(b,"WeakMap")).prototype,v),r.NEED=!0,a(["delete","has","get","set"],(function(n){var l=_.prototype,e=l[n];o(l,n,(function(l,i){if(c(l)&&!h(l)){this._f||(this._f=new t);var a=this._f[n](l,i);return"set"==n?this:a}return e.call(this,l,i)}))})))},function(n,l,e){"use strict";var t=e(26),i=e(44),a=e(62),o=e(28),r=e(105);n.exports=function(n,l){var e=1==n,u=2==n,s=3==n,c=4==n,d=6==n,p=5==n||d,m=l||r;return function(l,r,f){for(var h,g,b=a(l),v=i(b),_=t(r,f,3),y=o(v.length),w=0,x=e?m(l,y):u?m(l,0):void 0;y>w;w++)if((p||w in v)&&(g=_(h=v[w],w,b),n))if(e)x[w]=g;else if(g)switch(n){case 3:return!0;case 5:return h;case 6:return w;case 2:x.push(h)}else if(c)return!1;return d?-1:s||c?c:x}}},function(n,l,e){"use strict";var t=e(106);n.exports=function(n,l){return new(t(n))(l)}},function(n,l,e){"use strict";var t=e(13),i=e(107),a=e(33)("species");n.exports=function(n){var l;return i(n)&&("function"!=typeof(l=n.constructor)||l!==Array&&!i(l.prototype)||(l=void 0),t(l)&&null===(l=l[a])&&(l=void 0)),void 0===l?Array:l}},function(n,l,e){"use strict";var t=e(32);n.exports=Array.isArray||function(n){return"Array"==t(n)}},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var i=e(22)("meta"),a=e(13),o=e(21),r=e(11).f,u=0,s=Object.isExtensible||function(){return!0},c=!e(16)((function(){return s(Object.preventExtensions({}))})),d=function(n){r(n,i,{value:{i:"O"+ ++u,w:{}}})},p=n.exports={KEY:i,NEED:!1,fastKey:function(n,l){if(!a(n))return"symbol"==t(n)?n:("string"==typeof n?"S":"P")+n;if(!o(n,i)){if(!s(n))return"F";if(!l)return"E";d(n)}return n[i].i},getWeak:function(n,l){if(!o(n,i)){if(!s(n))return!0;if(!l)return!1;d(n)}return n[i].w},onFreeze:function(n){return c&&p.NEED&&s(n)&&!o(n,i)&&d(n),n}}},function(n,l,e){"use strict";var t=e(98),i=e(108).getWeak,a=e(12),o=e(13),r=e(88),u=e(89),s=e(104),c=e(21),d=e(110),p=s(5),m=s(6),f=0,h=function(n){return n._l||(n._l=new g)},g=function(){this.a=[]},b=function(n,l){return p(n.a,(function(n){return n[0]===l}))};g.prototype={get:function(n){var l=b(this,n);if(l)return l[1]},has:function(n){return!!b(this,n)},set:function(n,l){var e=b(this,n);e?e[1]=l:this.a.push([n,l])},delete:function(n){var l=m(this.a,(function(l){return l[0]===n}));return~l&&this.a.splice(l,1),!!~l}},n.exports={getConstructor:function(n,l,e,a){var s=n((function(n,t){r(n,s,l,"_i"),n._t=l,n._i=f++,n._l=void 0,null!=t&&u(t,e,n[a],n)}));return t(s.prototype,{delete:function(n){if(!o(n))return!1;var e=i(n);return!0===e?h(d(this,l)).delete(n):e&&c(e,this._i)&&delete e[this._i]},has:function(n){if(!o(n))return!1;var e=i(n);return!0===e?h(d(this,l)).has(n):e&&c(e,this._i)}}),s},def:function(n,l,e){var t=i(a(l),!0);return!0===t?h(n).set(l,e):t[n._i]=e,n},ufstore:h}},function(n,l,e){"use strict";var t=e(13);n.exports=function(n,l){if(!t(n)||n._t!==l)throw TypeError("Incompatible receiver, "+l+" required!");return n}},function(n,l,e){"use strict";var t=e(8),i=e(7),a=e(20),o=e(98),r=e(108),u=e(89),s=e(88),c=e(13),d=e(16),p=e(69),m=e(60),f=e(112);n.exports=function(n,l,e,h,g,b){var v=t[n],_=v,y=g?"set":"add",w=_&&_.prototype,x={},C=function(n){var l=w[n];a(w,n,"delete"==n?function(n){return!(b&&!c(n))&&l.call(this,0===n?0:n)}:"has"==n?function(n){return!(b&&!c(n))&&l.call(this,0===n?0:n)}:"get"==n?function(n){return b&&!c(n)?void 0:l.call(this,0===n?0:n)}:"add"==n?function(n){return l.call(this,0===n?0:n),this}:function(n,e){return l.call(this,0===n?0:n,e),this})};if("function"==typeof _&&(b||w.forEach&&!d((function(){(new _).entries().next()})))){var k=new _,S=k[y](b?{}:-0,1)!=k,I=d((function(){k.has(1)})),A=p((function(n){new _(n)})),M=!b&&d((function(){for(var n=new _,l=5;l--;)n[y](l,l);return!n.has(-0)}));A||((_=l((function(l,e){s(l,_,n);var t=f(new v,l,_);return null!=e&&u(e,g,t[y],t),t}))).prototype=w,w.constructor=_),(I||M)&&(C("delete"),C("has"),g&&C("get")),(M||S)&&C(y),b&&w.clear&&delete w.clear}else _=h.getConstructor(l,n,g,y),o(_.prototype,e),r.NEED=!0;return m(_,n),x[n]=_,i(i.G+i.W+i.F*(_!=v),x),b||h.setStrong(_,n,g),_}},function(n,l,e){"use strict";var t=e(13),i=e(113).set;n.exports=function(n,l,e){var a,o=l.constructor;return o!==e&&"function"==typeof o&&(a=o.prototype)!==e.prototype&&t(a)&&i&&i(n,a),n}},function(n,l,e){"use strict";var t=e(13),i=e(12),a=function(n,l){if(i(n),!t(l)&&null!==l)throw TypeError(l+": can't set as prototype!")};n.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(n,l,t){try{(t=e(26)(Function.call,e(114).f(Object.prototype,"__proto__").set,2))(n,[]),l=!(n instanceof Array)}catch(i){l=!0}return function(n,e){return a(n,e),l?n.__proto__=e:t(n,e),n}}({},!1):void 0),check:a}},function(n,l,e){"use strict";var t=e(74),i=e(19),a=e(43),o=e(18),r=e(21),u=e(14),s=Object.getOwnPropertyDescriptor;l.f=e(15)?s:function(n,l){if(n=a(n),l=o(l,!0),u)try{return s(n,l)}catch(e){}if(r(n,l))return i(!t.f.call(n,l),n[l])}},function(n,l,e){"use strict";e(116)("WeakMap")},function(n,l,e){"use strict";var t=e(7);n.exports=function(n){t(t.S,n,{of:function(){for(var n=arguments.length,l=new Array(n);n--;)l[n]=arguments[n];return new this(l)}})}},function(n,l,e){"use strict";e(118)("WeakMap")},function(n,l,e){"use strict";var t=e(7),i=e(27),a=e(26),o=e(89);n.exports=function(n){t(t.S,n,{from:function(n){var l,e,t,r,u=arguments[1];return i(this),(l=void 0!==u)&&i(u),null==n?new this:(e=[],l?(t=0,r=a(u,arguments[2],2),o(n,!1,(function(n){e.push(r(n,t++))}))):o(n,!1,e.push,e),new this(e))}})}},function(n,l,e){"use strict";e(83),e(84),e(120),e(121),e(122),n.exports=e(9).WeakSet},function(n,l,e){"use strict";var t=e(109),i=e(110);e(111)("WeakSet",(function(n){return function(){return n(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(n){return t.def(i(this,"WeakSet"),n,!0)}},t,!1,!0)},function(n,l,e){"use strict";e(116)("WeakSet")},function(n,l,e){"use strict";e(118)("WeakSet")},function(n,l,e){"use strict";e(124),n.exports=e(9).String.codePointAt},function(n,l,e){"use strict";var t=e(7),i=e(49)(!1);t(t.P,"String",{codePointAt:function(n){return i(this,n)}})},function(n,l,e){"use strict";e(126),n.exports=e(9).String.fromCodePoint},function(n,l,e){"use strict";var t=e(7),i=e(45),a=String.fromCharCode,o=String.fromCodePoint;t(t.S+t.F*(!!o&&1!=o.length),"String",{fromCodePoint:function(n){for(var l,e=[],t=arguments.length,o=0;t>o;){if(l=+arguments[o++],i(l,1114111)!==l)throw RangeError(l+" is not a valid code point");e.push(l<65536?a(l):a(55296+((l-=65536)>>10),l%1024+56320))}return e.join("")}})},function(n,l,e){"use strict";e(128),e(83),n.exports=e(9).Symbol},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var i=e(8),a=e(21),o=e(15),r=e(7),u=e(20),s=e(108).KEY,c=e(16),d=e(24),p=e(60),m=e(22),f=e(33),h=e(129),g=e(130),b=e(131),v=e(107),_=e(12),y=e(13),w=e(62),x=e(43),C=e(18),k=e(19),S=e(53),I=e(132),A=e(114),M=e(73),P=e(11),D=e(55),F=A.f,E=P.f,O=I.f,T=i.Symbol,L=i.JSON,R=L&&L.stringify,N=f("_hidden"),j=f("toPrimitive"),V={}.propertyIsEnumerable,q=d("symbol-registry"),z=d("symbols"),U=d("op-symbols"),B=Object.prototype,$="function"==typeof T&&!!M.f,H=i.QObject,G=!H||!H.prototype||!H.prototype.findChild,W=o&&c((function(){return 7!=S(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a}))?function(n,l,e){var t=F(B,l);t&&delete B[l],E(n,l,e),t&&n!==B&&E(B,l,t)}:E,K=function(n){var l=z[n]=S(T.prototype);return l._k=n,l},Y=$&&"symbol"==t(T.iterator)?function(n){return"symbol"==t(n)}:function(n){return n instanceof T},J=function(n,l,e){return n===B&&J(U,l,e),_(n),l=C(l,!0),_(e),a(z,l)?(e.enumerable?(a(n,N)&&n[N][l]&&(n[N][l]=!1),e=S(e,{enumerable:k(0,!1)})):(a(n,N)||E(n,N,k(1,{})),n[N][l]=!0),W(n,l,e)):E(n,l,e)},Z=function(n,l){_(n);for(var e,t=b(l=x(l)),i=0,a=t.length;a>i;)J(n,e=t[i++],l[e]);return n},Q=function(n){var l=V.call(this,n=C(n,!0));return!(this===B&&a(z,n)&&!a(U,n))&&(!(l||!a(this,n)||!a(z,n)||a(this,N)&&this[N][n])||l)},X=function(n,l){if(n=x(n),l=C(l,!0),n!==B||!a(z,l)||a(U,l)){var e=F(n,l);return!e||!a(z,l)||a(n,N)&&n[N][l]||(e.enumerable=!0),e}},nn=function(n){for(var l,e=O(x(n)),t=[],i=0;e.length>i;)a(z,l=e[i++])||l==N||l==s||t.push(l);return t},ln=function(n){for(var l,e=n===B,t=O(e?U:x(n)),i=[],o=0;t.length>o;)!a(z,l=t[o++])||e&&!a(B,l)||i.push(z[l]);return i};$||(u((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var n=m(arguments.length>0?arguments[0]:void 0),l=function l(e){this===B&&l.call(U,e),a(this,N)&&a(this[N],n)&&(this[N][n]=!1),W(this,n,k(1,e))};return o&&G&&W(B,n,{configurable:!0,set:l}),K(n)}).prototype,"toString",(function(){return this._k})),A.f=X,P.f=J,e(133).f=I.f=nn,e(74).f=Q,M.f=ln,o&&!e(25)&&u(B,"propertyIsEnumerable",Q,!0),h.f=function(n){return K(f(n))}),r(r.G+r.W+r.F*!$,{Symbol:T});for(var en="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),tn=0;en.length>tn;)f(en[tn++]);for(var an=D(f.store),on=0;an.length>on;)g(an[on++]);r(r.S+r.F*!$,"Symbol",{for:function(n){return a(q,n+="")?q[n]:q[n]=T(n)},keyFor:function(n){if(!Y(n))throw TypeError(n+" is not a symbol!");for(var l in q)if(q[l]===n)return l},useSetter:function(){G=!0},useSimple:function(){G=!1}}),r(r.S+r.F*!$,"Object",{create:function(n,l){return void 0===l?S(n):Z(S(n),l)},defineProperty:J,defineProperties:Z,getOwnPropertyDescriptor:X,getOwnPropertyNames:nn,getOwnPropertySymbols:ln});var rn=c((function(){M.f(1)}));r(r.S+r.F*rn,"Object",{getOwnPropertySymbols:function(n){return M.f(w(n))}}),L&&r(r.S+r.F*(!$||c((function(){var n=T();return"[null]"!=R([n])||"{}"!=R({a:n})||"{}"!=R(Object(n))}))),"JSON",{stringify:function(n){for(var l,e,t=[n],i=1;arguments.length>i;)t.push(arguments[i++]);if(e=l=t[1],(y(l)||void 0!==n)&&!Y(n))return v(l)||(l=function(n,l){if("function"==typeof e&&(l=e.call(this,n,l)),!Y(l))return l}),t[1]=l,R.apply(L,t)}}),T.prototype[j]||e(10)(T.prototype,j,T.prototype.valueOf),p(T,"Symbol"),p(Math,"Math",!0),p(i.JSON,"JSON",!0)},function(n,l,e){"use strict";l.f=e(33)},function(n,l,e){"use strict";var t=e(8),i=e(9),a=e(25),o=e(129),r=e(11).f;n.exports=function(n){var l=i.Symbol||(i.Symbol=a?{}:t.Symbol||{});"_"==n.charAt(0)||n in l||r(l,n,{value:o.f(n)})}},function(n,l,e){"use strict";var t=e(55),i=e(73),a=e(74);n.exports=function(n){var l=t(n),e=i.f;if(e)for(var o,r=e(n),u=a.f,s=0;r.length>s;)u.call(n,o=r[s++])&&l.push(o);return l}},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var i=e(43),a=e(133).f,o={}.toString,r="object"==("undefined"==typeof window?"undefined":t(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];n.exports.f=function(n){return r&&"[object Window]"==o.call(n)?function(n){try{return a(n)}catch(l){return r.slice()}}(n):a(i(n))}},function(n,l,e){"use strict";var t=e(56),i=e(58).concat("length","prototype");l.f=Object.getOwnPropertyNames||function(n){return t(n,i)}},function(n,l,e){"use strict";e(135),n.exports=e(9).String.padStart},function(n,l,e){"use strict";var t=e(7),i=e(136),a=e(96),o=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);t(t.P+t.F*o,"String",{padStart:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0,!0)}})},function(n,l,e){"use strict";var t=e(28),i=e(137),a=e(34);n.exports=function(n,l,e,o){var r=String(a(n)),u=r.length,s=void 0===e?" ":String(e),c=t(l);if(c<=u||""==s)return r;var d=c-u,p=i.call(s,Math.ceil(d/s.length));return p.length>d&&(p=p.slice(0,d)),o?p+r:r+p}},function(n,l,e){"use strict";var t=e(29),i=e(34);n.exports=function(n){var l=String(i(this)),e="",a=t(n);if(a<0||a==1/0)throw RangeError("Count can't be negative");for(;a>0;(a>>>=1)&&(l+=l))1&a&&(e+=l);return e}},function(n,l,e){"use strict";e(139),n.exports=e(9).String.padEnd},function(n,l,e){"use strict";var t=e(7),i=e(136),a=e(96),o=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(a);t(t.P+t.F*o,"String",{padEnd:function(n){return i(this,n,arguments.length>1?arguments[1]:void 0,!1)}})},function(n,l,e){"use strict";e(141),n.exports=e(9).Object.values},function(n,l,e){"use strict";var t=e(7),i=e(142)(!1);t(t.S,"Object",{values:function(n){return i(n)}})},function(n,l,e){"use strict";var t=e(15),i=e(55),a=e(43),o=e(74).f;n.exports=function(n){return function(l){for(var e,r=a(l),u=i(r),s=u.length,c=0,d=[];s>c;)e=u[c++],t&&!o.call(r,e)||d.push(n?[e,r[e]]:r[e]);return d}}},function(n,l,e){"use strict";var t=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(n){n.close()}}),t=!0}catch(i){}l.ReadableStream=t?ReadableStream:e(144).ReadableStream},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}!function(n,l){for(var e in l)n[e]=l[e]}(l,function(n){var l={};function e(t){if(l[t])return l[t].exports;var i=l[t]={i:t,l:!1,exports:{}};return n[t].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=l,e.i=function(n){return n},e.d=function(n,l,t){e.o(n,l)||Object.defineProperty(n,l,{configurable:!1,enumerable:!0,get:t})},e.n=function(n){var l=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(l,"a",l),l},e.o=function(n,l){return Object.prototype.hasOwnProperty.call(n,l)},e.p="",e(e.s=7)}([function(n,l,e){var i="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(n){return t(n)}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":t(n)},a=e(1).assert;function o(n){return"string"==typeof n||"symbol"===(void 0===n?"undefined":i(n))}function r(n,l,e){if("function"!=typeof n)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(n,l,e)}l.typeIsObject=function(n){return"object"===(void 0===n?"undefined":i(n))&&null!==n||"function"==typeof n},l.createDataProperty=function(n,e,t){a(l.typeIsObject(n)),Object.defineProperty(n,e,{value:t,writable:!0,enumerable:!0,configurable:!0})},l.createArrayFromList=function(n){return n.slice()},l.ArrayBufferCopy=function(n,l,e,t,i){new Uint8Array(n).set(new Uint8Array(e,t,i),l)},l.CreateIterResultObject=function(n,l){a("boolean"==typeof l);var e={};return Object.defineProperty(e,"value",{value:n,enumerable:!0,writable:!0,configurable:!0}),Object.defineProperty(e,"done",{value:l,enumerable:!0,writable:!0,configurable:!0}),e},l.IsFiniteNonNegativeNumber=function(n){return!(Number.isNaN(n)||n===1/0||n<0)},l.InvokeOrNoop=function(n,l,e){a(void 0!==n),a(o(l)),a(Array.isArray(e));var t=n[l];if(void 0!==t)return r(t,n,e)},l.PromiseInvokeOrNoop=function(n,e,t){a(void 0!==n),a(o(e)),a(Array.isArray(t));try{return Promise.resolve(l.InvokeOrNoop(n,e,t))}catch(i){return Promise.reject(i)}},l.PromiseInvokeOrPerformFallback=function(n,l,e,t,i){a(void 0!==n),a(o(l)),a(Array.isArray(e)),a(Array.isArray(i));var u=void 0;try{u=n[l]}catch(s){return Promise.reject(s)}if(void 0===u)return t.apply(null,i);try{return Promise.resolve(r(u,n,e))}catch(c){return Promise.reject(c)}},l.TransferArrayBuffer=function(n){return n.slice()},l.ValidateAndNormalizeHighWaterMark=function(n){if(n=Number(n),Number.isNaN(n)||n<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return n},l.ValidateAndNormalizeQueuingStrategy=function(n,e){if(void 0!==n&&"function"!=typeof n)throw new TypeError("size property of a queuing strategy must be a function");return{size:n,highWaterMark:e=l.ValidateAndNormalizeHighWaterMark(e)}}},function(n,l,e){function t(n){this.name="AssertionError",this.message=n||"",this.stack=(new Error).stack}(t.prototype=Object.create(Error.prototype)).constructor=t,n.exports={rethrowAssertionErrorRejection:function(n){n&&n.constructor===t&&setTimeout((function(){throw n}),0)},AssertionError:t,assert:function(n,l){if(!n)throw new t(l)}}},function(n,l,e){var t=function(){function n(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(l,e,t){return e&&n(l.prototype,e),t&&n(l,t),l}}();function i(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}var a=e(0),o=a.InvokeOrNoop,r=a.PromiseInvokeOrNoop,u=a.ValidateAndNormalizeQueuingStrategy,s=a.typeIsObject,c=e(1),d=c.assert,p=c.rethrowAssertionErrorRejection,m=e(3),f=m.DequeueValue,h=m.EnqueueValueWithSize,g=m.PeekQueueValue,b=m.ResetQueue,v=function(){function n(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.size,a=e.highWaterMark,o=void 0===a?1:a;if(i(this,n),this._state="writable",this._storedError=void 0,this._writer=void 0,this._writableStreamController=void 0,this._writeRequests=[],this._inFlightWriteRequest=void 0,this._closeRequest=void 0,this._inFlightCloseRequest=void 0,this._pendingAbortRequest=void 0,this._backpressure=!1,void 0!==l.type)throw new RangeError("Invalid type is specified");this._writableStreamController=new R(this,l,t,o),this._writableStreamController.__startSteps()}return t(n,[{key:"abort",value:function(n){return!1===y(this)?Promise.reject(U("abort")):!0===w(this)?Promise.reject(new TypeError("Cannot abort a stream that already has a writer")):x(this,n)}},{key:"getWriter",value:function(){if(!1===y(this))throw U("getWriter");return _(this)}},{key:"locked",get:function(){if(!1===y(this))throw U("locked");return w(this)}}]),n}();function _(n){return new D(n)}function y(n){return!!s(n)&&!!Object.prototype.hasOwnProperty.call(n,"_writableStreamController")}function w(n){return d(!0===y(n),"IsWritableStreamLocked should only be used on known writable streams"),void 0!==n._writer}function x(n,l){var e=n._state;if("closed"===e)return Promise.resolve(void 0);if("errored"===e)return Promise.reject(n._storedError);var t=new TypeError("Requested to abort");if(void 0!==n._pendingAbortRequest)return Promise.reject(t);d("writable"===e||"erroring"===e,"state must be writable or erroring");var i=!1;"erroring"===e&&(i=!0,l=void 0);var a=new Promise((function(e,t){n._pendingAbortRequest={_resolve:e,_reject:t,_reason:l,_wasAlreadyErroring:i}}));return!1===i&&k(n,t),a}function C(n,l){var e=n._state;"writable"!==e?(d("erroring"===e),S(n)):k(n,l)}function k(n,l){d(void 0===n._storedError,"stream._storedError === undefined"),d("writable"===n._state,"state must be writable");var e=n._writableStreamController;d(void 0!==e,"controller must not be undefined"),n._state="erroring",n._storedError=l;var t=n._writer;void 0!==t&&O(t,l),!1===A(n)&&!0===e._started&&S(n)}function S(n){d("erroring"===n._state,"stream._state === erroring"),d(!1===A(n),"WritableStreamHasOperationMarkedInFlight(stream) === false"),n._state="errored",n._writableStreamController.__errorSteps();for(var l=n._storedError,e=0;e<n._writeRequests.length;e++)n._writeRequests[e]._reject(l);if(n._writeRequests=[],void 0!==n._pendingAbortRequest){var t=n._pendingAbortRequest;if(n._pendingAbortRequest=void 0,!0===t._wasAlreadyErroring)return t._reject(l),void M(n);n._writableStreamController.__abortSteps(t._reason).then((function(){t._resolve(),M(n)}),(function(l){t._reject(l),M(n)}))}else M(n)}function I(n){return void 0!==n._closeRequest||void 0!==n._inFlightCloseRequest}function A(n){return void 0!==n._inFlightWriteRequest||void 0!==n._inFlightCloseRequest}function M(n){d("errored"===n._state,'_stream_.[[state]] is `"errored"`'),void 0!==n._closeRequest&&(d(void 0===n._inFlightCloseRequest),n._closeRequest._reject(n._storedError),n._closeRequest=void 0);var l=n._writer;void 0!==l&&(G(l,n._storedError),l._closedPromise.catch((function(){})))}function P(n,l){d("writable"===n._state),d(!1===I(n));var e=n._writer;void 0!==e&&l!==n._backpressure&&(!0===l?function(n){d(void 0===n._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===n._readyPromise_reject,"writer._readyPromise_reject === undefined"),n._readyPromise=new Promise((function(l,e){n._readyPromise_resolve=l,n._readyPromise_reject=e})),n._readyPromiseState="pending"}(e):(d(!1===l),Y(e))),n._backpressure=l}n.exports={AcquireWritableStreamDefaultWriter:_,IsWritableStream:y,IsWritableStreamLocked:w,WritableStream:v,WritableStreamAbort:x,WritableStreamDefaultControllerError:z,WritableStreamDefaultWriterCloseWithErrorPropagation:function(n){var l=n._ownerWritableStream;d(void 0!==l);var e=l._state;return!0===I(l)||"closed"===e?Promise.resolve():"errored"===e?Promise.reject(l._storedError):(d("writable"===e||"erroring"===e),E(n))},WritableStreamDefaultWriterRelease:T,WritableStreamDefaultWriterWrite:L,WritableStreamCloseQueuedOrInFlight:I};var D=function(){function n(l){if(i(this,n),!1===y(l))throw new TypeError("WritableStreamDefaultWriter can only be constructed with a WritableStream instance");if(!0===w(l))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=l,l._writer=this;var e,t=l._state;if("writable"===t)!1===I(l)&&!0===l._backpressure?((e=this)._readyPromise=new Promise((function(n,l){e._readyPromise_resolve=n,e._readyPromise_reject=l})),e._readyPromiseState="pending"):K(this),H(this);else if("erroring"===t)W(this,l._storedError),this._readyPromise.catch((function(){})),H(this);else if("closed"===t)K(this),function(n){n._closedPromise=Promise.resolve(void 0),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0,n._closedPromiseState="resolved"}(this);else{d("errored"===t,"state must be errored");var a=l._storedError;W(this,a),this._readyPromise.catch((function(){})),function(n,l){n._closedPromise=Promise.reject(l),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0,n._closedPromiseState="rejected"}(this,a),this._closedPromise.catch((function(){}))}}return t(n,[{key:"abort",value:function(n){return!1===F(this)?Promise.reject(B("abort")):void 0===this._ownerWritableStream?Promise.reject($("abort")):function(n,l){var e=n._ownerWritableStream;return d(void 0!==e),x(e,l)}(this,n)}},{key:"close",value:function(){if(!1===F(this))return Promise.reject(B("close"));var n=this._ownerWritableStream;return void 0===n?Promise.reject($("close")):!0===I(n)?Promise.reject(new TypeError("cannot close an already-closing stream")):E(this)}},{key:"releaseLock",value:function(){if(!1===F(this))throw B("releaseLock");var n=this._ownerWritableStream;void 0!==n&&(d(void 0!==n._writer),T(this))}},{key:"write",value:function(n){return!1===F(this)?Promise.reject(B("write")):void 0===this._ownerWritableStream?Promise.reject($("write to")):L(this,n)}},{key:"closed",get:function(){return!1===F(this)?Promise.reject(B("closed")):this._closedPromise}},{key:"desiredSize",get:function(){if(!1===F(this))throw B("desiredSize");if(void 0===this._ownerWritableStream)throw $("desiredSize");return"errored"===(l=(n=this._ownerWritableStream)._state)||"erroring"===l?null:"closed"===l?0:N(n._writableStreamController);var n,l}},{key:"ready",get:function(){return!1===F(this)?Promise.reject(B("ready")):this._readyPromise}}]),n}();function F(n){return!!s(n)&&!!Object.prototype.hasOwnProperty.call(n,"_ownerWritableStream")}function E(n){var l=n._ownerWritableStream;d(void 0!==l);var e=l._state;if("closed"===e||"errored"===e)return Promise.reject(new TypeError("The stream (in "+e+" state) is not in the writable state and cannot be closed"));d("writable"===e||"erroring"===e),d(!1===I(l));var t,i=new Promise((function(n,e){l._closeRequest={_resolve:n,_reject:e}}));return!0===l._backpressure&&"writable"===e&&Y(n),h(t=l._writableStreamController,"close",0),j(t),i}function O(n,l){"pending"===n._readyPromiseState?function(n,l){d(void 0!==n._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==n._readyPromise_reject,"writer._readyPromise_reject !== undefined"),n._readyPromise_reject(l),n._readyPromise_resolve=void 0,n._readyPromise_reject=void 0,n._readyPromiseState="rejected"}(n,l):function(n,l){d(void 0===n._readyPromise_resolve,"writer._readyPromise_resolve === undefined"),d(void 0===n._readyPromise_reject,"writer._readyPromise_reject === undefined"),n._readyPromise=Promise.reject(l),n._readyPromiseState="rejected"}(n,l),n._readyPromise.catch((function(){}))}function T(n){var l=n._ownerWritableStream;d(void 0!==l),d(l._writer===n);var e=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");O(n,e),function(n,l){"pending"===n._closedPromiseState?G(n,l):function(n,l){d(void 0===n._closedPromise_resolve,"writer._closedPromise_resolve === undefined"),d(void 0===n._closedPromise_reject,"writer._closedPromise_reject === undefined"),d("pending"!==n._closedPromiseState,"writer._closedPromiseState is not pending"),n._closedPromise=Promise.reject(l),n._closedPromiseState="rejected"}(n,l),n._closedPromise.catch((function(){}))}(n,e),l._writer=void 0,n._ownerWritableStream=void 0}function L(n,l){var e=n._ownerWritableStream;d(void 0!==e);var t=e._writableStreamController,i=function(n,l){var e=n._strategySize;if(void 0===e)return 1;try{return e(l)}catch(t){return V(n,t),1}}(t,l);if(e!==n._ownerWritableStream)return Promise.reject($("write to"));var a=e._state;if("errored"===a)return Promise.reject(e._storedError);if(!0===I(e)||"closed"===a)return Promise.reject(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===a)return Promise.reject(e._storedError);d("writable"===a);var o=function(n){return d(!0===w(n)),d("writable"===n._state),new Promise((function(l,e){n._writeRequests.push({_resolve:l,_reject:e})}))}(e);return function(n,l,e){var t={chunk:l};try{h(n,t,e)}catch(a){return void V(n,a)}var i=n._controlledWritableStream;!1===I(i)&&"writable"===i._state&&P(i,q(n)),j(n)}(t,l,i),o}var R=function(){function n(l,e,t,a){if(i(this,n),!1===y(l))throw new TypeError("WritableStreamDefaultController can only be constructed with a WritableStream instance");if(void 0!==l._writableStreamController)throw new TypeError("WritableStreamDefaultController instances can only be created by the WritableStream constructor");this._controlledWritableStream=l,this._underlyingSink=e,this._queue=void 0,this._queueTotalSize=void 0,b(this),this._started=!1;var o=u(t,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark,P(l,q(this))}return t(n,[{key:"error",value:function(n){if(0==(!!s(this)&&!!Object.prototype.hasOwnProperty.call(this,"_underlyingSink")))throw new TypeError("WritableStreamDefaultController.prototype.error can only be used on a WritableStreamDefaultController");"writable"===this._controlledWritableStream._state&&z(this,n)}},{key:"__abortSteps",value:function(n){return r(this._underlyingSink,"abort",[n])}},{key:"__errorSteps",value:function(){b(this)}},{key:"__startSteps",value:function(){var n=this,l=o(this._underlyingSink,"start",[this]),e=this._controlledWritableStream;Promise.resolve(l).then((function(){d("writable"===e._state||"erroring"===e._state),n._started=!0,j(n)}),(function(l){d("writable"===e._state||"erroring"===e._state),n._started=!0,C(e,l)})).catch(p)}}]),n}();function N(n){return n._strategyHWM-n._queueTotalSize}function j(n){var l=n._controlledWritableStream;if(!1!==n._started&&void 0===l._inFlightWriteRequest){var e=l._state;if("closed"!==e&&"errored"!==e)if("erroring"!==e){if(0!==n._queue.length){var t=g(n);"close"===t?function(n){var l=n._controlledWritableStream;(function(n){d(void 0===n._inFlightCloseRequest),d(void 0!==n._closeRequest),n._inFlightCloseRequest=n._closeRequest,n._closeRequest=void 0})(l),f(n),d(0===n._queue.length,"queue must be empty once the final write record is dequeued"),r(n._underlyingSink,"close",[]).then((function(){!function(n){d(void 0!==n._inFlightCloseRequest),n._inFlightCloseRequest._resolve(void 0),n._inFlightCloseRequest=void 0;var l=n._state;d("writable"===l||"erroring"===l),"erroring"===l&&(n._storedError=void 0,void 0!==n._pendingAbortRequest&&(n._pendingAbortRequest._resolve(),n._pendingAbortRequest=void 0)),n._state="closed";var e=n._writer;void 0!==e&&function(n){d(void 0!==n._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==n._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===n._closedPromiseState,"writer._closedPromiseState is pending"),n._closedPromise_resolve(void 0),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0,n._closedPromiseState="resolved"}(e),d(void 0===n._pendingAbortRequest,"stream._pendingAbortRequest === undefined"),d(void 0===n._storedError,"stream._storedError === undefined")}(l)}),(function(n){!function(n,l){d(void 0!==n._inFlightCloseRequest),n._inFlightCloseRequest._reject(l),n._inFlightCloseRequest=void 0,d("writable"===n._state||"erroring"===n._state),void 0!==n._pendingAbortRequest&&(n._pendingAbortRequest._reject(l),n._pendingAbortRequest=void 0),C(n,l)}(l,n)})).catch(p)}(n):function(n,l){var e=n._controlledWritableStream;(function(n){d(void 0===n._inFlightWriteRequest,"there must be no pending write request"),d(0!==n._writeRequests.length,"writeRequests must not be empty"),n._inFlightWriteRequest=n._writeRequests.shift()})(e),r(n._underlyingSink,"write",[l,n]).then((function(){!function(n){d(void 0!==n._inFlightWriteRequest),n._inFlightWriteRequest._resolve(void 0),n._inFlightWriteRequest=void 0}(e);var l=e._state;if(d("writable"===l||"erroring"===l),f(n),!1===I(e)&&"writable"===l){var t=q(n);P(e,t)}j(n)}),(function(n){!function(n,l){d(void 0!==n._inFlightWriteRequest),n._inFlightWriteRequest._reject(l),n._inFlightWriteRequest=void 0,d("writable"===n._state||"erroring"===n._state),C(n,l)}(e,n)})).catch(p)}(n,t.chunk)}}else S(l)}}function V(n,l){"writable"===n._controlledWritableStream._state&&z(n,l)}function q(n){return N(n)<=0}function z(n,l){var e=n._controlledWritableStream;d("writable"===e._state),k(e,l)}function U(n){return new TypeError("WritableStream.prototype."+n+" can only be used on a WritableStream")}function B(n){return new TypeError("WritableStreamDefaultWriter.prototype."+n+" can only be used on a WritableStreamDefaultWriter")}function $(n){return new TypeError("Cannot "+n+" a stream using a released writer")}function H(n){n._closedPromise=new Promise((function(l,e){n._closedPromise_resolve=l,n._closedPromise_reject=e,n._closedPromiseState="pending"}))}function G(n,l){d(void 0!==n._closedPromise_resolve,"writer._closedPromise_resolve !== undefined"),d(void 0!==n._closedPromise_reject,"writer._closedPromise_reject !== undefined"),d("pending"===n._closedPromiseState,"writer._closedPromiseState is pending"),n._closedPromise_reject(l),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0,n._closedPromiseState="rejected"}function W(n,l){n._readyPromise=Promise.reject(l),n._readyPromise_resolve=void 0,n._readyPromise_reject=void 0,n._readyPromiseState="rejected"}function K(n){n._readyPromise=Promise.resolve(void 0),n._readyPromise_resolve=void 0,n._readyPromise_reject=void 0,n._readyPromiseState="fulfilled"}function Y(n){d(void 0!==n._readyPromise_resolve,"writer._readyPromise_resolve !== undefined"),d(void 0!==n._readyPromise_reject,"writer._readyPromise_reject !== undefined"),n._readyPromise_resolve(void 0),n._readyPromise_resolve=void 0,n._readyPromise_reject=void 0,n._readyPromiseState="fulfilled"}},function(n,l,e){var t=e(0).IsFiniteNonNegativeNumber,i=e(1).assert;l.DequeueValue=function(n){i("_queue"in n&&"_queueTotalSize"in n,"Spec-level failure: DequeueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(n._queue.length>0,"Spec-level failure: should never dequeue from an empty queue.");var l=n._queue.shift();return n._queueTotalSize-=l.size,n._queueTotalSize<0&&(n._queueTotalSize=0),l.value},l.EnqueueValueWithSize=function(n,l,e){if(i("_queue"in n&&"_queueTotalSize"in n,"Spec-level failure: EnqueueValueWithSize should only be used on containers with [[queue]] and [[queueTotalSize]]."),e=Number(e),!t(e))throw new RangeError("Size must be a finite, non-NaN, non-negative number.");n._queue.push({value:l,size:e}),n._queueTotalSize+=e},l.PeekQueueValue=function(n){return i("_queue"in n&&"_queueTotalSize"in n,"Spec-level failure: PeekQueueValue should only be used on containers with [[queue]] and [[queueTotalSize]]."),i(n._queue.length>0,"Spec-level failure: should never peek at an empty queue."),n._queue[0].value},l.ResetQueue=function(n){i("_queue"in n&&"_queueTotalSize"in n,"Spec-level failure: ResetQueue should only be used on containers with [[queue]] and [[queueTotalSize]]."),n._queue=[],n._queueTotalSize=0}},function(n,l,e){var t=function(){function n(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(l,e,t){return e&&n(l.prototype,e),t&&n(l,t),l}}();function i(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}var a=e(0),o=a.ArrayBufferCopy,r=a.CreateIterResultObject,u=a.IsFiniteNonNegativeNumber,s=a.InvokeOrNoop,c=a.PromiseInvokeOrNoop,d=a.TransferArrayBuffer,p=a.ValidateAndNormalizeQueuingStrategy,m=a.ValidateAndNormalizeHighWaterMark,f=e(0),h=f.createArrayFromList,g=f.createDataProperty,b=f.typeIsObject,v=e(1),_=v.assert,y=v.rethrowAssertionErrorRejection,w=e(3),x=w.DequeueValue,C=w.EnqueueValueWithSize,k=w.ResetQueue,S=e(2),I=S.AcquireWritableStreamDefaultWriter,A=S.IsWritableStream,M=S.IsWritableStreamLocked,P=S.WritableStreamAbort,D=S.WritableStreamDefaultWriterCloseWithErrorPropagation,F=S.WritableStreamDefaultWriterRelease,E=S.WritableStreamDefaultWriterWrite,O=S.WritableStreamCloseQueuedOrInFlight,T=function(){function n(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.size,a=e.highWaterMark;i(this,n),this._state="readable",this._reader=void 0,this._storedError=void 0,this._disturbed=!1,this._readableStreamController=void 0;var o=l.type;if("bytes"===String(o))void 0===a&&(a=0),this._readableStreamController=new fn(this,l,a);else{if(void 0!==o)throw new RangeError("Invalid type is specified");void 0===a&&(a=1),this._readableStreamController=new an(this,l,t,a)}}return t(n,[{key:"cancel",value:function(n){return!1===N(this)?Promise.reject(Fn("cancel")):!0===j(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):U(this,n)}},{key:"getReader",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.mode;if(!1===N(this))throw Fn("getReader");if(void 0===l)return R(this);if("byob"===(l=String(l)))return L(this);throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(n,l){var e=n.readable;return function(n){try{Promise.prototype.then.call(n,void 0,(function(){}))}catch(l){}}(this.pipeTo(n.writable,l)),e}},{key:"pipeTo",value:function(n){var l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.preventClose,i=e.preventAbort,a=e.preventCancel;if(!1===N(this))return Promise.reject(Fn("pipeTo"));if(!1===A(n))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));if(t=Boolean(t),i=Boolean(i),a=Boolean(a),!0===j(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===M(n))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var o=R(this),r=I(n),u=!1,s=Promise.resolve();return new Promise((function(e,c){var d,p;if(h(l,o._closedPromise,(function(l){!1===i?g((function(){return P(n,l)}),!0,l):b(!0,l)})),h(n,r._closedPromise,(function(n){!1===a?g((function(){return U(l,n)}),!0,n):b(!0,n)})),d=o._closedPromise,p=function(){!1===t?g((function(){return D(r)})):b()},"closed"===l._state?p():d.then(p).catch(y),!0===O(n)||"closed"===n._state){var m=new TypeError("the destination writable stream closed before all data could be piped to it");!1===a?g((function(){return U(l,m)}),!0,m):b(!0,m)}function f(){var n=s;return s.then((function(){return n!==s?f():void 0}))}function h(n,l,e){"errored"===n._state?e(n._storedError):l.catch(e).catch(y)}function g(l,e,t){function i(){l().then((function(){return v(e,t)}),(function(n){return v(!0,n)})).catch(y)}!0!==u&&(u=!0,"writable"===n._state&&!1===O(n)?f().then(i):i())}function b(l,e){!0!==u&&(u=!0,"writable"===n._state&&!1===O(n)?f().then((function(){return v(l,e)})).catch(y):v(l,e))}function v(n,l){F(r),en(o),n?c(l):e(void 0)}(function n(){return s=Promise.resolve(),!0===u?Promise.resolve():r._readyPromise.then((function(){return tn(o).then((function(n){!0!==n.done&&(s=E(r,n.value).catch((function(){})))}))})).then(n)})().catch((function(n){s=Promise.resolve(),y(n)}))}))}},{key:"tee",value:function(){if(!1===N(this))throw Fn("tee");var n=V(this,!1);return h(n)}},{key:"locked",get:function(){if(!1===N(this))throw Fn("locked");return j(this)}}]),n}();function L(n){return new Z(n)}function R(n){return new J(n)}function N(n){return!!b(n)&&!!Object.prototype.hasOwnProperty.call(n,"_readableStreamController")}function j(n){return _(!0===N(n),"IsReadableStreamLocked should only be used on known readable streams"),void 0!==n._reader}function V(n,l){_(!0===N(n)),_("boolean"==typeof l);var e=R(n),t={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:void 0,reason2:void 0};t.promise=new Promise((function(n){t._resolve=n}));var i=function n(){var l=n._branch1,e=n._branch2,t=n._teeState;return tn(n._reader).then((function(n){_(b(n));var i=n.value,a=n.done;if(_("boolean"==typeof a),!0===a&&!1===t.closedOrErrored&&(!1===t.canceled1&&un(l),!1===t.canceled2&&un(e),t.closedOrErrored=!0),!0!==t.closedOrErrored){var o=i;!1===t.canceled1&&sn(l,i),!1===t.canceled2&&sn(e,o)}}))};i._reader=e,i._teeState=t,i._cloneForBranch2=l;var a=function n(l){var e=n._stream,t=n._teeState;if(t.canceled1=!0,t.reason1=l,!0===t.canceled2){var i=U(e,h([t.reason1,t.reason2]));t._resolve(i)}return t.promise};a._stream=n,a._teeState=t;var o=function n(l){var e=n._stream,t=n._teeState;if(t.canceled2=!0,t.reason2=l,!0===t.canceled1){var i=U(e,h([t.reason1,t.reason2]));t._resolve(i)}return t.promise};o._stream=n,o._teeState=t;var r=Object.create(Object.prototype);g(r,"pull",i),g(r,"cancel",a);var u=new T(r),s=Object.create(Object.prototype);g(s,"pull",i),g(s,"cancel",o);var c=new T(s);return i._branch1=u._readableStreamController,i._branch2=c._readableStreamController,e._closedPromise.catch((function(n){!0!==t.closedOrErrored&&(cn(i._branch1,n),cn(i._branch2,n),t.closedOrErrored=!0)})),[u,c]}function q(n){return _(!0===Q(n._reader)),_("readable"===n._state||"closed"===n._state),new Promise((function(l,e){n._reader._readIntoRequests.push({_resolve:l,_reject:e})}))}function z(n){return _(!0===X(n._reader)),_("readable"===n._state),new Promise((function(l,e){n._reader._readRequests.push({_resolve:l,_reject:e})}))}function U(n,l){return n._disturbed=!0,"closed"===n._state?Promise.resolve(void 0):"errored"===n._state?Promise.reject(n._storedError):(B(n),n._readableStreamController.__cancelSteps(l).then((function(){})))}function B(n){_("readable"===n._state),n._state="closed";var l=n._reader;if(void 0!==l){if(!0===X(l)){for(var e=0;e<l._readRequests.length;e++)(0,l._readRequests[e]._resolve)(r(void 0,!0));l._readRequests=[]}!function(n){_(void 0!==n._closedPromise_resolve),_(void 0!==n._closedPromise_reject),n._closedPromise_resolve(void 0),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0}(l)}}function $(n,l){_(!0===N(n),"stream must be ReadableStream"),_("readable"===n._state,"state must be readable"),n._state="errored",n._storedError=l;var e=n._reader;if(void 0!==e){if(!0===X(e)){for(var t=0;t<e._readRequests.length;t++)e._readRequests[t]._reject(l);e._readRequests=[]}else{_(Q(e),"reader must be ReadableStreamBYOBReader");for(var i=0;i<e._readIntoRequests.length;i++)e._readIntoRequests[i]._reject(l);e._readIntoRequests=[]}Tn(e,l),e._closedPromise.catch((function(){}))}}function H(n,l,e){var t=n._reader;_(t._readRequests.length>0),t._readRequests.shift()._resolve(r(l,e))}function G(n){return n._reader._readIntoRequests.length}function W(n){return n._reader._readRequests.length}function K(n){var l=n._reader;return void 0!==l&&!1!==Q(l)}function Y(n){var l=n._reader;return void 0!==l&&!1!==X(l)}n.exports={ReadableStream:T,IsReadableStreamDisturbed:function(n){return _(!0===N(n),"IsReadableStreamDisturbed should only be used on known readable streams"),n._disturbed},ReadableStreamDefaultControllerClose:un,ReadableStreamDefaultControllerEnqueue:sn,ReadableStreamDefaultControllerError:cn,ReadableStreamDefaultControllerGetDesiredSize:pn};var J=function(){function n(l){if(i(this,n),!1===N(l))throw new TypeError("ReadableStreamDefaultReader can only be constructed with a ReadableStream instance");if(!0===j(l))throw new TypeError("This stream has already been locked for exclusive reading by another reader");nn(this,l),this._readRequests=[]}return t(n,[{key:"cancel",value:function(n){return!1===X(this)?Promise.reject(On("cancel")):void 0===this._ownerReadableStream?Promise.reject(En("cancel")):ln(this,n)}},{key:"read",value:function(){return!1===X(this)?Promise.reject(On("read")):void 0===this._ownerReadableStream?Promise.reject(En("read from")):tn(this)}},{key:"releaseLock",value:function(){if(!1===X(this))throw On("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");en(this)}}},{key:"closed",get:function(){return!1===X(this)?Promise.reject(On("closed")):this._closedPromise}}]),n}(),Z=function(){function n(l){if(i(this,n),!N(l))throw new TypeError("ReadableStreamBYOBReader can only be constructed with a ReadableStream instance given a byte source");if(!1===hn(l._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");if(j(l))throw new TypeError("This stream has already been locked for exclusive reading by another reader");nn(this,l),this._readIntoRequests=[]}return t(n,[{key:"cancel",value:function(n){return Q(this)?void 0===this._ownerReadableStream?Promise.reject(En("cancel")):ln(this,n):Promise.reject(Ln("cancel"))}},{key:"read",value:function(n){return Q(this)?void 0===this._ownerReadableStream?Promise.reject(En("read from")):ArrayBuffer.isView(n)?0===n.byteLength?Promise.reject(new TypeError("view must have non-zero byteLength")):function(n,l){var e=n._ownerReadableStream;return _(void 0!==e),e._disturbed=!0,"errored"===e._state?Promise.reject(e._storedError):function(n,l){var e=n._controlledReadableStream,t=1;l.constructor!==DataView&&(t=l.constructor.BYTES_PER_ELEMENT);var i={buffer:l.buffer,byteOffset:l.byteOffset,byteLength:l.byteLength,bytesFilled:0,elementSize:t,ctor:l.constructor,readerType:"byob"};if(n._pendingPullIntos.length>0)return i.buffer=d(i.buffer),n._pendingPullIntos.push(i),q(e);if("closed"===e._state){var a=new l.constructor(i.buffer,i.byteOffset,0);return Promise.resolve(r(a,!0))}if(n._queueTotalSize>0){if(!0===xn(n,i)){var o=yn(i);return kn(n),Promise.resolve(r(o,!1))}if(!0===n._closeRequested){var u=new TypeError("Insufficient bytes to fill elements in the given buffer");return Pn(n,u),Promise.reject(u)}}i.buffer=d(i.buffer),n._pendingPullIntos.push(i);var s=q(e);return bn(n),s}(e._readableStreamController,l)}(this,n):Promise.reject(new TypeError("view must be an array buffer view")):Promise.reject(Ln("read"))}},{key:"releaseLock",value:function(){if(!Q(this))throw Ln("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");en(this)}}},{key:"closed",get:function(){return Q(this)?this._closedPromise:Promise.reject(Ln("closed"))}}]),n}();function Q(n){return!!b(n)&&!!Object.prototype.hasOwnProperty.call(n,"_readIntoRequests")}function X(n){return!!b(n)&&!!Object.prototype.hasOwnProperty.call(n,"_readRequests")}function nn(n,l){n._ownerReadableStream=l,l._reader=n,"readable"===l._state?function(n){n._closedPromise=new Promise((function(l,e){n._closedPromise_resolve=l,n._closedPromise_reject=e}))}(n):"closed"===l._state?function(n){n._closedPromise=Promise.resolve(void 0),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0}(n):(_("errored"===l._state,"state must be errored"),function(n,l){n._closedPromise=Promise.reject(l),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0}(n,l._storedError),n._closedPromise.catch((function(){})))}function ln(n,l){var e=n._ownerReadableStream;return _(void 0!==e),U(e,l)}function en(n){_(void 0!==n._ownerReadableStream),_(n._ownerReadableStream._reader===n),"readable"===n._ownerReadableStream._state?Tn(n,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(n,l){_(void 0===n._closedPromise_resolve),_(void 0===n._closedPromise_reject),n._closedPromise=Promise.reject(l)}(n,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),n._closedPromise.catch((function(){})),n._ownerReadableStream._reader=void 0,n._ownerReadableStream=void 0}function tn(n){var l=n._ownerReadableStream;return _(void 0!==l),l._disturbed=!0,"closed"===l._state?Promise.resolve(r(void 0,!0)):"errored"===l._state?Promise.reject(l._storedError):(_("readable"===l._state),l._readableStreamController.__pullSteps())}var an=function(){function n(l,e,t,a){if(i(this,n),!1===N(l))throw new TypeError("ReadableStreamDefaultController can only be constructed with a ReadableStream instance");if(void 0!==l._readableStreamController)throw new TypeError("ReadableStreamDefaultController instances can only be created by the ReadableStream constructor");this._controlledReadableStream=l,this._underlyingSource=e,this._queue=void 0,this._queueTotalSize=void 0,k(this),this._started=!1,this._closeRequested=!1,this._pullAgain=!1,this._pulling=!1;var o=p(t,a);this._strategySize=o.size,this._strategyHWM=o.highWaterMark;var r=this,u=s(e,"start",[this]);Promise.resolve(u).then((function(){r._started=!0,_(!1===r._pulling),_(!1===r._pullAgain),rn(r)}),(function(n){dn(r,n)})).catch(y)}return t(n,[{key:"close",value:function(){if(!1===on(this))throw Rn("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var n=this._controlledReadableStream._state;if("readable"!==n)throw new TypeError("The stream (in "+n+" state) is not in the readable state and cannot be closed");un(this)}},{key:"enqueue",value:function(n){if(!1===on(this))throw Rn("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var l=this._controlledReadableStream._state;if("readable"!==l)throw new TypeError("The stream (in "+l+" state) is not in the readable state and cannot be enqueued to");return sn(this,n)}},{key:"error",value:function(n){if(!1===on(this))throw Rn("error");var l=this._controlledReadableStream;if("readable"!==l._state)throw new TypeError("The stream is "+l._state+" and so cannot be errored");cn(this,n)}},{key:"__cancelSteps",value:function(n){return k(this),c(this._underlyingSource,"cancel",[n])}},{key:"__pullSteps",value:function(){var n=this._controlledReadableStream;if(this._queue.length>0){var l=x(this);return!0===this._closeRequested&&0===this._queue.length?B(n):rn(this),Promise.resolve(r(l,!1))}var e=z(n);return rn(this),e}},{key:"desiredSize",get:function(){if(!1===on(this))throw Rn("desiredSize");return pn(this)}}]),n}();function on(n){return!!b(n)&&!!Object.prototype.hasOwnProperty.call(n,"_underlyingSource")}function rn(n){!1!==function(n){var l=n._controlledReadableStream;return"closed"!==l._state&&"errored"!==l._state&&!0!==n._closeRequested&&!1!==n._started&&(!0===j(l)&&W(l)>0||pn(n)>0)}(n)&&(!0!==n._pulling?(_(!1===n._pullAgain),n._pulling=!0,c(n._underlyingSource,"pull",[n]).then((function(){if(n._pulling=!1,!0===n._pullAgain)return n._pullAgain=!1,rn(n)}),(function(l){dn(n,l)})).catch(y)):n._pullAgain=!0)}function un(n){var l=n._controlledReadableStream;_(!1===n._closeRequested),_("readable"===l._state),n._closeRequested=!0,0===n._queue.length&&B(l)}function sn(n,l){var e=n._controlledReadableStream;if(_(!1===n._closeRequested),_("readable"===e._state),!0===j(e)&&W(e)>0)H(e,l,!1);else{var t=1;if(void 0!==n._strategySize){var i=n._strategySize;try{t=i(l)}catch(a){throw dn(n,a),a}}try{C(n,l,t)}catch(o){throw dn(n,o),o}}rn(n)}function cn(n,l){var e=n._controlledReadableStream;_("readable"===e._state),k(n),$(e,l)}function dn(n,l){"readable"===n._controlledReadableStream._state&&cn(n,l)}function pn(n){var l=n._controlledReadableStream._state;return"errored"===l?null:"closed"===l?0:n._strategyHWM-n._queueTotalSize}var mn=function(){function n(l,e){i(this,n),this._associatedReadableByteStreamController=l,this._view=e}return t(n,[{key:"respond",value:function(n){if(!1===gn(this))throw Nn("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");!function(n,l){if(l=Number(l),!1===u(l))throw new RangeError("bytesWritten must be a finite");_(n._pendingPullIntos.length>0),An(n,l)}(this._associatedReadableByteStreamController,n)}},{key:"respondWithNewView",value:function(n){if(!1===gn(this))throw Nn("respond");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");if(!ArrayBuffer.isView(n))throw new TypeError("You can only respond with array buffer views");!function(n,l){_(n._pendingPullIntos.length>0);var e=n._pendingPullIntos[0];if(e.byteOffset+e.bytesFilled!==l.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(e.byteLength!==l.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");e.buffer=l.buffer,An(n,l.byteLength)}(this._associatedReadableByteStreamController,n)}},{key:"view",get:function(){return this._view}}]),n}(),fn=function(){function n(l,e,t){if(i(this,n),!1===N(l))throw new TypeError("ReadableByteStreamController can only be constructed with a ReadableStream instance given a byte source");if(void 0!==l._readableStreamController)throw new TypeError("ReadableByteStreamController instances can only be created by the ReadableStream constructor given a byte source");this._controlledReadableStream=l,this._underlyingByteSource=e,this._pullAgain=!1,this._pulling=!1,vn(this),this._queue=this._queueTotalSize=void 0,k(this),this._closeRequested=!1,this._started=!1,this._strategyHWM=m(t);var a=e.autoAllocateChunkSize;if(void 0!==a&&(!1===Number.isInteger(a)||a<=0))throw new RangeError("autoAllocateChunkSize must be a positive integer");this._autoAllocateChunkSize=a,this._pendingPullIntos=[];var o=this,r=s(e,"start",[this]);Promise.resolve(r).then((function(){o._started=!0,_(!1===o._pulling),_(!1===o._pullAgain),bn(o)}),(function(n){"readable"===l._state&&Pn(o,n)})).catch(y)}return t(n,[{key:"close",value:function(){if(!1===hn(this))throw jn("close");if(!0===this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var n=this._controlledReadableStream._state;if("readable"!==n)throw new TypeError("The stream (in "+n+" state) is not in the readable state and cannot be closed");!function(n){var l=n._controlledReadableStream;if(_(!1===n._closeRequested),_("readable"===l._state),n._queueTotalSize>0)n._closeRequested=!0;else{if(n._pendingPullIntos.length>0&&n._pendingPullIntos[0].bytesFilled>0){var e=new TypeError("Insufficient bytes to fill elements in the given buffer");throw Pn(n,e),e}B(l)}}(this)}},{key:"enqueue",value:function(n){if(!1===hn(this))throw jn("enqueue");if(!0===this._closeRequested)throw new TypeError("stream is closed or draining");var l=this._controlledReadableStream._state;if("readable"!==l)throw new TypeError("The stream (in "+l+" state) is not in the readable state and cannot be enqueued to");if(!ArrayBuffer.isView(n))throw new TypeError("You can only enqueue array buffer views when using a ReadableByteStreamController");!function(n,l){var e=n._controlledReadableStream;_(!1===n._closeRequested),_("readable"===e._state);var t=l.byteOffset,i=l.byteLength,a=d(l.buffer);!0===Y(e)?0===W(e)?wn(n,a,t,i):(_(0===n._queue.length),H(e,new Uint8Array(a,t,i),!1)):!0===K(e)?(wn(n,a,t,i),In(n)):(_(!1===j(e),"stream must not be locked"),wn(n,a,t,i))}(this,n)}},{key:"error",value:function(n){if(!1===hn(this))throw jn("error");var l=this._controlledReadableStream;if("readable"!==l._state)throw new TypeError("The stream is "+l._state+" and so cannot be errored");Pn(this,n)}},{key:"__cancelSteps",value:function(n){return this._pendingPullIntos.length>0&&(this._pendingPullIntos[0].bytesFilled=0),k(this),c(this._underlyingByteSource,"cancel",[n])}},{key:"__pullSteps",value:function(){var n=this._controlledReadableStream;if(_(!0===Y(n)),this._queueTotalSize>0){_(0===W(n));var l=this._queue.shift();this._queueTotalSize-=l.byteLength,kn(this);var e=void 0;try{e=new Uint8Array(l.buffer,l.byteOffset,l.byteLength)}catch(u){return Promise.reject(u)}return Promise.resolve(r(e,!1))}var t=this._autoAllocateChunkSize;if(void 0!==t){var i=void 0;try{i=new ArrayBuffer(t)}catch(s){return Promise.reject(s)}var a={buffer:i,byteOffset:0,byteLength:t,bytesFilled:0,elementSize:1,ctor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}var o=z(n);return bn(this),o}},{key:"byobRequest",get:function(){if(!1===hn(this))throw jn("byobRequest");if(void 0===this._byobRequest&&this._pendingPullIntos.length>0){var n=this._pendingPullIntos[0],l=new Uint8Array(n.buffer,n.byteOffset+n.bytesFilled,n.byteLength-n.bytesFilled);this._byobRequest=new mn(this,l)}return this._byobRequest}},{key:"desiredSize",get:function(){if(!1===hn(this))throw jn("desiredSize");return Dn(this)}}]),n}();function hn(n){return!!b(n)&&!!Object.prototype.hasOwnProperty.call(n,"_underlyingByteSource")}function gn(n){return!!b(n)&&!!Object.prototype.hasOwnProperty.call(n,"_associatedReadableByteStreamController")}function bn(n){!1!==function(n){var l=n._controlledReadableStream;return"readable"===l._state&&!0!==n._closeRequested&&!1!==n._started&&(!0===Y(l)&&W(l)>0||!0===K(l)&&G(l)>0||Dn(n)>0)}(n)&&(!0!==n._pulling?(_(!1===n._pullAgain),n._pulling=!0,c(n._underlyingByteSource,"pull",[n]).then((function(){n._pulling=!1,!0===n._pullAgain&&(n._pullAgain=!1,bn(n))}),(function(l){"readable"===n._controlledReadableStream._state&&Pn(n,l)})).catch(y)):n._pullAgain=!0)}function vn(n){Sn(n),n._pendingPullIntos=[]}function _n(n,l){_("errored"!==n._state,"state must not be errored");var e=!1;"closed"===n._state&&(_(0===l.bytesFilled),e=!0);var t=yn(l);"default"===l.readerType?H(n,t,e):(_("byob"===l.readerType),function(n,l,e){var t=n._reader;_(t._readIntoRequests.length>0),t._readIntoRequests.shift()._resolve(r(l,e))}(n,t,e))}function yn(n){var l=n.bytesFilled,e=n.elementSize;return _(l<=n.byteLength),_(l%e==0),new n.ctor(n.buffer,n.byteOffset,l/e)}function wn(n,l,e,t){n._queue.push({buffer:l,byteOffset:e,byteLength:t}),n._queueTotalSize+=t}function xn(n,l){var e=l.elementSize,t=l.bytesFilled-l.bytesFilled%e,i=Math.min(n._queueTotalSize,l.byteLength-l.bytesFilled),a=l.bytesFilled+i,r=a-a%e,u=i,s=!1;r>t&&(u=r-l.bytesFilled,s=!0);for(var c=n._queue;u>0;){var d=c[0],p=Math.min(u,d.byteLength);o(l.buffer,l.byteOffset+l.bytesFilled,d.buffer,d.byteOffset,p),d.byteLength===p?c.shift():(d.byteOffset+=p,d.byteLength-=p),n._queueTotalSize-=p,Cn(n,p,l),u-=p}return!1===s&&(_(0===n._queueTotalSize,"queue must be empty"),_(l.bytesFilled>0),_(l.bytesFilled<l.elementSize)),s}function Cn(n,l,e){_(0===n._pendingPullIntos.length||n._pendingPullIntos[0]===e),Sn(n),e.bytesFilled+=l}function kn(n){_("readable"===n._controlledReadableStream._state),0===n._queueTotalSize&&!0===n._closeRequested?B(n._controlledReadableStream):bn(n)}function Sn(n){void 0!==n._byobRequest&&(n._byobRequest._associatedReadableByteStreamController=void 0,n._byobRequest._view=void 0,n._byobRequest=void 0)}function In(n){for(_(!1===n._closeRequested);n._pendingPullIntos.length>0;){if(0===n._queueTotalSize)return;var l=n._pendingPullIntos[0];!0===xn(n,l)&&(Mn(n),_n(n._controlledReadableStream,l))}}function An(n,l){var e=n._pendingPullIntos[0],t=n._controlledReadableStream;if("closed"===t._state){if(0!==l)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");!function(n,l){l.buffer=d(l.buffer),_(0===l.bytesFilled,"bytesFilled must be 0");var e=n._controlledReadableStream;if(!0===K(e))for(;G(e)>0;)_n(e,Mn(n))}(n,e)}else _("readable"===t._state),function(n,l,e){if(e.bytesFilled+l>e.byteLength)throw new RangeError("bytesWritten out of range");if(Cn(n,l,e),!(e.bytesFilled<e.elementSize)){Mn(n);var t=e.bytesFilled%e.elementSize;if(t>0){var i=e.byteOffset+e.bytesFilled,a=e.buffer.slice(i-t,i);wn(n,a,0,a.byteLength)}e.buffer=d(e.buffer),e.bytesFilled-=t,_n(n._controlledReadableStream,e),In(n)}}(n,l,e)}function Mn(n){var l=n._pendingPullIntos.shift();return Sn(n),l}function Pn(n,l){var e=n._controlledReadableStream;_("readable"===e._state),vn(n),k(n),$(e,l)}function Dn(n){var l=n._controlledReadableStream._state;return"errored"===l?null:"closed"===l?0:n._strategyHWM-n._queueTotalSize}function Fn(n){return new TypeError("ReadableStream.prototype."+n+" can only be used on a ReadableStream")}function En(n){return new TypeError("Cannot "+n+" a stream using a released reader")}function On(n){return new TypeError("ReadableStreamDefaultReader.prototype."+n+" can only be used on a ReadableStreamDefaultReader")}function Tn(n,l){_(void 0!==n._closedPromise_resolve),_(void 0!==n._closedPromise_reject),n._closedPromise_reject(l),n._closedPromise_resolve=void 0,n._closedPromise_reject=void 0}function Ln(n){return new TypeError("ReadableStreamBYOBReader.prototype."+n+" can only be used on a ReadableStreamBYOBReader")}function Rn(n){return new TypeError("ReadableStreamDefaultController.prototype."+n+" can only be used on a ReadableStreamDefaultController")}function Nn(n){return new TypeError("ReadableStreamBYOBRequest.prototype."+n+" can only be used on a ReadableStreamBYOBRequest")}function jn(n){return new TypeError("ReadableByteStreamController.prototype."+n+" can only be used on a ReadableByteStreamController")}},function(n,l,e){var t=e(6),i=e(4),a=e(2);l.TransformStream=t.TransformStream,l.ReadableStream=i.ReadableStream,l.IsReadableStreamDisturbed=i.IsReadableStreamDisturbed,l.ReadableStreamDefaultControllerClose=i.ReadableStreamDefaultControllerClose,l.ReadableStreamDefaultControllerEnqueue=i.ReadableStreamDefaultControllerEnqueue,l.ReadableStreamDefaultControllerError=i.ReadableStreamDefaultControllerError,l.ReadableStreamDefaultControllerGetDesiredSize=i.ReadableStreamDefaultControllerGetDesiredSize,l.AcquireWritableStreamDefaultWriter=a.AcquireWritableStreamDefaultWriter,l.IsWritableStream=a.IsWritableStream,l.IsWritableStreamLocked=a.IsWritableStreamLocked,l.WritableStream=a.WritableStream,l.WritableStreamAbort=a.WritableStreamAbort,l.WritableStreamDefaultControllerError=a.WritableStreamDefaultControllerError,l.WritableStreamDefaultWriterCloseWithErrorPropagation=a.WritableStreamDefaultWriterCloseWithErrorPropagation,l.WritableStreamDefaultWriterRelease=a.WritableStreamDefaultWriterRelease,l.WritableStreamDefaultWriterWrite=a.WritableStreamDefaultWriterWrite},function(n,l,e){var t=function(){function n(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}return function(l,e,t){return e&&n(l.prototype,e),t&&n(l,t),l}}();function i(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}var a=e(1).assert,o=e(0),r=o.InvokeOrNoop,u=o.PromiseInvokeOrPerformFallback,s=o.PromiseInvokeOrNoop,c=o.typeIsObject,d=e(4),p=d.ReadableStream,m=d.ReadableStreamDefaultControllerClose,f=d.ReadableStreamDefaultControllerEnqueue,h=d.ReadableStreamDefaultControllerError,g=d.ReadableStreamDefaultControllerGetDesiredSize,b=e(2),v=b.WritableStream,_=b.WritableStreamDefaultControllerError;function y(n,l){if(!0===n._errored)throw new TypeError("TransformStream is already errored");if(!0===n._readableClosed)throw new TypeError("Readable side is already closed");var e=n._readableController;try{f(e,l)}catch(t){throw n._readableClosed=!0,x(n,t),n._storedError}1==g(e)<=0&&!1===n._backpressure&&S(n,!0)}function w(n){a(!1===n._errored),a(!1===n._readableClosed);try{m(n._readableController)}catch(l){a(!1)}n._readableClosed=!0}function x(n,l){!1===n._errored&&C(n,l)}function C(n,l){a(!1===n._errored),n._errored=!0,n._storedError=l,!1===n._writableDone&&_(n._writableController,l),!1===n._readableClosed&&h(n._readableController,l)}function k(n){return a(void 0!==n._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!1===n._backpressure?Promise.resolve():(a(!0===n._backpressure,"_backpressure should have been initialized"),n._backpressureChangePromise)}function S(n,l){a(n._backpressure!==l,"TransformStreamSetBackpressure() should be called only when backpressure is changed"),void 0!==n._backpressureChangePromise&&n._backpressureChangePromise_resolve(l),n._backpressureChangePromise=new Promise((function(l){n._backpressureChangePromise_resolve=l})),n._backpressureChangePromise.then((function(n){a(n!==l,"_backpressureChangePromise should be fulfilled only when backpressure is changed")})),n._backpressure=l}function I(n,l){return y(l._controlledTransformStream,n),Promise.resolve()}function A(n){return!!c(n)&&!!Object.prototype.hasOwnProperty.call(n,"_controlledTransformStream")}function M(n){return!!c(n)&&!!Object.prototype.hasOwnProperty.call(n,"_transformStreamController")}var P=function(){function n(l,e){i(this,n),this._transformStream=l,this._startPromise=e}return t(n,[{key:"start",value:function(n){var l=this._transformStream;return l._writableController=n,this._startPromise.then((function(){return k(l)}))}},{key:"write",value:function(n){return function(n,l){a(!1===n._errored),a(!1===n._transforming),a(!1===n._backpressure),n._transforming=!0;var e=n._transformStreamController;return u(n._transformer,"transform",[l,e],I,[l,e]).then((function(){return n._transforming=!1,k(n)}),(function(l){return x(n,l),Promise.reject(l)}))}(this._transformStream,n)}},{key:"abort",value:function(){var n=this._transformStream;n._writableDone=!0,C(n,new TypeError("Writable side aborted"))}},{key:"close",value:function(){var n=this._transformStream;return a(!1===n._transforming),n._writableDone=!0,s(n._transformer,"flush",[n._transformStreamController]).then((function(){return!0===n._errored?Promise.reject(n._storedError):(!1===n._readableClosed&&w(n),Promise.resolve())})).catch((function(l){return x(n,l),Promise.reject(n._storedError)}))}}]),n}(),D=function(){function n(l,e){i(this,n),this._transformStream=l,this._startPromise=e}return t(n,[{key:"start",value:function(n){var l=this._transformStream;return l._readableController=n,this._startPromise.then((function(){return a(void 0!==l._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),!0===l._backpressure?Promise.resolve():(a(!1===l._backpressure,"_backpressure should have been initialized"),l._backpressureChangePromise)}))}},{key:"pull",value:function(){var n=this._transformStream;return a(!0===n._backpressure,"pull() should be never called while _backpressure is false"),a(void 0!==n._backpressureChangePromise,"_backpressureChangePromise should have been initialized"),S(n,!1),n._backpressureChangePromise}},{key:"cancel",value:function(){var n=this._transformStream;n._readableClosed=!0,C(n,new TypeError("Readable side canceled"))}}]),n}(),F=function(){function n(l){if(i(this,n),!1===M(l))throw new TypeError("TransformStreamDefaultController can only be constructed with a TransformStream instance");if(void 0!==l._transformStreamController)throw new TypeError("TransformStreamDefaultController instances can only be created by the TransformStream constructor");this._controlledTransformStream=l}return t(n,[{key:"enqueue",value:function(n){if(!1===A(this))throw O("enqueue");y(this._controlledTransformStream,n)}},{key:"close",value:function(){if(!1===A(this))throw O("close");!function(n){if(!0===n._errored)throw new TypeError("TransformStream is already errored");if(!0===n._readableClosed)throw new TypeError("Readable side is already closed");w(n)}(this._controlledTransformStream)}},{key:"error",value:function(n){if(!1===A(this))throw O("error");!function(n,l){if(!0===n._errored)throw new TypeError("TransformStream is already errored");C(n,l)}(this._controlledTransformStream,n)}},{key:"desiredSize",get:function(){if(!1===A(this))throw O("desiredSize");return g(this._controlledTransformStream._readableController)}}]),n}(),E=function(){function n(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,n),this._transformer=l;var e=l.readableStrategy,t=l.writableStrategy;this._transforming=!1,this._errored=!1,this._storedError=void 0,this._writableController=void 0,this._readableController=void 0,this._transformStreamController=void 0,this._writableDone=!1,this._readableClosed=!1,this._backpressure=void 0,this._backpressureChangePromise=void 0,this._backpressureChangePromise_resolve=void 0,this._transformStreamController=new F(this);var o=void 0,u=new Promise((function(n){o=n})),s=new D(this,u);this._readable=new p(s,e);var c=new P(this,u);this._writable=new v(c,t),a(void 0!==this._writableController),a(void 0!==this._readableController),S(this,g(this._readableController)<=0);var d=this,m=r(l,"start",[d._transformStreamController]);o(m),u.catch((function(n){!1===d._errored&&(d._errored=!0,d._storedError=n)}))}return t(n,[{key:"readable",get:function(){if(!1===M(this))throw T("readable");return this._readable}},{key:"writable",get:function(){if(!1===M(this))throw T("writable");return this._writable}}]),n}();function O(n){return new TypeError("TransformStreamDefaultController.prototype."+n+" can only be used on a TransformStreamDefaultController")}function T(n){return new TypeError("TransformStream.prototype."+n+" can only be used on a TransformStream")}n.exports={TransformStream:E}},function(n,l,e){n.exports=e(5)}]))},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var i=!1;try{if("function"==typeof URL&&"object"===t(URL.prototype)&&"origin"in URL.prototype){var a=new URL("b","http://a");a.pathname="c%20d",i="http://a/c%20d"===a.href}}catch(u){}if(i)l.URL=URL;else{var o=e(146).URL,r=e(3).URL;r&&(o.createObjectURL=function(n){return r.createObjectURL.apply(r,arguments)},o.revokeObjectURL=function(n){r.revokeObjectURL(n)}),l.URL=o}},function(n,l,e){"use strict";!function(){var n=Object.create(null);n.ftp=21,n.file=0,n.gopher=70,n.http=80,n.https=443,n.ws=80,n.wss=443;var e=Object.create(null);function t(l){return void 0!==n[l]}function i(){p.call(this),this._isInvalid=!0}function a(n){return""===n&&i.call(this),n.toLowerCase()}function o(n){var l=n.charCodeAt(0);return l>32&&l<127&&-1===[34,35,60,62,63,96].indexOf(l)?n:encodeURIComponent(n)}function r(n){var l=n.charCodeAt(0);return l>32&&l<127&&-1===[34,35,60,62,96].indexOf(l)?n:encodeURIComponent(n)}e["%2e"]=".",e[".%2e"]="..",e["%2e."]="..",e["%2e%2e"]="..";var u,s=/[a-zA-Z]/,c=/[a-zA-Z0-9\+\-\.]/;function d(l,d,p){function m(n){_.push(n)}var f=d||"scheme start",h=0,g="",b=!1,v=!1,_=[];n:for(;(l[h-1]!==u||0===h)&&!this._isInvalid;){var y=l[h];switch(f){case"scheme start":if(!y||!s.test(y)){if(d){m("Invalid scheme.");break n}g="",f="no scheme";continue}g+=y.toLowerCase(),f="scheme";break;case"scheme":if(y&&c.test(y))g+=y.toLowerCase();else{if(":"!==y){if(d){if(y===u)break n;m("Code point not allowed in scheme: "+y);break n}g="",h=0,f="no scheme";continue}if(this._scheme=g,g="",d)break n;t(this._scheme)&&(this._isRelative=!0),f="file"===this._scheme?"relative":this._isRelative&&p&&p._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":"?"===y?(this._query="?",f="query"):"#"===y?(this._fragment="#",f="fragment"):y!==u&&"\t"!==y&&"\n"!==y&&"\r"!==y&&(this._schemeData+=o(y));break;case"no scheme":if(p&&t(p._scheme)){f="relative";continue}m("Missing scheme."),i.call(this);break;case"relative or authority":if("/"!==y||"/"!==l[h+1]){m("Expected /, got: "+y),f="relative";continue}f="authority ignore slashes";break;case"relative":if(this._isRelative=!0,"file"!==this._scheme&&(this._scheme=p._scheme),y===u){this._host=p._host,this._port=p._port,this._path=p._path.slice(),this._query=p._query,this._username=p._username,this._password=p._password;break n}if("/"===y||"\\"===y)"\\"===y&&m("\\ is an invalid code point."),f="relative slash";else if("?"===y)this._host=p._host,this._port=p._port,this._path=p._path.slice(),this._query="?",this._username=p._username,this._password=p._password,f="query";else{if("#"!==y){var w=l[h+1],x=l[h+2];("file"!==this._scheme||!s.test(y)||":"!==w&&"|"!==w||x!==u&&"/"!==x&&"\\"!==x&&"?"!==x&&"#"!==x)&&(this._host=p._host,this._port=p._port,this._username=p._username,this._password=p._password,this._path=p._path.slice(),this._path.pop()),f="relative path";continue}this._host=p._host,this._port=p._port,this._path=p._path.slice(),this._query=p._query,this._fragment="#",this._username=p._username,this._password=p._password,f="fragment"}break;case"relative slash":if("/"!==y&&"\\"!==y){"file"!==this._scheme&&(this._host=p._host,this._port=p._port,this._username=p._username,this._password=p._password),f="relative path";continue}"\\"===y&&m("\\ is an invalid code point."),f="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==y){m("Expected '/', got: "+y),f="authority ignore slashes";continue}f="authority second slash";break;case"authority second slash":if(f="authority ignore slashes","/"!==y){m("Expected '/', got: "+y);continue}break;case"authority ignore slashes":if("/"!==y&&"\\"!==y){f="authority";continue}m("Expected authority, got: "+y);break;case"authority":if("@"===y){b&&(m("@ already seen."),g+="%40"),b=!0;for(var C=0;C<g.length;C++){var k=g[C];if("\t"!==k&&"\n"!==k&&"\r"!==k)if(":"!==k||null!==this._password){var S=o(k);null!==this._password?this._password+=S:this._username+=S}else this._password="";else m("Invalid whitespace in authority.")}g=""}else{if(y===u||"/"===y||"\\"===y||"?"===y||"#"===y){h-=g.length,g="",f="host";continue}g+=y}break;case"file host":if(y===u||"/"===y||"\\"===y||"?"===y||"#"===y){2!==g.length||!s.test(g[0])||":"!==g[1]&&"|"!==g[1]?0===g.length?f="relative path start":(this._host=a.call(this,g),g="",f="relative path start"):f="relative path";continue}"\t"===y||"\n"===y||"\r"===y?m("Invalid whitespace in file host."):g+=y;break;case"host":case"hostname":if(":"!==y||v){if(y===u||"/"===y||"\\"===y||"?"===y||"#"===y){if(this._host=a.call(this,g),g="",f="relative path start",d)break n;continue}"\t"!==y&&"\n"!==y&&"\r"!==y?("["===y?v=!0:"]"===y&&(v=!1),g+=y):m("Invalid code point in host/hostname: "+y)}else if(this._host=a.call(this,g),g="",f="port","hostname"===d)break n;break;case"port":if(/[0-9]/.test(y))g+=y;else{if(y===u||"/"===y||"\\"===y||"?"===y||"#"===y||d){if(""!==g){var I=parseInt(g,10);I!==n[this._scheme]&&(this._port=I+""),g=""}if(d)break n;f="relative path start";continue}"\t"===y||"\n"===y||"\r"===y?m("Invalid code point in port: "+y):i.call(this)}break;case"relative path start":if("\\"===y&&m("'\\' not allowed in path."),f="relative path","/"!==y&&"\\"!==y)continue;break;case"relative path":var A;y!==u&&"/"!==y&&"\\"!==y&&(d||"?"!==y&&"#"!==y)?"\t"!==y&&"\n"!==y&&"\r"!==y&&(g+=o(y)):("\\"===y&&m("\\ not allowed in relative path."),(A=e[g.toLowerCase()])&&(g=A),".."===g?(this._path.pop(),"/"!==y&&"\\"!==y&&this._path.push("")):"."===g&&"/"!==y&&"\\"!==y?this._path.push(""):"."!==g&&("file"===this._scheme&&0===this._path.length&&2===g.length&&s.test(g[0])&&"|"===g[1]&&(g=g[0]+":"),this._path.push(g)),g="","?"===y?(this._query="?",f="query"):"#"===y&&(this._fragment="#",f="fragment"));break;case"query":d||"#"!==y?y!==u&&"\t"!==y&&"\n"!==y&&"\r"!==y&&(this._query+=r(y)):(this._fragment="#",f="fragment");break;case"fragment":y!==u&&"\t"!==y&&"\n"!==y&&"\r"!==y&&(this._fragment+=y)}h++}}function p(){this._scheme="",this._schemeData="",this._username="",this._password=null,this._host="",this._port="",this._path=[],this._query="",this._fragment="",this._isInvalid=!1,this._isRelative=!1}function m(n,l){void 0===l||l instanceof m||(l=new m(String(l))),this._url=n,p.call(this);var e=n.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");d.call(this,e,null,l)}m.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var n="";return""===this._username&&null===this._password||(n=this._username+(null!==this._password?":"+this._password:"")+"@"),this.protocol+(this._isRelative?"//"+n+this.host:"")+this.pathname+this._query+this._fragment},set href(n){p.call(this),d.call(this,n)},get protocol(){return this._scheme+":"},set protocol(n){this._isInvalid||d.call(this,n+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(n){!this._isInvalid&&this._isRelative&&d.call(this,n,"host")},get hostname(){return this._host},set hostname(n){!this._isInvalid&&this._isRelative&&d.call(this,n,"hostname")},get port(){return this._port},set port(n){!this._isInvalid&&this._isRelative&&d.call(this,n,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(n){!this._isInvalid&&this._isRelative&&(this._path=[],d.call(this,n,"relative path start"))},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(n){!this._isInvalid&&this._isRelative&&(this._query="?","?"===n[0]&&(n=n.slice(1)),d.call(this,n,"query"))},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(n){this._isInvalid||(this._fragment="#","#"===n[0]&&(n=n.slice(1)),d.call(this,n,"fragment"))},get origin(){var n;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new m(this._schemeData).origin||"null"}catch(l){}return"null"}return(n=this.host)?this._scheme+"://"+n:""}},l.URL=m}()},function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getDocument=function(n){var l,e=new O;if("string"==typeof n)l={url:n};else if((0,a.isArrayBuffer)(n))l={data:n};else if(n instanceof T)l={range:n};else{if("object"!==C(n))throw new Error("Invalid parameter in getDocument, need either Uint8Array, string or a parameter object");if(!n.url&&!n.data&&!n.range)throw new Error("Invalid parameter object: need either .data, .range or .url");l=n}var t=Object.create(null),i=null,r=null;for(var s in l)if("url"!==s||"undefined"==typeof window)if("range"!==s)if("worker"!==s)if("data"!==s||l[s]instanceof Uint8Array)t[s]=l[s];else{var c=l[s];if("string"==typeof c)t[s]=(0,a.stringToBytes)(c);else if("object"!==C(c)||null===c||isNaN(c.length)){if(!(0,a.isArrayBuffer)(c))throw new Error("Invalid PDF binary data: either typed array, string or array-like object is expected in the data property.");t[s]=new Uint8Array(c)}else t[s]=new Uint8Array(c)}else r=l[s];else i=l[s];else t[s]=new a.URL(l[s],window.location).href;t.rangeChunkSize=t.rangeChunkSize||I,t.CMapReaderFactory=t.CMapReaderFactory||o.DOMCMapReaderFactory,t.ignoreErrors=!0!==t.stopAtErrors,t.pdfBug=!0===t.pdfBug;var m=Object.values(a.NativeImageDecoding);if(void 0!==t.nativeImageDecoderSupport&&m.includes(t.nativeImageDecoderSupport)||(t.nativeImageDecoderSupport=u.apiCompatibilityParams.nativeImageDecoderSupport||a.NativeImageDecoding.DECODE),Number.isInteger(t.maxImageSize)||(t.maxImageSize=-1),"boolean"!=typeof t.isEvalSupported&&(t.isEvalSupported=!0),"boolean"!=typeof t.disableFontFace&&(t.disableFontFace=u.apiCompatibilityParams.disableFontFace||!1),"boolean"!=typeof t.disableRange&&(t.disableRange=!1),"boolean"!=typeof t.disableStream&&(t.disableStream=!1),"boolean"!=typeof t.disableAutoFetch&&(t.disableAutoFetch=!1),"boolean"!=typeof t.disableCreateObjectURL&&(t.disableCreateObjectURL=u.apiCompatibilityParams.disableCreateObjectURL||!1),(0,a.setVerbosityLevel)(t.verbosity),!r){var h={postMessageTransfers:t.postMessageTransfers,verbosity:t.verbosity,port:d.GlobalWorkerOptions.workerPort};r=h.port?j.fromPort(h):new j(h),e._worker=r}var g=e.docId;return r.promise.then((function(){if(e.destroyed)throw new Error("Loading aborted");return function(n,l,e,t){return n.destroyed?Promise.reject(new Error("Worker was destroyed")):(e&&(l.length=e.length,l.initialData=e.initialData,l.progressiveDone=e.progressiveDone),n.messageHandler.sendWithPromise("GetDocRequest",{docId:t,apiVersion:"2.2.228",source:{data:l.data,url:l.url,password:l.password,disableAutoFetch:l.disableAutoFetch,rangeChunkSize:l.rangeChunkSize,length:l.length},maxImageSize:l.maxImageSize,disableFontFace:l.disableFontFace,disableCreateObjectURL:l.disableCreateObjectURL,postMessageTransfers:n.postMessageTransfers,docBaseUrl:l.docBaseUrl,nativeImageDecoderSupport:l.nativeImageDecoderSupport,ignoreErrors:l.ignoreErrors,isEvalSupported:l.isEvalSupported}).then((function(l){if(n.destroyed)throw new Error("Worker was destroyed");return l})))}(r,t,i,g).then((function(n){if(e.destroyed)throw new Error("Loading aborted");var l;i?l=new f.PDFDataTransportStream({length:t.length,initialData:t.initialData,progressiveDone:t.progressiveDone,disableRange:t.disableRange,disableStream:t.disableStream},i):t.data||(l=P({url:t.url,length:t.length,httpHeaders:t.httpHeaders,withCredentials:t.withCredentials,rangeChunkSize:t.rangeChunkSize,disableRange:t.disableRange,disableStream:t.disableStream}));var a=new p.MessageHandler(g,n,r.port);a.postMessageTransfers=r.postMessageTransfers;var o=new q(a,e,l,t);e._transport=o,a.send("Ready",null)}))})).catch(e._capability.reject),e},l.setPDFNetworkStreamFactory=function(n){P=n},l.build=l.version=l.PDFPageProxy=l.PDFDocumentProxy=l.PDFWorker=l.PDFDataRangeTransport=l.LoopbackPort=void 0;var i=g(t(148)),a=t(1),o=t(151),r=t(152),u=t(153),s=t(154),c=g(t(3)),d=t(156),p=t(157),m=t(158),f=t(160),h=t(161);function g(n){return n&&n.__esModule?n:{default:n}}function b(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function v(n,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done)&&(e.push(o.value),!l||e.length!==l);t=!0);}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return e}(n,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _(n){return function(n){if(Array.isArray(n)){for(var l=0,e=new Array(n.length);l<n.length;l++)e[l]=n[l];return e}}(n)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function y(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function w(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function x(n,l,e){return l&&w(n.prototype,l),e&&w(n,e),n}function C(n){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var k,S,I=65536,A=!1,M=!1;"undefined"==typeof window?(A=!0,M=!0):M=!0,"undefined"!=typeof requirejs&&requirejs.toUrl&&(k=requirejs.toUrl("pdfjs-dist/build/pdf.worker.js"));var P,D="undefined"!=typeof requirejs&&requirejs.load;if(S=M?function(){return new Promise((function(n,l){e.e(2).then((function(){try{var t;t=e("Vdsi"),n(t.WorkerMessageHandler)}catch(i){l(i)}}).bind(null,e)).catch(l)}))}:D?function(){return new Promise((function(n,l){requirejs(["pdfjs-dist/build/pdf.worker"],(function(e){try{n(e.WorkerMessageHandler)}catch(t){l(t)}}),l)}))}:null,!k&&"object"===("undefined"==typeof document?"undefined":C(document))&&"currentScript"in document){var F=document.currentScript&&document.currentScript.src;F&&(k=F.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}var E,O=(E=0,function(){function n(){y(this,n),this._capability=(0,a.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+E++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}return x(n,[{key:"destroy",value:function(){var n=this;return this.destroyed=!0,(this._transport?this._transport.destroy():Promise.resolve()).then((function(){n._transport=null,n._worker&&(n._worker.destroy(),n._worker=null)}))}},{key:"then",value:function(n,l){return(0,o.deprecated)("PDFDocumentLoadingTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._capability.promise}}]),n}()),T=function(){function n(l,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];y(this,n),this.length=l,this.initialData=e,this.progressiveDone=t,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,a.createPromiseCapability)()}return x(n,[{key:"addRangeListener",value:function(n){this._rangeListeners.push(n)}},{key:"addProgressListener",value:function(n){this._progressListeners.push(n)}},{key:"addProgressiveReadListener",value:function(n){this._progressiveReadListeners.push(n)}},{key:"addProgressiveDoneListener",value:function(n){this._progressiveDoneListeners.push(n)}},{key:"onDataRange",value:function(n,l){var e=!0,t=!1,i=void 0;try{for(var a,o=this._rangeListeners[Symbol.iterator]();!(e=(a=o.next()).done);e=!0)(0,a.value)(n,l)}catch(r){t=!0,i=r}finally{try{e||null==o.return||o.return()}finally{if(t)throw i}}}},{key:"onDataProgress",value:function(n,l){var e=this;this._readyCapability.promise.then((function(){var t=!0,i=!1,a=void 0;try{for(var o,r=e._progressListeners[Symbol.iterator]();!(t=(o=r.next()).done);t=!0)(0,o.value)(n,l)}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}}))}},{key:"onDataProgressiveRead",value:function(n){var l=this;this._readyCapability.promise.then((function(){var e=!0,t=!1,i=void 0;try{for(var a,o=l._progressiveReadListeners[Symbol.iterator]();!(e=(a=o.next()).done);e=!0)(0,a.value)(n)}catch(r){t=!0,i=r}finally{try{e||null==o.return||o.return()}finally{if(t)throw i}}}))}},{key:"onDataProgressiveDone",value:function(){var n=this;this._readyCapability.promise.then((function(){var l=!0,e=!1,t=void 0;try{for(var i,a=n._progressiveDoneListeners[Symbol.iterator]();!(l=(i=a.next()).done);l=!0)(0,i.value)()}catch(o){e=!0,t=o}finally{try{l||null==a.return||a.return()}finally{if(e)throw t}}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(n,l){(0,a.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),n}();l.PDFDataRangeTransport=T;var L=function(){function n(l,e){y(this,n),this._pdfInfo=l,this._transport=e}return x(n,[{key:"getPage",value:function(n){return this._transport.getPage(n)}},{key:"getPageIndex",value:function(n){return this._transport.getPageIndex(n)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(n){return this._transport.getDestination(n)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenActionDestination",value:function(){return this._transport.getOpenActionDestination()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"getStats",value:function(){return this._transport.getStats()}},{key:"cleanup",value:function(){this._transport.startCleanup()}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprint",get:function(){return this._pdfInfo.fingerprint}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}}]),n}();l.PDFDocumentProxy=L;var R=function(){function n(l,e,t){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];y(this,n),this.pageIndex=l,this._pageInfo=e,this._transport=t,this._stats=i?new o.StatTimer:o.DummyStatTimer,this._pdfBug=i,this.commonObjs=t.commonObjs,this.objs=new z,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this.intentStates=Object.create(null),this.destroyed=!1}return x(n,[{key:"getViewport",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.scale,e=n.rotation,t=void 0===e?this.rotate:e,i=n.dontFlip,a=void 0!==i&&i;return(arguments.length>1||"number"==typeof arguments[0])&&((0,o.deprecated)("getViewport is called with obsolete arguments."),l=arguments[0],t="number"==typeof arguments[1]?arguments[1]:this.rotate,a="boolean"==typeof arguments[2]&&arguments[2]),new o.PageViewport({viewBox:this.view,scale:l,rotation:t,dontFlip:a})}},{key:"getAnnotations",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.intent,e=void 0===l?null:l;return this.annotationsPromise&&this.annotationsIntent===e||(this.annotationsPromise=this._transport.getAnnotations(this.pageIndex,e),this.annotationsIntent=e),this.annotationsPromise}},{key:"render",value:function(n){var l=this,e=n.canvasContext,t=n.viewport,i=n.intent,r=void 0===i?"display":i,u=n.enableWebGL,s=void 0!==u&&u,c=n.renderInteractiveForms,d=void 0!==c&&c,p=n.transform,m=void 0===p?null:p,f=n.imageLayer,g=void 0===f?null:f,b=n.canvasFactory,v=void 0===b?null:b,_=n.background,y=void 0===_?null:_,w=this._stats;w.time("Overall"),this.pendingCleanup=!1;var x="print"===r?"print":"display",C=v||new o.DOMCanvasFactory,k=new h.WebGLContext({enable:s});this.intentStates[x]||(this.intentStates[x]=Object.create(null));var S=this.intentStates[x];S.displayReadyCapability||(S.receivingOperatorList=!0,S.displayReadyCapability=(0,a.createPromiseCapability)(),S.operatorList={fnArray:[],argsArray:[],lastChunk:!1},w.time("Page Request"),this._transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageNumber-1,intent:x,renderInteractiveForms:!0===d}));var I=function(n){var e=S.renderTasks.indexOf(A);e>=0&&S.renderTasks.splice(e,1),(l.cleanupAfterRender||"print"===x)&&(l.pendingCleanup=!0),l._tryCleanup(),n?A.capability.reject(n):A.capability.resolve(),w.timeEnd("Rendering"),w.timeEnd("Overall")},A=new B({callback:I,params:{canvasContext:e,viewport:t,transform:m,imageLayer:g,background:y},objs:this.objs,commonObjs:this.commonObjs,operatorList:S.operatorList,pageNumber:this.pageNumber,canvasFactory:C,webGLContext:k,useRequestAnimationFrame:"print"!==x,pdfBug:this._pdfBug});S.renderTasks||(S.renderTasks=[]),S.renderTasks.push(A);var M=A.task;return S.displayReadyCapability.promise.then((function(n){l.pendingCleanup?I():(w.time("Rendering"),A.initializeGraphics(n),A.operatorListChanged())})).catch(I),M}},{key:"getOperatorList",value:function(){this.intentStates.oplist||(this.intentStates.oplist=Object.create(null));var n,l=this.intentStates.oplist;return l.opListReadCapability||((n={}).operatorListChanged=function(){if(l.operatorList.lastChunk){l.opListReadCapability.resolve(l.operatorList);var e=l.renderTasks.indexOf(n);e>=0&&l.renderTasks.splice(e,1)}},l.receivingOperatorList=!0,l.opListReadCapability=(0,a.createPromiseCapability)(),l.renderTasks=[],l.renderTasks.push(n),l.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats.time("Page Request"),this._transport.messageHandler.send("RenderPageRequest",{pageIndex:this.pageIndex,intent:"oplist"})),l.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=n.normalizeWhitespace,e=void 0!==l&&l,t=n.disableCombineTextItems,i=void 0!==t&&t,a=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this.pageNumber-1,normalizeWhitespace:!0===e,combineTextItems:!0!==i},{highWaterMark:a,size:function(n){return n.items.length}})}},{key:"getTextContent",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=this.streamTextContent(n);return new Promise((function(n,e){var t=l.getReader(),i={items:[],styles:Object.create(null)};!function l(){t.read().then((function(e){var t,a=e.value;e.done?n(i):(Object.assign(i.styles,a.styles),(t=i.items).push.apply(t,_(a.items)),l())}),e)}()}))}},{key:"_destroy",value:function(){this.destroyed=!0,this._transport.pageCache[this.pageIndex]=null;var n=[];return Object.keys(this.intentStates).forEach((function(l){"oplist"!==l&&this.intentStates[l].renderTasks.forEach((function(l){var e=l.capability.promise.catch((function(){}));n.push(e),l.cancel()}))}),this),this.objs.clear(),this.annotationsPromise=null,this.pendingCleanup=!1,Promise.all(n)}},{key:"cleanup",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup=!0,this._tryCleanup(n)}},{key:"_tryCleanup",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.pendingCleanup&&!Object.keys(this.intentStates).some((function(n){var l=this.intentStates[n];return 0!==l.renderTasks.length||l.receivingOperatorList}),this)&&(Object.keys(this.intentStates).forEach((function(n){delete this.intentStates[n]}),this),this.objs.clear(),this.annotationsPromise=null,n&&this._stats instanceof o.StatTimer&&(this._stats=new o.StatTimer),this.pendingCleanup=!1)}},{key:"_startRenderPage",value:function(n,l){var e=this.intentStates[l];e.displayReadyCapability&&e.displayReadyCapability.resolve(n)}},{key:"_renderPageChunk",value:function(n,l){for(var e=this.intentStates[l],t=0,i=n.length;t<i;t++)e.operatorList.fnArray.push(n.fnArray[t]),e.operatorList.argsArray.push(n.argsArray[t]);e.operatorList.lastChunk=n.lastChunk;for(var a=0;a<e.renderTasks.length;a++)e.renderTasks[a].operatorListChanged();n.lastChunk&&(e.receivingOperatorList=!1,this._tryCleanup())}},{key:"pageNumber",get:function(){return this.pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"stats",get:function(){return this._stats instanceof o.StatTimer?this._stats:null}}]),n}();l.PDFPageProxy=R;var N=function(){function n(){var l=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];y(this,n),this._listeners=[],this._defer=l,this._deferred=Promise.resolve(void 0)}return x(n,[{key:"postMessage",value:function(n,l){var e=this;if(this._defer){var t=new WeakMap,i={data:function n(e){if("object"!==C(e)||null===e)return e;if(t.has(e))return t.get(e);var i,o;if((i=e.buffer)&&(0,a.isArrayBuffer)(i)){var r=l&&l.includes(i);return o=e===i?e:r?new e.constructor(i,e.byteOffset,e.byteLength):new e.constructor(e),t.set(e,o),o}for(var u in o=Array.isArray(e)?[]:{},t.set(e,o),e){for(var s=void 0,c=e;!(s=Object.getOwnPropertyDescriptor(c,u));)c=Object.getPrototypeOf(c);void 0!==s.value&&"function"!=typeof s.value&&(o[u]=n(s.value))}return o}(n)};this._deferred.then((function(){e._listeners.forEach((function(n){n.call(this,i)}),e)}))}else this._listeners.forEach((function(l){l.call(this,{data:n})}),this)}},{key:"addEventListener",value:function(n,l){this._listeners.push(l)}},{key:"removeEventListener",value:function(n,l){var e=this._listeners.indexOf(l);this._listeners.splice(e,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),n}();l.LoopbackPort=N;var j=function(){var n,l=new WeakMap,e=0;function t(){if(d.GlobalWorkerOptions.workerSrc)return d.GlobalWorkerOptions.workerSrc;if(void 0!==k)return k;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}function i(){try{if("undefined"!=typeof window)return window.pdfjsWorker&&window.pdfjsWorker.WorkerMessageHandler}catch(n){}return null}return function(){function r(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=n.name,t=void 0===e?null:e,i=n.port,o=void 0===i?null:i,u=n.postMessageTransfers,s=void 0===u||u,c=n.verbosity,d=void 0===c?(0,a.getVerbosityLevel)():c;if(y(this,r),o&&l.has(o))throw new Error("Cannot use more than one PDFWorker per port");if(this.name=t,this.destroyed=!1,this.postMessageTransfers=!1!==s,this.verbosity=d,this._readyCapability=(0,a.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return l.set(o,this),void this._initializeFromPort(o);this._initialize()}return x(r,[{key:"_initializeFromPort",value:function(n){this._port=n,this._messageHandler=new p.MessageHandler("main","worker",n),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var n,l=this;if("undefined"!=typeof Worker&&!A&&!i()){var e=t();try{(0,a.isSameOrigin)(window.location.href,e)||(n=new a.URL(e,window.location).href,e=a.URL.createObjectURL(new Blob(["importScripts('"+n+"');"])));var o=new Worker(e),r=new p.MessageHandler("main","worker",o),u=function(){o.removeEventListener("error",s),r.destroy(),o.terminate(),l.destroyed?l._readyCapability.reject(new Error("Worker was destroyed")):l._setupFakeWorker()},s=function(){l._webWorker||u()};o.addEventListener("error",s),r.on("test",(function(n){o.removeEventListener("error",s),l.destroyed?u():n&&n.supportTypedArray?(l._messageHandler=r,l._port=o,l._webWorker=o,n.supportTransfers||(l.postMessageTransfers=!1),l._readyCapability.resolve(),r.send("configure",{verbosity:l.verbosity})):(l._setupFakeWorker(),r.destroy(),o.terminate())})),r.on("ready",(function(n){if(o.removeEventListener("error",s),l.destroyed)u();else try{c()}catch(e){l._setupFakeWorker()}}));var c=function(){var n=new Uint8Array([l.postMessageTransfers?255:0]);try{r.send("test",n,[n.buffer])}catch(e){(0,a.info)("Cannot use postMessage transfers"),n[0]=0,r.send("test",n)}};return void c()}catch(d){(0,a.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var l=this;A||((0,a.warn)("Setting up fake worker."),A=!0),function(){if(n)return n.promise;n=(0,a.createPromiseCapability)();var l=i();return l?(n.resolve(l),n.promise):((S||function(){return(0,o.loadScript)(t()).then((function(){return window.pdfjsWorker.WorkerMessageHandler}))})().then(n.resolve,n.reject),n.promise)}().then((function(n){if(l.destroyed)l._readyCapability.reject(new Error("Worker was destroyed"));else{var t=new N;l._port=t;var i="fake"+e++,a=new p.MessageHandler(i+"_worker",i,t);n.setup(a,t);var o=new p.MessageHandler(i,i+"_worker",t);l._messageHandler=o,l._readyCapability.resolve()}})).catch((function(n){l._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(n.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),l.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}},{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}}],[{key:"fromPort",value:function(n){if(!n||!n.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return l.has(n.port)?l.get(n.port):new r(n)}},{key:"getWorkerSrc",value:function(){return t()}}]),r}()}();l.PDFWorker=j;var V,q=function(){function n(l,e,t,i){y(this,n),this.messageHandler=l,this.loadingTask=e,this.commonObjs=new z,this.fontLoader=new r.FontLoader({docId:e.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this)}),this._params=i,this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=t,this._fullReader=null,this._lastProgress=null,this.pageCache=[],this.pagePromises=[],this.downloadInfoCapability=(0,a.createPromiseCapability)(),this.setupMessageHandler()}return x(n,[{key:"destroy",value:function(){var n=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,a.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var l=[];this.pageCache.forEach((function(n){n&&l.push(n._destroy())})),this.pageCache.length=0,this.pagePromises.length=0;var e=this.messageHandler.sendWithPromise("Terminate",null);return l.push(e),Promise.all(l).then((function(){n.fontLoader.clear(),n._networkStream&&n._networkStream.cancelAllRequests(),n.messageHandler&&(n.messageHandler.destroy(),n.messageHandler=null),n.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var n=this.messageHandler,l=this.loadingTask;n.on("GetReader",(function(n,l){var e=this;(0,a.assert)(this._networkStream),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=function(n){e._lastProgress={loaded:n.loaded,total:n.total}},l.onPull=function(){e._fullReader.read().then((function(n){var e=n.value;n.done?l.close():((0,a.assert)((0,a.isArrayBuffer)(e)),l.enqueue(new Uint8Array(e),1,[e]))})).catch((function(n){l.error(n)}))},l.onCancel=function(n){e._fullReader.cancel(n)}}),this),n.on("ReaderHeadersReady",(function(n){var e=this,t=(0,a.createPromiseCapability)(),i=this._fullReader;return i.headersReady.then((function(){i.isStreamingSupported&&i.isRangeSupported||(e._lastProgress&&l.onProgress&&l.onProgress(e._lastProgress),i.onProgress=function(n){l.onProgress&&l.onProgress({loaded:n.loaded,total:n.total})}),t.resolve({isStreamingSupported:i.isStreamingSupported,isRangeSupported:i.isRangeSupported,contentLength:i.contentLength})}),t.reject),t.promise}),this),n.on("GetRangeReader",(function(n,l){(0,a.assert)(this._networkStream);var e=this._networkStream.getRangeReader(n.begin,n.end);e?(l.onPull=function(){e.read().then((function(n){var e=n.value;n.done?l.close():((0,a.assert)((0,a.isArrayBuffer)(e)),l.enqueue(new Uint8Array(e),1,[e]))})).catch((function(n){l.error(n)}))},l.onCancel=function(n){e.cancel(n)}):l.close()}),this),n.on("GetDoc",(function(n){var e=n.pdfInfo;this._numPages=e.numPages,l._capability.resolve(new L(e,this))}),this),n.on("PasswordRequest",(function(n){var e=this;if(this._passwordCapability=(0,a.createPromiseCapability)(),l.onPassword)try{l.onPassword((function(n){e._passwordCapability.resolve({password:n})}),n.code)}catch(t){this._passwordCapability.reject(t)}else this._passwordCapability.reject(new a.PasswordException(n.message,n.code));return this._passwordCapability.promise}),this),n.on("PasswordException",(function(n){l._capability.reject(new a.PasswordException(n.message,n.code))}),this),n.on("InvalidPDF",(function(n){l._capability.reject(new a.InvalidPDFException(n.message))}),this),n.on("MissingPDF",(function(n){l._capability.reject(new a.MissingPDFException(n.message))}),this),n.on("UnexpectedResponse",(function(n){l._capability.reject(new a.UnexpectedResponseException(n.message,n.status))}),this),n.on("UnknownError",(function(n){l._capability.reject(new a.UnknownErrorException(n.message,n.details))}),this),n.on("DataLoaded",(function(n){l.onProgress&&l.onProgress({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),this),n.on("StartRenderPage",(function(n){if(!this.destroyed){var l=this.pageCache[n.pageIndex];l._stats.timeEnd("Page Request"),l._startRenderPage(n.transparency,n.intent)}}),this),n.on("RenderPageChunk",(function(n){this.destroyed||this.pageCache[n.pageIndex]._renderPageChunk(n.operatorList,n.intent)}),this),n.on("commonobj",(function(l){var e=this;if(!this.destroyed){var t=v(l,3),i=t[0],o=t[1],u=t[2];if(!this.commonObjs.has(i))switch(o){case"Font":var s=this._params;if("error"in u){var d=u.error;(0,a.warn)("Error during font loading: ".concat(d)),this.commonObjs.resolve(i,d);break}var p=null;s.pdfBug&&c.default.FontInspector&&c.default.FontInspector.enabled&&(p={registerFont:function(n,l){c.default.FontInspector.fontAdded(n,l)}});var m=new r.FontFaceObject(u,{isEvalSupported:s.isEvalSupported,disableFontFace:s.disableFontFace,ignoreErrors:s.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:p});this.fontLoader.bind(m).then((function(){e.commonObjs.resolve(i,m)}),(function(l){n.sendWithPromise("FontFallback",{id:i}).finally((function(){e.commonObjs.resolve(i,m)}))}));break;case"FontPath":case"FontType3Res":this.commonObjs.resolve(i,u);break;default:throw new Error("Got unknown common object type ".concat(o))}}}),this),n.on("obj",(function(n){if(!this.destroyed){var l=v(n,4),e=l[0],t=l[2],i=l[3],a=this.pageCache[l[1]];if(!a.objs.has(e))switch(t){case"JpegStream":return new Promise((function(n,l){var e=new Image;e.onload=function(){n(e)},e.onerror=function(){l(new Error("Error during JPEG image loading")),(0,o.releaseImageResources)(e)},e.src=i})).then((function(n){a.objs.resolve(e,n)}));case"Image":a.objs.resolve(e,i),i&&"data"in i&&i.data.length>8e6&&(a.cleanupAfterRender=!0);break;default:throw new Error("Got unknown object type ".concat(t))}}}),this),n.on("DocProgress",(function(n){this.destroyed||l.onProgress&&l.onProgress({loaded:n.loaded,total:n.total})}),this),n.on("PageError",(function(n){if(!this.destroyed){var l=this.pageCache[n.pageIndex].intentStates[n.intent];if(!l.displayReadyCapability)throw new Error(n.error);if(l.displayReadyCapability.reject(new Error(n.error)),l.operatorList){l.operatorList.lastChunk=!0;for(var e=0;e<l.renderTasks.length;e++)l.renderTasks[e].operatorListChanged()}}}),this),n.on("UnsupportedFeature",this._onUnsupportedFeature,this),n.on("JpegDecode",(function(n){if(this.destroyed)return Promise.reject(new Error("Worker was destroyed"));if("undefined"==typeof document)return Promise.reject(new Error('"document" is not defined.'));var l=v(n,2),e=l[0],t=l[1];return 3!==t&&1!==t?Promise.reject(new Error("Only 3 components or 1 component can be returned")):new Promise((function(n,l){var i=new Image;i.onload=function(){var l=i.width,e=i.height,a=l*e,r=4*a,u=new Uint8ClampedArray(a*t),s=document.createElement("canvas");s.width=l,s.height=e;var c=s.getContext("2d");c.drawImage(i,0,0);var d=c.getImageData(0,0,l,e).data;if(3===t)for(var p=0,m=0;p<r;p+=4,m+=3)u[m]=d[p],u[m+1]=d[p+1],u[m+2]=d[p+2];else if(1===t)for(var f=0,h=0;f<r;f+=4,h++)u[h]=d[f];n({data:u,width:l,height:e}),(0,o.releaseImageResources)(i),s.width=0,s.height=0,s=null,c=null},i.onerror=function(){l(new Error("JpegDecode failed to load image")),(0,o.releaseImageResources)(i)},i.src=e}))}),this),n.on("FetchBuiltInCMap",(function(n){return this.destroyed?Promise.reject(new Error("Worker was destroyed")):this.CMapReaderFactory.fetch({name:n.name})}),this)}},{key:"_onUnsupportedFeature",value:function(n){this.destroyed||this.loadingTask.onUnsupportedFeature&&this.loadingTask.onUnsupportedFeature(n.featureId)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(n){var l=this;if(!Number.isInteger(n)||n<=0||n>this._numPages)return Promise.reject(new Error("Invalid page request"));var e=n-1;if(e in this.pagePromises)return this.pagePromises[e];var t=this.messageHandler.sendWithPromise("GetPage",{pageIndex:e}).then((function(n){if(l.destroyed)throw new Error("Transport destroyed");var t=new R(e,n,l,l._params.pdfBug);return l.pageCache[e]=t,t}));return this.pagePromises[e]=t,t}},{key:"getPageIndex",value:function(n){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:n}).catch((function(n){return Promise.reject(new Error(n))}))}},{key:"getAnnotations",value:function(n,l){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:n,intent:l})}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(n){return"string"!=typeof n?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:n})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenActionDestination",value:function(){return this.messageHandler.sendWithPromise("GetOpenActionDestination",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var n=this;return this.messageHandler.sendWithPromise("GetMetadata",null).then((function(l){return{info:l[0],metadata:l[1]?new m.Metadata(l[1]):null,contentDispositionFilename:n._fullReader?n._fullReader.filename:null}}))}},{key:"getStats",value:function(){return this.messageHandler.sendWithPromise("GetStats",null)}},{key:"startCleanup",value:function(){var n=this;this.messageHandler.sendWithPromise("Cleanup",null).then((function(){for(var l=0,e=n.pageCache.length;l<e;l++){var t=n.pageCache[l];t&&t.cleanup()}n.commonObjs.clear(),n.fontLoader.clear()}))}},{key:"loadingParams",get:function(){var n=this._params;return(0,a.shadow)(this,"loadingParams",{disableAutoFetch:n.disableAutoFetch,disableCreateObjectURL:n.disableCreateObjectURL,disableFontFace:n.disableFontFace,nativeImageDecoderSupport:n.nativeImageDecoderSupport})}}]),n}(),z=function(){function n(){y(this,n),this._objs=Object.create(null)}return x(n,[{key:"_ensureObj",value:function(n){return this._objs[n]?this._objs[n]:this._objs[n]={capability:(0,a.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(l)return this._ensureObj(n).capability.promise.then(l),null;var e=this._objs[n];if(!e||!e.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(n,"."));return e.data}},{key:"has",value:function(n){var l=this._objs[n];return!!l&&l.resolved}},{key:"resolve",value:function(n,l){var e=this._ensureObj(n);e.resolved=!0,e.data=l,e.capability.resolve(l)}},{key:"clear",value:function(){for(var n in this._objs){var l=this._objs[n].data;"undefined"!=typeof Image&&l instanceof Image&&(0,o.releaseImageResources)(l)}this._objs=Object.create(null)}}]),n}(),U=function(){function n(l){y(this,n),this._internalRenderTask=l,this.onContinue=null}return x(n,[{key:"cancel",value:function(){this._internalRenderTask.cancel()}},{key:"then",value:function(n,l){return(0,o.deprecated)("RenderTask.then method, use the `promise` getter instead."),this.promise.then.apply(this.promise,arguments)}},{key:"promise",get:function(){return this._internalRenderTask.capability.promise}}]),n}(),B=(V=new WeakSet,function(){function n(l){var e=l.callback,t=l.params,i=l.objs,o=l.commonObjs,r=l.operatorList,u=l.pageNumber,s=l.canvasFactory,c=l.webGLContext,d=l.useRequestAnimationFrame,p=void 0!==d&&d,m=l.pdfBug,f=void 0!==m&&m;y(this,n),this.callback=e,this.params=t,this.objs=i,this.commonObjs=o,this.operatorListIdx=null,this.operatorList=r,this.pageNumber=u,this.canvasFactory=s,this.webGLContext=c,this._pdfBug=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===p&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,a.createPromiseCapability)(),this.task=new U(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}var l,e;return x(n,[{key:"initializeGraphics",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.cancelled){if(this._canvas){if(V.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");V.add(this._canvas)}this._pdfBug&&c.default.StepperManager&&c.default.StepperManager.enabled&&(this.stepper=c.default.StepperManager.create(this.pageNumber-1),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var l=this.params,e=l.canvasContext,t=l.viewport,i=l.transform,a=l.imageLayer,o=l.background;this.gfx=new s.CanvasGraphics(e,this.commonObjs,this.objs,this.canvasFactory,this.webGLContext,a),this.gfx.beginDrawing({transform:i,viewport:t,transparency:n,background:o}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&V.delete(this._canvas),this.callback(n||new o.RenderingCancelledException("Rendering cancelled, page ".concat(this.pageNumber),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var n=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){n._nextBound().catch(n.cancel.bind(n))})):Promise.resolve().then(this._nextBound).catch(this.cancel.bind(this))}},{key:"_next",value:(l=i.default.mark((function n(){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this.cancelled){n.next=2;break}return n.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&V.delete(this._canvas),this.callback()));case 4:case"end":return n.stop()}}),n,this)})),e=function(){var n=this,e=arguments;return new Promise((function(t,i){var a=l.apply(n,e);function o(n){b(a,t,i,o,r,"next",n)}function r(n){b(a,t,i,o,r,"throw",n)}o(void 0)}))},function(){return e.apply(this,arguments)})}]),n}());l.version="2.2.228",l.build="d7afb74a"},function(n,l,e){"use strict";n.exports=e(149)},function(n,l,e){"use strict";(function(n){function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e=function(n){var e,t=Object.prototype,i=t.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",r=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(n,l,e,t){var i=Object.create((l&&l.prototype instanceof g?l:g).prototype),a=new M(t||[]);return i._invoke=function(n,l,e){var t=d;return function(i,a){if(t===m)throw new Error("Generator is already running");if(t===f){if("throw"===i)throw a;return D()}for(e.method=i,e.arg=a;;){var o=e.delegate;if(o){var r=S(o,e);if(r){if(r===h)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(t===d)throw t=f,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);t=m;var u=c(n,l,e);if("normal"===u.type){if(t=e.done?f:p,u.arg===h)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(t=f,e.method="throw",e.arg=u.arg)}}}(n,e,a),i}function c(n,l,e){try{return{type:"normal",arg:n.call(l,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=s;var d="suspendedStart",p="suspendedYield",m="executing",f="completed",h={};function g(){}function b(){}function v(){}var _={};_[o]=function(){return this};var y=Object.getPrototypeOf,w=y&&y(y(P([])));w&&w!==t&&i.call(w,o)&&(_=w);var x=v.prototype=g.prototype=Object.create(_);function C(n){["next","throw","return"].forEach((function(l){n[l]=function(n){return this._invoke(l,n)}}))}function k(n){var e;this._invoke=function(t,a){function o(){return new Promise((function(e,o){!function e(t,a,o,r){var u=c(n[t],n,a);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"===l(d)&&i.call(d,"__await")?Promise.resolve(d.__await).then((function(n){e("next",n,o,r)}),(function(n){e("throw",n,o,r)})):Promise.resolve(d).then((function(n){s.value=n,o(s)}),(function(n){return e("throw",n,o,r)}))}r(u.arg)}(t,a,e,o)}))}return e=e?e.then(o,o):o()}}function S(n,l){var t=n.iterator[l.method];if(t===e){if(l.delegate=null,"throw"===l.method){if(n.iterator.return&&(l.method="return",l.arg=e,S(n,l),"throw"===l.method))return h;l.method="throw",l.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=c(t,n.iterator,l.arg);if("throw"===i.type)return l.method="throw",l.arg=i.arg,l.delegate=null,h;var a=i.arg;return a?a.done?(l[n.resultName]=a.value,l.next=n.nextLoc,"return"!==l.method&&(l.method="next",l.arg=e),l.delegate=null,h):a:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,h)}function I(n){var l={tryLoc:n[0]};1 in n&&(l.catchLoc=n[1]),2 in n&&(l.finallyLoc=n[2],l.afterLoc=n[3]),this.tryEntries.push(l)}function A(n){var l=n.completion||{};l.type="normal",delete l.arg,n.completion=l}function M(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(I,this),this.reset(!0)}function P(n){if(n){var l=n[o];if(l)return l.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var t=-1,a=function l(){for(;++t<n.length;)if(i.call(n,t))return l.value=n[t],l.done=!1,l;return l.value=e,l.done=!0,l};return a.next=a}}return{next:D}}function D(){return{value:e,done:!0}}return b.prototype=x.constructor=v,v.constructor=b,v[u]=b.displayName="GeneratorFunction",n.isGeneratorFunction=function(n){var l="function"==typeof n&&n.constructor;return!!l&&(l===b||"GeneratorFunction"===(l.displayName||l.name))},n.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,v):(n.__proto__=v,u in n||(n[u]="GeneratorFunction")),n.prototype=Object.create(x),n},n.awrap=function(n){return{__await:n}},C(k.prototype),k.prototype[r]=function(){return this},n.AsyncIterator=k,n.async=function(l,e,t,i){var a=new k(s(l,e,t,i));return n.isGeneratorFunction(e)?a:a.next().then((function(n){return n.done?n.value:a.next()}))},C(x),x[u]="Generator",x[o]=function(){return this},x.toString=function(){return"[object Generator]"},n.keys=function(n){var l=[];for(var e in n)l.push(e);return l.reverse(),function e(){for(;l.length;){var t=l.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},n.values=P,M.prototype={constructor:M,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!n)for(var l in this)"t"===l.charAt(0)&&i.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=e)},stop:function(){this.done=!0;var n=this.tryEntries[0].completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var l=this;function t(t,i){return r.type="throw",r.arg=n,l.next=t,i&&(l.method="next",l.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(n,l){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc<=this.prev&&i.call(t,"finallyLoc")&&this.prev<t.finallyLoc){var a=t;break}}a&&("break"===n||"continue"===n)&&a.tryLoc<=l&&l<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=n,o.arg=l,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(o)},complete:function(n,l){if("throw"===n.type)throw n.arg;return"break"===n.type||"continue"===n.type?this.next=n.arg:"return"===n.type?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):"normal"===n.type&&l&&(this.next=l),h},finish:function(n){for(var l=this.tryEntries.length-1;l>=0;--l){var e=this.tryEntries[l];if(e.finallyLoc===n)return this.complete(e.completion,e.afterLoc),A(e),h}},catch:function(n){for(var l=this.tryEntries.length-1;l>=0;--l){var e=this.tryEntries[l];if(e.tryLoc===n){var t=e.completion;if("throw"===t.type){var i=t.arg;A(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,l,t){return this.delegate={iterator:P(n),resultName:l,nextLoc:t},"next"===this.method&&(this.arg=e),h}},n}("object"===l(n)?n.exports:{});try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}).call(this,e(150)(n))},function(n,l,e){"use strict";n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.addLinkAttributes=function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=l.url,t=l.target,i=l.rel;if(n.href=n.title=e?(0,a.removeNullCharacters)(e):"",e){var o=Object.values(f).includes(t)?t:f.NONE;n.target=g[o],n.rel="string"==typeof i?i:d}},l.getFilenameFromUrl=function(n){var l=n.indexOf("#"),e=n.indexOf("?"),t=Math.min(l>0?l:n.length,e>0?e:n.length);return n.substring(n.lastIndexOf("/",t)+1,t)},l.isFetchSupported=b,l.isValidFetchUrl=v,l.loadScript=function(n){return new Promise((function(l,e){var t=document.createElement("script");t.src=n,t.onload=l,t.onerror=function(){e(new Error("Cannot load script at: ".concat(t.src)))},(document.head||document.documentElement).appendChild(t)}))},l.deprecated=function(n){console.log("Deprecated API usage: "+n)},l.releaseImageResources=function(n){(0,a.assert)(n instanceof Image,"Invalid `img` parameter.");var l=n.src;"string"==typeof l&&l.startsWith("blob:")&&a.URL.revokeObjectURL&&a.URL.revokeObjectURL(l),n.removeAttribute("src")},l.PDFDateString=l.DummyStatTimer=l.StatTimer=l.DOMSVGFactory=l.DOMCMapReaderFactory=l.DOMCanvasFactory=l.DEFAULT_LINK_REL=l.LinkTarget=l.RenderingCancelledException=l.PageViewport=void 0;var t,i=(t=e(148))&&t.__esModule?t:{default:t},a=e(1);function o(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function r(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function r(n){o(a,t,i,r,u,"next",n)}function u(n){o(a,t,i,r,u,"throw",n)}r(void 0)}))}}function u(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function s(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function c(n,l,e){return l&&s(n.prototype,l),e&&s(n,e),n}var d="noopener noreferrer nofollow";l.DEFAULT_LINK_REL=d;var p="http://www.w3.org/2000/svg";l.DOMCanvasFactory=function(){function n(){u(this,n)}return c(n,[{key:"create",value:function(n,l){if(n<=0||l<=0)throw new Error("Invalid canvas size");var e=document.createElement("canvas"),t=e.getContext("2d");return e.width=n,e.height=l,{canvas:e,context:t}}},{key:"reset",value:function(n,l,e){if(!n.canvas)throw new Error("Canvas is not specified");if(l<=0||e<=0)throw new Error("Invalid canvas size");n.canvas.width=l,n.canvas.height=e}},{key:"destroy",value:function(n){if(!n.canvas)throw new Error("Canvas is not specified");n.canvas.width=0,n.canvas.height=0,n.canvas=null,n.context=null}}]),n}(),l.DOMCMapReaderFactory=function(){function n(l){var e=l.baseUrl,t=void 0===e?null:e,i=l.isCompressed,a=void 0!==i&&i;u(this,n),this.baseUrl=t,this.isCompressed=a}return c(n,[{key:"fetch",value:function(n){function l(l){return n.apply(this,arguments)}return l.toString=function(){return n.toString()},l}(function(){var n=r(i.default.mark((function n(l){var e,t,o,u=this;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e=l.name,this.baseUrl){n.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(e){n.next=5;break}throw new Error("CMap name must be specified.");case 5:if(t=this.baseUrl+e+(this.isCompressed?".bcmap":""),o=this.isCompressed?a.CMapCompressionType.BINARY:a.CMapCompressionType.NONE,!b()||!v(t,document.baseURI)){n.next=9;break}return n.abrupt("return",fetch(t).then(function(){var n=r(i.default.mark((function n(l){var e;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(l.ok){n.next=2;break}throw new Error(l.statusText);case 2:if(!u.isCompressed){n.next=10;break}return n.t0=Uint8Array,n.next=6,l.arrayBuffer();case 6:n.t1=n.sent,e=new n.t0(n.t1),n.next=15;break;case 10:return n.t2=a.stringToBytes,n.next=13,l.text();case 13:n.t3=n.sent,e=(0,n.t2)(n.t3);case 15:return n.abrupt("return",{cMapData:e,compressionType:o});case 16:case"end":return n.stop()}}),n)})));return function(l){return n.apply(this,arguments)}}()).catch((function(n){throw new Error("Unable to load ".concat(u.isCompressed?"binary ":"")+"CMap at: ".concat(t))})));case 9:return n.abrupt("return",new Promise((function(n,l){var e=new XMLHttpRequest;e.open("GET",t,!0),u.isCompressed&&(e.responseType="arraybuffer"),e.onreadystatechange=function(){if(e.readyState===XMLHttpRequest.DONE){var t;if((200===e.status||0===e.status)&&(u.isCompressed&&e.response?t=new Uint8Array(e.response):!u.isCompressed&&e.responseText&&(t=(0,a.stringToBytes)(e.responseText)),t))return void n({cMapData:t,compressionType:o});l(new Error(e.statusText))}},e.send(null)})).catch((function(n){throw new Error("Unable to load ".concat(u.isCompressed?"binary ":"")+"CMap at: ".concat(t))})));case 10:case"end":return n.stop()}}),n,this)})));return function(l){return n.apply(this,arguments)}}())}]),n}(),l.DOMSVGFactory=function(){function n(){u(this,n)}return c(n,[{key:"create",value:function(n,l){(0,a.assert)(n>0&&l>0,"Invalid SVG dimensions");var e=document.createElementNS(p,"svg:svg");return e.setAttribute("version","1.1"),e.setAttribute("width",n+"px"),e.setAttribute("height",l+"px"),e.setAttribute("preserveAspectRatio","none"),e.setAttribute("viewBox","0 0 "+n+" "+l),e}},{key:"createElement",value:function(n){return(0,a.assert)("string"==typeof n,"Invalid SVG element type"),document.createElementNS(p,n)}}]),n}(),l.PageViewport=function(){function n(l){var e=l.viewBox,t=l.scale,i=l.rotation,a=l.offsetX,o=void 0===a?0:a,r=l.offsetY,s=void 0===r?0:r,c=l.dontFlip,d=void 0!==c&&c;u(this,n),this.viewBox=e,this.scale=t,this.rotation=i,this.offsetX=o,this.offsetY=s;var p,m,f,h,g,b,v,_,y=(e[2]+e[0])/2,w=(e[3]+e[1])/2;switch(i=(i%=360)<0?i+360:i){case 180:p=-1,m=0,f=0,h=1;break;case 90:p=0,m=1,f=1,h=0;break;case 270:p=0,m=-1,f=-1,h=0;break;default:p=1,m=0,f=0,h=-1}d&&(f=-f,h=-h),0===p?(g=Math.abs(w-e[1])*t+o,b=Math.abs(y-e[0])*t+s,v=Math.abs(e[3]-e[1])*t,_=Math.abs(e[2]-e[0])*t):(g=Math.abs(y-e[0])*t+o,b=Math.abs(w-e[1])*t+s,v=Math.abs(e[2]-e[0])*t,_=Math.abs(e[3]-e[1])*t),this.transform=[p*t,m*t,f*t,h*t,g-p*t*y-f*t*w,b-m*t*y-h*t*w],this.width=v,this.height=_}return c(n,[{key:"clone",value:function(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=l.scale,t=void 0===e?this.scale:e,i=l.rotation,a=void 0===i?this.rotation:i,o=l.dontFlip,r=void 0!==o&&o;return new n({viewBox:this.viewBox.slice(),scale:t,rotation:a,offsetX:this.offsetX,offsetY:this.offsetY,dontFlip:r})}},{key:"convertToViewportPoint",value:function(n,l){return a.Util.applyTransform([n,l],this.transform)}},{key:"convertToViewportRectangle",value:function(n){var l=a.Util.applyTransform([n[0],n[1]],this.transform),e=a.Util.applyTransform([n[2],n[3]],this.transform);return[l[0],l[1],e[0],e[1]]}},{key:"convertToPdfPoint",value:function(n,l){return a.Util.applyInverseTransform([n,l],this.transform)}}]),n}();var m=function(){function n(n,l){this.message=n,this.type=l}return(n.prototype=new Error).name="RenderingCancelledException",n.constructor=n,n}();l.RenderingCancelledException=m;var f={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};l.LinkTarget=f;var h,g=["","_self","_blank","_parent","_top"];function b(){return"undefined"!=typeof fetch&&"undefined"!=typeof Response&&"body"in Response.prototype&&"undefined"!=typeof ReadableStream}function v(n,l){try{var e=(l?new a.URL(n,l):new a.URL(n)).protocol;return"http:"===e||"https:"===e}catch(t){return!1}}l.StatTimer=function(){function n(){var l=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];u(this,n),this.enabled=!!l,this.started=Object.create(null),this.times=[]}return c(n,[{key:"time",value:function(n){this.enabled&&(n in this.started&&(0,a.warn)("Timer is already running for "+n),this.started[n]=Date.now())}},{key:"timeEnd",value:function(n){this.enabled&&(n in this.started||(0,a.warn)("Timer has not been started for "+n),this.times.push({name:n,start:this.started[n],end:Date.now()}),delete this.started[n])}},{key:"toString",value:function(){var n="",l=0,e=!0,t=!1,i=void 0;try{for(var a,o=this.times[Symbol.iterator]();!(e=(a=o.next()).done);e=!0){var r=a.value.name;r.length>l&&(l=r.length)}}catch(h){t=!0,i=h}finally{try{e||null==o.return||o.return()}finally{if(t)throw i}}var u=!0,s=!1,c=void 0;try{for(var d,p=this.times[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var m=d.value,f=m.end-m.start;n+="".concat(m.name.padEnd(l)," ").concat(f,"ms\n")}}catch(h){s=!0,c=h}finally{try{u||null==p.return||p.return()}finally{if(s)throw c}}return n}}]),n}(),l.DummyStatTimer=function(){function n(){u(this,n),(0,a.unreachable)("Cannot initialize DummyStatTimer.")}return c(n,null,[{key:"time",value:function(n){}},{key:"timeEnd",value:function(n){}},{key:"toString",value:function(){return""}}]),n}(),l.PDFDateString=function(){function n(){u(this,n)}return c(n,null,[{key:"toDateObject",value:function(n){if(!n||!(0,a.isString)(n))return null;h||(h=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var l=h.exec(n);if(!l)return null;var e=parseInt(l[1],10),t=parseInt(l[2],10);t=t>=1&&t<=12?t-1:0;var i=parseInt(l[3],10);i=i>=1&&i<=31?i:1;var o=parseInt(l[4],10);o=o>=0&&o<=23?o:0;var r=parseInt(l[5],10);r=r>=0&&r<=59?r:0;var u=parseInt(l[6],10);u=u>=0&&u<=59?u:0;var s=l[7]||"Z",c=parseInt(l[8],10);c=c>=0&&c<=23?c:0;var d=parseInt(l[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===s?(o+=c,r+=d):"+"===s&&(o-=c,r-=d),new Date(Date.UTC(e,t,i,o,r,u))}}]),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.FontLoader=l.FontFaceObject=void 0;var t,i=(t=e(148))&&t.__esModule?t:{default:t},a=e(1);function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function u(n,l){return(u=Object.setPrototypeOf||function(n,l){return n.__proto__=l,n})(n,l)}function s(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function c(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function d(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function p(n,l,e){return l&&d(n.prototype,l),e&&d(n,e),n}var m,f=function(){function n(l){var e=l.docId,t=l.onUnsupportedFeature;c(this,n),this.constructor===n&&(0,a.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=t,this.nativeFontFaces=[],this.styleElement=null}var l,e;return p(n,[{key:"addNativeFontFace",value:function(n){this.nativeFontFaces.push(n),document.fonts.add(n)}},{key:"insertRule",value:function(n){var l=this.styleElement;l||((l=this.styleElement=document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),document.documentElement.getElementsByTagName("head")[0].appendChild(l));var e=l.sheet;e.insertRule(n,e.cssRules.length)}},{key:"clear",value:function(){this.nativeFontFaces.forEach((function(n){document.fonts.delete(n)})),this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:(l=i.default.mark((function n(l){var e,t,o=this;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!l.attached&&!l.missingFile){n.next=2;break}return n.abrupt("return",void 0);case 2:if(l.attached=!0,!this.isFontLoadingAPISupported){n.next=19;break}if(!(e=l.createNativeFontFace())){n.next=18;break}return this.addNativeFontFace(e),n.prev=7,n.next=10,e.loaded;case 10:n.next=18;break;case 12:throw n.prev=12,n.t0=n.catch(7),this._onUnsupportedFeature({featureId:a.UNSUPPORTED_FEATURES.font}),(0,a.warn)("Failed to load font '".concat(e.family,"': '").concat(n.t0,"'.")),l.disableFontFace=!0,n.t0;case 18:return n.abrupt("return",void 0);case 19:if(!(t=l.createFontFaceRule())){n.next=25;break}if(this.insertRule(t),!this.isSyncFontLoadingSupported){n.next=24;break}return n.abrupt("return",void 0);case 24:return n.abrupt("return",new Promise((function(n){var e=o._queueLoadingCallback(n);o._prepareFontLoadEvent([t],[l],e)})));case 25:return n.abrupt("return",void 0);case 26:case"end":return n.stop()}}),n,this,[[7,12]])})),e=function(){var n=this,e=arguments;return new Promise((function(t,i){var a=l.apply(n,e);function o(n){s(a,t,i,o,r,"next",n)}function r(n){s(a,t,i,o,r,"throw",n)}o(void 0)}))},function(n){return e.apply(this,arguments)})},{key:"_queueLoadingCallback",value:function(n){(0,a.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"_prepareFontLoadEvent",value:function(n,l,e){(0,a.unreachable)("Abstract method `_prepareFontLoadEvent`.")}},{key:"isFontLoadingAPISupported",get:function(){(0,a.unreachable)("Abstract method `isFontLoadingAPISupported`.")}},{key:"isSyncFontLoadingSupported",get:function(){(0,a.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,a.unreachable)("Abstract method `_loadTestFont`.")}}]),n}();l.FontLoader=m,l.FontLoader=m=function(n){function l(n){var e;return c(this,l),(e=function(n,l){return!l||"object"!==o(l)&&"function"!=typeof l?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):l}(this,r(l).call(this,n))).loadingContext={requests:[],nextRequestId:0},e.loadTestFontId=0,e}return function(n,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&u(n,l)}(l,n),p(l,[{key:"_queueLoadingCallback",value:function(n){var l=this.loadingContext,e={id:"pdfjs-font-loading-".concat(l.nextRequestId++),done:!1,complete:function(){for((0,a.assert)(!e.done,"completeRequest() cannot be called twice."),e.done=!0;l.requests.length>0&&l.requests[0].done;){var n=l.requests.shift();setTimeout(n.callback,0)}},callback:n};return l.requests.push(e),e}},{key:"_prepareFontLoadEvent",value:function(n,l,e){function t(n,l){return n.charCodeAt(l)<<24|n.charCodeAt(l+1)<<16|n.charCodeAt(l+2)<<8|255&n.charCodeAt(l+3)}function i(n,l,e,t){return n.substring(0,l)+t+n.substring(l+e)}var o,r,u=document.createElement("canvas");u.width=1,u.height=1;var s=u.getContext("2d"),c=0,d="lt".concat(Date.now()).concat(this.loadTestFontId++),p=this._loadTestFont,m=t(p=i(p,976,d.length,d),16);for(o=0,r=d.length-3;o<r;o+=4)m=m-1482184792+t(d,o)|0;o<d.length&&(m=m-1482184792+t(d+"XXX",o)|0),p=i(p,16,4,(0,a.string32)(m));var f="url(data:font/opentype;base64,".concat(btoa(p),");"),h='@font-face {font-family:"'.concat(d,'";src:').concat(f,"}");this.insertRule(h);var g=[];for(o=0,r=l.length;o<r;o++)g.push(l[o].loadedName);g.push(d);var b=document.createElement("div");for(b.setAttribute("style","visibility: hidden;width: 10px; height: 10px;position: absolute; top: 0px; left: 0px;"),o=0,r=g.length;o<r;++o){var v=document.createElement("span");v.textContent="Hi",v.style.fontFamily=g[o],b.appendChild(v)}document.body.appendChild(b),function n(l,e){if(++c>30)return(0,a.warn)("Load test font never loaded."),void e();s.font="30px "+l,s.fillText(".",0,20),s.getImageData(0,0,1,1).data[3]>0?e():setTimeout(n.bind(null,l,e))}(d,(function(){document.body.removeChild(b),e.complete()}))}},{key:"isFontLoadingAPISupported",get:function(){var n="undefined"!=typeof document&&!!document.fonts;if(n&&"undefined"!=typeof navigator){var l=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);l&&l[1]<63&&(n=!1)}return(0,a.shadow)(this,"isFontLoadingAPISupported",n)}},{key:"isSyncFontLoadingSupported",get:function(){var n=!1;if("undefined"==typeof navigator)n=!0;else{var l=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);l&&l[1]>=14&&(n=!0)}return(0,a.shadow)(this,"isSyncFontLoadingSupported",n)}},{key:"_loadTestFont",get:function(){return(0,a.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}}]),l}(f);var h={get value(){return(0,a.shadow)(this,"value",(0,a.isEvalSupported)())}};l.FontFaceObject=function(){function n(l,e){var t=e.isEvalSupported,i=void 0===t||t,a=e.disableFontFace,o=void 0!==a&&a,r=e.ignoreErrors,u=void 0!==r&&r,s=e.onUnsupportedFeature,d=void 0===s?null:s,p=e.fontRegistry,m=void 0===p?null:p;for(var f in c(this,n),this.compiledGlyphs=Object.create(null),l)this[f]=l[f];this.isEvalSupported=!1!==i,this.disableFontFace=!0===o,this.ignoreErrors=!0===u,this._onUnsupportedFeature=d,this.fontRegistry=m}return p(n,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var n=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),n}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var n=(0,a.bytesToString)(new Uint8Array(this.data)),l="url(data:".concat(this.mimetype,";base64,").concat(btoa(n),");"),e='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(l,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,l),e}},{key:"getPathGenerator",value:function(n,l){if(void 0!==this.compiledGlyphs[l])return this.compiledGlyphs[l];var e,t;try{e=n.get(this.loadedName+"_path_"+l)}catch(s){if(!this.ignoreErrors)throw s;return this._onUnsupportedFeature&&this._onUnsupportedFeature({featureId:a.UNSUPPORTED_FEATURES.font}),(0,a.warn)('getPathGenerator - ignoring character: "'.concat(s,'".')),this.compiledGlyphs[l]=function(n,l){}}if(this.isEvalSupported&&h.value){for(var i,o="",r=0,u=e.length;r<u;r++)i=void 0!==(t=e[r]).args?t.args.join(","):"",o+="c."+t.cmd+"("+i+");\n";return this.compiledGlyphs[l]=new Function("c","size",o)}return this.compiledGlyphs[l]=function(n,l){for(var i=0,a=e.length;i<a;i++)"scale"===(t=e[i]).cmd&&(t.args=[l,-l]),n[t.cmd].apply(n,t.args)}}}]),n}()},function(n,l,e){"use strict";var t=Object.create(null),i=e(4),a="undefined"!=typeof navigator&&navigator.userAgent||"",o=/Trident/.test(a),r=/CriOS/.test(a);(o||r)&&(t.disableCreateObjectURL=!0),i()&&(t.disableFontFace=!0,t.nativeImageDecoderSupport="none"),l.apiCompatibilityParams=Object.freeze(t)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.CanvasGraphics=void 0;var t=e(1),i=e(155),a=16,o={get value(){return(0,t.shadow)(o,"value",(0,t.isLittleEndian)())}};function r(n){n.mozCurrentTransform||(n._originalSave=n.save,n._originalRestore=n.restore,n._originalRotate=n.rotate,n._originalScale=n.scale,n._originalTranslate=n.translate,n._originalTransform=n.transform,n._originalSetTransform=n.setTransform,n._transformMatrix=n._transformMatrix||[1,0,0,1,0,0],n._transformStack=[],Object.defineProperty(n,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(n,"mozCurrentTransformInverse",{get:function(){var n=this._transformMatrix,l=n[0],e=n[1],t=n[2],i=n[3],a=n[4],o=n[5],r=l*i-e*t,u=e*t-l*i;return[i/r,e/u,t/u,l/r,(i*a-t*o)/u,(e*a-l*o)/r]}}),n.save=function(){var n=this._transformMatrix;this._transformStack.push(n),this._transformMatrix=n.slice(0,6),this._originalSave()},n.restore=function(){var n=this._transformStack.pop();n&&(this._transformMatrix=n,this._originalRestore())},n.translate=function(n,l){var e=this._transformMatrix;e[4]=e[0]*n+e[2]*l+e[4],e[5]=e[1]*n+e[3]*l+e[5],this._originalTranslate(n,l)},n.scale=function(n,l){var e=this._transformMatrix;e[0]=e[0]*n,e[1]=e[1]*n,e[2]=e[2]*l,e[3]=e[3]*l,this._originalScale(n,l)},n.transform=function(l,e,t,i,a,o){var r=this._transformMatrix;this._transformMatrix=[r[0]*l+r[2]*e,r[1]*l+r[3]*e,r[0]*t+r[2]*i,r[1]*t+r[3]*i,r[0]*a+r[2]*o+r[4],r[1]*a+r[3]*o+r[5]],n._originalTransform(l,e,t,i,a,o)},n.setTransform=function(l,e,t,i,a,o){this._transformMatrix=[l,e,t,i,a,o],n._originalSetTransform(l,e,t,i,a,o)},n.rotate=function(n){var l=Math.cos(n),e=Math.sin(n),t=this._transformMatrix;this._transformMatrix=[t[0]*l+t[2]*e,t[1]*l+t[3]*e,t[0]*-e+t[2]*l,t[1]*-e+t[3]*l,t[4],t[5]],this._originalRotate(n)})}var u=function(){function n(n){this.canvasFactory=n,this.cache=Object.create(null)}return n.prototype={getCanvas:function(n,l,e,t){var i;return void 0!==this.cache[n]?(this.canvasFactory.reset(i=this.cache[n],l,e),i.context.setTransform(1,0,0,1,0,0)):(i=this.canvasFactory.create(l,e),this.cache[n]=i),t&&r(i.context),i},clear:function(){for(var n in this.cache)this.canvasFactory.destroy(this.cache[n]),delete this.cache[n]}},n}(),s=function(){function n(){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=t.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=t.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=t.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.resumeSMaskCtx=null}return n.prototype={clone:function(){return Object.create(this)},setCurrentPoint:function(n,l){this.x=n,this.y=l}},n}(),c=function(){function n(n,l,e,t,i,a){this.ctx=n,this.current=new s,this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=l,this.objs=e,this.canvasFactory=t,this.webGLContext=i,this.imageLayer=a,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.cachedCanvases=new u(this.canvasFactory),n&&r(n),this._cachedGetSinglePixelWidth=null}function l(n,l){if("undefined"!=typeof ImageData&&l instanceof ImageData)n.putImageData(l,0,0);else{var e,i,r,u,s,c=l.height,d=l.width,p=c%a,m=(c-p)/a,f=0===p?m:m+1,h=n.createImageData(d,a),g=0,b=l.data,v=h.data;if(l.kind===t.ImageKind.GRAYSCALE_1BPP){var _=b.byteLength,y=new Uint32Array(v.buffer,0,v.byteLength>>2),w=y.length,x=d+7>>3,C=4294967295,k=o.value?4278190080:255;for(i=0;i<f;i++){for(u=i<m?a:p,e=0,r=0;r<u;r++){for(var S=_-g,I=0,A=S>x?d:8*S-7,M=-8&A,P=0,D=0;I<M;I+=8)D=b[g++],y[e++]=128&D?C:k,y[e++]=64&D?C:k,y[e++]=32&D?C:k,y[e++]=16&D?C:k,y[e++]=8&D?C:k,y[e++]=4&D?C:k,y[e++]=2&D?C:k,y[e++]=1&D?C:k;for(;I<A;I++)0===P&&(D=b[g++],P=128),y[e++]=D&P?C:k,P>>=1}for(;e<w;)y[e++]=0;n.putImageData(h,0,i*a)}}else if(l.kind===t.ImageKind.RGBA_32BPP){for(r=0,s=d*a*4,i=0;i<m;i++)v.set(b.subarray(g,g+s)),g+=s,n.putImageData(h,0,r),r+=a;i<f&&(v.set(b.subarray(g,g+(s=d*p*4))),n.putImageData(h,0,r))}else{if(l.kind!==t.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(l.kind));for(s=d*(u=a),i=0;i<f;i++){for(i>=m&&(s=d*(u=p)),e=0,r=s;r--;)v[e++]=b[g++],v[e++]=b[g++],v[e++]=b[g++],v[e++]=255;n.putImageData(h,0,i*a)}}}}function e(n,l){for(var e=l.height,t=l.width,i=e%a,o=(e-i)/a,r=0===i?o:o+1,u=n.createImageData(t,a),s=0,c=l.data,d=u.data,p=0;p<r;p++){for(var m=p<o?a:i,f=3,h=0;h<m;h++)for(var g=0,b=0;b<t;b++){if(!g){var v=c[s++];g=128}d[f]=v&g?0:255,f+=4,g>>=1}n.putImageData(u,0,p*a)}}function c(n,l){for(var e=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],t=0,i=e.length;t<i;t++){var a=e[t];void 0!==n[a]&&(l[a]=n[a])}void 0!==n.setLineDash&&(l.setLineDash(n.getLineDash()),l.lineDashOffset=n.lineDashOffset)}function d(n){n.strokeStyle="#000000",n.fillStyle="#000000",n.fillRule="nonzero",n.globalAlpha=1,n.lineWidth=1,n.lineCap="butt",n.lineJoin="miter",n.miterLimit=10,n.globalCompositeOperation="source-over",n.font="10px sans-serif",void 0!==n.setLineDash&&(n.setLineDash([]),n.lineDashOffset=0)}function p(n,l,e,t){for(var i=n.length,a=3;a<i;a+=4){var o=n[a];if(0===o)n[a-3]=l,n[a-2]=e,n[a-1]=t;else if(o<255){var r=255-o;n[a-3]=n[a-3]*o+l*r>>8,n[a-2]=n[a-2]*o+e*r>>8,n[a-1]=n[a-1]*o+t*r>>8}}}function m(n,l,e){for(var t=n.length,i=3;i<t;i+=4)l[i]=l[i]*(e?e[n[i]]:n[i])*(1/255)|0}function f(n,l,e){for(var t=n.length,i=3;i<t;i+=4){var a=77*n[i-3]+152*n[i-2]+28*n[i-1];l[i]=e?l[i]*e[a>>8]>>8:l[i]*a>>16}}function h(n,l,e,t){var i=l.canvas,a=l.context;n.setTransform(l.scaleX,0,0,l.scaleY,l.offsetX,l.offsetY);var o=l.backdrop||null;if(!l.transferMap&&t.isEnabled){var r=t.composeSMask({layer:e.canvas,mask:i,properties:{subtype:l.subtype,backdrop:o}});return n.setTransform(1,0,0,1,0,0),void n.drawImage(r,l.offsetX,l.offsetY)}!function(n,l,e,t,i,a,o){var r,u=!!a,s=u?a[0]:0,c=u?a[1]:0,d=u?a[2]:0;r="Luminosity"===i?f:m;for(var h=Math.min(t,Math.ceil(1048576/e)),g=0;g<t;g+=h){var b=Math.min(h,t-g),v=n.getImageData(0,g,e,b),_=l.getImageData(0,g,e,b);u&&p(v.data,s,c,d),r(v.data,_.data,o),n.putImageData(_,0,g)}}(a,e,i.width,i.height,l.subtype,o,l.transferMap),n.drawImage(i,0,0)}var g=["butt","round","square"],b=["miter","round","bevel"],v={},_={};for(var y in n.prototype={beginDrawing:function(n){var l=n.transform,e=n.viewport,t=n.transparency,i=void 0!==t&&t,a=n.background,o=void 0===a?null:a,r=this.ctx.canvas.width,u=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=o||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,r,u),this.ctx.restore(),i){var s=this.cachedCanvases.getCanvas("transparent",r,u,!0);this.compositeCtx=this.ctx,this.transparentCanvas=s.canvas,this.ctx=s.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),d(this.ctx),l&&this.ctx.transform.apply(this.ctx,l),this.ctx.transform.apply(this.ctx,e.transform),this.baseTransform=this.ctx.mozCurrentTransform.slice(),this.imageLayer&&this.imageLayer.beginLayout()},executeOperatorList:function(n,l,e,i){var a=n.argsArray,o=n.fnArray,r=l||0,u=a.length;if(u===r)return r;for(var s,c=u-r>10&&"function"==typeof e,d=c?Date.now()+15:0,p=0,m=this.commonObjs,f=this.objs;;){if(void 0!==i&&r===i.nextBreakPoint)return i.breakIt(r,e),r;if((s=o[r])!==t.OPS.dependency)this[s].apply(this,a[r]);else{var h=!0,g=!1,b=void 0;try{for(var v,_=a[r][Symbol.iterator]();!(h=(v=_.next()).done);h=!0){var y=v.value,w=y.startsWith("g_")?m:f;if(!w.has(y))return w.get(y,e),r}}catch(x){g=!0,b=x}finally{try{h||null==_.return||_.return()}finally{if(g)throw b}}}if(++r===u)return r;if(c&&++p>10){if(Date.now()>d)return e(),r;p=0}}},endDrawing:function(){null!==this.current.activeSMask&&this.endSMaskGroup(),this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.webGLContext.clear(),this.imageLayer&&this.imageLayer.endLayout()},setLineWidth:function(n){this.current.lineWidth=n,this.ctx.lineWidth=n},setLineCap:function(n){this.ctx.lineCap=g[n]},setLineJoin:function(n){this.ctx.lineJoin=b[n]},setMiterLimit:function(n){this.ctx.miterLimit=n},setDash:function(n,l){var e=this.ctx;void 0!==e.setLineDash&&(e.setLineDash(n),e.lineDashOffset=l)},setRenderingIntent:function(n){},setFlatness:function(n){},setGState:function(n){for(var l=0,e=n.length;l<e;l++){var t=n[l],i=t[1];switch(t[0]){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i[0],i[1]);break;case"CA":this.current.strokeAlpha=t[1];break;case"ca":this.current.fillAlpha=t[1],this.ctx.globalAlpha=t[1];break;case"BM":this.ctx.globalCompositeOperation=i;break;case"SMask":this.current.activeSMask&&(this.stateStack.length>0&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask?this.suspendSMaskGroup():this.endSMaskGroup()),this.current.activeSMask=i?this.tempSMask:null,this.current.activeSMask&&this.beginSMaskGroup(),this.tempSMask=null}}},beginSMaskGroup:function(){var n=this.current.activeSMask,l=this.cachedCanvases.getCanvas("smaskGroupAt"+this.groupLevel,n.canvas.width,n.canvas.height,!0),e=this.ctx,t=e.mozCurrentTransform;this.ctx.save();var i=l.context;i.scale(1/n.scaleX,1/n.scaleY),i.translate(-n.offsetX,-n.offsetY),i.transform.apply(i,t),n.startTransformInverse=i.mozCurrentTransformInverse,c(e,i),this.ctx=i,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(e),this.groupLevel++},suspendSMaskGroup:function(){var n=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),h(this.ctx,this.current.activeSMask,n,this.webGLContext),this.ctx.restore(),this.ctx.save(),c(n,this.ctx),this.current.resumeSMaskCtx=n;var l=t.Util.transform(this.current.activeSMask.startTransformInverse,n.mozCurrentTransform);this.ctx.transform.apply(this.ctx,l),n.save(),n.setTransform(1,0,0,1,0,0),n.clearRect(0,0,n.canvas.width,n.canvas.height),n.restore()},resumeSMaskGroup:function(){var n=this.ctx;this.ctx=this.current.resumeSMaskCtx,this.groupStack.push(n),this.groupLevel++},endSMaskGroup:function(){var n=this.ctx;this.groupLevel--,this.ctx=this.groupStack.pop(),h(this.ctx,this.current.activeSMask,n,this.webGLContext),this.ctx.restore(),c(n,this.ctx);var l=t.Util.transform(this.current.activeSMask.startTransformInverse,n.mozCurrentTransform);this.ctx.transform.apply(this.ctx,l)},save:function(){this.ctx.save();var n=this.current;this.stateStack.push(n),this.current=n.clone(),this.current.resumeSMaskCtx=null},restore:function(){this.current.resumeSMaskCtx&&this.resumeSMaskGroup(),null===this.current.activeSMask||0!==this.stateStack.length&&this.stateStack[this.stateStack.length-1].activeSMask===this.current.activeSMask||this.endSMaskGroup(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)},transform:function(n,l,e,t,i,a){this.ctx.transform(n,l,e,t,i,a),this._cachedGetSinglePixelWidth=null},constructPath:function(n,l){for(var e=this.ctx,i=this.current,a=i.x,o=i.y,r=0,u=0,s=n.length;r<s;r++)switch(0|n[r]){case t.OPS.rectangle:a=l[u++],o=l[u++];var c=l[u++],d=l[u++];0===c&&(c=this.getSinglePixelWidth()),0===d&&(d=this.getSinglePixelWidth());var p=a+c,m=o+d;this.ctx.moveTo(a,o),this.ctx.lineTo(p,o),this.ctx.lineTo(p,m),this.ctx.lineTo(a,m),this.ctx.lineTo(a,o),this.ctx.closePath();break;case t.OPS.moveTo:a=l[u++],o=l[u++],e.moveTo(a,o);break;case t.OPS.lineTo:a=l[u++],o=l[u++],e.lineTo(a,o);break;case t.OPS.curveTo:e.bezierCurveTo(l[u],l[u+1],l[u+2],l[u+3],a=l[u+4],o=l[u+5]),u+=6;break;case t.OPS.curveTo2:e.bezierCurveTo(a,o,l[u],l[u+1],l[u+2],l[u+3]),a=l[u+2],o=l[u+3],u+=4;break;case t.OPS.curveTo3:e.bezierCurveTo(l[u],l[u+1],a=l[u+2],o=l[u+3],a,o),u+=4;break;case t.OPS.closePath:e.closePath()}i.setCurrentPoint(a,o)},closePath:function(){this.ctx.closePath()},stroke:function(n){n=void 0===n||n;var l=this.ctx,e=this.current.strokeColor;l.lineWidth=Math.max(.65*this.getSinglePixelWidth(),this.current.lineWidth),l.globalAlpha=this.current.strokeAlpha,e&&e.hasOwnProperty("type")&&"Pattern"===e.type?(l.save(),l.strokeStyle=e.getPattern(l,this),l.stroke(),l.restore()):l.stroke(),n&&this.consumePath(),l.globalAlpha=this.current.fillAlpha},closeStroke:function(){this.closePath(),this.stroke()},fill:function(n){n=void 0===n||n;var l=this.ctx,e=this.current.fillColor,t=!1;this.current.patternFill&&(l.save(),this.baseTransform&&l.setTransform.apply(l,this.baseTransform),l.fillStyle=e.getPattern(l,this),t=!0),this.pendingEOFill?(l.fill("evenodd"),this.pendingEOFill=!1):l.fill(),t&&l.restore(),n&&this.consumePath()},eoFill:function(){this.pendingEOFill=!0,this.fill()},fillStroke:function(){this.fill(!1),this.stroke(!1),this.consumePath()},eoFillStroke:function(){this.pendingEOFill=!0,this.fillStroke()},closeFillStroke:function(){this.closePath(),this.fillStroke()},closeEOFillStroke:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()},endPath:function(){this.consumePath()},clip:function(){this.pendingClip=v},eoClip:function(){this.pendingClip=_},beginText:function(){this.current.textMatrix=t.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},endText:function(){var n=this.pendingTextPaths,l=this.ctx;if(void 0!==n){l.save(),l.beginPath();for(var e=0;e<n.length;e++){var t=n[e];l.setTransform.apply(l,t.transform),l.translate(t.x,t.y),t.addToPath(l,t.fontSize)}l.restore(),l.clip(),l.beginPath(),delete this.pendingTextPaths}else l.beginPath()},setCharSpacing:function(n){this.current.charSpacing=n},setWordSpacing:function(n){this.current.wordSpacing=n},setHScale:function(n){this.current.textHScale=n/100},setLeading:function(n){this.current.leading=-n},setFont:function(n,l){var e=this.commonObjs.get(n),i=this.current;if(!e)throw new Error("Can't find font for ".concat(n));if(i.fontMatrix=e.fontMatrix?e.fontMatrix:t.FONT_IDENTITY_MATRIX,0!==i.fontMatrix[0]&&0!==i.fontMatrix[3]||(0,t.warn)("Invalid font matrix for font "+n),l<0?(l=-l,i.fontDirection=-1):i.fontDirection=1,this.current.font=e,this.current.fontSize=l,!e.isType3Font){var a=e.black?"900":e.bold?"bold":"normal",o=e.italic?"italic":"normal",r='"'.concat(e.loadedName||"sans-serif",'", ').concat(e.fallbackName),u=l<16?16:l>100?100:l;this.current.fontSizeScale=l/u,this.ctx.font="".concat(o," ").concat(a," ").concat(u,"px ").concat(r)}},setTextRenderingMode:function(n){this.current.textRenderingMode=n},setTextRise:function(n){this.current.textRise=n},moveText:function(n,l){this.current.x=this.current.lineX+=n,this.current.y=this.current.lineY+=l},setLeadingMoveText:function(n,l){this.setLeading(-l),this.moveText(n,l)},setTextMatrix:function(n,l,e,t,i,a){this.current.textMatrix=[n,l,e,t,i,a],this.current.textMatrixScale=Math.sqrt(n*n+l*l),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0},nextLine:function(){this.moveText(0,this.current.leading)},paintChar:function(n,l,e,i){var a,o=this.ctx,r=this.current,u=r.font,s=r.textRenderingMode,c=r.fontSize/r.fontSizeScale,d=s&t.TextRenderingMode.FILL_STROKE_MASK,p=!!(s&t.TextRenderingMode.ADD_TO_PATH_FLAG),m=r.patternFill&&u.data;(u.disableFontFace||p||m)&&(a=u.getPathGenerator(this.commonObjs,n)),u.disableFontFace||m?(o.save(),o.translate(l,e),o.beginPath(),a(o,c),i&&o.setTransform.apply(o,i),d!==t.TextRenderingMode.FILL&&d!==t.TextRenderingMode.FILL_STROKE||o.fill(),d!==t.TextRenderingMode.STROKE&&d!==t.TextRenderingMode.FILL_STROKE||o.stroke(),o.restore()):(d!==t.TextRenderingMode.FILL&&d!==t.TextRenderingMode.FILL_STROKE||o.fillText(n,l,e),d!==t.TextRenderingMode.STROKE&&d!==t.TextRenderingMode.FILL_STROKE||o.strokeText(n,l,e)),p&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:o.mozCurrentTransform,x:l,y:e,fontSize:c,addToPath:a})},get isFontSubpixelAAEnabled(){var n=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;n.scale(1.5,1),n.fillText("I",0,10);for(var l=n.getImageData(0,0,10,10).data,e=!1,i=3;i<l.length;i+=4)if(l[i]>0&&l[i]<255){e=!0;break}return(0,t.shadow)(this,"isFontSubpixelAAEnabled",e)},showText:function(n){var l=this.current,e=l.font;if(e.isType3Font)return this.showType3Text(n);var i=l.fontSize;if(0!==i){var a,o=this.ctx,r=l.fontSizeScale,u=l.charSpacing,s=l.wordSpacing,c=l.fontDirection,d=l.textHScale*c,p=n.length,m=e.vertical,f=m?1:-1,h=e.defaultVMetrics,g=i*l.fontMatrix[0],b=l.textRenderingMode===t.TextRenderingMode.FILL&&!e.disableFontFace&&!l.patternFill;if(o.save(),l.patternFill){o.save();var v=l.fillColor.getPattern(o,this);a=o.mozCurrentTransform,o.restore(),o.fillStyle=v}o.transform.apply(o,l.textMatrix),o.translate(l.x,l.y+l.textRise),o.scale(d,c>0?-1:1);var _=l.lineWidth,y=l.textMatrixScale;if(0===y||0===_){var w=l.textRenderingMode&t.TextRenderingMode.FILL_STROKE_MASK;w!==t.TextRenderingMode.STROKE&&w!==t.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,_=.65*this.getSinglePixelWidth())}else _/=y;1!==r&&(o.scale(r,r),_/=r),o.lineWidth=_;var x,C=0;for(x=0;x<p;++x){var k=n[x];if((0,t.isNum)(k))C+=f*k*i/1e3;else{var S,I,A,M,P=!1,D=(k.isSpace?s:0)+u,F=k.fontChar,E=k.accent,O=k.width;if(m?(A=k.vmetric||h,M=k.vmetric?A[1]:.5*O,O=A?-A[0]:O,S=(M=-M*g)/r,I=(C+A[2]*g)/r):(S=C/r,I=0),e.remeasure&&O>0){var T=1e3*o.measureText(F).width/i*r;if(O<T&&this.isFontSubpixelAAEnabled){var L=O/T;P=!0,o.save(),o.scale(L,1),S/=L}else O!==T&&(S+=(O-T)/2e3*i/r)}(k.isInFont||e.missingFile)&&(b&&!E?o.fillText(F,S,I):(this.paintChar(F,S,I,a),E&&this.paintChar(E.fontChar,S+E.offset.x/r,I-E.offset.y/r,a))),C+=O*g+D*c,P&&o.restore()}}m?l.y-=C*d:l.x+=C*d,o.restore()}},showType3Text:function(n){var l,e,i,a,o=this.ctx,r=this.current,u=r.font,s=r.fontSize,c=r.fontDirection,d=u.vertical?1:-1,p=r.charSpacing,m=r.wordSpacing,f=r.textHScale*c,h=r.fontMatrix||t.FONT_IDENTITY_MATRIX,g=n.length;if(r.textRenderingMode!==t.TextRenderingMode.INVISIBLE&&0!==s){for(this._cachedGetSinglePixelWidth=null,o.save(),o.transform.apply(o,r.textMatrix),o.translate(r.x,r.y),o.scale(f,c),l=0;l<g;++l)if((0,t.isNum)(e=n[l]))this.ctx.translate(a=d*e*s/1e3,0),r.x+=a*f;else{var b=(e.isSpace?m:0)+p,v=u.charProcOperatorList[e.operatorListId];if(v){this.processingType3=e,this.save(),o.scale(s,s),o.transform.apply(o,h),this.executeOperatorList(v),this.restore();var _=t.Util.applyTransform([e.width,0],h);o.translate(i=_[0]*s+b,0),r.x+=i*f}else(0,t.warn)('Type3 character "'.concat(e.operatorListId,'" is not available.'))}o.restore(),this.processingType3=null}},setCharWidth:function(n,l){},setCharWidthAndBounds:function(n,l,e,t,i,a){this.ctx.rect(e,t,i-e,a-t),this.clip(),this.endPath()},getColorN_Pattern:function(l){var e,t=this;if("TilingPattern"===l[0]){var a=l[1],o=this.baseTransform||this.ctx.mozCurrentTransform.slice();e=new i.TilingPattern(l,a,this.ctx,{createCanvasGraphics:function(l){return new n(l,t.commonObjs,t.objs,t.canvasFactory,t.webGLContext)}},o)}else e=(0,i.getShadingPatternFromIR)(l);return e},setStrokeColorN:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)},setFillColorN:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0},setStrokeRGBColor:function(n,l,e){var i=t.Util.makeCssRgb(n,l,e);this.ctx.strokeStyle=i,this.current.strokeColor=i},setFillRGBColor:function(n,l,e){var i=t.Util.makeCssRgb(n,l,e);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1},shadingFill:function(n){var l=this.ctx;this.save();var e=(0,i.getShadingPatternFromIR)(n);l.fillStyle=e.getPattern(l,this,!0);var a=l.mozCurrentTransformInverse;if(a){var o=l.canvas,r=o.width,u=o.height,s=t.Util.applyTransform([0,0],a),c=t.Util.applyTransform([0,u],a),d=t.Util.applyTransform([r,0],a),p=t.Util.applyTransform([r,u],a),m=Math.min(s[0],c[0],d[0],p[0]),f=Math.min(s[1],c[1],d[1],p[1]),h=Math.max(s[0],c[0],d[0],p[0]),g=Math.max(s[1],c[1],d[1],p[1]);this.ctx.fillRect(m,f,h-m,g-f)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.restore()},beginInlineImage:function(){(0,t.unreachable)("Should not call beginInlineImage")},beginImageData:function(){(0,t.unreachable)("Should not call beginImageData")},paintFormXObjectBegin:function(n,l){this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(n)&&6===n.length&&this.transform.apply(this,n),this.baseTransform=this.ctx.mozCurrentTransform,l&&(this.ctx.rect(l[0],l[1],l[2]-l[0],l[3]-l[1]),this.clip(),this.endPath())},paintFormXObjectEnd:function(){this.restore(),this.baseTransform=this.baseTransformStack.pop()},beginGroup:function(n){this.save();var l=this.ctx;n.isolated||(0,t.info)("TODO: Support non-isolated groups."),n.knockout&&(0,t.warn)("Knockout groups not supported.");var e=l.mozCurrentTransform;if(n.matrix&&l.transform.apply(l,n.matrix),!n.bbox)throw new Error("Bounding box is required.");var i=t.Util.getAxialAlignedBoundingBox(n.bbox,l.mozCurrentTransform);i=t.Util.intersect(i,[0,0,l.canvas.width,l.canvas.height])||[0,0,0,0];var a=Math.floor(i[0]),o=Math.floor(i[1]),r=Math.max(Math.ceil(i[2])-a,1),u=Math.max(Math.ceil(i[3])-o,1),s=1,d=1;r>4096&&(s=r/4096,r=4096),u>4096&&(d=u/4096,u=4096);var p="groupAt"+this.groupLevel;n.smask&&(p+="_smask_"+this.smaskCounter++%2);var m=this.cachedCanvases.getCanvas(p,r,u,!0),f=m.context;f.scale(1/s,1/d),f.translate(-a,-o),f.transform.apply(f,e),n.smask?this.smaskStack.push({canvas:m.canvas,context:f,offsetX:a,offsetY:o,scaleX:s,scaleY:d,subtype:n.smask.subtype,backdrop:n.smask.backdrop,transferMap:n.smask.transferMap||null,startTransformInverse:null}):(l.setTransform(1,0,0,1,0,0),l.translate(a,o),l.scale(s,d)),c(l,f),this.ctx=f,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(l),this.groupLevel++,this.current.activeSMask=null},endGroup:function(n){this.groupLevel--;var l=this.ctx;this.ctx=this.groupStack.pop(),void 0!==this.ctx.imageSmoothingEnabled?this.ctx.imageSmoothingEnabled=!1:this.ctx.mozImageSmoothingEnabled=!1,n.smask?this.tempSMask=this.smaskStack.pop():this.ctx.drawImage(l.canvas,0,0),this.restore()},beginAnnotations:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)},endAnnotations:function(){this.restore()},beginAnnotation:function(n,l,e){this.save(),d(this.ctx),this.current=new s,Array.isArray(n)&&4===n.length&&(this.ctx.rect(n[0],n[1],n[2]-n[0],n[3]-n[1]),this.clip(),this.endPath()),this.transform.apply(this,l),this.transform.apply(this,e)},endAnnotation:function(){this.restore()},paintJpegXObject:function(n,l,e){var i=this.processingType3?this.commonObjs.get(n):this.objs.get(n);if(i){this.save();var a=this.ctx;if(a.scale(1/l,-1/e),a.drawImage(i,0,0,i.width,i.height,0,-e,l,e),this.imageLayer){var o=a.mozCurrentTransformInverse,r=this.getCanvasPosition(0,0);this.imageLayer.appendImage({objId:n,left:r[0],top:r[1],width:l/o[0],height:e/o[3]})}this.restore()}else(0,t.warn)("Dependent image isn't ready yet")},paintImageMaskXObject:function(n){var l=this.ctx,t=n.width,i=n.height,a=this.current.fillColor,o=this.current.patternFill,r=this.processingType3;if(r&&void 0===r.compiled&&(r.compiled=t<=1e3&&i<=1e3?function(n){var l,e,t,i,a=n.width,o=n.height,r=a+1,u=new Uint8Array(r*(o+1)),s=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),c=a+7&-8,d=n.data,p=new Uint8Array(c*o),m=0;for(l=0,i=d.length;l<i;l++)for(var f=128,h=d[l];f>0;)p[m++]=h&f?0:255,f>>=1;var g=0;for(0!==p[m=0]&&(u[0]=1,++g),e=1;e<a;e++)p[m]!==p[m+1]&&(u[e]=p[m]?2:1,++g),m++;for(0!==p[m]&&(u[e]=2,++g),l=1;l<o;l++){t=l*r,p[(m=l*c)-c]!==p[m]&&(u[t]=p[m]?1:8,++g);var b=(p[m]?4:0)+(p[m-c]?8:0);for(e=1;e<a;e++)s[b=(b>>2)+(p[m+1]?4:0)+(p[m-c+1]?8:0)]&&(u[t+e]=s[b],++g),m++;if(p[m-c]!==p[m]&&(u[t+e]=p[m]?2:4,++g),g>1e3)return null}for(t=l*r,0!==p[m=c*(o-1)]&&(u[t]=8,++g),e=1;e<a;e++)p[m]!==p[m+1]&&(u[t+e]=p[m]?4:8,++g),m++;if(0!==p[m]&&(u[t+e]=4,++g),g>1e3)return null;var v=new Int32Array([0,r,-1,0,-r,0,0,0,1]),_=[];for(l=0;g&&l<=o;l++){for(var y=l*r,w=y+a;y<w&&!u[y];)y++;if(y!==w){var x,C=[y%r,l],k=u[y],S=y;do{var I=v[k];do{y+=I}while(!u[y]);5!==(x=u[y])&&10!==x?(k=x,u[y]=0):u[y]&=(k=x&51*k>>4)>>2|k<<2,C.push(y%r),C.push(y/r|0),u[y]||--g}while(S!==y);_.push(C),--l}}return function(n){n.save(),n.scale(1/a,-1/o),n.translate(0,-o),n.beginPath();for(var l=0,e=_.length;l<e;l++){var t=_[l];n.moveTo(t[0],t[1]);for(var i=2,r=t.length;i<r;i+=2)n.lineTo(t[i],t[i+1])}n.fill(),n.beginPath(),n.restore()}}({data:n.data,width:t,height:i}):null),r&&r.compiled)r.compiled(l);else{var u=this.cachedCanvases.getCanvas("maskCanvas",t,i),s=u.context;s.save(),e(s,n),s.globalCompositeOperation="source-in",s.fillStyle=o?a.getPattern(s,this):a,s.fillRect(0,0,t,i),s.restore(),this.paintInlineImageXObject(u.canvas)}},paintImageMaskXObjectRepeat:function(n,l,t,i){var a=n.width,o=n.height,r=this.current.fillColor,u=this.current.patternFill,s=this.cachedCanvases.getCanvas("maskCanvas",a,o),c=s.context;c.save(),e(c,n),c.globalCompositeOperation="source-in",c.fillStyle=u?r.getPattern(c,this):r,c.fillRect(0,0,a,o),c.restore();for(var d=this.ctx,p=0,m=i.length;p<m;p+=2)d.save(),d.transform(l,0,0,t,i[p],i[p+1]),d.scale(1,-1),d.drawImage(s.canvas,0,0,a,o,0,-1,1,1),d.restore()},paintImageMaskXObjectGroup:function(n){for(var l=this.ctx,t=this.current.fillColor,i=this.current.patternFill,a=0,o=n.length;a<o;a++){var r=n[a],u=r.width,s=r.height,c=this.cachedCanvases.getCanvas("maskCanvas",u,s),d=c.context;d.save(),e(d,r),d.globalCompositeOperation="source-in",d.fillStyle=i?t.getPattern(d,this):t,d.fillRect(0,0,u,s),d.restore(),l.save(),l.transform.apply(l,r.transform),l.scale(1,-1),l.drawImage(c.canvas,0,0,u,s,0,-1,1,1),l.restore()}},paintImageXObject:function(n){var l=this.processingType3?this.commonObjs.get(n):this.objs.get(n);l?this.paintInlineImageXObject(l):(0,t.warn)("Dependent image isn't ready yet")},paintImageXObjectRepeat:function(n,l,e,i){var a=this.processingType3?this.commonObjs.get(n):this.objs.get(n);if(a){for(var o=a.width,r=a.height,u=[],s=0,c=i.length;s<c;s+=2)u.push({transform:[l,0,0,e,i[s],i[s+1]],x:0,y:0,w:o,h:r});this.paintInlineImageXObjectGroup(a,u)}else(0,t.warn)("Dependent image isn't ready yet")},paintInlineImageXObject:function(n){var e=n.width,t=n.height,i=this.ctx;this.save(),i.scale(1/e,-1/t);var a,o,r=i.mozCurrentTransformInverse,u=r[0],s=r[1],c=Math.max(Math.sqrt(u*u+s*s),1),d=r[2],p=r[3],m=Math.max(Math.sqrt(d*d+p*p),1);if("function"==typeof HTMLElement&&n instanceof HTMLElement||!n.data)a=n;else{var f=(o=this.cachedCanvases.getCanvas("inlineImage",e,t)).context;l(f,n),a=o.canvas}for(var h=e,g=t,b="prescale1";c>2&&h>1||m>2&&g>1;){var v=h,_=g;c>2&&h>1&&(c/=h/(v=Math.ceil(h/2))),m>2&&g>1&&(m/=g/(_=Math.ceil(g/2))),(f=(o=this.cachedCanvases.getCanvas(b,v,_)).context).clearRect(0,0,v,_),f.drawImage(a,0,0,h,g,0,0,v,_),a=o.canvas,h=v,g=_,b="prescale1"===b?"prescale2":"prescale1"}if(i.drawImage(a,0,0,h,g,0,-t,e,t),this.imageLayer){var y=this.getCanvasPosition(0,-t);this.imageLayer.appendImage({imgData:n,left:y[0],top:y[1],width:e/r[0],height:t/r[3]})}this.restore()},paintInlineImageXObjectGroup:function(n,e){var t=this.ctx,i=n.width,a=n.height,o=this.cachedCanvases.getCanvas("inlineImage",i,a);l(o.context,n);for(var r=0,u=e.length;r<u;r++){var s=e[r];if(t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(o.canvas,s.x,s.y,s.w,s.h,0,-1,1,1),this.imageLayer){var c=this.getCanvasPosition(s.x,s.y);this.imageLayer.appendImage({imgData:n,left:c[0],top:c[1],width:i,height:a})}t.restore()}},paintSolidColorImageMask:function(){this.ctx.fillRect(0,0,1,1)},paintXObject:function(){(0,t.warn)("Unsupported 'paintXObject' command.")},markPoint:function(n){},markPointProps:function(n,l){},beginMarkedContent:function(n){},beginMarkedContentProps:function(n,l){},endMarkedContent:function(){},beginCompat:function(){},endCompat:function(){},consumePath:function(){var n=this.ctx;this.pendingClip&&(this.pendingClip===_?n.clip("evenodd"):n.clip(),this.pendingClip=null),n.beginPath()},getSinglePixelWidth:function(n){if(null===this._cachedGetSinglePixelWidth){var l=this.ctx.mozCurrentTransformInverse;this._cachedGetSinglePixelWidth=Math.sqrt(Math.max(l[0]*l[0]+l[1]*l[1],l[2]*l[2]+l[3]*l[3]))}return this._cachedGetSinglePixelWidth},getCanvasPosition:function(n,l){var e=this.ctx.mozCurrentTransform;return[e[0]*n+e[2]*l+e[4],e[1]*n+e[3]*l+e[5]]}},t.OPS)n.prototype[t.OPS[y]]=n.prototype[y];return n}();l.CanvasGraphics=c},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getShadingPatternFromIR=function(n){var l=i[n[0]];if(!l)throw new Error("Unknown IR type: ".concat(n[0]));return l.fromIR(n)},l.TilingPattern=void 0;var t=e(1),i={RadialAxial:{fromIR:function(n){var l=n[1],e=n[2],t=n[3],i=n[4],a=n[5],o=n[6];return{type:"Pattern",getPattern:function(n){var r;"axial"===l?r=n.createLinearGradient(t[0],t[1],i[0],i[1]):"radial"===l&&(r=n.createRadialGradient(t[0],t[1],a,i[0],i[1],o));for(var u=0,s=e.length;u<s;++u){var c=e[u];r.addColorStop(c[0],c[1])}return r}}}}},a=function(){function n(n,l,e,t,i,a,o,r){var u,s=l.coords,c=l.colors,d=n.data,p=4*n.width;s[e+1]>s[t+1]&&(u=e,e=t,t=u,u=a,a=o,o=u),s[t+1]>s[i+1]&&(u=t,t=i,i=u,u=o,o=r,r=u),s[e+1]>s[t+1]&&(u=e,e=t,t=u,u=a,a=o,o=u);var m=(s[e]+l.offsetX)*l.scaleX,f=(s[e+1]+l.offsetY)*l.scaleY,h=(s[t]+l.offsetX)*l.scaleX,g=(s[t+1]+l.offsetY)*l.scaleY,b=(s[i]+l.offsetX)*l.scaleX,v=(s[i+1]+l.offsetY)*l.scaleY;if(!(f>=v))for(var _,y,w,x,C,k,S,I,A,M=c[a],P=c[a+1],D=c[a+2],F=c[o],E=c[o+1],O=c[o+2],T=c[r],L=c[r+1],R=c[r+2],N=Math.round(f),j=Math.round(v),V=N;V<=j;V++){V<g?(_=m-(m-h)*(A=V<f?0:f===g?1:(f-V)/(f-g)),y=M-(M-F)*A,w=P-(P-E)*A,x=D-(D-O)*A):(_=h-(h-b)*(A=V>v?1:g===v?0:(g-V)/(g-v)),y=F-(F-T)*A,w=E-(E-L)*A,x=O-(O-R)*A),C=m-(m-b)*(A=V<f?0:V>v?1:(f-V)/(f-v)),k=M-(M-T)*A,S=P-(P-L)*A,I=D-(D-R)*A;for(var q=Math.round(Math.min(_,C)),z=Math.round(Math.max(_,C)),U=p*V+4*q,B=q;B<=z;B++)d[U++]=y-(y-k)*(A=(A=(_-B)/(_-C))<0?0:A>1?1:A)|0,d[U++]=w-(w-S)*A|0,d[U++]=x-(x-I)*A|0,d[U++]=255}}function l(l,e,t){var i,a,o=e.coords,r=e.colors;switch(e.type){case"lattice":var u=e.verticesPerRow,s=Math.floor(o.length/u)-1,c=u-1;for(i=0;i<s;i++)for(var d=i*u,p=0;p<c;p++,d++)n(l,t,o[d],o[d+1],o[d+u],r[d],r[d+1],r[d+u]),n(l,t,o[d+u+1],o[d+1],o[d+u],r[d+u+1],r[d+1],r[d+u]);break;case"triangles":for(i=0,a=o.length;i<a;i+=3)n(l,t,o[i],o[i+1],o[i+2],r[i],r[i+1],r[i+2]);break;default:throw new Error("illegal figure")}}return function(n,e,t,i,a,o,r,u){var s,c,d,p,m=Math.floor(n[0]),f=Math.floor(n[1]),h=Math.ceil(n[2])-m,g=Math.ceil(n[3])-f,b=Math.min(Math.ceil(Math.abs(h*e[0]*1.1)),3e3),v=Math.min(Math.ceil(Math.abs(g*e[1]*1.1)),3e3),_=h/b,y=g/v,w={coords:t,colors:i,offsetX:-m,offsetY:-f,scaleX:1/_,scaleY:1/y},x=b+4,C=v+4;if(u.isEnabled)s=u.drawFigures({width:b,height:v,backgroundColor:o,figures:a,context:w}),(c=r.getCanvas("mesh",x,C,!1)).context.drawImage(s,2,2),s=c.canvas;else{var k=(c=r.getCanvas("mesh",x,C,!1)).context,S=k.createImageData(b,v);if(o){var I=S.data;for(d=0,p=I.length;d<p;d+=4)I[d]=o[0],I[d+1]=o[1],I[d+2]=o[2],I[d+3]=255}for(d=0;d<a.length;d++)l(S,a[d],w);k.putImageData(S,2,2),s=c.canvas}return{canvas:s,offsetX:m-2*_,offsetY:f-2*y,scaleX:_,scaleY:y}}}();i.Mesh={fromIR:function(n){var l=n[2],e=n[3],i=n[4],o=n[5],r=n[6],u=n[8];return{type:"Pattern",getPattern:function(n,s,c){var d;if(c)d=t.Util.singularValueDecompose2dScale(n.mozCurrentTransform);else if(d=t.Util.singularValueDecompose2dScale(s.baseTransform),r){var p=t.Util.singularValueDecompose2dScale(r);d=[d[0]*p[0],d[1]*p[1]]}var m=a(o,d,l,e,i,c?null:u,s.cachedCanvases,s.webGLContext);return c||(n.setTransform.apply(n,s.baseTransform),r&&n.transform.apply(n,r)),n.translate(m.offsetX,m.offsetY),n.scale(m.scaleX,m.scaleY),n.createPattern(m.canvas,"no-repeat")}}}},i.Dummy={fromIR:function(){return{type:"Pattern",getPattern:function(){return"hotpink"}}}};var o=function(){function n(n,l,e,t,i){this.operatorList=n[2],this.matrix=n[3]||[1,0,0,1,0,0],this.bbox=n[4],this.xstep=n[5],this.ystep=n[6],this.paintType=n[7],this.tilingType=n[8],this.color=l,this.canvasGraphicsFactory=t,this.baseTransform=i,this.type="Pattern",this.ctx=e}return n.prototype={createPatternCanvas:function(n){var l=this.operatorList,e=this.bbox,i=this.xstep,a=this.ystep,o=this.paintType,r=this.color,u=this.canvasGraphicsFactory;(0,t.info)("TilingType: "+this.tilingType);var s=e[0],c=e[1],d=e[2],p=e[3],m=t.Util.singularValueDecompose2dScale(this.matrix),f=t.Util.singularValueDecompose2dScale(this.baseTransform),h=[m[0]*f[0],m[1]*f[1]],g=this.getSizeAndScale(i,this.ctx.canvas.width,h[0]),b=this.getSizeAndScale(a,this.ctx.canvas.height,h[1]),v=n.cachedCanvases.getCanvas("pattern",g.size,b.size,!0),_=u.createCanvasGraphics(v.context);return _.groupLevel=n.groupLevel,this.setFillAndStrokeStyleToContext(_,o,r),_.transform(g.scale,0,0,b.scale,0,0),_.transform(1,0,0,1,-s,-c),this.clipBbox(_,e,s,c,d,p),_.executeOperatorList(l),this.ctx.transform(1,0,0,1,s,c),this.ctx.scale(1/g.scale,1/b.scale),v.canvas},getSizeAndScale:function(n,l,e){n=Math.abs(n);var t=Math.max(3e3,l),i=Math.ceil(n*e);return i>=t?i=t:e=i/n,{scale:e,size:i}},clipBbox:function(n,l,e,t,i,a){Array.isArray(l)&&4===l.length&&(n.ctx.rect(e,t,i-e,a-t),n.clip(),n.endPath())},setFillAndStrokeStyleToContext:function(n,l,e){var i=n.ctx,a=n.current;switch(l){case 1:var o=this.ctx;i.fillStyle=o.fillStyle,i.strokeStyle=o.strokeStyle,a.fillColor=o.fillStyle,a.strokeColor=o.strokeStyle;break;case 2:var r=t.Util.makeCssRgb(e[0],e[1],e[2]);i.fillStyle=r,i.strokeStyle=r,a.fillColor=r,a.strokeColor=r;break;default:throw new t.FormatError("Unsupported paint type: ".concat(l))}},getPattern:function(n,l){(n=this.ctx).setTransform.apply(n,this.baseTransform),n.transform.apply(n,this.matrix);var e=this.createPatternCanvas(l);return n.createPattern(e,"repeat")}},n}();l.TilingPattern=o},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.GlobalWorkerOptions=void 0;var t=Object.create(null);l.GlobalWorkerOptions=t,t.workerPort=void 0===t.workerPort?null:t.workerPort,t.workerSrc=void 0===t.workerSrc?"":t.workerSrc},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.MessageHandler=m;var t,i=(t=e(148))&&t.__esModule?t:{default:t},a=e(1);function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function u(n,l){return s.apply(this,arguments)}function s(){return(s=function(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function o(n){r(a,t,i,o,u,"next",n)}function u(n){r(a,t,i,o,u,"throw",n)}o(void 0)}))}}(i.default.mark((function n(l,e){var t,a=arguments;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t=a.length>2&&void 0!==a[2]?a[2]:null,l){n.next=3;break}return n.abrupt("return",void 0);case 3:return n.abrupt("return",l.apply(t,e));case 4:case"end":return n.stop()}}),n)})))).apply(this,arguments)}function c(n){if("object"!==o(n))return n;switch(n.name){case"AbortException":return new a.AbortException(n.message);case"MissingPDFException":return new a.MissingPDFException(n.message);case"UnexpectedResponseException":return new a.UnexpectedResponseException(n.message,n.status);default:return new a.UnknownErrorException(n.message,n.details)}}function d(n){return!(n instanceof Error)||n instanceof a.AbortException||n instanceof a.MissingPDFException||n instanceof a.UnexpectedResponseException||n instanceof a.UnknownErrorException?n:new a.UnknownErrorException(n.message,n.toString())}function p(n,l,e){l?n.resolve():n.reject(e)}function m(n,l,e){var t=this;this.sourceName=n,this.targetName=l,this.comObj=e,this.callbackId=1,this.streamId=1,this.postMessageTransfers=!0,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null);var i=this.callbacksCapabilities=Object.create(null),a=this.actionHandler=Object.create(null);this._onComObjOnMessage=function(n){var l=n.data;if(l.targetName===t.sourceName)if(l.stream)t._processStreamMessage(l);else if(l.isReply){var o=l.callbackId;if(!(l.callbackId in i))throw new Error("Cannot resolve callback ".concat(o));var r=i[o];delete i[o],"error"in l?r.reject(c(l.error)):r.resolve(l.data)}else{if(!(l.action in a))throw new Error("Unknown action from worker: ".concat(l.action));var u=a[l.action];if(l.callbackId){var s=t.sourceName,p=l.sourceName;Promise.resolve().then((function(){return u[0].call(u[1],l.data)})).then((function(n){e.postMessage({sourceName:s,targetName:p,isReply:!0,callbackId:l.callbackId,data:n})}),(function(n){e.postMessage({sourceName:s,targetName:p,isReply:!0,callbackId:l.callbackId,error:d(n)})}))}else l.streamId?t._createStreamSink(l):u[0].call(u[1],l.data)}},e.addEventListener("message",this._onComObjOnMessage)}m.prototype={on:function(n,l,e){var t=this.actionHandler;if(t[n])throw new Error('There is already an actionName called "'.concat(n,'"'));t[n]=[l,e]},send:function(n,l,e){this.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:n,data:l},e)},sendWithPromise:function(n,l,e){var t=this.callbackId++,i={sourceName:this.sourceName,targetName:this.targetName,action:n,data:l,callbackId:t},o=(0,a.createPromiseCapability)();this.callbacksCapabilities[t]=o;try{this.postMessage(i,e)}catch(r){o.reject(r)}return o.promise},sendWithStream:function(n,l,e,t){var i=this,o=this.streamId++,r=this.sourceName,u=this.targetName;return new a.ReadableStream({start:function(e){var t=(0,a.createPromiseCapability)();return i.streamControllers[o]={controller:e,startCall:t,isClosed:!1},i.postMessage({sourceName:r,targetName:u,action:n,streamId:o,data:l,desiredSize:e.desiredSize}),t.promise},pull:function(n){var l=(0,a.createPromiseCapability)();return i.streamControllers[o].pullCall=l,i.postMessage({sourceName:r,targetName:u,stream:"pull",streamId:o,desiredSize:n.desiredSize}),l.promise},cancel:function(n){var l=(0,a.createPromiseCapability)();return i.streamControllers[o].cancelCall=l,i.streamControllers[o].isClosed=!0,i.postMessage({sourceName:r,targetName:u,stream:"cancel",reason:n,streamId:o}),l.promise}},e)},_createStreamSink:function(n){var l=this,e=this,t=this.actionHandler[n.action],i=n.streamId,o=n.desiredSize,r=this.sourceName,s=n.sourceName,c=(0,a.createPromiseCapability)(),d=function(n){l.postMessage({sourceName:r,targetName:s,stream:n.stream,streamId:i,chunk:n.chunk,success:n.success,reason:n.reason},n.transfers)},p={enqueue:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var t=this.desiredSize;this.desiredSize-=l,t>0&&this.desiredSize<=0&&(this.sinkCapability=(0,a.createPromiseCapability)(),this.ready=this.sinkCapability.promise),d({stream:"enqueue",chunk:n,transfers:e})}},close:function(){this.isCancelled||(this.isCancelled=!0,d({stream:"close"}),delete e.streamSinks[i])},error:function(n){this.isCancelled||(this.isCancelled=!0,d({stream:"error",reason:n}))},sinkCapability:c,onPull:null,onCancel:null,isCancelled:!1,desiredSize:o,ready:null};p.sinkCapability.resolve(),p.ready=p.sinkCapability.promise,this.streamSinks[i]=p,u(t[0],[n.data,p],t[1]).then((function(){d({stream:"start_complete",success:!0})}),(function(n){d({stream:"start_complete",success:!1,reason:n})}))},_processStreamMessage:function(n){var l=this,e=this.sourceName,t=n.sourceName,i=n.streamId,o=function(n){l.comObj.postMessage({sourceName:e,targetName:t,stream:n.stream,success:n.success,streamId:i,reason:n.reason})},r=function(){Promise.all([l.streamControllers[n.streamId].startCall,l.streamControllers[n.streamId].pullCall,l.streamControllers[n.streamId].cancelCall].map((function(n){return n&&Promise.resolve(n.promise).catch((function(){}))}))).then((function(){delete l.streamControllers[n.streamId]}))};switch(n.stream){case"start_complete":p(this.streamControllers[n.streamId].startCall,n.success,c(n.reason));break;case"pull_complete":p(this.streamControllers[n.streamId].pullCall,n.success,c(n.reason));break;case"pull":if(!this.streamSinks[n.streamId]){o({stream:"pull_complete",success:!0});break}this.streamSinks[n.streamId].desiredSize<=0&&n.desiredSize>0&&this.streamSinks[n.streamId].sinkCapability.resolve(),this.streamSinks[n.streamId].desiredSize=n.desiredSize,u(this.streamSinks[n.streamId].onPull).then((function(){o({stream:"pull_complete",success:!0})}),(function(n){o({stream:"pull_complete",success:!1,reason:n})}));break;case"enqueue":(0,a.assert)(this.streamControllers[n.streamId],"enqueue should have stream controller"),this.streamControllers[n.streamId].isClosed||this.streamControllers[n.streamId].controller.enqueue(n.chunk);break;case"close":if((0,a.assert)(this.streamControllers[n.streamId],"close should have stream controller"),this.streamControllers[n.streamId].isClosed)break;this.streamControllers[n.streamId].isClosed=!0,this.streamControllers[n.streamId].controller.close(),r();break;case"error":(0,a.assert)(this.streamControllers[n.streamId],"error should have stream controller"),this.streamControllers[n.streamId].controller.error(c(n.reason)),r();break;case"cancel_complete":p(this.streamControllers[n.streamId].cancelCall,n.success,c(n.reason)),r();break;case"cancel":if(!this.streamSinks[n.streamId])break;u(this.streamSinks[n.streamId].onCancel,[c(n.reason)]).then((function(){o({stream:"cancel_complete",success:!0})}),(function(n){o({stream:"cancel_complete",success:!1,reason:n})})),this.streamSinks[n.streamId].sinkCapability.reject(c(n.reason)),this.streamSinks[n.streamId].isCancelled=!0,delete this.streamSinks[n.streamId];break;default:throw new Error("Unexpected stream case")}},postMessage:function(n,l){l&&this.postMessageTransfers?this.comObj.postMessage(n,l):this.comObj.postMessage(n)},destroy:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.Metadata=void 0;var t=e(1),i=e(159);l.Metadata=function(){function n(l){!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),(0,t.assert)("string"==typeof l,"Metadata: input is not a string"),l=this._repair(l);var e=(new i.SimpleXMLParser).parseFromString(l);this._metadata=Object.create(null),e&&this._parse(e)}var l;return(l=[{key:"_repair",value:function(n){return n.replace(/^([^<]+)/,"").replace(/>\\376\\377([^<]+)/g,(function(n,l){for(var e=l.replace(/\\([0-3])([0-7])([0-7])/g,(function(n,l,e,t){return String.fromCharCode(64*l+8*e+1*t)})).replace(/&(amp|apos|gt|lt|quot);/g,(function(n,l){switch(l){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error("_repair: ".concat(l," isn't defined."))})),t="",i=0,a=e.length;i<a;i+=2){var o=256*e.charCodeAt(i)+e.charCodeAt(i+1);t+=o>=32&&o<127&&60!==o&&62!==o&&38!==o?String.fromCharCode(o):"&#x"+(65536+o).toString(16).substring(1)+";"}return">"+t}))}},{key:"_parse",value:function(n){var l=n.documentElement;if("rdf:rdf"!==l.nodeName.toLowerCase())for(l=l.firstChild;l&&"rdf:rdf"!==l.nodeName.toLowerCase();)l=l.nextSibling;var e=l?l.nodeName.toLowerCase():null;if(l&&"rdf:rdf"===e&&l.hasChildNodes())for(var t=l.childNodes,i=0,a=t.length;i<a;i++){var o=t[i];if("rdf:description"===o.nodeName.toLowerCase())for(var r=0,u=o.childNodes.length;r<u;r++)if("#text"!==o.childNodes[r].nodeName.toLowerCase()){var s=o.childNodes[r],c=s.nodeName.toLowerCase();this._metadata[c]=s.textContent.trim()}}}},{key:"get",value:function(n){var l=this._metadata[n];return void 0!==l?l:null}},{key:"getAll",value:function(){return this._metadata}},{key:"has",value:function(n){return void 0!==this._metadata[n]}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";function t(n){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function i(n,l,e){return(i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(n,l,e){var t=function(n,l){for(;!Object.prototype.hasOwnProperty.call(n,l)&&null!==(n=a(n)););return n}(n,l);if(t){var i=Object.getOwnPropertyDescriptor(t,l);return i.get?i.get.call(e):i.value}})(n,l,e||n)}function a(n){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function o(n,l){return(o=Object.setPrototypeOf||function(n,l){return n.__proto__=l,n})(n,l)}function r(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function u(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function s(n,l,e){return l&&u(n.prototype,l),e&&u(n,e),n}Object.defineProperty(l,"__esModule",{value:!0}),l.SimpleXMLParser=void 0;var c={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};function d(n,l){var e=n[l];return" "===e||"\n"===e||"\r"===e||"\t"===e}var p=function(){function n(){r(this,n)}return s(n,[{key:"_resolveEntities",value:function(n){var l=this;return n.replace(/&([^;]+);/g,(function(n,e){if("#x"===e.substring(0,2))return String.fromCharCode(parseInt(e.substring(2),16));if("#"===e.substring(0,1))return String.fromCharCode(parseInt(e.substring(1),10));switch(e){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"'}return l.onResolveEntity(e)}))}},{key:"_parseContent",value:function(n,l){var e,t=l,i=[];function a(){for(;t<n.length&&d(n,t);)++t}for(;t<n.length&&!d(n,t)&&">"!==n[t]&&"/"!==n[t];)++t;for(e=n.substring(l,t),a();t<n.length&&">"!==n[t]&&"/"!==n[t]&&"?"!==n[t];){a();for(var o,r="";t<n.length&&!d(n,t)&&"="!==n[t];)r+=n[t],++t;if(a(),"="!==n[t])return null;++t,a();var u=n[t];if('"'!==u&&"'"!==u)return null;var s=n.indexOf(u,++t);if(s<0)return null;o=n.substring(t,s),i.push({name:r,value:this._resolveEntities(o)}),t=s+1,a()}return{name:e,attributes:i,parsed:t-l}}},{key:"_parseProcessingInstruction",value:function(n,l){for(var e,t=l;t<n.length&&!d(n,t)&&">"!==n[t]&&"/"!==n[t];)++t;e=n.substring(l,t),function(){for(;t<n.length&&d(n,t);)++t}();for(var i=t;t<n.length&&("?"!==n[t]||">"!==n[t+1]);)++t;return{name:e,value:n.substring(i,t),parsed:t-l}}},{key:"parseXml",value:function(n){for(var l=0;l<n.length;){var e=l;if("<"===n[l]){var t=void 0;switch(n[++e]){case"/":if((t=n.indexOf(">",++e))<0)return void this.onError(c.UnterminatedElement);this.onEndElement(n.substring(e,t)),e=t+1;break;case"?":var i=this._parseProcessingInstruction(n,++e);if("?>"!==n.substring(e+i.parsed,e+i.parsed+2))return void this.onError(c.UnterminatedXmlDeclaration);this.onPi(i.name,i.value),e+=i.parsed+2;break;case"!":if("--"===n.substring(e+1,e+3)){if((t=n.indexOf("--\x3e",e+3))<0)return void this.onError(c.UnterminatedComment);this.onComment(n.substring(e+3,t)),e=t+3}else if("[CDATA["===n.substring(e+1,e+8)){if((t=n.indexOf("]]>",e+8))<0)return void this.onError(c.UnterminatedCdat);this.onCdata(n.substring(e+8,t)),e=t+3}else{if("DOCTYPE"!==n.substring(e+1,e+8))return void this.onError(c.MalformedElement);var a=n.indexOf("[",e+8),o=!1;if((t=n.indexOf(">",e+8))<0)return void this.onError(c.UnterminatedDoctypeDeclaration);if(a>0&&t>a){if((t=n.indexOf("]>",e+8))<0)return void this.onError(c.UnterminatedDoctypeDeclaration);o=!0}var r=n.substring(e+8,t+(o?1:0));this.onDoctype(r),e=t+(o?2:1)}break;default:var u=this._parseContent(n,e);if(null===u)return void this.onError(c.MalformedElement);var s=!1;if("/>"===n.substring(e+u.parsed,e+u.parsed+2))s=!0;else if(">"!==n.substring(e+u.parsed,e+u.parsed+1))return void this.onError(c.UnterminatedElement);this.onBeginElement(u.name,u.attributes,s),e+=u.parsed+(s?2:1)}}else{for(;e<n.length&&"<"!==n[e];)e++;var d=n.substring(l,e);this.onText(this._resolveEntities(d))}l=e}}},{key:"onResolveEntity",value:function(n){return"&".concat(n,";")}},{key:"onPi",value:function(n,l){}},{key:"onComment",value:function(n){}},{key:"onCdata",value:function(n){}},{key:"onDoctype",value:function(n){}},{key:"onText",value:function(n){}},{key:"onBeginElement",value:function(n,l,e){}},{key:"onEndElement",value:function(n){}},{key:"onError",value:function(n){}}]),n}(),m=function(){function n(l,e){r(this,n),this.nodeName=l,this.nodeValue=e,Object.defineProperty(this,"parentNode",{value:null,writable:!0})}return s(n,[{key:"hasChildNodes",value:function(){return this.childNodes&&this.childNodes.length>0}},{key:"firstChild",get:function(){return this.childNodes&&this.childNodes[0]}},{key:"nextSibling",get:function(){var n=this.parentNode.childNodes;if(n){var l=n.indexOf(this);if(-1!==l)return n[l+1]}}},{key:"textContent",get:function(){return this.childNodes?this.childNodes.map((function(n){return n.textContent})).join(""):this.nodeValue||""}}]),n}();l.SimpleXMLParser=function(n){function l(){var n;return r(this,l),(n=function(n,l){return!l||"object"!==t(l)&&"function"!=typeof l?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):l}(this,a(l).call(this)))._currentFragment=null,n._stack=null,n._errorCode=c.NoError,n}return function(n,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&o(n,l)}(l,n),s(l,[{key:"parseFromString",value:function(n){if(this._currentFragment=[],this._stack=[],this._errorCode=c.NoError,this.parseXml(n),this._errorCode===c.NoError){var l=(e=this._currentFragment,1,function(n){if(Array.isArray(n))return n}(e)||function(n,l){var e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done)&&(e.push(o.value),1!==e.length);t=!0);}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return e}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}())[0];if(l)return{documentElement:l}}var e}},{key:"onResolveEntity",value:function(n){switch(n){case"apos":return"'"}return i(a(l.prototype),"onResolveEntity",this).call(this,n)}},{key:"onText",value:function(n){if(!function(n){for(var l=0,e=n.length;l<e;l++)if(!d(n,l))return!1;return!0}(n)){var l=new m("#text",n);this._currentFragment.push(l)}}},{key:"onCdata",value:function(n){var l=new m("#text",n);this._currentFragment.push(l)}},{key:"onBeginElement",value:function(n,l,e){var t=new m(n);t.childNodes=[],this._currentFragment.push(t),e||(this._stack.push(this._currentFragment),this._currentFragment=t.childNodes)}},{key:"onEndElement",value:function(n){this._currentFragment=this._stack.pop()||[];var l=this._currentFragment[this._currentFragment.length-1];if(l)for(var e=0,t=l.childNodes.length;e<t;e++)l.childNodes[e].parentNode=l}},{key:"onError",value:function(n){this._errorCode=n}}]),l}(p)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFDataTransportStream=void 0;var t,i=(t=e(148))&&t.__esModule?t:{default:t},a=e(1);function o(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function r(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function r(n){o(a,t,i,r,u,"next",n)}function u(n){o(a,t,i,r,u,"throw",n)}r(void 0)}))}}function u(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function s(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function c(n,l,e){return l&&s(n.prototype,l),e&&s(n,e),n}l.PDFDataTransportStream=function(){function n(l,e){var t=this;u(this,n),(0,a.assert)(e),this._queuedChunks=[],this._progressiveDone=l.progressiveDone||!1;var i=l.initialData;if(i&&i.length>0){var o=new Uint8Array(i).buffer;this._queuedChunks.push(o)}this._pdfDataRangeTransport=e,this._isStreamingSupported=!l.disableStream,this._isRangeSupported=!l.disableRange,this._contentLength=l.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(n,l){t._onReceiveData({begin:n,chunk:l})})),this._pdfDataRangeTransport.addProgressListener((function(n,l){t._onProgress({loaded:n,total:l})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(n){t._onReceiveData({chunk:n})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){t._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return c(n,[{key:"_onReceiveData",value:function(n){var l=new Uint8Array(n.chunk).buffer;if(void 0===n.begin)this._fullRequestReader?this._fullRequestReader._enqueue(l):this._queuedChunks.push(l);else{var e=this._rangeReaders.some((function(e){return e._begin===n.begin&&(e._enqueue(l),!0)}));(0,a.assert)(e)}}},{key:"_onProgress",value:function(n){if(void 0===n.total){var l=this._rangeReaders[0];l&&l.onProgress&&l.onProgress({loaded:n.loaded})}else{var e=this._fullRequestReader;e&&e.onProgress&&e.onProgress({loaded:n.loaded,total:n.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(n){var l=this._rangeReaders.indexOf(n);l>=0&&this._rangeReaders.splice(l,1)}},{key:"getFullReader",value:function(){(0,a.assert)(!this._fullRequestReader);var n=this._queuedChunks;return this._queuedChunks=null,new d(this,n,this._progressiveDone)}},{key:"getRangeReader",value:function(n,l){if(l<=this._progressiveDataLength)return null;var e=new p(this,n,l);return this._pdfDataRangeTransport.requestDataRange(n,l),this._rangeReaders.push(e),e}},{key:"cancelAllRequests",value:function(n){this._fullRequestReader&&this._fullRequestReader.cancel(n),this._rangeReaders.slice(0).forEach((function(l){l.cancel(n)})),this._pdfDataRangeTransport.abort()}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),n}();var d=function(){function n(l,e){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];u(this,n),this._stream=l,this._done=t||!1,this._filename=null,this._queuedChunks=e||[],this._loaded=0;var i=!0,a=!1,o=void 0;try{for(var r,s=this._queuedChunks[Symbol.iterator]();!(i=(r=s.next()).done);i=!0)this._loaded+=r.value.byteLength}catch(c){a=!0,o=c}finally{try{i||null==s.return||s.return()}finally{if(a)throw o}}this._requests=[],this._headersReady=Promise.resolve(),l._fullRequestReader=this,this.onProgress=null}var l;return c(n,[{key:"_enqueue",value:function(n){this._done||(this._requests.length>0?this._requests.shift().resolve({value:n,done:!1}):this._queuedChunks.push(n),this._loaded+=n.byteLength)}},{key:"read",value:(l=r(i.default.mark((function n(){var l,e;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!(this._queuedChunks.length>0)){n.next=3;break}return l=this._queuedChunks.shift(),n.abrupt("return",{value:l,done:!1});case 3:if(!this._done){n.next=5;break}return n.abrupt("return",{value:void 0,done:!0});case 5:return e=(0,a.createPromiseCapability)(),this._requests.push(e),n.abrupt("return",e.promise);case 8:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._done=!0,this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[]}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}}]),n}(),p=function(){function n(l,e,t){u(this,n),this._stream=l,this._begin=e,this._end=t,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}var l;return c(n,[{key:"_enqueue",value:function(n){this._done||(0===this._requests.length?this._queuedChunk=n:(this._requests.shift().resolve({value:n,done:!1}),this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[]),this._done=!0,this._stream._removeRangeReader(this))}},{key:"read",value:(l=r(i.default.mark((function n(){var l,e;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this._queuedChunk){n.next=4;break}return l=this._queuedChunk,this._queuedChunk=null,n.abrupt("return",{value:l,done:!1});case 4:if(!this._done){n.next=6;break}return n.abrupt("return",{value:void 0,done:!0});case 6:return e=(0,a.createPromiseCapability)(),this._requests.push(e),n.abrupt("return",e.promise);case 9:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._done=!0,this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[],this._stream._removeRangeReader(this)}},{key:"isStreamingSupported",get:function(){return!1}}]),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.WebGLContext=void 0;var t=e(1);l.WebGLContext=function(){function n(l){var e=l.enable,t=void 0!==e&&e;!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this._enabled=!0===t}var l;return(l=[{key:"composeSMask",value:function(n){return i.composeSMask(n.layer,n.mask,n.properties)}},{key:"drawFigures",value:function(n){return i.drawFigures(n.width,n.height,n.backgroundColor,n.figures,n.context)}},{key:"clear",value:function(){i.cleanup()}},{key:"isEnabled",get:function(){var n=this._enabled;return n&&(n=i.tryInitGL()),(0,t.shadow)(this,"isEnabled",n)}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}();var i=function(){function n(n,l,e){var t=n.createShader(e);if(n.shaderSource(t,l),n.compileShader(t),!n.getShaderParameter(t,n.COMPILE_STATUS)){var i=n.getShaderInfoLog(t);throw new Error("Error during shader compilation: "+i)}return t}function l(l,e){return n(l,e,l.VERTEX_SHADER)}function e(l,e){return n(l,e,l.FRAGMENT_SHADER)}function t(n,l){for(var e=n.createProgram(),t=0,i=l.length;t<i;++t)n.attachShader(e,l[t]);if(n.linkProgram(e),!n.getProgramParameter(e,n.LINK_STATUS)){var a=n.getProgramInfoLog(e);throw new Error("Error during program linking: "+a)}return e}function i(n,l,e){n.activeTexture(e);var t=n.createTexture();return n.bindTexture(n.TEXTURE_2D,t),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.NEAREST),n.texImage2D(n.TEXTURE_2D,0,n.RGBA,n.RGBA,n.UNSIGNED_BYTE,l),t}var a,o;function r(){a||(o=document.createElement("canvas"),a=o.getContext("webgl",{premultipliedalpha:!1}))}var u=null,s=null;return{tryInitGL:function(){try{return r(),!!a}catch(n){}return!1},composeSMask:function(n,s,c){var d=n.width,p=n.height;u||function(){var n,i;r(),n=o,o=null,i=a,a=null;var s=t(i,[l(i," attribute vec2 a_position; attribute vec2 a_texCoord; uniform vec2 u_resolution; varying vec2 v_texCoord; void main() { vec2 clipSpace = (a_position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_texCoord = a_texCoord; } "),e(i," precision mediump float; uniform vec4 u_backdrop; uniform int u_subtype; uniform sampler2D u_image; uniform sampler2D u_mask; varying vec2 v_texCoord; void main() { vec4 imageColor = texture2D(u_image, v_texCoord); vec4 maskColor = texture2D(u_mask, v_texCoord); if (u_backdrop.a > 0.0) { maskColor.rgb = maskColor.rgb * maskColor.a + u_backdrop.rgb * (1.0 - maskColor.a); } float lum; if (u_subtype == 0) { lum = maskColor.a; } else { lum = maskColor.r * 0.3 + maskColor.g * 0.59 + maskColor.b * 0.11; } imageColor.a *= lum; imageColor.rgb *= imageColor.a; gl_FragColor = imageColor; } ")]);i.useProgram(s);var c={};c.gl=i,c.canvas=n,c.resolutionLocation=i.getUniformLocation(s,"u_resolution"),c.positionLocation=i.getAttribLocation(s,"a_position"),c.backdropLocation=i.getUniformLocation(s,"u_backdrop"),c.subtypeLocation=i.getUniformLocation(s,"u_subtype");var d=i.getAttribLocation(s,"a_texCoord"),p=i.getUniformLocation(s,"u_image"),m=i.getUniformLocation(s,"u_mask"),f=i.createBuffer();i.bindBuffer(i.ARRAY_BUFFER,f),i.bufferData(i.ARRAY_BUFFER,new Float32Array([0,0,1,0,0,1,0,1,1,0,1,1]),i.STATIC_DRAW),i.enableVertexAttribArray(d),i.vertexAttribPointer(d,2,i.FLOAT,!1,0,0),i.uniform1i(p,0),i.uniform1i(m,1),u=c}();var m=u,f=m.canvas,h=m.gl;f.width=d,f.height=p,h.viewport(0,0,h.drawingBufferWidth,h.drawingBufferHeight),h.uniform2f(m.resolutionLocation,d,p),c.backdrop?h.uniform4f(m.resolutionLocation,c.backdrop[0],c.backdrop[1],c.backdrop[2],1):h.uniform4f(m.resolutionLocation,0,0,0,0),h.uniform1i(m.subtypeLocation,"Luminosity"===c.subtype?1:0);var g=i(h,n,h.TEXTURE0),b=i(h,s,h.TEXTURE1),v=h.createBuffer();return h.bindBuffer(h.ARRAY_BUFFER,v),h.bufferData(h.ARRAY_BUFFER,new Float32Array([0,0,d,0,0,p,0,p,d,0,d,p]),h.STATIC_DRAW),h.enableVertexAttribArray(m.positionLocation),h.vertexAttribPointer(m.positionLocation,2,h.FLOAT,!1,0,0),h.clearColor(0,0,0,0),h.enable(h.BLEND),h.blendFunc(h.ONE,h.ONE_MINUS_SRC_ALPHA),h.clear(h.COLOR_BUFFER_BIT),h.drawArrays(h.TRIANGLES,0,6),h.flush(),h.deleteTexture(g),h.deleteTexture(b),h.deleteBuffer(v),f},drawFigures:function(n,i,u,c,d){s||function(){var n,i;r(),n=o,o=null,i=a,a=null;var u=t(i,[l(i," attribute vec2 a_position; attribute vec3 a_color; uniform vec2 u_resolution; uniform vec2 u_scale; uniform vec2 u_offset; varying vec4 v_color; void main() { vec2 position = (a_position + u_offset) * u_scale; vec2 clipSpace = (position / u_resolution) * 2.0 - 1.0; gl_Position = vec4(clipSpace * vec2(1, -1), 0, 1); v_color = vec4(a_color / 255.0, 1.0); } "),e(i," precision mediump float; varying vec4 v_color; void main() { gl_FragColor = v_color; } ")]);i.useProgram(u);var c={};c.gl=i,c.canvas=n,c.resolutionLocation=i.getUniformLocation(u,"u_resolution"),c.scaleLocation=i.getUniformLocation(u,"u_scale"),c.offsetLocation=i.getUniformLocation(u,"u_offset"),c.positionLocation=i.getAttribLocation(u,"a_position"),c.colorLocation=i.getAttribLocation(u,"a_color"),s=c}();var p=s,m=p.canvas,f=p.gl;m.width=n,m.height=i,f.viewport(0,0,f.drawingBufferWidth,f.drawingBufferHeight),f.uniform2f(p.resolutionLocation,n,i);var h,g,b,v=0;for(h=0,g=c.length;h<g;h++)switch(c[h].type){case"lattice":v+=((b=c[h].coords.length/c[h].verticesPerRow|0)-1)*(c[h].verticesPerRow-1)*6;break;case"triangles":v+=c[h].coords.length}var _=new Float32Array(2*v),y=new Uint8Array(3*v),w=d.coords,x=d.colors,C=0,k=0;for(h=0,g=c.length;h<g;h++){var S=c[h],I=S.coords,A=S.colors;switch(S.type){case"lattice":var M=S.verticesPerRow;b=I.length/M|0;for(var P=1;P<b;P++)for(var D=P*M+1,F=1;F<M;F++,D++)_[C]=w[I[D-M-1]],_[C+1]=w[I[D-M-1]+1],_[C+2]=w[I[D-M]],_[C+3]=w[I[D-M]+1],_[C+4]=w[I[D-1]],_[C+5]=w[I[D-1]+1],y[k]=x[A[D-M-1]],y[k+1]=x[A[D-M-1]+1],y[k+2]=x[A[D-M-1]+2],y[k+3]=x[A[D-M]],y[k+4]=x[A[D-M]+1],y[k+5]=x[A[D-M]+2],y[k+6]=x[A[D-1]],y[k+7]=x[A[D-1]+1],y[k+8]=x[A[D-1]+2],_[C+6]=_[C+2],_[C+7]=_[C+3],_[C+8]=_[C+4],_[C+9]=_[C+5],_[C+10]=w[I[D]],_[C+11]=w[I[D]+1],y[k+9]=y[k+3],y[k+10]=y[k+4],y[k+11]=y[k+5],y[k+12]=y[k+6],y[k+13]=y[k+7],y[k+14]=y[k+8],y[k+15]=x[A[D]],y[k+16]=x[A[D]+1],y[k+17]=x[A[D]+2],C+=12,k+=18;break;case"triangles":for(var E=0,O=I.length;E<O;E++)_[C]=w[I[E]],_[C+1]=w[I[E]+1],y[k]=x[A[E]],y[k+1]=x[A[E]+1],y[k+2]=x[A[E]+2],C+=2,k+=3}}u?f.clearColor(u[0]/255,u[1]/255,u[2]/255,1):f.clearColor(0,0,0,0),f.clear(f.COLOR_BUFFER_BIT);var T=f.createBuffer();f.bindBuffer(f.ARRAY_BUFFER,T),f.bufferData(f.ARRAY_BUFFER,_,f.STATIC_DRAW),f.enableVertexAttribArray(p.positionLocation),f.vertexAttribPointer(p.positionLocation,2,f.FLOAT,!1,0,0);var L=f.createBuffer();return f.bindBuffer(f.ARRAY_BUFFER,L),f.bufferData(f.ARRAY_BUFFER,y,f.STATIC_DRAW),f.enableVertexAttribArray(p.colorLocation),f.vertexAttribPointer(p.colorLocation,3,f.UNSIGNED_BYTE,!1,0,0),f.uniform2f(p.scaleLocation,d.scaleX,d.scaleY),f.uniform2f(p.offsetLocation,d.offsetX,d.offsetY),f.drawArrays(f.TRIANGLES,0,v),f.flush(),f.deleteBuffer(T),f.deleteBuffer(L),m},cleanup:function(){u&&u.canvas&&(u.canvas.width=0,u.canvas.height=0),s&&s.canvas&&(s.canvas.width=0,s.canvas.height=0),u=null,s=null}}}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.renderTextLayer=void 0;var t,i=e(1),a=(t=e(3))&&t.__esModule?t:{default:t},o=function(){var n=1e5,l=/\S/,e=["left: ",0,"px; top: ",0,"px; font-size: ",0,"px; font-family: ","",";"];function t(n,t,a){var o=document.createElement("span"),r={style:null,angle:0,canvasWidth:0,isWhitespace:!1,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1};if(n._textDivs.push(o),!l.test(t.str))return r.isWhitespace=!0,void n._textDivProperties.set(o,r);var u=i.Util.transform(n._viewport.transform,t.transform),s=Math.atan2(u[1],u[0]),c=a[t.fontName];c.vertical&&(s+=Math.PI/2);var d,p,m=Math.sqrt(u[2]*u[2]+u[3]*u[3]),f=m;if(c.ascent?f*=c.ascent:c.descent&&(f*=1+c.descent),0===s?(d=u[4],p=u[5]-f):(d=u[4]+f*Math.sin(s),p=u[5]-f*Math.cos(s)),e[1]=d,e[3]=p,e[5]=m,e[7]=c.fontFamily,r.style=e.join(""),o.setAttribute("style",r.style),o.textContent=t.str,n._fontInspectorEnabled&&(o.dataset.fontName=t.fontName),0!==s&&(r.angle=s*(180/Math.PI)),t.str.length>1&&(r.canvasWidth=c.vertical?t.height*n._viewport.scale:t.width*n._viewport.scale),n._textDivProperties.set(o,r),n._textContentStream&&n._layoutText(o),n._enhanceTextSelection){var h=1,g=0;0!==s&&(h=Math.cos(s),g=Math.sin(s));var b,v,_=(c.vertical?t.height:t.width)*n._viewport.scale,y=m;v=0!==s?i.Util.getAxialAlignedBoundingBox([0,0,_,y],b=[h,g,-g,h,d,p]):[d,p,d+_,p+y],n._bounds.push({left:v[0],top:v[1],right:v[2],bottom:v[3],div:o,size:[_,y],m:b})}}function o(l){if(!l._canceled){var e=l._textDivs,t=l._capability,i=e.length;if(i>n)return l._renderingDone=!0,void t.resolve();if(!l._textContentStream)for(var a=0;a<i;a++)l._layoutText(e[a]);l._renderingDone=!0,t.resolve()}}function r(n,l){l.sort((function(n,l){return n.x1-l.x1||n.index-l.index}));var e=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];l.forEach((function(n){for(var l=0;l<e.length&&e[l].end<=n.y1;)l++;for(var t,i,a=e.length-1;a>=0&&e[a].start>=n.y2;)a--;var o,r,u=-1/0;for(o=l;o<=a;o++){var s;(s=(i=(t=e[o]).boundary).x2>n.x1?i.index>n.index?i.x1New:n.x1:void 0===i.x2New?(i.x2+n.x1)/2:i.x2New)>u&&(u=s)}for(n.x1New=u,o=l;o<=a;o++)void 0===(i=(t=e[o]).boundary).x2New?i.x2>n.x1?i.index>n.index&&(i.x2New=i.x2):i.x2New=u:i.x2New>u&&(i.x2New=Math.max(u,i.x2));var c=[],d=null;for(o=l;o<=a;o++){var p=(i=(t=e[o]).boundary).x2>n.x2?i:n;d===p?c[c.length-1].end=t.end:(c.push({start:t.start,end:t.end,boundary:p}),d=p)}for(e[l].start<n.y1&&(c[0].start=n.y1,c.unshift({start:e[l].start,end:n.y1,boundary:e[l].boundary})),n.y2<e[a].end&&(c[c.length-1].end=n.y2,c.push({start:n.y2,end:e[a].end,boundary:e[a].boundary})),o=l;o<=a;o++)if(void 0===(i=(t=e[o]).boundary).x2New){var m=!1;for(r=l-1;!m&&r>=0&&e[r].start>=i.y1;r--)m=e[r].boundary===i;for(r=a+1;!m&&r<e.length&&e[r].end<=i.y2;r++)m=e[r].boundary===i;for(r=0;!m&&r<c.length;r++)m=c[r].boundary===i;m||(i.x2New=u)}Array.prototype.splice.apply(e,[l,a-l+1].concat(c))})),e.forEach((function(l){var e=l.boundary;void 0===e.x2New&&(e.x2New=Math.max(n,e.x2))}))}function u(n){var l=this,e=n.textContentStream,t=n.container,o=n.viewport,r=n.textDivs,u=n.textContentItemsStr,s=n.enhanceTextSelection;this._textContent=n.textContent,this._textContentStream=e,this._container=t,this._viewport=o,this._textDivs=r||[],this._textContentItemsStr=u||[],this._enhanceTextSelection=!!s,this._fontInspectorEnabled=!(!a.default.FontInspector||!a.default.FontInspector.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,i.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((function(){l._layoutTextCtx&&(l._layoutTextCtx.canvas.width=0,l._layoutTextCtx.canvas.height=0,l._layoutTextCtx=null)}))}return u.prototype={get promise(){return this._capability.promise},cancel:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new i.AbortException("TextLayer task cancelled.")),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))},_processItems:function(n,l){for(var e=0,i=n.length;e<i;e++)this._textContentItemsStr.push(n[e].str),t(this,n[e],l)},_layoutText:function(n){var l=this._container,e=this._textDivProperties.get(n);if(!e.isWhitespace){var t=n.style.fontSize,i=n.style.fontFamily;t===this._layoutTextLastFontSize&&i===this._layoutTextLastFontFamily||(this._layoutTextCtx.font=t+" "+i,this._layoutTextLastFontSize=t,this._layoutTextLastFontFamily=i);var a=this._layoutTextCtx.measureText(n.textContent).width,o="";0!==e.canvasWidth&&a>0&&(e.scale=e.canvasWidth/a,o="scaleX(".concat(e.scale,")")),0!==e.angle&&(o="rotate(".concat(e.angle,"deg) ").concat(o)),o.length>0&&(e.originalTransform=o,n.style.transform=o),this._textDivProperties.set(n,e),l.appendChild(n)}},_render:function(n){var l=this,e=(0,i.createPromiseCapability)(),t=Object.create(null),a=document.createElement("canvas");if(a.mozOpaque=!0,this._layoutTextCtx=a.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),e.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');this._reader=this._textContentStream.getReader(),function n(){l._reader.read().then((function(i){var a=i.value;i.done?e.resolve():(Object.assign(t,a.styles),l._processItems(a.items,t),n())}),e.reject)}()}e.promise.then((function(){t=null,n?l._renderTimer=setTimeout((function(){o(l),l._renderTimer=null}),n):o(l)}),this._capability.reject)},expandTextDivs:function(n){if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(function(n){for(var l=n._bounds,e=n._viewport,t=function(n,l,e){var t=e.map((function(n,l){return{x1:n.left,y1:n.top,x2:n.right,y2:n.bottom,index:l,x1New:void 0,x2New:void 0}}));r(n,t);var i=new Array(e.length);return t.forEach((function(n){i[n.index]={left:n.x1New,top:0,right:n.x2New,bottom:0}})),e.map((function(l,e){var a=i[e],o=t[e];o.x1=l.top,o.y1=n-a.right,o.x2=l.bottom,o.y2=n-a.left,o.index=e,o.x1New=void 0,o.x2New=void 0})),r(l,t),t.forEach((function(n){var l=n.index;i[l].top=n.x1New,i[l].bottom=n.x2New})),i}(e.width,e.height,l),a=0;a<t.length;a++){var o=l[a].div,u=n._textDivProperties.get(o);if(0!==u.angle){var s=t[a],c=l[a],d=c.m,p=d[0],m=d[1],f=[[0,0],[0,c.size[1]],[c.size[0],0],c.size],h=new Float64Array(64);f.forEach((function(n,l){var e=i.Util.applyTransform(n,d);h[l+0]=p&&(s.left-e[0])/p,h[l+4]=m&&(s.top-e[1])/m,h[l+8]=p&&(s.right-e[0])/p,h[l+12]=m&&(s.bottom-e[1])/m,h[l+16]=m&&(s.left-e[0])/-m,h[l+20]=p&&(s.top-e[1])/p,h[l+24]=m&&(s.right-e[0])/-m,h[l+28]=p&&(s.bottom-e[1])/p,h[l+32]=p&&(s.left-e[0])/-p,h[l+36]=m&&(s.top-e[1])/-m,h[l+40]=p&&(s.right-e[0])/-p,h[l+44]=m&&(s.bottom-e[1])/-m,h[l+48]=m&&(s.left-e[0])/m,h[l+52]=p&&(s.top-e[1])/-p,h[l+56]=m&&(s.right-e[0])/m,h[l+60]=p&&(s.bottom-e[1])/-p}));var g=function(n,l,e){for(var t=0,i=0;i<e;i++){var a=n[l++];a>0&&(t=t?Math.min(a,t):a)}return t},b=1+Math.min(Math.abs(p),Math.abs(m));u.paddingLeft=g(h,32,16)/b,u.paddingTop=g(h,48,16)/b,u.paddingRight=g(h,0,16)/b,u.paddingBottom=g(h,16,16)/b,n._textDivProperties.set(o,u)}else u.paddingLeft=l[a].left-t[a].left,u.paddingTop=l[a].top-t[a].top,u.paddingRight=t[a].right-l[a].right,u.paddingBottom=t[a].bottom-l[a].bottom,n._textDivProperties.set(o,u)}}(this),this._bounds=null);for(var l=0,e=this._textDivs.length;l<e;l++){var t=this._textDivs[l],a=this._textDivProperties.get(t);if(!a.isWhitespace)if(n){var o="",u="";1!==a.scale&&(o="scaleX("+a.scale+")"),0!==a.angle&&(o="rotate("+a.angle+"deg) "+o),0!==a.paddingLeft&&(u+=" padding-left: "+a.paddingLeft/a.scale+"px;",o+=" translateX("+-a.paddingLeft/a.scale+"px)"),0!==a.paddingTop&&(u+=" padding-top: "+a.paddingTop+"px;",o+=" translateY("+-a.paddingTop+"px)"),0!==a.paddingRight&&(u+=" padding-right: "+a.paddingRight/a.scale+"px;"),0!==a.paddingBottom&&(u+=" padding-bottom: "+a.paddingBottom+"px;"),""!==u&&t.setAttribute("style",a.style+u),""!==o&&(t.style.transform=o)}else t.style.padding=0,t.style.transform=a.originalTransform||""}}}},function(n){var l=new u({textContent:n.textContent,textContentStream:n.textContentStream,container:n.container,viewport:n.viewport,textDivs:n.textDivs,textContentItemsStr:n.textContentItemsStr,enhanceTextSelection:n.enhanceTextSelection});return l._render(n.timeout),l}}();l.renderTextLayer=o},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.AnnotationLayer=void 0;var t=e(151),i=e(1);function a(n,l,e){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(n,l,e){var t=function(n,l){for(;!Object.prototype.hasOwnProperty.call(n,l)&&null!==(n=s(n)););return n}(n,l);if(t){var i=Object.getOwnPropertyDescriptor(t,l);return i.get?i.get.call(e):i.value}})(n,l,e||n)}function o(n){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function r(n,l){return!l||"object"!==o(l)&&"function"!=typeof l?u(n):l}function u(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function s(n){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function c(n,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf||function(n,l){return n.__proto__=l,n})(n,l)}function d(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function p(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function m(n,l,e){return l&&p(n.prototype,l),e&&p(n,e),n}var f=function(){function n(){d(this,n)}return m(n,null,[{key:"create",value:function(n){switch(n.data.annotationType){case i.AnnotationType.LINK:return new g(n);case i.AnnotationType.TEXT:return new b(n);case i.AnnotationType.WIDGET:switch(n.data.fieldType){case"Tx":return new _(n);case"Btn":return n.data.radioButton?new w(n):n.data.checkBox?new y(n):new x(n);case"Ch":return new C(n)}return new v(n);case i.AnnotationType.POPUP:return new k(n);case i.AnnotationType.FREETEXT:return new I(n);case i.AnnotationType.LINE:return new A(n);case i.AnnotationType.SQUARE:return new M(n);case i.AnnotationType.CIRCLE:return new P(n);case i.AnnotationType.POLYLINE:return new D(n);case i.AnnotationType.CARET:return new E(n);case i.AnnotationType.INK:return new O(n);case i.AnnotationType.POLYGON:return new F(n);case i.AnnotationType.HIGHLIGHT:return new T(n);case i.AnnotationType.UNDERLINE:return new L(n);case i.AnnotationType.SQUIGGLY:return new R(n);case i.AnnotationType.STRIKEOUT:return new N(n);case i.AnnotationType.STAMP:return new j(n);case i.AnnotationType.FILEATTACHMENT:return new V(n);default:return new h(n)}}}]),n}(),h=function(){function n(l){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];d(this,n),this.isRenderable=e,this.data=l.data,this.layer=l.layer,this.page=l.page,this.viewport=l.viewport,this.linkService=l.linkService,this.downloadManager=l.downloadManager,this.imageResourcesPath=l.imageResourcesPath,this.renderInteractiveForms=l.renderInteractiveForms,this.svgFactory=l.svgFactory,e&&(this.container=this._createContainer(t))}return m(n,[{key:"_createContainer",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=this.data,e=this.page,t=this.viewport,a=document.createElement("section"),o=l.rect[2]-l.rect[0],r=l.rect[3]-l.rect[1];a.setAttribute("data-annotation-id",l.id);var u=i.Util.normalizeRect([l.rect[0],e.view[3]-l.rect[1]+e.view[1],l.rect[2],e.view[3]-l.rect[3]+e.view[1]]);if(a.style.transform="matrix("+t.transform.join(",")+")",a.style.transformOrigin=-u[0]+"px "+-u[1]+"px",!n&&l.borderStyle.width>0){a.style.borderWidth=l.borderStyle.width+"px",l.borderStyle.style!==i.AnnotationBorderStyleType.UNDERLINE&&(o-=2*l.borderStyle.width,r-=2*l.borderStyle.width);var s=l.borderStyle.horizontalCornerRadius,c=l.borderStyle.verticalCornerRadius;if(s>0||c>0){var d=s+"px / "+c+"px";a.style.borderRadius=d}switch(l.borderStyle.style){case i.AnnotationBorderStyleType.SOLID:a.style.borderStyle="solid";break;case i.AnnotationBorderStyleType.DASHED:a.style.borderStyle="dashed";break;case i.AnnotationBorderStyleType.BEVELED:(0,i.warn)("Unimplemented border style: beveled");break;case i.AnnotationBorderStyleType.INSET:(0,i.warn)("Unimplemented border style: inset");break;case i.AnnotationBorderStyleType.UNDERLINE:a.style.borderBottomStyle="solid"}l.color?a.style.borderColor=i.Util.makeCssRgb(0|l.color[0],0|l.color[1],0|l.color[2]):a.style.borderWidth=0}return a.style.left=u[0]+"px",a.style.top=u[1]+"px",a.style.width=o+"px",a.style.height=r+"px",a}},{key:"_createPopup",value:function(n,l,e){l||((l=document.createElement("div")).style.height=n.style.height,l.style.width=n.style.width,n.appendChild(l));var t=new S({container:n,trigger:l,color:e.color,title:e.title,modificationDate:e.modificationDate,contents:e.contents,hideWrapper:!0}).render();t.style.left=n.style.width,n.appendChild(t)}},{key:"render",value:function(){(0,i.unreachable)("Abstract method `AnnotationElement.render` called")}}]),n}(),g=function(n){function l(n){d(this,l);var e=!!(n.data.url||n.data.dest||n.data.action);return r(this,s(l).call(this,n,e))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="linkAnnotation";var n=this.data,l=this.linkService,e=document.createElement("a");return(0,t.addLinkAttributes)(e,{url:n.url,target:n.newWindow?t.LinkTarget.BLANK:l.externalLinkTarget,rel:l.externalLinkRel}),n.url||(n.action?this._bindNamedAction(e,n.action):this._bindLink(e,n.dest)),this.container.appendChild(e),this.container}},{key:"_bindLink",value:function(n,l){var e=this;n.href=this.linkService.getDestinationHash(l),n.onclick=function(){return l&&e.linkService.navigateTo(l),!1},l&&(n.className="internalLink")}},{key:"_bindNamedAction",value:function(n,l){var e=this;n.href=this.linkService.getAnchorUrl(""),n.onclick=function(){return e.linkService.executeNamedAction(l),!1},n.className="internalLink"}}]),l}(h),b=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="textAnnotation";var n=document.createElement("img");return n.style.height=this.container.style.height,n.style.width=this.container.style.width,n.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",n.alt="[{{type}} Annotation]",n.dataset.l10nId="text_annotation_type",n.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(this.container,n,this.data),this.container.appendChild(n),this.container}}]),l}(h),v=function(n){function l(){return d(this,l),r(this,s(l).apply(this,arguments))}return c(l,n),m(l,[{key:"render",value:function(){return this.container}}]),l}(h),_=function(n){function l(n){d(this,l);var e=n.renderInteractiveForms||!n.data.hasAppearance&&!!n.data.fieldValue;return r(this,s(l).call(this,n,e))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="textWidgetAnnotation";var n=null;if(this.renderInteractiveForms){if(this.data.multiLine?(n=document.createElement("textarea")).textContent=this.data.fieldValue:((n=document.createElement("input")).type="text",n.setAttribute("value",this.data.fieldValue)),n.disabled=this.data.readOnly,null!==this.data.maxLen&&(n.maxLength=this.data.maxLen),this.data.comb){var l=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;n.classList.add("comb"),n.style.letterSpacing="calc("+l+"px - 1ch)"}}else{(n=document.createElement("div")).textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell";var e=null;this.data.fontRefName&&this.page.commonObjs.has(this.data.fontRefName)&&(e=this.page.commonObjs.get(this.data.fontRefName)),this._setTextStyle(n,e)}return null!==this.data.textAlignment&&(n.style.textAlign=["left","center","right"][this.data.textAlignment]),this.container.appendChild(n),this.container}},{key:"_setTextStyle",value:function(n,l){var e=n.style;e.fontSize=this.data.fontSize+"px",e.direction=this.data.fontDirection<0?"rtl":"ltr",l&&(e.fontWeight=l.black?l.bold?"900":"bold":l.bold?"bold":"normal",e.fontStyle=l.italic?"italic":"normal",e.fontFamily=(l.loadedName?'"'+l.loadedName+'", ':"")+(l.fallbackName||"Helvetica, sans-serif"))}}]),l}(v),y=function(n){function l(n){return d(this,l),r(this,s(l).call(this,n,n.renderInteractiveForms))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation checkBox";var n=document.createElement("input");return n.disabled=this.data.readOnly,n.type="checkbox",this.data.fieldValue&&"Off"!==this.data.fieldValue&&n.setAttribute("checked",!0),this.container.appendChild(n),this.container}}]),l}(v),w=function(n){function l(n){return d(this,l),r(this,s(l).call(this,n,n.renderInteractiveForms))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="buttonWidgetAnnotation radioButton";var n=document.createElement("input");return n.disabled=this.data.readOnly,n.type="radio",n.name=this.data.fieldName,this.data.fieldValue===this.data.buttonValue&&n.setAttribute("checked",!0),this.container.appendChild(n),this.container}}]),l}(v),x=function(n){function l(){return d(this,l),r(this,s(l).apply(this,arguments))}return c(l,n),m(l,[{key:"render",value:function(){var n=a(s(l.prototype),"render",this).call(this);return n.className="buttonWidgetAnnotation pushButton",n}}]),l}(g),C=function(n){function l(n){return d(this,l),r(this,s(l).call(this,n,n.renderInteractiveForms))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="choiceWidgetAnnotation";var n=document.createElement("select");n.disabled=this.data.readOnly,this.data.combo||(n.size=this.data.options.length,this.data.multiSelect&&(n.multiple=!0));for(var l=0,e=this.data.options.length;l<e;l++){var t=this.data.options[l],i=document.createElement("option");i.textContent=t.displayValue,i.value=t.exportValue,this.data.fieldValue.includes(t.displayValue)&&i.setAttribute("selected",!0),n.appendChild(i)}return this.container.appendChild(n),this.container}}]),l}(v),k=function(n){function l(n){d(this,l);var e=!(!n.data.title&&!n.data.contents);return r(this,s(l).call(this,n,e))}return c(l,n),m(l,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var n=this.layer.querySelector('[data-annotation-id="'+this.data.parentId+'"]');if(!n)return this.container;var l=new S({container:this.container,trigger:n,color:this.data.color,title:this.data.title,modificationDate:this.data.modificationDate,contents:this.data.contents}),e=parseFloat(n.style.left),t=parseFloat(n.style.width);return this.container.style.transformOrigin=-(e+t)+"px -"+n.style.top,this.container.style.left=e+t+"px",this.container.appendChild(l.render()),this.container}}]),l}(h),S=function(){function n(l){d(this,n),this.container=l.container,this.trigger=l.trigger,this.color=l.color,this.title=l.title,this.modificationDate=l.modificationDate,this.contents=l.contents,this.hideWrapper=l.hideWrapper||!1,this.pinned=!1}return m(n,[{key:"render",value:function(){var n=document.createElement("div");n.className="popupWrapper",this.hideElement=this.hideWrapper?n:this.container,this.hideElement.setAttribute("hidden",!0);var l=document.createElement("div");l.className="popup";var e=this.color;e&&(l.style.backgroundColor=i.Util.makeCssRgb(0|.7*(255-e[0])+e[0],0|.7*(255-e[1])+e[1],0|.7*(255-e[2])+e[2]));var a=document.createElement("h1");a.textContent=this.title,l.appendChild(a);var o=t.PDFDateString.toDateObject(this.modificationDate);if(o){var r=document.createElement("span");r.textContent="{{date}}, {{time}}",r.dataset.l10nId="annotation_date_string",r.dataset.l10nArgs=JSON.stringify({date:o.toLocaleDateString(),time:o.toLocaleTimeString()}),l.appendChild(r)}var u=this._formatContents(this.contents);return l.appendChild(u),this.trigger.addEventListener("click",this._toggle.bind(this)),this.trigger.addEventListener("mouseover",this._show.bind(this,!1)),this.trigger.addEventListener("mouseout",this._hide.bind(this,!1)),l.addEventListener("click",this._hide.bind(this,!0)),n.appendChild(l),n}},{key:"_formatContents",value:function(n){for(var l=document.createElement("p"),e=n.split(/(?:\r\n?|\n)/),t=0,i=e.length;t<i;++t)l.appendChild(document.createTextNode(e[t])),t<i-1&&l.appendChild(document.createElement("br"));return l}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n&&(this.pinned=!0),this.hideElement.hasAttribute("hidden")&&(this.hideElement.removeAttribute("hidden"),this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];n&&(this.pinned=!1),this.hideElement.hasAttribute("hidden")||this.pinned||(this.hideElement.setAttribute("hidden",!0),this.container.style.zIndex-=1)}}]),n}(),I=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),A=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="lineAnnotation";var n=this.data,l=this.svgFactory.create(n.rect[2]-n.rect[0],n.rect[3]-n.rect[1]),e=this.svgFactory.createElement("svg:line");return e.setAttribute("x1",n.rect[2]-n.lineCoordinates[0]),e.setAttribute("y1",n.rect[3]-n.lineCoordinates[1]),e.setAttribute("x2",n.rect[2]-n.lineCoordinates[2]),e.setAttribute("y2",n.rect[3]-n.lineCoordinates[3]),e.setAttribute("stroke-width",n.borderStyle.width),e.setAttribute("stroke","transparent"),l.appendChild(e),this.container.append(l),this._createPopup(this.container,e,n),this.container}}]),l}(h),M=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="squareAnnotation";var n=this.data,l=n.rect[2]-n.rect[0],e=n.rect[3]-n.rect[1],t=this.svgFactory.create(l,e),i=n.borderStyle.width,a=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",i/2),a.setAttribute("y",i/2),a.setAttribute("width",l-i),a.setAttribute("height",e-i),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),t.appendChild(a),this.container.append(t),this._createPopup(this.container,a,n),this.container}}]),l}(h),P=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="circleAnnotation";var n=this.data,l=n.rect[2]-n.rect[0],e=n.rect[3]-n.rect[1],t=this.svgFactory.create(l,e),i=n.borderStyle.width,a=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",l/2),a.setAttribute("cy",e/2),a.setAttribute("rx",l/2-i/2),a.setAttribute("ry",e/2-i/2),a.setAttribute("stroke-width",i),a.setAttribute("stroke","transparent"),a.setAttribute("fill","none"),t.appendChild(a),this.container.append(t),this._createPopup(this.container,a,n),this.container}}]),l}(h),D=function(n){function l(n){var e;d(this,l);var t=!!(n.data.hasPopup||n.data.title||n.data.contents);return(e=r(this,s(l).call(this,n,t,!0))).containerClassName="polylineAnnotation",e.svgElementName="svg:polyline",e}return c(l,n),m(l,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var n=this.data,l=this.svgFactory.create(n.rect[2]-n.rect[0],n.rect[3]-n.rect[1]),e=n.vertices,t=[],i=0,a=e.length;i<a;i++)t.push(e[i].x-n.rect[0]+","+(n.rect[3]-e[i].y));t=t.join(" ");var o=n.borderStyle.width,r=this.svgFactory.createElement(this.svgElementName);return r.setAttribute("points",t),r.setAttribute("stroke-width",o),r.setAttribute("stroke","transparent"),r.setAttribute("fill","none"),l.appendChild(r),this.container.append(l),this._createPopup(this.container,r,n),this.container}}]),l}(h),F=function(n){function l(n){var e;return d(this,l),(e=r(this,s(l).call(this,n))).containerClassName="polygonAnnotation",e.svgElementName="svg:polygon",e}return c(l,n),l}(D),E=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),O=function(n){function l(n){var e;d(this,l);var t=!!(n.data.hasPopup||n.data.title||n.data.contents);return(e=r(this,s(l).call(this,n,t,!0))).containerClassName="inkAnnotation",e.svgElementName="svg:polyline",e}return c(l,n),m(l,[{key:"render",value:function(){this.container.className=this.containerClassName;for(var n=this.data,l=this.svgFactory.create(n.rect[2]-n.rect[0],n.rect[3]-n.rect[1]),e=n.inkLists,t=0,i=e.length;t<i;t++){for(var a=e[t],o=[],r=0,u=a.length;r<u;r++)o.push(a[r].x-n.rect[0]+","+(n.rect[3]-a[r].y));o=o.join(" ");var s=n.borderStyle.width,c=this.svgFactory.createElement(this.svgElementName);c.setAttribute("points",o),c.setAttribute("stroke-width",s),c.setAttribute("stroke","transparent"),c.setAttribute("fill","none"),this._createPopup(this.container,c,n),l.appendChild(c)}return this.container.append(l),this.container}}]),l}(h),T=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="highlightAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),L=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="underlineAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),R=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="squigglyAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),N=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="strikeoutAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),j=function(n){function l(n){d(this,l);var e=!!(n.data.hasPopup||n.data.title||n.data.contents);return r(this,s(l).call(this,n,e,!0))}return c(l,n),m(l,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(this.container,null,this.data),this.container}}]),l}(h),V=function(n){function l(n){var e;d(this,l);var a=(e=r(this,s(l).call(this,n,!0))).data.file,o=a.filename,c=a.content;return e.filename=(0,t.getFilenameFromUrl)(o),e.content=c,e.linkService.eventBus&&e.linkService.eventBus.dispatch("fileattachmentannotation",{source:u(e),id:(0,i.stringToPDFString)(o),filename:o,content:c}),e}return c(l,n),m(l,[{key:"render",value:function(){this.container.className="fileAttachmentAnnotation";var n=document.createElement("div");return n.style.height=this.container.style.height,n.style.width=this.container.style.width,n.addEventListener("dblclick",this._download.bind(this)),this.data.hasPopup||!this.data.title&&!this.data.contents||this._createPopup(this.container,n,this.data),this.container.appendChild(n),this.container}},{key:"_download",value:function(){this.downloadManager?this.downloadManager.downloadData(this.content,this.filename,""):(0,i.warn)("Download cannot be started due to unavailable download manager")}}]),l}(h);l.AnnotationLayer=function(){function n(){d(this,n)}return m(n,null,[{key:"render",value:function(n){for(var l=0,e=n.annotations.length;l<e;l++){var i=n.annotations[l];if(i){var a=f.create({data:i,layer:n.div,page:n.page,viewport:n.viewport,linkService:n.linkService,downloadManager:n.downloadManager,imageResourcesPath:n.imageResourcesPath||"",renderInteractiveForms:n.renderInteractiveForms||!1,svgFactory:new t.DOMSVGFactory});a.isRenderable&&n.div.appendChild(a.render())}}}},{key:"update",value:function(n){for(var l=0,e=n.annotations.length;l<e;l++){var t=n.div.querySelector('[data-annotation-id="'+n.annotations[l].id+'"]');t&&(t.style.transform="matrix("+n.viewport.transform.join(",")+")")}n.div.removeAttribute("hidden")}}]),n}()},function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.SVGGraphics=void 0;var i,a=t(1),o=t(151),r=(i=t(4))&&i.__esModule?i:{default:i};function u(n,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done)&&(e.push(o.value),!l||e.length!==l);t=!0);}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return e}(n,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function s(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function c(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function d(n,l,e){return l&&c(n.prototype,l),e&&c(n,e),n}var p=function(){throw new Error("Not implemented: SVGGraphics")};l.SVGGraphics=p;var m=function(n){if(Number.isInteger(n))return n.toString();var l=n.toFixed(10),e=l.length-1;if("0"!==l[e])return l;do{e--}while("0"===l[e]);return l.substring(0,"."===l[e]?e:e+1)},f=function(n){if(0===n[4]&&0===n[5]){if(0===n[1]&&0===n[2])return 1===n[0]&&1===n[3]?"":"scale(".concat(m(n[0])," ").concat(m(n[3]),")");if(n[0]===n[3]&&n[1]===-n[2]){var l=180*Math.acos(n[0])/Math.PI;return"rotate(".concat(m(l),")")}}else if(1===n[0]&&0===n[1]&&0===n[2]&&1===n[3])return"translate(".concat(m(n[4])," ").concat(m(n[5]),")");return"matrix(".concat(m(n[0])," ").concat(m(n[1])," ").concat(m(n[2])," ").concat(m(n[3])," ").concat(m(n[4])," ")+"".concat(m(n[5]),")")},h={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},g="http://www.w3.org/1999/xlink",b=["butt","round","square"],v=["miter","round","bevel"],_=function(){for(var n=new Uint8Array([137,80,78,71,13,10,26,10]),l=new Int32Array(256),t=0;t<256;t++){for(var i=t,o=0;o<8;o++)i=1&i?3988292384^i>>1&2147483647:i>>1&2147483647;l[t]=i}function u(n,e,t,i){var a=i,o=e.length;t[a]=o>>24&255,t[a+1]=o>>16&255,t[a+2]=o>>8&255,t[a+3]=255&o,t[a+=4]=255&n.charCodeAt(0),t[a+1]=255&n.charCodeAt(1),t[a+2]=255&n.charCodeAt(2),t[a+3]=255&n.charCodeAt(3),t.set(e,a+=4);var r=function(n,e,t){for(var i=-1,a=e;a<t;a++)i=i>>>8^l[255&(i^n[a])];return-1^i}(t,i+4,a+=e.length);t[a]=r>>24&255,t[a+1]=r>>16&255,t[a+2]=r>>8&255,t[a+3]=255&r}function s(n){var l=n.length,e=Math.ceil(l/65535),t=new Uint8Array(2+l+5*e+4),i=0;t[i++]=120,t[i++]=156;for(var a=0;l>65535;)t[i++]=0,t[i++]=255,t[i++]=255,t[i++]=0,t[i++]=0,t.set(n.subarray(a,a+65535),i),i+=65535,a+=65535,l-=65535;t[i++]=1,t[i++]=255&l,t[i++]=l>>8&255,t[i++]=255&~l,t[i++]=(65535&~l)>>8&255,t.set(n.subarray(a),i),i+=n.length-a;var o=function(n,l,e){for(var t=1,i=0,a=0;a<e;++a)i=(i+(t=(t+(255&n[a]))%65521))%65521;return i<<16|t}(n,0,n.length);return t[i++]=o>>24&255,t[i++]=o>>16&255,t[i++]=o>>8&255,t[i++]=255&o,t}return function(l,t,i){return function(l,t,i,o){var c,d,p,m=l.width,f=l.height,h=l.data;switch(t){case a.ImageKind.GRAYSCALE_1BPP:d=0,c=1,p=m+7>>3;break;case a.ImageKind.RGB_24BPP:d=2,c=8,p=3*m;break;case a.ImageKind.RGBA_32BPP:d=6,c=8,p=4*m;break;default:throw new Error("invalid format")}for(var g=new Uint8Array((1+p)*f),b=0,v=0,_=0;_<f;++_)g[b++]=0,g.set(h.subarray(v,v+p),b),v+=p,b+=p;if(t===a.ImageKind.GRAYSCALE_1BPP&&o){b=0;for(var y=0;y<f;y++){b++;for(var w=0;w<p;w++)g[b++]^=255}}var x=new Uint8Array([m>>24&255,m>>16&255,m>>8&255,255&m,f>>24&255,f>>16&255,f>>8&255,255&f,c,d,0,0,0]),C=function(n){if(!(0,r.default)())return s(n);try{var l;l=parseInt(process.versions.node)>=8?n:new Buffer(n);var t=e(1).deflateSync(l,{level:9});return t instanceof Uint8Array?t:new Uint8Array(t)}catch(i){(0,a.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+i)}return s(n)}(g),k=new Uint8Array(n.length+36+x.length+C.length),S=0;return k.set(n,S),u("IHDR",x,k,S+=n.length),u("IDATA",C,k,S+=12+x.length),S+=12+C.length,u("IEND",new Uint8Array(0),k,S),(0,a.createObjectURL)(k,"image/png",i)}(l,void 0===l.kind?a.ImageKind.GRAYSCALE_1BPP:l.kind,t,i)}}(),y=function(){function n(){s(this,n),this.fontSizeScale=1,this.fontWeight=h.fontWeight,this.fontSize=0,this.textMatrix=a.IDENTITY_MATRIX,this.fontMatrix=a.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=a.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=h.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return d(n,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(n,l){this.x=n,this.y=l}}]),n}(),w=0,x=0,C=0;l.SVGGraphics=p=function(){function n(l,e,t){for(var i in s(this,n),this.svgFactory=new o.DOMSVGFactory,this.current=new y,this.transformMatrix=a.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=l,this.objs=e,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!t,this._operatorIdMapping=[],a.OPS)this._operatorIdMapping[a.OPS[i]]=i}return d(n,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var n=this.current;this.extraStack.push(n),this.current=n.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(n){this.save(),this.executeOpTree(n),this.restore()}},{key:"loadDependencies",value:function(n){for(var l=this,e=n.fnArray,t=n.argsArray,i=0,o=e.length;i<o;i++)if(e[i]===a.OPS.dependency){var r=!0,u=!1,s=void 0;try{for(var c,d=function(){var n=c.value,e=n.startsWith("g_")?l.commonObjs:l.objs,t=new Promise((function(l){e.get(n,l)}));l.current.dependencies.push(t)},p=t[i][Symbol.iterator]();!(r=(c=p.next()).done);r=!0)d()}catch(m){u=!0,s=m}finally{try{r||null==p.return||p.return()}finally{if(u)throw s}}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(n,l,e,t,i,o){this.transformMatrix=a.Util.transform(this.transformMatrix,[n,l,e,t,i,o]),this.tgrp=null}},{key:"getSVG",value:function(n,l){var e=this;this.viewport=l;var t=this._initialize(l);return this.loadDependencies(n).then((function(){return e.transformMatrix=a.IDENTITY_MATRIX,e.executeOpTree(e.convertOpList(n)),t}))}},{key:"convertOpList",value:function(n){for(var l=this._operatorIdMapping,e=n.argsArray,t=n.fnArray,i=[],a=0,o=t.length;a<o;a++){var r=t[a];i.push({fnId:r,fn:l[r],args:e[a]})}return function(n){var l=[],e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){var u=o.value;"save"!==u.fn?"restore"===u.fn?l=e.pop():l.push(u):(l.push({fnId:92,fn:"group",items:[]}),e.push(l),l=l[l.length-1].items)}}catch(s){i=!0,a=s}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return l}(i)}},{key:"executeOpTree",value:function(n){var l=!0,e=!1,t=void 0;try{for(var i,o=n[Symbol.iterator]();!(l=(i=o.next()).done);l=!0){var r=i.value,u=r.fn,s=r.args;switch(0|r.fnId){case a.OPS.beginText:this.beginText();break;case a.OPS.dependency:break;case a.OPS.setLeading:this.setLeading(s);break;case a.OPS.setLeadingMoveText:this.setLeadingMoveText(s[0],s[1]);break;case a.OPS.setFont:this.setFont(s);break;case a.OPS.showText:case a.OPS.showSpacedText:this.showText(s[0]);break;case a.OPS.endText:this.endText();break;case a.OPS.moveText:this.moveText(s[0],s[1]);break;case a.OPS.setCharSpacing:this.setCharSpacing(s[0]);break;case a.OPS.setWordSpacing:this.setWordSpacing(s[0]);break;case a.OPS.setHScale:this.setHScale(s[0]);break;case a.OPS.setTextMatrix:this.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]);break;case a.OPS.setTextRise:this.setTextRise(s[0]);break;case a.OPS.setTextRenderingMode:this.setTextRenderingMode(s[0]);break;case a.OPS.setLineWidth:this.setLineWidth(s[0]);break;case a.OPS.setLineJoin:this.setLineJoin(s[0]);break;case a.OPS.setLineCap:this.setLineCap(s[0]);break;case a.OPS.setMiterLimit:this.setMiterLimit(s[0]);break;case a.OPS.setFillRGBColor:this.setFillRGBColor(s[0],s[1],s[2]);break;case a.OPS.setStrokeRGBColor:this.setStrokeRGBColor(s[0],s[1],s[2]);break;case a.OPS.setStrokeColorN:this.setStrokeColorN(s);break;case a.OPS.setFillColorN:this.setFillColorN(s);break;case a.OPS.shadingFill:this.shadingFill(s[0]);break;case a.OPS.setDash:this.setDash(s[0],s[1]);break;case a.OPS.setRenderingIntent:this.setRenderingIntent(s[0]);break;case a.OPS.setFlatness:this.setFlatness(s[0]);break;case a.OPS.setGState:this.setGState(s[0]);break;case a.OPS.fill:this.fill();break;case a.OPS.eoFill:this.eoFill();break;case a.OPS.stroke:this.stroke();break;case a.OPS.fillStroke:this.fillStroke();break;case a.OPS.eoFillStroke:this.eoFillStroke();break;case a.OPS.clip:this.clip("nonzero");break;case a.OPS.eoClip:this.clip("evenodd");break;case a.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case a.OPS.paintJpegXObject:this.paintJpegXObject(s[0],s[1],s[2]);break;case a.OPS.paintImageXObject:this.paintImageXObject(s[0]);break;case a.OPS.paintInlineImageXObject:this.paintInlineImageXObject(s[0]);break;case a.OPS.paintImageMaskXObject:this.paintImageMaskXObject(s[0]);break;case a.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(s[0],s[1]);break;case a.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case a.OPS.closePath:this.closePath();break;case a.OPS.closeStroke:this.closeStroke();break;case a.OPS.closeFillStroke:this.closeFillStroke();break;case a.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case a.OPS.nextLine:this.nextLine();break;case a.OPS.transform:this.transform(s[0],s[1],s[2],s[3],s[4],s[5]);break;case a.OPS.constructPath:this.constructPath(s[0],s[1]);break;case a.OPS.endPath:this.endPath();break;case 92:this.group(r.items);break;default:(0,a.warn)("Unimplemented operator ".concat(u))}}}catch(c){e=!0,t=c}finally{try{l||null==o.return||o.return()}finally{if(e)throw t}}}},{key:"setWordSpacing",value:function(n){this.current.wordSpacing=n}},{key:"setCharSpacing",value:function(n){this.current.charSpacing=n}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(n,l,e,t,i,a){var o=this.current;o.textMatrix=o.lineMatrix=[n,l,e,t,i,a],o.textMatrixScale=Math.sqrt(n*n+l*l),o.x=o.lineX=0,o.y=o.lineY=0,o.xcoords=[],o.tspan=this.svgFactory.createElement("svg:tspan"),o.tspan.setAttributeNS(null,"font-family",o.fontFamily),o.tspan.setAttributeNS(null,"font-size","".concat(m(o.fontSize),"px")),o.tspan.setAttributeNS(null,"y",m(-o.y)),o.txtElement=this.svgFactory.createElement("svg:text"),o.txtElement.appendChild(o.tspan)}},{key:"beginText",value:function(){var n=this.current;n.x=n.lineX=0,n.y=n.lineY=0,n.textMatrix=a.IDENTITY_MATRIX,n.lineMatrix=a.IDENTITY_MATRIX,n.textMatrixScale=1,n.tspan=this.svgFactory.createElement("svg:tspan"),n.txtElement=this.svgFactory.createElement("svg:text"),n.txtgrp=this.svgFactory.createElement("svg:g"),n.xcoords=[]}},{key:"moveText",value:function(n,l){var e=this.current;e.x=e.lineX+=n,e.y=e.lineY+=l,e.xcoords=[],e.tspan=this.svgFactory.createElement("svg:tspan"),e.tspan.setAttributeNS(null,"font-family",e.fontFamily),e.tspan.setAttributeNS(null,"font-size","".concat(m(e.fontSize),"px")),e.tspan.setAttributeNS(null,"y",m(-e.y))}},{key:"showText",value:function(n){var l=this.current,e=l.font,t=l.fontSize;if(0!==t){var i=l.charSpacing,o=l.wordSpacing,r=l.fontDirection,u=l.textHScale*r,s=e.vertical,c=t*l.fontMatrix[0],d=0,p=!0,g=!1,b=void 0;try{for(var v,_=n[Symbol.iterator]();!(p=(v=_.next()).done);p=!0){var y=v.value;if(null!==y)if((0,a.isNum)(y))d+=-y*t*.001;else{var w=y.fontChar,x=y.width*c+((y.isSpace?o:0)+i)*r;y.isInFont||e.missingFile?(l.xcoords.push(l.x+d*u),l.tspan.textContent+=w,d+=x):d+=x}else d+=r*o}}catch(S){g=!0,b=S}finally{try{p||null==_.return||_.return()}finally{if(g)throw b}}s?l.y-=d*u:l.x+=d*u,l.tspan.setAttributeNS(null,"x",l.xcoords.map(m).join(" ")),l.tspan.setAttributeNS(null,"y",m(-l.y)),l.tspan.setAttributeNS(null,"font-family",l.fontFamily),l.tspan.setAttributeNS(null,"font-size","".concat(m(l.fontSize),"px")),l.fontStyle!==h.fontStyle&&l.tspan.setAttributeNS(null,"font-style",l.fontStyle),l.fontWeight!==h.fontWeight&&l.tspan.setAttributeNS(null,"font-weight",l.fontWeight);var C=l.textRenderingMode&a.TextRenderingMode.FILL_STROKE_MASK;C===a.TextRenderingMode.FILL||C===a.TextRenderingMode.FILL_STROKE?(l.fillColor!==h.fillColor&&l.tspan.setAttributeNS(null,"fill",l.fillColor),l.fillAlpha<1&&l.tspan.setAttributeNS(null,"fill-opacity",l.fillAlpha)):l.tspan.setAttributeNS(null,"fill",l.textRenderingMode===a.TextRenderingMode.ADD_TO_PATH?"transparent":"none"),(C===a.TextRenderingMode.STROKE||C===a.TextRenderingMode.FILL_STROKE)&&this._setStrokeAttributes(l.tspan,1/(l.textMatrixScale||1));var k=l.textMatrix;0!==l.textRise&&((k=k.slice())[5]+=l.textRise),l.txtElement.setAttributeNS(null,"transform","".concat(f(k)," scale(1, -1)")),l.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),l.txtElement.appendChild(l.tspan),l.txtgrp.appendChild(l.txtElement),this._ensureTransformGroup().appendChild(l.txtElement)}}},{key:"setLeadingMoveText",value:function(n,l){this.setLeading(-l),this.moveText(n,l)}},{key:"addFontStyle",value:function(n){this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var l=(0,a.createObjectURL)(n.data,n.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(n.loadedName,'";')+" src: url(".concat(l,"); }\n")}},{key:"setFont",value:function(n){var l=this.current,e=this.commonObjs.get(n[0]),t=n[1];l.font=e,this.embedFonts&&e.data&&!this.embeddedFonts[e.loadedName]&&(this.addFontStyle(e),this.embeddedFonts[e.loadedName]=e),l.fontMatrix=e.fontMatrix?e.fontMatrix:a.FONT_IDENTITY_MATRIX;var i=e.black?e.bold?"bolder":"bold":e.bold?"bold":"normal",o=e.italic?"italic":"normal";t<0?(t=-t,l.fontDirection=-1):l.fontDirection=1,l.fontSize=t,l.fontFamily=e.loadedName,l.fontWeight=i,l.fontStyle=o,l.tspan=this.svgFactory.createElement("svg:tspan"),l.tspan.setAttributeNS(null,"y",m(-l.y)),l.xcoords=[]}},{key:"endText",value:function(){var n=this.current;n.textRenderingMode&a.TextRenderingMode.ADD_TO_PATH_FLAG&&n.txtElement&&n.txtElement.hasChildNodes()&&(n.element=n.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(n){n>0&&(this.current.lineWidth=n)}},{key:"setLineCap",value:function(n){this.current.lineCap=b[n]}},{key:"setLineJoin",value:function(n){this.current.lineJoin=v[n]}},{key:"setMiterLimit",value:function(n){this.current.miterLimit=n}},{key:"setStrokeAlpha",value:function(n){this.current.strokeAlpha=n}},{key:"setStrokeRGBColor",value:function(n,l,e){this.current.strokeColor=a.Util.makeCssRgb(n,l,e)}},{key:"setFillAlpha",value:function(n){this.current.fillAlpha=n}},{key:"setFillRGBColor",value:function(n,l,e){this.current.fillColor=a.Util.makeCssRgb(n,l,e),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[]}},{key:"setStrokeColorN",value:function(n){this.current.strokeColor=this._makeColorN_Pattern(n)}},{key:"setFillColorN",value:function(n){this.current.fillColor=this._makeColorN_Pattern(n)}},{key:"shadingFill",value:function(n){var l=this.viewport.width,e=this.viewport.height,t=a.Util.inverseTransform(this.transformMatrix),i=a.Util.applyTransform([0,0],t),o=a.Util.applyTransform([0,e],t),r=a.Util.applyTransform([l,0],t),u=a.Util.applyTransform([l,e],t),s=Math.min(i[0],o[0],r[0],u[0]),c=Math.min(i[1],o[1],r[1],u[1]),d=Math.max(i[0],o[0],r[0],u[0]),p=Math.max(i[1],o[1],r[1],u[1]),m=this.svgFactory.createElement("svg:rect");m.setAttributeNS(null,"x",s),m.setAttributeNS(null,"y",c),m.setAttributeNS(null,"width",d-s),m.setAttributeNS(null,"height",p-c),m.setAttributeNS(null,"fill",this._makeShadingPattern(n)),this._ensureTransformGroup().appendChild(m)}},{key:"_makeColorN_Pattern",value:function(n){return"TilingPattern"===n[0]?this._makeTilingPattern(n):this._makeShadingPattern(n)}},{key:"_makeTilingPattern",value:function(n){var l=n[1],e=n[2],t=n[3]||a.IDENTITY_MATRIX,i=u(n[4],4),o=i[0],r=i[1],s=i[2],c=i[3],d=n[5],p=n[6],m=n[7],f="shading".concat(C++),h=u(a.Util.applyTransform([o,r],t),2),g=h[0],b=h[1],v=u(a.Util.applyTransform([s,c],t),2),_=v[0],y=v[1],w=u(a.Util.singularValueDecompose2dScale(t),2),x=d*w[0],k=p*w[1],S=this.svgFactory.createElement("svg:pattern");S.setAttributeNS(null,"id",f),S.setAttributeNS(null,"patternUnits","userSpaceOnUse"),S.setAttributeNS(null,"width",x),S.setAttributeNS(null,"height",k),S.setAttributeNS(null,"x","".concat(g)),S.setAttributeNS(null,"y","".concat(b));var I,A=this.svg,M=this.transformMatrix,P=this.current.fillColor,D=this.current.strokeColor,F=this.svgFactory.create(_-g,y-b);if(this.svg=F,this.transformMatrix=t,2===m){var E=a.Util.makeCssRgb.apply(a.Util,function(n){if(Array.isArray(n)){for(var l=0,e=new Array(n.length);l<n.length;l++)e[l]=n[l];return e}}(I=l)||function(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}(I)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}());this.current.fillColor=E,this.current.strokeColor=E}return this.executeOpTree(this.convertOpList(e)),this.svg=A,this.transformMatrix=M,this.current.fillColor=P,this.current.strokeColor=D,S.appendChild(F.childNodes[0]),this.defs.appendChild(S),"url(#".concat(f,")")}},{key:"_makeShadingPattern",value:function(n){switch(n[0]){case"RadialAxial":var l,e="shading".concat(C++),t=n[2];switch(n[1]){case"axial":var i=n[3],o=n[4];(l=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",e),l.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),l.setAttributeNS(null,"x1",i[0]),l.setAttributeNS(null,"y1",i[1]),l.setAttributeNS(null,"x2",o[0]),l.setAttributeNS(null,"y2",o[1]);break;case"radial":var r=n[3],u=n[4],s=n[5],c=n[6];(l=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",e),l.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),l.setAttributeNS(null,"cx",u[0]),l.setAttributeNS(null,"cy",u[1]),l.setAttributeNS(null,"r",c),l.setAttributeNS(null,"fx",r[0]),l.setAttributeNS(null,"fy",r[1]),l.setAttributeNS(null,"fr",s);break;default:throw new Error("Unknown RadialAxial type: ".concat(n[1]))}var d=!0,p=!1,m=void 0;try{for(var f,h=t[Symbol.iterator]();!(d=(f=h.next()).done);d=!0){var g=f.value,b=this.svgFactory.createElement("svg:stop");b.setAttributeNS(null,"offset",g[0]),b.setAttributeNS(null,"stop-color",g[1]),l.appendChild(b)}}catch(v){p=!0,m=v}finally{try{d||null==h.return||h.return()}finally{if(p)throw m}}return this.defs.appendChild(l),"url(#".concat(e,")");case"Mesh":return(0,a.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(n[0]))}}},{key:"setDash",value:function(n,l){this.current.dashArray=n,this.current.dashPhase=l}},{key:"constructPath",value:function(n,l){var e=this.current,t=e.x,i=e.y,o=[],r=0,u=!0,s=!1,c=void 0;try{for(var d,p=n[Symbol.iterator]();!(u=(d=p.next()).done);u=!0)switch(0|d.value){case a.OPS.rectangle:t=l[r++],i=l[r++];var f=t+l[r++],h=i+l[r++];o.push("M",m(t),m(i),"L",m(f),m(i),"L",m(f),m(h),"L",m(t),m(h),"Z");break;case a.OPS.moveTo:t=l[r++],i=l[r++],o.push("M",m(t),m(i));break;case a.OPS.lineTo:t=l[r++],i=l[r++],o.push("L",m(t),m(i));break;case a.OPS.curveTo:t=l[r+4],i=l[r+5],o.push("C",m(l[r]),m(l[r+1]),m(l[r+2]),m(l[r+3]),m(t),m(i)),r+=6;break;case a.OPS.curveTo2:i=l[r+3],o.push("C",m(t=l[r+2]),m(i),m(l[r]),m(l[r+1]),m(l[r+2]),m(l[r+3])),r+=4;break;case a.OPS.curveTo3:t=l[r+2],i=l[r+3],o.push("C",m(l[r]),m(l[r+1]),m(t),m(i),m(t),m(i)),r+=4;break;case a.OPS.closePath:o.push("Z")}}catch(g){s=!0,c=g}finally{try{u||null==p.return||p.return()}finally{if(s)throw c}}o=o.join(" "),e.path&&n.length>0&&n[0]!==a.OPS.rectangle&&n[0]!==a.OPS.moveTo?o=e.path.getAttributeNS(null,"d")+o:(e.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(e.path)),e.path.setAttributeNS(null,"d",o),e.path.setAttributeNS(null,"fill","none"),e.element=e.path,e.setCurrentPoint(t,i)}},{key:"endPath",value:function(){var n=this.current;if(n.path=null,this.pendingClip)if(n.element){var l="clippath".concat(w++),e=this.svgFactory.createElement("svg:clipPath");e.setAttributeNS(null,"id",l),e.setAttributeNS(null,"transform",f(this.transformMatrix));var t=n.element.cloneNode(!0);t.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,e.appendChild(t),this.defs.appendChild(e),n.activeClipUrl&&(n.clipGroup=null,this.extraStack.forEach((function(n){n.clipGroup=null})),e.setAttributeNS(null,"clip-path",n.activeClipUrl)),n.activeClipUrl="url(#".concat(l,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(n){this.pendingClip=n}},{key:"closePath",value:function(){var n=this.current;if(n.path){var l="".concat(n.path.getAttributeNS(null,"d"),"Z");n.path.setAttributeNS(null,"d",l)}}},{key:"setLeading",value:function(n){this.current.leading=-n}},{key:"setTextRise",value:function(n){this.current.textRise=n}},{key:"setTextRenderingMode",value:function(n){this.current.textRenderingMode=n}},{key:"setHScale",value:function(n){this.current.textHScale=n/100}},{key:"setRenderingIntent",value:function(n){}},{key:"setFlatness",value:function(n){}},{key:"setGState",value:function(n){var l=!0,e=!1,t=void 0;try{for(var i,o=n[Symbol.iterator]();!(l=(i=o.next()).done);l=!0){var r=u(i.value,2),s=r[0],c=r[1];switch(s){case"LW":this.setLineWidth(c);break;case"LC":this.setLineCap(c);break;case"LJ":this.setLineJoin(c);break;case"ML":this.setMiterLimit(c);break;case"D":this.setDash(c[0],c[1]);break;case"RI":this.setRenderingIntent(c);break;case"FL":this.setFlatness(c);break;case"Font":this.setFont(c);break;case"CA":this.setStrokeAlpha(c);break;case"ca":this.setFillAlpha(c);break;default:(0,a.warn)("Unimplemented graphic state operator ".concat(s))}}}catch(d){e=!0,t=d}finally{try{l||null==o.return||o.return()}finally{if(e)throw t}}}},{key:"fill",value:function(){var n=this.current;n.element&&(n.element.setAttributeNS(null,"fill",n.fillColor),n.element.setAttributeNS(null,"fill-opacity",n.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var n=this.current;n.element&&(this._setStrokeAttributes(n.element),n.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=this.current,t=e.dashArray;1!==l&&t.length>0&&(t=t.map((function(n){return l*n}))),n.setAttributeNS(null,"stroke",e.strokeColor),n.setAttributeNS(null,"stroke-opacity",e.strokeAlpha),n.setAttributeNS(null,"stroke-miterlimit",m(e.miterLimit)),n.setAttributeNS(null,"stroke-linecap",e.lineCap),n.setAttributeNS(null,"stroke-linejoin",e.lineJoin),n.setAttributeNS(null,"stroke-width",m(l*e.lineWidth)+"px"),n.setAttributeNS(null,"stroke-dasharray",t.map(m).join(" ")),n.setAttributeNS(null,"stroke-dashoffset",m(l*e.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var n=this.svgFactory.createElement("svg:rect");n.setAttributeNS(null,"x","0"),n.setAttributeNS(null,"y","0"),n.setAttributeNS(null,"width","1px"),n.setAttributeNS(null,"height","1px"),n.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(n)}},{key:"paintJpegXObject",value:function(n,l,e){var t=this.objs.get(n),i=this.svgFactory.createElement("svg:image");i.setAttributeNS(g,"xlink:href",t.src),i.setAttributeNS(null,"width",m(l)),i.setAttributeNS(null,"height",m(e)),i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y",m(-e)),i.setAttributeNS(null,"transform","scale(".concat(m(1/l)," ").concat(m(-1/e),")")),this._ensureTransformGroup().appendChild(i)}},{key:"paintImageXObject",value:function(n){var l=this.objs.get(n);l?this.paintInlineImageXObject(l):(0,a.warn)("Dependent image with object ID ".concat(n," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(n,l){var e=n.width,t=n.height,i=_(n,this.forceDataSchema,!!l),a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",m(e)),a.setAttributeNS(null,"height",m(t)),this.current.element=a,this.clip("nonzero");var o=this.svgFactory.createElement("svg:image");o.setAttributeNS(g,"xlink:href",i),o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y",m(-t)),o.setAttributeNS(null,"width",m(e)+"px"),o.setAttributeNS(null,"height",m(t)+"px"),o.setAttributeNS(null,"transform","scale(".concat(m(1/e)," ").concat(m(-1/t),")")),l?l.appendChild(o):this._ensureTransformGroup().appendChild(o)}},{key:"paintImageMaskXObject",value:function(n){var l=this.current,e=n.width,t=n.height,i=l.fillColor;l.maskId="mask".concat(x++);var a=this.svgFactory.createElement("svg:mask");a.setAttributeNS(null,"id",l.maskId);var o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x","0"),o.setAttributeNS(null,"y","0"),o.setAttributeNS(null,"width",m(e)),o.setAttributeNS(null,"height",m(t)),o.setAttributeNS(null,"fill",i),o.setAttributeNS(null,"mask","url(#".concat(l.maskId,")")),this.defs.appendChild(a),this._ensureTransformGroup().appendChild(o),this.paintInlineImageXObject(n,a)}},{key:"paintFormXObjectBegin",value:function(n,l){if(Array.isArray(n)&&6===n.length&&this.transform(n[0],n[1],n[2],n[3],n[4],n[5]),l){var e=l[2]-l[0],t=l[3]-l[1],i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x",l[0]),i.setAttributeNS(null,"y",l[1]),i.setAttributeNS(null,"width",m(e)),i.setAttributeNS(null,"height",m(t)),this.current.element=i,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(n){var l=this.svgFactory.create(n.width,n.height),e=this.svgFactory.createElement("svg:defs");l.appendChild(e),this.defs=e;var t=this.svgFactory.createElement("svg:g");return t.setAttributeNS(null,"transform",f(n.transform)),l.appendChild(t),this.svg=t,l}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var n=this.svgFactory.createElement("svg:g");n.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(n),this.current.clipGroup=n}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",f(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),n}()},function(n,l,t){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFNodeStream=void 0;var i,a=(i=t(148))&&i.__esModule?i:{default:i},o=t(1),r=t(166);function u(n){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function s(n,l){return!l||"object"!==u(l)&&"function"!=typeof l?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):l}function c(n){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function d(n,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&(Object.setPrototypeOf||function(n,l){return n.__proto__=l,n})(n,l)}function p(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function m(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function o(n){p(a,t,i,o,r,"next",n)}function r(n){p(a,t,i,o,r,"throw",n)}o(void 0)}))}}function f(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function h(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function g(n,l,e){return l&&h(n.prototype,l),e&&h(n,e),n}var b=e(2),v=e(3),_=e(4),y=e("CxY0"),w=/^file:\/\/\/[a-zA-Z]:\//;l.PDFNodeStream=function(){function n(l){var e,t;f(this,n),this.source=l,this.url="file:"===(t=y.parse(e=l.url)).protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?y.parse("file:///".concat(e)):(t.host||(t.protocol="file:"),t),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&l.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return g(n,[{key:"getFullReader",value:function(){return(0,o.assert)(!this._fullRequestReader),this._fullRequestReader=this.isFsUrl?new A(this):new S(this),this._fullRequestReader}},{key:"getRangeReader",value:function(n,l){if(l<=this._progressiveDataLength)return null;var e=this.isFsUrl?new M(this,n,l):new I(this,n,l);return this._rangeRequestReaders.push(e),e}},{key:"cancelAllRequests",value:function(n){this._fullRequestReader&&this._fullRequestReader.cancel(n),this._rangeRequestReaders.slice(0).forEach((function(l){l.cancel(n)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),n}();var x=function(){function n(l){f(this,n),this._url=l.url,this._done=!1,this._storedError=null,this.onProgress=null;var e=l.source;this._contentLength=e.length,this._loaded=0,this._filename=null,this._disableRange=e.disableRange||!1,this._rangeChunkSize=e.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._headersCapability=(0,o.createPromiseCapability)()}var l;return g(n,[{key:"read",value:(l=m(a.default.mark((function n(){var l,e;return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._readCapability.promise;case 2:if(!this._done){n.next=4;break}return n.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){n.next=6;break}throw this._storedError;case 6:if(null!==(l=this._readableStream.read())){n.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),n.abrupt("return",this.read());case 10:return this._loaded+=l.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),e=new Uint8Array(l).buffer,n.abrupt("return",{value:e,done:!1});case 14:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._readableStream?this._readableStream.destroy(n):this._error(n)}},{key:"_error",value:function(n){this._storedError=n,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(n){var l=this;this._readableStream=n,n.on("readable",(function(){l._readCapability.resolve()})),n.on("end",(function(){n.destroy(),l._done=!0,l._readCapability.resolve()})),n.on("error",(function(n){l._error(n)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new o.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),n}(),C=function(){function n(l){f(this,n),this._url=l.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,o.createPromiseCapability)(),this._isStreamingSupported=!l.source.disableStream}var l;return g(n,[{key:"read",value:(l=m(a.default.mark((function n(){var l,e;return a.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._readCapability.promise;case 2:if(!this._done){n.next=4;break}return n.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){n.next=6;break}throw this._storedError;case 6:if(null!==(l=this._readableStream.read())){n.next=10;break}return this._readCapability=(0,o.createPromiseCapability)(),n.abrupt("return",this.read());case 10:return this._loaded+=l.length,this.onProgress&&this.onProgress({loaded:this._loaded}),e=new Uint8Array(l).buffer,n.abrupt("return",{value:e,done:!1});case 14:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._readableStream?this._readableStream.destroy(n):this._error(n)}},{key:"_error",value:function(n){this._storedError=n,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(n){var l=this;this._readableStream=n,n.on("readable",(function(){l._readCapability.resolve()})),n.on("end",(function(){n.destroy(),l._done=!0,l._readCapability.resolve()})),n.on("error",(function(n){l._error(n)})),this._storedError&&this._readableStream.destroy(this._storedError)}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),n}();function k(n,l){return{protocol:n.protocol,auth:n.auth,host:n.hostname,port:n.port,path:n.path,method:"GET",headers:l}}var S=function(n){function l(n){var e;f(this,l);var t=function(l){if(404===l.statusCode){var t=new o.MissingPDFException('Missing PDF "'.concat(e._url,'".'));return e._storedError=t,void e._headersCapability.reject(t)}e._headersCapability.resolve(),e._setReadableStream(l);var i=function(n){return e._readableStream.headers[n.toLowerCase()]},a=(0,r.validateRangeRequestCapabilities)({getResponseHeader:i,isHttp:n.isHttp,rangeChunkSize:e._rangeChunkSize,disableRange:e._disableRange}),u=a.suggestedLength;e._isRangeSupported=a.allowRangeRequests,e._contentLength=u||e._contentLength,e._filename=(0,r.extractFilenameFromHeader)(i)};return(e=s(this,c(l).call(this,n)))._request=null,e._request="http:"===e._url.protocol?v.request(k(e._url,n.httpHeaders),t):_.request(k(e._url,n.httpHeaders),t),e._request.on("error",(function(n){e._storedError=n,e._headersCapability.reject(n)})),e._request.end(),e}return d(l,n),l}(x),I=function(n){function l(n,e,t){var i;for(var a in f(this,l),(i=s(this,c(l).call(this,n)))._httpHeaders={},n.httpHeaders){var r=n.httpHeaders[a];void 0!==r&&(i._httpHeaders[a]=r)}i._httpHeaders.Range="bytes=".concat(e,"-").concat(t-1);var u=function(n){if(404!==n.statusCode)i._setReadableStream(n);else{var l=new o.MissingPDFException('Missing PDF "'.concat(i._url,'".'));i._storedError=l}};return i._request=null,i._request="http:"===i._url.protocol?v.request(k(i._url,i._httpHeaders),u):_.request(k(i._url,i._httpHeaders),u),i._request.on("error",(function(n){i._storedError=n})),i._request.end(),i}return d(l,n),l}(C),A=function(n){function l(n){var e;f(this,l),e=s(this,c(l).call(this,n));var t=decodeURIComponent(e._url.path);return w.test(e._url.href)&&(t=t.replace(/^\//,"")),b.lstat(t,(function(n,l){if(n)return"ENOENT"===n.code&&(n=new o.MissingPDFException('Missing PDF "'.concat(t,'".'))),e._storedError=n,void e._headersCapability.reject(n);e._contentLength=l.size,e._setReadableStream(b.createReadStream(t)),e._headersCapability.resolve()})),e}return d(l,n),l}(x),M=function(n){function l(n,e,t){var i;f(this,l),i=s(this,c(l).call(this,n));var a=decodeURIComponent(i._url.path);return w.test(i._url.href)&&(a=a.replace(/^\//,"")),i._setReadableStream(b.createReadStream(a,{start:e,end:t-1})),i}return d(l,n),l}(C)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.createResponseStatusError=function(n,l){return 404===n||0===n&&/^file:/.test(l)?new t.MissingPDFException('Missing PDF "'+l+'".'):new t.UnexpectedResponseException("Unexpected server response ("+n+') while retrieving PDF "'+l+'".',n)},l.extractFilenameFromHeader=function(n){var l=n("Content-Disposition");if(l){var e=(0,i.getFilenameFromContentDispositionHeader)(l);if(/\.pdf$/i.test(e))return e}return null},l.validateRangeRequestCapabilities=function(n){var l=n.getResponseHeader,e=n.isHttp,i=n.rangeChunkSize,a=n.disableRange;(0,t.assert)(i>0,"Range chunk size must be larger than zero");var o={allowRangeRequests:!1,suggestedLength:void 0},r=parseInt(l("Content-Length"),10);return Number.isInteger(r)?(o.suggestedLength=r,r<=2*i?o:a||!e?o:"bytes"!==l("Accept-Ranges")?o:"identity"!==(l("Content-Encoding")||"identity")?o:(o.allowRangeRequests=!0,o)):o},l.validateResponseStatus=function(n){return 200===n||206===n};var t=e(1),i=e(167)},function(n,l,e){"use strict";function t(n,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done)&&(e.push(o.value),!l||e.length!==l);t=!0);}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return e}(n,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}Object.defineProperty(l,"__esModule",{value:!0}),l.getFilenameFromContentDispositionHeader=function(n){var l=!0,e=o("filename\\*","i").exec(n);if(e){var i=s(e=e[1]);return u(i=d(i=c(i=unescape(i))))}if(e=function(n){for(var l,e=[],i=o("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(l=i.exec(n));){var a=t(l,4),r=a[1],u=a[2],d=a[3];if((r=parseInt(r,10))in e){if(0===r)break}else e[r]=[u,d]}var p=[];for(r=0;r<e.length&&r in e;++r){var m=t(e[r],2);u=m[0],d=s(d=m[1]),u&&(d=unescape(d),0===r&&(d=c(d))),p.push(d)}return p.join("")}(n))return u(d(e));if(e=o("filename","i").exec(n)){var a=s(e=e[1]);return u(a=d(a))}function o(n,l){return new RegExp("(?:^|;)\\s*"+n+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',l)}function r(n,e){if(n){if(!/^[\x00-\xFF]+$/.test(e))return e;try{var t=new TextDecoder(n,{fatal:!0}),i=Array.from(e,(function(n){return 255&n.charCodeAt(0)}));e=t.decode(new Uint8Array(i)),l=!1}catch(a){if(/^utf-?8$/i.test(n))try{e=decodeURIComponent(escape(e)),l=!1}catch(o){}}}return e}function u(n){return l&&/[\x80-\xff]/.test(n)&&(n=r("utf-8",n),l&&(n=r("iso-8859-1",n))),n}function s(n){if(n.startsWith('"')){for(var l=n.slice(1).split('\\"'),e=0;e<l.length;++e){var t=l[e].indexOf('"');-1!==t&&(l[e]=l[e].slice(0,t),l.length=e+1),l[e]=l[e].replace(/\\(.)/g,"$1")}n=l.join('"')}return n}function c(n){var l=n.indexOf("'");return-1===l?n:r(n.slice(0,l),n.slice(l+1).replace(/^[^']*'/,""))}function d(n){return!n.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(n)?n:n.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(n,l,e,t){if("q"===e||"Q"===e)return r(l,t=(t=t.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(n,l){return String.fromCharCode(parseInt(l,16))})));try{t=atob(t)}catch(i){}return r(l,t)}))}return""}},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFNetworkStream=void 0;var t,i=(t=e(148))&&t.__esModule?t:{default:t},a=e(1),o=e(166);function r(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function u(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function o(n){r(a,t,i,o,u,"next",n)}function u(n){r(a,t,i,o,u,"throw",n)}o(void 0)}))}}function s(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function c(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function d(n,l,e){return l&&c(n.prototype,l),e&&c(n,e),n}var p=function(){function n(l,e){s(this,n),this.url=l,e=e||{},this.isHttp=/^https?:/i.test(l),this.httpHeaders=this.isHttp&&e.httpHeaders||{},this.withCredentials=e.withCredentials||!1,this.getXhr=e.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return d(n,[{key:"requestRange",value:function(n,l,e){var t={begin:n,end:l};for(var i in e)t[i]=e[i];return this.request(t)}},{key:"requestFull",value:function(n){return this.request(n)}},{key:"request",value:function(n){var l=this.getXhr(),e=this.currXhrId++,t=this.pendingRequests[e]={xhr:l};for(var i in l.open("GET",this.url),l.withCredentials=this.withCredentials,this.httpHeaders){var a=this.httpHeaders[i];void 0!==a&&l.setRequestHeader(i,a)}return this.isHttp&&"begin"in n&&"end"in n?(l.setRequestHeader("Range","bytes=".concat(n.begin,"-").concat(n.end-1)),t.expectedStatus=206):t.expectedStatus=200,l.responseType="arraybuffer",n.onError&&(l.onerror=function(e){n.onError(l.status)}),l.onreadystatechange=this.onStateChange.bind(this,e),l.onprogress=this.onProgress.bind(this,e),t.onHeadersReceived=n.onHeadersReceived,t.onDone=n.onDone,t.onError=n.onError,t.onProgress=n.onProgress,l.send(null),e}},{key:"onProgress",value:function(n,l){var e=this.pendingRequests[n];e&&e.onProgress&&e.onProgress(l)}},{key:"onStateChange",value:function(n,l){var e=this.pendingRequests[n];if(e){var t=e.xhr;if(t.readyState>=2&&e.onHeadersReceived&&(e.onHeadersReceived(),delete e.onHeadersReceived),4===t.readyState&&n in this.pendingRequests)if(delete this.pendingRequests[n],0===t.status&&this.isHttp)e.onError&&e.onError(t.status);else{var i=t.status||200;if(200===i&&206===e.expectedStatus||i===e.expectedStatus){var o=function(n){var l=n.response;return"string"!=typeof l?l:(0,a.stringToBytes)(l).buffer}(t);if(206===i){var r=t.getResponseHeader("Content-Range"),u=/bytes (\d+)-(\d+)\/(\d+)/.exec(r);e.onDone({begin:parseInt(u[1],10),chunk:o})}else o?e.onDone({begin:0,chunk:o}):e.onError&&e.onError(t.status)}else e.onError&&e.onError(t.status)}}}},{key:"hasPendingRequests",value:function(){for(var n in this.pendingRequests)return!0;return!1}},{key:"getRequestXhr",value:function(n){return this.pendingRequests[n].xhr}},{key:"isPendingRequest",value:function(n){return n in this.pendingRequests}},{key:"abortAllRequests",value:function(){for(var n in this.pendingRequests)this.abortRequest(0|n)}},{key:"abortRequest",value:function(n){var l=this.pendingRequests[n].xhr;delete this.pendingRequests[n],l.abort()}}]),n}();l.PDFNetworkStream=function(){function n(l){s(this,n),this._source=l,this._manager=new p(l.url,{httpHeaders:l.httpHeaders,withCredentials:l.withCredentials}),this._rangeChunkSize=l.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return d(n,[{key:"_onRangeRequestReaderClosed",value:function(n){var l=this._rangeRequestReaders.indexOf(n);l>=0&&this._rangeRequestReaders.splice(l,1)}},{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader),this._fullRequestReader=new m(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(n,l){var e=new f(this._manager,n,l);return e.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(e),e}},{key:"cancelAllRequests",value:function(n){this._fullRequestReader&&this._fullRequestReader.cancel(n),this._rangeRequestReaders.slice(0).forEach((function(l){l.cancel(n)}))}}]),n}();var m=function(){function n(l,e){s(this,n),this._manager=l;var t={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._fullRequestId=l.requestFull(t),this._headersReceivedCapability=(0,a.createPromiseCapability)(),this._disableRange=e.disableRange||!1,this._contentLength=e.length,this._rangeChunkSize=e.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}var l;return d(n,[{key:"_onHeadersReceived",value:function(){var n=this._fullRequestId,l=this._manager.getRequestXhr(n),e=function(n){return l.getResponseHeader(n)},t=(0,o.validateRangeRequestCapabilities)({getResponseHeader:e,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),i=t.suggestedLength;t.allowRangeRequests&&(this._isRangeSupported=!0),this._contentLength=i||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(e),this._isRangeSupported&&this._manager.abortRequest(n),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(n){n&&(this._requests.length>0?this._requests.shift().resolve({value:n.chunk,done:!1}):this._cachedChunks.push(n.chunk)),this._done=!0,this._cachedChunks.length>0||(this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[])}},{key:"_onError",value:function(n){var l=(0,o.createResponseStatusError)(n,this._url);this._storedError=l,this._headersReceivedCapability.reject(l),this._requests.forEach((function(n){n.reject(l)})),this._requests=[],this._cachedChunks=[]}},{key:"_onProgress",value:function(n){this.onProgress&&this.onProgress({loaded:n.loaded,total:n.lengthComputable?n.total:this._contentLength})}},{key:"read",value:(l=u(i.default.mark((function n(){var l,e;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!this._storedError){n.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){n.next=5;break}return l=this._cachedChunks.shift(),n.abrupt("return",{value:l,done:!1});case 5:if(!this._done){n.next=7;break}return n.abrupt("return",{value:void 0,done:!0});case 7:return e=(0,a.createPromiseCapability)(),this._requests.push(e),n.abrupt("return",e.promise);case 10:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._done=!0,this._headersReceivedCapability.reject(n),this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}}]),n}(),f=function(){function n(l,e,t){s(this,n),this._manager=l;var i={onDone:this._onDone.bind(this),onProgress:this._onProgress.bind(this)};this._requestId=l.requestRange(e,t,i),this._requests=[],this._queuedChunk=null,this._done=!1,this.onProgress=null,this.onClosed=null}var l;return d(n,[{key:"_close",value:function(){this.onClosed&&this.onClosed(this)}},{key:"_onDone",value:function(n){var l=n.chunk;this._requests.length>0?this._requests.shift().resolve({value:l,done:!1}):this._queuedChunk=l,this._done=!0,this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[],this._close()}},{key:"_onProgress",value:function(n){!this.isStreamingSupported&&this.onProgress&&this.onProgress({loaded:n.loaded})}},{key:"read",value:(l=u(i.default.mark((function n(){var l,e;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(null===this._queuedChunk){n.next=4;break}return l=this._queuedChunk,this._queuedChunk=null,n.abrupt("return",{value:l,done:!1});case 4:if(!this._done){n.next=6;break}return n.abrupt("return",{value:void 0,done:!0});case 6:return e=(0,a.createPromiseCapability)(),this._requests.push(e),n.abrupt("return",e.promise);case 9:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._done=!0,this._requests.forEach((function(n){n.resolve({value:void 0,done:!0})})),this._requests=[],this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}},{key:"isStreamingSupported",get:function(){return!1}}]),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFFetchStream=void 0;var t,i=(t=e(148))&&t.__esModule?t:{default:t},a=e(1),o=e(166);function r(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function u(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function o(n){r(a,t,i,o,u,"next",n)}function u(n){r(a,t,i,o,u,"throw",n)}o(void 0)}))}}function s(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function c(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function d(n,l,e){return l&&c(n.prototype,l),e&&c(n,e),n}function p(n,l,e){return{method:"GET",headers:n,signal:e&&e.signal,mode:"cors",credentials:l?"include":"same-origin",redirect:"follow"}}l.PDFFetchStream=function(){function n(l){s(this,n),this.source=l,this.isHttp=/^https?:/i.test(l.url),this.httpHeaders=this.isHttp&&l.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return d(n,[{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader),this._fullRequestReader=new m(this),this._fullRequestReader}},{key:"getRangeReader",value:function(n,l){if(l<=this._progressiveDataLength)return null;var e=new f(this,n,l);return this._rangeRequestReaders.push(e),e}},{key:"cancelAllRequests",value:function(n){this._fullRequestReader&&this._fullRequestReader.cancel(n),this._rangeRequestReaders.slice(0).forEach((function(l){l.cancel(n)}))}},{key:"_progressiveDataLength",get:function(){return this._fullRequestReader?this._fullRequestReader._loaded:0}}]),n}();var m=function(){function n(l){var e=this;s(this,n),this._stream=l,this._reader=null,this._loaded=0,this._filename=null;var t=l.source;for(var i in this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=(0,a.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._headers=new Headers,this._stream.httpHeaders){var r=this._stream.httpHeaders[i];void 0!==r&&this._headers.append(i,r)}var u=t.url;fetch(u,p(this._headers,this._withCredentials,this._abortController)).then((function(n){if(!(0,o.validateResponseStatus)(n.status))throw(0,o.createResponseStatusError)(n.status,u);e._reader=n.body.getReader(),e._headersCapability.resolve();var l=function(l){return n.headers.get(l)},t=(0,o.validateRangeRequestCapabilities)({getResponseHeader:l,isHttp:e._stream.isHttp,rangeChunkSize:e._rangeChunkSize,disableRange:e._disableRange}),i=t.suggestedLength;e._isRangeSupported=t.allowRangeRequests,e._contentLength=i||e._contentLength,e._filename=(0,o.extractFilenameFromHeader)(l),!e._isStreamingSupported&&e._isRangeSupported&&e.cancel(new a.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}var l;return d(n,[{key:"read",value:(l=u(i.default.mark((function n(){var l,e,t,a;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._headersCapability.promise;case 2:return n.next=4,this._reader.read();case 4:if(e=(l=n.sent).value,!(t=l.done)){n.next=9;break}return n.abrupt("return",{value:e,done:t});case 9:return this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),a=new Uint8Array(e).buffer,n.abrupt("return",{value:a,done:!1});case 13:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._reader&&this._reader.cancel(n),this._abortController&&this._abortController.abort()}},{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),n}(),f=function(){function n(l,e,t){var i=this;s(this,n),this._stream=l,this._reader=null,this._loaded=0;var r=l.source;for(var u in this._withCredentials=r.withCredentials||!1,this._readCapability=(0,a.createPromiseCapability)(),this._isStreamingSupported=!r.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=new Headers,this._stream.httpHeaders){var c=this._stream.httpHeaders[u];void 0!==c&&this._headers.append(u,c)}this._headers.append("Range","bytes=".concat(e,"-").concat(t-1));var d=r.url;fetch(d,p(this._headers,this._withCredentials,this._abortController)).then((function(n){if(!(0,o.validateResponseStatus)(n.status))throw(0,o.createResponseStatusError)(n.status,d);i._readCapability.resolve(),i._reader=n.body.getReader()})),this.onProgress=null}var l;return d(n,[{key:"read",value:(l=u(i.default.mark((function n(){var l,e,t,a;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._readCapability.promise;case 2:return n.next=4,this._reader.read();case 4:if(e=(l=n.sent).value,!(t=l.done)){n.next=9;break}return n.abrupt("return",{value:e,done:t});case 9:return this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),a=new Uint8Array(e).buffer,n.abrupt("return",{value:a,done:!1});case 13:case"end":return n.stop()}}),n,this)}))),function(){return l.apply(this,arguments)})},{key:"cancel",value:function(n){this._reader&&this._reader.cancel(n),this._abortController&&this._abortController.abort()}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}}]),n}()}])},n.exports=t()},louq:function(n,l,e){var t;t=function(){return function(n){var l={};function e(t){if(l[t])return l[t].exports;var i=l[t]={i:t,l:!1,exports:{}};return n[t].call(i.exports,i,i.exports,e),i.l=!0,i.exports}return e.m=n,e.c=l,e.d=function(n,l,t){e.o(n,l)||Object.defineProperty(n,l,{enumerable:!0,get:t})},e.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,l){if(1&l&&(n=e(n)),8&l)return n;if(4&l&&"object"==typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(e.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&l&&"string"!=typeof n)for(var i in n)e.d(t,i,(function(l){return n[l]}).bind(null,i));return t},e.n=function(n){var l=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(l,"a",l),l},e.o=function(n,l){return Object.prototype.hasOwnProperty.call(n,l)},e.p="",e(e.s=0)}([function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return t.AnnotationLayerBuilder}}),Object.defineProperty(l,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return t.DefaultAnnotationLayerFactory}}),Object.defineProperty(l,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return i.DefaultTextLayerFactory}}),Object.defineProperty(l,"TextLayerBuilder",{enumerable:!0,get:function(){return i.TextLayerBuilder}}),Object.defineProperty(l,"EventBus",{enumerable:!0,get:function(){return a.EventBus}}),Object.defineProperty(l,"NullL10n",{enumerable:!0,get:function(){return a.NullL10n}}),Object.defineProperty(l,"ProgressBar",{enumerable:!0,get:function(){return a.ProgressBar}}),Object.defineProperty(l,"PDFLinkService",{enumerable:!0,get:function(){return o.PDFLinkService}}),Object.defineProperty(l,"SimpleLinkService",{enumerable:!0,get:function(){return o.SimpleLinkService}}),Object.defineProperty(l,"DownloadManager",{enumerable:!0,get:function(){return r.DownloadManager}}),Object.defineProperty(l,"GenericL10n",{enumerable:!0,get:function(){return u.GenericL10n}}),Object.defineProperty(l,"PDFFindController",{enumerable:!0,get:function(){return s.PDFFindController}}),Object.defineProperty(l,"PDFHistory",{enumerable:!0,get:function(){return c.PDFHistory}}),Object.defineProperty(l,"PDFPageView",{enumerable:!0,get:function(){return d.PDFPageView}}),Object.defineProperty(l,"PDFSinglePageViewer",{enumerable:!0,get:function(){return p.PDFSinglePageViewer}}),Object.defineProperty(l,"PDFViewer",{enumerable:!0,get:function(){return m.PDFViewer}});var t=e(1),i=e(8),a=e(3),o=e(7),r=e(9),u=e(10),s=e(12),c=e(14),d=e(15),p=e(18),m=e(20);(0,a.getGlobalEventBus)(!0)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DefaultAnnotationLayerFactory=l.AnnotationLayerBuilder=void 0;var t=e(2),i=e(3),a=e(7);function o(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function r(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function u(n,l,e){return l&&r(n.prototype,l),e&&r(n,e),n}var s=function(){function n(l){var e=l.pageDiv,t=l.pdfPage,a=l.linkService,r=l.downloadManager,u=l.imageResourcesPath,s=void 0===u?"":u,c=l.renderInteractiveForms,d=void 0!==c&&c,p=l.l10n,m=void 0===p?i.NullL10n:p;o(this,n),this.pageDiv=e,this.pdfPage=t,this.linkService=a,this.downloadManager=r,this.imageResourcesPath=s,this.renderInteractiveForms=d,this.l10n=m,this.div=null,this._cancelled=!1}return u(n,[{key:"render",value:function(n){var l=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"display";this.pdfPage.getAnnotations({intent:e}).then((function(e){if(!l._cancelled){var i={viewport:n.clone({dontFlip:!0}),div:l.div,annotations:e,page:l.pdfPage,imageResourcesPath:l.imageResourcesPath,renderInteractiveForms:l.renderInteractiveForms,linkService:l.linkService,downloadManager:l.downloadManager};if(l.div)t.AnnotationLayer.update(i);else{if(0===e.length)return;l.div=document.createElement("div"),l.div.className="annotationLayer",l.pageDiv.appendChild(l.div),i.div=l.div,t.AnnotationLayer.render(i),l.l10n.translate(l.div)}}}))}},{key:"cancel",value:function(){this._cancelled=!0}},{key:"hide",value:function(){this.div&&this.div.setAttribute("hidden","true")}}]),n}();l.AnnotationLayerBuilder=s,l.DefaultAnnotationLayerFactory=function(){function n(){o(this,n)}return u(n,[{key:"createAnnotationLayerBuilder",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:i.NullL10n;return new s({pageDiv:n,pdfPage:l,imageResourcesPath:e,renderInteractiveForms:t,linkService:new a.SimpleLinkService,l10n:o})}}]),n}()},function(n,l,t){"use strict";var i;i="undefined"!=typeof window&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:e("lRFz"),n.exports=i},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isValidRotation=function(n){return Number.isInteger(n)&&n%90==0},l.isValidScrollMode=function(n){return Number.isInteger(n)&&Object.values(c).includes(n)&&n!==c.UNKNOWN},l.isValidSpreadMode=function(n){return Number.isInteger(n)&&Object.values(d).includes(n)&&n!==d.UNKNOWN},l.isPortraitOrientation=function(n){return n.width<=n.height},l.getGlobalEventBus=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return C||(C=new x({dispatchToDOM:n})),C},l.getPDFFileNameFromURL=function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof n)return l;if(function(n){for(var l=0,e=n.length;l<e&&""===n[l].trim();)l++;return"data:"===n.substring(l,l+5).toLowerCase()}(n))return console.warn('getPDFFileNameFromURL: ignoring "data:" URL for performance reasons.'),l;var e=/[^\/?#=]+\.pdf\b(?!.*\.pdf\b)/i,t=/^(?:(?:[^:]+:)?\/\/[^\/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(n),i=e.exec(t[1])||e.exec(t[2])||e.exec(t[3]);if(i&&(i=i[0]).includes("%"))try{i=e.exec(decodeURIComponent(i))[0]}catch(a){}return i||l},l.noContextMenuHandler=function(n){n.preventDefault()},l.parseQueryString=function(n){for(var l=n.split("&"),e=Object.create(null),t=0,i=l.length;t<i;++t){var a=l[t].split("="),o=a[0].toLowerCase(),r=a.length>1?a[1]:null;e[decodeURIComponent(o)]=decodeURIComponent(r)}return e},l.backtrackBeforeAllVisibleElements=_,l.getVisibleElements=function(n,l){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=n.scrollTop,a=i+n.clientHeight,o=n.scrollLeft,r=o+n.clientWidth,u=[],s=l.length,c=0===s?0:v(l,t?function(n){var l=n.div;return l.offsetLeft+l.clientLeft+l.clientWidth>o}:function(n){var l=n.div;return l.offsetTop+l.clientTop+l.clientHeight>i});c>0&&c<s&&!t&&(c=_(c,l,i));for(var d=t?r:-1,p=c;p<s;p++){var m=l[p],f=m.div,h=f.offsetLeft+f.clientLeft,g=f.offsetTop+f.clientTop,b=f.clientWidth,y=f.clientHeight,w=h+b,x=g+y;if(-1===d)x>=a&&(d=x);else if((t?h:g)>d)break;if(!(x<=i||g>=a||w<=o||h>=r)){var C=Math.max(0,i-g)+Math.max(0,x-a),k=Math.max(0,o-h)+Math.max(0,w-r);u.push({id:m.id,x:h,y:g,view:m,percent:(y-C)*(b-k)*100/y/b|0})}}var S=u[0],I=u[u.length-1];return e&&u.sort((function(n,l){var e=n.percent-l.percent;return Math.abs(e)>.001?-e:n.id-l.id})),{first:S,last:I,views:u}},l.roundToDivide=function(n,l){var e=n%l;return 0===e?n:Math.round(n-e+l)},l.getPageSizeInches=function(n){var l,e=n.userUnit,t=n.rotate,i=function(n){if(Array.isArray(n))return n}(l=n.view)||function(n,l){var e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done)&&(e.push(o.value),4!==e.length);t=!0);}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return e}(l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}(),a=t%180!=0,o=(i[2]-i[0])/72*e,r=(i[3]-i[1])/72*e;return{width:a?r:o,height:a?o:r}},l.approximateFraction=function(n){if(Math.floor(n)===n)return[n,1];var l=1/n;if(l>8)return[1,8];if(Math.floor(l)===l)return[1,l];for(var e=n>1?l:n,t=0,i=1,a=1,o=1;;){var r=t+a,u=i+o;if(u>8)break;e<=r/u?(a=r,o=u):(t=r,i=u)}return e-t/i<a/o-e?e===n?[t,i]:[i,t]:e===n?[a,o]:[o,a]},l.getOutputScale=function(n){var l=(window.devicePixelRatio||1)/(n.webkitBackingStorePixelRatio||n.mozBackingStorePixelRatio||n.msBackingStorePixelRatio||n.oBackingStorePixelRatio||n.backingStorePixelRatio||1);return{sx:l,sy:l,scaled:1!==l}},l.scrollIntoView=function(n,l){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=n.offsetParent;if(t){for(var i=n.offsetTop+n.clientTop,a=n.offsetLeft+n.clientLeft;t.clientHeight===t.scrollHeight&&t.clientWidth===t.scrollWidth||e&&"hidden"===getComputedStyle(t).overflow;)if(t.dataset._scaleY&&(i/=t.dataset._scaleY,a/=t.dataset._scaleX),i+=t.offsetTop,a+=t.offsetLeft,!(t=t.offsetParent))return;l&&(void 0!==l.top&&(i+=l.top),void 0!==l.left&&(t.scrollLeft=a+=l.left)),t.scrollTop=i}else console.error("offsetParent is not set -- cannot scroll")},l.watchScroll=function(n,l){var e=function(e){i||(i=window.requestAnimationFrame((function(){i=null;var e=n.scrollLeft,a=t.lastX;e!==a&&(t.right=e>a),t.lastX=e;var o=n.scrollTop,r=t.lastY;o!==r&&(t.down=o>r),t.lastY=o,l(t)})))},t={right:!0,down:!0,lastX:n.scrollLeft,lastY:n.scrollTop,_eventHandler:e},i=null;return n.addEventListener("scroll",e,!0),t},l.binarySearchFirstItem=v,l.normalizeWheelEventDelta=function(n){var l=Math.sqrt(n.deltaX*n.deltaX+n.deltaY*n.deltaY),e=Math.atan2(n.deltaY,n.deltaX);return-.25*Math.PI<e&&e<.75*Math.PI&&(l=-l),0===n.deltaMode?l/=900:1===n.deltaMode&&(l/=30),l},l.waitOnEventOrTimeout=function(n){var l=n.target,e=n.name,t=n.delay,i=void 0===t?0:t;return new Promise((function(n,t){if("object"!==function(n){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}(l)||!e||"string"!=typeof e||!(Number.isInteger(i)&&i>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function a(t){l instanceof x?l.off(e,o):l.removeEventListener(e,o),u&&clearTimeout(u),n(t)}var o=a.bind(null,y.EVENT);l instanceof x?l.on(e,o):l.addEventListener(e,o);var r=a.bind(null,y.TIMEOUT),u=setTimeout(r,i)}))},l.moveToEndOfArray=function(n,l){for(var e=[],t=n.length,i=0,a=0;a<t;++a)l(n[a])?e.push(n[a]):(n[i]=n[a],++i);for(var o=0;i<t;++o,++i)n[i]=e[o]},l.WaitOnType=l.animationStarted=l.ProgressBar=l.EventBus=l.NullL10n=l.SpreadMode=l.ScrollMode=l.TextLayerMode=l.RendererType=l.PresentationModeState=l.VERTICAL_PADDING=l.SCROLLBAR_PADDING=l.MAX_AUTO_SCALE=l.UNKNOWN_SCALE=l.MAX_SCALE=l.MIN_SCALE=l.DEFAULT_SCALE=l.DEFAULT_SCALE_VALUE=l.CSS_UNITS=void 0;var t,i=(t=e(4))&&t.__esModule?t:{default:t};function a(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function o(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function r(n,l,e){return l&&o(n.prototype,l),e&&o(n,e),n}function u(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function s(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var a=n.apply(l,e);function o(n){u(a,t,i,o,r,"next",n)}function r(n){u(a,t,i,o,r,"throw",n)}o(void 0)}))}}l.CSS_UNITS=96/72,l.DEFAULT_SCALE_VALUE="auto",l.DEFAULT_SCALE=1,l.MIN_SCALE=.1,l.MAX_SCALE=10,l.UNKNOWN_SCALE=0,l.MAX_AUTO_SCALE=1.25,l.SCROLLBAR_PADDING=40,l.VERTICAL_PADDING=5,l.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3},l.RendererType={CANVAS:"canvas",SVG:"svg"},l.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};var c={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2};l.ScrollMode=c;var d={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};function p(n,l){return l?n.replace(/\{\{\s*(\w+)\s*\}\}/g,(function(n,e){return e in l?l[e]:"{{"+e+"}}"})):n}l.SpreadMode=d;var m,f,h,g,b={getLanguage:(g=s(i.default.mark((function n(){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return","en-us");case 1:case"end":return n.stop()}}),n)}))),function(){return g.apply(this,arguments)}),getDirection:(h=s(i.default.mark((function n(){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return","ltr");case 1:case"end":return n.stop()}}),n)}))),function(){return h.apply(this,arguments)}),get:(f=s(i.default.mark((function n(l,e,t){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",p(t,e));case 1:case"end":return n.stop()}}),n)}))),function(n,l,e){return f.apply(this,arguments)}),translate:(m=s(i.default.mark((function n(l){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:case"end":return n.stop()}}),n)}))),function(n){return m.apply(this,arguments)})};function v(n,l){var e=0,t=n.length-1;if(0===n.length||!l(n[t]))return n.length;if(l(n[e]))return e;for(;e<t;){var i=e+t>>1;l(n[i])?t=i:e=i+1}return e}function _(n,l,e){if(n<2)return n;var t=l[n].div,i=t.offsetTop+t.clientTop;i>=e&&(i=(t=l[n-1].div).offsetTop+t.clientTop);for(var a=n-2;a>=0&&!((t=l[a].div).offsetTop+t.clientTop+t.clientHeight<=i);--a)n=a;return n}l.NullL10n=b;var y={EVENT:"event",TIMEOUT:"timeout"};l.WaitOnType=y;var w=new Promise((function(n){window.requestAnimationFrame(n)}));l.animationStarted=w;var x=function(){function n(){var l=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).dispatchToDOM,e=void 0!==l&&l;a(this,n),this._listeners=Object.create(null),this._dispatchToDOM=!0===e}return r(n,[{key:"on",value:function(n,l){var e=this._listeners[n];e||(this._listeners[n]=e=[]),e.push(l)}},{key:"off",value:function(n,l){var e,t=this._listeners[n];!t||(e=t.indexOf(l))<0||t.splice(e,1)}},{key:"dispatch",value:function(n){var l=this._listeners[n];if(l&&0!==l.length){var e=Array.prototype.slice.call(arguments,1);l.slice(0).forEach((function(n){n.apply(null,e)})),this._dispatchToDOM&&this._dispatchDOMEvent(n,e)}else if(this._dispatchToDOM){var t=Array.prototype.slice.call(arguments,1);this._dispatchDOMEvent(n,t)}}},{key:"_dispatchDOMEvent",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=Object.create(null);if(l&&l.length>0){var t=l[0];for(var i in t){var a=t[i];if("source"!==i)e[i]=a;else if(a===window||a===document)return}}var o=document.createEvent("CustomEvent");o.initCustomEvent(n,!0,!0,e),document.dispatchEvent(o)}}]),n}();l.EventBus=x;var C=null;l.ProgressBar=function(){function n(l){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.height,i=e.width,o=e.units;a(this,n),this.visible=!0,this.div=document.querySelector(l+" .progress"),this.bar=this.div.parentNode,this.height=t||100,this.width=i||100,this.units=o||"%",this.div.style.height=this.height+this.units,this.percent=0}return r(n,[{key:"_updateBar",value:function(){if(this._indeterminate)return this.div.classList.add("indeterminate"),void(this.div.style.width=this.width+this.units);this.div.classList.remove("indeterminate"),this.div.style.width=this.width*this._percent/100+this.units}},{key:"setWidth",value:function(n){if(n){var l=n.parentNode.offsetWidth-n.offsetWidth;l>0&&this.bar.setAttribute("style","width: calc(100% - "+l+"px);")}}},{key:"hide",value:function(){this.visible&&(this.visible=!1,this.bar.classList.add("hidden"),document.body.classList.remove("loadingInProgress"))}},{key:"show",value:function(){this.visible||(this.visible=!0,document.body.classList.add("loadingInProgress"),this.bar.classList.remove("hidden"))}},{key:"percent",get:function(){return this._percent},set:function(n){this._indeterminate=isNaN(n),this._percent=Math.min(Math.max(n,0),100),this._updateBar()}}]),n}()},function(n,l,e){"use strict";n.exports=e(5)},function(n,l,e){"use strict";(function(n){function l(n){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}var e=function(n){var e,t=Object.prototype,i=t.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",r=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function s(n,l,e,t){var i=Object.create((l&&l.prototype instanceof g?l:g).prototype),a=new M(t||[]);return i._invoke=function(n,l,e){var t=d;return function(i,a){if(t===m)throw new Error("Generator is already running");if(t===f){if("throw"===i)throw a;return D()}for(e.method=i,e.arg=a;;){var o=e.delegate;if(o){var r=S(o,e);if(r){if(r===h)continue;return r}}if("next"===e.method)e.sent=e._sent=e.arg;else if("throw"===e.method){if(t===d)throw t=f,e.arg;e.dispatchException(e.arg)}else"return"===e.method&&e.abrupt("return",e.arg);t=m;var u=c(n,l,e);if("normal"===u.type){if(t=e.done?f:p,u.arg===h)continue;return{value:u.arg,done:e.done}}"throw"===u.type&&(t=f,e.method="throw",e.arg=u.arg)}}}(n,e,a),i}function c(n,l,e){try{return{type:"normal",arg:n.call(l,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=s;var d="suspendedStart",p="suspendedYield",m="executing",f="completed",h={};function g(){}function b(){}function v(){}var _={};_[o]=function(){return this};var y=Object.getPrototypeOf,w=y&&y(y(P([])));w&&w!==t&&i.call(w,o)&&(_=w);var x=v.prototype=g.prototype=Object.create(_);function C(n){["next","throw","return"].forEach((function(l){n[l]=function(n){return this._invoke(l,n)}}))}function k(n){var e;this._invoke=function(t,a){function o(){return new Promise((function(e,o){!function e(t,a,o,r){var u=c(n[t],n,a);if("throw"!==u.type){var s=u.arg,d=s.value;return d&&"object"===l(d)&&i.call(d,"__await")?Promise.resolve(d.__await).then((function(n){e("next",n,o,r)}),(function(n){e("throw",n,o,r)})):Promise.resolve(d).then((function(n){s.value=n,o(s)}),(function(n){return e("throw",n,o,r)}))}r(u.arg)}(t,a,e,o)}))}return e=e?e.then(o,o):o()}}function S(n,l){var t=n.iterator[l.method];if(t===e){if(l.delegate=null,"throw"===l.method){if(n.iterator.return&&(l.method="return",l.arg=e,S(n,l),"throw"===l.method))return h;l.method="throw",l.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var i=c(t,n.iterator,l.arg);if("throw"===i.type)return l.method="throw",l.arg=i.arg,l.delegate=null,h;var a=i.arg;return a?a.done?(l[n.resultName]=a.value,l.next=n.nextLoc,"return"!==l.method&&(l.method="next",l.arg=e),l.delegate=null,h):a:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,h)}function I(n){var l={tryLoc:n[0]};1 in n&&(l.catchLoc=n[1]),2 in n&&(l.finallyLoc=n[2],l.afterLoc=n[3]),this.tryEntries.push(l)}function A(n){var l=n.completion||{};l.type="normal",delete l.arg,n.completion=l}function M(n){this.tryEntries=[{tryLoc:"root"}],n.forEach(I,this),this.reset(!0)}function P(n){if(n){var l=n[o];if(l)return l.call(n);if("function"==typeof n.next)return n;if(!isNaN(n.length)){var t=-1,a=function l(){for(;++t<n.length;)if(i.call(n,t))return l.value=n[t],l.done=!1,l;return l.value=e,l.done=!0,l};return a.next=a}}return{next:D}}function D(){return{value:e,done:!0}}return b.prototype=x.constructor=v,v.constructor=b,v[u]=b.displayName="GeneratorFunction",n.isGeneratorFunction=function(n){var l="function"==typeof n&&n.constructor;return!!l&&(l===b||"GeneratorFunction"===(l.displayName||l.name))},n.mark=function(n){return Object.setPrototypeOf?Object.setPrototypeOf(n,v):(n.__proto__=v,u in n||(n[u]="GeneratorFunction")),n.prototype=Object.create(x),n},n.awrap=function(n){return{__await:n}},C(k.prototype),k.prototype[r]=function(){return this},n.AsyncIterator=k,n.async=function(l,e,t,i){var a=new k(s(l,e,t,i));return n.isGeneratorFunction(e)?a:a.next().then((function(n){return n.done?n.value:a.next()}))},C(x),x[u]="Generator",x[o]=function(){return this},x.toString=function(){return"[object Generator]"},n.keys=function(n){var l=[];for(var e in n)l.push(e);return l.reverse(),function e(){for(;l.length;){var t=l.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},n.values=P,M.prototype={constructor:M,reset:function(n){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!n)for(var l in this)"t"===l.charAt(0)&&i.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=e)},stop:function(){this.done=!0;var n=this.tryEntries[0].completion;if("throw"===n.type)throw n.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var l=this;function t(t,i){return r.type="throw",r.arg=n,l.next=t,i&&(l.method="next",l.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],r=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var u=i.call(o,"catchLoc"),s=i.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(n,l){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc<=this.prev&&i.call(t,"finallyLoc")&&this.prev<t.finallyLoc){var a=t;break}}a&&("break"===n||"continue"===n)&&a.tryLoc<=l&&l<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=n,o.arg=l,a?(this.method="next",this.next=a.finallyLoc,h):this.complete(o)},complete:function(n,l){if("throw"===n.type)throw n.arg;return"break"===n.type||"continue"===n.type?this.next=n.arg:"return"===n.type?(this.rval=this.arg=n.arg,this.method="return",this.next="end"):"normal"===n.type&&l&&(this.next=l),h},finish:function(n){for(var l=this.tryEntries.length-1;l>=0;--l){var e=this.tryEntries[l];if(e.finallyLoc===n)return this.complete(e.completion,e.afterLoc),A(e),h}},catch:function(n){for(var l=this.tryEntries.length-1;l>=0;--l){var e=this.tryEntries[l];if(e.tryLoc===n){var t=e.completion;if("throw"===t.type){var i=t.arg;A(e)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(n,l,t){return this.delegate={iterator:P(n),resultName:l,nextLoc:t},"next"===this.method&&(this.arg=e),h}},n}("object"===l(n)?n.exports:{});try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}).call(this,e(6)(n))},function(n,l,e){"use strict";n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.SimpleLinkService=l.PDFLinkService=void 0;var t=e(3);function i(n){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function o(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function r(n,l,e){return l&&o(n.prototype,l),e&&o(n,e),n}l.PDFLinkService=function(){function n(){var l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=l.eventBus,i=l.externalLinkTarget,o=void 0===i?null:i,r=l.externalLinkRel,u=void 0===r?null:r;a(this,n),this.eventBus=e||(0,t.getGlobalEventBus)(),this.externalLinkTarget=o,this.externalLinkRel=u,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null,this._pagesRefCache=null}return r(n,[{key:"setDocument",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.baseUrl=l,this.pdfDocument=n,this._pagesRefCache=Object.create(null)}},{key:"setViewer",value:function(n){this.pdfViewer=n}},{key:"setHistory",value:function(n){this.pdfHistory=n}},{key:"navigateTo",value:function(n){var l=this;new Promise((function(e,t){"string"!=typeof n?e({namedDest:"",explicitDest:n}):l.pdfDocument.getDestination(n).then((function(l){e({namedDest:n,explicitDest:l})}))})).then((function(e){Array.isArray(e.explicitDest)?function e(t){var i,a=t.namedDest,o=t.explicitDest,r=o[0];if(r instanceof Object){if(null===(i=l._cachedPageNumber(r)))return void l.pdfDocument.getPageIndex(r).then((function(n){l.cachePageRef(n+1,r),e({namedDest:a,explicitDest:o})})).catch((function(){console.error('PDFLinkService.navigateTo: "'.concat(r,'" is not ')+'a valid page reference, for dest="'.concat(n,'".'))}))}else{if(!Number.isInteger(r))return void console.error('PDFLinkService.navigateTo: "'.concat(r,'" is not ')+'a valid destination reference, for dest="'.concat(n,'".'));i=r+1}!i||i<1||i>l.pagesCount?console.error('PDFLinkService.navigateTo: "'.concat(i,'" is not ')+'a valid page number, for dest="'.concat(n,'".')):(l.pdfHistory&&(l.pdfHistory.pushCurrentPosition(),l.pdfHistory.push({namedDest:a,explicitDest:o,pageNumber:i})),l.pdfViewer.scrollPageIntoView({pageNumber:i,destArray:o}))}(e):console.error('PDFLinkService.navigateTo: "'.concat(e.explicitDest,'" is')+' not a valid destination array, for dest="'.concat(n,'".'))}))}},{key:"getDestinationHash",value:function(n){if("string"==typeof n)return this.getAnchorUrl("#"+escape(n));if(Array.isArray(n)){var l=JSON.stringify(n);return this.getAnchorUrl("#"+escape(l))}return this.getAnchorUrl("")}},{key:"getAnchorUrl",value:function(n){return(this.baseUrl||"")+n}},{key:"setHash",value:function(n){var l,e;if(n.includes("=")){var a=(0,t.parseQueryString)(n);if("search"in a&&this.eventBus.dispatch("findfromurlhash",{source:this,query:a.search.replace(/"/g,""),phraseSearch:"true"===a.phrase}),"nameddest"in a)return void this.navigateTo(a.nameddest);if("page"in a&&(l=0|a.page||1),"zoom"in a){var o=a.zoom.split(","),r=o[0],u=parseFloat(r);r.includes("Fit")?"Fit"===r||"FitB"===r?e=[null,{name:r}]:"FitH"===r||"FitBH"===r||"FitV"===r||"FitBV"===r?e=[null,{name:r},o.length>1?0|o[1]:null]:"FitR"===r?5!==o.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):e=[null,{name:r},0|o[1],0|o[2],0|o[3],0|o[4]]:console.error('PDFLinkService.setHash: "'.concat(r,'" is not ')+"a valid zoom value."):e=[null,{name:"XYZ"},o.length>1?0|o[1]:null,o.length>2?0|o[2]:null,u?u/100:r]}e?this.pdfViewer.scrollPageIntoView({pageNumber:l||this.page,destArray:e,allowNegativeOffset:!0}):l&&(this.page=l),"pagemode"in a&&this.eventBus.dispatch("pagemode",{source:this,mode:a.pagemode})}else{e=unescape(n);try{e=JSON.parse(e),Array.isArray(e)||(e=e.toString())}catch(s){}if("string"==typeof e||function(n){if(!Array.isArray(n))return!1;var l=n.length,e=!0;if(l<2)return!1;var t=n[0];if(!("object"===i(t)&&Number.isInteger(t.num)&&Number.isInteger(t.gen)||Number.isInteger(t)&&t>=0))return!1;var a=n[1];if("object"!==i(a)||"string"!=typeof a.name)return!1;switch(a.name){case"XYZ":if(5!==l)return!1;break;case"Fit":case"FitB":return 2===l;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==l)return!1;break;case"FitR":if(6!==l)return!1;e=!1;break;default:return!1}for(var o=2;o<l;o++){var r=n[o];if(!("number"==typeof r||e&&null===r))return!1}return!0}(e))return void this.navigateTo(e);console.error('PDFLinkService.setHash: "'.concat(unescape(n),'" is not ')+"a valid destination.")}}},{key:"executeNamedAction",value:function(n){switch(n){case"GoBack":this.pdfHistory&&this.pdfHistory.back();break;case"GoForward":this.pdfHistory&&this.pdfHistory.forward();break;case"NextPage":this.page<this.pagesCount&&this.page++;break;case"PrevPage":this.page>1&&this.page--;break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:n})}},{key:"cachePageRef",value:function(n,l){l&&(this._pagesRefCache[l.num+" "+l.gen+" R"]=n)}},{key:"_cachedPageNumber",value:function(n){return this._pagesRefCache&&this._pagesRefCache[n.num+" "+n.gen+" R"]||null}},{key:"isPageVisible",value:function(n){return this.pdfViewer.isPageVisible(n)}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(n){this.pdfViewer.currentPageNumber=n}},{key:"rotation",get:function(){return this.pdfViewer.pagesRotation},set:function(n){this.pdfViewer.pagesRotation=n}}]),n}(),l.SimpleLinkService=function(){function n(){a(this,n),this.externalLinkTarget=null,this.externalLinkRel=null}return r(n,[{key:"navigateTo",value:function(n){}},{key:"getDestinationHash",value:function(n){return"#"}},{key:"getAnchorUrl",value:function(n){return"#"}},{key:"setHash",value:function(n){}},{key:"executeNamedAction",value:function(n){}},{key:"cachePageRef",value:function(n,l){}},{key:"isPageVisible",value:function(n){return!0}},{key:"pagesCount",get:function(){return 0}},{key:"page",get:function(){return 0},set:function(n){}},{key:"rotation",get:function(){return 0},set:function(n){}}]),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DefaultTextLayerFactory=l.TextLayerBuilder=void 0;var t=e(3),i=e(2);function a(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}function o(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}function r(n,l,e){return l&&o(n.prototype,l),e&&o(n,e),n}var u=function(){function n(l){var e=l.textLayerDiv,i=l.eventBus,o=l.pageIndex,r=l.viewport,u=l.findController,s=void 0===u?null:u,c=l.enhanceTextSelection,d=void 0!==c&&c;a(this,n),this.textLayerDiv=e,this.eventBus=i||(0,t.getGlobalEventBus)(),this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageIdx=o,this.pageNumber=this.pageIdx+1,this.matches=[],this.viewport=r,this.textDivs=[],this.findController=s,this.textLayerRenderTask=null,this.enhanceTextSelection=d,this._onUpdateTextLayerMatches=null,this._bindMouse()}return r(n,[{key:"_finishRendering",value:function(){if(this.renderingDone=!0,!this.enhanceTextSelection){var n=document.createElement("div");n.className="endOfContent",this.textLayerDiv.appendChild(n)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}},{key:"render",value:function(){var n=this,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;if((this.textContent||this.textContentStream)&&!this.renderingDone){this.cancel(),this.textDivs=[];var e=document.createDocumentFragment();this.textLayerRenderTask=(0,i.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:e,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:l,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then((function(){n.textLayerDiv.appendChild(e),n._finishRendering(),n._updateMatches()}),(function(n){})),this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=function(l){l.pageIndex!==n.pageIdx&&-1!==l.pageIndex||n._updateMatches()},this.eventBus.on("updatetextlayermatches",this._onUpdateTextLayerMatches))}}},{key:"cancel",value:function(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this._onUpdateTextLayerMatches&&(this.eventBus.off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null)}},{key:"setTextContentStream",value:function(n){this.cancel(),this.textContentStream=n}},{key:"setTextContent",value:function(n){this.cancel(),this.textContent=n}},{key:"_convertMatches",value:function(n,l){if(!n)return[];for(var e=this.textContentItemsStr,t=0,i=0,a=e.length-1,o=this.findController.state.query.length,r=[],u=0,s=n.length;u<s;u++){for(var c=n[u];t!==a&&c>=i+e[t].length;)i+=e[t].length,t++;t===e.length&&console.error("Could not find a matching mapping");var d={begin:{divIdx:t,offset:c-i}};for(c+=l?l[u]:o;t!==a&&c>i+e[t].length;)i+=e[t].length,t++;d.end={divIdx:t,offset:c-i},r.push(d)}return r}},{key:"_renderMatches",value:function(n){if(0!==n.length){var l=this.findController,e=this.pageIdx,t=this.textContentItemsStr,i=this.textDivs,a=e===l.selected.pageIdx,o=l.selected.matchIdx,r=null,u={divIdx:-1,offset:void 0},s=o,c=s+1;if(l.state.highlightAll)s=0,c=n.length;else if(!a)return;for(var d=s;d<c;d++){var p=n[d],m=p.begin,f=p.end,h=a&&d===o,g=h?" selected":"";if(h&&l.scrollMatchIntoView({element:i[m.divIdx],pageIndex:e,matchIndex:o}),r&&m.divIdx===r.divIdx?y(r.divIdx,r.offset,m.offset):(null!==r&&y(r.divIdx,r.offset,u.offset),_(m)),m.divIdx===f.divIdx)y(m.divIdx,m.offset,f.offset,"highlight"+g);else{y(m.divIdx,m.offset,u.offset,"highlight begin"+g);for(var b=m.divIdx+1,v=f.divIdx;b<v;b++)i[b].className="highlight middle"+g;_(f,"highlight end"+g)}r=f}r&&y(r.divIdx,r.offset,u.offset)}function _(n,l){var e=n.divIdx;i[e].textContent="",y(e,0,n.offset,l)}function y(n,l,e,a){var o=i[n],r=t[n].substring(l,e),u=document.createTextNode(r);if(a){var s=document.createElement("span");return s.className=a,s.appendChild(u),void o.appendChild(s)}o.appendChild(u)}}},{key:"_updateMatches",value:function(){if(this.renderingDone){for(var n=this.findController,l=this.matches,e=this.pageIdx,t=this.textContentItemsStr,i=this.textDivs,a=-1,o=0,r=l.length;o<r;o++){for(var u=l[o],s=Math.max(a,u.begin.divIdx),c=u.end.divIdx;s<=c;s++){var d=i[s];d.textContent=t[s],d.className=""}a=u.end.divIdx+1}n&&n.highlightMatches&&(this.matches=this._convertMatches(n.pageMatches[e]||null,n.pageMatchesLength[e]||null),this._renderMatches(this.matches))}}},{key:"_bindMouse",value:function(){var n=this,l=this.textLayerDiv,e=null;l.addEventListener("mousedown",(function(t){if(n.enhanceTextSelection&&n.textLayerRenderTask)return n.textLayerRenderTask.expandTextDivs(!0),void(e&&(clearTimeout(e),e=null));var i=l.querySelector(".endOfContent");if(i){var a=t.target!==l;if(a=a&&"none"!==window.getComputedStyle(i).getPropertyValue("-moz-user-select")){var o=l.getBoundingClientRect(),r=Math.max(0,(t.pageY-o.top)/o.height);i.style.top=(100*r).toFixed(2)+"%"}i.classList.add("active")}})),l.addEventListener("mouseup",(function(){if(n.enhanceTextSelection&&n.textLayerRenderTask)e=setTimeout((function(){n.textLayerRenderTask&&n.textLayerRenderTask.expandTextDivs(!1),e=null}),300);else{var t=l.querySelector(".endOfContent");t&&(t.style.top="",t.classList.remove("active"))}}))}}]),n}();l.TextLayerBuilder=u,l.DefaultTextLayerFactory=function(){function n(){a(this,n)}return r(n,[{key:"createTextLayerBuilder",value:function(n,l,e){var t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new u({textLayerDiv:n,pageIndex:l,viewport:e,enhanceTextSelection:t})}}]),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DownloadManager=void 0;var t=e(2);var i=t.apiCompatibilityParams.disableCreateObjectURL||!1;function a(n,l){var e=document.createElement("a");if(!e.click)throw new Error('DownloadManager: "a.click()" is not supported.');e.href=n,e.target="_parent","download"in e&&(e.download=l),(document.body||document.documentElement).appendChild(e),e.click(),e.remove()}l.DownloadManager=function(){function n(l){var e=l.disableCreateObjectURL,t=void 0===e?i:e;!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this.disableCreateObjectURL=t}var l;return(l=[{key:"downloadUrl",value:function(n,l){(0,t.createValidAbsoluteUrl)(n,"http://example.com")&&a(n+"#pdfjs.action=download",l)}},{key:"downloadData",value:function(n,l,e){navigator.msSaveBlob?navigator.msSaveBlob(new Blob([n],{type:e}),l):a((0,t.createObjectURL)(n,e,this.disableCreateObjectURL),l)}},{key:"download",value:function(n,l,e){navigator.msSaveBlob?navigator.msSaveBlob(n,e)||this.downloadUrl(l,e):this.disableCreateObjectURL?this.downloadUrl(l,e):a(t.URL.createObjectURL(n),e)}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.GenericL10n=void 0;var t,i=(t=e(4))&&t.__esModule?t:{default:t};function a(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}function o(n){return function(){var l=this,e=arguments;return new Promise((function(t,i){var o=n.apply(l,e);function r(n){a(o,t,i,r,u,"next",n)}function u(n){a(o,t,i,r,u,"throw",n)}r(void 0)}))}}e(11);var r=document.webL10n;l.GenericL10n=function(){function n(l){!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this._lang=l,this._ready=new Promise((function(n,e){r.setLanguage(l,(function(){n(r)}))}))}var l,e,t,a,u,s;return l=n,(e=[{key:"getLanguage",value:(s=o(i.default.mark((function n(){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._ready;case 2:return n.abrupt("return",n.sent.getLanguage());case 4:case"end":return n.stop()}}),n,this)}))),function(){return s.apply(this,arguments)})},{key:"getDirection",value:(u=o(i.default.mark((function n(){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._ready;case 2:return n.abrupt("return",n.sent.getDirection());case 4:case"end":return n.stop()}}),n,this)}))),function(){return u.apply(this,arguments)})},{key:"get",value:(a=o(i.default.mark((function n(l,e,t){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._ready;case 2:return n.abrupt("return",n.sent.get(l,e,t));case 4:case"end":return n.stop()}}),n,this)}))),function(n,l,e){return a.apply(this,arguments)})},{key:"translate",value:(t=o(i.default.mark((function n(l){return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,this._ready;case 2:return n.abrupt("return",n.sent.translate(l));case 4:case"end":return n.stop()}}),n,this)}))),function(n){return t.apply(this,arguments)})}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(l.prototype,e),n}()},function(n,l,e){"use strict";document.webL10n=function(n,l,e){var t={},i="",a="textContent",o="",r={},u="loading",s=!0;function c(n){var e=l.createEvent("Event");e.initEvent("localized",!0,!1),e.language=n,l.dispatchEvent(e)}function d(n,l,e){l=l||function(n){},e=e||function(){};var t=new XMLHttpRequest;t.open("GET",n,s),t.overrideMimeType&&t.overrideMimeType("text/plain; charset=utf-8"),t.onreadystatechange=function(){4==t.readyState&&(200==t.status||0===t.status?l(t.responseText):e())},t.onerror=e,t.ontimeout=e;try{t.send(null)}catch(i){e()}}function p(n,l,e){var i=t[n];if(!i){if(console.warn("#"+n+" is undefined."),!e)return null;i=e}var a={};for(var o in i){var r=i[o];r=f(r=m(r,l,n,o),l,n),a[o]=r}return a}function m(n,l,e,i){var a=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(n);if(!a||!a.length)return n;var o,u=a[1],s=a[2];return l&&s in l?o=l[s]:s in t&&(o=t[s]),u in r&&(n=(0,r[u])(n,o,e,i)),n}function f(n,l,e){return n.replace(/\{\{\s*(.+?)\s*\}\}/g,(function(n,i){return l&&i in l?l[i]:i in t?t[i]:(console.log("argument {{"+i+"}} for #"+e+" is undefined."),n)}))}function h(n){var e=function(n){if(!n)return{};var l=n.getAttribute("data-l10n-id"),e=n.getAttribute("data-l10n-args"),t={};if(e)try{t=JSON.parse(e)}catch(i){console.warn("could not parse arguments for #"+l)}return{id:l,args:t}}(n);if(e.id){var t=p(e.id,e.args);if(t){if(t[a]){if(0===function(n){if(n.children)return n.children.length;if(void 0!==n.childElementCount)return n.childElementCount;for(var l=0,e=0;e<n.childNodes.length;e++)l+=1===n.nodeType?1:0;return l}(n))n[a]=t[a];else{for(var i=n.childNodes,o=!1,r=0,u=i.length;r<u;r++)3===i[r].nodeType&&/\S/.test(i[r].nodeValue)&&(o?i[r].nodeValue="":(i[r].nodeValue=t[a],o=!0));if(!o){var s=l.createTextNode(t[a]);n.insertBefore(s,n.firstChild)}}delete t[a]}for(var c in t)n[c]=t[c]}else console.warn("#"+e.id+" is undefined.")}}return r.plural=function(n,l,e,i){var u=parseFloat(l);if(isNaN(u))return n;if(i!=a)return n;r._pluralRules||(r._pluralRules=function(n){function l(n,l){return-1!==l.indexOf(n)}function e(n,l,e){return l<=n&&n<=e}var t={0:function(n){return"other"},1:function(n){return e(n%100,3,10)?"few":0===n?"zero":e(n%100,11,99)?"many":2==n?"two":1==n?"one":"other"},2:function(n){return 0!==n&&n%10==0?"many":2==n?"two":1==n?"one":"other"},3:function(n){return 1==n?"one":"other"},4:function(n){return e(n,0,1)?"one":"other"},5:function(n){return e(n,0,2)&&2!=n?"one":"other"},6:function(n){return 0===n?"zero":n%10==1&&n%100!=11?"one":"other"},7:function(n){return 2==n?"two":1==n?"one":"other"},8:function(n){return e(n,3,6)?"few":e(n,7,10)?"many":2==n?"two":1==n?"one":"other"},9:function(n){return 0===n||1!=n&&e(n%100,1,19)?"few":1==n?"one":"other"},10:function(n){return e(n%10,2,9)&&!e(n%100,11,19)?"few":n%10!=1||e(n%100,11,19)?"other":"one"},11:function(n){return e(n%10,2,4)&&!e(n%100,12,14)?"few":n%10==0||e(n%10,5,9)||e(n%100,11,14)?"many":n%10==1&&n%100!=11?"one":"other"},12:function(n){return e(n,2,4)?"few":1==n?"one":"other"},13:function(n){return e(n%10,2,4)&&!e(n%100,12,14)?"few":1!=n&&e(n%10,0,1)||e(n%10,5,9)||e(n%100,12,14)?"many":1==n?"one":"other"},14:function(n){return e(n%100,3,4)?"few":n%100==2?"two":n%100==1?"one":"other"},15:function(n){return 0===n||e(n%100,2,10)?"few":e(n%100,11,19)?"many":1==n?"one":"other"},16:function(n){return n%10==1&&11!=n?"one":"other"},17:function(n){return 3==n?"few":0===n?"zero":6==n?"many":2==n?"two":1==n?"one":"other"},18:function(n){return 0===n?"zero":e(n,0,2)&&0!==n&&2!=n?"one":"other"},19:function(n){return e(n,2,10)?"few":e(n,0,1)?"one":"other"},20:function(n){return!e(n%10,3,4)&&n%10!=9||e(n%100,10,19)||e(n%100,70,79)||e(n%100,90,99)?n%1e6==0&&0!==n?"many":n%10!=2||l(n%100,[12,72,92])?n%10!=1||l(n%100,[11,71,91])?"other":"one":"two":"few"},21:function(n){return 0===n?"zero":1==n?"one":"other"},22:function(n){return e(n,0,1)||e(n,11,99)?"one":"other"},23:function(n){return e(n%10,1,2)||n%20==0?"one":"other"},24:function(n){return e(n,3,10)||e(n,13,19)?"few":l(n,[2,12])?"two":l(n,[1,11])?"one":"other"}},i={af:3,ak:4,am:4,ar:1,asa:3,az:0,be:11,bem:3,bez:3,bg:3,bh:4,bm:0,bn:3,bo:0,br:20,brx:3,bs:11,ca:3,cgg:3,chr:3,cs:12,cy:17,da:3,de:3,dv:3,dz:0,ee:3,el:3,en:3,eo:3,es:3,et:3,eu:3,fa:0,ff:5,fi:3,fil:4,fo:3,fr:5,fur:3,fy:3,ga:8,gd:24,gl:3,gsw:3,gu:3,guw:4,gv:23,ha:3,haw:3,he:2,hi:4,hr:11,hu:0,id:0,ig:0,ii:0,is:3,it:3,iu:7,ja:0,jmc:3,jv:0,ka:0,kab:5,kaj:3,kcg:3,kde:0,kea:0,kk:3,kl:3,km:0,kn:0,ko:0,ksb:3,ksh:21,ku:3,kw:7,lag:18,lb:3,lg:3,ln:4,lo:0,lt:10,lv:6,mas:3,mg:4,mk:16,ml:3,mn:3,mo:9,mr:3,ms:0,mt:15,my:0,nah:3,naq:7,nb:3,nd:3,ne:3,nl:3,nn:3,no:3,nr:3,nso:4,ny:3,nyn:3,om:3,or:3,pa:3,pap:3,pl:13,ps:3,pt:3,rm:3,ro:9,rof:3,ru:11,rwk:3,sah:0,saq:3,se:7,seh:3,ses:0,sg:0,sh:11,shi:19,sk:12,sl:14,sma:7,smi:7,smj:7,smn:7,sms:7,sn:3,so:3,sq:3,sr:11,ss:3,ssy:3,st:3,sv:3,sw:3,syr:3,ta:3,te:3,teo:3,th:0,ti:4,tig:3,tk:3,tl:4,tn:3,to:0,tr:0,ts:3,tzm:22,uk:11,ur:3,ve:3,vi:0,vun:3,wa:4,wae:3,wo:0,xh:3,xog:3,yo:0,zh:0,zu:3}[n.replace(/-.*$/,"")];return i in t?t[i]:(console.warn("plural form unknown for ["+n+"]"),function(){return"other"})}(o));var s="["+r._pluralRules(u)+"]";return 0===u&&e+"[zero]"in t?n=t[e+"[zero]"][i]:1==u&&e+"[one]"in t?n=t[e+"[one]"][i]:2==u&&e+"[two]"in t?n=t[e+"[two]"][i]:e+s in t?n=t[e+s][i]:e+"[other]"in t&&(n=t[e+"[other]"][i]),n},{get:function(n,l,e){var t,i=n.lastIndexOf("."),o=a;i>0&&(o=n.substring(i+1),n=n.substring(0,i)),e&&((t={})[o]=e);var r=p(n,l,t);return r&&o in r?r[o]:"{{"+n+"}}"},getData:function(){return t},getText:function(){return i},getLanguage:function(){return o},setLanguage:function(n,e){!function(n,e){n&&(n=n.toLowerCase()),e=e||function(){},t={},i="",o="",o=n;var r,s=l.querySelectorAll('link[type="application/l10n"]'),p=s.length;if(0===p){var m=(r=l.querySelector('script[type="application/l10n"]'))?JSON.parse(r.innerHTML):null;if(m&&m.locales&&m.default_locale){if(console.log("using the embedded JSON directory, early way out"),!(t=m.locales[n])){var f=m.default_locale.toLowerCase();for(var h in m.locales){if((h=h.toLowerCase())===n){t=m.locales[n];break}h===f&&(t=m.locales[f])}}e()}else console.log("no resource to load, early way out");return c(n),void(u="complete")}var g,b=0;function v(n){var l=n.href;this.load=function(n,e){!function(n,l,e,o){var r=n.replace(/[^\/]*$/,"")||"./";function u(n){return n.lastIndexOf("\\")<0?n:n.replace(/\\\\/g,"\\").replace(/\\n/g,"\n").replace(/\\r/g,"\r").replace(/\\t/g,"\t").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}d(n,(function(n){i+=n,function(n,i){var o={},s=/^\s*|\s*$/,c=/^\s*#|^\s*$/,p=/^\s*\[(.*)\]\s*$/,m=/^\s*@import\s+url\((.*)\)\s*$/i,f=/^([^=\s]*)\s*=\s*(.+)$/;function h(n,e,t){var i=n.replace(s,"").split(/[\r\n]+/),a="*",d=l.split("-",1)[0],h=!1,b="";!function n(){for(;;){if(!i.length)return void t();var s=i.shift();if(!c.test(s)){if(e){if(b=p.exec(s)){a=b[1].toLowerCase(),h="*"!==a&&a!==l&&a!==d;continue}if(h)continue;if(b=m.exec(s))return void g(r+b[1],n)}var v=s.match(f);v&&3==v.length&&(o[v[1]]=u(v[2]))}}}()}function g(n,l){d(n,(function(n){h(n,!1,l)}),(function(){console.warn(n+" not found."),l()}))}h(n,!0,(function(){!function(n){for(var l in n){var i,o,r=l.lastIndexOf(".");r>0?(i=l.substring(0,r),o=l.substring(r+1)):(i=l,o=a),t[i]||(t[i]={}),t[i][o]=n[l]}e&&e()}(o)}))}(n)}),o)}(l,n,e,(function(){console.warn(l+" not found."),console.warn('"'+n+'" resource not found'),o="",e()}))}}g=function(){++b>=p&&(e(),c(n),u="complete")};for(var _=0;_<p;_++)new v(s[_]).load(n,g)}(n,(function(){e&&e()}))},getDirection:function(){var n=o.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(n)>=0?"rtl":"ltr"},translate:function(n){for(var e=function(n){return n?n.querySelectorAll("*[data-l10n-id]"):[]}(n=n||l.documentElement),t=e.length,i=0;i<t;i++)h(e[i]);h(n)},getReadyState:function(){return u},ready:function(e){e&&("complete"==u||"interactive"==u?n.setTimeout((function(){e()})):l.addEventListener&&l.addEventListener("localized",(function n(){l.removeEventListener("localized",n),e()})))}}}(window,document)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFFindController=l.FindState=void 0;var t=e(3),i=e(2),a=e(13);var o={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};l.FindState=o;var r={"‘":"'","’":"'","‚":"'","‛":"'","“":'"',"â€":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},u=null;function s(n){if(!u){var l=Object.keys(r).join("");u=new RegExp("[".concat(l,"]"),"g")}return n.replace(u,(function(n){return r[n]}))}l.PDFFindController=function(){function n(l){var e=l.linkService,i=l.eventBus,a=void 0===i?(0,t.getGlobalEventBus)():i;!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this._linkService=e,this._eventBus=a,this._reset(),a.on("findbarclose",this._onFindBarClose.bind(this))}var l;return(l=[{key:"setDocument",value:function(n){this._pdfDocument&&this._reset(),n&&(this._pdfDocument=n,this._firstPageCapability.resolve())}},{key:"executeCommand",value:function(n,l){var e=this;if(l){var t=this._pdfDocument;(null===this._state||this._shouldDirtyMatch(n,l))&&(this._dirtyMatch=!0),this._state=l,"findhighlightallchange"!==n&&this._updateUIState(o.PENDING),this._firstPageCapability.promise.then((function(){if(e._pdfDocument&&(!t||e._pdfDocument===t)){e._extractText();var l=!e._highlightMatches,i=!!e._findTimeout;e._findTimeout&&(clearTimeout(e._findTimeout),e._findTimeout=null),"find"===n?e._findTimeout=setTimeout((function(){e._nextMatch(),e._findTimeout=null}),250):e._dirtyMatch?e._nextMatch():"findagain"===n?(e._nextMatch(),l&&e._state.highlightAll&&e._updateAllPages()):"findhighlightallchange"===n?(i?e._nextMatch():e._highlightMatches=!0,e._updateAllPages()):e._nextMatch()}}))}}},{key:"scrollMatchIntoView",value:function(n){var l=n.element,e=void 0===l?null:l,i=n.pageIndex,a=void 0===i?-1:i,o=n.matchIndex,r=void 0===o?-1:o;this._scrollMatches&&e&&-1!==r&&r===this._selected.matchIdx&&-1!==a&&a===this._selected.pageIdx&&(this._scrollMatches=!1,(0,t.scrollIntoView)(e,{top:-50,left:-400},!0))}},{key:"_reset",value:function(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=Object.create(null),this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,i.createPromiseCapability)()}},{key:"_shouldDirtyMatch",value:function(n,l){if(l.query!==this._state.query)return!0;switch(n){case"findagain":var e=this._selected.pageIdx+1,t=this._linkService;return e>=1&&e<=t.pagesCount&&e!==t.page&&!t.isPageVisible(e);case"findhighlightallchange":return!1}return!0}},{key:"_prepareMatches",value:function(n,l,e){function t(n,l){var e=n[l];if(l<n.length-1&&e.match===n[l+1].match)return e.skipped=!0,!0;for(var t=l-1;t>=0;t--){var i=n[t];if(!i.skipped){if(i.match+i.matchLength<e.match)break;if(i.match+i.matchLength>=e.match+e.matchLength)return e.skipped=!0,!0}}return!1}n.sort((function(n,l){return n.match===l.match?n.matchLength-l.matchLength:n.match-l.match}));for(var i=0,a=n.length;i<a;i++)t(n,i)||(l.push(n[i].match),e.push(n[i].matchLength))}},{key:"_isEntireWord",value:function(n,l,e){if(l>0){var t=n.charCodeAt(l),i=n.charCodeAt(l-1);if((0,a.getCharacterType)(t)===(0,a.getCharacterType)(i))return!1}var o=l+e-1;if(o<n.length-1){var r=n.charCodeAt(o),u=n.charCodeAt(o+1);if((0,a.getCharacterType)(r)===(0,a.getCharacterType)(u))return!1}return!0}},{key:"_calculatePhraseMatch",value:function(n,l,e,t){for(var i=[],a=n.length,o=-a;-1!==(o=e.indexOf(n,o+a));)t&&!this._isEntireWord(e,o,a)||i.push(o);this._pageMatches[l]=i}},{key:"_calculateWordMatch",value:function(n,l,e,t){for(var i=[],a=n.match(/\S+/g),o=0,r=a.length;o<r;o++)for(var u=a[o],s=u.length,c=-s;-1!==(c=e.indexOf(u,c+s));)t&&!this._isEntireWord(e,c,s)||i.push({match:c,matchLength:s,skipped:!1});this._pageMatchesLength[l]=[],this._pageMatches[l]=[],this._prepareMatches(i,this._pageMatches[l],this._pageMatchesLength[l])}},{key:"_calculateMatch",value:function(n){var l=this._pageContents[n],e=this._query,t=this._state,i=t.entireWord,a=t.phraseSearch;if(0!==e.length){t.caseSensitive||(l=l.toLowerCase(),e=e.toLowerCase()),a?this._calculatePhraseMatch(e,n,l,i):this._calculateWordMatch(e,n,l,i),this._state.highlightAll&&this._updatePage(n),this._resumePageIdx===n&&(this._resumePageIdx=null,this._nextPageMatch());var o=this._pageMatches[n].length;o>0&&(this._matchesCountTotal+=o,this._updateUIResultsCount())}}},{key:"_extractText",value:function(){var n=this;if(!(this._extractTextPromises.length>0))for(var l=Promise.resolve(),e=function(e,t){var a=(0,i.createPromiseCapability)();n._extractTextPromises[e]=a.promise,l=l.then((function(){return n._pdfDocument.getPage(e+1).then((function(n){return n.getTextContent({normalizeWhitespace:!0})})).then((function(l){for(var t=l.items,i=[],o=0,r=t.length;o<r;o++)i.push(t[o].str);n._pageContents[e]=s(i.join("")),a.resolve(e)}),(function(l){console.error("Unable to get text content for page ".concat(e+1),l),n._pageContents[e]="",a.resolve(e)}))}))},t=0,a=this._linkService.pagesCount;t<a;t++)e(t)}},{key:"_updatePage",value:function(n){this._scrollMatches&&this._selected.pageIdx===n&&(this._linkService.page=n+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:n})}},{key:"_updateAllPages",value:function(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}},{key:"_nextMatch",value:function(){var n=this,l=this._state.findPrevious,e=this._linkService.page-1,t=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=e,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this._updateAllPages();for(var i=0;i<t;i++)!0!==this._pendingFindMatches[i]&&(this._pendingFindMatches[i]=!0,this._extractTextPromises[i].then((function(l){delete n._pendingFindMatches[l],n._calculateMatch(l)})))}if(""!==this._query){if(!this._resumePageIdx){var a=this._offset;if(this._pagesToSearch=t,null!==a.matchIdx){if(!l&&a.matchIdx+1<this._pageMatches[a.pageIdx].length||l&&a.matchIdx>0)return a.matchIdx=l?a.matchIdx-1:a.matchIdx+1,void this._updateMatch(!0);this._advanceOffsetPage(l)}this._nextPageMatch()}}else this._updateUIState(o.FOUND)}},{key:"_matchesReady",value:function(n){var l=this._offset,e=n.length,t=this._state.findPrevious;return e?(l.matchIdx=t?e-1:0,this._updateMatch(!0),!0):(this._advanceOffsetPage(t),!!(l.wrapped&&(l.matchIdx=null,this._pagesToSearch<0))&&(this._updateMatch(!1),!0))}},{key:"_nextPageMatch",value:function(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");var n=null;do{var l=this._offset.pageIdx;if(!(n=this._pageMatches[l])){this._resumePageIdx=l;break}}while(!this._matchesReady(n))}},{key:"_advanceOffsetPage",value:function(n){var l=this._offset,e=this._linkService.pagesCount;l.pageIdx=n?l.pageIdx-1:l.pageIdx+1,l.matchIdx=null,this._pagesToSearch--,(l.pageIdx>=e||l.pageIdx<0)&&(l.pageIdx=n?e-1:0,l.wrapped=!0)}},{key:"_updateMatch",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=o.NOT_FOUND,e=this._offset.wrapped;if(this._offset.wrapped=!1,n){var t=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,l=e?o.WRAPPED:o.FOUND,-1!==t&&t!==this._selected.pageIdx&&this._updatePage(t)}this._updateUIState(l,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this._updatePage(this._selected.pageIdx))}},{key:"_onFindBarClose",value:function(n){var l=this,e=this._pdfDocument;this._firstPageCapability.promise.then((function(){!l._pdfDocument||e&&l._pdfDocument!==e||(l._findTimeout&&(clearTimeout(l._findTimeout),l._findTimeout=null),l._resumePageIdx&&(l._resumePageIdx=null,l._dirtyMatch=!0),l._updateUIState(o.FOUND),l._highlightMatches=!1,l._updateAllPages())}))}},{key:"_requestMatchesCount",value:function(){var n=this._selected,l=n.pageIdx,e=n.matchIdx,t=0,i=this._matchesCountTotal;if(-1!==e){for(var a=0;a<l;a++)t+=this._pageMatches[a]&&this._pageMatches[a].length||0;t+=e+1}return(t<1||t>i)&&(t=i=0),{current:t,total:i}}},{key:"_updateUIResultsCount",value:function(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this._requestMatchesCount()})}},{key:"_updateUIState",value:function(n,l){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:n,previous:l,matchesCount:this._requestMatchesCount()})}},{key:"highlightMatches",get:function(){return this._highlightMatches}},{key:"pageMatches",get:function(){return this._pageMatches}},{key:"pageMatchesLength",get:function(){return this._pageMatchesLength}},{key:"selected",get:function(){return this._selected}},{key:"state",get:function(){return this._state}},{key:"_query",get:function(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,this._normalizedQuery=s(this._state.query)),this._normalizedQuery}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getCharacterType=function(n){return function(n){return n<11904}(n)?function(n){return 0==(65408&n)}(n)?function(n){return 32===n||9===n||13===n||10===n}(n)?t.SPACE:function(n){return n>=97&&n<=122||n>=65&&n<=90}(n)||function(n){return n>=48&&n<=57}(n)||95===n?t.ALPHA_LETTER:t.PUNCT:function(n){return 3584==(65408&n)}(n)?t.THAI_LETTER:160===n?t.SPACE:t.ALPHA_LETTER:function(n){return n>=13312&&n<=40959||n>=63744&&n<=64255}(n)?t.HAN_LETTER:function(n){return n>=12448&&n<=12543}(n)?t.KATAKANA_LETTER:function(n){return n>=12352&&n<=12447}(n)?t.HIRAGANA_LETTER:function(n){return n>=65376&&n<=65439}(n)?t.HALFWIDTH_KATAKANA_LETTER:t.ALPHA_LETTER},l.CharacterType=void 0;var t={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};l.CharacterType=t},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isDestHashesEqual=u,l.isDestArraysEqual=s,l.PDFHistory=void 0;var t=e(3);function i(n){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function a(n,l){return function(n){if(Array.isArray(n))return n}(n)||function(n,l){var e=[],t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done)&&(e.push(o.value),!l||e.length!==l);t=!0);}catch(u){i=!0,a=u}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}return e}(n,l)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function o(){return document.location.hash}function r(n){var l=unescape(o()).substring(1),e=0|(0,t.parseQueryString)(l).page;return Number.isInteger(e)&&e>0&&e<=n.pagesCount||(e=null),{hash:l,page:e,rotation:n.rotation}}function u(n,l){return"string"==typeof n&&"string"==typeof l&&(n===l||(0,t.parseQueryString)(n).nameddest===l)}function s(n,l){function e(n,l){if(i(n)!==i(l))return!1;if(Array.isArray(n)||Array.isArray(l))return!1;if(null!==n&&"object"===i(n)&&null!==l){if(Object.keys(n).length!==Object.keys(l).length)return!1;for(var t in n)if(!e(n[t],l[t]))return!1;return!0}return n===l||Number.isNaN(n)&&Number.isNaN(l)}if(!Array.isArray(n)||!Array.isArray(l))return!1;if(n.length!==l.length)return!1;for(var t=0,a=n.length;t<a;t++)if(!e(n[t],l[t]))return!1;return!0}l.PDFHistory=function(){function n(l){var e=this,i=l.linkService,a=l.eventBus;!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this.linkService=i,this.eventBus=a||(0,t.getGlobalEventBus)(),this.initialized=!1,this.initialBookmark=null,this.initialRotation=null,this._boundEvents=Object.create(null),this._isViewerInPresentationMode=!1,this._isPagesLoaded=!1,this.eventBus.on("presentationmodechanged",(function(n){e._isViewerInPresentationMode=n.active||n.switchInProgress})),this.eventBus.on("pagesloaded",(function(n){e._isPagesLoaded=!!n.pagesCount}))}var l;return(l=[{key:"initialize",value:function(n){var l=n.fingerprint,e=n.resetHistory,t=void 0!==e&&e,i=n.updateUrl,a=void 0!==i&&i;if(l&&"string"==typeof l){var u=this.initialized&&this.fingerprint!==l;this.fingerprint=l,this._updateUrl=!0===a,this.initialized||this._bindEvents();var s=window.history.state;if(this.initialized=!0,this.initialBookmark=null,this.initialRotation=null,this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=o(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(s,!0)||t){var c=r(this.linkService),d=c.hash,p=c.page,m=c.rotation;return!d||u||t?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:d,page:p,rotation:m},!0)}var f=s.destination;this._updateInternalState(f,s.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),void 0!==f.rotation&&(this.initialRotation=f.rotation),f.dest?(this.initialBookmark=JSON.stringify(f.dest),this._destination.page=null):f.hash?this.initialBookmark=f.hash:f.page&&(this.initialBookmark="page=".concat(f.page))}else console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.')}},{key:"push",value:function(n){var l=this,e=n.namedDest,t=void 0===e?null:e,i=n.explicitDest,a=n.pageNumber;if(this.initialized)if(t&&"string"!=typeof t)console.error("PDFHistory.push: "+'"'.concat(t,'" is not a valid namedDest parameter.'));else if(Array.isArray(i))if(Number.isInteger(a)&&a>0&&a<=this.linkService.pagesCount||null===a&&!this._destination){var o=t||JSON.stringify(i);if(o){var r=!1;if(this._destination&&(u(this._destination.hash,o)||s(this._destination.dest,i))){if(this._destination.page)return;r=!0}this._popStateInProgress&&!r||(this._pushOrReplaceState({dest:i,hash:o,page:a,rotation:this.linkService.rotation},r),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then((function(){l._popStateInProgress=!1}))))}}else console.error("PDFHistory.push: "+'"'.concat(a,'" is not a valid pageNumber parameter.'));else console.error("PDFHistory.push: "+'"'.concat(i,'" is not a valid explicitDest parameter.'))}},{key:"pushCurrentPosition",value:function(){this.initialized&&!this._popStateInProgress&&this._tryPushCurrentPosition()}},{key:"back",value:function(){if(this.initialized&&!this._popStateInProgress){var n=window.history.state;this._isValidState(n)&&n.uid>0&&window.history.back()}}},{key:"forward",value:function(){if(this.initialized&&!this._popStateInProgress){var n=window.history.state;this._isValidState(n)&&n.uid<this._maxUid&&window.history.forward()}}},{key:"_pushOrReplaceState",value:function(n){var l,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=e||!this._destination,i={fingerprint:this.fingerprint,uid:t?this._uid:this._uid+1,destination:n};if(this._updateInternalState(n,i.uid),this._updateUrl&&n&&n.hash){var a=document.location.href.split("#")[0];a.startsWith("file://")||(l="".concat(a,"#").concat(n.hash))}t?l?window.history.replaceState(i,"",l):window.history.replaceState(i,""):(this._maxUid=this._uid,l?window.history.pushState(i,"",l):window.history.pushState(i,""))}},{key:"_tryPushCurrentPosition",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._position){var l=this._position;if(n&&((l=Object.assign(Object.create(null),this._position)).temporary=!0),this._destination){if(this._destination.temporary)this._pushOrReplaceState(l,!0);else if(this._destination.hash!==l.hash&&(this._destination.page||!(this._numPositionUpdates<=50))){var e=!1;if(this._destination.page>=l.first&&this._destination.page<=l.page){if(this._destination.dest||!this._destination.first)return;e=!0}this._pushOrReplaceState(l,e)}}else this._pushOrReplaceState(l)}}},{key:"_isValidState",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!n)return!1;if(n.fingerprint!==this.fingerprint){if(!l)return!1;if("string"!=typeof n.fingerprint||n.fingerprint.length!==this.fingerprint.length)return!1;var e=performance.getEntriesByType("navigation"),t=a(e,1),o=t[0];if(!o||"reload"!==o.type)return!1}return!(!Number.isInteger(n.uid)||n.uid<0)&&null!==n.destination&&"object"===i(n.destination)}},{key:"_updateInternalState",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),e&&n&&n.temporary&&delete n.temporary,this._destination=n,this._uid=l,this._numPositionUpdates=0}},{key:"_updateViewarea",value:function(n){var l=this,e=n.location;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:this._isViewerInPresentationMode?"page=".concat(e.pageNumber):e.pdfOpenParams.substring(1),page:this.linkService.page,first:e.pageNumber,rotation:e.rotation},this._popStateInProgress||(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout((function(){l._popStateInProgress||l._tryPushCurrentPosition(!0),l._updateViewareaTimeout=null}),1e3))}},{key:"_popState",value:function(n){var l=this,e=n.state,i=o(),a=this._currentHash!==i;if(this._currentHash=i,e){if(this._isValidState(e)){this._popStateInProgress=!0,a&&(this._blockHashChange++,(0,t.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then((function(){l._blockHashChange--})));var u=e.destination;this._updateInternalState(u,e.uid,!0),this._uid>this._maxUid&&(this._maxUid=this._uid),(0,t.isValidRotation)(u.rotation)&&(this.linkService.rotation=u.rotation),u.dest?this.linkService.navigateTo(u.dest):u.hash?this.linkService.setHash(u.hash):u.page&&(this.linkService.page=u.page),Promise.resolve().then((function(){l._popStateInProgress=!1}))}}else{this._uid++;var s=r(this.linkService);this._pushOrReplaceState({hash:s.hash,page:s.page,rotation:s.rotation},!0)}}},{key:"_bindEvents",value:function(){var n=this,l=this._boundEvents,e=this.eventBus;l.updateViewarea=this._updateViewarea.bind(this),l.popState=this._popState.bind(this),l.pageHide=function(l){n._destination&&!n._destination.temporary||n._tryPushCurrentPosition()},e.on("updateviewarea",l.updateViewarea),window.addEventListener("popstate",l.popState),window.addEventListener("pagehide",l.pageHide)}},{key:"popStateInProgress",get:function(){return this.initialized&&(this._popStateInProgress||this._blockHashChange>0)}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFPageView=void 0;var t,i=(t=e(4))&&t.__esModule?t:{default:t},a=e(3),o=e(2),r=e(16);function u(n,l,e,t,i,a,o){try{var r=n[a](o),u=r.value}catch(s){return void e(s)}r.done?l(u):Promise.resolve(u).then(t,i)}var s=e(17).viewerCompatibilityParams.maxCanvasPixels||16777216;l.PDFPageView=function(){function n(l){!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n);var e=l.container,t=l.defaultViewport;this.id=l.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=l.scale||a.DEFAULT_SCALE,this.viewport=t,this.pdfPageRotate=t.rotation,this.hasRestrictedScaling=!1,this.textLayerMode=Number.isInteger(l.textLayerMode)?l.textLayerMode:a.TextLayerMode.ENABLE,this.imageResourcesPath=l.imageResourcesPath||"",this.renderInteractiveForms=l.renderInteractiveForms||!1,this.useOnlyCssZoom=l.useOnlyCssZoom||!1,this.maxCanvasPixels=l.maxCanvasPixels||s,this.eventBus=l.eventBus||(0,a.getGlobalEventBus)(),this.renderingQueue=l.renderingQueue,this.textLayerFactory=l.textLayerFactory,this.annotationLayerFactory=l.annotationLayerFactory,this.renderer=l.renderer||a.RendererType.CANVAS,this.enableWebGL=l.enableWebGL||!1,this.l10n=l.l10n||a.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=r.RenderingStates.INITIAL,this.resume=null,this.error=null,this.onBeforeDraw=null,this.onAfterDraw=null,this.annotationLayer=null,this.textLayer=null,this.zoomLayer=null;var i=document.createElement("div");i.className="page",i.style.width=Math.floor(this.viewport.width)+"px",i.style.height=Math.floor(this.viewport.height)+"px",i.setAttribute("data-page-number",this.id),this.div=i,e.appendChild(i)}var l;return(l=[{key:"setPdfPage",value:function(n){this.pdfPage=n,this.pdfPageRotate=n.rotate,this.viewport=n.getViewport({scale:this.scale*a.CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.stats=n.stats,this.reset()}},{key:"destroy",value:function(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}},{key:"_resetZoomLayer",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.zoomLayer){var l=this.zoomLayer.firstChild;this.paintedViewportMap.delete(l),l.width=0,l.height=0,n&&this.zoomLayer.remove(),this.zoomLayer=null}}},{key:"reset",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.cancelRendering(l),this.renderingState=r.RenderingStates.INITIAL;var e=this.div;e.style.width=Math.floor(this.viewport.width)+"px",e.style.height=Math.floor(this.viewport.height)+"px";for(var t=e.childNodes,i=n&&this.zoomLayer||null,a=l&&this.annotationLayer&&this.annotationLayer.div||null,o=t.length-1;o>=0;o--){var u=t[o];i!==u&&a!==u&&e.removeChild(u)}e.removeAttribute("data-loaded"),a?this.annotationLayer.hide():this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null),i||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon",e.appendChild(this.loadingIconDiv)}},{key:"update",value:function(n,l){if(this.scale=n||this.scale,void 0!==l&&(this.rotation=l),this.viewport=this.viewport.clone({scale:this.scale*a.CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.svg)return this.cssTransform(this.svg,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0});var e=!1;if(this.canvas&&this.maxCanvasPixels>0){var t=this.outputScale;(Math.floor(this.viewport.width)*t.sx|0)*(Math.floor(this.viewport.height)*t.sy|0)>this.maxCanvasPixels&&(e=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&e)return this.cssTransform(this.canvas,!0),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0});this.zoomLayer||this.canvas.hasAttribute("hidden")||(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform(this.zoomLayer.firstChild),this.reset(!0,!0)}},{key:"cancelRendering",value:function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),!n&&this.annotationLayer&&(this.annotationLayer.cancel(),this.annotationLayer=null)}},{key:"cssTransform",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=this.viewport.width,t=this.viewport.height,i=this.div;n.style.width=n.parentNode.style.width=i.style.width=Math.floor(e)+"px",n.style.height=n.parentNode.style.height=i.style.height=Math.floor(t)+"px";var a=this.viewport.rotation-this.paintedViewportMap.get(n).rotation,o=Math.abs(a),r=1,u=1;90!==o&&270!==o||(r=t/e,u=e/t);var s="rotate("+a+"deg) scale("+r+","+u+")";if(n.style.transform=s,this.textLayer){var c=this.textLayer.viewport,d=this.viewport.rotation-c.rotation,p=Math.abs(d),m=e/c.width;90!==p&&270!==p||(m=e/c.height);var f,h,g=this.textLayer.textLayerDiv;switch(p){case 0:f=h=0;break;case 90:f=0,h="-"+g.style.height;break;case 180:f="-"+g.style.width,h="-"+g.style.height;break;case 270:f="-"+g.style.width,h=0;break;default:console.error("Bad rotation value.")}g.style.transform="rotate("+p+"deg) scale("+m+", "+m+") translate("+f+", "+h+")",g.style.transformOrigin="0% 0%"}l&&this.annotationLayer&&this.annotationLayer.render(this.viewport,"display")}},{key:"getPagePoint",value:function(n,l){return this.viewport.convertToPdfPoint(n,l)}},{key:"draw",value:function(){var n=this;if(this.renderingState!==r.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset()),!this.pdfPage)return this.renderingState=r.RenderingStates.FINISHED,Promise.reject(new Error("Page is not loaded"));this.renderingState=r.RenderingStates.RUNNING;var l=this.pdfPage,e=this.div,t=document.createElement("div");t.style.width=e.style.width,t.style.height=e.style.height,t.classList.add("canvasWrapper"),this.annotationLayer&&this.annotationLayer.div?e.insertBefore(t,this.annotationLayer.div):e.appendChild(t);var s=null;if(this.textLayerMode!==a.TextLayerMode.DISABLE&&this.textLayerFactory){var c=document.createElement("div");c.className="textLayer",c.style.width=t.style.width,c.style.height=t.style.height,this.annotationLayer&&this.annotationLayer.div?e.insertBefore(c,this.annotationLayer.div):e.appendChild(c),s=this.textLayerFactory.createTextLayerBuilder(c,this.id-1,this.viewport,this.textLayerMode===a.TextLayerMode.ENABLE_ENHANCE)}this.textLayer=s;var d=null;this.renderingQueue&&(d=function(l){if(!n.renderingQueue.isHighestPriority(n))return n.renderingState=r.RenderingStates.PAUSED,void(n.resume=function(){n.renderingState=r.RenderingStates.RUNNING,l()});l()});var p=function(){var t,a=(t=i.default.mark((function t(a){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(m===n.paintTask&&(n.paintTask=null),!(a instanceof o.RenderingCancelledException)){t.next=4;break}return n.error=null,t.abrupt("return");case 4:if(n.renderingState=r.RenderingStates.FINISHED,n.loadingIconDiv&&(e.removeChild(n.loadingIconDiv),delete n.loadingIconDiv),n._resetZoomLayer(!0),n.error=a,n.stats=l.stats,n.onAfterDraw&&n.onAfterDraw(),n.eventBus.dispatch("pagerendered",{source:n,pageNumber:n.id,cssTransform:!1}),!a){t.next=13;break}throw a;case 13:case"end":return t.stop()}}),t)})),function(){var n=this,l=arguments;return new Promise((function(e,i){var a=t.apply(n,l);function o(n){u(a,e,i,o,r,"next",n)}function r(n){u(a,e,i,o,r,"throw",n)}o(void 0)}))});return function(n){return a.apply(this,arguments)}}(),m=this.renderer===a.RendererType.SVG?this.paintOnSvg(t):this.paintOnCanvas(t);m.onRenderContinue=d,this.paintTask=m;var f=m.promise.then((function(){return p(null).then((function(){if(s){var n=l.streamTextContent({normalizeWhitespace:!0});s.setTextContentStream(n),s.render()}}))}),(function(n){return p(n)}));return this.annotationLayerFactory&&(this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder(e,l,this.imageResourcesPath,this.renderInteractiveForms,this.l10n)),this.annotationLayer.render(this.viewport,"display")),e.setAttribute("data-loaded",!0),this.onBeforeDraw&&this.onBeforeDraw(),f}},{key:"paintOnCanvas",value:function(n){var l=(0,o.createPromiseCapability)(),e={promise:l.promise,onRenderContinue:function(n){n()},cancel:function(){h.cancel()}},t=this.viewport,i=document.createElement("canvas");i.id=this.renderingId,i.setAttribute("hidden","hidden");var r=!0,u=function(){r&&(i.removeAttribute("hidden"),r=!1)};n.appendChild(i),this.canvas=i,i.mozOpaque=!0;var s=i.getContext("2d",{alpha:!1}),c=(0,a.getOutputScale)(s);if(this.outputScale=c,this.useOnlyCssZoom){var d=t.clone({scale:a.CSS_UNITS});c.sx*=d.width/t.width,c.sy*=d.height/t.height,c.scaled=!0}if(this.maxCanvasPixels>0){var p=Math.sqrt(this.maxCanvasPixels/(t.width*t.height));c.sx>p||c.sy>p?(c.sx=p,c.sy=p,c.scaled=!0,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}var m=(0,a.approximateFraction)(c.sx),f=(0,a.approximateFraction)(c.sy);i.width=(0,a.roundToDivide)(t.width*c.sx,m[0]),i.height=(0,a.roundToDivide)(t.height*c.sy,f[0]),i.style.width=(0,a.roundToDivide)(t.width,m[1])+"px",i.style.height=(0,a.roundToDivide)(t.height,f[1])+"px",this.paintedViewportMap.set(i,t);var h=this.pdfPage.render({canvasContext:s,transform:c.scaled?[c.sx,0,0,c.sy,0,0]:null,viewport:this.viewport,enableWebGL:this.enableWebGL,renderInteractiveForms:this.renderInteractiveForms});return h.onContinue=function(n){u(),e.onRenderContinue?e.onRenderContinue(n):n()},h.promise.then((function(){u(),l.resolve(void 0)}),(function(n){u(),l.reject(n)})),e}},{key:"paintOnSvg",value:function(n){var l=this,e=!1,t=function(){if(e)throw new o.RenderingCancelledException("Rendering cancelled, page "+l.id,"svg")},i=this.pdfPage,u=this.viewport.clone({scale:a.CSS_UNITS});return{promise:i.getOperatorList().then((function(e){return t(),new o.SVGGraphics(i.commonObjs,i.objs).getSVG(e,u).then((function(e){t(),l.svg=e,l.paintedViewportMap.set(e,u),e.style.width=n.style.width,e.style.height=n.style.height,l.renderingState=r.RenderingStates.FINISHED,n.appendChild(e)}))})),onRenderContinue:function(n){n()},cancel:function(){e=!0}}}},{key:"setPageLabel",value:function(n){this.pageLabel="string"==typeof n?n:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}},{key:"width",get:function(){return this.viewport.width}},{key:"height",get:function(){return this.viewport.height}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFRenderingQueue=l.RenderingStates=void 0;var t={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};l.RenderingStates=t,l.PDFRenderingQueue=function(){function n(){!function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}var l;return(l=[{key:"setViewer",value:function(n){this.pdfViewer=n}},{key:"setThumbnailViewer",value:function(n){this.pdfThumbnailViewer=n}},{key:"isHighestPriority",value:function(n){return this.highestPriorityPage===n.renderingId}},{key:"renderHighestPriority",value:function(n){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),this.pdfViewer.forceRendering(n)||this.pdfThumbnailViewer&&this.isThumbnailViewEnabled&&this.pdfThumbnailViewer.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4))}},{key:"getHighestPriority",value:function(n,l,e){var t=n.views,i=t.length;if(0===i)return null;for(var a=0;a<i;++a){var o=t[a].view;if(!this.isViewFinished(o))return o}if(e){var r=n.last.id;if(l[r]&&!this.isViewFinished(l[r]))return l[r]}else{var u=n.first.id-2;if(l[u]&&!this.isViewFinished(l[u]))return l[u]}return null}},{key:"isViewFinished",value:function(n){return n.renderingState===t.FINISHED}},{key:"renderView",value:function(n){var l=this;switch(n.renderingState){case t.FINISHED:return!1;case t.PAUSED:this.highestPriorityPage=n.renderingId,n.resume();break;case t.RUNNING:this.highestPriorityPage=n.renderingId;break;case t.INITIAL:this.highestPriorityPage=n.renderingId,n.draw().finally((function(){l.renderHighestPriority()}))}return!0}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";var t=Object.create(null),i="undefined"!=typeof navigator&&navigator.userAgent||"",a=/Android/.test(i);(/\b(iPad|iPhone|iPod)(?=;)/.test(i)||a)&&(t.maxCanvasPixels=5242880),l.viewerCompatibilityParams=Object.freeze(t)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFSinglePageViewer=void 0;var t=e(19),i=e(2);function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,l,e){return(o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(n,l,e){var t=function(n,l){for(;!Object.prototype.hasOwnProperty.call(n,l)&&null!==(n=r(n)););return n}(n,l);if(t){var i=Object.getOwnPropertyDescriptor(t,l);return i.get?i.get.call(e):i.value}})(n,l,e||n)}function r(n){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function u(n,l){return(u=Object.setPrototypeOf||function(n,l){return n.__proto__=l,n})(n,l)}l.PDFSinglePageViewer=function(n){function l(n){var e;return function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,l),(e=function(n,l){return!l||"object"!==a(l)&&"function"!=typeof l?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):l}(this,r(l).call(this,n))).eventBus.on("pagesinit",(function(n){e._ensurePageViewVisible()})),e}var e;return function(n,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&u(n,l)}(l,n),(e=[{key:"_resetView",value:function(){o(r(l.prototype),"_resetView",this).call(this),this._previousPageNumber=1,this._shadowViewer=document.createDocumentFragment(),this._updateScrollDown=null}},{key:"_ensurePageViewVisible",value:function(){var n=this._pages[this._currentPageNumber-1],l=this._pages[this._previousPageNumber-1],e=this.viewer.childNodes;switch(e.length){case 0:this.viewer.appendChild(n.div);break;case 1:if(e[0]!==l.div)throw new Error("_ensurePageViewVisible: Unexpected previously visible page.");if(n===l)break;this._shadowViewer.appendChild(l.div),this.viewer.appendChild(n.div),this.container.scrollTop=0;break;default:throw new Error("_ensurePageViewVisible: Only one page should be visible at a time.")}this._previousPageNumber=this._currentPageNumber}},{key:"_scrollUpdate",value:function(){this._updateScrollDown&&this._updateScrollDown(),o(r(l.prototype),"_scrollUpdate",this).call(this)}},{key:"_scrollIntoView",value:function(n){var e=this,t=n.pageDiv,i=n.pageSpot,a=void 0===i?null:i,u=n.pageNumber,s=void 0===u?null:u;s&&this._setCurrentPageNumber(s);var c=this._currentPageNumber>=this._previousPageNumber;this._ensurePageViewVisible(),this.update(),o(r(l.prototype),"_scrollIntoView",this).call(this,{pageDiv:t,pageSpot:a,pageNumber:s}),this._updateScrollDown=function(){e.scroll.down=c,e._updateScrollDown=null}}},{key:"_getVisiblePages",value:function(){return this._getCurrentVisiblePage()}},{key:"_updateHelper",value:function(n){}},{key:"_updateScrollMode",value:function(){}},{key:"_updateSpreadMode",value:function(){}},{key:"_setDocumentViewerElement",get:function(){return(0,i.shadow)(this,"_setDocumentViewerElement",this._shadowViewer)}},{key:"_isScrollModeHorizontal",get:function(){return(0,i.shadow)(this,"_isScrollModeHorizontal",!1)}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(l.prototype,e),l}(t.BaseViewer)},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.BaseViewer=void 0;var t=e(3),i=e(16),a=e(1),o=e(2),r=e(15),u=e(7),s=e(8);function c(n){var l=[];this.push=function(e){var t=l.indexOf(e);t>=0&&l.splice(t,1),l.push(e),l.length>n&&l.shift().destroy()},this.resize=function(e,i){if(n=e,i){for(var a=new Set,o=0,r=i.length;o<r;++o)a.add(i[o].id);(0,t.moveToEndOfArray)(l,(function(n){return a.has(n.id)}))}for(;l.length>n;)l.shift().destroy()}}function d(n,l){return l===n||Math.abs(l-n)<1e-15}l.BaseViewer=function(){function n(l){var e=this;if(function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,n),this.constructor===n)throw new Error("Cannot initialize BaseViewer.");this._name=this.constructor.name,this.container=l.container,this.viewer=l.viewer||l.container.firstElementChild,this.eventBus=l.eventBus||(0,t.getGlobalEventBus)(),this.linkService=l.linkService||new u.SimpleLinkService,this.downloadManager=l.downloadManager||null,this.findController=l.findController||null,this.removePageBorders=l.removePageBorders||!1,this.textLayerMode=Number.isInteger(l.textLayerMode)?l.textLayerMode:t.TextLayerMode.ENABLE,this.imageResourcesPath=l.imageResourcesPath||"",this.renderInteractiveForms=l.renderInteractiveForms||!1,this.enablePrintAutoRotate=l.enablePrintAutoRotate||!1,this.renderer=l.renderer||t.RendererType.CANVAS,this.enableWebGL=l.enableWebGL||!1,this.useOnlyCssZoom=l.useOnlyCssZoom||!1,this.maxCanvasPixels=l.maxCanvasPixels,this.l10n=l.l10n||t.NullL10n,this.defaultRenderingQueue=!l.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new i.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=l.renderingQueue,this.scroll=(0,t.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=t.PresentationModeState.UNKNOWN,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),Promise.resolve().then((function(){e.eventBus.dispatch("baseviewerinit",{source:e})}))}var l;return(l=[{key:"getPageView",value:function(n){return this._pages[n]}},{key:"_setCurrentPageNumber",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this._currentPageNumber===n?(l&&this._resetCurrentPageView(),!0):0<n&&n<=this.pagesCount&&(this._currentPageNumber=n,this.eventBus.dispatch("pagechanging",{source:this,pageNumber:n,pageLabel:this._pageLabels&&this._pageLabels[n-1]}),l&&this._resetCurrentPageView(),!0)}},{key:"setDocument",value:function(n){var l=this;if(this.pdfDocument&&(this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null)),this.pdfDocument=n,n){var e=n.numPages,i=(0,o.createPromiseCapability)();this.pagesPromise=i.promise,i.promise.then((function(){l._pageViewsReady=!0,l.eventBus.dispatch("pagesloaded",{source:l,pagesCount:e})}));var a=(0,o.createPromiseCapability)();this.onePageRendered=a.promise;var u=function(n){n.onBeforeDraw=function(){l._buffer.push(n)},n.onAfterDraw=function(){a.settled||a.resolve()}},s=n.getPage(1);this.firstPagePromise=s,s.then((function(o){for(var s=l.currentScale,c=o.getViewport({scale:s*t.CSS_UNITS}),d=1;d<=e;++d){var p=null;l.textLayerMode!==t.TextLayerMode.DISABLE&&(p=l);var m=new r.PDFPageView({container:l._setDocumentViewerElement,eventBus:l.eventBus,id:d,scale:s,defaultViewport:c.clone(),renderingQueue:l.renderingQueue,textLayerFactory:p,textLayerMode:l.textLayerMode,annotationLayerFactory:l,imageResourcesPath:l.imageResourcesPath,renderInteractiveForms:l.renderInteractiveForms,renderer:l.renderer,enableWebGL:l.enableWebGL,useOnlyCssZoom:l.useOnlyCssZoom,maxCanvasPixels:l.maxCanvasPixels,l10n:l.l10n});u(m),l._pages.push(m)}l._spreadMode!==t.SpreadMode.NONE&&l._updateSpreadMode(),a.promise.then((function(){if(l.findController&&l.findController.setDocument(n),n.loadingParams.disableAutoFetch)i.resolve();else for(var t=e,a=function(e){n.getPage(e).then((function(n){var a=l._pages[e-1];a.pdfPage||a.setPdfPage(n),l.linkService.cachePageRef(e,n.ref),0==--t&&i.resolve()}),(function(n){console.error("Unable to get page ".concat(e," to initialize viewer"),n),0==--t&&i.resolve()}))},o=1;o<=e;++o)a(o)})),l.eventBus.dispatch("pagesinit",{source:l}),l.defaultRenderingQueue&&l.update()})).catch((function(n){console.error("Unable to initialize viewer",n)}))}}},{key:"setPageLabels",value:function(n){if(this.pdfDocument){n?Array.isArray(n)&&this.pdfDocument.numPages===n.length?this._pageLabels=n:(this._pageLabels=null,console.error("".concat(this._name,".setPageLabels: Invalid page labels."))):this._pageLabels=null;for(var l=0,e=this._pages.length;l<e;l++)this._pages[l].setPageLabel(this._pageLabels&&this._pageLabels[l])}}},{key:"_resetView",value:function(){this._pages=[],this._currentPageNumber=1,this._currentScale=t.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this._buffer=new c(10),this._location=null,this._pagesRotation=0,this._pagesRequests=[],this._pageViewsReady=!1,this._scrollMode=t.ScrollMode.VERTICAL,this._spreadMode=t.SpreadMode.NONE,this.viewer.textContent="",this._updateScrollMode()}},{key:"_scrollUpdate",value:function(){0!==this.pagesCount&&this.update()}},{key:"_scrollIntoView",value:function(n){var l=n.pageSpot;(0,t.scrollIntoView)(n.pageDiv,void 0===l?null:l)}},{key:"_setScaleUpdatePages",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(this._currentScaleValue=l.toString(),d(this._currentScale,n))t&&this.eventBus.dispatch("scalechanging",{source:this,scale:n,presetValue:l});else{for(var i=0,a=this._pages.length;i<a;i++)this._pages[i].update(n);if(this._currentScale=n,!e){var o,r=this._currentPageNumber;!this._location||this.isInPresentationMode||this.isChangingPresentationMode||(r=this._location.pageNumber,o=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:r,destArray:o,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:n,presetValue:t?l:void 0}),this.defaultRenderingQueue&&this.update()}}},{key:"_setScale",value:function(n){var l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],e=parseFloat(n);if(e>0)this._setScaleUpdatePages(e,n,l,!1);else{var i=this._pages[this._currentPageNumber-1];if(!i)return;var a=this.isInPresentationMode||this.removePageBorders,o=a?0:t.SCROLLBAR_PADDING,r=a?0:t.VERTICAL_PADDING;if(!a&&this._isScrollModeHorizontal){var u=[r,o];o=u[0],r=u[1]}var s=(this.container.clientWidth-o)/i.width*i.scale,c=(this.container.clientHeight-r)/i.height*i.scale;switch(n){case"page-actual":e=1;break;case"page-width":e=s;break;case"page-height":e=c;break;case"page-fit":e=Math.min(s,c);break;case"auto":var d=(0,t.isPortraitOrientation)(i)?s:Math.min(c,s);e=Math.min(t.MAX_AUTO_SCALE,d);break;default:return void console.error("".concat(this._name,'._setScale: "').concat(n,'" is an unknown zoom value.'))}this._setScaleUpdatePages(e,n,l,!0)}}},{key:"_resetCurrentPageView",value:function(){this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this._scrollIntoView({pageDiv:this._pages[this._currentPageNumber-1].div})}},{key:"scrollPageIntoView",value:function(n){var l=n.pageNumber,e=n.destArray,i=void 0===e?null:e,a=n.allowNegativeOffset,o=void 0!==a&&a;if(this.pdfDocument){var r=Number.isInteger(l)&&this._pages[l-1];if(r)if(!this.isInPresentationMode&&i){var u,s=0,c=0,d=0,p=0,m=r.rotation%180!=0,f=(m?r.height:r.width)/r.scale/t.CSS_UNITS,h=(m?r.width:r.height)/r.scale/t.CSS_UNITS,g=0;switch(i[1].name){case"XYZ":g=i[4],s=null!==(s=i[2])?s:0,c=null!==(c=i[3])?c:h;break;case"Fit":case"FitB":g="page-fit";break;case"FitH":case"FitBH":g="page-width",null===(c=i[2])&&this._location&&(s=this._location.left,c=this._location.top);break;case"FitV":case"FitBV":s=i[2],d=f,p=h,g="page-height";break;case"FitR":d=i[4]-(s=i[2]),u=(this.container.clientHeight-(this.removePageBorders?0:t.VERTICAL_PADDING))/(p=i[5]-(c=i[3]))/t.CSS_UNITS,g=Math.min(Math.abs((this.container.clientWidth-(this.removePageBorders?0:t.SCROLLBAR_PADDING))/d/t.CSS_UNITS),Math.abs(u));break;default:return void console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(i[1].name,'" is not a valid destination type.'))}if(g&&g!==this._currentScale?this.currentScaleValue=g:this._currentScale===t.UNKNOWN_SCALE&&(this.currentScaleValue=t.DEFAULT_SCALE_VALUE),"page-fit"!==g||i[4]){var b=[r.viewport.convertToViewportPoint(s,c),r.viewport.convertToViewportPoint(s+d,c+p)],v=Math.min(b[0][0],b[1][0]),_=Math.min(b[0][1],b[1][1]);o||(v=Math.max(v,0),_=Math.max(_,0)),this._scrollIntoView({pageDiv:r.div,pageSpot:{left:v,top:_},pageNumber:l})}else this._scrollIntoView({pageDiv:r.div,pageNumber:l})}else this._setCurrentPageNumber(l,!0);else console.error("".concat(this._name,".scrollPageIntoView: ")+'"'.concat(l,'" is not a valid pageNumber parameter.'))}}},{key:"_updateLocation",value:function(n){var l=this._currentScale,e=this._currentScaleValue,t=parseFloat(e)===l?Math.round(1e4*l)/100:e,i=n.id,a="#page="+i;a+="&zoom="+t;var o=this.container,r=this._pages[i-1].getPagePoint(o.scrollLeft-n.x,o.scrollTop-n.y),u=Math.round(r[0]),s=Math.round(r[1]);this._location={pageNumber:i,scale:t,top:s,left:u,rotation:this._pagesRotation,pdfOpenParams:a+=","+u+","+s}}},{key:"_updateHelper",value:function(n){throw new Error("Not implemented: _updateHelper")}},{key:"update",value:function(){var n=this._getVisiblePages(),l=n.views,e=l.length;if(0!==e){var t=Math.max(10,2*e+1);this._buffer.resize(t,l),this.renderingQueue.renderHighestPriority(n),this._updateHelper(l),this._updateLocation(n.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}}},{key:"containsElement",value:function(n){return this.container.contains(n)}},{key:"focus",value:function(){this.container.focus()}},{key:"_getCurrentVisiblePage",value:function(){if(!this.pagesCount)return{views:[]};var n=this._pages[this._currentPageNumber-1],l=n.div,e={id:n.id,x:l.offsetLeft+l.clientLeft,y:l.offsetTop+l.clientTop,view:n};return{first:e,last:e,views:[e]}}},{key:"_getVisiblePages",value:function(){return(0,t.getVisibleElements)(this.container,this._pages,!0,this._isScrollModeHorizontal)}},{key:"isPageVisible",value:function(n){return!!this.pdfDocument&&(this.pageNumber<1||n>this.pagesCount?(console.error("".concat(this._name,'.isPageVisible: "').concat(n,'" is out of bounds.')),!1):this._getVisiblePages().views.some((function(l){return l.id===n})))}},{key:"cleanup",value:function(){for(var n=0,l=this._pages.length;n<l;n++)this._pages[n]&&this._pages[n].renderingState!==i.RenderingStates.FINISHED&&this._pages[n].reset()}},{key:"_cancelRendering",value:function(){for(var n=0,l=this._pages.length;n<l;n++)this._pages[n]&&this._pages[n].cancelRendering()}},{key:"_ensurePdfPageLoaded",value:function(n){var l=this;if(n.pdfPage)return Promise.resolve(n.pdfPage);var e=n.id;if(this._pagesRequests[e])return this._pagesRequests[e];var t=this.pdfDocument.getPage(e).then((function(t){return n.pdfPage||n.setPdfPage(t),l._pagesRequests[e]=null,t})).catch((function(n){console.error("Unable to get page for page view",n),l._pagesRequests[e]=null}));return this._pagesRequests[e]=t,t}},{key:"forceRendering",value:function(n){var l=this,e=n||this._getVisiblePages(),t=this.renderingQueue.getHighestPriority(e,this._pages,this._isScrollModeHorizontal?this.scroll.right:this.scroll.down);return!!t&&(this._ensurePdfPageLoaded(t).then((function(){l.renderingQueue.renderView(t)})),!0)}},{key:"createTextLayerBuilder",value:function(n,l,e){var t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return new s.TextLayerBuilder({textLayerDiv:n,eventBus:this.eventBus,pageIndex:l,viewport:e,findController:this.isInPresentationMode?null:this.findController,enhanceTextSelection:!this.isInPresentationMode&&t})}},{key:"createAnnotationLayerBuilder",value:function(n,l){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:t.NullL10n;return new a.AnnotationLayerBuilder({pageDiv:n,pdfPage:l,imageResourcesPath:e,renderInteractiveForms:i,linkService:this.linkService,downloadManager:this.downloadManager,l10n:o})}},{key:"getPagesOverview",value:function(){var n=this._pages.map((function(n){var l=n.pdfPage.getViewport({scale:1});return{width:l.width,height:l.height,rotation:l.rotation}}));if(!this.enablePrintAutoRotate)return n;var l=(0,t.isPortraitOrientation)(n[0]);return n.map((function(n){return l===(0,t.isPortraitOrientation)(n)?n:{width:n.height,height:n.width,rotation:(n.rotation+90)%360}}))}},{key:"_updateScrollMode",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,l=this._scrollMode,e=this.viewer;e.classList.toggle("scrollHorizontal",l===t.ScrollMode.HORIZONTAL),e.classList.toggle("scrollWrapped",l===t.ScrollMode.WRAPPED),this.pdfDocument&&n&&(this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(n,!0),this.update())}},{key:"_updateSpreadMode",value:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.pdfDocument){var l=this.viewer,e=this._pages;if(l.textContent="",this._spreadMode===t.SpreadMode.NONE)for(var i=0,a=e.length;i<a;++i)l.appendChild(e[i].div);else for(var o=this._spreadMode-1,r=null,u=0,s=e.length;u<s;++u)null===r?((r=document.createElement("div")).className="spread",l.appendChild(r)):u%2===o&&(r=r.cloneNode(!1),l.appendChild(r)),r.appendChild(e[u].div);n&&(this._setCurrentPageNumber(n,!0),this.update())}}},{key:"pagesCount",get:function(){return this._pages.length}},{key:"pageViewsReady",get:function(){return this._pageViewsReady}},{key:"currentPageNumber",get:function(){return this._currentPageNumber},set:function(n){if(!Number.isInteger(n))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(n,!0)||console.error("".concat(this._name,'.currentPageNumber: "').concat(n,'" is not a valid page.')))}},{key:"currentPageLabel",get:function(){return this._pageLabels&&this._pageLabels[this._currentPageNumber-1]},set:function(n){if(this.pdfDocument){var l=0|n;if(this._pageLabels){var e=this._pageLabels.indexOf(n);e>=0&&(l=e+1)}this._setCurrentPageNumber(l,!0)||console.error("".concat(this._name,'.currentPageLabel: "').concat(n,'" is not a valid page.'))}}},{key:"currentScale",get:function(){return this._currentScale!==t.UNKNOWN_SCALE?this._currentScale:t.DEFAULT_SCALE},set:function(n){if(isNaN(n))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(n,!1)}},{key:"currentScaleValue",get:function(){return this._currentScaleValue},set:function(n){this.pdfDocument&&this._setScale(n,!1)}},{key:"pagesRotation",get:function(){return this._pagesRotation},set:function(n){if(!(0,t.isValidRotation)(n))throw new Error("Invalid pages rotation angle.");if(this.pdfDocument&&this._pagesRotation!==n){this._pagesRotation=n;for(var l=this._currentPageNumber,e=0,i=this._pages.length;e<i;e++){var a=this._pages[e];a.update(a.scale,n)}this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:n,pageNumber:l}),this.defaultRenderingQueue&&this.update()}}},{key:"_setDocumentViewerElement",get:function(){throw new Error("Not implemented: _setDocumentViewerElement")}},{key:"_isScrollModeHorizontal",get:function(){return!this.isInPresentationMode&&this._scrollMode===t.ScrollMode.HORIZONTAL}},{key:"isInPresentationMode",get:function(){return this.presentationModeState===t.PresentationModeState.FULLSCREEN}},{key:"isChangingPresentationMode",get:function(){return this.presentationModeState===t.PresentationModeState.CHANGING}},{key:"isHorizontalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}},{key:"isVerticalScrollbarEnabled",get:function(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}},{key:"hasEqualPageSizes",get:function(){for(var n=this._pages[0],l=1,e=this._pages.length;l<e;++l){var t=this._pages[l];if(t.width!==n.width||t.height!==n.height)return!1}return!0}},{key:"scrollMode",get:function(){return this._scrollMode},set:function(n){if(this._scrollMode!==n){if(!(0,t.isValidScrollMode)(n))throw new Error("Invalid scroll mode: ".concat(n));this._scrollMode=n,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:n}),this._updateScrollMode(this._currentPageNumber)}}},{key:"spreadMode",get:function(){return this._spreadMode},set:function(n){if(this._spreadMode!==n){if(!(0,t.isValidSpreadMode)(n))throw new Error("Invalid spread mode: ".concat(n));this._spreadMode=n,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:n}),this._updateSpreadMode(this._currentPageNumber)}}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(n.prototype,l),n}()},function(n,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.PDFViewer=void 0;var t=e(19),i=e(2);function a(n){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function o(n,l,e){return(o="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(n,l,e){var t=function(n,l){for(;!Object.prototype.hasOwnProperty.call(n,l)&&null!==(n=r(n)););return n}(n,l);if(t){var i=Object.getOwnPropertyDescriptor(t,l);return i.get?i.get.call(e):i.value}})(n,l,e||n)}function r(n){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function u(n,l){return(u=Object.setPrototypeOf||function(n,l){return n.__proto__=l,n})(n,l)}l.PDFViewer=function(n){function l(){return function(n,l){if(!(n instanceof l))throw new TypeError("Cannot call a class as a function")}(this,l),function(n,l){return!l||"object"!==a(l)&&"function"!=typeof l?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):l}(this,r(l).apply(this,arguments))}var e;return function(n,l){if("function"!=typeof l&&null!==l)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(l&&l.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),l&&u(n,l)}(l,n),(e=[{key:"_scrollIntoView",value:function(n){var e=n.pageDiv,t=n.pageSpot,i=void 0===t?null:t,a=n.pageNumber,u=void 0===a?null:a;if(!i&&!this.isInPresentationMode){var s=e.offsetLeft+e.clientLeft,c=this.container,d=c.scrollLeft;(this._isScrollModeHorizontal||s<d||s+e.clientWidth>d+c.clientWidth)&&(i={left:0,top:0})}o(r(l.prototype),"_scrollIntoView",this).call(this,{pageDiv:e,pageSpot:i,pageNumber:u})}},{key:"_getVisiblePages",value:function(){return this.isInPresentationMode?this._getCurrentVisiblePage():o(r(l.prototype),"_getVisiblePages",this).call(this)}},{key:"_updateHelper",value:function(n){if(!this.isInPresentationMode){var l=this._currentPageNumber,e=!1,t=!0,i=!1,a=void 0;try{for(var o,r=n[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){var u=o.value;if(u.percent<100)break;if(u.id===l){e=!0;break}}}catch(s){i=!0,a=s}finally{try{t||null==r.return||r.return()}finally{if(i)throw a}}e||(l=n[0].id),this._setCurrentPageNumber(l)}}},{key:"_setDocumentViewerElement",get:function(){return(0,i.shadow)(this,"_setDocumentViewerElement",this.viewer)}}])&&function(n,l){for(var e=0;e<l.length;e++){var t=l[e];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(n,t.key,t)}}(l.prototype,e),l}(t.BaseViewer)}])},n.exports=t()},mbIT:function(n,l,e){"use strict";l.isArray=Array.isArray||function(n){return n&&"number"==typeof n.length}},mrSG:function(n,l,e){"use strict";e.r(l),e.d(l,"__extends",(function(){return i})),e.d(l,"__assign",(function(){return a})),e.d(l,"__rest",(function(){return o})),e.d(l,"__decorate",(function(){return r})),e.d(l,"__param",(function(){return u})),e.d(l,"__metadata",(function(){return s})),e.d(l,"__awaiter",(function(){return c})),e.d(l,"__generator",(function(){return d})),e.d(l,"__exportStar",(function(){return p})),e.d(l,"__values",(function(){return m})),e.d(l,"__read",(function(){return f})),e.d(l,"__spread",(function(){return h})),e.d(l,"__spreadArrays",(function(){return g})),e.d(l,"__await",(function(){return b})),e.d(l,"__asyncGenerator",(function(){return v})),e.d(l,"__asyncDelegator",(function(){return _})),e.d(l,"__asyncValues",(function(){return y})),e.d(l,"__makeTemplateObject",(function(){return w})),e.d(l,"__importStar",(function(){return x})),e.d(l,"__importDefault",(function(){return C})),e.d(l,"__classPrivateFieldGet",(function(){return k})),e.d(l,"__classPrivateFieldSet",(function(){return S}));var t=function(n,l){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,l){n.__proto__=l}||function(n,l){for(var e in l)l.hasOwnProperty(e)&&(n[e]=l[e])})(n,l)};function i(n,l){function e(){this.constructor=n}t(n,l),n.prototype=null===l?Object.create(l):(e.prototype=l.prototype,new e)}var a=function(){return(a=Object.assign||function(n){for(var l,e=1,t=arguments.length;e<t;e++)for(var i in l=arguments[e])Object.prototype.hasOwnProperty.call(l,i)&&(n[i]=l[i]);return n}).apply(this,arguments)};function o(n,l){var e={};for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&l.indexOf(t)<0&&(e[t]=n[t]);if(null!=n&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(n);i<t.length;i++)l.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(n,t[i])&&(e[t[i]]=n[t[i]])}return e}function r(n,l,e,t){var i,a=arguments.length,o=a<3?l:null===t?t=Object.getOwnPropertyDescriptor(l,e):t;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(n,l,e,t);else for(var r=n.length-1;r>=0;r--)(i=n[r])&&(o=(a<3?i(o):a>3?i(l,e,o):i(l,e))||o);return a>3&&o&&Object.defineProperty(l,e,o),o}function u(n,l){return function(e,t){l(e,t,n)}}function s(n,l){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(n,l)}function c(n,l,e,t){return new(e||(e=Promise))((function(i,a){function o(n){try{u(t.next(n))}catch(l){a(l)}}function r(n){try{u(t.throw(n))}catch(l){a(l)}}function u(n){var l;n.done?i(n.value):(l=n.value,l instanceof e?l:new e((function(n){n(l)}))).then(o,r)}u((t=t.apply(n,l||[])).next())}))}function d(n,l){var e,t,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function r(a){return function(r){return function(a){if(e)throw new TypeError("Generator is already executing.");for(;o;)try{if(e=1,t&&(i=2&a[0]?t.return:a[0]?t.throw||((i=t.return)&&i.call(t),0):t.next)&&!(i=i.call(t,a[1])).done)return i;switch(t=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,t=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=l.call(n,o)}catch(r){a=[6,r],t=0}finally{e=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,r])}}}function p(n,l){for(var e in n)l.hasOwnProperty(e)||(l[e]=n[e])}function m(n){var l="function"==typeof Symbol&&Symbol.iterator,e=l&&n[l],t=0;if(e)return e.call(n);if(n&&"number"==typeof n.length)return{next:function(){return n&&t>=n.length&&(n=void 0),{value:n&&n[t++],done:!n}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(n,l){var e="function"==typeof Symbol&&n[Symbol.iterator];if(!e)return n;var t,i,a=e.call(n),o=[];try{for(;(void 0===l||l-- >0)&&!(t=a.next()).done;)o.push(t.value)}catch(r){i={error:r}}finally{try{t&&!t.done&&(e=a.return)&&e.call(a)}finally{if(i)throw i.error}}return o}function h(){for(var n=[],l=0;l<arguments.length;l++)n=n.concat(f(arguments[l]));return n}function g(){for(var n=0,l=0,e=arguments.length;l<e;l++)n+=arguments[l].length;var t=Array(n),i=0;for(l=0;l<e;l++)for(var a=arguments[l],o=0,r=a.length;o<r;o++,i++)t[i]=a[o];return t}function b(n){return this instanceof b?(this.v=n,this):new b(n)}function v(n,l,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,i=e.apply(n,l||[]),a=[];return t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t;function o(n){i[n]&&(t[n]=function(l){return new Promise((function(e,t){a.push([n,l,e,t])>1||r(n,l)}))})}function r(n,l){try{(e=i[n](l)).value instanceof b?Promise.resolve(e.value.v).then(u,s):c(a[0][2],e)}catch(t){c(a[0][3],t)}var e}function u(n){r("next",n)}function s(n){r("throw",n)}function c(n,l){n(l),a.shift(),a.length&&r(a[0][0],a[0][1])}}function _(n){var l,e;return l={},t("next"),t("throw",(function(n){throw n})),t("return"),l[Symbol.iterator]=function(){return this},l;function t(t,i){l[t]=n[t]?function(l){return(e=!e)?{value:b(n[t](l)),done:"return"===t}:i?i(l):l}:i}}function y(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l,e=n[Symbol.asyncIterator];return e?e.call(n):(n=m(n),l={},t("next"),t("throw"),t("return"),l[Symbol.asyncIterator]=function(){return this},l);function t(e){l[e]=n[e]&&function(l){return new Promise((function(t,i){!function(n,l,e,t){Promise.resolve(t).then((function(l){n({value:l,done:e})}),l)}(t,i,(l=n[e](l)).done,l.value)}))}}}function w(n,l){return Object.defineProperty?Object.defineProperty(n,"raw",{value:l}):n.raw=l,n}function x(n){if(n&&n.__esModule)return n;var l={};if(null!=n)for(var e in n)Object.hasOwnProperty.call(n,e)&&(l[e]=n[e]);return l.default=n,l}function C(n){return n&&n.__esModule?n:{default:n}}function k(n,l){if(!l.has(n))throw new TypeError("attempted to get private field on non-instance");return l.get(n)}function S(n,l,e){if(!l.has(n))throw new TypeError("attempted to set private field on non-instance");return l.set(n,e),e}},n3uD:function(n,l,e){"use strict";var t=!1;l.config={Promise:void 0,set useDeprecatedSynchronousErrorHandling(n){if(n){var l=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+l.stack)}else t&&console.log("RxJS: Back to a better error behavior. Thank you. <3");t=n},get useDeprecatedSynchronousErrorHandling(){return t}}},n73p:function(n,l,e){"use strict";var t=e("Q1FS"),i=e("zB/H");l.schedulePromise=function(n,l){return new t.Observable((function(e){var t=new i.Subscription;return t.add(l.schedule((function(){return n.then((function(n){t.add(l.schedule((function(){e.next(n),t.add(l.schedule((function(){return e.complete()})))})))}),(function(n){t.add(l.schedule((function(){return e.error(n)})))}))}))),t}))}},nzqU:function(n,l,e){"use strict";l.isScheduler=function(n){return n&&"function"==typeof n.schedule}},ozli:function(n,l,e){"use strict";var t=e("zfKp");l.subscribeToObservable=function(n){return function(l){var e=n[t.observable]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(l)}}},"p//D":function(n,l,e){"use strict";l.rxSubscriber="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),l.$$rxSubscriber=l.rxSubscriber},pWCv:function(n,l,e){var t=e("mrSG").__extends,i=e("FWf1"),a=e("w5QO"),o=e("pshJ");l.tap=function(n,l,e){return function(t){return t.lift(new r(n,l,e))}};var r=function(){function n(n,l,e){this.nextOrObserver=n,this.error=l,this.complete=e}return n.prototype.call=function(n,l){return l.subscribe(new u(n,this.nextOrObserver,this.error,this.complete))},n}(),u=function(n){function l(l,e,t,i){var r=n.call(this,l)||this;return r._tapNext=a.noop,r._tapError=a.noop,r._tapComplete=a.noop,r._tapError=t||a.noop,r._tapComplete=i||a.noop,o.isFunction(e)?(r._context=r,r._tapNext=e):e&&(r._context=e,r._tapNext=e.next||a.noop,r._tapError=e.error||a.noop,r._tapComplete=e.complete||a.noop),r}return t(l,n),l.prototype._next=function(n){try{this._tapNext.call(this._context,n)}catch(l){return void this.destination.error(l)}this.destination.next(n)},l.prototype._error=function(n){try{this._tapError.call(this._context,n)}catch(n){return void this.destination.error(n)}this.destination.error(n)},l.prototype._complete=function(){try{this._tapComplete.call(this._context)}catch(n){return void this.destination.error(n)}return this.destination.complete()},l}(i.Subscriber)},poJ0:function(n,l,e){"use strict";var t=e("VKeD");l.subscribeToIterable=function(n){return function(l){for(var e=n[t.iterator]();;){var i=e.next();if(i.done){l.complete();break}if(l.next(i.value),l.closed)break}return"function"==typeof e.return&&l.add((function(){e.return&&e.return()})),l}}},pshJ:function(n,l,e){"use strict";l.isFunction=function(n){return"function"==typeof n}},q3Kh:function(n,l,e){var t=e("mrSG").__extends,i=e("FWf1");l.map=function(n,l){return function(e){if("function"!=typeof n)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return e.lift(new a(n,l))}};var a=function(){function n(n,l){this.project=n,this.thisArg=l}return n.prototype.call=function(n,l){return l.subscribe(new o(n,this.project,this.thisArg))},n}();l.MapOperator=a;var o=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.project=e,i.count=0,i.thisArg=t||i,i}return t(l,n),l.prototype._next=function(n){var l;try{l=this.project.call(this.thisArg,n,this.count++)}catch(e){return void this.destination.error(e)}this.destination.next(l)},l}(i.Subscriber)},r8II:function(n,l,e){"use strict";l.decode=l.parse=e("YcCt"),l.encode=l.stringify=e("6MUB")},rNzc:function(n,l,e){var t=e("mrSG").__extends,i=e("Y4kR"),a=e("Vi6O"),o=e("cSoz");l.catchError=function(n){return function(l){var e=new r(n),t=l.lift(e);return e.caught=t}};var r=function(){function n(n){this.selector=n}return n.prototype.call=function(n,l){return l.subscribe(new u(n,this.selector,this.caught))},n}(),u=function(n){function l(l,e,t){var i=n.call(this,l)||this;return i.selector=e,i.caught=t,i}return t(l,n),l.prototype.error=function(l){if(!this.isStopped){var e=void 0;try{e=this.selector(l,this.caught)}catch(i){return void n.prototype.error.call(this,i)}this._unsubscribeAndRecycle();var t=new a.InnerSubscriber(this,void 0,void 0);this.add(t),o.subscribeToResult(this,e,void 0,void 0,t)}},l}(i.OuterSubscriber)},rWzI:function(n,l,e){(function(n){var t;!function(i){"object"==typeof global&&global;var a,o=2147483647,r=36,u=1,s=26,c=38,d=700,p=72,m=128,f="-",h=/^xn--/,g=/[^\x20-\x7E]/,b=/[\x2E\u3002\uFF0E\uFF61]/g,v={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_=r-u,y=Math.floor,w=String.fromCharCode;function x(n){throw RangeError(v[n])}function C(n,l){for(var e=n.length,t=[];e--;)t[e]=l(n[e]);return t}function k(n,l){var e=n.split("@"),t="";return e.length>1&&(t=e[0]+"@",n=e[1]),t+C((n=n.replace(b,".")).split("."),l).join(".")}function S(n){for(var l,e,t=[],i=0,a=n.length;i<a;)(l=n.charCodeAt(i++))>=55296&&l<=56319&&i<a?56320==(64512&(e=n.charCodeAt(i++)))?t.push(((1023&l)<<10)+(1023&e)+65536):(t.push(l),i--):t.push(l);return t}function I(n){return C(n,(function(n){var l="";return n>65535&&(l+=w((n-=65536)>>>10&1023|55296),n=56320|1023&n),l+w(n)})).join("")}function A(n,l){return n+22+75*(n<26)-((0!=l)<<5)}function M(n,l,e){var t=0;for(n=e?y(n/d):n>>1,n+=y(n/l);n>_*s>>1;t+=r)n=y(n/_);return y(t+(_+1)*n/(n+c))}function P(n){var l,e,t,i,a,c,d,h,g,b,v,_=[],w=n.length,C=0,k=m,S=p;for((e=n.lastIndexOf(f))<0&&(e=0),t=0;t<e;++t)n.charCodeAt(t)>=128&&x("not-basic"),_.push(n.charCodeAt(t));for(i=e>0?e+1:0;i<w;){for(a=C,c=1,d=r;i>=w&&x("invalid-input"),((h=(v=n.charCodeAt(i++))-48<10?v-22:v-65<26?v-65:v-97<26?v-97:r)>=r||h>y((o-C)/c))&&x("overflow"),C+=h*c,!(h<(g=d<=S?u:d>=S+s?s:d-S));d+=r)c>y(o/(b=r-g))&&x("overflow"),c*=b;S=M(C-a,l=_.length+1,0==a),y(C/l)>o-k&&x("overflow"),k+=y(C/l),C%=l,_.splice(C++,0,k)}return I(_)}function D(n){var l,e,t,i,a,c,d,h,g,b,v,_,C,k,I,P=[];for(_=(n=S(n)).length,l=m,e=0,a=p,c=0;c<_;++c)(v=n[c])<128&&P.push(w(v));for(t=i=P.length,i&&P.push(f);t<_;){for(d=o,c=0;c<_;++c)(v=n[c])>=l&&v<d&&(d=v);for(d-l>y((o-e)/(C=t+1))&&x("overflow"),e+=(d-l)*C,l=d,c=0;c<_;++c)if((v=n[c])<l&&++e>o&&x("overflow"),v==l){for(h=e,g=r;!(h<(b=g<=a?u:g>=a+s?s:g-a));g+=r)P.push(w(A(b+(I=h-b)%(k=r-b),0))),h=y(I/k);P.push(w(A(h,0))),a=M(e,C,t==i),e=0,++t}++e,++l}return P.join("")}a={version:"1.3.2",ucs2:{decode:S,encode:I},decode:P,encode:D,toASCII:function(n){return k(n,(function(n){return g.test(n)?"xn--"+D(n):n}))},toUnicode:function(n){return k(n,(function(n){return h.test(n)?P(n.slice(4).toLowerCase()):n}))}},void 0===(t=(function(){return a}).call(l,e,l,n))||(n.exports=t)}()}).call(this,e("YuTi")(n))},w5QO:function(n,l,e){"use strict";l.noop=function(){}},yLV6:function(n,l,e){var t;!function(i,a,o,r){"use strict";var u,s=["","webkit","Moz","MS","ms","o"],c=a.createElement("div"),d="function",p=Math.round,m=Math.abs,f=Date.now;function h(n,l,e){return setTimeout(x(n,e),l)}function g(n,l,e){return!!Array.isArray(n)&&(b(n,e[l],e),!0)}function b(n,l,e){var t;if(n)if(n.forEach)n.forEach(l,e);else if(n.length!==r)for(t=0;t<n.length;)l.call(e,n[t],t,n),t++;else for(t in n)n.hasOwnProperty(t)&&l.call(e,n[t],t,n)}function v(n,l,e){var t="DEPRECATED METHOD: "+l+"\n"+e+" AT \n";return function(){var l=new Error("get-stack-trace"),e=l&&l.stack?l.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=i.console&&(i.console.warn||i.console.log);return a&&a.call(i.console,t,e),n.apply(this,arguments)}}u="function"!=typeof Object.assign?function(n){if(n===r||null===n)throw new TypeError("Cannot convert undefined or null to object");for(var l=Object(n),e=1;e<arguments.length;e++){var t=arguments[e];if(t!==r&&null!==t)for(var i in t)t.hasOwnProperty(i)&&(l[i]=t[i])}return l}:Object.assign;var _=v((function(n,l,e){for(var t=Object.keys(l),i=0;i<t.length;)(!e||e&&n[t[i]]===r)&&(n[t[i]]=l[t[i]]),i++;return n}),"extend","Use `assign`."),y=v((function(n,l){return _(n,l,!0)}),"merge","Use `assign`.");function w(n,l,e){var t,i=l.prototype;(t=n.prototype=Object.create(i)).constructor=n,t._super=i,e&&u(t,e)}function x(n,l){return function(){return n.apply(l,arguments)}}function C(n,l){return typeof n==d?n.apply(l&&l[0]||r,l):n}function k(n,l){return n===r?l:n}function S(n,l,e){b(P(l),(function(l){n.addEventListener(l,e,!1)}))}function I(n,l,e){b(P(l),(function(l){n.removeEventListener(l,e,!1)}))}function A(n,l){for(;n;){if(n==l)return!0;n=n.parentNode}return!1}function M(n,l){return n.indexOf(l)>-1}function P(n){return n.trim().split(/\s+/g)}function D(n,l,e){if(n.indexOf&&!e)return n.indexOf(l);for(var t=0;t<n.length;){if(e&&n[t][e]==l||!e&&n[t]===l)return t;t++}return-1}function F(n){return Array.prototype.slice.call(n,0)}function E(n,l,e){for(var t=[],i=[],a=0;a<n.length;){var o=l?n[a][l]:n[a];D(i,o)<0&&t.push(n[a]),i[a]=o,a++}return e&&(t=l?t.sort((function(n,e){return n[l]>e[l]})):t.sort()),t}function O(n,l){for(var e,t,i=l[0].toUpperCase()+l.slice(1),a=0;a<s.length;){if((t=(e=s[a])?e+i:l)in n)return t;a++}return r}var T=1;function L(n){var l=n.ownerDocument||n;return l.defaultView||l.parentWindow||i}var R="ontouchstart"in i,N=O(i,"PointerEvent")!==r,j=R&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),V=25,q=1,z=2,U=4,B=8,$=1,H=2,G=4,W=8,K=16,Y=H|G,J=W|K,Z=Y|J,Q=["x","y"],X=["clientX","clientY"];function nn(n,l){var e=this;this.manager=n,this.callback=l,this.element=n.element,this.target=n.options.inputTarget,this.domHandler=function(l){C(n.options.enable,[n])&&e.handler(l)},this.init()}function ln(n,l,e){var t=e.pointers.length,i=e.changedPointers.length,a=l&q&&t-i==0,o=l&(U|B)&&t-i==0;e.isFirst=!!a,e.isFinal=!!o,a&&(n.session={}),e.eventType=l,function(n,l){var e=n.session,t=l.pointers,i=t.length;e.firstInput||(e.firstInput=en(l)),i>1&&!e.firstMultiple?e.firstMultiple=en(l):1===i&&(e.firstMultiple=!1);var a=e.firstInput,o=e.firstMultiple,u=o?o.center:a.center,s=l.center=tn(t);l.timeStamp=f(),l.deltaTime=l.timeStamp-a.timeStamp,l.angle=un(u,s),l.distance=rn(u,s),function(n,l){var e=l.center,t=n.offsetDelta||{},i=n.prevDelta||{},a=n.prevInput||{};l.eventType!==q&&a.eventType!==U||(i=n.prevDelta={x:a.deltaX||0,y:a.deltaY||0},t=n.offsetDelta={x:e.x,y:e.y}),l.deltaX=i.x+(e.x-t.x),l.deltaY=i.y+(e.y-t.y)}(e,l),l.offsetDirection=on(l.deltaX,l.deltaY);var c,d,p=an(l.deltaTime,l.deltaX,l.deltaY);l.overallVelocityX=p.x,l.overallVelocityY=p.y,l.overallVelocity=m(p.x)>m(p.y)?p.x:p.y,l.scale=o?(c=o.pointers,rn((d=t)[0],d[1],X)/rn(c[0],c[1],X)):1,l.rotation=o?function(n,l){return un(l[1],l[0],X)+un(n[1],n[0],X)}(o.pointers,t):0,l.maxPointers=e.prevInput?l.pointers.length>e.prevInput.maxPointers?l.pointers.length:e.prevInput.maxPointers:l.pointers.length,function(n,l){var e,t,i,a,o=n.lastInterval||l,u=l.timeStamp-o.timeStamp;if(l.eventType!=B&&(u>V||o.velocity===r)){var s=l.deltaX-o.deltaX,c=l.deltaY-o.deltaY,d=an(u,s,c);t=d.x,i=d.y,e=m(d.x)>m(d.y)?d.x:d.y,a=on(s,c),n.lastInterval=l}else e=o.velocity,t=o.velocityX,i=o.velocityY,a=o.direction;l.velocity=e,l.velocityX=t,l.velocityY=i,l.direction=a}(e,l);var h=n.element;A(l.srcEvent.target,h)&&(h=l.srcEvent.target),l.target=h}(n,e),n.emit("hammer.input",e),n.recognize(e),n.session.prevInput=e}function en(n){for(var l=[],e=0;e<n.pointers.length;)l[e]={clientX:p(n.pointers[e].clientX),clientY:p(n.pointers[e].clientY)},e++;return{timeStamp:f(),pointers:l,center:tn(l),deltaX:n.deltaX,deltaY:n.deltaY}}function tn(n){var l=n.length;if(1===l)return{x:p(n[0].clientX),y:p(n[0].clientY)};for(var e=0,t=0,i=0;i<l;)e+=n[i].clientX,t+=n[i].clientY,i++;return{x:p(e/l),y:p(t/l)}}function an(n,l,e){return{x:l/n||0,y:e/n||0}}function on(n,l){return n===l?$:m(n)>=m(l)?n<0?H:G:l<0?W:K}function rn(n,l,e){e||(e=Q);var t=l[e[0]]-n[e[0]],i=l[e[1]]-n[e[1]];return Math.sqrt(t*t+i*i)}function un(n,l,e){return e||(e=Q),180*Math.atan2(l[e[1]]-n[e[1]],l[e[0]]-n[e[0]])/Math.PI}nn.prototype={handler:function(){},init:function(){this.evEl&&S(this.element,this.evEl,this.domHandler),this.evTarget&&S(this.target,this.evTarget,this.domHandler),this.evWin&&S(L(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&I(this.element,this.evEl,this.domHandler),this.evTarget&&I(this.target,this.evTarget,this.domHandler),this.evWin&&I(L(this.element),this.evWin,this.domHandler)}};var sn={mousedown:q,mousemove:z,mouseup:U},cn="mousedown",dn="mousemove mouseup";function pn(){this.evEl=cn,this.evWin=dn,this.pressed=!1,nn.apply(this,arguments)}w(pn,nn,{handler:function(n){var l=sn[n.type];l&q&&0===n.button&&(this.pressed=!0),l&z&&1!==n.which&&(l=U),this.pressed&&(l&U&&(this.pressed=!1),this.callback(this.manager,l,{pointers:[n],changedPointers:[n],pointerType:"mouse",srcEvent:n}))}});var mn={pointerdown:q,pointermove:z,pointerup:U,pointercancel:B,pointerout:B},fn={2:"touch",3:"pen",4:"mouse",5:"kinect"},hn="pointerdown",gn="pointermove pointerup pointercancel";function bn(){this.evEl=hn,this.evWin=gn,nn.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}i.MSPointerEvent&&!i.PointerEvent&&(hn="MSPointerDown",gn="MSPointerMove MSPointerUp MSPointerCancel"),w(bn,nn,{handler:function(n){var l=this.store,e=!1,t=n.type.toLowerCase().replace("ms",""),i=mn[t],a=fn[n.pointerType]||n.pointerType,o="touch"==a,r=D(l,n.pointerId,"pointerId");i&q&&(0===n.button||o)?r<0&&(l.push(n),r=l.length-1):i&(U|B)&&(e=!0),r<0||(l[r]=n,this.callback(this.manager,i,{pointers:l,changedPointers:[n],pointerType:a,srcEvent:n}),e&&l.splice(r,1))}});var vn={touchstart:q,touchmove:z,touchend:U,touchcancel:B},_n="touchstart",yn="touchstart touchmove touchend touchcancel";function wn(){this.evTarget=_n,this.evWin=yn,this.started=!1,nn.apply(this,arguments)}function xn(n,l){var e=F(n.touches),t=F(n.changedTouches);return l&(U|B)&&(e=E(e.concat(t),"identifier",!0)),[e,t]}w(wn,nn,{handler:function(n){var l=vn[n.type];if(l===q&&(this.started=!0),this.started){var e=xn.call(this,n,l);l&(U|B)&&e[0].length-e[1].length==0&&(this.started=!1),this.callback(this.manager,l,{pointers:e[0],changedPointers:e[1],pointerType:"touch",srcEvent:n})}}});var Cn={touchstart:q,touchmove:z,touchend:U,touchcancel:B},kn="touchstart touchmove touchend touchcancel";function Sn(){this.evTarget=kn,this.targetIds={},nn.apply(this,arguments)}function In(n,l){var e=F(n.touches),t=this.targetIds;if(l&(q|z)&&1===e.length)return t[e[0].identifier]=!0,[e,e];var i,a,o=F(n.changedTouches),r=[],u=this.target;if(a=e.filter((function(n){return A(n.target,u)})),l===q)for(i=0;i<a.length;)t[a[i].identifier]=!0,i++;for(i=0;i<o.length;)t[o[i].identifier]&&r.push(o[i]),l&(U|B)&&delete t[o[i].identifier],i++;return r.length?[E(a.concat(r),"identifier",!0),r]:void 0}w(Sn,nn,{handler:function(n){var l=Cn[n.type],e=In.call(this,n,l);e&&this.callback(this.manager,l,{pointers:e[0],changedPointers:e[1],pointerType:"touch",srcEvent:n})}});var An=2500,Mn=25;function Pn(){nn.apply(this,arguments);var n=x(this.handler,this);this.touch=new Sn(this.manager,n),this.mouse=new pn(this.manager,n),this.primaryTouch=null,this.lastTouches=[]}function Dn(n,l){n&q?(this.primaryTouch=l.changedPointers[0].identifier,Fn.call(this,l)):n&(U|B)&&Fn.call(this,l)}function Fn(n){var l=n.changedPointers[0];if(l.identifier===this.primaryTouch){var e={x:l.clientX,y:l.clientY};this.lastTouches.push(e);var t=this.lastTouches;setTimeout((function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}),An)}}function En(n){for(var l=n.srcEvent.clientX,e=n.srcEvent.clientY,t=0;t<this.lastTouches.length;t++){var i=this.lastTouches[t],a=Math.abs(l-i.x),o=Math.abs(e-i.y);if(a<=Mn&&o<=Mn)return!0}return!1}w(Pn,nn,{handler:function(n,l,e){var t="mouse"==e.pointerType;if(!(t&&e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents)){if("touch"==e.pointerType)Dn.call(this,l,e);else if(t&&En.call(this,e))return;this.callback(n,l,e)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var On=O(c.style,"touchAction"),Tn=On!==r,Ln=function(){if(!Tn)return!1;var n={},l=i.CSS&&i.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(e){n[e]=!l||i.CSS.supports("touch-action",e)})),n}();function Rn(n,l){this.manager=n,this.set(l)}Rn.prototype={set:function(n){"compute"==n&&(n=this.compute()),Tn&&this.manager.element.style&&Ln[n]&&(this.manager.element.style[On]=n),this.actions=n.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var n=[];return b(this.manager.recognizers,(function(l){C(l.options.enable,[l])&&(n=n.concat(l.getTouchAction()))})),function(n){if(M(n,"none"))return"none";var l=M(n,"pan-x"),e=M(n,"pan-y");return l&&e?"none":l||e?l?"pan-x":"pan-y":M(n,"manipulation")?"manipulation":"auto"}(n.join(" "))},preventDefaults:function(n){var l=n.srcEvent,e=n.offsetDirection;if(this.manager.session.prevented)l.preventDefault();else{var t=this.actions,i=M(t,"none")&&!Ln.none,a=M(t,"pan-y")&&!Ln["pan-y"],o=M(t,"pan-x")&&!Ln["pan-x"];if(i&&1===n.pointers.length&&n.distance<2&&n.deltaTime<250)return;if(!o||!a)return i||a&&e&Y||o&&e&J?this.preventSrc(l):void 0}},preventSrc:function(n){this.manager.session.prevented=!0,n.preventDefault()}};var Nn=1,jn=2,Vn=4,qn=8,zn=qn,Un=16;function Bn(n){this.options=u({},this.defaults,n||{}),this.id=T++,this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=Nn,this.simultaneous={},this.requireFail=[]}function $n(n){return n&Un?"cancel":n&qn?"end":n&Vn?"move":n&jn?"start":""}function Hn(n){return n==K?"down":n==W?"up":n==H?"left":n==G?"right":""}function Gn(n,l){var e=l.manager;return e?e.get(n):n}function Wn(){Bn.apply(this,arguments)}function Kn(){Wn.apply(this,arguments),this.pX=null,this.pY=null}function Yn(){Wn.apply(this,arguments)}function Jn(){Bn.apply(this,arguments),this._timer=null,this._input=null}function Zn(){Wn.apply(this,arguments)}function Qn(){Wn.apply(this,arguments)}function Xn(){Bn.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function nl(n,l){return(l=l||{}).recognizers=k(l.recognizers,nl.defaults.preset),new ll(n,l)}function ll(n,l){var e;this.options=u({},nl.defaults,l||{}),this.options.inputTarget=this.options.inputTarget||n,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=n,this.input=new((e=this).options.inputClass||(N?bn:j?Sn:R?Pn:pn))(e,ln),this.touchAction=new Rn(this,this.options.touchAction),el(this,!0),b(this.options.recognizers,(function(n){var l=this.add(new n[0](n[1]));n[2]&&l.recognizeWith(n[2]),n[3]&&l.requireFailure(n[3])}),this)}function el(n,l){var e,t=n.element;t.style&&(b(n.options.cssProps,(function(i,a){e=O(t.style,a),l?(n.oldCssProps[e]=t.style[e],t.style[e]=i):t.style[e]=n.oldCssProps[e]||""})),l||(n.oldCssProps={}))}Bn.prototype={defaults:{},set:function(n){return u(this.options,n),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(n){if(g(n,"recognizeWith",this))return this;var l=this.simultaneous;return l[(n=Gn(n,this)).id]||(l[n.id]=n,n.recognizeWith(this)),this},dropRecognizeWith:function(n){return g(n,"dropRecognizeWith",this)?this:(n=Gn(n,this),delete this.simultaneous[n.id],this)},requireFailure:function(n){if(g(n,"requireFailure",this))return this;var l=this.requireFail;return-1===D(l,n=Gn(n,this))&&(l.push(n),n.requireFailure(this)),this},dropRequireFailure:function(n){if(g(n,"dropRequireFailure",this))return this;n=Gn(n,this);var l=D(this.requireFail,n);return l>-1&&this.requireFail.splice(l,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(n){return!!this.simultaneous[n.id]},emit:function(n){var l=this,e=this.state;function t(e){l.manager.emit(e,n)}e<qn&&t(l.options.event+$n(e)),t(l.options.event),n.additionalEvent&&t(n.additionalEvent),e>=qn&&t(l.options.event+$n(e))},tryEmit:function(n){if(this.canEmit())return this.emit(n);this.state=32},canEmit:function(){for(var n=0;n<this.requireFail.length;){if(!(this.requireFail[n].state&(32|Nn)))return!1;n++}return!0},recognize:function(n){var l=u({},n);if(!C(this.options.enable,[this,l]))return this.reset(),void(this.state=32);this.state&(zn|Un|32)&&(this.state=Nn),this.state=this.process(l),this.state&(jn|Vn|qn|Un)&&this.tryEmit(l)},process:function(n){},getTouchAction:function(){},reset:function(){}},w(Wn,Bn,{defaults:{pointers:1},attrTest:function(n){var l=this.options.pointers;return 0===l||n.pointers.length===l},process:function(n){var l=this.state,e=n.eventType,t=l&(jn|Vn),i=this.attrTest(n);return t&&(e&B||!i)?l|Un:t||i?e&U?l|qn:l&jn?l|Vn:jn:32}}),w(Kn,Wn,{defaults:{event:"pan",threshold:10,pointers:1,direction:Z},getTouchAction:function(){var n=this.options.direction,l=[];return n&Y&&l.push("pan-y"),n&J&&l.push("pan-x"),l},directionTest:function(n){var l=this.options,e=!0,t=n.distance,i=n.direction,a=n.deltaX,o=n.deltaY;return i&l.direction||(l.direction&Y?(i=0===a?$:a<0?H:G,e=a!=this.pX,t=Math.abs(n.deltaX)):(i=0===o?$:o<0?W:K,e=o!=this.pY,t=Math.abs(n.deltaY))),n.direction=i,e&&t>l.threshold&&i&l.direction},attrTest:function(n){return Wn.prototype.attrTest.call(this,n)&&(this.state&jn||!(this.state&jn)&&this.directionTest(n))},emit:function(n){this.pX=n.deltaX,this.pY=n.deltaY;var l=Hn(n.direction);l&&(n.additionalEvent=this.options.event+l),this._super.emit.call(this,n)}}),w(Yn,Wn,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(n){return this._super.attrTest.call(this,n)&&(Math.abs(n.scale-1)>this.options.threshold||this.state&jn)},emit:function(n){1!==n.scale&&(n.additionalEvent=this.options.event+(n.scale<1?"in":"out")),this._super.emit.call(this,n)}}),w(Jn,Bn,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(n){var l=this.options,e=n.pointers.length===l.pointers,t=n.distance<l.threshold,i=n.deltaTime>l.time;if(this._input=n,!t||!e||n.eventType&(U|B)&&!i)this.reset();else if(n.eventType&q)this.reset(),this._timer=h((function(){this.state=zn,this.tryEmit()}),l.time,this);else if(n.eventType&U)return zn;return 32},reset:function(){clearTimeout(this._timer)},emit:function(n){this.state===zn&&(n&&n.eventType&U?this.manager.emit(this.options.event+"up",n):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(Zn,Wn,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(n){return this._super.attrTest.call(this,n)&&(Math.abs(n.rotation)>this.options.threshold||this.state&jn)}}),w(Qn,Wn,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Y|J,pointers:1},getTouchAction:function(){return Kn.prototype.getTouchAction.call(this)},attrTest:function(n){var l,e=this.options.direction;return e&(Y|J)?l=n.overallVelocity:e&Y?l=n.overallVelocityX:e&J&&(l=n.overallVelocityY),this._super.attrTest.call(this,n)&&e&n.offsetDirection&&n.distance>this.options.threshold&&n.maxPointers==this.options.pointers&&m(l)>this.options.velocity&&n.eventType&U},emit:function(n){var l=Hn(n.offsetDirection);l&&this.manager.emit(this.options.event+l,n),this.manager.emit(this.options.event,n)}}),w(Xn,Bn,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(n){var l=this.options,e=n.pointers.length===l.pointers,t=n.distance<l.threshold,i=n.deltaTime<l.time;if(this.reset(),n.eventType&q&&0===this.count)return this.failTimeout();if(t&&i&&e){if(n.eventType!=U)return this.failTimeout();var a=!this.pTime||n.timeStamp-this.pTime<l.interval,o=!this.pCenter||rn(this.pCenter,n.center)<l.posThreshold;if(this.pTime=n.timeStamp,this.pCenter=n.center,o&&a?this.count+=1:this.count=1,this._input=n,0==this.count%l.taps)return this.hasRequireFailures()?(this._timer=h((function(){this.state=zn,this.tryEmit()}),l.interval,this),jn):zn}return 32},failTimeout:function(){return this._timer=h((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==zn&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),nl.VERSION="2.0.7",nl.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Zn,{enable:!1}],[Yn,{enable:!1},["rotate"]],[Qn,{direction:Y}],[Kn,{direction:Y},["swipe"]],[Xn],[Xn,{event:"doubletap",taps:2},["tap"]],[Jn]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},ll.prototype={set:function(n){return u(this.options,n),n.touchAction&&this.touchAction.update(),n.inputTarget&&(this.input.destroy(),this.input.target=n.inputTarget,this.input.init()),this},stop:function(n){this.session.stopped=n?2:1},recognize:function(n){var l=this.session;if(!l.stopped){var e;this.touchAction.preventDefaults(n);var t=this.recognizers,i=l.curRecognizer;(!i||i&&i.state&zn)&&(i=l.curRecognizer=null);for(var a=0;a<t.length;)e=t[a],2===l.stopped||i&&e!=i&&!e.canRecognizeWith(i)?e.reset():e.recognize(n),!i&&e.state&(jn|Vn|qn)&&(i=l.curRecognizer=e),a++}},get:function(n){if(n instanceof Bn)return n;for(var l=this.recognizers,e=0;e<l.length;e++)if(l[e].options.event==n)return l[e];return null},add:function(n){if(g(n,"add",this))return this;var l=this.get(n.options.event);return l&&this.remove(l),this.recognizers.push(n),n.manager=this,this.touchAction.update(),n},remove:function(n){if(g(n,"remove",this))return this;if(n=this.get(n)){var l=this.recognizers,e=D(l,n);-1!==e&&(l.splice(e,1),this.touchAction.update())}return this},on:function(n,l){if(n!==r&&l!==r){var e=this.handlers;return b(P(n),(function(n){e[n]=e[n]||[],e[n].push(l)})),this}},off:function(n,l){if(n!==r){var e=this.handlers;return b(P(n),(function(n){l?e[n]&&e[n].splice(D(e[n],l),1):delete e[n]})),this}},emit:function(n,l){this.options.domEvents&&function(n,l){var e=a.createEvent("Event");e.initEvent(n,!0,!0),e.gesture=l,l.target.dispatchEvent(e)}(n,l);var e=this.handlers[n]&&this.handlers[n].slice();if(e&&e.length){l.type=n,l.preventDefault=function(){l.srcEvent.preventDefault()};for(var t=0;t<e.length;)e[t](l),t++}},destroy:function(){this.element&&el(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},u(nl,{INPUT_START:q,INPUT_MOVE:z,INPUT_END:U,INPUT_CANCEL:B,STATE_POSSIBLE:Nn,STATE_BEGAN:jn,STATE_CHANGED:Vn,STATE_ENDED:qn,STATE_RECOGNIZED:zn,STATE_CANCELLED:Un,STATE_FAILED:32,DIRECTION_NONE:$,DIRECTION_LEFT:H,DIRECTION_RIGHT:G,DIRECTION_UP:W,DIRECTION_DOWN:K,DIRECTION_HORIZONTAL:Y,DIRECTION_VERTICAL:J,DIRECTION_ALL:Z,Manager:ll,Input:nn,TouchAction:Rn,TouchInput:Sn,MouseInput:pn,PointerEventInput:bn,TouchMouseInput:Pn,SingleTouchInput:wn,Recognizer:Bn,AttrRecognizer:Wn,Tap:Xn,Pan:Kn,Swipe:Qn,Pinch:Yn,Rotate:Zn,Press:Jn,on:S,off:I,each:b,merge:y,extend:_,assign:u,inherit:w,bindFn:x,prefixed:O}),(void 0!==i?i:"undefined"!=typeof self?self:{}).Hammer=nl,(t=(function(){return nl}).call(l,e,l,n))===r||(n.exports=t)}(window,document)},yRPT:function(n,l,e){"use strict";l.isArrayLike=function(n){return n&&"number"==typeof n.length&&"function"!=typeof n}},yoF8:function(n,l,e){"use strict";l.identity=function(n){return n}},yx2s:function(n,l,e){"use strict";var t=e("FWf1");l.canReportError=function(n){for(;n;){var l=n.destination;if(n.closed||n.isStopped)return!1;n=l&&l instanceof t.Subscriber?l:null}return!0}},"zB/H":function(n,l,e){"use strict";var t=e("mbIT"),i=e("GMZp"),a=e("pshJ"),o=e("LBXl");function r(n){return n.reduce((function(n,l){return n.concat(l instanceof o.UnsubscriptionError?l.errors:l)}),[])}l.Subscription=function(){function n(n){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,n&&(this._unsubscribe=n)}var l;return n.prototype.unsubscribe=function(){var l;if(!this.closed){var e=this._parentOrParents,u=this._unsubscribe,s=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,e instanceof n)e.remove(this);else if(null!==e)for(var c=0;c<e.length;++c)e[c].remove(this);if(a.isFunction(u))try{u.call(this)}catch(m){l=m instanceof o.UnsubscriptionError?r(m.errors):[m]}if(t.isArray(s)){c=-1;for(var d=s.length;++c<d;){var p=s[c];if(i.isObject(p))try{p.unsubscribe()}catch(m){l=l||[],m instanceof o.UnsubscriptionError?l=l.concat(r(m.errors)):l.push(m)}}}if(l)throw new o.UnsubscriptionError(l)}},n.prototype.add=function(l){var e=l;if(!l)return n.EMPTY;switch(typeof l){case"function":e=new n(l);case"object":if(e===this||e.closed||"function"!=typeof e.unsubscribe)return e;if(this.closed)return e.unsubscribe(),e;if(!(e instanceof n)){var t=e;(e=new n)._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+l+" added to Subscription.")}var i=e._parentOrParents;if(null===i)e._parentOrParents=this;else if(i instanceof n){if(i===this)return e;e._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return e;i.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[e]:a.push(e),e},n.prototype.remove=function(n){var l=this._subscriptions;if(l){var e=l.indexOf(n);-1!==e&&l.splice(e,1)}},n.EMPTY=((l=new n).closed=!0,l),n}()},zfKp:function(n,l,e){"use strict";l.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},zzsZ:function(n,l,e){"use strict";var t=e("Q1FS"),i=e("OAkW"),a=e("2qMH");l.fromArray=function(n,l){return l?a.scheduleArray(n,l):new t.Observable(i.subscribeToArray(n))}}},[[0,0]]]); \ No newline at end of file diff --git a/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts b/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts index d67e513ff77..8a08270247f 100644 --- a/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts +++ b/src/frontend/app/sentResource/sent-resource-page/sent-resource-page.component.ts @@ -531,7 +531,6 @@ export class SentResourcePageComponent implements OnInit { distinctUntilChanged(), switchMap(data => this.http.get('../../rest/autocomplete/correspondents', { params: { 'search': data, 'searchEmails': 'true' } })), tap((data: any) => { - console.log(data); data = data.filter((contact: any) => !this.functions.empty(contact.email) || contact.type === 'contactGroup').map((contact: any) => { let label = ''; if (contact.type === 'user' || contact.type === 'contact') { -- GitLab